]> git.sur5r.net Git - openldap/blobdiff - servers/slapd/Makefile.in
allow backwards compatibility for 'T' option (single char)
[openldap] / servers / slapd / Makefile.in
index 57545cf9875d86d7c7ce6b653ce6f13a7545eadd..87183785a60e6cff8b0d2f2fffdbaa86277368a5 100644 (file)
@@ -13,7 +13,7 @@
 ## top-level directory of the distribution or, alternatively, at
 ## <http://www.OpenLDAP.org/license.html>.
 
-SLAPTOOLS=slapadd slapcat slapdn slapindex slappasswd slaptest
+SLAPTOOLS=slapadd slapcat slapdn slapindex slappasswd slaptest slapauth
 PROGRAMS=slapd $(SLAPTOOLS)
 XPROGRAMS=sslapd libbackends.a .backend liboverlays.a
 XSRCS=version.c
@@ -37,7 +37,7 @@ SRCS  = main.c globals.c config.c daemon.c \
                backglue.c operational.c matchedValues.c cancel.c syncrepl.c \
                backover.c ctxcsn.c ldapsync.c sessionlog.c \
                slapadd.c slapcat.c slapcommon.c slapdn.c slapindex.c \
-               slappasswd.c slaptest.c \
+               slappasswd.c slaptest.c slapauth.c \
                $(@PLAT@_SRCS)
 
 OBJS   = main.o globals.o config.o daemon.o \
@@ -54,7 +54,7 @@ OBJS  = main.o globals.o config.o daemon.o \
                backglue.o operational.o matchedValues.o cancel.o syncrepl.o \
                backover.o ctxcsn.o ldapsync.o sessionlog.o \
                slapadd.o slapcat.o slapcommon.o slapdn.o slapindex.o \
-               slappasswd.o slaptest.c \
+               slappasswd.o slaptest.o slapauth.o \
                $(@PLAT@_OBJS)
 
 LDAP_INCDIR= ../../include -I$(srcdir)/slapi
@@ -265,6 +265,9 @@ slapd: $(SLAPD_DEPENDS) @LIBSLAPI@
 sslapd: version.o
        $(LTLINK) -static -o $@ $(OBJS) version.o $(LIBS) $(WRAP_LIBS)
 
+$(SLAPD_DYNAMIC_BACKENDS): slapd
+       cd $@; $(MAKE) $(MFLAGS) all
+       @touch $@
 
 #
 # In Windows, dynamic backends have to be built after slapd. For this
@@ -415,7 +418,9 @@ install-conf: FORCE
 
 install-tools: FORCE
        -$(MKDIR) $(DESTDIR)$(sbindir)
-       cd $(DESTDIR)$(sbindir); rm -f $(SLAPTOOLS); \
+       cd $(DESTDIR)$(sbindir); \
+       rm -f $(SLAPTOOLS); \
        for i in $(SLAPTOOLS); do \
-               $(LN_S) $(DESTDIR)$(libexecdir)/slapd $$i; done
+               $(LN_S) $(libexecdir)/slapd $$i; \
+       done