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