Make emul-list.h depend on Makefile, so changes to EMULATION_OFILES get

reflected.
This commit is contained in:
Ken Raeburn
1993-07-20 16:38:49 +00:00
parent 0750b974c0
commit 820c446cce
2 changed files with 3 additions and 1 deletions

View File

@ -4,6 +4,8 @@ Tue Jul 20 12:01:49 1993 Ken Raeburn (raeburn@cambridge.cygnus.com)
there's no change log entry yet, tsk tsk) from the list of there's no change log entry yet, tsk tsk) from the list of
emulations compiled in until Mark gets around to checking in emulations compiled in until Mark gets around to checking in
emulparams/i386linux.sh. emulparams/i386linux.sh.
(ldemul-list.h): Depend on Makefile, so if EMULATION_OFILES is
changed, this file gets updated.
Fri Jul 16 14:14:32 1993 Ian Lance Taylor (ian@cygnus.com) Fri Jul 16 14:14:32 1993 Ian Lance Taylor (ian@cygnus.com)

View File

@ -190,7 +190,7 @@ DEF_EMUL = ` if [ -z "$(EMUL)" ] ; then \
ldmain.o: ldmain.c ldmain.o: ldmain.c
$(CC) -c $(INCLUDES) $(HDEFINES) $(TDEFINES) $(CDEFINES) $(DEF_EMUL) -DSCRIPTDIR='"$(scriptdir)"' $(CFLAGS) $< $(CC) -c $(INCLUDES) $(HDEFINES) $(TDEFINES) $(CDEFINES) $(DEF_EMUL) -DSCRIPTDIR='"$(scriptdir)"' $(CFLAGS) $<
ldemul-list.h: ldemul-list.h: Makefile
(echo "/* This file is automatically generated. DO NOT EDIT! */";\ (echo "/* This file is automatically generated. DO NOT EDIT! */";\
for f in `echo " " ${EMULATION_OFILES} "" \ for f in `echo " " ${EMULATION_OFILES} "" \
| sed -e 's/em_/ld/g' -e 's/ ld/ /g' -e 's/[.]o//g'`; do \ | sed -e 's/em_/ld/g' -e 's/ ld/ /g' -e 's/[.]o//g'`; do \