Makefile revision 256281
1# Copyright (C) 1989-2002 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, 51 Franklin St - Fifth Floor, Boston, MA 02110-1301, 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# Note that the following font files have manually added kerning values for 25# `` and '': B, BI, I, R. 26 27srcdir=generate 28tfmdir=/usr/local/lib/groff-tfm 29gfdir=/usr/local/lib/groff-gf 30 31TFMTODIT=tfmtodit 32FONTS=TR TI TB TBI CW CWI HR HI HB HBI \ 33 TREC TIEC TBEC TBIEC CWEC CWIEC HREC HIEC HBEC HBIEC \ 34 TRTC TITC TBTC TBITC CWTC CWITC HRTC HITC HBTC HBITC \ 35 MI S SC EX SA SB 36SPECIALFLAG=-s 37 38all: $(FONTS) 39 40 41#### CM fonts #### 42 43# TR is special because it contains \(pl \(eq 44 45TR: $(srcdir)/texr.map 46 $(TFMTODIT) $(SPECIALFLAG) -g $(gfdir)/cmr10.300gf \ 47 $(tfmdir)/cmr10.tfm $(srcdir)/texr.map $@ 48 49# TI is special because it contains \(Po 50 51TI: $(srcdir)/texi.map 52 $(TFMTODIT) $(SPECIALFLAG) -g $(gfdir)/cmti10.300gf \ 53 $(tfmdir)/cmti10.tfm $(srcdir)/texi.map $@ 54 55TB: $(srcdir)/texb.map 56 $(TFMTODIT) -g $(gfdir)/cmbx10.300gf \ 57 $(tfmdir)/cmbx10.tfm $(srcdir)/texb.map $@ 58 59TBI: $(srcdir)/texi.map 60 $(TFMTODIT) -g $(gfdir)/cmbxti10.300gf \ 61 $(tfmdir)/cmbxti10.tfm $(srcdir)/texi.map $@ 62 63# CW is special because it contains " 64 65CW: $(srcdir)/textt.map 66 $(TFMTODIT) $(SPECIALFLAG) \ 67 $(tfmdir)/cmtt10.tfm $(srcdir)/textt.map $@ 68 69CWI: $(srcdir)/textt.map 70 $(TFMTODIT) \ 71 $(tfmdir)/cmitt10.tfm $(srcdir)/textt.map $@ 72 73MI: $(srcdir)/texmi.map 74 $(TFMTODIT) $(SPECIALFLAG) -k 0177 \ 75 $(tfmdir)/cmmi10.tfm $(srcdir)/texmi.map $@ 76 77S: $(srcdir)/texsy.map 78 $(TFMTODIT) $(SPECIALFLAG) -k 060 \ 79 $(tfmdir)/cmsy10.tfm $(srcdir)/texsy.map $@ 80 81SC: $(srcdir)/textex.map 82 $(TFMTODIT) $(SPECIALFLAG) \ 83 $(tfmdir)/cmtex10.tfm $(srcdir)/textex.map $@ 84 85EX: $(srcdir)/texex.map 86 $(TFMTODIT) $(SPECIALFLAG) \ 87 $(tfmdir)/cmex10.tfm $(srcdir)/texex.map $@ 88 89HR: $(srcdir)/texb.map 90 $(TFMTODIT) -g $(gfdir)/cmss10.300gf \ 91 $(tfmdir)/cmss10.tfm $(srcdir)/texb.map $@ 92 93HB: $(srcdir)/texb.map 94 $(TFMTODIT) -g $(gfdir)/cmssbx10.300gf \ 95 $(tfmdir)/cmssbx10.tfm $(srcdir)/texb.map $@ 96 97HI: $(srcdir)/texb.map 98 $(TFMTODIT) -g $(gfdir)/cmssi10.300gf \ 99 $(tfmdir)/cmssi10.tfm $(srcdir)/texb.map $@ 100 101HBI: $(srcdir)/texb.map 102 $(TFMTODIT) -g $(gfdir)/cmssbxo10.300gf \ 103 $(tfmdir)/cmssbxo10.tfm $(srcdir)/texb.map $@ 104 105SA: $(srcdir)/msam.map 106 $(TFMTODIT) $(SPECIALFLAG) \ 107 $(tfmdir)/msam10.tfm $(srcdir)/msam.map $@ 108 109SB: $(srcdir)/msbm.map 110 $(TFMTODIT) $(SPECIALFLAG) \ 111 $(tfmdir)/msbm10.tfm $(srcdir)/msbm.map $@ 112 113 114#### EC fonts #### 115 116TREC: $(srcdir)/ec.map 117 $(TFMTODIT) -g $(gfdir)/ecrm1000.300gf \ 118 $(tfmdir)/ecrm1000.tfm $(srcdir)/ec.map $@ 119 120TIEC: $(srcdir)/ec.map 121 $(TFMTODIT) -g $(gfdir)/ecti1000.300gf \ 122 $(tfmdir)/ecti1000.tfm $(srcdir)/ec.map $@ 123 124TBEC: $(srcdir)/ec.map 125 $(TFMTODIT) -g $(gfdir)/ecbx1000.300gf \ 126 $(tfmdir)/ecbx1000.tfm $(srcdir)/ec.map $@ 127 128TBIEC: $(srcdir)/ec.map 129 $(TFMTODIT) -g $(gfdir)/ecbi1000.300gf \ 130 $(tfmdir)/ecbi1000.tfm $(srcdir)/ec.map $@ 131 132CWEC: $(srcdir)/ec.map 133 $(TFMTODIT) $(tfmdir)/ectt1000.tfm $(srcdir)/ec.map $@ 134 135CWIEC: $(srcdir)/ec.map 136 $(TFMTODIT) $(tfmdir)/ecit1000.tfm $(srcdir)/ec.map $@ 137 138HREC: $(srcdir)/ec.map 139 $(TFMTODIT) -g $(gfdir)/ecss1000.300gf \ 140 $(tfmdir)/ecss1000.tfm $(srcdir)/ec.map $@ 141 142HBEC: $(srcdir)/ec.map 143 $(TFMTODIT) -g $(gfdir)/ecsx1000.300gf \ 144 $(tfmdir)/ecsx1000.tfm $(srcdir)/ec.map $@ 145 146HIEC: $(srcdir)/ec.map 147 $(TFMTODIT) -g $(gfdir)/ecsi1000.300gf \ 148 $(tfmdir)/ecsi1000.tfm $(srcdir)/ec.map $@ 149 150HBIEC: $(srcdir)/ec.map 151 $(TFMTODIT) -g $(gfdir)/ecso1000.300gf \ 152 $(tfmdir)/ecso1000.tfm $(srcdir)/ec.map $@ 153 154 155#### TC fonts #### 156 157TRTC: $(srcdir)/tc.map 158 $(TFMTODIT) $(SPECIALFLAG) -g $(gfdir)/tcrm1000.300gf \ 159 $(tfmdir)/tcrm1000.tfm $(srcdir)/tc.map $@ 160 161TITC: $(srcdir)/tc.map 162 $(TFMTODIT) $(SPECIALFLAG) -g $(gfdir)/tcti1000.300gf \ 163 $(tfmdir)/tcti1000.tfm $(srcdir)/tc.map $@ 164 165TBTC: $(srcdir)/tc.map 166 $(TFMTODIT) $(SPECIALFLAG) -g $(gfdir)/tcbx1000.300gf \ 167 $(tfmdir)/tcbx1000.tfm $(srcdir)/tc.map $@ 168 169TBITC: $(srcdir)/tc.map 170 $(TFMTODIT) $(SPECIALFLAG) -g $(gfdir)/tcbi1000.300gf \ 171 $(tfmdir)/tcbi1000.tfm $(srcdir)/tc.map $@ 172 173CWTC: $(srcdir)/tc.map 174 $(TFMTODIT) $(SPECIALFLAG) \ 175 $(tfmdir)/tctt1000.tfm $(srcdir)/tc.map $@ 176 177CWITC: $(srcdir)/tc.map 178 $(TFMTODIT) $(SPECIALFLAG) \ 179 $(tfmdir)/tcit1000.tfm $(srcdir)/tc.map $@ 180 181HRTC: $(srcdir)/tc.map 182 $(TFMTODIT) $(SPECIALFLAG) -g $(gfdir)/tcss1000.300gf \ 183 $(tfmdir)/tcss1000.tfm $(srcdir)/tc.map $@ 184 185HBTC: $(srcdir)/tc.map 186 $(TFMTODIT) $(SPECIALFLAG) -g $(gfdir)/tcsx1000.300gf \ 187 $(tfmdir)/tcsx1000.tfm $(srcdir)/tc.map $@ 188 189HITC: $(srcdir)/tc.map 190 $(TFMTODIT) $(SPECIALFLAG) -g $(gfdir)/tcsi1000.300gf \ 191 $(tfmdir)/tcsi1000.tfm $(srcdir)/tc.map $@ 192 193HBITC: $(srcdir)/tc.map 194 $(TFMTODIT) $(SPECIALFLAG) -g $(gfdir)/tcso1000.300gf \ 195 $(tfmdir)/tcso1000.tfm $(srcdir)/tc.map $@ 196 197 198clean: 199 200realclean: 201 -rm -f $(FONTS) 202 203extraclean: realclean 204 -rm -f core *~ "#*" 205 206.PHONY: clean realclean extraclean all 207