git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@97182
13f79535-47bb-0310-9956-
ffa450edef68
NOVI = $(NOVELLLIBC)\imports
INCDIRS = $(NOVELLLIBC)\include;$(NOVELLLIBC)\include\nks;$(NOVELLLIBC)\include\winsock;
+ifneq "$(LDAPSDK)" ""
+INCDIRS := $(INCDIRS);$(LDAPSDK)/inc
+endif
DEFINES = -DNETWARE
proxy \
$(EOLIST)
-# If the ldap-aaa directory exists then build the auth_ldap module
-ifeq "$(wildcard $(AP_WORK)\modules\ldap-aaa)" "$(AP_WORK)\modules\ldap-aaa"
-SUBDIRS += ldap-aaa \
- $(EOLIST)
-endif
-
-#If the ldap-cache directory exists then build the ldaputil module
-ifeq "$(wildcard $(AP_WORK)\modules\ldap-cache)" "$(AP_WORK)\modules\ldap-cache"
-SUBDIRS += ldap-cache \
- $(EOLIST)
-endif
-
#If the mod_edir directory exists then build the mod_edir module
ifeq "$(wildcard $(AP_WORK)\modules\mod_edir)" "$(AP_WORK)\modules\mod_edir"
SUBDIRS += mod_edir \
$(AP_WORK)/srclib/apr/include \
$(AP_WORK)/srclib/apr-util/include \
$(AP_WORK)/srclib/apr \
- $(LDAPSDK)/inc \
$(EOLIST)
#
$(OBJDIR)/dsk_cach.nlm \
$(OBJDIR)/extfiltr.nlm \
$(EOLIST)
+
+# If LDAPSDK has been defined then build the auth_ldap module
+ifneq "$(LDAPSDK)" ""
+TARGET_nlm += $(OBJDIR)/authldap.nlm \
+ $(OBJDIR)/utilldap.nlm \
+ $(EOLIST)
+endif
#
# If there is an LIB target, put it here
$(AP_WORK)/srclib/apr/include \
$(AP_WORK)/srclib/apr-util/include \
$(AP_WORK)/srclib/apr \
- $(LDAPSDK)/inc \
$(EOLIST)
#