]> git.sur5r.net Git - openldap/blobdiff - servers/slapd/shell-backends/Makefile.in
Implemented the open, init functions correctly
[openldap] / servers / slapd / shell-backends / Makefile.in
index 76b4e0374a358087b9b489615d1940778a68e7b9..75064b34044a0347e74fc43239a59a767b952562 100644 (file)
@@ -4,12 +4,18 @@ SRCS = passwd-shell.c shellutil.c
 XSRCS = pwd-version.c
 OBJS = passwd-shell.o shellutil.o
 
-VINCLUDEDIR= -I../../../include
+LDAP_INCDIR= ../../../include       
+LDAP_LIBDIR= ../../../libraries
+
+BUILD_OPT = "--enable-shell"
+BUILD_SRV = @BUILD_SHELL@
+
+all-local-srv: $(PROGRAMS)
 
 passwd-shell:  pwd-version.o
        $(CC) $(LDFLAGS) -o $@ $(OBJS) pwd-version.o $(LIBS)
 
-pwd-version.c: $(OBJS)
+pwd-version.c: $(OBJS) $(LDAP_LIBDEPEND)
        $(RM) $@
        (u=$${USER-root} v=`$(CAT) $(VERSIONFILE)` d=`$(PWD)` h=`$(HOSTNAME)` \
        t=`$(DATE)`; $(SED) -e "s|%WHEN%|$${t}|" \