From 684cf03d5564a0aff77f5b42eb36b13f20711a27 Mon Sep 17 00:00:00 2001 From: Howard Chu Date: Fri, 28 Mar 2003 18:42:12 +0000 Subject: [PATCH] Tweak version.c dependencies --- servers/slapd/Makefile.in | 4 +++- servers/slurpd/Makefile.in | 4 +++- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/servers/slapd/Makefile.in b/servers/slapd/Makefile.in index 0aee934d06..2432836d5b 100644 --- a/servers/slapd/Makefile.in +++ b/servers/slapd/Makefile.in @@ -286,10 +286,12 @@ libbackends.a: .backend fi @ls -l libbackends.a; echo "" -version.c: $(OBJS) $(SLAPD_LIBDEPEND) +version.c: Makefile @-$(RM) $@ $(MKVERSION) -s -n Versionstr slapd > $@ +version.o: version.c $(OBJS) $(SLAPD_LIBDEPEND) + depend-local-srv: FORCE @for i in back-* shell-backends slapi tools; do \ if test -d $$i -a -f $$i/Makefile ; then \ diff --git a/servers/slurpd/Makefile.in b/servers/slurpd/Makefile.in index b44f3b40ef..78844afe00 100644 --- a/servers/slurpd/Makefile.in +++ b/servers/slurpd/Makefile.in @@ -42,10 +42,12 @@ slurpd: version.o sslurpd: version.o $(LTLINK) -static -o $@ $(OBJS) version.o $(LIBS) -version.c: $(OBJS) $(SLURPD_L) +version.c: Makefile @-$(RM) $@ $(MKVERSION) slurpd > $@ +version.o: version.c $(OBJS) $(SLURPD_L) + install-local-srv: FORCE -$(MKDIR) $(DESTDIR)$(libexecdir) @-$(INSTALL) -m 700 -d $(DESTDIR)$(localstatedir)/openldap-slurp -- 2.39.5