]> git.sur5r.net Git - openldap/commitdiff
Fix server --without-xxx build issues...
authorKurt Zeilenga <kurt@openldap.org>
Sun, 20 Dec 1998 00:55:39 +0000 (00:55 +0000)
committerKurt Zeilenga <kurt@openldap.org>
Sun, 20 Dec 1998 00:55:39 +0000 (00:55 +0000)
build/srv.mk
servers/ldapd/Makefile.in
servers/slapd/Makefile.in
servers/slapd/back-ldbm/Makefile.in
servers/slapd/back-passwd/Makefile.in
servers/slapd/back-shell/Makefile.in
servers/slapd/shell-backends/Makefile.in
servers/slapd/tools/Makefile.in
servers/slurpd/Makefile.in

index 6f1ad9637b870247dae840c9b04b3cc705dc5598..5b4e373da92b9ecc2f92ab69d2d7468335feea79 100644 (file)
@@ -41,22 +41,29 @@ install-common: FORCE
                echo "run configure with $(BUILD_OPT) to install $(PROGRAMS)"; \
        fi
 
-all-srv: FORCE
+all-local-srv:
+all-srv: all-local-srv FORCE
 
-install-srv: FORCE
+install-local-srv:
+install-srv: install-local-srv FORCE
 
-lint-srv: FORCE
+lint-local-srv:
+lint-srv: lint-local-srv FORCE
        $(LINT) $(DEFS) $(DEFINES) $(SRCS)
 
-5lint-srv: FORCE
+5lint-local-srv:
+5lint-srv: 5lint-local-srv FORCE
        $(5LINT) $(DEFS) $(DEFINES) $(SRCS)
 
-clean-srv:     FORCE
+clean-local-srv:
+clean-srv:     clean-local-srv FORCE
        $(RM) $(PROGRAMS) $(XPROGRAMS) $(XSRCS) *.o a.out core .libs/*
 
-depend-srv: FORCE
+depend-local-srv:
+depend-srv: depend-local-srv FORCE
        $(MKDEP) $(DEFS) $(DEFINES) $(SRCS)
 
-veryclean-srv:         clean-srv
+veryclean-local-srv:
+veryclean-srv:         clean-srv veryclean-local-srv
 
 Makefile: $(top_srcdir)/build/srv.mk
index cd683ae16e005de6fb8fd7a770f6e7e7e424a691..23a7c1e082eb22c28c7a945aa1c1acca4160f43a 100644 (file)
@@ -45,6 +45,6 @@ LDAP_tables.c:        ldap.py
 
 LDAP-types.h: LDAP_tables.c
 
-install-srv: FORCE
+install-local-srv: FORCE
        @$(MKDIR) $(libexecdir)
        $(LTINSTALL) $(INSTALLFLAGS) -m 755 ldapd $(LDAP_LIBEXECDIR)
index adace7035dba70d5d56bf5f8a75b83edd1753e10..059c8f2b18d4cee9858724b37c686d72cad7e3f0 100644 (file)
@@ -25,7 +25,7 @@ LDAP_LIBDIR= ../../libraries
 BUILD_OPT = "--enable-slapd"
 BUILD_SRV = @BUILD_SLAPD@
 
-all-local: FORCE
+all-local-srv: FORCE
        $(MAKE) $(MFLAGS) backendslib
        $(MAKE) $(MFLAGS) slapd
        (cd tools; $(MAKE) $(MFLAGS) all)
@@ -86,7 +86,7 @@ version.c: libbackends.a $(OBJS) $(LDAP_LIBDEPEND) \
        -e "s|%VERSION%|$${v}|" \
        < $(srcdir)/Version.c > $@)
 
-depend-local: FORCE
+depend-local-srv: FORCE
        @for i in back-* shell-backends tools; do \
                if [ -d $$i ]; then \
                        echo; echo "  cd $$i; $(MAKE) $(MFLAGS) depend"; \
@@ -94,7 +94,7 @@ depend-local: FORCE
                fi; \
        done
 
-clean-local: FORCE
+clean-local-srv: FORCE
        @for i in back-* shell-backends tools; do \
                if [ -d $$i ]; then \
                        echo; echo "  cd $$i; $(MAKE) $(MFLAGS) clean"; \
@@ -102,15 +102,7 @@ clean-local: FORCE
                fi; \
        done
 
-veryclean-local: FORCE
-       @for i in back-* shell-backends tools; do \
-               if [ -d $$i ]; then \
-                       echo; echo "  cd $$i; $(MAKE) $(MFLAGS) veryclean"; \
-                       ( cd $$i; $(MAKE) $(MFLAGS) veryclean ); \
-               fi; \
-       done
-
-install-local: install-slapd install-conf install-tools
+install-local-srv: install-slapd install-conf install-tools
 
 install-slapd: FORCE
        @-$(MKDIR) $(libexecdir)
index 7e6d2f508ce03fe96cde54d9fde36f8b1843819e..985149e9d9b1819534c9f5a1bed15bcc7aae92da 100644 (file)
@@ -18,7 +18,7 @@ XINCPATH = -I.. -I$(srcdir)/..
 
 PROGRAMS = libback-ldbm.a
 
-all-local: FORCE
+all-local-srv: FORCE
        $(MAKE) $(MFLAGS) libback-ldbm.a
 
 libback-ldbm.a:        version.o
index 339dc9ebf002d75a9e6569202dae18e1e4241f79..24d620b103183f10b2492690f390b801e12741d2 100644 (file)
@@ -12,7 +12,7 @@ PROGRAMS= libback-passwd.a
 
 XINCPATH = -I.. -I$(srcdir)/..
 
-all-local:     FORCE   
+all-local-srv:         FORCE   
        $(MAKE) $(MFLAGS) libback-passwd.a
 
 libback-passwd.a:      version.o
index 58291f2aae71b74d7d0fc706e8ddc3907a63f4e8..d17e442cb49d0311fe99db2de8f04efc90853079 100644 (file)
@@ -14,7 +14,7 @@ PROGRAMS =            libback-shell.a
 
 XINCPATH = -I.. -I$(srcdir)/..
 
-all-local:     FORCE
+all-local-srv: FORCE
        $(MAKE) $(MFLAGS) libback-shell.a
 
 libback-shell.a:       version.o
index 8789dede37e4fd09b9ff5422f1641d827eedc0d4..75064b34044a0347e74fc43239a59a767b952562 100644 (file)
@@ -10,7 +10,7 @@ LDAP_LIBDIR= ../../../libraries
 BUILD_OPT = "--enable-shell"
 BUILD_SRV = @BUILD_SHELL@
 
-all-local: $(PROGRAMS)
+all-local-srv: $(PROGRAMS)
 
 passwd-shell:  pwd-version.o
        $(CC) $(LDFLAGS) -o $@ $(OBJS) pwd-version.o $(LIBS)
index 2608b754720c25e1cccfec229c76069ee31d6a53..2045682f6f9bf831523d10145b89914999c635af 100644 (file)
@@ -122,7 +122,7 @@ depend-local: FORCE
        if [ "$$DEPEND" = "yes" ]; then \
        $(MKDEP) $(DEFS) $(DEFINES) $$DEPEND_ISODE $$DEPEND_LDBM; \
        else \
-               exit 0; \
+               echo "slapd-tools: no dependencies to make"; \
        fi
 
 install-local: install-ldbm install-isode FORCE
index 0c70980d141c498d84b8829d8edcfa27b228d31b..a7db275d3113acd50140de1d40324ea4639d3fb3 100644 (file)
@@ -40,6 +40,6 @@ version.c: $(OBJS) $(LDAP_LIBDEPEND)
        -e "s|%VERSION%|$${v}|" \
        < $(srcdir)/Version.c > $@)
 
-install-local: FORCE
+install-local-srv: FORCE
        @-$(MKDIR) $(libexecdir)
        $(LTINSTALL) $(INSTALLFLAGS) -m 755 slurpd $(libexecdir)