Home | History | Annotate | Line # | Download | only in generate
Makefile revision 1.1.1.1
      1  1.1  christos # Copyright (C) 1989-2002 Free Software Foundation, Inc.
      2  1.1  christos #      Written by James Clark (jjc (at] jclark.com)
      3  1.1  christos #
      4  1.1  christos # This file is part of groff.
      5  1.1  christos #
      6  1.1  christos # groff is free software; you can redistribute it and/or modify it under
      7  1.1  christos # the terms of the GNU General Public License as published by the Free
      8  1.1  christos # Software Foundation; either version 2, or (at your option) any later
      9  1.1  christos # version.
     10  1.1  christos #
     11  1.1  christos # groff is distributed in the hope that it will be useful, but WITHOUT ANY
     12  1.1  christos # WARRANTY; without even the implied warranty of MERCHANTABILITY or
     13  1.1  christos # FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
     14  1.1  christos # for more details.
     15  1.1  christos #
     16  1.1  christos # You should have received a copy of the GNU General Public License along
     17  1.1  christos # with groff; see the file COPYING.  If not, write to the Free Software
     18  1.1  christos # Foundation, 51 Franklin St - Fifth Floor, Boston, MA 02110-1301, USA.
     19  1.1  christos 
     20  1.1  christos # This is set up so you can do:
     21  1.1  christos #   make -f generate/Makefile
     22  1.1  christos # in the parent directory of the directory containing this file.
     23  1.1  christos 
     24  1.1  christos # Note that the following font files have manually added kerning values for
     25  1.1  christos # `` and '': B, BI, I, R.
     26  1.1  christos 
     27  1.1  christos srcdir=generate
     28  1.1  christos tfmdir=/usr/local/lib/groff-tfm
     29  1.1  christos gfdir=/usr/local/lib/groff-gf
     30  1.1  christos 
     31  1.1  christos TFMTODIT=tfmtodit
     32  1.1  christos FONTS=TR TI TB TBI CW CWI HR HI HB HBI \
     33  1.1  christos       TREC TIEC TBEC TBIEC CWEC CWIEC HREC HIEC HBEC HBIEC \
     34  1.1  christos       TRTC TITC TBTC TBITC CWTC CWITC HRTC HITC HBTC HBITC \
     35  1.1  christos       MI S SC EX SA SB
     36  1.1  christos SPECIALFLAG=-s
     37  1.1  christos 
     38  1.1  christos all: $(FONTS)
     39  1.1  christos 
     40  1.1  christos 
     41  1.1  christos #### CM fonts ####
     42  1.1  christos 
     43  1.1  christos # TR is special because it contains \(pl \(eq
     44  1.1  christos 
     45  1.1  christos TR: $(srcdir)/texr.map
     46  1.1  christos 	$(TFMTODIT) $(SPECIALFLAG) -g $(gfdir)/cmr10.300gf \
     47  1.1  christos 	  $(tfmdir)/cmr10.tfm $(srcdir)/texr.map $@
     48  1.1  christos 
     49  1.1  christos # TI is special because it contains \(Po
     50  1.1  christos 
     51  1.1  christos TI: $(srcdir)/texi.map
     52  1.1  christos 	$(TFMTODIT) $(SPECIALFLAG) -g $(gfdir)/cmti10.300gf \
     53  1.1  christos 	  $(tfmdir)/cmti10.tfm $(srcdir)/texi.map $@
     54  1.1  christos 
     55  1.1  christos TB: $(srcdir)/texb.map
     56  1.1  christos 	$(TFMTODIT) -g $(gfdir)/cmbx10.300gf \
     57  1.1  christos 	  $(tfmdir)/cmbx10.tfm $(srcdir)/texb.map $@
     58  1.1  christos 
     59  1.1  christos TBI: $(srcdir)/texi.map
     60  1.1  christos 	$(TFMTODIT) -g $(gfdir)/cmbxti10.300gf \
     61  1.1  christos 	  $(tfmdir)/cmbxti10.tfm $(srcdir)/texi.map $@
     62  1.1  christos 
     63  1.1  christos # CW is special because it contains "
     64  1.1  christos 
     65  1.1  christos CW: $(srcdir)/textt.map
     66  1.1  christos 	$(TFMTODIT) $(SPECIALFLAG) \
     67  1.1  christos 	  $(tfmdir)/cmtt10.tfm $(srcdir)/textt.map $@
     68  1.1  christos 
     69  1.1  christos CWI: $(srcdir)/textt.map
     70  1.1  christos 	$(TFMTODIT) \
     71  1.1  christos 	  $(tfmdir)/cmitt10.tfm $(srcdir)/textt.map $@
     72  1.1  christos 
     73  1.1  christos MI: $(srcdir)/texmi.map
     74  1.1  christos 	$(TFMTODIT) $(SPECIALFLAG) -k 0177 \
     75  1.1  christos 	  $(tfmdir)/cmmi10.tfm $(srcdir)/texmi.map $@
     76  1.1  christos 
     77  1.1  christos S: $(srcdir)/texsy.map
     78  1.1  christos 	$(TFMTODIT) $(SPECIALFLAG) -k 060 \
     79  1.1  christos 	  $(tfmdir)/cmsy10.tfm $(srcdir)/texsy.map $@
     80  1.1  christos 
     81  1.1  christos SC: $(srcdir)/textex.map
     82  1.1  christos 	$(TFMTODIT) $(SPECIALFLAG) \
     83  1.1  christos 	  $(tfmdir)/cmtex10.tfm $(srcdir)/textex.map $@
     84  1.1  christos 
     85  1.1  christos EX: $(srcdir)/texex.map
     86  1.1  christos 	$(TFMTODIT) $(SPECIALFLAG) \
     87  1.1  christos 	  $(tfmdir)/cmex10.tfm $(srcdir)/texex.map $@
     88  1.1  christos 
     89  1.1  christos HR: $(srcdir)/texb.map
     90  1.1  christos 	$(TFMTODIT) -g $(gfdir)/cmss10.300gf \
     91  1.1  christos 	  $(tfmdir)/cmss10.tfm $(srcdir)/texb.map $@
     92  1.1  christos 
     93  1.1  christos HB: $(srcdir)/texb.map
     94  1.1  christos 	$(TFMTODIT) -g $(gfdir)/cmssbx10.300gf \
     95  1.1  christos 	  $(tfmdir)/cmssbx10.tfm $(srcdir)/texb.map $@
     96  1.1  christos 
     97  1.1  christos HI: $(srcdir)/texb.map
     98  1.1  christos 	$(TFMTODIT) -g $(gfdir)/cmssi10.300gf \
     99  1.1  christos 	  $(tfmdir)/cmssi10.tfm $(srcdir)/texb.map $@
    100  1.1  christos 
    101  1.1  christos HBI: $(srcdir)/texb.map
    102  1.1  christos 	$(TFMTODIT) -g $(gfdir)/cmssbxo10.300gf \
    103  1.1  christos 	  $(tfmdir)/cmssbxo10.tfm $(srcdir)/texb.map $@
    104  1.1  christos 
    105  1.1  christos SA: $(srcdir)/msam.map
    106  1.1  christos 	$(TFMTODIT) $(SPECIALFLAG) \
    107  1.1  christos 	  $(tfmdir)/msam10.tfm $(srcdir)/msam.map $@
    108  1.1  christos 
    109  1.1  christos SB: $(srcdir)/msbm.map
    110  1.1  christos 	$(TFMTODIT) $(SPECIALFLAG) \
    111  1.1  christos 	  $(tfmdir)/msbm10.tfm $(srcdir)/msbm.map $@
    112  1.1  christos 
    113  1.1  christos 
    114  1.1  christos #### EC fonts ####
    115  1.1  christos 
    116  1.1  christos TREC: $(srcdir)/ec.map
    117  1.1  christos 	$(TFMTODIT) -g $(gfdir)/ecrm1000.300gf \
    118  1.1  christos 	  $(tfmdir)/ecrm1000.tfm $(srcdir)/ec.map $@
    119  1.1  christos 
    120  1.1  christos TIEC: $(srcdir)/ec.map
    121  1.1  christos 	$(TFMTODIT) -g $(gfdir)/ecti1000.300gf \
    122  1.1  christos 	  $(tfmdir)/ecti1000.tfm $(srcdir)/ec.map $@
    123  1.1  christos 
    124  1.1  christos TBEC: $(srcdir)/ec.map
    125  1.1  christos 	$(TFMTODIT) -g $(gfdir)/ecbx1000.300gf \
    126  1.1  christos 	  $(tfmdir)/ecbx1000.tfm $(srcdir)/ec.map $@
    127  1.1  christos 
    128  1.1  christos TBIEC: $(srcdir)/ec.map
    129  1.1  christos 	$(TFMTODIT) -g $(gfdir)/ecbi1000.300gf \
    130  1.1  christos 	  $(tfmdir)/ecbi1000.tfm $(srcdir)/ec.map $@
    131  1.1  christos 
    132  1.1  christos CWEC: $(srcdir)/ec.map
    133  1.1  christos 	$(TFMTODIT) $(tfmdir)/ectt1000.tfm $(srcdir)/ec.map $@
    134  1.1  christos 
    135  1.1  christos CWIEC: $(srcdir)/ec.map
    136  1.1  christos 	$(TFMTODIT) $(tfmdir)/ecit1000.tfm $(srcdir)/ec.map $@
    137  1.1  christos 
    138  1.1  christos HREC: $(srcdir)/ec.map
    139  1.1  christos 	$(TFMTODIT) -g $(gfdir)/ecss1000.300gf \
    140  1.1  christos 	  $(tfmdir)/ecss1000.tfm $(srcdir)/ec.map $@
    141  1.1  christos 
    142  1.1  christos HBEC: $(srcdir)/ec.map
    143  1.1  christos 	$(TFMTODIT) -g $(gfdir)/ecsx1000.300gf \
    144  1.1  christos 	  $(tfmdir)/ecsx1000.tfm $(srcdir)/ec.map $@
    145  1.1  christos 
    146  1.1  christos HIEC: $(srcdir)/ec.map
    147  1.1  christos 	$(TFMTODIT) -g $(gfdir)/ecsi1000.300gf \
    148  1.1  christos 	  $(tfmdir)/ecsi1000.tfm $(srcdir)/ec.map $@
    149  1.1  christos 
    150  1.1  christos HBIEC: $(srcdir)/ec.map
    151  1.1  christos 	$(TFMTODIT) -g $(gfdir)/ecso1000.300gf \
    152  1.1  christos 	  $(tfmdir)/ecso1000.tfm $(srcdir)/ec.map $@
    153  1.1  christos 
    154  1.1  christos 
    155  1.1  christos #### TC fonts ####
    156  1.1  christos 
    157  1.1  christos TRTC: $(srcdir)/tc.map
    158  1.1  christos 	$(TFMTODIT) $(SPECIALFLAG) -g $(gfdir)/tcrm1000.300gf \
    159  1.1  christos 	  $(tfmdir)/tcrm1000.tfm $(srcdir)/tc.map $@
    160  1.1  christos 
    161  1.1  christos TITC: $(srcdir)/tc.map
    162  1.1  christos 	$(TFMTODIT) $(SPECIALFLAG) -g $(gfdir)/tcti1000.300gf \
    163  1.1  christos 	  $(tfmdir)/tcti1000.tfm $(srcdir)/tc.map $@
    164  1.1  christos 
    165  1.1  christos TBTC: $(srcdir)/tc.map
    166  1.1  christos 	$(TFMTODIT) $(SPECIALFLAG) -g $(gfdir)/tcbx1000.300gf \
    167  1.1  christos 	  $(tfmdir)/tcbx1000.tfm $(srcdir)/tc.map $@
    168  1.1  christos 
    169  1.1  christos TBITC: $(srcdir)/tc.map
    170  1.1  christos 	$(TFMTODIT) $(SPECIALFLAG) -g $(gfdir)/tcbi1000.300gf \
    171  1.1  christos 	  $(tfmdir)/tcbi1000.tfm $(srcdir)/tc.map $@
    172  1.1  christos 
    173  1.1  christos CWTC: $(srcdir)/tc.map
    174  1.1  christos 	$(TFMTODIT) $(SPECIALFLAG) \
    175  1.1  christos 	  $(tfmdir)/tctt1000.tfm $(srcdir)/tc.map $@
    176  1.1  christos 
    177  1.1  christos CWITC: $(srcdir)/tc.map
    178  1.1  christos 	$(TFMTODIT) $(SPECIALFLAG) \
    179  1.1  christos 	  $(tfmdir)/tcit1000.tfm $(srcdir)/tc.map $@
    180  1.1  christos 
    181  1.1  christos HRTC: $(srcdir)/tc.map
    182  1.1  christos 	$(TFMTODIT) $(SPECIALFLAG) -g $(gfdir)/tcss1000.300gf \
    183  1.1  christos 	  $(tfmdir)/tcss1000.tfm $(srcdir)/tc.map $@
    184  1.1  christos 
    185  1.1  christos HBTC: $(srcdir)/tc.map
    186  1.1  christos 	$(TFMTODIT) $(SPECIALFLAG) -g $(gfdir)/tcsx1000.300gf \
    187  1.1  christos 	  $(tfmdir)/tcsx1000.tfm $(srcdir)/tc.map $@
    188  1.1  christos 
    189  1.1  christos HITC: $(srcdir)/tc.map
    190  1.1  christos 	$(TFMTODIT) $(SPECIALFLAG) -g $(gfdir)/tcsi1000.300gf \
    191  1.1  christos 	  $(tfmdir)/tcsi1000.tfm $(srcdir)/tc.map $@
    192  1.1  christos 
    193  1.1  christos HBITC: $(srcdir)/tc.map
    194  1.1  christos 	$(TFMTODIT) $(SPECIALFLAG) -g $(gfdir)/tcso1000.300gf \
    195  1.1  christos 	  $(tfmdir)/tcso1000.tfm $(srcdir)/tc.map $@
    196  1.1  christos 
    197  1.1  christos 
    198  1.1  christos clean:
    199  1.1  christos 
    200  1.1  christos realclean:
    201  1.1  christos 	-rm -f $(FONTS)
    202  1.1  christos 
    203  1.1  christos extraclean: realclean
    204  1.1  christos 	-rm -f core *~ "#*"
    205  1.1  christos 
    206  1.1  christos .PHONY: clean realclean extraclean all
    207