Annotation of uae/src/SMakefile, revision 1.1.1.1

1.1       root        1: # Makefile for UAE (Un*x Amiga Emulator)
                      2: #
                      3: # Copyright 1995,1996 Bernd Schmidt
                      4: # Copyright 1996 Ed Hanway
                      5: 
                      6: #.SUFFIXES: .o .c .h .m
                      7: 
                      8: # If you have a Pentium, you can get (marginally) better code if you use the
                      9: # commented line.
                     10: # Only gcc 2.7.x understands this. Leave it commented out if you use
                     11: # gcc <= 2.6.x, or a non-x86 architecture.
                     12: #PENTIUMOPT = -malign-jumps=0 -malign-loops=0
                     13: 
                     14: # One function has been optimized by rewriting it in x86 assembly. If you
                     15: # - use an x86 CPU, for x > 3 (a 386 won't do)
                     16: # - have an ELF system
                     17: # you can uncomment the following lines:
                     18: #ASSEMBLYCFLAGS=-DUSE_ASSEMBLY
                     19: #ASSEMBLYOBJS=X86.o
                     20: 
                     21: # If you want to use the AF System to play sound, set theese to the
                     22: # correct paths. If not, leave them commented out.
                     23: # (Don't forget to define AF_SOUND in config.h)
                     24: #AFINCLUDE=-I/usr/local/vol/AudioFile/include
                     25: #AFLDFLAGS=-L/usr/local/vol/AudioFile/lib -lAF
                     26: 
                     27: # Don't change anything below this line, except maybe the search paths
                     28: # for X11 (X11R6 could be X11R5 on your system)
                     29: 
                     30: #INCLUDES=-Iinclude
                     31: 
                     32: CFLAGS = idir=include cpu=040 nostackcheck structureequivalence data=far code=far debug=line \
                     33:          ignore=85,93,105,181,306 optinlocal optimize opttime optdepth=4 params=register \
                     34:          idir=cybergfx define=_CYBERGFX
                     35: 
                     36: OBJS = main.o newcpu.o memory.o debug.o custom.o cia.o disk.o amiga.o \
                     37:        autoconf.o os.o ersatz.o filesys.o hardfile.o keybuf.o expansion.o \
                     38:        readcpu.o cpudefs.o gfxutil.o gfxlib.o \
                     39:        cpu0.o cpu1.o cpu2.o cpu3.o cpu4.o cpu5.o cpu6.o cpu7.o \
                     40:        cpu8.o cpu9.o cpuA.o cpuB.o cpuC.o cpuD.o cpuE.o cpuF.o cpustbl.o
                     41: 
                     42: all: uae readdisk
                     43: 
                     44: install:
                     45: 
                     46: readdisk: readdisk.o
                     47:        slink lib:c.o readdisk.o to $@ lib lib:scnb.lib lib:amiga.lib nodebug
                     48: 
                     49: uae: $(OBJS)
                     50:        slink lib:c.o $(OBJS) to $@ lib lib:scnb.lib lib:amiga.lib nodebug
                     51: 
                     52: clean:
                     53:        -delete  \#?.o uae readdisk
                     54:        -delete  gencpu genblitter build68k cpudefs.c
                     55:        -delete  cpu?.c blit.h
                     56:        -delete  cputbl.h cpustbl.c
                     57: 
                     58: halfclean:
                     59:        -delete  $(OBJS) $(GFXOBJS)
                     60: 
                     61: blit.h: genblitter
                     62:        genblitter >blit.h
                     63: 
                     64: genblitter: genblitter.c
                     65:        sc link $(CFLAGS) genblitter
                     66: build68k: build68k.c
                     67:        sc link $(CFLAGS) build68k
                     68: gencpu: gencpu.c readcpu.c cpudefs.c
                     69:        sc link $(CFLAGS) gencpu readcpu cpudefs
                     70: 
                     71: custom.o: blit.h
                     72: 
                     73: cpudefs.o: cpudefs.c
                     74: 
                     75: cpudefs.c: build68k table68k
                     76:        build68k >cpudefs.c
                     77: cpustbl.c: gencpu
                     78:        gencpu s >cpustbl.c
                     79: cputbl.c: gencpu
                     80:        gencpu t >cputbl.c
                     81: cputbl.h: gencpu
                     82:        gencpu h >cputbl.h
                     83: 
                     84: cpu0.c: gencpu
                     85:        gencpu f 0 >cpu0.c
                     86: cpu1.c: gencpu
                     87:        gencpu f 1 >cpu1.c
                     88: cpu2.c: gencpu
                     89:        gencpu f 2 >cpu2.c
                     90: cpu3.c: gencpu
                     91:        gencpu f 3 >cpu3.c
                     92: cpu4.c: gencpu
                     93:        gencpu f 4 >cpu4.c
                     94: cpu5.c: gencpu
                     95:        gencpu f 5 >cpu5.c
                     96: cpu6.c: gencpu
                     97:        gencpu f 6 >cpu6.c
                     98: cpu7.c: gencpu
                     99:        gencpu f 7 >cpu7.c
                    100: cpu8.c: gencpu
                    101:        gencpu f 8 >cpu8.c
                    102: cpu9.c: gencpu
                    103:        gencpu f 9 >cpu9.c
                    104: cpuA.c: gencpu
                    105:        gencpu f 10 >cpuA.c
                    106: cpuB.c: gencpu
                    107:        gencpu f 11 >cpuB.c
                    108: cpuC.c: gencpu
                    109:        gencpu f 12 >cpuC.c
                    110: cpuD.c: gencpu
                    111:        gencpu f 13 >cpuD.c
                    112: cpuE.c: gencpu
                    113:        gencpu f 14 >cpuE.c
                    114: cpuF.c: gencpu
                    115:        gencpu f 15 >cpuF.c
                    116: 
                    117: cpu0.o: cpu0.c
                    118:        $(CC) $(INCLUDES) $(INCDIRS) $(CFLAGS) $*.c
                    119: cpu1.o: cpu1.c
                    120:        $(CC) $(INCLUDES) $(INCDIRS) $(CFLAGS) $*.c
                    121: cpu2.o: cpu2.c
                    122:        $(CC) $(INCLUDES) $(INCDIRS) $(CFLAGS) $*.c
                    123: cpu3.o: cpu3.c
                    124:        $(CC) $(INCLUDES) $(INCDIRS) $(CFLAGS) $*.c
                    125: cpu4.o: cpu4.c
                    126:        $(CC) $(INCLUDES) $(INCDIRS) $(CFLAGS) $*.c
                    127: cpu5.o: cpu5.c
                    128:        $(CC) $(INCLUDES) $(INCDIRS) $(CFLAGS) $*.c
                    129: cpu6.o: cpu6.c
                    130:        $(CC) $(INCLUDES) $(INCDIRS) $(CFLAGS) $*.c
                    131: cpu7.o: cpu7.c
                    132:        $(CC) $(INCLUDES) $(INCDIRS) $(CFLAGS) $*.c
                    133: cpu8.o: cpu8.c
                    134:        $(CC) $(INCLUDES) $(INCDIRS) $(CFLAGS) $*.c
                    135: cpu9.o: cpu9.c
                    136:        $(CC) $(INCLUDES) $(INCDIRS) $(CFLAGS) $*.c
                    137: cpuA.o: cpuA.c
                    138:        $(CC) $(INCLUDES) $(INCDIRS) $(CFLAGS) $*.c
                    139: cpuB.o: cpuB.c
                    140:        $(CC) $(INCLUDES) $(INCDIRS) $(CFLAGS) $*.c
                    141: cpuC.o: cpuC.c
                    142:        $(CC) $(INCLUDES) $(INCDIRS) $(CFLAGS) $*.c
                    143: cpuD.o: cpuD.c
                    144:        $(CC) $(INCLUDES) $(INCDIRS) $(CFLAGS) $*.c
                    145: cpuE.o: cpuE.c
                    146:        $(CC) $(INCLUDES) $(INCDIRS) $(CFLAGS) $*.c
                    147: cpuF.o: cpuF.c
                    148:        $(CC) $(INCLUDES) $(INCDIRS) $(CFLAGS) $*.c
                    149: 
                    150: bebox.o: bebox.cpp
                    151:        $(CC) $(INCLUDES) $(INCDIRS) $(CFLAGS) $(DEBUGFLAGS) bebox.cpp
                    152: 
                    153: .m.o:
                    154:        $(CC) $(INCLUDES) $(INCDIRS) $(CFLAGS) $(DEBUGFLAGS) $*.m
                    155: .c.o:
                    156:        $(CC) $(INCLUDES) $(INCDIRS) $(CFLAGS) $(DEBUGFLAGS) $(ASSEMBLYCFLAGS) $*.c
                    157: .c.s:
                    158:        $(CC) $(INCLUDES) -S $(INCDIRS) $(CFLAGS) $*.c
                    159: .S.o:
                    160:        $(CC) $(INCLUDES) $(INCDIRS) $(CFLAGS) $(DEBUGFLAGS) $(ASSEMBLYCFLAGS) $*.S
                    161: 
                    162: # Saves recompiling...
                    163: touch:
                    164:        touch *.o; touch build68k; touch cpudefs.c; touch cpudefs.o; touch gencpu genblitter; touch cpu?.c cpu*tbl.[ch]; touch cpu?.o cpu*tbl.o
                    165: 
                    166: # Some more dependencies...
                    167: cpu0.o: cputbl.h
                    168: cpu1.o: cputbl.h
                    169: cpu2.o: cputbl.h
                    170: cpu3.o: cputbl.h
                    171: cpu4.o: cputbl.h
                    172: cpu5.o: cputbl.h
                    173: cpu6.o: cputbl.h
                    174: cpu7.o: cputbl.h
                    175: cpu8.o: cputbl.h
                    176: cpu9.o: cputbl.h
                    177: cpuA.o: cputbl.h
                    178: cpuB.o: cputbl.h
                    179: cpuC.o: cputbl.h
                    180: cpuD.o: cputbl.h
                    181: cpuE.o: cputbl.h
                    182: cpuF.o: cputbl.h
                    183: cpustbl.o: cputbl.h cpustbl.c
                    184: cputbl.o: cputbl.h cputbl.c
                    185: 
                    186: build68k.o: include/readcpu.h
                    187: readcpu.o: include/readcpu.h
                    188: 
                    189: main.o: config.h
                    190: cia.o: config.h
                    191: custom.o: config.h
                    192: newcpu.o: config.h
                    193: autoconf.o: config.h
                    194: expansion.o: config.h
                    195: xwin.o: config.h
                    196: svga.o: config.h
                    197: bebox.o: config.h
                    198: os.o: config.h
                    199: memory.o: config.h
                    200: debug.o: config.h
                    201: ersatz.o: config.h
                    202: disk.o: config.h
                    203: 

unix.superglobalmegacorp.com

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