From: Ken Raeburn Date: Thu, 5 May 1994 22:52:31 +0000 (+0000) Subject: * Makefile.in (objdump.o): Deleted special rule. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=c063fc455888b5c706bf54f0f6dbd5cb9521f7d9;p=binutils-gdb.git * Makefile.in (objdump.o): Deleted special rule. * configure.in: Don't bother building ARCHDEFS variable for Makefile. * objdump.c (ARCH_*): Deleted handling. (disassemble_data): Call `disassembler' from opcodes library. --- diff --git a/binutils/Makefile.in b/binutils/Makefile.in index e80f4b5ffc1..377c180c8a7 100644 --- a/binutils/Makefile.in +++ b/binutils/Makefile.in @@ -199,9 +199,6 @@ $(NM_PROG): $(ADDL_LIBS) nm.o demangle.o $(BFD) $(OBJDUMP_PROG): $(ADDL_LIBS) objdump.o $(BFD) $(OPCODES) $(CC) $(CFLAGS) $(LDFLAGS) -o $(OBJDUMP_PROG) objdump.o $(OPCODES) $(ADDL_LIBS) $(EXTRALIBS) -objdump.o: objdump.c config.status - $(CC) -c $(INCLUDES) $(HDEFINES) $(TDEFINES) $(ARCHDEFS) $(CFLAGS) $(srcdir)/objdump.c - underscore.c: echo "int xxy_us_dummy;" >dummy.c $(CC) -c dummy.c @@ -490,13 +487,15 @@ install: all $(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.new strip.new ar ranlib; do \ - rm -f $(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 + if [ -d $(tooldir)/bin ]; then true; else mkdir $(tooldir)/bin; fi; \ + for i in nm.new strip.new ar ranlib; do \ + j=`echo $$i | sed -e 's/.new//'`; \ + rm -f $(tooldir)/bin/$$j; \ + k=`t='$(program_transform_name)'; echo $$j | sed -e s/x/x/ $$t`; \ + ln $(bindir)/$$k $(tooldir)/bin/$$j >/dev/null 2>/dev/null \ + || $(INSTALL_PROGRAM) $$i $(tooldir)/bin/$$j; \ + done; \ + else true; fi # This little path search is required because in the FSF net releases, # the info files are included in the source tree, and that may not be