aboutsummaryrefslogtreecommitdiff
path: root/gas/Makefile.in
diff options
context:
space:
mode:
authorKen Raeburn <raeburn@cygnus>1994-04-14 22:46:53 +0000
committerKen Raeburn <raeburn@cygnus>1994-04-14 22:46:53 +0000
commitc92d9ee9006288589f4466496632ee20f431a985 (patch)
treea13884ca04f3edfc1d077bcfaa98d044212a763d /gas/Makefile.in
parentd6f98c552b15e430f2a7e2fe38b111afa13a4dcf (diff)
downloadgdb-c92d9ee9006288589f4466496632ee20f431a985.zip
gdb-c92d9ee9006288589f4466496632ee20f431a985.tar.gz
gdb-c92d9ee9006288589f4466496632ee20f431a985.tar.bz2
* Makefile.in: Make $(OBJS) depend on $(ALL_OBJ_DEPS).
* configure.in: Set ALL_OBJ_DEPS in output Makefile. Based on suggestions from <BAILEY@hmivax.humgen.upenn.edu> (Charles Bailey): * vmsconf.sh: In generated file, get ".obj" suffix right, build source files from other directories into objects in the current directory, and specify PSECT attributes explicitly to linker. Also added missing label. * Makefile.in (stamp-mk.com): Reference new variable VMS_OTHER_OBJS for list of non-local object files, instead of listing them here. (VMS_OTHER_OBJS): New variable, added more libiberty files. * make-gas.com: Regenerated. * config/ho-vms.h (unlink): Define as delete. * config-gas.com: Fix quoting on TARGET_CANONICAL definition. Delete files before creating them.
Diffstat (limited to 'gas/Makefile.in')
-rw-r--r--gas/Makefile.in12
1 files changed, 11 insertions, 1 deletions
diff --git a/gas/Makefile.in b/gas/Makefile.in
index 2c2089d..7473c7e 100644
--- a/gas/Makefile.in
+++ b/gas/Makefile.in
@@ -232,6 +232,14 @@ OBJS = \
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/obstack.o \
+ ../libiberty/strdup.o \
+ ../libiberty/strncasecmp.o \
+ ../libiberty/getruntime.o
+
all: as.new gasp.new
@srcroot=`cd $(srcroot); pwd`; export srcroot; \
(cd doc ; $(MAKE) $(FLAGS_TO_PASS) all)
@@ -242,7 +250,7 @@ dvi info install-info clean-info:
make-gas.com: stamp-mk.com
stamp-mk.com: vmsconf.sh Makefile
- sh $(srcdir)/vmsconf.sh $(OBJS) ../libiberty/obstack.o ../libiberty/strdup.o > new-make.com
+ sh $(srcdir)/vmsconf.sh $(OBJS) $(VMS_OTHER_OBJS) > new-make.com
$(srcdir)/../move-if-change new-make.com $(srcdir)/make-gas.com
touch stamp-mk.com
@@ -275,6 +283,8 @@ SUBDIR_INCLUDES = -I.. -I$(srcdir) -I$(srcdir)/config
# Files to be copied away after each stage in building.
STAGESTUFF = *.o as.new gasp.new
+$(OBJS): $(ALL_OBJ_DEPS)
+
as.new: $(OBJS) $(LIBS)
$(CC) $(ALL_CFLAGS) $(LDFLAGS) -o as.new $(OBJS) $(LIBS) $(LOADLIBES)