1#Copyright (C) 1989, 1990, 1991 Free Software Foundation, Inc.
2#     Written by James Clark (jjc@jclark.uucp)
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 1, 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 LICENSE.  If not, write to the Free Software
18#Foundation, 675 Mass Ave, Cambridge, MA 02139, USA.
19
20TFMDIR=tfm
21GFDIR=gf
22TFMTODIT=../tfmtodit
23FONTS=R I B BI CW MI S EX H HI HB
24SPECIALFLAG=-s
25
26all: $(FONTS)
27
28# R is special because it contains \(pl \(eq
29
30R: texr.map
31	$(TFMTODIT) $(SPECIALFLAG) -g $(GFDIR)/cmr10.300gf \
32	  $(TFMDIR)/cmr10.tfm texr.map $@
33
34# I is special because it contains \(Po
35
36I: texi.map
37	$(TFMTODIT) $(SPECIALFLAG) -g $(GFDIR)/cmti10.300gf \
38	  $(TFMDIR)/cmti10.tfm texi.map $@
39
40B: texb.map
41	$(TFMTODIT) -g $(GFDIR)/cmbx10.300gf \
42	  $(TFMDIR)/cmbx10.tfm texb.map $@
43
44BI: texi.map
45	$(TFMTODIT) -g $(GFDIR)/cmbxti10.300gf \
46	  $(TFMDIR)/cmbxti10.tfm texi.map $@
47
48# CW is special because it contains "
49
50CW: textt.map
51	$(TFMTODIT) $(SPECIALFLAG) $(TFMDIR)/cmtt10.tfm textt.map $@
52
53MI: texmi.map
54	$(TFMTODIT) $(SPECIALFLAG) -k 0177 $(TFMDIR)/cmmi10.tfm texmi.map $@
55
56S: texsy.map
57	$(TFMTODIT) $(SPECIALFLAG) -k 060 $(TFMDIR)/cmsy10.tfm texsy.map $@
58
59
60EX: texex.map
61	$(TFMTODIT) $(SPECIALFLAG) $(TFMDIR)/cmex10.tfm texex.map $@
62
63H: texr.map
64	$(TFMTODIT) -g $(GFDIR)/cmss10.300gf $(TFMDIR)/cmss10.tfm texb.map $@
65
66HB: texr.map
67	$(TFMTODIT) -g $(GFDIR)/cmssbx10.300gf \
68	  $(TFMDIR)/cmssbx10.tfm texb.map $@
69
70HI: texr.map
71	$(TFMTODIT) -g $(GFDIR)/cmssi10.300gf \
72	  $(TFMDIR)/cmssi10.tfm texb.map $@
73
74$(FONTS): $(TFMTODIT)
75