From 0d6a23c34e67752094c3141d95ee950fff705b21 Mon Sep 17 00:00:00 2001 From: ewt Date: Wed, 12 Feb 1997 05:03:02 +0000 Subject: [PATCH] run depend only against sources used CVS patchset: 1404 CVS date: 1997/02/12 05:03:02 --- Makefile.in | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Makefile.in b/Makefile.in index b4b022c..e279e36 100644 --- a/Makefile.in +++ b/Makefile.in @@ -37,6 +37,8 @@ OBJS = rpm.o query.o install.o verify.o checksig.o ftp.o url.o @GETTEXTSTUB@ PROGS = @RPM@ rpm2cpio LOADLIBES = -lbuild -lrpm -lmisc @LIBS@ @ZLIB@ @LIBINTL@ @LIBSOCKET@ @LIBDL@ +SOURCES = $(subst .o,.c,$(OBJS)) + ifeq (.depend,$(wildcard .depend)) TARGET=everything else @@ -138,7 +140,7 @@ distclean: .PHONY: depend depend: - $(CPP) $(CFLAGS) -M $(srcdir)/*.c > .depend + $(CPP) $(CFLAGS) -M $(srcdir)/$(SOURCES) > .depend for d in $(SUBDIRS); do \ (cd $$d; $(MAKE) $@) ;\ done -- 2.7.4