From: Jim Wilson Date: Mon, 10 Oct 1994 01:06:20 +0000 (+0000) Subject: * Makefile.in (srconv.o): Add dependence on sysroff.c. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=f0eebb5f6a9c007d87b9173803220a16d9bc9cb7;p=binutils-gdb.git * Makefile.in (srconv.o): Add dependence on sysroff.c. --- diff --git a/binutils/ChangeLog b/binutils/ChangeLog index 2d9a0001d05..3bf4d8fac0e 100644 --- a/binutils/ChangeLog +++ b/binutils/ChangeLog @@ -1,3 +1,15 @@ +Sun Oct 9 18:04:00 1994 Jim Wilson (wilson@sphagnum.cygnus.com) + + * Makefile.in (srconv.o): Add dependence on sysroff.c. + +Tue Oct 4 12:19:51 1994 Ian Lance Taylor + + * configure.in: Use ${config_shell} when running config.bfd. + + * Makefile.in (sysroff.h): Split target away from sysroff.c. + (srconv.o, sysdump.o): New targets. + (srconv, sysdump): Don't depend upon sysroff.c. + Wed Sep 28 13:04:34 1994 Ian Lance Taylor (ian@sanguine.cygnus.com) * Makefile.in (arparse.c): Don't ignore errors from mv. diff --git a/binutils/Makefile.in b/binutils/Makefile.in index 280d4435932..9d258191ebe 100644 --- a/binutils/Makefile.in +++ b/binutils/Makefile.in @@ -261,6 +261,8 @@ sysroff.c: sysinfo sysroff.info ./sysinfo -c <$(srcdir)/sysroff.info >sysroff.c ./sysinfo -i <$(srcdir)/sysroff.info >>sysroff.c ./sysinfo -g <$(srcdir)/sysroff.info >>sysroff.c + +sysroff.h: sysinfo sysroff.info ./sysinfo -d <$(srcdir)/sysroff.info >sysroff.h # Depend upon arparse.c to avoid building both arparse.c and sysinfo.c @@ -296,13 +298,18 @@ sysinfo.o: sysinfo.c $(CC_FOR_BUILD) -c -I. $(CFLAGS) $(srcdir)/sysinfo.c ; \ fi -srconv: sysroff.c srconv.o sysroff.c coffgrok.o $(ADDL_LIBS) +srconv.o: srconv.c sysroff.h sysroff.c coffgrok.h $(INCDIR)/coff/internal.h \ + ../bfd/libcoff.h + +srconv: srconv.o coffgrok.o $(ADDL_LIBS) $(CC) $(CFLAGS) $(LDFLAGS) -o $@ srconv.o coffgrok.o $(ADDL_LIBS) $(EXTRALIBS) coffdump: coffdump.o coffgrok.o $(ADDL_LIBS) $(CC) $(CFLAGS) $(LDFLAGS) -o $@ coffdump.o coffgrok.o $(ADDL_LIBS) $(EXTRALIBS) -sysdump: sysroff.c sysdump.o $(ADDL_LIBS) +sysdump.o: sysdump.c sysroff.h + +sysdump: sysdump.o $(ADDL_LIBS) $(CC) $(CFLAGS) $(LDFLAGS) -o $@ sysdump.o $(ADDL_LIBS) $(EXTRALIBS) # Depend upon sysinfo.c to avoid building both nlmheader.c and sysinfo.c