-I.. \
-I../../sope-core/NGExtensions \
-I../../sope-core \
- -I/usr/local/include \
- -I/usr/local/openldap/include
+ -I/usr/local/include
+
+ifneq ($(FOUNDATION_LIB),apple)
+ADDITIONAL_INCLUDE_DIRS += -I/usr/local/openldap/include
+ADDITIONAL_LIB_DIRS += -L/usr/local/openldap/lib
+endif
libNGLdap_LIBRARIES_DEPEND_UPON += \
-L../../sope-core/EOControl/$(GNUSTEP_OBJ_DIR)
endif
-ADDITIONAL_LIB_DIRS += \
- -L/usr/local/lib \
- -L/usr/local/openldap/lib
+ADDITIONAL_LIB_DIRS += -L/usr/local/lib
# Apple