PageRenderTime 56ms CodeModel.GetById 42ms app.highlight 11ms RepoModel.GetById 1ms app.codeStats 0ms

/contrib/groff/font/devlj4/generate/Makefile

https://bitbucket.org/freebsd/freebsd-head/
Makefile | 266 lines | 123 code | 58 blank | 85 comment | 0 complexity | 9863f469f488bd63723395132be4e86b MD5 | raw file
  1# Copyright (C) 1994, 2002, 2003, 2004 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# Directory containing Autofont TFM files.
 21# The TFM files used are available for ftp as
 22#
 23#   ftp://ftp.hp.com/pub/faxes/software/tfmlj4p.exe
 24#
 25# This is a self-extracting MS-DOS archive (in ZIP format).
 26#
 27# Metric files for the Arial and Times New Roman families and the Symbol
 28# font have been replaced with versions which have more glyphs and/or
 29# kerning pairs:
 30#
 31#   ftp://ftp.ffii.org/pub/groff/contrib/lj4/tfmlj4x.zip
 32
 33# This is set up so you can do
 34#   make -f generate/Makefile
 35# in the parent directory of this directory.
 36
 37AUTOFONT=/usr/local/lib/groff-lj4
 38HPFTODIT=hpftodit
 39# .05 em
 40IFLAG=-i 50
 41SFLAG=-s
 42srcdir=generate
 43TEXTMAP=$(srcdir)/text.map
 44SPECIALMAP=$(srcdir)/special.map
 45SYMBOLMAP=$(srcdir)/symbol.map
 46WINGDINGSMAP=$(srcdir)/wingdings.map
 47
 48FONTS=\
 49  AB ABI AI AR \
 50  ALBB ALBR \
 51  AOB AOI AOR \
 52  CB CBI CI CR \
 53  GB GBI GI GR \
 54  LGB LGI LGR \
 55  OB OBI OI OR \
 56  TB TBI TI TR \
 57  TNRB TNRBI TNRI TNRR \
 58  UB UBI UI UR \
 59  UCB UCBI UCI UCR \
 60  CLARENDON CORONET MARIGOLD S \
 61  SYMBOL WINGDINGS
 62
 63all: $(FONTS)
 64
 65#
 66# Intellifont
 67#
 68
 69# CG Times
 70TR: $(AUTOFONT)/9nb00086.tfm $(TEXTMAP)
 71	$(HPFTODIT) $(AUTOFONT)/9nb00086.tfm $(TEXTMAP) $@
 72
 73# CG Times Italic
 74TI: $(AUTOFONT)/9nb00084.tfm $(TEXTMAP)
 75	$(HPFTODIT) $(IFLAG) $(AUTOFONT)/9nb00084.tfm $(TEXTMAP) $@
 76
 77# CG Times Bold
 78TB: $(AUTOFONT)/9nb00083.tfm $(TEXTMAP)
 79	$(HPFTODIT) $(AUTOFONT)/9nb00083.tfm $(TEXTMAP) $@
 80
 81# CG Times Bold Italic
 82TBI: $(AUTOFONT)/9nb00085.tfm $(TEXTMAP)
 83	$(HPFTODIT) $(IFLAG) $(AUTOFONT)/9nb00085.tfm $(TEXTMAP) $@
 84
 85# Courier
 86CR: $(AUTOFONT)/9nb00064.tfm $(TEXTMAP)
 87	$(HPFTODIT) $(AUTOFONT)/9nb00064.tfm $(TEXTMAP) $@
 88
 89# Courier Italic
 90CI: $(AUTOFONT)/9nb00062.tfm $(TEXTMAP)
 91	$(HPFTODIT) $(IFLAG) $(AUTOFONT)/9nb00062.tfm $(TEXTMAP) $@
 92
 93# Courier Bold
 94CB: $(AUTOFONT)/9nb00061.tfm $(TEXTMAP)
 95	$(HPFTODIT) $(AUTOFONT)/9nb00061.tfm $(TEXTMAP) $@
 96
 97# Courier Bold Italic
 98CBI: $(AUTOFONT)/9nb00063.tfm $(TEXTMAP)
 99	$(HPFTODIT) $(IFLAG) $(AUTOFONT)/9nb00063.tfm $(TEXTMAP) $@
100
101# Garamond Antiqua
102GR: $(AUTOFONT)/9nb00068.tfm $(TEXTMAP)
103	$(HPFTODIT) $(AUTOFONT)/9nb00068.tfm $(TEXTMAP) $@
104
105# Garamond Kursiv
106GI: $(AUTOFONT)/9nb00066.tfm $(TEXTMAP)
107	$(HPFTODIT) $(IFLAG) $(AUTOFONT)/9nb00066.tfm $(TEXTMAP) $@
108
109# Garamond Halbfett
110GB: $(AUTOFONT)/9nb00065.tfm $(TEXTMAP)
111	$(HPFTODIT) $(AUTOFONT)/9nb00065.tfm $(TEXTMAP) $@
112
113# Garamond Kursiv Halbfett
114GBI: $(AUTOFONT)/9nb00067.tfm $(TEXTMAP)
115	$(HPFTODIT) $(IFLAG) $(AUTOFONT)/9nb00067.tfm $(TEXTMAP) $@
116
117# Omega
118OR: $(AUTOFONT)/9nb00076.tfm $(TEXTMAP)
119	$(HPFTODIT) $(AUTOFONT)/9nb00076.tfm $(TEXTMAP) $@
120
121# Omega Italic
122OI: $(AUTOFONT)/9nb00074.tfm $(TEXTMAP)
123	$(HPFTODIT) $(IFLAG) $(AUTOFONT)/9nb00074.tfm $(TEXTMAP) $@
124
125# Omega Bold
126OB: $(AUTOFONT)/9nb00073.tfm $(TEXTMAP)
127	$(HPFTODIT) $(AUTOFONT)/9nb00073.tfm $(TEXTMAP) $@
128
129# Omega Bold Italic
130OBI: $(AUTOFONT)/9nb00075.tfm $(TEXTMAP)
131	$(HPFTODIT) $(IFLAG) $(AUTOFONT)/9nb00075.tfm $(TEXTMAP) $@
132
133# Univers
134UR: $(AUTOFONT)/9nb00094.tfm $(TEXTMAP)
135	$(HPFTODIT) $(AUTOFONT)/9nb00094.tfm $(TEXTMAP) $@
136
137# Univers Italic
138UI: $(AUTOFONT)/9nb00092.tfm $(TEXTMAP)
139	$(HPFTODIT) $(IFLAG) $(AUTOFONT)/9nb00092.tfm $(TEXTMAP) $@
140
141# Univers Bold
142UB: $(AUTOFONT)/9nb00088.tfm $(TEXTMAP)
143	$(HPFTODIT) $(AUTOFONT)/9nb00088.tfm $(TEXTMAP) $@
144
145# Univers Bold Italic
146UBI: $(AUTOFONT)/9nb00093.tfm $(TEXTMAP)
147	$(HPFTODIT) $(IFLAG) $(AUTOFONT)/9nb00093.tfm $(TEXTMAP) $@
148
149# Univers Condensed
150UCR: $(AUTOFONT)/9nb00089.tfm $(TEXTMAP)
151	$(HPFTODIT) $(AUTOFONT)/9nb00089.tfm $(TEXTMAP) $@
152
153# Univers Condensed Italic
154UCI: $(AUTOFONT)/9nb00087.tfm $(TEXTMAP)
155	$(HPFTODIT) $(IFLAG) $(AUTOFONT)/9nb00087.tfm $(TEXTMAP) $@
156
157# Univers Condensed Bold
158UCB: $(AUTOFONT)/9nb00090.tfm $(TEXTMAP)
159	$(HPFTODIT) $(AUTOFONT)/9nb00090.tfm $(TEXTMAP) $@
160
161# Univers Condensed Bold Italic
162UCBI: $(AUTOFONT)/9nb00091.tfm $(TEXTMAP)
163	$(HPFTODIT) $(IFLAG) $(AUTOFONT)/9nb00091.tfm $(TEXTMAP) $@
164
165# Albertus
166ALBR: $(AUTOFONT)/9nb00052.tfm $(TEXTMAP)
167	$(HPFTODIT) $(AUTOFONT)/9nb00052.tfm $(TEXTMAP) $@
168
169# Albertus Extrabold
170ALBB: $(AUTOFONT)/9nb00051.tfm $(TEXTMAP)
171	$(HPFTODIT) $(AUTOFONT)/9nb00051.tfm $(TEXTMAP) $@
172
173# Letter Gothic
174LGR: $(AUTOFONT)/9nb00071.tfm $(TEXTMAP)
175	$(HPFTODIT) $(AUTOFONT)/9nb00071.tfm $(TEXTMAP) $@
176
177# Letter Gothic Italic
178LGI: $(AUTOFONT)/9nb00070.tfm $(TEXTMAP)
179	$(HPFTODIT) $(IFLAG) $(AUTOFONT)/9nb00070.tfm $(TEXTMAP) $@
180
181# Letter Gothic Bold
182LGB: $(AUTOFONT)/9nb00069.tfm $(TEXTMAP)
183	$(HPFTODIT) $(AUTOFONT)/9nb00069.tfm $(TEXTMAP) $@
184
185# Antique Olive
186AOR: $(AUTOFONT)/9nb00055.tfm $(TEXTMAP)
187	$(HPFTODIT) $(AUTOFONT)/9nb00055.tfm $(TEXTMAP) $@
188
189# Antique Olive Italic
190AOI: $(AUTOFONT)/9nb00054.tfm $(TEXTMAP)
191	$(HPFTODIT) $(IFLAG) $(AUTOFONT)/9nb00054.tfm $(TEXTMAP) $@
192
193# Antique Olive Bold
194AOB: $(AUTOFONT)/9nb00053.tfm $(TEXTMAP)
195	$(HPFTODIT) $(AUTOFONT)/9nb00053.tfm $(TEXTMAP) $@
196
197# Marigold
198MARIGOLD: $(AUTOFONT)/9nb00072.tfm $(TEXTMAP)
199	$(HPFTODIT) $(AUTOFONT)/9nb00072.tfm $(TEXTMAP) $@
200
201# Coronet
202CORONET: $(AUTOFONT)/9nb00077.tfm $(TEXTMAP)
203	$(HPFTODIT) $(IFLAG) $(AUTOFONT)/9nb00077.tfm $(TEXTMAP) $@
204
205# Clarendon Condensed
206CLARENDON: $(AUTOFONT)/9nb00060.tfm $(TEXTMAP)
207	$(HPFTODIT) $(AUTOFONT)/9nb00060.tfm $(TEXTMAP) $@
208
209S: $(AUTOFONT)/9nb00086.tfm $(SPECIALMAP) $(srcdir)/special.awk
210	$(HPFTODIT) $(SFLAG) $(AUTOFONT)/9nb00086.tfm $(SPECIALMAP) - \
211	| awk -f $(srcdir)/special.awk > $@
212
213#
214# TrueType
215#
216
217# Times New Roman
218TNRR: $(AUTOFONT)/tmnr000s.tfm $(TEXTMAP)
219	$(HPFTODIT) $(AUTOFONT)/tmnr000s.tfm $(TEXTMAP) $@
220
221# Times New Roman Italic
222TNRI: $(AUTOFONT)/tmni000s.tfm $(TEXTMAP)
223	$(HPFTODIT) $(IFLAG) $(AUTOFONT)/tmni000s.tfm $(TEXTMAP) $@
224
225# Times New Roman Bold
226TNRB: $(AUTOFONT)/tmnb000s.tfm $(TEXTMAP)
227	$(HPFTODIT) $(AUTOFONT)/tmnb000s.tfm $(TEXTMAP) $@
228
229# Times New Roman Bold Italic
230TNRBI: $(AUTOFONT)/tmnj000s.tfm $(TEXTMAP)
231	$(HPFTODIT) $(IFLAG) $(AUTOFONT)/tmnj000s.tfm $(TEXTMAP) $@
232
233# Arial
234AR: $(AUTOFONT)/arlr000s.tfm $(TEXTMAP)
235	$(HPFTODIT) $(AUTOFONT)/arlr000s.tfm $(TEXTMAP) $@
236
237# Arial Italic
238AI: $(AUTOFONT)/arli000s.tfm $(TEXTMAP)
239	$(HPFTODIT) $(IFLAG) $(AUTOFONT)/arli000s.tfm $(TEXTMAP) $@
240
241# Arial Bold
242AB: $(AUTOFONT)/arlb000s.tfm $(TEXTMAP)
243	$(HPFTODIT) $(AUTOFONT)/arlb000s.tfm $(TEXTMAP) $@
244
245# Arial Bold Italic
246ABI: $(AUTOFONT)/arlj000s.tfm $(TEXTMAP)
247	$(HPFTODIT) $(IFLAG) $(AUTOFONT)/arlj000s.tfm $(TEXTMAP) $@
248
249# Symbol
250SYMBOL: $(AUTOFONT)/9nb28703.tfm $(SYMBOLMAP)
251	$(HPFTODIT) $(AUTOFONT)/9nb28703.tfm $(SYMBOLMAP) $@
252
253# Wingdings
254WINGDINGS: $(AUTOFONT)/9nb00095.tfm $(WINGDINGSMAP)
255	$(HPFTODIT) $(AUTOFONT)/9nb00095.tfm $(WINGDINGSMAP) $@
256
257
258clean:
259
260realclean:
261	-rm -f $(FONTS)
262
263extraclean: realclean
264	-rm -f core *~ "#*"
265
266.PHONY: clean realclean extraclean all