diff options
author | Ian Lance Taylor <ian@airs.com> | 1994-03-17 21:22:30 +0000 |
---|---|---|
committer | Ian Lance Taylor <ian@airs.com> | 1994-03-17 21:22:30 +0000 |
commit | 06459c063e65d7249132696f436d9f3f7cce41b1 (patch) | |
tree | 57843270816b3f73d8767b1a5bf187c9ddde7a86 /binutils/Makefile.in | |
parent | 8eb5d4be69fd1ac050fc1ef041e56803d921029d (diff) | |
download | gdb-06459c063e65d7249132696f436d9f3f7cce41b1.zip gdb-06459c063e65d7249132696f436d9f3f7cce41b1.tar.gz gdb-06459c063e65d7249132696f436d9f3f7cce41b1.tar.bz2 |
* Makefile.in: Built nm.new and strip.new to avoid problems with
collect when . is in PATH.
(STRIP_PROG): Change from strip to strip.new.
(NM_PROG): Change from nm to nm.new.
(install): Remove the .new when installing.
Diffstat (limited to 'binutils/Makefile.in')
-rw-r--r-- | binutils/Makefile.in | 18 |
1 files changed, 8 insertions, 10 deletions
diff --git a/binutils/Makefile.in b/binutils/Makefile.in index 462d561..c460035 100644 --- a/binutils/Makefile.in +++ b/binutils/Makefile.in @@ -88,13 +88,13 @@ RANLIB_PROG=ranlib # objcopy and strip should be the same program OBJCOPY_PROG=objcopy -STRIP_PROG=strip +STRIP_PROG=strip.new STRINGS_PROG=strings # These should all be the same program too. SIZE_PROG=size -NM_PROG=nm +NM_PROG=nm.new OBJDUMP_PROG=objdump # This is the demangler, as a standalone program. @@ -266,9 +266,7 @@ 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 + ./sysinfo -d <$(srcdir)/sysroff.info >sysroff.h sysinfo.c: sysinfo.y $(BISON) -tvd $(srcdir)/sysinfo.y @@ -282,13 +280,13 @@ syslex.c : syslex.l sysinfo: sysinfo.o syslex.o $(ADDL_LIBS) $(CC) $(CFLAGS) $(LDFLAGS) -o $@ sysinfo.o syslex.o $(ADDL_LIBS) $(EXTRALIBS) -srconv: sysroff.c srconv.o sysroff.c sysroff.h coffgrok.o $(ADDL_LIBS) +srconv: sysroff.c srconv.o sysroff.c 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.h sysroff.c sysdump.o $(ADDL_LIBS) +sysdump: sysroff.c sysdump.o $(ADDL_LIBS) $(CC) $(CFLAGS) $(LDFLAGS) -o $@ sysdump.o $(ADDL_LIBS) $(EXTRALIBS) nlmheader.c: nlmheader.y @@ -475,16 +473,16 @@ TAGS: force install: all for i in $(PROGS) ; do \ - $(INSTALL_XFORM) $$i $(bindir)/$$i ; \ + $(INSTALL_XFORM) $$i $(bindir)/`echo $$i | sed -e 's/.new//'` ; \ done for i in $(MANPAGES) ; do \ $(INSTALL_XFORM1) $(srcdir)/$$i.1 $(man1dir)/$$i.1 ; \ done -if [ -d $(tooldir) ]; then \ if [ -d $(tooldir)/bin ] ; then true ; else mkdir $(tooldir)/bin ; fi; \ - for i in nm strip ar ranlib; do \ + for i in nm.new strip.new ar ranlib; do \ rm -f $(tooldir)/bin/$$i; \ - ln $(bindir)/`t='$(program_transform_name)'; echo $$i | sed -e "" $$t` $(tooldir)/bin/$$i \ + ln $(bindir)/`t='$(program_transform_name)'; echo $$i | sed -e "s/.new//" $$t` $(tooldir)/bin/`echo $$i | sed -e 's/.new//'` \ || $(INSTALL_PROGRAM) $$i $(tooldir)/bin/$$i; \ done; \ else true; fi |