|
|
1.1 root 1: # 1.1.1.2 ! root 2: # Makefile.dos for DosUAE 1.1 root 3: # 4: 5: CC = gcc 6: CPP = gcc -E 1.1.1.2 ! root 7: CFLAGS = -O3 -fomit-frame-pointer -Wall -Wno-unused -Wno-format -W -Wmissing-prototypes -Wstrict-prototypes -fno-strength-reduce -D__DOS__ -DX86_ASSEMBLY -DUSE_UNDERSCORE -DINTEL_FLAG_OPT=1 '-DREGPARAM=__attribute__((regparm(3)))' -D__inline__=inline -DSTATFS_NO_ARGS=2 -DSTATBUF_BAVAIL=f_bfree -DUSE_ZFILE ! 8: GFXOBJS = tui.o machdep/video/conio-ui.o machdep/video/vbe.o 1.1 root 9: ASMOBJS = X86.o 10: CPUOBJS = cpufast0.o cpufast1.o cpufast2.o cpufast3.o cpufast4.o cpufast5.o cpufast6.o cpufast7.o cpufast8.o cpufast9.o cpufastA.o cpufastB.o cpufastC.o cpufastD.o cpufastE.o cpufastF.o 11: 1.1.1.2 ! root 12: .SUFFIXES: .o .c .h .m .i 1.1 root 13: 1.1.1.2 ! root 14: INCLUDES=-I. -Iinclude -Imachdep 1.1 root 15: 1.1.1.2 ! root 16: OBJS = main.o newcpu.o memory.o debug.o custom.o cia.o disk.o blitter.o os.o \ ! 17: autoconf.o ersatz.o filesys.o hardfile.o keybuf.o expansion.o zfile.o \ ! 18: fpp.o readcpu.o cpudefs.o gfxutil.o gfxlib.o blitfunc.o blittable.o \ ! 19: compiler.o serial.o uaelib.o execlib.o timerdev.o machdep/support.o \ ! 20: $(ASMOBJS) $(CPUOBJS) $(GFXOBJS) cpustbl.o \ ! 21: machdep/sound/sb.o machdep/sound/dma.o machdep/sound/gus.o 1.1 root 22: 23: all: uae.exe readdisk.exe 24: 25: readdisk.exe: readdisk.o 26: $(CC) readdisk.o -o readdisk 27: strip readdisk 28: coff2exe readdisk 29: 30: uae.exe: $(OBJS) 31: $(CC) $(OBJS) -o uae -lm 32: strip uae 33: coff2exe uae 34: 35: clean: 1.1.1.2 ! root 36: del *.o ! 37: del machdep\*.o ! 38: del machdep\video\*.o ! 39: del machdep\sound\*.o ! 40: del uae ! 41: del uae.exe ! 42: del readdisk ! 43: del readdisk.exe ! 44: del gencpu.exe ! 45: del genblitter.exe ! 46: del build68k.exe ! 47: del cpudefs.c ! 48: del cpuopti.exe ! 49: del cpu?.c ! 50: del blit.h ! 51: del cputbl.h ! 52: del cpustbl.c ! 53: del cpufast?.s ! 54: del blitfunc.c ! 55: del blitfunc.h ! 56: del blittable.c ! 57: del config.h 1.1 root 58: 59: halfclean: 1.1.1.2 ! root 60: del *.o ! 61: del machdep\*.o ! 62: del machdep\video\*.o ! 63: del machdep\sound\*.o 1.1 root 64: 65: blit.h: genblitter.exe 66: genblitter i >blit.h 67: blitfunc.c: genblitter.exe blitfunc.h 68: genblitter f >blitfunc.c 69: blitfunc.h: genblitter.exe 70: genblitter h >blitfunc.h 71: blittable.c: genblitter.exe blitfunc.h 72: genblitter t >blittable.c 73: 1.1.1.2 ! root 74: genblitter.exe: genblitter.o blitops.o ! 75: $(CC) -o genblitter.exe genblitter.o blitops.o 1.1 root 76: build68k.exe: build68k.o 1.1.1.2 ! root 77: $(CC) -o build68k.exe build68k.o 1.1 root 78: cpuopti.exe: cpuopti.o 1.1.1.2 ! root 79: $(CC) -o cpuopti.exe cpuopti.o 1.1 root 80: gencpu.exe: gencpu.o readcpu.o cpudefs.o 1.1.1.2 ! root 81: $(CC) -o gencpu.exe gencpu.o readcpu.o cpudefs.o 1.1 root 82: 83: custom.o: blit.h 84: 85: cpudefs.c: build68k.exe table68k 86: build68k >cpudefs.c 87: cpustbl.c: gencpu.exe 88: gencpu s >cpustbl.c 89: cputbl.c: gencpu.exe 90: gencpu t >cputbl.c 91: cputbl.h: gencpu.exe 92: gencpu h >cputbl.h 93: 94: cpu0.c: gencpu.exe 95: gencpu f 0 >cpu0.c 96: cpu1.c: gencpu.exe 97: gencpu f 1 >cpu1.c 98: cpu2.c: gencpu.exe 99: gencpu f 2 >cpu2.c 100: cpu3.c: gencpu.exe 101: gencpu f 3 >cpu3.c 102: cpu4.c: gencpu.exe 103: gencpu f 4 >cpu4.c 104: cpu5.c: gencpu.exe 105: gencpu f 5 >cpu5.c 106: cpu6.c: gencpu.exe 107: gencpu f 6 >cpu6.c 108: cpu7.c: gencpu.exe 109: gencpu f 7 >cpu7.c 110: cpu8.c: gencpu.exe 111: gencpu f 8 >cpu8.c 112: cpu9.c: gencpu.exe 113: gencpu f 9 >cpu9.c 114: cpuA.c: gencpu.exe 115: gencpu f 10 >cpuA.c 116: cpuB.c: gencpu.exe 117: gencpu f 11 >cpuB.c 118: cpuC.c: gencpu.exe 119: gencpu f 12 >cpuC.c 120: cpuD.c: gencpu.exe 121: gencpu f 13 >cpuD.c 122: cpuE.c: gencpu.exe 123: gencpu f 14 >cpuE.c 124: cpuF.c: gencpu.exe 125: gencpu f 15 >cpuF.c 126: 127: cpu0.o: cpu0.c cputbl.h 128: $(CC) $(INCLUDES) -c $(CFLAGS) $*.c 129: cpu1.o: cpu1.c cputbl.h 130: $(CC) $(INCLUDES) -c $(CFLAGS) $*.c 131: cpu2.o: cpu2.c cputbl.h 132: $(CC) $(INCLUDES) -c $(CFLAGS) $*.c 133: cpu3.o: cpu3.c cputbl.h 134: $(CC) $(INCLUDES) -c $(CFLAGS) $*.c 135: cpu4.o: cpu4.c cputbl.h 136: $(CC) $(INCLUDES) -c $(CFLAGS) $*.c 137: cpu5.o: cpu5.c cputbl.h 138: $(CC) $(INCLUDES) -c $(CFLAGS) $*.c 139: cpu6.o: cpu6.c cputbl.h 140: $(CC) $(INCLUDES) -c $(CFLAGS) $*.c 141: cpu7.o: cpu7.c cputbl.h 142: $(CC) $(INCLUDES) -c $(CFLAGS) $*.c 143: cpu8.o: cpu8.c cputbl.h 144: $(CC) $(INCLUDES) -c $(CFLAGS) $*.c 145: cpu9.o: cpu9.c cputbl.h 146: $(CC) $(INCLUDES) -c $(CFLAGS) $*.c 147: cpuA.o: cpuA.c cputbl.h 148: $(CC) $(INCLUDES) -c $(CFLAGS) $*.c 149: cpuB.o: cpuB.c cputbl.h 150: $(CC) $(INCLUDES) -c $(CFLAGS) $*.c 151: cpuC.o: cpuC.c cputbl.h 152: $(CC) $(INCLUDES) -c $(CFLAGS) $*.c 153: cpuD.o: cpuD.c cputbl.h 154: $(CC) $(INCLUDES) -c $(CFLAGS) $*.c 155: cpuE.o: cpuE.c cputbl.h 156: $(CC) $(INCLUDES) -c $(CFLAGS) $*.c 157: cpuF.o: cpuF.c cputbl.h 158: $(CC) $(INCLUDES) -c $(CFLAGS) $*.c 159: 160: cpufast0.o: cpufast0.s cputbl.h 161: $(CC) $(INCLUDES) -c $(CFLAGS) $*.s 162: cpufast1.o: cpufast1.s cputbl.h 163: $(CC) $(INCLUDES) -c $(CFLAGS) $*.s 164: cpufast2.o: cpufast2.s cputbl.h 165: $(CC) $(INCLUDES) -c $(CFLAGS) $*.s 166: cpufast3.o: cpufast3.s cputbl.h 167: $(CC) $(INCLUDES) -c $(CFLAGS) $*.s 168: cpufast4.o: cpufast4.s cputbl.h 169: $(CC) $(INCLUDES) -c $(CFLAGS) $*.s 170: cpufast5.o: cpufast5.s cputbl.h 171: $(CC) $(INCLUDES) -c $(CFLAGS) $*.s 172: cpufast6.o: cpufast6.s cputbl.h 173: $(CC) $(INCLUDES) -c $(CFLAGS) $*.s 174: cpufast7.o: cpufast7.s cputbl.h 175: $(CC) $(INCLUDES) -c $(CFLAGS) $*.s 176: cpufast8.o: cpufast8.s cputbl.h 177: $(CC) $(INCLUDES) -c $(CFLAGS) $*.s 178: cpufast9.o: cpufast9.s cputbl.h 179: $(CC) $(INCLUDES) -c $(CFLAGS) $*.s 180: cpufastA.o: cpufastA.s cputbl.h 181: $(CC) $(INCLUDES) -c $(CFLAGS) $*.s 182: cpufastB.o: cpufastB.s cputbl.h 183: $(CC) $(INCLUDES) -c $(CFLAGS) $*.s 184: cpufastC.o: cpufastC.s cputbl.h 185: $(CC) $(INCLUDES) -c $(CFLAGS) $*.s 186: cpufastD.o: cpufastD.s cputbl.h 187: $(CC) $(INCLUDES) -c $(CFLAGS) $*.s 188: cpufastE.o: cpufastE.s cputbl.h 189: $(CC) $(INCLUDES) -c $(CFLAGS) $*.s 190: cpufastF.o: cpufastF.s cputbl.h 191: $(CC) $(INCLUDES) -c $(CFLAGS) $*.s 192: 193: cpufast0.s: cpu0.c cputbl.h cpuopti.exe 194: $(CC) $(INCLUDES) -S $(CFLAGS) $< -o cpu-tmp.s 195: cpuopti <cpu-tmp.s >$@ 196: del cpu-tmp.s 197: cpufast1.s: cpu1.c cputbl.h cpuopti.exe 198: $(CC) $(INCLUDES) -S $(CFLAGS) $< -o cpu-tmp.s 199: cpuopti <cpu-tmp.s >$@ 200: del cpu-tmp.s 201: cpufast2.s: cpu2.c cputbl.h cpuopti.exe 202: $(CC) $(INCLUDES) -S $(CFLAGS) $< -o cpu-tmp.s 203: cpuopti <cpu-tmp.s >$@ 204: del cpu-tmp.s 205: cpufast3.s: cpu3.c cputbl.h cpuopti.exe 206: $(CC) $(INCLUDES) -S $(CFLAGS) $< -o cpu-tmp.s 207: cpuopti <cpu-tmp.s >$@ 208: del cpu-tmp.s 209: cpufast4.s: cpu4.c cputbl.h cpuopti.exe 210: $(CC) $(INCLUDES) -S $(CFLAGS) $< -o cpu-tmp.s 211: cpuopti <cpu-tmp.s >$@ 212: del cpu-tmp.s 213: cpufast5.s: cpu5.c cputbl.h cpuopti.exe 214: $(CC) $(INCLUDES) -S $(CFLAGS) $< -o cpu-tmp.s 215: cpuopti <cpu-tmp.s >$@ 216: del cpu-tmp.s 217: cpufast6.s: cpu6.c cputbl.h cpuopti.exe 218: $(CC) $(INCLUDES) -S $(CFLAGS) $< -o cpu-tmp.s 219: cpuopti <cpu-tmp.s >$@ 220: del cpu-tmp.s 221: cpufast7.s: cpu7.c cputbl.h cpuopti.exe 222: $(CC) $(INCLUDES) -S $(CFLAGS) $< -o cpu-tmp.s 223: cpuopti <cpu-tmp.s >$@ 224: del cpu-tmp.s 225: cpufast8.s: cpu8.c cputbl.h cpuopti.exe 226: $(CC) $(INCLUDES) -S $(CFLAGS) $< -o cpu-tmp.s 227: cpuopti <cpu-tmp.s >$@ 228: del cpu-tmp.s 229: cpufast9.s: cpu9.c cputbl.h cpuopti.exe 230: $(CC) $(INCLUDES) -S $(CFLAGS) $< -o cpu-tmp.s 231: cpuopti <cpu-tmp.s >$@ 232: del cpu-tmp.s 233: cpufastA.s: cpuA.c cputbl.h cpuopti.exe 234: $(CC) $(INCLUDES) -S $(CFLAGS) $< -o cpu-tmp.s 235: cpuopti <cpu-tmp.s >$@ 236: del cpu-tmp.s 237: cpufastB.s: cpuB.c cputbl.h cpuopti.exe 238: $(CC) $(INCLUDES) -S $(CFLAGS) $< -o cpu-tmp.s 239: cpuopti <cpu-tmp.s >$@ 240: del cpu-tmp.s 241: cpufastC.s: cpuC.c cputbl.h cpuopti.exe 242: $(CC) $(INCLUDES) -S $(CFLAGS) $< -o cpu-tmp.s 243: cpuopti <cpu-tmp.s >$@ 244: del cpu-tmp.s 245: cpufastD.s: cpuD.c cputbl.h cpuopti.exe 246: $(CC) $(INCLUDES) -S $(CFLAGS) $< -o cpu-tmp.s 247: cpuopti <cpu-tmp.s >$@ 248: del cpu-tmp.s 249: cpufastE.s: cpuE.c cputbl.h cpuopti.exe 250: $(CC) $(INCLUDES) -S $(CFLAGS) $< -o cpu-tmp.s 251: cpuopti <cpu-tmp.s >$@ 252: del cpu-tmp.s 253: cpufastF.s: cpuF.c cputbl.h cpuopti.exe 254: $(CC) $(INCLUDES) -S $(CFLAGS) $< -o cpu-tmp.s 255: cpuopti <cpu-tmp.s >$@ 256: del cpu-tmp.s 257: 258: X86.o: X86.S 259: $(CC) $(INCLUDES) -c $(CFLAGS) X86.S 260: 261: .m.o: 1.1.1.2 ! root 262: $(CC) $(INCLUDES) -c $(CFLAGS) $*.m 1.1 root 263: .c.o: 1.1.1.2 ! root 264: $(CC) $(INCLUDES) -c $(CFLAGS) $*.c -o $@ 1.1 root 265: .c.s: 266: $(CC) $(INCLUDES) -S $(CFLAGS) $*.c 1.1.1.2 ! root 267: .c.i: ! 268: $(CC) $(INCLUDES) -E $(CFLAGS) $*.c > $@ 1.1 root 269: .S.o: 1.1.1.2 ! root 270: $(CC) $(INCLUDES) -c $(CFLAGS) $*.S 1.1 root 271: 272: # Saves recompiling... 273: touch: 274: touch *.o 1.1.1.2 ! root 275: touch machdep\*.o ! 276: touch machdep\video\*.o ! 277: touch machdep\sound\*.o ! 278: touch build68k.exe ! 279: touch cpudefs.c ! 280: touch cpudefs.o 1.1 root 281: touch gencpu.exe 282: touch genblitter.exe 283: touch cpu*.* 284: 285: # Some more dependencies... 286: cpustbl.o: cputbl.h 287: cputbl.o: cputbl.h 288: 289: build68k.o: include/readcpu.h 290: readcpu.o: include/readcpu.h 291: 292: main.o: config.h 293: cia.o: config.h include/events.h 294: custom.o: config.h include/events.h 295: newcpu.o: config.h include/events.h 296: autoconf.o: config.h 297: expansion.o: config.h 298: xwin.o: config.h 299: svga.o: config.h 300: bebox.o: config.h 301: os.o: config.h 302: memory.o: config.h 303: debug.o: config.h 304: fpp.o: config.h 305: ersatz.o: config.h 1.1.1.2 ! root 306: filesys.o: config.h ! 307: execlib.o: config.h 1.1 root 308: disk.o: config.h include/events.h 309: blitter.o: config.h include/events.h 310: 311: config.h: ../config.h 1.1.1.2 ! root 312: copy ..\config.h
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.