|
|
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.13 root 39: disk.o audio.o uaelib.o drawing.o picasso96.o cpustbl.o inputdevice.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.14! root 41: fsusage.o cfgfile.o native2amiga.o fsdb.o identify.o crc32.o \
! 42: savestate.o writelog.o hotkeys.o \
! 43: @ASMOBJS@ @GFXOBJS@ @DEBUGOBJS@ @SCSIOBJS@ @FSDBOBJS@
1.1.1.11 root 44:
1.1 root 45:
46: all: $(TARGET)
47:
48: x11: progs
49:
50: svgalib: progs
51:
1.1.1.5 root 52: win32: progs $(RESOBJS)
53: $(WRC) $(RESOBJS) uae.exe
54:
1.1.1.3 root 55: ggilib: progs
56:
57: asciiart: progs
58:
1.1.1.2 root 59: amigaos: progs
60:
1.1.1.3 root 61: p_os: progs
62:
63: beos: progs
1.1 root 64:
65: next: progs
66: cp uae ../Uae.app/Uae
67:
68: progs: uae readdisk
69:
70: install:
71:
1.1.1.3 root 72: readdisk: readdisk.o missing.o
73: $(CC) readdisk.o missing.o -o readdisk $(LDFLAGS) $(DEBUGFLAGS)
1.1 root 74:
75: uae: $(OBJS)
1.1.1.5 root 76: $(CC) $(OBJS) -o uae $(GFXLDFLAGS) $(LDFLAGS) $(DEBUGFLAGS) $(LIBRARIES) $(MATHLIB)
1.1 root 77:
78: clean:
1.1.1.11 root 79: $(MAKE) -C tools clean
1.1.1.2 root 80: -rm -f $(OBJS) *.o uae readdisk
1.1.1.11 root 81: -rm -f blit.h cpudefs.c
1.1.1.12 root 82: -rm -f cpuemu.c build68k cputmp.s cpustbl.c cputbl.h
1.1.1.8 root 83: -rm -f blitfunc.c blitfunc.h blittable.c
1.1 root 84:
85: halfclean:
1.1.1.2 root 86: -rm -f $(OBJS)
1.1 root 87:
88: streifenfrei: clean
1.1.1.5 root 89: -rm -f Makefile sysconfig.h
90: -rm -f od-joy.c md-X86.S sd-sound.c md-support.c
1.1.1.4 root 91: -rm -f machdep osdep threaddep sounddep target.h config.h
1.1 root 92:
1.1.1.11 root 93: blit.h: tools/genblitter
94: ./tools/genblitter i >blit.h
95: blitfunc.c: tools/genblitter blitfunc.h
96: ./tools/genblitter f >blitfunc.c
97: blitfunc.h: tools/genblitter
98: ./tools/genblitter h >blitfunc.h
99: blittable.c: tools/genblitter blitfunc.h
100: ./tools/genblitter t >blittable.c
101:
102: tools/genblitter:
103: $(MAKE) -C tools genblitter
104: tools/build68k:
105: $(MAKE) -C tools build68kc
106: tools/gencpu:
107: $(MAKE) -C tools gencpu
1.1.1.3 root 108:
1.1.1.8 root 109: custom.o: blit.h
110: drawing.o: linetoscr.c
1.1.1.3 root 111:
1.1.1.11 root 112: cpudefs.c: tools/build68k @top_srcdir@/src/table68k
113: ./tools/build68k <@top_srcdir@/src/table68k >cpudefs.c
1.1.1.3 root 114:
1.1.1.11 root 115: cpuemu.c: tools/gencpu
116: ./tools/gencpu
1.1.1.3 root 117:
118: # gencpu also creates cpustbl.c and cputbl.h
119: cpustbl.c: cpuemu.c
120: cputbl.h: cpuemu.c
121:
1.1.1.11 root 122: console_missing.o: missing.c
123: $(CC) $(INCLUDES) -c $(INCDIRS) $(CFLAGS) $(X_CFLAGS) $(DEBUGFLAGS) $(CFLAGS_$@) $< -o $@
124:
1.1.1.3 root 125: osdep/beos.o: osdep/beos.cpp
126: $(CC) $(INCLUDES) -c $(INCDIRS) $(CFLAGS) $(X_CFLAGS) $(DEBUGFLAGS) osdep/beos.cpp -o osdep/beos.o
1.1 root 127:
1.1.1.5 root 128: .rc.res:
129: $(WRC) $(INCLUDES) $<
1.1 root 130: .m.o:
1.1.1.3 root 131: $(CC) $(INCLUDES) -c $(INCDIRS) $(CFLAGS) $(X_CFLAGS) $(DEBUGFLAGS) $<
1.1 root 132: .c.o:
1.1.1.11 root 133: $(CC) $(INCLUDES) -c $(INCDIRS) $(CFLAGS) $(X_CFLAGS) $(DEBUGFLAGS) $(CFLAGS_$@) $< -o $@
1.1 root 134: .c.s:
1.1.1.3 root 135: $(CC) $(INCLUDES) -S $(INCDIRS) $(CFLAGS) $(X_CFLAGS) $(DEBUGFLAGS) $< -o $@
1.1.1.2 root 136: .c.i:
1.1.1.3 root 137: $(CC) $(INCLUDES) -E $(INCDIRS) $(CFLAGS) $(X_CFLAGS) $(DEBUGFLAGS) $< > $@
1.1 root 138: .S.o:
1.1.1.3 root 139: $(CC) $(INCLUDES) -c $(INCDIRS) $(CFLAGS) $(X_CFLAGS) $(DEBUGFLAGS) $< -o $@
1.1.1.2 root 140: .s.o:
1.1.1.3 root 141: $(CC) $(INCLUDES) -c $(INCDIRS) $(CFLAGS) $(X_CFLAGS) $(DEBUGFLAGS) $< -o $@
1.1 root 142:
143: # Saves recompiling...
144: touch:
1.1.1.12 root 145: touch *.o; touch build68k; touch cpudefs.c; touch cpudefs.o; touch gencpu; touch cpuemu.c; touch cpuemu.o
1.1 root 146:
147: build68k.o: include/readcpu.h
148: readcpu.o: include/readcpu.h
149:
150: main.o: config.h
151: cia.o: config.h include/events.h
1.1.1.3 root 152: custom.o: config.h include/events.h blit.h
1.1 root 153: newcpu.o: config.h include/events.h
154: autoconf.o: config.h
155: expansion.o: config.h
156: xwin.o: config.h
157: svga.o: config.h
1.1.1.3 root 158: audio.o: config.h include/events.h
1.1 root 159: memory.o: config.h
160: debug.o: config.h
1.1.1.10 root 161: identify.o: config.h
1.1 root 162: fpp.o: config.h
163: ersatz.o: config.h
164: filesys.o: config.h
165: execlib.o: config.h
166: disk.o: config.h include/events.h
1.1.1.3 root 167: blitter.o: config.h include/events.h blit.h
1.1 root 168:
1.1.1.5 root 169: # sam: this is for people with low memory. (is there a way do do this with a single rule ?)
170: cpuemu1.o: cpuemu.c
171: $(CC) -DPART_1 $(INCLUDES) -c $(INCDIRS) $(CFLAGS) $(X_CFLAGS) $(DEBUGFLAGS) $< -o $@
172: cpuemu2.o: cpuemu.c
173: $(CC) -DPART_2 $(INCLUDES) -c $(INCDIRS) $(CFLAGS) $(X_CFLAGS) $(DEBUGFLAGS) $< -o $@
174: cpuemu3.o: cpuemu.c
175: $(CC) -DPART_3 $(INCLUDES) -c $(INCDIRS) $(CFLAGS) $(X_CFLAGS) $(DEBUGFLAGS) $< -o $@
176: cpuemu4.o: cpuemu.c
177: $(CC) -DPART_4 $(INCLUDES) -c $(INCDIRS) $(CFLAGS) $(X_CFLAGS) $(DEBUGFLAGS) $< -o $@
178: cpuemu5.o: cpuemu.c
179: $(CC) -DPART_5 $(INCLUDES) -c $(INCDIRS) $(CFLAGS) $(X_CFLAGS) $(DEBUGFLAGS) $< -o $@
180: cpuemu6.o: cpuemu.c
181: $(CC) -DPART_6 $(INCLUDES) -c $(INCDIRS) $(CFLAGS) $(X_CFLAGS) $(DEBUGFLAGS) $< -o $@
182: cpuemu7.o: cpuemu.c
183: $(CC) -DPART_7 $(INCLUDES) -c $(INCDIRS) $(CFLAGS) $(X_CFLAGS) $(DEBUGFLAGS) $< -o $@
184: cpuemu8.o: cpuemu.c
185: $(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.