|
|
1.1 root 1: #
2: # Makefile.in for UAE
3: #
4:
5: @SET_MAKE@
6: CC = @CC@
1.1.1.11! root 7: WRC = @WRCPRG@
1.1 root 8: CPP = @CPP@
1.1.1.2 root 9: LDFLAGS = @LDFLAGS@
1.1.1.5 root 10: CFLAGS = @CFLAGS@ -D__inline__=@ac_cv_c_inline@
1.1.1.3 root 11: X_CFLAGS = @X_CFLAGS@ @GTK_CFLAGS@ -DSHM_SUPPORT_LINKS=@SHM_SUPPORT_LINKS@
1.1 root 12: TARGET = @TARGET@
1.1.1.3 root 13: LIBRARIES = @LIBRARIES@ @LIBS@ @GTK_LIBS@
1.1.1.2 root 14: MATHLIB = @MATHLIB@
1.1.1.5 root 15: RESOBJS = @RESOBJS@
1.1.1.2 root 16:
1.1.1.3 root 17: NO_SCHED_CFLAGS = @NO_SCHED_CFLAGS@
18:
1.1 root 19: INSTALL = @INSTALL@
20: INSTALL_PROGRAM = @INSTALL_PROGRAM@
21: INSTALL_DATA = @INSTALL_DATA@
22: prefix = @prefix@
23: exec_prefix = @exec_prefix@
24: bindir = @bindir@
25: libdir = @libdir@
26: sysconfdir = @sysconfdir@
27:
1.1.1.3 root 28: VPATH = @top_srcdir@/src
29:
1.1.1.5 root 30: .SUFFIXES: .o .c .h .m .i .S .rc .res
1.1.1.3 root 31:
1.1.1.9 root 32: #.SECONDARY: cpuemu.c cpustbl.c cputbl.h
1.1 root 33:
1.1.1.3 root 34: INCLUDES=-I. -I@top_srcdir@/src/include/
1.1.1.2 root 35:
1.1.1.3 root 36: OBJS = main.o newcpu.o memory.o @CPUOBJS@ custom.o cia.o serial.o blitter.o \
1.1.1.2 root 37: autoconf.o ersatz.o filesys.o hardfile.o keybuf.o expansion.o zfile.o \
38: fpp.o readcpu.o cpudefs.o gfxutil.o gfxlib.o blitfunc.o blittable.o \
1.1.1.5 root 39: disk.o audio.o compiler.o uaelib.o drawing.o picasso96.o cpustbl.o \
1.1.1.6 root 40: uaeexe.o bsdsocket.o missing.o sd-sound.o od-joy.o md-support.o \
1.1.1.11! root 41: fsusage.o cfgfile.o native2amiga.o @FSDBOBJS@ fsdb.o identify.o \
! 42: savestate.o writelog.o @ASMOBJS@ @GFXOBJS@ @DEBUGOBJS@ @SCSIOBJS@
! 43:
1.1 root 44:
45: all: $(TARGET)
46:
47: x11: progs
48:
49: svgalib: progs
50:
1.1.1.5 root 51: win32: progs $(RESOBJS)
52: $(WRC) $(RESOBJS) uae.exe
53:
1.1.1.3 root 54: ggilib: progs
55:
56: asciiart: progs
57:
1.1.1.2 root 58: amigaos: progs
59:
1.1.1.3 root 60: p_os: progs
61:
62: beos: progs
1.1 root 63:
64: next: progs
65: cp uae ../Uae.app/Uae
66:
67: progs: uae readdisk
68:
69: install:
70:
1.1.1.3 root 71: readdisk: readdisk.o missing.o
72: $(CC) readdisk.o missing.o -o readdisk $(LDFLAGS) $(DEBUGFLAGS)
1.1 root 73:
74: uae: $(OBJS)
1.1.1.5 root 75: $(CC) $(OBJS) -o uae $(GFXLDFLAGS) $(LDFLAGS) $(DEBUGFLAGS) $(LIBRARIES) $(MATHLIB)
1.1 root 76:
77: clean:
1.1.1.11! root 78: $(MAKE) -C tools clean
1.1.1.2 root 79: -rm -f $(OBJS) *.o uae readdisk
1.1.1.11! root 80: -rm -f blit.h cpudefs.c
1.1.1.5 root 81: -rm -f cpuemu.c build68k cputmp.s cpufast*.s cpustbl.c cputbl.h
1.1.1.8 root 82: -rm -f blitfunc.c blitfunc.h blittable.c
1.1 root 83:
84: halfclean:
1.1.1.2 root 85: -rm -f $(OBJS)
1.1 root 86:
87: streifenfrei: clean
1.1.1.5 root 88: -rm -f Makefile sysconfig.h
89: -rm -f od-joy.c md-X86.S sd-sound.c md-support.c
1.1.1.4 root 90: -rm -f machdep osdep threaddep sounddep target.h config.h
1.1 root 91:
1.1.1.11! root 92: blit.h: tools/genblitter
! 93: ./tools/genblitter i >blit.h
! 94: blitfunc.c: tools/genblitter blitfunc.h
! 95: ./tools/genblitter f >blitfunc.c
! 96: blitfunc.h: tools/genblitter
! 97: ./tools/genblitter h >blitfunc.h
! 98: blittable.c: tools/genblitter blitfunc.h
! 99: ./tools/genblitter t >blittable.c
! 100:
! 101: tools/genblitter:
! 102: $(MAKE) -C tools genblitter
! 103: tools/build68k:
! 104: $(MAKE) -C tools build68kc
! 105: tools/cpuopti:
! 106: $(MAKE) -C tools cpuopti
! 107: tools/gencpu:
! 108: $(MAKE) -C tools gencpu
1.1.1.3 root 109:
1.1.1.8 root 110: custom.o: blit.h
111: drawing.o: linetoscr.c
1.1.1.3 root 112:
1.1.1.11! root 113: cpudefs.c: tools/build68k @top_srcdir@/src/table68k
! 114: ./tools/build68k <@top_srcdir@/src/table68k >cpudefs.c
1.1.1.3 root 115:
1.1.1.11! root 116: cpuemu.c: tools/gencpu
! 117: ./tools/gencpu
1.1.1.3 root 118:
119: # gencpu also creates cpustbl.c and cputbl.h
120: cpustbl.c: cpuemu.c
121: cputbl.h: cpuemu.c
122:
1.1.1.11! root 123: cpufast.s: cpuemu.c tools/cpuopti
1.1.1.3 root 124: $(CC) $(INCLUDES) -S $(INCDIRS) $(CFLAGS) $(X_CFLAGS) $(DEBUGFLAGS) $(NO_SCHED_CFLAGS) $< -o cputmp.s
1.1.1.11! root 125: ./tools/cpuopti <cputmp.s >$@
1.1.1.3 root 126: rm cputmp.s
1.1.1.6 root 127:
1.1.1.11! root 128: console_missing.o: missing.c
! 129: $(CC) $(INCLUDES) -c $(INCDIRS) $(CFLAGS) $(X_CFLAGS) $(DEBUGFLAGS) $(CFLAGS_$@) $< -o $@
! 130:
1.1.1.3 root 131: osdep/beos.o: osdep/beos.cpp
132: $(CC) $(INCLUDES) -c $(INCDIRS) $(CFLAGS) $(X_CFLAGS) $(DEBUGFLAGS) osdep/beos.cpp -o osdep/beos.o
1.1 root 133:
1.1.1.5 root 134: .rc.res:
135: $(WRC) $(INCLUDES) $<
1.1 root 136: .m.o:
1.1.1.3 root 137: $(CC) $(INCLUDES) -c $(INCDIRS) $(CFLAGS) $(X_CFLAGS) $(DEBUGFLAGS) $<
1.1 root 138: .c.o:
1.1.1.11! root 139: $(CC) $(INCLUDES) -c $(INCDIRS) $(CFLAGS) $(X_CFLAGS) $(DEBUGFLAGS) $(CFLAGS_$@) $< -o $@
1.1 root 140: .c.s:
1.1.1.3 root 141: $(CC) $(INCLUDES) -S $(INCDIRS) $(CFLAGS) $(X_CFLAGS) $(DEBUGFLAGS) $< -o $@
1.1.1.2 root 142: .c.i:
1.1.1.3 root 143: $(CC) $(INCLUDES) -E $(INCDIRS) $(CFLAGS) $(X_CFLAGS) $(DEBUGFLAGS) $< > $@
1.1 root 144: .S.o:
1.1.1.3 root 145: $(CC) $(INCLUDES) -c $(INCDIRS) $(CFLAGS) $(X_CFLAGS) $(DEBUGFLAGS) $< -o $@
1.1.1.2 root 146: .s.o:
1.1.1.3 root 147: $(CC) $(INCLUDES) -c $(INCDIRS) $(CFLAGS) $(X_CFLAGS) $(DEBUGFLAGS) $< -o $@
1.1 root 148:
149: # Saves recompiling...
150: touch:
1.1.1.3 root 151: touch *.o; touch build68k; touch cpudefs.c; touch cpudefs.o; touch gencpu; touch cpuemu.c; touch cpuopti.o cpuopti cpuemu.o cpufast.s cpufast.o
1.1 root 152:
153: build68k.o: include/readcpu.h
154: readcpu.o: include/readcpu.h
155:
156: main.o: config.h
157: cia.o: config.h include/events.h
1.1.1.3 root 158: custom.o: config.h include/events.h blit.h
1.1 root 159: newcpu.o: config.h include/events.h
160: autoconf.o: config.h
161: expansion.o: config.h
162: xwin.o: config.h
163: svga.o: config.h
1.1.1.3 root 164: audio.o: config.h include/events.h
1.1 root 165: memory.o: config.h
166: debug.o: config.h
1.1.1.10 root 167: identify.o: config.h
1.1 root 168: fpp.o: config.h
169: ersatz.o: config.h
170: filesys.o: config.h
171: execlib.o: config.h
172: disk.o: config.h include/events.h
1.1.1.3 root 173: blitter.o: config.h include/events.h blit.h
1.1 root 174:
1.1.1.5 root 175: # sam: this is for people with low memory. (is there a way do do this with a single rule ?)
176: cpufast1.s: cpuemu.c cpuopti
177: $(CC) -DPART_1 $(INCLUDES) -S $(INCDIRS) $(CFLAGS) $(X_CFLAGS) $(DEBUGFLAGS) $(NO_SCHED_CFLAGS) $< -o cputmp1.s
1.1.1.11! root 178: ./tools/cpuopti <cputmp1.s >$@
1.1.1.5 root 179: rm cputmp1.s
180: cpufast2.s: cpuemu.c cpuopti
181: $(CC) -DPART_2 $(INCLUDES) -S $(INCDIRS) $(CFLAGS) $(X_CFLAGS) $(DEBUGFLAGS) $(NO_SCHED_CFLAGS) $< -o cputmp2.s
1.1.1.11! root 182: ./tools/cpuopti <cputmp2.s >$@
1.1.1.5 root 183: rm cputmp2.s
184: cpufast3.s: cpuemu.c cpuopti
185: $(CC) -DPART_3 $(INCLUDES) -S $(INCDIRS) $(CFLAGS) $(X_CFLAGS) $(DEBUGFLAGS) $(NO_SCHED_CFLAGS) $< -o cputmp3.s
1.1.1.11! root 186: ./tools/cpuopti <cputmp3.s >$@
1.1.1.5 root 187: rm cputmp3.s
188: cpufast4.s: cpuemu.c cpuopti
189: $(CC) -DPART_4 $(INCLUDES) -S $(INCDIRS) $(CFLAGS) $(X_CFLAGS) $(DEBUGFLAGS) $(NO_SCHED_CFLAGS) $< -o cputmp4.s
1.1.1.11! root 190: ./tools/cpuopti <cputmp4.s >$@
1.1.1.5 root 191: rm cputmp4.s
192: cpufast5.s: cpuemu.c cpuopti
193: $(CC) -DPART_5 $(INCLUDES) -S $(INCDIRS) $(CFLAGS) $(X_CFLAGS) $(DEBUGFLAGS) $(NO_SCHED_CFLAGS) $< -o cputmp5.s
1.1.1.11! root 194: ./tools/cpuopti <cputmp5.s >$@
1.1.1.5 root 195: rm cputmp5.s
196: cpufast6.s: cpuemu.c cpuopti
197: $(CC) -DPART_6 $(INCLUDES) -S $(INCDIRS) $(CFLAGS) $(X_CFLAGS) $(DEBUGFLAGS) $(NO_SCHED_CFLAGS) $< -o cputmp6.s
1.1.1.11! root 198: ./tools/cpuopti <cputmp6.s >$@
1.1.1.5 root 199: rm cputmp6.s
200: cpufast7.s: cpuemu.c cpuopti
201: $(CC) -DPART_7 $(INCLUDES) -S $(INCDIRS) $(CFLAGS) $(X_CFLAGS) $(DEBUGFLAGS) $(NO_SCHED_CFLAGS) $< -o cputmp7.s
1.1.1.11! root 202: ./tools/cpuopti <cputmp7.s >$@
1.1.1.5 root 203: rm cputmp7.s
204: cpufast8.s: cpuemu.c cpuopti
205: $(CC) -DPART_8 $(INCLUDES) -S $(INCDIRS) $(CFLAGS) $(X_CFLAGS) $(DEBUGFLAGS) $(NO_SCHED_CFLAGS) $< -o cputmp8.s
1.1.1.11! root 206: ./tools/cpuopti <cputmp8.s >$@
1.1.1.5 root 207: rm cputmp8.s
208:
209: cpuemu1.o: cpuemu.c
210: $(CC) -DPART_1 $(INCLUDES) -c $(INCDIRS) $(CFLAGS) $(X_CFLAGS) $(DEBUGFLAGS) $< -o $@
211: cpuemu2.o: cpuemu.c
212: $(CC) -DPART_2 $(INCLUDES) -c $(INCDIRS) $(CFLAGS) $(X_CFLAGS) $(DEBUGFLAGS) $< -o $@
213: cpuemu3.o: cpuemu.c
214: $(CC) -DPART_3 $(INCLUDES) -c $(INCDIRS) $(CFLAGS) $(X_CFLAGS) $(DEBUGFLAGS) $< -o $@
215: cpuemu4.o: cpuemu.c
216: $(CC) -DPART_4 $(INCLUDES) -c $(INCDIRS) $(CFLAGS) $(X_CFLAGS) $(DEBUGFLAGS) $< -o $@
217: cpuemu5.o: cpuemu.c
218: $(CC) -DPART_5 $(INCLUDES) -c $(INCDIRS) $(CFLAGS) $(X_CFLAGS) $(DEBUGFLAGS) $< -o $@
219: cpuemu6.o: cpuemu.c
220: $(CC) -DPART_6 $(INCLUDES) -c $(INCDIRS) $(CFLAGS) $(X_CFLAGS) $(DEBUGFLAGS) $< -o $@
221: cpuemu7.o: cpuemu.c
222: $(CC) -DPART_7 $(INCLUDES) -c $(INCDIRS) $(CFLAGS) $(X_CFLAGS) $(DEBUGFLAGS) $< -o $@
223: cpuemu8.o: cpuemu.c
224: $(CC) -DPART_8 $(INCLUDES) -c $(INCDIRS) $(CFLAGS) $(X_CFLAGS) $(DEBUGFLAGS) $< -o $@
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.