home *** CD-ROM | disk | FTP | other *** search
/ Frozen Fish 1: Amiga / FrozenFish-Apr94.iso / bbs / gnu / groff-1.09-src.lha / src / amiga / groff-1.09 / devdvi / generate / Makefile < prev    next >
Makefile  |  1994-02-21  |  3KB  |  94 lines

  1. #Copyright (C) 1989, 1990, 1991, 1992 Free Software Foundation, Inc.
  2. #     Written by James Clark (jjc@jclark.com)
  3. #
  4. #This file is part of groff.
  5. #
  6. #groff is free software; you can redistribute it and/or modify it under
  7. #the terms of the GNU General Public License as published by the Free
  8. #Software Foundation; either version 2, or (at your option) any later
  9. #version.
  10. #
  11. #groff is distributed in the hope that it will be useful, but WITHOUT ANY
  12. #WARRANTY; without even the implied warranty of MERCHANTABILITY or
  13. #FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
  14. #for more details.
  15. #
  16. #You should have received a copy of the GNU General Public License along
  17. #with groff; see the file COPYING.  If not, write to the Free Software
  18. #Foundation, 675 Mass Ave, Cambridge, MA 02139, USA.
  19.  
  20. # This is set up so you can do:
  21. #   make -f generate/Makefile
  22. # in the parent directory of the directory containing this file.
  23.  
  24. srcdir=.
  25. tfmdir=/gnu/lib/groff-tfm
  26. gfdir=/gnu/lib/groff-gf
  27.  
  28. TFMTODIT=tfmtodit
  29. FONTS=R I B BI CW MI S EX H HI HB SA SB
  30. SPECIALFLAG=-s
  31.  
  32. all: $(FONTS)
  33.  
  34. # R is special because it contains \(pl \(eq
  35.  
  36. R: $(srcdir)/texr.map
  37.     $(TFMTODIT) $(SPECIALFLAG) -g $(gfdir)/cmr10.300gf \
  38.       $(tfmdir)/cmr10.tfm $(srcdir)/texr.map $@
  39.  
  40. # I is special because it contains \(Po
  41.  
  42. I: $(srcdir)/texi.map
  43.     $(TFMTODIT) $(SPECIALFLAG) -g $(gfdir)/cmti10.300gf \
  44.       $(tfmdir)/cmti10.tfm $(srcdir)/texi.map $@
  45.  
  46. B: $(srcdir)/texb.map
  47.     $(TFMTODIT) -g $(gfdir)/cmbx10.300gf \
  48.       $(tfmdir)/cmbx10.tfm $(srcdir)/texb.map $@
  49.  
  50. BI: $(srcdir)/texi.map
  51.     $(TFMTODIT) -g $(gfdir)/cmbxti10.300gf \
  52.       $(tfmdir)/cmbxti10.tfm $(srcdir)/texi.map $@
  53.  
  54. # CW is special because it contains "
  55.  
  56. CW: $(srcdir)/textt.map
  57.     $(TFMTODIT) $(SPECIALFLAG) $(tfmdir)/cmtt10.tfm $(srcdir)/textt.map $@
  58.  
  59. MI: $(srcdir)/texmi.map
  60.     $(TFMTODIT) $(SPECIALFLAG) -k 0177 $(tfmdir)/cmmi10.tfm $(srcdir)/texmi.map $@
  61.  
  62. S: $(srcdir)/texsy.map
  63.     $(TFMTODIT) $(SPECIALFLAG) -k 060 $(tfmdir)/cmsy10.tfm $(srcdir)/texsy.map $@
  64.  
  65. EX: $(srcdir)/texex.map
  66.     $(TFMTODIT) $(SPECIALFLAG) $(tfmdir)/cmex10.tfm $(srcdir)/texex.map $@
  67.  
  68. H: $(srcdir)/texr.map
  69.     $(TFMTODIT) -g $(gfdir)/cmss10.300gf $(tfmdir)/cmss10.tfm $(srcdir)/texb.map $@
  70.  
  71. HB: $(srcdir)/texr.map
  72.     $(TFMTODIT) -g $(gfdir)/cmssbx10.300gf \
  73.       $(tfmdir)/cmssbx10.tfm $(srcdir)/texb.map $@
  74.  
  75. HI: $(srcdir)/texr.map
  76.     $(TFMTODIT) -g $(gfdir)/cmssi10.300gf \
  77.       $(tfmdir)/cmssi10.tfm $(srcdir)/texb.map $@
  78.  
  79. SA: $(srcdir)/msam.map
  80.     $(TFMTODIT) $(SPECIALFLAG) $(tfmdir)/msam10.tfm $(srcdir)/msam.map $@
  81.  
  82. SB: $(srcdir)/msbm.map
  83.     $(TFMTODIT) $(SPECIALFLAG) $(tfmdir)/msbm10.tfm $(srcdir)/msbm.map $@
  84.  
  85. clean:
  86.  
  87. realclean:
  88.     -rm -f $(FONTS)
  89.  
  90. extraclean: realclean
  91.     -rm -f core *~ \#*
  92.  
  93. .PHONY: clean realclean extraclean all
  94.