From d0c81ff26b1219bbf6aa01f6b432c6e06dd69fa7 Mon Sep 17 00:00:00 2001 From: Howard Chu Date: Sat, 29 Mar 2003 00:33:39 +0000 Subject: [PATCH] Tweak version.c rules --- clients/tools/Makefile.in | 27 ++++++++++++++++++++------- 1 file changed, 20 insertions(+), 7 deletions(-) diff --git a/clients/tools/Makefile.in b/clients/tools/Makefile.in index 7685d1292e..4106c7f5ed 100644 --- a/clients/tools/Makefile.in +++ b/clients/tools/Makefile.in @@ -43,34 +43,47 @@ ldapwhoami: ldwversion.o ldapcompare: ldcversion.o $(LTLINK) -o $@ ldapcompare.o common.o ldcversion.o $(LIBS) -ldsversion.c: ldapsearch.o common.o $(XLIBS) +ldsversion.c: Makefile @-$(RM) $@ $(MKVERSION) $(MKVOPTS) ldapsearch > $@ -ldmversion.c: ldapmodify.o common.o $(XLIBS) +ldsversion.o: ldapsearch.o common.o $(XLIBS) + +ldmversion.c: Makefile @-$(RM) $@ $(MKVERSION) $(MKVOPTS) ldapmodify > $@ -lddversion.c: ldapdelete.o common.o $(XLIBS) +ldmversion.o: ldapmodify.o common.o $(XLIBS) + +lddversion.c: Makefile @-$(RM) $@ $(MKVERSION) $(MKVOPTS) ldapdelete > $@ -ldpversion.c: ldappasswd.o common.o $(XLIBS) +lddversion.o: ldapdelete.o common.o $(XLIBS) + +ldpversion.c: Makefile @-$(RM) $@ $(MKVERSION) $(MKVOPTS) ldappasswd > $@ -ldrversion.c: ldapmodrdn.o common.o $(XLIBS) +ldpversion.o: ldappasswd.o common.o $(XLIBS) + +ldrversion.c: Makefile @-$(RM) $@ $(MKVERSION) $(MKVOPTS) ldapmodrdn > $@ -ldwversion.c: ldapwhoami.o common.o $(XLIBS) +ldrversion.o: ldapmodrdn.o common.o $(XLIBS) + +ldwversion.c: Makefile @-$(RM) $@ $(MKVERSION) $(MKVOPTS) ldapwhoami > $@ -ldcversion.c: ldapcompare.o common.o $(XLIBS) +ldwversion.o: ldapwhoami.o common.o $(XLIBS) + +ldcversion.c: Makefile @-$(RM) $@ $(MKVERSION) $(MKVOPTS) ldapcompare > $@ +ldcversion.o: ldapcompare.o common.o $(XLIBS) install-local: FORCE -$(MKDIR) $(DESTDIR)$(bindir) -- 2.39.5