* Makefile.in (CHECKFLAGS): Don't pass AS_FOR_TARGET, CC_FOR_TARGET,
authorKen Raeburn <raeburn@cygnus>
Sat, 17 Dec 1994 01:03:15 +0000 (01:03 +0000)
committerKen Raeburn <raeburn@cygnus>
Sat, 17 Dec 1994 01:03:15 +0000 (01:03 +0000)
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.

gas/ChangeLog
gas/Makefile.in

index 9b7ea6aba802ebf5687363d5864454a8cd48536e..48ef58b156a7e25a5780c304f9c09b2cf4edd277 100644 (file)
@@ -1,3 +1,13 @@
+Fri Dec 16 14:40:16 1994  Ken Raeburn  <raeburn@cujo.cygnus.com>
+
+       * 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.
+
 Fri Dec 16 11:07:10 1994  Stan Shebs  <shebs@andros.cygnus.com>
 
        * config/obj-coff.h: Include libcoff.h, not ../bfd/libcoff.h.
index 513a624f64017291b1c2ec57b6b82f8719db4094..a182513acbf1e083976fd54b424284fd3fdccb5d 100644 (file)
@@ -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 \