* 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.
This commit is contained in:
Ian Lance Taylor 1994-03-17 21:22:30 +00:00
parent 8eb5d4be69
commit 06459c063e
2 changed files with 25 additions and 10 deletions

View File

@ -1,3 +1,20 @@
Thu Mar 17 16:20:28 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
* 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.
start-sanitize-powerpc-netware
Wed Mar 16 16:27:05 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
* nlmconv.c (powerpc_build_stubs): Set BSF_DYNAMIC flag for each
symbol for which we build a stub.
(powerpc_mangle_relocs): Only reset TOC pointer for a call to a
symbol with BSF_DYNAMIC flag set.
end-sanitize-powerpc-netware
Tue Mar 15 23:04:13 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
* objcopy.c (filter_symbols): Use bfd_is_local_label to determine

View File

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