|
|
1.1 root 1: #
2: # Makefile.in for UAE
3: #
4:
5: CC = @CC@
6: CPP = @CPP@
7: CFLAGS = @CFLAGS@ -D__inline__=@ac_cv_c_inline@ -DSTATFS_NO_ARGS=@STATFS_NO_ARGS@ -DSTATBUF_BAVAIL=@STATBUF_BAVAIL@ -DBROKEN_JOYSTICK_H=@BROKEN_JOYSTICK_H@
8: X_CFLAGS = @X_CFLAGS@
9: TARGET = @TARGET@
10: LIBRARIES = @LIBRARIES@ @LIBS@
11: GFXOBJS = @GFXOBJS@
12: ASMOBJS = @ASMOBJS@
13:
14: INSTALL = @INSTALL@
15: INSTALL_PROGRAM = @INSTALL_PROGRAM@
16: INSTALL_DATA = @INSTALL_DATA@
17: prefix = @prefix@
18: exec_prefix = @exec_prefix@
19: bindir = @bindir@
20: libdir = @libdir@
21: sysconfdir = @sysconfdir@
22:
23: .SUFFIXES: .o .c .h .m
24:
25: # If you want to use the AF System to play sound, set theese to the
26: # correct paths. If not, leave them commented out.
27: # (Don't forget to define AF_SOUND in config.h)
28: #AFINCLUDE=-I/usr/local/vol/AudioFile/include
29: #AFLDFLAGS=-L/usr/local/vol/AudioFile/lib -lAF
30:
31: INCLUDES=-Iinclude
32:
33: OBJS = main.o newcpu.o memory.o debug.o custom.o cia.o disk.o $(GFXOBJS) \
34: autoconf.o os.o ersatz.o filesys.o hardfile.o keybuf.o expansion.o \
35: readcpu.o cpudefs.o gfxutil.o gfxlib.o blitfunc.o blittable.o $(ASMOBJS) \
36: cpu0.o cpu1.o cpu2.o cpu3.o cpu4.o cpu5.o cpu6.o cpu7.o \
37: cpu8.o cpu9.o cpuA.o cpuB.o cpuC.o cpuD.o cpuE.o cpuF.o cpustbl.o
38:
39: all: $(TARGET)
40:
41: x11: progs
42:
43: svgalib: progs
44:
45: be: progs
46:
47: next: progs
48: cp uae Uae.app/Uae
49:
50: progs: uae readdisk
51:
52: install:
53:
54: readdisk: readdisk.o
55: $(CC) readdisk.o -o readdisk $(LDFLAGS) $(DEBUGFLAGS)
56:
57: uae: $(OBJS)
58: $(CC) $(OBJS) -o uae $(GFXLDFLAGS) $(AFLDFLAGS) $(LDFLAGS) $(DEBUGFLAGS) $(LIBRARIES)
59:
60: clean:
61: -rm -f *.o uae readdisk
62: -rm -f gencpu genblitter build68k cpudefs.c
63: -rm -f cpu?.c blit.h
64: -rm -f cputbl.h cpustbl.c
65: -rm -f blitfunc.c blitfunc.h blittable.c
66:
67: halfclean:
68: -rm -f $(OBJS) $(GFXOBJS)
69:
70: streifenfrei: clean
71: -rm -f Makefile config.cache config.log config.status
72:
73: blit.h: genblitter
74: ./genblitter i >blit.h
75: blitfunc.c: genblitter blitfunc.h
76: ./genblitter f >blitfunc.c
77: blitfunc.h: genblitter
78: ./genblitter h >blitfunc.h
79: blittable.c: genblitter blitfunc.h
80: ./genblitter t >blittable.c
81:
82: genblitter: genblitter.o
83: $(CC) $(LDFLAGS) -o $@ $?
84: build68k: build68k.o
85: $(CC) $(LDFLAGS) -o $@ $?
86: gencpu: gencpu.o readcpu.o cpudefs.o
87: $(CC) $(LDFLAGS) -o $@ gencpu.o readcpu.o cpudefs.o
88:
89: custom.o: blit.h
90:
91: cpudefs.c: build68k table68k
92: ./build68k >cpudefs.c
93: cpustbl.c: gencpu
94: ./gencpu s >cpustbl.c
95: cputbl.c: gencpu
96: ./gencpu t >cputbl.c
97: cputbl.h: gencpu
98: ./gencpu h >cputbl.h
99:
100: cpu0.c: gencpu
101: ./gencpu f 0 >cpu0.c
102: cpu1.c: gencpu
103: ./gencpu f 1 >cpu1.c
104: cpu2.c: gencpu
105: ./gencpu f 2 >cpu2.c
106: cpu3.c: gencpu
107: ./gencpu f 3 >cpu3.c
108: cpu4.c: gencpu
109: ./gencpu f 4 >cpu4.c
110: cpu5.c: gencpu
111: ./gencpu f 5 >cpu5.c
112: cpu6.c: gencpu
113: ./gencpu f 6 >cpu6.c
114: cpu7.c: gencpu
115: ./gencpu f 7 >cpu7.c
116: cpu8.c: gencpu
117: ./gencpu f 8 >cpu8.c
118: cpu9.c: gencpu
119: ./gencpu f 9 >cpu9.c
120: cpuA.c: gencpu
121: ./gencpu f 10 >cpuA.c
122: cpuB.c: gencpu
123: ./gencpu f 11 >cpuB.c
124: cpuC.c: gencpu
125: ./gencpu f 12 >cpuC.c
126: cpuD.c: gencpu
127: ./gencpu f 13 >cpuD.c
128: cpuE.c: gencpu
129: ./gencpu f 14 >cpuE.c
130: cpuF.c: gencpu
131: ./gencpu f 15 >cpuF.c
132:
133: cpu0.o: cpu0.c cputbl.h
134: $(CC) $(INCLUDES) -c $(INCDIRS) $(CFLAGS) $(X_CFLAGS) $*.c
135: cpu1.o: cpu1.c cputbl.h
136: $(CC) $(INCLUDES) -c $(INCDIRS) $(CFLAGS) $(X_CFLAGS) $*.c
137: cpu2.o: cpu2.c cputbl.h
138: $(CC) $(INCLUDES) -c $(INCDIRS) $(CFLAGS) $(X_CFLAGS) $*.c
139: cpu3.o: cpu3.c cputbl.h
140: $(CC) $(INCLUDES) -c $(INCDIRS) $(CFLAGS) $(X_CFLAGS) $*.c
141: cpu4.o: cpu4.c cputbl.h
142: $(CC) $(INCLUDES) -c $(INCDIRS) $(CFLAGS) $(X_CFLAGS) $*.c
143: cpu5.o: cpu5.c cputbl.h
144: $(CC) $(INCLUDES) -c $(INCDIRS) $(CFLAGS) $(X_CFLAGS) $*.c
145: cpu6.o: cpu6.c cputbl.h
146: $(CC) $(INCLUDES) -c $(INCDIRS) $(CFLAGS) $(X_CFLAGS) $*.c
147: cpu7.o: cpu7.c cputbl.h
148: $(CC) $(INCLUDES) -c $(INCDIRS) $(CFLAGS) $(X_CFLAGS) $*.c
149: cpu8.o: cpu8.c cputbl.h
150: $(CC) $(INCLUDES) -c $(INCDIRS) $(CFLAGS) $(X_CFLAGS) $*.c
151: cpu9.o: cpu9.c cputbl.h
152: $(CC) $(INCLUDES) -c $(INCDIRS) $(CFLAGS) $(X_CFLAGS) $*.c
153: cpuA.o: cpuA.c cputbl.h
154: $(CC) $(INCLUDES) -c $(INCDIRS) $(CFLAGS) $(X_CFLAGS) $*.c
155: cpuB.o: cpuB.c cputbl.h
156: $(CC) $(INCLUDES) -c $(INCDIRS) $(CFLAGS) $(X_CFLAGS) $*.c
157: cpuC.o: cpuC.c cputbl.h
158: $(CC) $(INCLUDES) -c $(INCDIRS) $(CFLAGS) $(X_CFLAGS) $*.c
159: cpuD.o: cpuD.c cputbl.h
160: $(CC) $(INCLUDES) -c $(INCDIRS) $(CFLAGS) $(X_CFLAGS) $*.c
161: cpuE.o: cpuE.c cputbl.h
162: $(CC) $(INCLUDES) -c $(INCDIRS) $(CFLAGS) $(X_CFLAGS) $*.c
163: cpuF.o: cpuF.c cputbl.h
164: $(CC) $(INCLUDES) -c $(INCDIRS) $(CFLAGS) $(X_CFLAGS) $*.c
165:
166: bebox.o: bebox.cpp
167: $(CC) $(INCLUDES) -c $(INCDIRS) $(CFLAGS) $(X_CFLAGS) $(DEBUGFLAGS) bebox.cpp
168:
169: .m.o:
170: $(CC) $(INCLUDES) -c $(INCDIRS) $(CFLAGS) $(X_CFLAGS) $(DEBUGFLAGS) $*.m
171: .c.o:
172: $(CC) $(INCLUDES) -c $(INCDIRS) $(CFLAGS) $(X_CFLAGS) $(DEBUGFLAGS) $*.c
173: .c.s:
174: $(CC) $(INCLUDES) -S $(INCDIRS) $(CFLAGS) $(X_CFLAGS) $*.c
175: .S.o:
176: $(CC) $(INCLUDES) -c $(INCDIRS) $(CFLAGS) $(X_CFLAGS) $(DEBUGFLAGS) $*.S
177:
178: # Saves recompiling...
179: touch:
180: 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
181:
182: # Some more dependencies...
183: cpustbl.o: cputbl.h
184: cputbl.o: cputbl.h
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:
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.