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

  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 blitter.o $(GFXOBJS) \
  34.        autoconf.o os.o ersatz.o filesys.o hardfile.o keybuf.o expansion.o zfile.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. amiga: progs
  48.  
  49. next: progs
  50.     cp uae Uae.app/Uae
  51.  
  52. progs: uae readdisk
  53.  
  54. install:
  55.  
  56. readdisk: readdisk.o
  57.     $(CC) readdisk.o -o readdisk $(LDFLAGS) $(DEBUGFLAGS)
  58.  
  59. uae: $(OBJS)
  60.     $(CC) $(OBJS) -o uae $(GFXLDFLAGS) $(AFLDFLAGS) $(LDFLAGS) $(DEBUGFLAGS) $(LIBRARIES)
  61.  
  62. clean:
  63.     -rm -f *.o uae readdisk
  64.     -rm -f gencpu genblitter build68k cpudefs.c
  65.     -rm -f cpu?.c blit.h
  66.     -rm -f cputbl.h cpustbl.c
  67.     -rm -f blitfunc.c blitfunc.h blittable.c
  68.  
  69. halfclean:
  70.     -rm -f $(OBJS) $(GFXOBJS)
  71.  
  72. streifenfrei: clean
  73.     -rm -f Makefile config.cache config.log config.status
  74.  
  75. blit.h: genblitter
  76.     ./genblitter i >blit.h
  77. blitfunc.c: genblitter blitfunc.h
  78.     ./genblitter f >blitfunc.c
  79. blitfunc.h: genblitter
  80.     ./genblitter h >blitfunc.h
  81. blittable.c: genblitter blitfunc.h
  82.     ./genblitter t >blittable.c
  83.  
  84. genblitter: genblitter.o
  85.     $(CC) $(LDFLAGS) -o $@ $?
  86. build68k: build68k.o
  87.     $(CC) $(LDFLAGS) -o $@ $?
  88. gencpu: gencpu.o readcpu.o cpudefs.o
  89.     $(CC) $(LDFLAGS) -o $@ gencpu.o readcpu.o cpudefs.o
  90.  
  91. custom.o: blit.h
  92.  
  93. cpudefs.c: build68k table68k
  94.     ./build68k >cpudefs.c
  95. cpustbl.c: gencpu
  96.     ./gencpu s >cpustbl.c
  97. cputbl.c: gencpu
  98.     ./gencpu t >cputbl.c
  99. cputbl.h: gencpu
  100.     ./gencpu h >cputbl.h
  101.  
  102. cpu0.c: gencpu
  103.     ./gencpu f 0 >cpu0.c
  104. cpu1.c: gencpu
  105.     ./gencpu f 1 >cpu1.c
  106. cpu2.c: gencpu
  107.     ./gencpu f 2 >cpu2.c
  108. cpu3.c: gencpu
  109.     ./gencpu f 3 >cpu3.c
  110. cpu4.c: gencpu
  111.     ./gencpu f 4 >cpu4.c
  112. cpu5.c: gencpu
  113.     ./gencpu f 5 >cpu5.c
  114. cpu6.c: gencpu
  115.     ./gencpu f 6 >cpu6.c
  116. cpu7.c: gencpu
  117.     ./gencpu f 7 >cpu7.c
  118. cpu8.c: gencpu
  119.     ./gencpu f 8 >cpu8.c
  120. cpu9.c: gencpu
  121.     ./gencpu f 9 >cpu9.c
  122. cpuA.c: gencpu
  123.     ./gencpu f 10 >cpuA.c
  124. cpuB.c: gencpu
  125.     ./gencpu f 11 >cpuB.c
  126. cpuC.c: gencpu
  127.     ./gencpu f 12 >cpuC.c
  128. cpuD.c: gencpu
  129.     ./gencpu f 13 >cpuD.c
  130. cpuE.c: gencpu
  131.     ./gencpu f 14 >cpuE.c
  132. cpuF.c: gencpu
  133.     ./gencpu f 15 >cpuF.c
  134.  
  135. cpu0.o: cpu0.c cputbl.h
  136.     $(CC) $(INCLUDES) -c $(INCDIRS) $(CFLAGS) $(X_CFLAGS) $*.c
  137. cpu1.o: cpu1.c cputbl.h
  138.     $(CC) $(INCLUDES) -c $(INCDIRS) $(CFLAGS) $(X_CFLAGS) $*.c
  139. cpu2.o: cpu2.c cputbl.h
  140.     $(CC) $(INCLUDES) -c $(INCDIRS) $(CFLAGS) $(X_CFLAGS) $*.c
  141. cpu3.o: cpu3.c cputbl.h
  142.     $(CC) $(INCLUDES) -c $(INCDIRS) $(CFLAGS) $(X_CFLAGS) $*.c
  143. cpu4.o: cpu4.c cputbl.h
  144.     $(CC) $(INCLUDES) -c $(INCDIRS) $(CFLAGS) $(X_CFLAGS) $*.c
  145. cpu5.o: cpu5.c cputbl.h
  146.     $(CC) $(INCLUDES) -c $(INCDIRS) $(CFLAGS) $(X_CFLAGS) $*.c
  147. cpu6.o: cpu6.c cputbl.h
  148.     $(CC) $(INCLUDES) -c $(INCDIRS) $(CFLAGS) $(X_CFLAGS) $*.c
  149. cpu7.o: cpu7.c cputbl.h
  150.     $(CC) $(INCLUDES) -c $(INCDIRS) $(CFLAGS) $(X_CFLAGS) $*.c
  151. cpu8.o: cpu8.c cputbl.h
  152.     $(CC) $(INCLUDES) -c $(INCDIRS) $(CFLAGS) $(X_CFLAGS) $*.c
  153. cpu9.o: cpu9.c cputbl.h
  154.     $(CC) $(INCLUDES) -c $(INCDIRS) $(CFLAGS) $(X_CFLAGS) $*.c
  155. cpuA.o: cpuA.c cputbl.h
  156.     $(CC) $(INCLUDES) -c $(INCDIRS) $(CFLAGS) $(X_CFLAGS) $*.c
  157. cpuB.o: cpuB.c cputbl.h
  158.     $(CC) $(INCLUDES) -c $(INCDIRS) $(CFLAGS) $(X_CFLAGS) $*.c
  159. cpuC.o: cpuC.c cputbl.h
  160.     $(CC) $(INCLUDES) -c $(INCDIRS) $(CFLAGS) $(X_CFLAGS) $*.c
  161. cpuD.o: cpuD.c cputbl.h
  162.     $(CC) $(INCLUDES) -c $(INCDIRS) $(CFLAGS) $(X_CFLAGS) $*.c
  163. cpuE.o: cpuE.c cputbl.h
  164.     $(CC) $(INCLUDES) -c $(INCDIRS) $(CFLAGS) $(X_CFLAGS) $*.c
  165. cpuF.o: cpuF.c cputbl.h
  166.     $(CC) $(INCLUDES) -c $(INCDIRS) $(CFLAGS) $(X_CFLAGS) $*.c
  167.        
  168. bebox.o: bebox.cpp
  169.     $(CC) $(INCLUDES) -c $(INCDIRS) $(CFLAGS) $(X_CFLAGS) $(DEBUGFLAGS) bebox.cpp
  170.  
  171. .m.o:
  172.     $(CC) $(INCLUDES) -c $(INCDIRS) $(CFLAGS) $(X_CFLAGS) $(DEBUGFLAGS) $*.m
  173. .c.o:
  174.     $(CC) $(INCLUDES) -c $(INCDIRS) $(CFLAGS) $(X_CFLAGS) $(DEBUGFLAGS) $*.c
  175. .c.s:
  176.     $(CC) $(INCLUDES) -S $(INCDIRS) $(CFLAGS) $(X_CFLAGS) $*.c
  177. .S.o:
  178.     $(CC) $(INCLUDES) -c $(INCDIRS) $(CFLAGS) $(X_CFLAGS) $(DEBUGFLAGS) $*.S
  179.  
  180. # Saves recompiling...
  181. touch:
  182.     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
  183.  
  184. # Some more dependencies...
  185. cpustbl.o: cputbl.h
  186. cputbl.o: cputbl.h
  187.  
  188. build68k.o: include/readcpu.h
  189. readcpu.o: include/readcpu.h
  190.  
  191. main.o: config.h
  192. cia.o: config.h include/events.h
  193. custom.o: config.h include/events.h
  194. newcpu.o: config.h include/events.h
  195. autoconf.o: config.h
  196. expansion.o: config.h
  197. xwin.o: config.h
  198. svga.o: config.h
  199. bebox.o: config.h
  200. os.o: config.h
  201. memory.o: config.h
  202. debug.o: config.h
  203. ersatz.o: config.h
  204. disk.o: config.h include/events.h
  205. blitter.o: config.h include/events.h
  206.