Annotation of OpenXM_contrib2/asir2000/asm/Imakefile, Revision 1.5
1.3 noro 1: /*
2: * Copyright (c) 1994-2000 FUJITSU LABORATORIES LIMITED
3: * All rights reserved.
4: *
1.5 ! noro 5: * $OpenXM: OpenXM_contrib2/asir2000/asm/Imakefile,v 1.4 2001/06/04 02:49:45 noro Exp $
1.3 noro 6: */
1.1 noro 7: #include "../include/Risa.tmpl"
8:
1.5 ! noro 9: #if defined(AlphaArchitecture) || (defined(MipsArchitecture) && defined(SGIArchitecture)) || defined(PowerPCArchitecture) || defined(DarwinArchitecture) || defined(AIXArchitecture)
1.1 noro 10: mdepsrc = asmalpha.c
11: mdepobj = asmalpha.o
12: #endif
13:
14: #ifdef LinuxArchitecture
1.2 noro 15: #if !defined(AlphaArchitecture) && !defined(PowerPCArchitecture)
1.1 noro 16: mdepsrc = asmi_l.s
17: mdepobj = asmi_l.o
18: #endif
19: #endif
20:
21: #ifdef i386BsdArchitecture
22: #if defined(FreeBSDArchitecture) && OSMajorVersion >= 3
23: mdepsrc = asmi_l.s
24: mdepobj = asmi_l.o
25: #else
26: mdepsrc = asmi.s
27: mdepobj = asmi.o
28: #endif
29: #endif
30:
31: #ifdef SunArchitecture
32: #if defined(i386Architecture)
33: mdepsrc = asmi_l.s
34: mdepobj = asmi_l.o
35: #else
36: mdepsrc = asm3.s
37: mdepobj = asm3.o
38: #endif
39: #endif
40:
41: #ifdef SparcArchitecture
42: #if SystemV4
43: #if SUN4M
44: mdepsrc = sparc-2.s-cc asm5-2.s edr-2.s
45: mdepobj = sparc-2.o asm5-2.o edr-2.o
46: #else
47: mdepsrc = sparc-2.s-cc asm4-2.s edr-2.s
48: mdepobj = sparc-2.o asm4-2.o edr-2.o
49: #endif
50: #else
51: #if SUN4M
52: mdepsrc = sparc.c asm45.s edr.s
53: mdepobj = sparc.o asm45.o edr.o
54: #else
55: mdepsrc = sparc.c asm4.s edr.s
56: mdepobj = sparc.o asm4.o edr.o
57: #endif
58: #endif
59: #endif
60:
61: #ifdef UltrixArchitecture
62: #ifdef VaxArchitecture
63: mdepsrc = asmv.s
64: mdepobj = asmv.o
65: #endif
66: #ifdef MipsArchitecture
67: mdepsrc = asmm.s
68: mdepobj = asmm.o
69: #endif
70: #endif
71:
72: #ifdef HPArchitecture
73: /*
74: mdepsrc = asmh.s
75: mdepobj = asmh.o
76: */
77: mdepsrc = asmalpha.c
78: mdepobj = asmalpha.o
79: #endif
80:
81: #ifdef NeXTArchitecture
82: mdepsrc = asm3.s
83: mdepobj = asm3.o
84: #endif
85:
86: #ifdef ApolloArchitecture
87: mdepsrc = asma.s
88: mdepobj = asma.o
89: #endif
90:
91: #ifdef Mc88000Architecture
92: mdepsrc = asml.s
93: mdepobj = asml.o
94: #endif
95:
96: #ifdef SonyArchitecture
97: #ifdef Mc68020Architecture
98: mdepsrc = asmn.s
99: mdepobj = asmn.o
100: #endif
101: #ifdef MipsArchitecture
102: mdepsrc = asmm.s
103: mdepobj = asmm.o
104: #endif
105: #endif
106:
107: CSRC = ddM.c ddN.c
108: SRCS = $(CSRC) $(mdepsrc)
109:
110: COBJ = ddM.o ddN.o
111: OBJS = $(COBJ) $(mdepobj)
112:
113: NormalLibraryTarget(asm,$(OBJS))
114: DependTarget()
115:
116: asmm.o asma.o:
117: $(RM) $@
118: $(AS) -o $@ $(INCLUDES) $*.s
119:
120: asmh.o:
121: $(RM) $@
122: $(CC) -c -o $@ $(INCLUDES) $*.s
123:
124: asm4.o asm4-2.o asm45.o asm45-2.o asm5.o asm5-2.o edr.o edr-2.o:
125: $(RM) $@
126: $(AS) -o $@ -P $(INCLUDES) $*.s
127:
128: sparc.o: sparc.s-cc
129: as -o sparc.o sparc.s-cc
130:
131: sparc-2.o: sparc-2.s-cc
132: as -o sparc-2.o sparc-2.s-cc
FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>