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

  1. # Generated automatically from Makefile.in by configure.
  2. # MakeFile for QuakeTools
  3.  
  4. QBLIB = @top_srcdir@/lib/libqbuild.a
  5. QBLIBP = @top_srcdir@/lib/libqbuild_p.a
  6. QBLIBV = @top_srcdir@/lib/libqbuild_v.a
  7. QBLIBB = @top_srcdir@/lib/libqbuild_b.a
  8.  
  9. #
  10. # buildings
  11. #
  12. default: $(QBLIB)                        # build the default useable library
  13. profile: $(QBLIBP)                        # build the library with later profiling capabilities
  14. coverage: $(QBLIBV)                        # build the library to analyse code-/execution-streams
  15. branch: $(QBLIBB)                        # rebuild the library after branches have been analysed
  16.     -mv -f $(QBLIBB) $(QBLIB)
  17. all: lib profile coverage                    # build the complete package
  18.  
  19. #
  20. # cleanups
  21. clean:                                # clean the default library
  22.     -rm -f $(QBLIB) $(QBOBJ)
  23. cleanprofile:                            # clean the profile library
  24.     -rm -f $(QBLIBP) $(QBOBJP)
  25. cleancoverage:                            # clean the analyse library
  26.     -rm -f $(QBLIBV) $(QBOBJV) $(QBOBJBB)
  27. cleanbranch:                            # clean the post-analysed branch-optimized library
  28.     -rm -f $(QBLIB) $(QBOBJ)
  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@ $(QBLIB) @libdir@
  49. installprofile: profile                        # install the profile library
  50.     @INSTALL@ $(QBLIBP) @libdir@
  51. installall: install installprofile                # install the everything library
  52.  
  53. #
  54. # debugging/analysing
  55. #
  56. analyse:
  57.     for i in $(QBSRC); do \
  58.       gcov -f -l -b $$i >$$i.branch; \
  59.     done
  60. analyseclean:
  61.     -rm -f $(QBOBJDA) $(QBOBJBR) *.gcov
  62.  
  63. #
  64. # rules
  65. #
  66. include    @top_srcdir@/src/Makefile-rules
  67.  
  68. #
  69. # sources/objects/libraries
  70. #
  71. QBSRC =    brush.c csg4.c merge.c light.c nodraw.c outside.c \
  72.     portals.c qbsp.c qcc.c rad.c region.c solidbsp.c surfaces.c \
  73.     tjunc.c vis.c winding.c writebsp.c
  74.  
  75. QBOBJ = $(QBSRC:.c=.o)
  76. QBOBJP = $(QBSRC:.c=_p.o)
  77. QBOBJV = $(QBSRC:.c=.v)
  78. QBOBJB = $(QBSRC:.c=.b)
  79. QBOBJDA = $(QBSRC:.c=.da)
  80. QBOBJBR = $(QBSRC:.c=.branch)
  81. QBOBJBB = $(QBSRC:.c=.b*)
  82.  
  83. @top_srcdir@/lib/libqbuild.a: $(QBOBJ)
  84.     $(AR) rcv $@ $?
  85.     $(RAN) $@
  86. @top_srcdir@/lib/libqbuild_p.a: $(QBOBJP)
  87.     $(AR) rcv $@ $?
  88.     $(RAN) $@
  89. @top_srcdir@/lib/libqbuild_v.a: $(QBOBJV)
  90.     $(AR) rcv $@ $?
  91.     $(RAN) $@
  92. @top_srcdir@/lib/libqbuild_b.a: $(QBOBJB)
  93.     $(AR) rcv $@ $?
  94.     $(RAN) $@
  95.  
  96. #
  97. # dependencies
  98. #
  99. depend:
  100.     @MKD@ -m $(INCL) $(QBSRC)
  101.  
  102. # DO NOT DELETE
  103.