* mn10300_sim.h (FETCH24): Define.
[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=
9659c18b 11LIBS=,GNU_CC_LIBRARY:libgcc/lib,sys$$library:vaxcrtl.olb/lib,GNU_CC_LIBRARY: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=")
10779648 16CFLAGS=/noopt/nodebug/include=([],[-.bfd],[.config],[-.include],[-])$(DEFS)\
9f13ead9 17/warnings=disable=(missingreturn,implicitfunc,ptrmismatch,undefescap,longextern,duptypespec)
f649d525 18LFLAGS=
9659c18b 19LIBS=,sys$$library:vaxcrtl.olb/lib
f649d525
ILT
20endif
21
22OBJS=targ-cpu.obj,obj-format.obj,atof-targ.obj,app.obj,as.obj,atof-generic.obj,\
db5bb86e 23 bignum-copy.obj,cond.obj,depend.obj,expr.obj,flonum-konst.obj,flonum-copy.obj,\
f649d525
ILT
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,\
21e2eeaa 26 write.obj,listing.obj,ecoff.obj,ehopt.obj,stabs.obj,sb.obj,macro.obj
f649d525 27
596c5b74
ILT
28GASPOBJS = gasp.obj,macro.obj,sb.obj,hash.obj
29
f649d525
ILT
30LIBIBERTY = [-.libiberty]libiberty.olb
31LIBBFD = [-.bfd]libbfd.olb
32LIBOPCODES = [-.opcodes]libopcodes.olb
33
396e8d7f 34all: config.status [-.bfd]bfd.h as.exe gasp.exe
f649d525
ILT
35
36as.exe: $(OBJS) $(LIBOPCODES) $(LIBBFD) $(LIBIBERTY)
37 link$(LFLAGS)/exe=$@ $(OBJS),$(LIBOPCODES)/lib,$(LIBBFD)/lib,$(LIBIBERTY)/lib$(LIBS)
38
596c5b74
ILT
39gasp.exe: $(GASPOBJS) $(LIBBFD) $(LIBIBERTY)
40 link$(LFLAGS)/exe=$@ $(GASPOBJS),$(LIBBFD)/lib,$(LIBIBERTY)/lib$(LIBS)
f649d525 41
396e8d7f
ILT
42config.status:
43 $$ @config-gas
44
f649d525
ILT
45targ-cpu.c: [.config]tc-alpha.c
46 copy $< $@
47targ-cpu.h: [.config]tc-alpha.h
48 copy $< $@
49targ-env.h: [.config]te-generic.h
50 copy $< $@
51obj-format.h: [.config]obj-evax.h
52 copy $< $@
53obj-format.c: [.config]obj-evax.c
54 copy $< $@
55atof-targ.c: [.config]atof-ieee.c
56 copy $< $@
57
58targ-cpu.obj: targ-cpu.c targ-cpu.h [.config]atof-vax.c
396e8d7f
ILT
59
60[-.bfd]bfd.h:
61 $(CD) [-.bfd]
10779648 62 gmake -f makefile.vms "CC=$(CC)"
396e8d7f
ILT
63 $(CD) [-.gas]
64
65clean:
66 $$ purge
67 $(RM) *.obj;
68 $(RM) *.exe;
69 $(RM) atof-targ.c;
70 $(RM) obj-format.c;
71 $(RM) obj-format.h;
72 $(RM) targ-env.h;
73 $(RM) targ-cpu.h;
74 $(RM) targ-cpu.c;
75 $(RM) config.status;
This page took 0.086076 seconds and 4 git commands to generate.