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