home *** CD-ROM | disk | FTP | other *** search
/ Dream 57 / Amiga_Dream_57.iso / Amiga / Programmation / c / QuakeC / qtools0.2-src.lha / src / libqsys / Makefile.in < prev    next >
Encoding:
Makefile  |  1998-07-13  |  2.4 KB  |  108 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_cpu@/Makefile
  13.     cd @target_cpu@; $(MAKE) -$(MAKEFLAGS) $@
  14. profile: $(SYSLIBP) @target_cpu@/Makefile
  15.     cd @target_cpu@; $(MAKE) -$(MAKEFLAGS) $@
  16. coverage: $(SYSLIBV) @target_cpu@/Makefile
  17.     cd @target_cpu@; $(MAKE) -$(MAKEFLAGS) $@
  18. branch: $(SYSLIBB) @target_cpu@/Makefile
  19.     cd @target_cpu@; $(MAKE) -$(MAKEFLAGS) $@
  20.     -mv -f $(SYSLIBB) $(SYSLIB)
  21. all: default profile coverage
  22.  
  23. #
  24. # cleanups
  25. clean: @target_cpu@/Makefile
  26.     -rm -f $(SYSLIB) $(SYSOBJ)
  27.     cd @target_cpu@; $(MAKE) -$(MAKEFLAGS) $@
  28. cleanprofile: @target_cpu@/Makefile
  29.     -rm -f $(SYSLIBP) $(SYSOBJP)
  30.     cd @target_cpu@; $(MAKE) -$(MAKEFLAGS) $@
  31. cleancoverage: @target_cpu@/Makefile
  32.     -rm -f $(SYSLIBV) $(SYSOBJV) $(SYSOBJBB)
  33.     cd @target_cpu@; $(MAKE) -$(MAKEFLAGS) $@
  34. cleanbranch: @target_cpu@/Makefile
  35.     -rm -f $(SYSLIBB) $(SYSOBJB)
  36.     cd @target_cpu@; $(MAKE) -$(MAKEFLAGS) $@
  37. cleanall: clean cleanprofile cleancoverage cleanbranch
  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.     cp generic.h generic.bak
  48.     cd @target_cpu@; $(MAKE) -$(MAKEFLAGS) $@
  49. restore: Makefile.bak
  50.     cp Makefile.bak Makefile
  51.     rm Makefile.bak
  52.     cp generic.bak generic.h
  53.     rm generic.bak
  54.     cd @target_cpu@; $(MAKE) -$(MAKEFLAGS) $@
  55.  
  56. analyse:
  57.     for i in $(SYSSRC) ; do \
  58.       gcov -f -l -b $$i >$$i.branch; \
  59.     done
  60. analyseclean:
  61.     -rm -f $(DOBJDA) $(DOBJBR) *.gcov
  62.  
  63. #
  64. # rules
  65. #
  66. include    @top_srcdir@/src/Makefile-rules
  67.  
  68. #
  69. # sources/objects/libraries
  70. #
  71. SYSSRC = generic.c
  72.  
  73. SYSOBJ = $(SYSSRC:.c=.o)
  74. SYSOBJP = $(SYSSRC:.c=_p.o)
  75. SYSOBJV = $(SYSSRC:.c=.v)
  76. SYSOBJB = $(SYSSRC:.c=.b)
  77. SYSOBJSYSA = $(SYSSRC:.c=.da)
  78. SYSOBJBR = $(SYSSRC:.c=.branch)
  79. SYSOBJBB = $(SYSSRC:.c=.b*)
  80.  
  81. @top_srcdir@/lib/libqsys.a: $(SYSOBJ)
  82.     $(AR) rcv $@ $?
  83.     $(RAN) $@
  84. @top_srcdir@/lib/libqsys_p.a: $(SYSOBJP)
  85.     $(AR) rcv $@ $?
  86.     $(RAN) $@
  87. @top_srcdir@/lib/libqsys_v.a: $(SYSOBJV)
  88.     $(AR) rcv $@ $?
  89.     $(RAN) $@
  90. @top_srcdir@/lib/libqsys_b.a: $(SYSOBJB)
  91.     $(AR) rcv $@ $?
  92.     $(RAN) $@
  93.  
  94. #
  95. # dependencies
  96. #
  97. depend:
  98.     @MKD@ -m $(INCL) $(SYSSRC)
  99.  
  100. generic.h: @target_cpu@/@target_cpu@.h @target_cpu@/@target_os@/@target_os@.h
  101. @target_cpu@/@target_cpu@.h:
  102.     touch $@
  103. @target_cpu@/@target_os@/@target_os@.h:
  104.     touch $@
  105.  
  106. # DO NOT DELETE
  107.