home *** CD-ROM | disk | FTP | other *** search
/ The Datafile PD-CD 3 / PDCD_3.iso / tex / texsrc2 / Src / fontutil / Makefile < prev   
Encoding:
Makefile  |  1993-05-21  |  5.0 KB  |  187 lines

  1. # This file makes the font utility programs.
  2.  
  3. # Routines used everywhere.
  4. commondefines=^.lib.common_def ^.lib.texmf_def
  5. commonh=^.lib.h.common ^.lib.h.texmfmem
  6. commono=^.lib.o.library
  7.  
  8. CC = cc
  9. CFLAGS = -throwback -W -f
  10. CPPFLAGS = -I^.lib
  11.  
  12. CCLD = link
  13. LDFLAGS = 
  14. libs = $(commono) C:o.Stubs $(extralibs)
  15.  
  16. default: all
  17.  
  18. all: triptrap exec.gftodvi exec.gftopk exec.mft exec.pktogf exec.pktype \
  19.      exec.vftovp exec.vptovf
  20.      |
  21.  
  22. triptrap: exec.gftype exec.pltotf exec.tftopl
  23.      |
  24.  
  25. exec.gftodvi: o.gftodvi $(commono)
  26.         $(CCLD) -o exec.gftodvi $(LDFLAGS) o.gftodvi $(libs)
  27.         squeeze exec.gftodvi
  28. o.gftodvi: c.gftodvi $(commonh) h.gftodmem
  29.         $(CC) $(CFLAGS) $(CPPFLAGS) -c gftodvi
  30. c.gftodvi: gftodvi.p $(commondefines)
  31.         ^.lib.convert gftodvi c.gftodvi
  32. gftodvi.p: gftodvi.web gftodvi.ch
  33.         tangle gftodvi.web gftodvi.ch
  34.  
  35. exec.gftopk: o.gftopk $(commono)
  36.         $(CCLD) -o exec.gftopk $(LDFLAGS) o.gftopk $(libs)
  37.         squeeze exec.gftopk
  38. o.gftopk: c.gftopk $(commonh)
  39.         $(CC) $(CFLAGS) $(CPPFLAGS) -c gftopk
  40. c.gftopk: gftopk.p $(commondefines)
  41.         ^.lib.convert gftopk c.gftopk
  42. gftopk.p: gftopk.web gftopk.ch
  43.         tangle gftopk.web gftopk.ch
  44.  
  45.  
  46. exec.gftype: o.gftype $(commono)
  47.         $(CCLD) -o exec.gftype $(LDFLAGS) o.gftype $(libs) 
  48.         squeeze exec.gftype
  49. o.gftype: c.gftype $(commonh)
  50.         $(CC) $(CFLAGS) $(CPPFLAGS) -c gftype
  51. c.gftype: gftype.p $(commondefines)
  52.         ^.lib.convert gftype c.gftype
  53. gftype.p: gftype.web gftype.ch
  54.         tangle gftype.web gftype.ch
  55.  
  56.  
  57. exec.mft: o.mft $(commono)
  58.         $(CCLD) -o exec.mft $(LDFLAGS) o.mft $(libs)
  59.         squeeze exec.mft
  60. o.mft: c.mft $(commonh)
  61.         $(CC) $(CFLAGS) $(CPPFLAGS) -c mft
  62. c.mft: mft.p $(commondefines)
  63.         ^.lib.convert mft c.mft
  64. mft.p: mft.web mft.ch
  65.         tangle mft.web mft.ch
  66.  
  67.  
  68. exec.pktogf: o.pktogf $(commono)
  69.         $(CCLD) -o exec.pktogf $(LDFLAGS) o.pktogf $(libs)
  70.         squeeze exec.pktogf
  71. o.pktogf: c.pktogf $(commonh)
  72.         $(CC) $(CFLAGS) $(CPPFLAGS) -c pktogf
  73. c.pktogf: pktogf.p $(commondefines)
  74.         ^.lib.convert pktogf c.pktogf
  75. pktogf.p: pktogf.web pktogf.ch
  76.         tangle pktogf.web pktogf.ch
  77.  
  78.  
  79. exec.pktype: o.pktype $(commono)
  80.         $(CCLD) -o exec.pktype $(LDFLAGS) o.pktype $(libs)
  81.         squeeze exec.pktype
  82. o.pktype: c.pktype $(commonh)
  83.         $(CC) $(CFLAGS) $(CPPFLAGS) -c pktype
  84. c.pktype: pktype.p $(commondefines)
  85.         ^.lib.convert pktype c.pktype
  86. pktype.p: pktype.web pktype.ch
  87.         tangle pktype.web pktype.ch
  88.  
  89.  
  90. exec.pltotf: o.pltotf $(commono)
  91.         $(CCLD) -o exec.pltotf $(LDFLAGS) o.pltotf $(libs)
  92.         squeeze exec.pltotf
  93. o.pltotf: c.pltotf $(commonh)
  94.         $(CC) $(CFLAGS) $(CPPFLAGS) -c pltotf
  95. c.pltotf: pltotf.p $(commondefines)
  96.         ^.lib.convert pltotf c.pltotf
  97. pltotf.p: pltotf.web pltotf.ch
  98.         tangle pltotf.web pltotf.ch
  99.  
  100.  
  101. exec.tftopl: o.tftopl $(commono)
  102.         $(CCLD) -o exec.tftopl $(LDFLAGS) o.tftopl $(libs)
  103.         squeeze exec.tftopl
  104. o.tftopl: c.tftopl $(commonh)
  105.         $(CC) $(CFLAGS) $(CPPFLAGS) -c tftopl
  106. c.tftopl: tftopl.p $(commondefines)
  107.         ^.lib.convert tftopl c.tftopl
  108. tftopl.p: tftopl.web tftopl.ch
  109.         tangle tftopl.web tftopl.ch
  110.  
  111.  
  112. exec.vftovp: o.vftovp $(commono)
  113.         $(CCLD) -o exec.vftovp $(LDFLAGS) o.vftovp $(libs)
  114.         squeeze exec.vftovp
  115. o.vftovp: c.vftovp $(commonh)
  116.         $(CC) $(CFLAGS) $(CPPFLAGS) -c vftovp
  117. c.vftovp: vftovp.p $(commondefines)
  118.         ^.lib.convert vftovp c.vftovp
  119. vftovp.p: vftovp.web vftovp.ch
  120.         tangle vftovp.web vftovp.ch
  121.  
  122.  
  123. exec.vptovf: o.vptovf $(commono)
  124.         $(CCLD) -o exec.vptovf $(LDFLAGS) o.vptovf $(libs)
  125.         squeeze exec.vptovf
  126. o.vptovf: c.vptovf $(commonh)
  127.         $(CC) $(CFLAGS) $(CPPFLAGS) -c vptovf
  128. c.vptovf: vptovf.p $(commondefines)
  129.         ^.lib.convert vptovf c.vptovf
  130. vptovf.p: vptovf.web vptovf.ch
  131.         tangle vptovf.web vptovf.ch
  132.  
  133. clean:
  134.         remove gftodvi.p
  135.         remove gftopk.p
  136.         remove gftype.p
  137.         remove mft.p
  138.         remove pktogf.p
  139.         remove pktype.p
  140.         remove pltotf.p
  141.         remove tftopl.p
  142.         remove vftovp.p
  143.         remove vptovf.p
  144.         remove o.gftodvi
  145.         remove o.gftopk
  146.         remove o.gftype
  147.         remove o.mft
  148.         remove o.pktogf
  149.         remove o.pktype
  150.         remove o.pltotf
  151.         remove o.tftopl
  152.         remove o.vftovp
  153.         remove o.vptovf
  154.         remove c.gftodvi
  155.         remove c.gftopk
  156.         remove c.gftype
  157.         remove c.mft
  158.         remove c.pktogf
  159.         remove c.pktype
  160.         remove c.pltotf
  161.         remove c.tftopl
  162.         remove c.vftovp
  163.         remove c.vptovf
  164.         remove h.gftodvi
  165.         remove h.gftopk
  166.         remove h.gftype
  167.         remove h.mft
  168.         remove h.pktogf
  169.         remove h.pktype
  170.         remove h.pltotf
  171.         remove h.tftopl
  172.         remove h.vftovp
  173.         remove h.vptovf
  174.  
  175. veryclean:
  176.         remove exec.gftodvi
  177.         remove exec.gftopk
  178.         remove exec.gftype
  179.         remove exec.mft
  180.         remove exec.pktogf
  181.         remove exec.pktype
  182.         remove exec.pltotf
  183.         remove exec.tftopl
  184.         remove exec.vftovp
  185.         remove exec.vptovf
  186.  
  187.