4 # Created by Klaus Kaempf, kkaempf@progis.de
12 CFLAGS=/include=([],[-.bfd],[.config],[-.include],[-])$(DEFS)
14 LIBS=,GNU_CC_LIBRARY:libgcc/lib,sys$$library:vaxcrtl.olb/lib,GNU_CC_LIBRARY:crt0.obj
16 #DEFS=/define=("VMS_DEBUG","DEBUG2","DEBUG3","DEBUG5","DEBUG_SYMS","DEBUG_ALPHA")
18 CFLAGS=/names=(as_is,shortened)\
19 /include=([],[-.bfd],[.config],[-.include],[-])$(DEFS)$(OPT)\
20 /prefix=(all,except=("getopt","optarg","optopt","optind","opterr"))
21 #LFLAGS=/debug/map=as.map
22 LIBS=,sys$$library:vaxcrtl.olb/lib
25 OBJS=targ-cpu.obj,obj-format.obj,atof-targ.obj,app.obj,as.obj,atof-generic.obj,\
26 cond.obj,depend.obj,expr.obj,flonum-konst.obj,\
27 flonum-copy.obj,flonum-mult.obj,frags.obj,hash.obj,input-file.obj,\
28 input-scrub.obj,literal.obj,messages.obj,output-file.obj,read.obj,\
29 subsegs.obj,symbols.obj,write.obj,listing.obj,ecoff.obj,stabs.obj,sb.obj,\
30 macro.obj,ehopt.obj,dw2gencfi.obj,dwarf2dbg.obj,remap.obj
32 LIBIBERTY = [-.libiberty]libiberty.olb
34 LIBBFD = [-.bfd]libbfd.olb
35 LIBOPCODES = [-.opcodes]libopcodes.olb
40 as.exe: $(OBJS) $(LIBOPCODES) $(LIBBFD) $(LIBIBERTY)
41 link$(LFLAGS)/exe=$@ $(OBJS),$(LIBOPCODES)/lib,$(LIBBFD)/lib,$(LIBIBERTY)/lib$(LIBS)
44 # Work-around a DEC-C bug.
45 targ-cpu.obj: targ-cpu.c targ-cpu.h
46 $(COMPILE.c) /noopt/obj=$@ $<