mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-06-22 02:50:08 +08:00
* Makefile.in: Change definition of $(tooldir) to match FSF.
This commit is contained in:
@ -1,3 +1,32 @@
|
|||||||
|
Mon May 3 19:11:48 1993 Per Bothner (bothner@cygnus.com)
|
||||||
|
|
||||||
|
* Makefile.in: Change definition of $(tooldir) to match FSF.
|
||||||
|
|
||||||
|
Wed Apr 28 23:41:32 1993 David J. Mackenzie (djm@rtl.cygnus.com)
|
||||||
|
|
||||||
|
* size.c (usage): Add missing options.
|
||||||
|
(main): Clean up option parser.
|
||||||
|
|
||||||
|
* objdump.c (usage): Add missing options.
|
||||||
|
(display_file): Print program name before calling
|
||||||
|
bdf_perror.
|
||||||
|
|
||||||
|
* nm.c (usage): Add missing options.
|
||||||
|
(main): Clean up option parser.
|
||||||
|
(display_file): Print program name before calling
|
||||||
|
bdf_perror.
|
||||||
|
|
||||||
|
* copy.c (copy_usage, strip_usage): Add missing options.
|
||||||
|
|
||||||
|
* ar.c (usage): New function.
|
||||||
|
(main): Call it.
|
||||||
|
(open_inarch, do_quick_append): Print program name before calling
|
||||||
|
bdf_perror.
|
||||||
|
|
||||||
|
Thu Apr 22 15:01:35 1993 Ian Lance Taylor (ian@cygnus.com)
|
||||||
|
|
||||||
|
* nm.c (main): Accept and ignore -A and -B for MIPS compatibility.
|
||||||
|
|
||||||
Mon Apr 19 14:06:59 1993 Rob Savoye (rob@cygnus.com)
|
Mon Apr 19 14:06:59 1993 Rob Savoye (rob@cygnus.com)
|
||||||
|
|
||||||
* Makefile.in: Added FLAGS_TO_PASS so tests get run on freshly
|
* Makefile.in: Added FLAGS_TO_PASS so tests get run on freshly
|
||||||
|
@ -25,7 +25,7 @@ program_transform_name =
|
|||||||
exec_prefix = $(prefix)
|
exec_prefix = $(prefix)
|
||||||
bindir = $(exec_prefix)/bin
|
bindir = $(exec_prefix)/bin
|
||||||
libdir = $(exec_prefix)/lib
|
libdir = $(exec_prefix)/lib
|
||||||
tooldir = $(libdir)/$(target_alias)
|
tooldir = $(exec_prefix)/$(target_alias)
|
||||||
|
|
||||||
datadir = $(prefix)/lib
|
datadir = $(prefix)/lib
|
||||||
mandir = $(prefix)/man
|
mandir = $(prefix)/man
|
||||||
@ -110,10 +110,6 @@ INCLUDES = -I. -I$(srcdir) -I$(BASEDIR)/include -I$(BASEDIR)/bfd
|
|||||||
.c.o:
|
.c.o:
|
||||||
$(CC) -c $(CFLAGS) $(INCLUDES) $(HDEFINES) $(TDEFINES) $<
|
$(CC) -c $(CFLAGS) $(INCLUDES) $(HDEFINES) $(TDEFINES) $<
|
||||||
|
|
||||||
# When adding .o files, to make VPATH work in Sun Make, you have to
|
|
||||||
# also add a foo.o: foo.c line at the bottom of the file.
|
|
||||||
DISASMS = i960-pinsn.o am29k-pinsn.o
|
|
||||||
|
|
||||||
#
|
#
|
||||||
## Random definitions
|
## Random definitions
|
||||||
# Hopefully all these may be flushed once we get configuration down pat.
|
# Hopefully all these may be flushed once we get configuration down pat.
|
||||||
@ -141,20 +137,35 @@ ADDL_LIBS = $(MALLOC) $(BULIBS) $(BFD) $(LIBIBERTY)
|
|||||||
|
|
||||||
BFD = $(LIBDIR)/libbfd.a
|
BFD = $(LIBDIR)/libbfd.a
|
||||||
OPCODES = $(OPCODEDIR)/libopcodes.a
|
OPCODES = $(OPCODEDIR)/libopcodes.a
|
||||||
|
|
||||||
|
RUNTESTFLAGS =
|
||||||
|
FLAGS_TO_PASS = \
|
||||||
|
"RUNTESTFLAGS=$(RUNTESTFLAGS) \
|
||||||
|
SIZE=`if [ -f $$rootme/$(SIZE_PROG) ] ; then echo $$rootme/$(SIZE_PROG) ; else echo $(SIZE_PROG); fi` \
|
||||||
|
COPY=`if [ -f $$rootme/$(COPY_PROG) ] ; then echo $$rootme/$(COPY_PROG) ; else echo $(COPY_PROG); fi` \
|
||||||
|
NM=`if [ -f $$rootme/$(NM_PROG) ] ; then echo $$rootme/$(NM_PROG) ; else echo $(NM_PROG); fi` \
|
||||||
|
AR=`if [ -f $$rootme/$(AR_PROG) ] ; then echo $$rootme/$(AR_PROG) ; else echo $(AR_PROG); fi` \
|
||||||
|
OBJDUMP=`if [ -f $$rootme/$(OBJDUMP_PROG) ] ; then echo $$rootme/$(OBJDUMP_PROG) ; else echo $(OBJDUMP_PROG); fi` \
|
||||||
|
STRIP=`if [ -f $$rootme/$(STRIP_PROG) ] ; then echo $$rootme/$(STRIP_PROG) ; else echo $(STRIP_PROG); fi` \
|
||||||
|
RANLIB=`if [ -f $$rootme/$(RANLIB_PROG) ] ; then echo $$rootme/$(RANLIB_PROG) ; else echo $(RANLIB_PROG); fi` \
|
||||||
|
DEMANGLE=`if [ -f $$rootme/$(DEMANGLER_PROG) ] ; then echo $$rootme/$(DEMANGLER_PROG) ; else echo $(DEMANGLER_PROG); fi`"
|
||||||
|
|
||||||
#
|
#
|
||||||
## The rules
|
## The rules
|
||||||
|
|
||||||
all: $(ADDL_LIBS) $(PROGS) testsuite
|
all: $(ADDL_LIBS) $(PROGS)
|
||||||
|
|
||||||
testsuite:
|
testsuite:
|
||||||
if [ -d testsuite ]; then \
|
if [ -d testsuite ]; then \
|
||||||
(rootme=`pwd`/ ; export rootme ; \
|
(rootme=`pwd`/ ; export rootme ; \
|
||||||
rootsrc=`cd $(srcdir); pwd`/ ; export rootsrc ; \
|
rootsrc=`cd $(srcdir); pwd`/ ; export rootsrc ; \
|
||||||
cd testsuite; $(MAKE) $(FLAGS_TO_PASS)); \
|
cd testsuite; $(MAKE) FLAGS_TO_PASS=$(FLAGS_TO_PASS)); \
|
||||||
else true ; fi
|
else true ; fi
|
||||||
|
|
||||||
check: all
|
check: force
|
||||||
/bin/sh $(srcdir)/sanity.sh .
|
rootme=`pwd`; export rootme; cd testsuite ; \
|
||||||
|
$(MAKE) check $(FLAGS_TO_PASS)
|
||||||
|
# /bin/sh $(srcdir)/sanity.sh .
|
||||||
|
|
||||||
installcheck:
|
installcheck:
|
||||||
/bin/sh $(srcdir)/sanity.sh $(bindir)
|
/bin/sh $(srcdir)/sanity.sh $(bindir)
|
||||||
@ -178,8 +189,8 @@ $(STRIP_PROG): $(ADDL_LIBS) copy.o is-strip.o $(BFD)
|
|||||||
$(NM_PROG): $(ADDL_LIBS) nm.o $(BFD)
|
$(NM_PROG): $(ADDL_LIBS) nm.o $(BFD)
|
||||||
$(CC) $(LDFLAGS) $(CFLAGS) -o $(NM_PROG) nm.o $(ADDL_LIBS) $(LOADLIBES)
|
$(CC) $(LDFLAGS) $(CFLAGS) -o $(NM_PROG) nm.o $(ADDL_LIBS) $(LOADLIBES)
|
||||||
|
|
||||||
$(OBJDUMP_PROG): $(ADDL_LIBS) size.o objdump.o $(DISASMS) $(BFD) $(OPCODES)
|
$(OBJDUMP_PROG): $(ADDL_LIBS) size.o objdump.o $(BFD) $(OPCODES)
|
||||||
$(CC) $(LDFLAGS) $(CFLAGS) -o $(OBJDUMP_PROG) objdump.o $(DISASMS) $(OPCODES) $(ADDL_LIBS) $(LOADLIBES)
|
$(CC) $(LDFLAGS) $(CFLAGS) -o $(OBJDUMP_PROG) objdump.o $(OPCODES) $(ADDL_LIBS) $(LOADLIBES)
|
||||||
|
|
||||||
$(DEMANGLER_PROG): $(LIBIBERTY_SRC_DIR)/cplus-dem.c
|
$(DEMANGLER_PROG): $(LIBIBERTY_SRC_DIR)/cplus-dem.c
|
||||||
$(CC) $(LDFLAGS) $(CFLAGS) $(INCLUDES) $(HDEFINES) $(TDEFINES) -DMAIN -o $(DEMANGLER_PROG) $(LIBIBERTY_SRC_DIR)/cplus-dem.c $(LIBIBERTY) $(LOADLIBES)
|
$(CC) $(LDFLAGS) $(CFLAGS) $(INCLUDES) $(HDEFINES) $(TDEFINES) -DMAIN -o $(DEMANGLER_PROG) $(LIBIBERTY_SRC_DIR)/cplus-dem.c $(LIBIBERTY) $(LOADLIBES)
|
||||||
@ -392,7 +403,6 @@ $(DIST_NAME).tar.Z:
|
|||||||
|
|
||||||
# These get around a bug in Sun Make in SunOS 4.1.1
|
# These get around a bug in Sun Make in SunOS 4.1.1
|
||||||
alloca.o:alloca.c
|
alloca.o:alloca.c
|
||||||
am29k-pinsn.o: am29k-pinsn.c
|
|
||||||
ar.o: ar.c
|
ar.o: ar.c
|
||||||
arsup.o: arsup.c
|
arsup.o: arsup.c
|
||||||
bucomm.o: bucomm.c
|
bucomm.o: bucomm.c
|
||||||
@ -401,7 +411,6 @@ filemode.o:filemode.c
|
|||||||
getopt.o:getopt.c
|
getopt.o:getopt.c
|
||||||
getopt1.o:getopt1.c
|
getopt1.o:getopt1.c
|
||||||
gmalloc.o:gmalloc.c
|
gmalloc.o:gmalloc.c
|
||||||
i960-pinsn.o: i960-pinsn.c
|
|
||||||
is-ranlib.o:is-ranlib.c
|
is-ranlib.o:is-ranlib.c
|
||||||
is-strip.o:is-strip.c
|
is-strip.o:is-strip.c
|
||||||
maybe-ranlib.o:maybe-ranlib.c
|
maybe-ranlib.o:maybe-ranlib.c
|
||||||
|
Reference in New Issue
Block a user