OpenCores
URL https://opencores.org/ocsvn/openrisc/openrisc/trunk

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-stable/] [binutils-2.20.1/] [gas/] [makefile.vms] - Blame information for rev 840

Go to most recent revision | Details | Compare with Previous | View Log

Line No. Rev Author Line
1 205 julius
#
2
# makefile for gas
3
#
4
# Created by Klaus Kaempf, kkaempf@progis.de
5
#
6
#CC=gcc
7
CC=cc
8
 
9
ifeq ($(CC),gcc)
10
DEFS=
11
CFLAGS=/include=([],[-.bfd],[.config],[-.include],[-])$(DEFS)
12
LFLAGS=
13
LIBS=,GNU_CC_LIBRARY:libgcc/lib,sys$$library:vaxcrtl.olb/lib,GNU_CC_LIBRARY:crt0.obj
14
else
15
#DEFS=/define=("VMS_DEBUG","DEBUG2","DEBUG3","DEBUG5","DEBUG_SYMS","DEBUG_ALPHA")
16
OPT=/noopt/debug
17
CFLAGS=/names=(as_is,shortened)\
18
 /include=([],[-.bfd],[.config],"../include","../")$(DEFS)$(OPT)\
19
 /prefix=(all,except=("getopt","optarg","optopt","optind","opterr"))
20
#LFLAGS=/debug/map=as.map
21
endif
22
 
23
OBJS:=targ-cpu.obj,obj-format.obj,atof-targ.obj,app.obj,as.obj,\
24
  atof-generic.obj,cond.obj,depend.obj,expr.obj,flonum-konst.obj,\
25
  flonum-copy.obj,flonum-mult.obj,frags.obj,hash.obj,input-file.obj,\
26
  input-scrub.obj,literal.obj,messages.obj,output-file.obj,read.obj,\
27
  subsegs.obj,symbols.obj,write.obj,listing.obj,ecoff.obj,stabs.obj,sb.obj,\
28
  macro.obj,ehopt.obj,dw2gencfi.obj,dwarf2dbg.obj,remap.obj
29
 
30
ifeq ($(ARCH),IA64)
31
OBJS:=$(OBJS),te-vms.obj
32
endif
33
 
34
LIBIBERTY = [-.libiberty]libiberty.olb
35
LIBBFD = [-.bfd]libbfd.olb
36
LIBOPCODES = [-.opcodes]libopcodes.olb
37
 
38
all: as.exe
39
 
40
as.exe: $(OBJS) $(LIBOPCODES) $(LIBBFD) $(LIBIBERTY)
41
        link$(LFLAGS)/exe=$@ $(OBJS),$(LIBOPCODES)/lib,$(LIBBFD)/lib,$(LIBIBERTY)/lib$(LIBS)
42
 
43
ifneq ($(CC),gcc)
44
# Work-around a DEC-C bug.
45
targ-cpu.obj: targ-cpu.c targ-cpu.h
46
              $(COMPILE.c) /noopt/obj=$@ $<
47
endif
48
 
49
te-vms.obj: [.config]te-vms.c
50
              $(COMPILE.c) /obj=$@ $< + sys$$library:sys$$lib_c.tlb/lib
51
 
52
clean:
53
        $$ purge
54
        $(RM) *.obj;
55
        $(RM) *.exe;
56
        $(RM) atof-targ.c;
57
        $(RM) obj-format.c;
58
        $(RM) obj-format.h;
59
        $(RM) targ-env.h;
60
        $(RM) targ-cpu.h;
61
        $(RM) targ-cpu.c;

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.