From: Ken Raeburn Date: Tue, 20 Jul 1993 16:38:49 +0000 (+0000) Subject: Make emul-list.h depend on Makefile, so changes to EMULATION_OFILES get X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=820c446cce71ab28db8f3d1f925e2658c0a10376;p=binutils-gdb.git Make emul-list.h depend on Makefile, so changes to EMULATION_OFILES get reflected. --- diff --git a/ld/ChangeLog b/ld/ChangeLog index 67bff66fb41..4ec2af51e87 100644 --- a/ld/ChangeLog +++ b/ld/ChangeLog @@ -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 emulations compiled in until Mark gets around to checking in 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) diff --git a/ld/Makefile.in b/ld/Makefile.in index 61784efa472..93eb6481ecd 100644 --- a/ld/Makefile.in +++ b/ld/Makefile.in @@ -190,7 +190,7 @@ DEF_EMUL = ` if [ -z "$(EMUL)" ] ; then \ ldmain.o: ldmain.c $(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! */";\ for f in `echo " " ${EMULATION_OFILES} "" \ | sed -e 's/em_/ld/g' -e 's/ ld/ /g' -e 's/[.]o//g'`; do \