aboutsummaryrefslogtreecommitdiff
path: root/gas/Makefile.in
diff options
context:
space:
mode:
authorKen Raeburn <raeburn@cygnus>1994-12-17 01:03:15 +0000
committerKen Raeburn <raeburn@cygnus>1994-12-17 01:03:15 +0000
commitb63defaa3c15edb67d5ea6a595b93a352ff96ffb (patch)
tree8f7755ffcfd0a4a87b639e1b6c2b42f4b83a46a1 /gas/Makefile.in
parentc5b5589ed386dc1289a6bbcbfd4f5976c5d71e58 (diff)
downloadgdb-b63defaa3c15edb67d5ea6a595b93a352ff96ffb.zip
gdb-b63defaa3c15edb67d5ea6a595b93a352ff96ffb.tar.gz
gdb-b63defaa3c15edb67d5ea6a595b93a352ff96ffb.tar.bz2
* Makefile.in (CHECKFLAGS): Don't pass AS_FOR_TARGET, CC_FOR_TARGET,
OBJDUMP_FOR_TARGET, NM_FOR_TARGET; they're not used. (AS_FOR_TARGET, CC_FOR_TARGET, OBJDUMP, OBJDUMP_FOR_TARGET, NM, NM_FOR_TARGET): Don't define. (VMS_OTHER_OBJS): Add xmalloc.o and xexit.o from libiberty. (tooldir): Use exec_prefix, not libdir.
Diffstat (limited to 'gas/Makefile.in')
-rw-r--r--gas/Makefile.in50
1 files changed, 4 insertions, 46 deletions
diff --git a/gas/Makefile.in b/gas/Makefile.in
index 513a624..a182513 100644
--- a/gas/Makefile.in
+++ b/gas/Makefile.in
@@ -36,7 +36,7 @@ program_transform_name = @program_transform_name@
exec_prefix = @exec_prefix@
bindir = $(exec_prefix)/bin
libdir = $(exec_prefix)/lib
-tooldir = $(libdir)/$(target_alias)
+tooldir = $(exec_prefix)/$(target_alias)
datadir = $(prefix)/lib
mandir = $(prefix)/man
@@ -76,43 +76,6 @@ CFLAGS = -g
MAKEOVERRIDES=
-AS_FOR_TARGET = $${here}/as.new
-
-CC_FOR_TARGET = ` \
- if [ -f $${here}/../gcc/Makefile ] ; then \
- echo $${here}/../gcc/xgcc -B$${here}/../gcc/; \
- else \
- if [ "$(host_canonical)" = "$(target_canonical)" ] ; then \
- echo $(CC); \
- else \
- echo gcc | sed '$(program_transform_name)'; \
- fi; \
- fi`
-
-NM=nm
-NM_FOR_TARGET = ` \
- if [ -f $${here}/../binutils/Makefile ] ; then \
- echo $${here}/../binutils/nm ; \
- else \
- if [ "$(host_canonical)" = "$(target_canonical)" ] ; then \
- echo $(NM); \
- else \
- echo nm | sed '$(program_transform_name)' ; \
- fi; \
- fi`
-
-OBJDUMP=objdump
-OBJDUMP_FOR_TARGET = ` \
- if [ -f $${here}/../binutils/Makefile ] ; then \
- echo $${here}/../binutils/objdump ; \
- else \
- if [ "$(host_canonical)" = "$(target_canonical)" ] ; then \
- echo $(OBJDUMP); \
- else \
- echo objdump | sed '$(program_transform_name)' ; \
- fi; \
- fi`
-
FLAGS_TO_PASS = \
"prefix=$(prefix)" \
"exec_prefix=$(exec_prefix)" \
@@ -133,10 +96,6 @@ FLAGS_TO_PASS = \
RUNTEST=runtest
CHECKFLAGS= \
- "AS_FOR_TARGET=$(AS_FOR_TARGET)" \
- "CC_FOR_TARGET=$(CC_FOR_TARGET)" \
- "NM_FOR_TARGET=$(NM_FOR_TARGET)" \
- "OBJDUMP_FOR_TARGET=$(OBJDUMP_FOR_TARGET)" \
"RUNTESTFLAGS=$(RUNTESTFLAGS)" \
"RUNTEST=$(RUNTEST)"
@@ -166,8 +125,7 @@ REAL_SOURCES = \
$(srcdir)/write.c \
$(srcdir)/listing.c \
$(srcdir)/ecoff.c \
- $(srcdir)/stabs.c \
- $(srcdir)/xmalloc.c
+ $(srcdir)/stabs.c
# in an expedient order
LINKED_SOURCES = \
@@ -233,12 +191,13 @@ OBJS = \
listing.o \
ecoff.o \
stabs.o \
- xmalloc.o \
$(TE_OBJS)
# These are objects we know we'll be pulling in from other directories.
# For VMS, we have to build them explicitly.
VMS_OTHER_OBJS = \
+ ../libiberty/xmalloc.o \
+ ../libiberty/xexit.o \
../libiberty/obstack.o \
../libiberty/strdup.o \
../libiberty/strncasecmp.o \
@@ -415,7 +374,6 @@ stabs.o : stabs.c as.h targ-env.h obj-format.h \
targ-cpu.h struc-symbol.h \
write.h flonum.h bignum.h expr.h frags.h hash.h read.h symbols.h tc.h obj.h \
subsegs.h $(srcdir)/../include/aout/stab_gnu.h
-xmalloc.o : xmalloc.c
atof-targ.o : atof-targ.c as.h targ-env.h obj-format.h \
targ-cpu.h struc-symbol.h \
write.h flonum.h bignum.h expr.h frags.h hash.h read.h \