|
|
1.1 root 1: #
2: # Makefile.in for UAE
3: #
4:
5: @SET_MAKE@
6: CC = @CC@
1.1.1.5 root 7: WRC = @WRC@
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.10! root 41: fsusage.o cfgfile.o native2amiga.o fsdb.o fsdb_unix.o identify.o \
! 42: savestate.o @ASMOBJS@ @GFXOBJS@ @DEBUGOBJS@ @SCSIOBJS@
1.1 root 43:
44: all: $(TARGET)
45:
46: x11: progs
47:
48: svgalib: progs
49:
1.1.1.5 root 50: win32: progs $(RESOBJS)
51: $(WRC) $(RESOBJS) uae.exe
52:
1.1.1.3 root 53: ggilib: progs
54:
55: asciiart: progs
56:
1.1.1.2 root 57: amigaos: progs
58:
1.1.1.3 root 59: p_os: progs
60:
61: beos: progs
1.1 root 62:
63: next: progs
64: cp uae ../Uae.app/Uae
65:
66: progs: uae readdisk
67:
68: install:
69:
1.1.1.3 root 70: readdisk: readdisk.o missing.o
71: $(CC) readdisk.o missing.o -o readdisk $(LDFLAGS) $(DEBUGFLAGS)
1.1 root 72:
73: uae: $(OBJS)
1.1.1.5 root 74: $(CC) $(OBJS) -o uae $(GFXLDFLAGS) $(LDFLAGS) $(DEBUGFLAGS) $(LIBRARIES) $(MATHLIB)
1.1 root 75:
76: clean:
1.1.1.2 root 77: -rm -f $(OBJS) *.o uae readdisk
1.1.1.8 root 78: -rm -f gencpu genblitter blit.h cpudefs.c cpuopti
1.1.1.5 root 79: -rm -f cpuemu.c build68k cputmp.s cpufast*.s cpustbl.c cputbl.h
1.1.1.8 root 80: -rm -f blitfunc.c blitfunc.h blittable.c
1.1 root 81:
82: halfclean:
1.1.1.2 root 83: -rm -f $(OBJS)
1.1 root 84:
85: streifenfrei: clean
1.1.1.5 root 86: -rm -f Makefile sysconfig.h
87: -rm -f od-joy.c md-X86.S sd-sound.c md-support.c
1.1.1.4 root 88: -rm -f machdep osdep threaddep sounddep target.h config.h
1.1 root 89:
90: blit.h: genblitter
91: ./genblitter i >blit.h
92: blitfunc.c: genblitter blitfunc.h
93: ./genblitter f >blitfunc.c
94: blitfunc.h: genblitter
95: ./genblitter h >blitfunc.h
96: blittable.c: genblitter blitfunc.h
97: ./genblitter t >blittable.c
98:
1.1.1.2 root 99: genblitter: genblitter.o blitops.o
100: $(CC) $(LDFLAGS) -o genblitter genblitter.o blitops.o
1.1 root 101: build68k: build68k.o
102: $(CC) $(LDFLAGS) -o build68k build68k.o
103: cpuopti: cpuopti.o
104: $(CC) $(LDFLAGS) -o cpuopti cpuopti.o
1.1.1.3 root 105: gencpu: gencpu.o readcpu.o cpudefs.o missing.o
106: $(CC) $(LDFLAGS) -o gencpu gencpu.o readcpu.o missing.o cpudefs.o
107:
1.1.1.8 root 108: custom.o: blit.h
109: drawing.o: linetoscr.c
1.1.1.3 root 110:
111: cpudefs.c: build68k @top_srcdir@/src/table68k
112: ./build68k <@top_srcdir@/src/table68k >cpudefs.c
113:
114: cpuemu.c: gencpu
115: ./gencpu
116:
117: # gencpu also creates cpustbl.c and cputbl.h
118: cpustbl.c: cpuemu.c
119: cputbl.h: cpuemu.c
120:
121: cpufast.s: cpuemu.c cpuopti
122: $(CC) $(INCLUDES) -S $(INCDIRS) $(CFLAGS) $(X_CFLAGS) $(DEBUGFLAGS) $(NO_SCHED_CFLAGS) $< -o cputmp.s
123: ./cpuopti <cputmp.s >$@
124: rm cputmp.s
1.1.1.6 root 125:
1.1.1.3 root 126: osdep/beos.o: osdep/beos.cpp
127: $(CC) $(INCLUDES) -c $(INCDIRS) $(CFLAGS) $(X_CFLAGS) $(DEBUGFLAGS) osdep/beos.cpp -o osdep/beos.o
1.1 root 128:
1.1.1.5 root 129: .rc.res:
130: $(WRC) $(INCLUDES) $<
1.1 root 131: .m.o:
1.1.1.3 root 132: $(CC) $(INCLUDES) -c $(INCDIRS) $(CFLAGS) $(X_CFLAGS) $(DEBUGFLAGS) $<
1.1 root 133: .c.o:
1.1.1.3 root 134: $(CC) $(INCLUDES) -c $(INCDIRS) $(CFLAGS) $(X_CFLAGS) $(DEBUGFLAGS) $< -o $@
1.1 root 135: .c.s:
1.1.1.3 root 136: $(CC) $(INCLUDES) -S $(INCDIRS) $(CFLAGS) $(X_CFLAGS) $(DEBUGFLAGS) $< -o $@
1.1.1.2 root 137: .c.i:
1.1.1.3 root 138: $(CC) $(INCLUDES) -E $(INCDIRS) $(CFLAGS) $(X_CFLAGS) $(DEBUGFLAGS) $< > $@
1.1 root 139: .S.o:
1.1.1.3 root 140: $(CC) $(INCLUDES) -c $(INCDIRS) $(CFLAGS) $(X_CFLAGS) $(DEBUGFLAGS) $< -o $@
1.1.1.2 root 141: .s.o:
1.1.1.3 root 142: $(CC) $(INCLUDES) -c $(INCDIRS) $(CFLAGS) $(X_CFLAGS) $(DEBUGFLAGS) $< -o $@
1.1 root 143:
144: # Saves recompiling...
145: touch:
1.1.1.3 root 146: 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 147:
148: build68k.o: include/readcpu.h
149: readcpu.o: include/readcpu.h
150:
151: main.o: config.h
152: cia.o: config.h include/events.h
1.1.1.3 root 153: custom.o: config.h include/events.h blit.h
1.1 root 154: newcpu.o: config.h include/events.h
155: autoconf.o: config.h
156: expansion.o: config.h
157: xwin.o: config.h
158: svga.o: config.h
1.1.1.3 root 159: audio.o: config.h include/events.h
1.1 root 160: memory.o: config.h
161: debug.o: config.h
1.1.1.10! root 162: identify.o: config.h
1.1 root 163: fpp.o: config.h
164: ersatz.o: config.h
165: filesys.o: config.h
166: execlib.o: config.h
167: disk.o: config.h include/events.h
1.1.1.3 root 168: blitter.o: config.h include/events.h blit.h
1.1 root 169:
1.1.1.5 root 170: # sam: this is for people with low memory. (is there a way do do this with a single rule ?)
171: cpufast1.s: cpuemu.c cpuopti
172: $(CC) -DPART_1 $(INCLUDES) -S $(INCDIRS) $(CFLAGS) $(X_CFLAGS) $(DEBUGFLAGS) $(NO_SCHED_CFLAGS) $< -o cputmp1.s
173: ./cpuopti <cputmp1.s >$@
174: rm cputmp1.s
175: cpufast2.s: cpuemu.c cpuopti
176: $(CC) -DPART_2 $(INCLUDES) -S $(INCDIRS) $(CFLAGS) $(X_CFLAGS) $(DEBUGFLAGS) $(NO_SCHED_CFLAGS) $< -o cputmp2.s
177: ./cpuopti <cputmp2.s >$@
178: rm cputmp2.s
179: cpufast3.s: cpuemu.c cpuopti
180: $(CC) -DPART_3 $(INCLUDES) -S $(INCDIRS) $(CFLAGS) $(X_CFLAGS) $(DEBUGFLAGS) $(NO_SCHED_CFLAGS) $< -o cputmp3.s
181: ./cpuopti <cputmp3.s >$@
182: rm cputmp3.s
183: cpufast4.s: cpuemu.c cpuopti
184: $(CC) -DPART_4 $(INCLUDES) -S $(INCDIRS) $(CFLAGS) $(X_CFLAGS) $(DEBUGFLAGS) $(NO_SCHED_CFLAGS) $< -o cputmp4.s
185: ./cpuopti <cputmp4.s >$@
186: rm cputmp4.s
187: cpufast5.s: cpuemu.c cpuopti
188: $(CC) -DPART_5 $(INCLUDES) -S $(INCDIRS) $(CFLAGS) $(X_CFLAGS) $(DEBUGFLAGS) $(NO_SCHED_CFLAGS) $< -o cputmp5.s
189: ./cpuopti <cputmp5.s >$@
190: rm cputmp5.s
191: cpufast6.s: cpuemu.c cpuopti
192: $(CC) -DPART_6 $(INCLUDES) -S $(INCDIRS) $(CFLAGS) $(X_CFLAGS) $(DEBUGFLAGS) $(NO_SCHED_CFLAGS) $< -o cputmp6.s
193: ./cpuopti <cputmp6.s >$@
194: rm cputmp6.s
195: cpufast7.s: cpuemu.c cpuopti
196: $(CC) -DPART_7 $(INCLUDES) -S $(INCDIRS) $(CFLAGS) $(X_CFLAGS) $(DEBUGFLAGS) $(NO_SCHED_CFLAGS) $< -o cputmp7.s
197: ./cpuopti <cputmp7.s >$@
198: rm cputmp7.s
199: cpufast8.s: cpuemu.c cpuopti
200: $(CC) -DPART_8 $(INCLUDES) -S $(INCDIRS) $(CFLAGS) $(X_CFLAGS) $(DEBUGFLAGS) $(NO_SCHED_CFLAGS) $< -o cputmp8.s
201: ./cpuopti <cputmp8.s >$@
202: rm cputmp8.s
203:
204: cpuemu1.o: cpuemu.c
205: $(CC) -DPART_1 $(INCLUDES) -c $(INCDIRS) $(CFLAGS) $(X_CFLAGS) $(DEBUGFLAGS) $< -o $@
206: cpuemu2.o: cpuemu.c
207: $(CC) -DPART_2 $(INCLUDES) -c $(INCDIRS) $(CFLAGS) $(X_CFLAGS) $(DEBUGFLAGS) $< -o $@
208: cpuemu3.o: cpuemu.c
209: $(CC) -DPART_3 $(INCLUDES) -c $(INCDIRS) $(CFLAGS) $(X_CFLAGS) $(DEBUGFLAGS) $< -o $@
210: cpuemu4.o: cpuemu.c
211: $(CC) -DPART_4 $(INCLUDES) -c $(INCDIRS) $(CFLAGS) $(X_CFLAGS) $(DEBUGFLAGS) $< -o $@
212: cpuemu5.o: cpuemu.c
213: $(CC) -DPART_5 $(INCLUDES) -c $(INCDIRS) $(CFLAGS) $(X_CFLAGS) $(DEBUGFLAGS) $< -o $@
214: cpuemu6.o: cpuemu.c
215: $(CC) -DPART_6 $(INCLUDES) -c $(INCDIRS) $(CFLAGS) $(X_CFLAGS) $(DEBUGFLAGS) $< -o $@
216: cpuemu7.o: cpuemu.c
217: $(CC) -DPART_7 $(INCLUDES) -c $(INCDIRS) $(CFLAGS) $(X_CFLAGS) $(DEBUGFLAGS) $< -o $@
218: cpuemu8.o: cpuemu.c
219: $(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.