home *** CD-ROM | disk | FTP | other *** search
/ Dream 57 / Amiga_Dream_57.iso / Amiga / Programmation / c / QuakeC / qtools0.2-src.lha / src / libqsys / m68k / Makefile.in < prev    next >
Encoding:
Makefile  |  1998-07-15  |  2.6 KB  |  103 lines

  1. # Generated automatically from Makefile.in by configure.
  2. # MakeFile for QuakeTools
  3.  
  4. SYSLIB = @top_srcdir@/lib/libqsys.a
  5. SYSLIBP = @top_srcdir@/lib/libqsys_p.a
  6. SYSLIBV = @top_srcdir@/lib/libqsys_v.a
  7. SYSLIBB = @top_srcdir@/lib/libqsys_b.a
  8.  
  9. #
  10. # buildings
  11. #
  12. default: $(SYSLIB) @target_os@/Makefile                # build the default useable library
  13.     cd @target_os@; $(MAKE) -$(MAKEFLAGS) $@
  14. profile: $(SYSLIBP) @target_os@/Makefile            # build the library with later profiling capabilities
  15.     cd @target_os@; $(MAKE) -$(MAKEFLAGS) $@
  16. coverage: $(SYSLIBV) @target_os@/Makefile            # build the library to analyse code-/execution-streams
  17.     cd @target_os@; $(MAKE) -$(MAKEFLAGS) $@
  18. branch: $(SYSLIBB) @target_os@/Makefile                # rebuild the library after branches have been analysed
  19.     cd @target_os@; $(MAKE) -$(MAKEFLAGS) $@
  20.     -mv -f $(SYSLIBB) $(SYSLIB)
  21. all: lib profile coverage                    # build the complete package
  22.  
  23. #
  24. # cleanups
  25. clean: @target_os@/Makefile                    # clean the default library
  26.     -rm -f $(SYSLIB) $(SYSOBJ)
  27.     cd @target_os@; $(MAKE) -$(MAKEFLAGS) $@
  28. cleanprofile: @target_os@/Makefile                # clean the profile library
  29.     -rm -f $(SYSLIBP) $(SYSOBJP)
  30.     cd @target_os@; $(MAKE) -$(MAKEFLAGS) $@
  31. cleancoverage: @target_os@/Makefile                # clean the analyse library
  32.     -rm -f $(SYSLIBV) $(SYSOBJV) $(SYSOBJBB)
  33.     cd @target_os@; $(MAKE) -$(MAKEFLAGS) $@
  34. cleanbranch: @target_os@/Makefile                # clean the post-analysed branch-optimized library
  35.     -rm -f $(SYSLIB) $(SYSOBJ)
  36.     cd @target_os@; $(MAKE) -$(MAKEFLAGS) $@
  37. cleanall: clean cleancoverage cleanprofile cleanbranch        # clean everything
  38.  
  39. #
  40. # dists
  41. #
  42. distclean: cleanall                        # clean even the configured files
  43.     -rm -f Makefile
  44.  
  45. backup: Makefile
  46.     cp Makefile Makefile.bak
  47.     cd @target_os@; $(MAKE) -$(MAKEFLAGS) $@
  48. restore: Makefile.bak
  49.     cp Makefile.bak Makefile
  50.     rm Makefile.bak
  51.     cd @target_os@; $(MAKE) -$(MAKEFLAGS) $@
  52.  
  53. #
  54. # debugging/analysing
  55. #
  56. analyse:
  57.     for i in $(SYSSRC); do \
  58.       gcov -f -l -b $$i >$$i.branch; \
  59.     done
  60. analyseclean:
  61.     -rm -f $(SYSOBJDA) $(SYSOBJBR) *.gcov
  62.  
  63. #
  64. # rules
  65. #
  66. include    @top_srcdir@/src/Makefile-rules
  67. INCL += @top_srcdir@/src/include
  68.  
  69. #
  70. # sources/objects/libraries
  71. #
  72. SYSSRC = 
  73.  
  74. SYSOBJ = $(SYSSRC:.c=.o) Match.o LZW5b.o
  75. SYSOBJP = $(SYSSRC:.c=_p.o)
  76. SYSOBJV = $(SYSSRC:.c=.v) Match.o LZW5b.o
  77. SYSOBJB = $(SYSSRC:.c=.b) Match.o LZW5b.o
  78. SYSOBJDA = $(SYSSRC:.c=.da)
  79. SYSOBJBR = $(SYSSRC:.c=.branch)
  80. SYSOBJBB = $(SYSSRC:.c=.b*)
  81.  
  82. @top_srcdir@/lib/libqsys.a: $(SYSOBJ)
  83.     $(AR) rcv $@ $?
  84.     $(RAN) $@
  85. @top_srcdir@/lib/libqsys_p.a: $(SYSOBJP)
  86.     $(AR) rcv $@ $?
  87.     $(RAN) $@
  88. @top_srcdir@/lib/libqsys_v.a: $(SYSOBJV)
  89.     $(AR) rcv $@ $?
  90.     $(RAN) $@
  91. @top_srcdir@/lib/libqsys_b.a: $(SYSOBJB)
  92.     $(AR) rcv $@ $?
  93.     $(RAN) $@
  94.  
  95. #
  96. # dependencies
  97. #
  98. depend:
  99.     @MKD@ -m $(INCL) $(SYSSRC)
  100.  
  101. # DO NOT DELETE
  102.