From a5c6b4b3b58effba6d4a89c71bf32c8daca005c6 Mon Sep 17 00:00:00 2001 From: Steve Chamberlain Date: Wed, 8 May 1991 19:07:10 +0000 Subject: [PATCH] Added make dep rule. When configure is used, the created makefile will have all the dependencies filled in. --- bfd/Makefile.in | 28 ++++++---------------------- 1 file changed, 6 insertions(+), 22 deletions(-) diff --git a/bfd/Makefile.in b/bfd/Makefile.in index 03f896f2e2..8d05cfa270 100644 --- a/bfd/Makefile.in +++ b/bfd/Makefile.in @@ -25,7 +25,7 @@ RANLIB = ranlib AR = INCDIR = $(srcdir)/../include CSEARCH = -I$(INCDIR) - +DEP = mkdep #### host and target dependent Makefile fragments come in here. ### @@ -112,26 +112,7 @@ saber: #suppress 590 on abfd #setopt load_flags $(CFLAGS) #load $(CFILES) -m88k-bcs.o : m88k-bcs.c -ieee.o : ieee.c -srec.o : srec.c -oasys.o : oasys.c - -archive.o : archive.c libbfd.h $(BFD_H) $(SYSDEP_H) -archures.o : archures.c $(BFD_H) $(SYSDEP_H) archures.h -b.out.o : b.out.c libbfd.h $(BFD_H) $(SYSDEP_H) liba.out.h archures.h -m88k-bcs.o : m88k-bcs.c libbfd.h $(BFD_H) $(SYSDEP_H) libcoff.h coff-code.h archures.h -bfd.o : bfd.c libbfd.h $(BFD_H) $(SYSDEP_H) -cache.o : cache.c libbfd.h $(BFD_H) $(SYSDEP_H) -coff.o : coff.c -cplus-dem.o : cplus-dem.c -filemode.o : filemode.c -icoff.o : icoff.c libbfd.h $(BFD_H) $(SYSDEP_H) libcoff.h coff-code.h archures.h -libbfd.o : libbfd.c libbfd.h $(BFD_H) $(SYSDEP_H) -misc.o : misc.c -opncls.o : opncls.c libbfd.h $(BFD_H) $(SYSDEP_H) -sunos.o : sunos.c libbfd.h $(BFD_H) $(SYSDEP_H) liba.out.h -targets.o : targets.c libbfd.h $(BFD_H) $(SYSDEP_H) + #----------------------------------------------------------------------------- # 'STANDARD' GNU/960 TARGETS BELOW THIS POINT @@ -189,4 +170,7 @@ Makefile: $(srcdir)/Makefile.in $(srcdir)/configure ./configure +norecurse \ +destdir=$(destdir) \ `if [ "$(srcdir)" != "." ] ; then echo +f; fi` \ - $(host) +target=$(target)) + $(host) +target=$(target);) ; make dep + +dep: $(CFILES) + mkdep $(CFLAGS) $? -- 2.34.1