Annotation of uae/src/Makefile.dos, revision 1.1.1.3

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

unix.superglobalmegacorp.com

This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.