aboutsummaryrefslogtreecommitdiff
path: root/gas/makefile.vms
diff options
context:
space:
mode:
authorIan Lance Taylor <ian@airs.com>1997-04-01 21:26:16 +0000
committerIan Lance Taylor <ian@airs.com>1997-04-01 21:26:16 +0000
commit396e8d7ff0e38e563376a2a6de347e4cf339998e (patch)
tree117a3dac98be7eca518fb5f536aa9a1e6be8a732 /gas/makefile.vms
parente72afe26be436ed8c2d4b794fb77430eec502d87 (diff)
downloadgdb-396e8d7ff0e38e563376a2a6de347e4cf339998e.zip
gdb-396e8d7ff0e38e563376a2a6de347e4cf339998e.tar.gz
gdb-396e8d7ff0e38e563376a2a6de347e4cf339998e.tar.bz2
Tue Apr 1 16:24:28 1997 Klaus Kaempf <kkaempf@progis.de>
* config-gas.com: Update to handle both vax and alpha. * makefile.vms: Update to use config-gas. * conf-a-gas.com: Remove file.
Diffstat (limited to 'gas/makefile.vms')
-rw-r--r--gas/makefile.vms26
1 files changed, 23 insertions, 3 deletions
diff --git a/gas/makefile.vms b/gas/makefile.vms
index bc7c028..1c46a0d 100644
--- a/gas/makefile.vms
+++ b/gas/makefile.vms
@@ -6,10 +6,9 @@
ifeq ($(CC),gcc)
DEFS=
-CFLAGS=/cc1="-fno-exceptions -g0"/include=([],[-.bfd],[.config],[-.include],[-])$(DEFS)
+CFLAGS=/include=([],[-.bfd],[.config],[-.include],[-])$(DEFS)
LFLAGS=
-LIBS=,GNU:[000000]LIBGCC2/lib,GNU:[000000]LIBGCCLIB/lib,\
- sys$$library:vaxcrtl.olb/lib,GNU:[000000]crt0.obj
+LIBS=,GNU:[000000]libgcc/lib,sys$$library:vaxcrtl.olb/lib,GNU:[000000]crt0.obj
else
DEFS=/define=("table_size_of_flonum_powers_of_ten"="tabsiz_flonum_powers_of_ten",\
"_bfd_generic_get_section_contents_in_window"="_bfd_generic_get_win_section_cont",\
@@ -30,6 +29,7 @@ LIBIBERTY = [-.libiberty]libiberty.olb
LIBBFD = [-.bfd]libbfd.olb
LIBOPCODES = [-.opcodes]libopcodes.olb
+all: config.status [-.bfd]bfd.h as.exe gasp.exe
as.exe: $(OBJS) $(LIBOPCODES) $(LIBBFD) $(LIBIBERTY)
link$(LFLAGS)/exe=$@ $(OBJS),$(LIBOPCODES)/lib,$(LIBBFD)/lib,$(LIBIBERTY)/lib$(LIBS)
@@ -37,6 +37,9 @@ as.exe: $(OBJS) $(LIBOPCODES) $(LIBBFD) $(LIBIBERTY)
gasp.exe: gasp.obj $(LIBBFD) $(LIBIBERTY)
link$(LFLAGS)/exe=$@ gasp.obj,$(LIBBFD)/lib,$(LIBIBERTY)/lib$(LIBS)
+config.status:
+ $$ @config-gas
+
targ-cpu.c: [.config]tc-alpha.c
copy $< $@
targ-cpu.h: [.config]tc-alpha.h
@@ -51,3 +54,20 @@ atof-targ.c: [.config]atof-ieee.c
copy $< $@
targ-cpu.obj: targ-cpu.c targ-cpu.h [.config]atof-vax.c
+
+[-.bfd]bfd.h:
+ $(CD) [-.bfd]
+ gmake -f makefile.vms
+ $(CD) [-.gas]
+
+clean:
+ $$ purge
+ $(RM) *.obj;
+ $(RM) *.exe;
+ $(RM) atof-targ.c;
+ $(RM) obj-format.c;
+ $(RM) obj-format.h;
+ $(RM) targ-env.h;
+ $(RM) targ-cpu.h;
+ $(RM) targ-cpu.c;
+ $(RM) config.status;