summaryrefslogtreecommitdiffstats
path: root/ldap/servers/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'ldap/servers/Makefile')
-rw-r--r--ldap/servers/Makefile15
1 files changed, 15 insertions, 0 deletions
diff --git a/ldap/servers/Makefile b/ldap/servers/Makefile
index fbd86f92..ae89f7db 100644
--- a/ldap/servers/Makefile
+++ b/ldap/servers/Makefile
@@ -54,6 +54,9 @@ include $(LDAP_SRC)/nsldap.mk
ifeq ($(ARCH), WINNT)
PRE_SLAPD_EXTRAS=_ntmsgdll
POST_SLAPD_EXTRAS=_ntwdog _ntperfdll
+ifeq ($(BUILD_NTDS),1)
+PRE_SLAPD_EXTRAS+=_ntds
+endif
endif
all: $(PRE_SLAPD_EXTRAS) _slapd $(POST_SLAPD_EXTRAS) _backends _plugins _snmp _slapdtools
@@ -86,6 +89,9 @@ _slapdtools:
cd slapd/tools; $(MAKE) $(MFLAGS) all
ifeq ($(ARCH), WINNT)
+_ntds:
+ cd ntds; $(MAKE) $(MFLAGS) all
+
_ntmsgdll:
cd slapd/ntmsgdll; $(MAKE) $(MFLAGS) all
@@ -107,3 +113,12 @@ endif
cd slapd/back-ldif; $(MAKE) $(MFLAGS) clean
cd plugins; $(MAKE) $(MFLAGS) clean
cd slapd/tools; $(MAKE) $(MFLAGS) clean
+
+ifeq ($(ARCH), WINNT)
+ cd ntds; $(MAKE) $(MFLAGS) clean
+else
+ echo NTDS not built on non-windows
+endif
+
+
+