* gas/m32r/allinsn.{exp,s.d}: New testcases.
[deliverable/binutils-gdb.git] / gas / makefile.vms
CommitLineData
f649d525
ILT
1#
2# makefile for gas
3#
9f13ead9 4# Created by Klaus K"ampf, kkaempf@progis.de
f649d525
ILT
5#
6
f649d525
ILT
7ifeq ($(CC),gcc)
8DEFS=
396e8d7f 9CFLAGS=/include=([],[-.bfd],[.config],[-.include],[-])$(DEFS)
f649d525 10LFLAGS=
396e8d7f 11LIBS=,GNU:[000000]libgcc/lib,sys$$library:vaxcrtl.olb/lib,GNU:[000000]crt0.obj
f649d525
ILT
12else
13DEFS=/define=("table_size_of_flonum_powers_of_ten"="tabsiz_flonum_powers_of_ten",\
14"_bfd_generic_get_section_contents_in_window"="_bfd_generic_get_win_section_cont",\
15"_elf_section_from_bfd_section"="_bfd_elf_sec_from_bfd_sec","const=")
9f13ead9
ILT
16CFLAGS=/noopt/debug/include=([],[-.bfd],[.config],[-.include],[-])$(DEFS)\
17/warnings=disable=(missingreturn,implicitfunc,ptrmismatch,undefescap,longextern,duptypespec)
f649d525
ILT
18LFLAGS=
19LIBS=
20endif
21
22OBJS=targ-cpu.obj,obj-format.obj,atof-targ.obj,app.obj,as.obj,atof-generic.obj,\
23 bignum-copy.obj,cond.obj,expr.obj,flonum-konst.obj,flonum-copy.obj,\
24 flonum-mult.obj,frags.obj,hash.obj,input-file.obj,input-scrub.obj,\
25 literal.obj,messages.obj,output-file.obj,read.obj,subsegs.obj,symbols.obj,\
26 write.obj,listing.obj,ecoff.obj,stabs.obj,sb.obj,macro.obj
27
28LIBIBERTY = [-.libiberty]libiberty.olb
29LIBBFD = [-.bfd]libbfd.olb
30LIBOPCODES = [-.opcodes]libopcodes.olb
31
396e8d7f 32all: config.status [-.bfd]bfd.h as.exe gasp.exe
f649d525
ILT
33
34as.exe: $(OBJS) $(LIBOPCODES) $(LIBBFD) $(LIBIBERTY)
35 link$(LFLAGS)/exe=$@ $(OBJS),$(LIBOPCODES)/lib,$(LIBBFD)/lib,$(LIBIBERTY)/lib$(LIBS)
36
37gasp.exe: gasp.obj $(LIBBFD) $(LIBIBERTY)
38 link$(LFLAGS)/exe=$@ gasp.obj,$(LIBBFD)/lib,$(LIBIBERTY)/lib$(LIBS)
39
396e8d7f
ILT
40config.status:
41 $$ @config-gas
42
f649d525
ILT
43targ-cpu.c: [.config]tc-alpha.c
44 copy $< $@
45targ-cpu.h: [.config]tc-alpha.h
46 copy $< $@
47targ-env.h: [.config]te-generic.h
48 copy $< $@
49obj-format.h: [.config]obj-evax.h
50 copy $< $@
51obj-format.c: [.config]obj-evax.c
52 copy $< $@
53atof-targ.c: [.config]atof-ieee.c
54 copy $< $@
55
56targ-cpu.obj: targ-cpu.c targ-cpu.h [.config]atof-vax.c
396e8d7f
ILT
57
58[-.bfd]bfd.h:
59 $(CD) [-.bfd]
60 gmake -f makefile.vms
61 $(CD) [-.gas]
62
63clean:
64 $$ purge
65 $(RM) *.obj;
66 $(RM) *.exe;
67 $(RM) atof-targ.c;
68 $(RM) obj-format.c;
69 $(RM) obj-format.h;
70 $(RM) targ-env.h;
71 $(RM) targ-cpu.h;
72 $(RM) targ-cpu.c;
73 $(RM) config.status;
This page took 0.044458 seconds and 4 git commands to generate.