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
LDAP-types.h: LDAP_tables.c
-install-srv: FORCE
+install-local-srv: FORCE
@$(MKDIR) $(libexecdir)
$(LTINSTALL) $(INSTALLFLAGS) -m 755 ldapd $(LDAP_LIBEXECDIR)
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)
-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"; \
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"; \
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)
PROGRAMS = libback-ldbm.a
-all-local: FORCE
+all-local-srv: FORCE
$(MAKE) $(MFLAGS) libback-ldbm.a
libback-ldbm.a: version.o
XINCPATH = -I.. -I$(srcdir)/..
-all-local: FORCE
+all-local-srv: FORCE
$(MAKE) $(MFLAGS) libback-passwd.a
libback-passwd.a: version.o
XINCPATH = -I.. -I$(srcdir)/..
-all-local: FORCE
+all-local-srv: FORCE
$(MAKE) $(MFLAGS) libback-shell.a
libback-shell.a: version.o
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)
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
-e "s|%VERSION%|$${v}|" \
< $(srcdir)/Version.c > $@)
-install-local: FORCE
+install-local-srv: FORCE
@-$(MKDIR) $(libexecdir)
$(LTINSTALL) $(INSTALLFLAGS) -m 755 slurpd $(libexecdir)