home *** CD-ROM | disk | FTP | other *** search
/ Amiga ISO Collection / AmigaUtilCD1.iso / Emulatoren / UAE061.LZH / uae-0.6.1 / Makefile < prev    next >
Encoding:
Makefile  |  1996-08-28  |  5.5 KB  |  207 lines

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