* Makefile.in (srconv.o): Add dependence on sysroff.c.

This commit is contained in:
Jim Wilson 1994-10-10 01:06:20 +00:00
parent 62433a301a
commit f0eebb5f6a
2 changed files with 21 additions and 2 deletions

View File

@ -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 <ian@sanguine.cygnus.com>
* 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.

View File

@ -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