aboutsummaryrefslogtreecommitdiff
path: root/gas/makefile.vms
diff options
context:
space:
mode:
authorIan Lance Taylor <ian@airs.com>1996-08-08 16:42:41 +0000
committerIan Lance Taylor <ian@airs.com>1996-08-08 16:42:41 +0000
commitf649d525edb1287a73cb771045381e3de7f4a455 (patch)
tree355f649a49f5ead0cfe7a4e9fcb46c94cd82aff7 /gas/makefile.vms
parent2a774ae9a68bc2892061edad6e444f86eef2a8dc (diff)
downloadgdb-f649d525edb1287a73cb771045381e3de7f4a455.zip
gdb-f649d525edb1287a73cb771045381e3de7f4a455.tar.gz
gdb-f649d525edb1287a73cb771045381e3de7f4a455.tar.bz2
Thu Aug 8 12:32:56 1996 Klaus Kaempf <kkaempf@progis.de>
Add support for openVMS/Alpha. * as.h (PRINTF_LIKE): Don't define if VMS, for now. * config/obj-evax.c: New file. * config/obj-evax.h: New file. * config/tc-alpha.c: Add support for EVAX format if OBJ_EVAX is defined. * config/tc-alpha.h: Add support for EVAX format if OBJ_EVAX is defined. Add case for bfd_target_evax_flavour. * config/vms-a-conf.h: New file. * conf-a-gas.com: New file. * configure.in: Add target alpha-*-*vms*. * configure: Rebuild. * makefile.vms: New file. * read.c (s_lcomm): Align bss_seg on 8 byte boundary if OBJ_EVAX. Don't call ffs on openVMS/Alpha.
Diffstat (limited to 'gas/makefile.vms')
-rw-r--r--gas/makefile.vms54
1 files changed, 54 insertions, 0 deletions
diff --git a/gas/makefile.vms b/gas/makefile.vms
new file mode 100644
index 0000000..c9d4d7e
--- /dev/null
+++ b/gas/makefile.vms
@@ -0,0 +1,54 @@
+#
+# makefile for gas
+#
+# Created by Klaus Kämpf, kkaempf@progis.de
+#
+
+CC=gcc
+
+ifeq ($(CC),gcc)
+DEFS=
+CFLAGS=/include=([],[-.bfd],[.config],[-.include],[-])$(DEFS)
+LFLAGS=
+LIBS=,GNU_CC:[000000]LIBGCC2/lib,GNU_CC:[000000]LIBGCCLIB/lib,\
+ sys$$library:vaxcrtl.olb/lib,GNU_CC:[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",\
+"_elf_section_from_bfd_section"="_bfd_elf_sec_from_bfd_sec","const=")
+CFLAGS=/noopt/debug/include=([],[-.bfd],[.config],[-.include],[-])$(DEFS)
+LFLAGS=
+LIBS=
+endif
+
+OBJS=targ-cpu.obj,obj-format.obj,atof-targ.obj,app.obj,as.obj,atof-generic.obj,\
+ bignum-copy.obj,cond.obj,expr.obj,flonum-konst.obj,flonum-copy.obj,\
+ flonum-mult.obj,frags.obj,hash.obj,input-file.obj,input-scrub.obj,\
+ literal.obj,messages.obj,output-file.obj,read.obj,subsegs.obj,symbols.obj,\
+ write.obj,listing.obj,ecoff.obj,stabs.obj,sb.obj,macro.obj
+
+LIBIBERTY = [-.libiberty]libiberty.olb
+LIBBFD = [-.bfd]libbfd.olb
+LIBOPCODES = [-.opcodes]libopcodes.olb
+
+
+as.exe: $(OBJS) $(LIBOPCODES) $(LIBBFD) $(LIBIBERTY)
+ link$(LFLAGS)/exe=$@ $(OBJS),$(LIBOPCODES)/lib,$(LIBBFD)/lib,$(LIBIBERTY)/lib$(LIBS)
+
+gasp.exe: gasp.obj $(LIBBFD) $(LIBIBERTY)
+ link$(LFLAGS)/exe=$@ gasp.obj,$(LIBBFD)/lib,$(LIBIBERTY)/lib$(LIBS)
+
+targ-cpu.c: [.config]tc-alpha.c
+ copy $< $@
+targ-cpu.h: [.config]tc-alpha.h
+ copy $< $@
+targ-env.h: [.config]te-generic.h
+ copy $< $@
+obj-format.h: [.config]obj-evax.h
+ copy $< $@
+obj-format.c: [.config]obj-evax.c
+ copy $< $@
+atof-targ.c: [.config]atof-ieee.c
+ copy $< $@
+
+targ-cpu.obj: targ-cpu.c targ-cpu.h [.config]atof-vax.c