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

  1. # Generated automatically from Makefile.in by configure.
  2. # MakeFile for QuakeTools
  3.  
  4. QTLIB = @top_srcdir@/lib/libqtools.a
  5. QTLIBP = @top_srcdir@/lib/libqtools_p.a
  6. QTLIBV = @top_srcdir@/lib/libqtools_v.a
  7. QTLIBB = @top_srcdir@/lib/libqtools_b.a
  8.  
  9. #
  10. # buildings
  11. #
  12. default: $(QTLIB)                        # build the default useable library
  13. profile: $(QTLIBP)                        # build the library with later profiling capabilities
  14. coverage: $(QTLIBV)                        # build the library to analyse code-/execution-streams
  15. branch: $(QTLIBB)                        # rebuild the library after branches have been analysed
  16.     -mv -f $(QTLIBB) $(QTLIB)
  17. all: lib profile coverage                    # build the complete package
  18.  
  19. #
  20. # cleanups
  21. clean:                                # clean the default library
  22.     -rm -f $(QTLIB) $(QTOBJ)
  23. cleanprofile:                            # clean the profile library
  24.     -rm -f $(QTLIBP) $(QTOBJP)
  25. cleancoverage:                            # clean the analyse library
  26.     -rm -f $(QTLIBV) $(QTOBJV) $(QTOBJBB)
  27. cleanbranch:                            # clean the post-analysed branch-optimized library
  28.     -rm -f $(QTLIBB) $(QTOBJB)
  29. cleanall: clean cleancoverage cleanprofile cleanbranch        # clean everything
  30.  
  31. #
  32. # dists
  33. #
  34. distclean: cleanall                        # clean even the configured files
  35.     -rm -f Makefile
  36.  
  37. backup: Makefile
  38.     cp Makefile Makefile.bak
  39. restore: Makefile.bak
  40.     cp Makefile.bak Makefile
  41.     rm Makefile.bak
  42.  
  43. #
  44. # installations
  45. #  it doesnt make sence to install the analyse-library
  46. #
  47. install: default                        # install the default library
  48.     @INSTALL@ $(QTLIB) @libdir@
  49. installprofile: profile                        # install the profile library
  50.     @INSTALL@ $(QTLIBP) @libdir@
  51. installall: install installprofile                # install the everything library
  52.  
  53. #
  54. # debugging/analysing
  55. #
  56. analyse:
  57.     for i in $(QTSRC); do \
  58.       gcov -f -l -b $$i >$$i.branch; \
  59.     done
  60. analyseclean:
  61.     -rm -f $(QTOBJDA) *.branch *.gcov bsp/*.gcov
  62.  
  63. #
  64. # rules
  65. #
  66. include    @top_srcdir@/src/Makefile-rules
  67.  
  68. #
  69. # sources/objects/libraries
  70. #
  71. QTSRC =    bsp.c crc.c graphics.c locale.c map.c misc.c memory.c mip.c pak.c \
  72.     raw.c script.c TDDD.c wad.c
  73.  
  74. QTOBJ = $(QTSRC:.c=.o)
  75. QTOBJP = $(QTSRC:.c=_p.o) math_p.o
  76. QTOBJV = $(QTSRC:.c=.v)
  77. QTOBJB = $(QTSRC:.c=.b)
  78. QTOBJDA = $(QTSRC:.c=.da)
  79. QTOBJBB = $(QTSRC:.c=.b*)
  80.  
  81. @top_srcdir@/lib/libqtools.a: $(QTOBJ)
  82.     $(AR) rcv $@ $?
  83.     $(RAN) $@
  84. @top_srcdir@/lib/libqtools_p.a: $(QTOBJP)
  85.     $(AR) rcv $@ $?
  86.     $(RAN) $@
  87. @top_srcdir@/lib/libqtools_v.a: $(QTOBJV)
  88.     $(AR) rcv $@ $?
  89.     $(RAN) $@
  90.     -mv -f $(QTCOV) bsp
  91. @top_srcdir@/lib/libqtools_b.a: $(QTOBJB)
  92.     $(AR) rcv $@ $?
  93.     $(RAN) $@
  94.     -mv -f $(QTCOV) bsp
  95.  
  96. #
  97. # dependencies
  98. #
  99. depend:
  100.     @MKD@ -m $(INCL) $(QTSRC)
  101.  
  102. # DO NOT DELETE
  103.