aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lib/Makefile.netware5
-rw-r--r--src/Makefile.netware5
2 files changed, 6 insertions, 4 deletions
diff --git a/lib/Makefile.netware b/lib/Makefile.netware
index 5d962b514..6aa38c49d 100644
--- a/lib/Makefile.netware
+++ b/lib/Makefile.netware
@@ -174,13 +174,14 @@ ifeq ($(LIBARCH),LIBC)
INCLUDES += -I$(SDK_LIBC)/include
# INCLUDES += -I$(SDK_LIBC)/include/nks
# INCLUDES += -I$(SDK_LIBC)/include/winsock
- INCLUDES += -I$(SDK_LDAP)/libc/inc
CFLAGS += -D_POSIX_SOURCE
else
INCLUDES += -I$(SDK_CLIB)/include/nlm
# INCLUDES += -I$(SDK_CLIB)/include/nlm/obsolete
# INCLUDES += -I$(SDK_CLIB)/include
- INCLUDES += -I$(SDK_LDAP)/clib/inc
+endif
+ifndef DISABLE_LDAP
+ INCLUDES += -I$(SDK_LDAP)/$(LIBARCH_L)/inc
endif
CFLAGS += $(INCLUDES)
diff --git a/src/Makefile.netware b/src/Makefile.netware
index ec75ab709..f9107730e 100644
--- a/src/Makefile.netware
+++ b/src/Makefile.netware
@@ -172,12 +172,13 @@ ifeq ($(LIBARCH),LIBC)
INCLUDES += -I$(SDK_LIBC)/include
# INCLUDES += -I$(SDK_LIBC)/include/nks
# INCLUDES += -I$(SDK_LIBC)/include/winsock
- # INCLUDES += -I$(SDK_LDAP)/libc/inc
CFLAGS += -D_POSIX_SOURCE
else
INCLUDES += -I$(SDK_CLIB)/include/nlm
# INCLUDES += -I$(SDK_CLIB)/include
- # INCLUDES += -I$(SDK_LDAP)/clib/inc
+endif
+ifndef DISABLE_LDAP
+ # INCLUDES += -I$(SDK_LDAP)/$(LIBARCH_L)/inc
endif
CFLAGS += $(INCLUDES)