home *** CD-ROM | disk | FTP | other *** search
/ Usenet 1994 October / usenetsourcesnewsgroupsinfomagicoctober1994disk2.iso / misc / volume4 / troff2lj-v2 / part01 / Makefile < prev    next >
Makefile  |  1989-02-03  |  2KB  |  90 lines

  1. # Makefile for troff2lj 
  2. # Latest revision: 07/27/88
  3.  
  4. # There's no "install" target, because that will vary too much from site
  5. # to site and needs some manual intervention anyway.
  6.  
  7. # CFLAGS might include -DLOHI; see README2.
  8. CFLAGS = -O
  9.  
  10. DOCS = README README2 Makefile sfp.pic
  11.  
  12. MANS = \
  13. dewidth.1 download.1 dumpfont.1 hpwidth.1 \
  14. installfont.1 htroff.1 mkhpfi.1 ccfinfo.1 ccfont.1 troff2lj.1 width.1 \
  15. hpfont.5 hpfontinfo.5
  16.  
  17. HDRS = hpconfig.h hpfinfo.h hpfont.h
  18.  
  19. SRCS = \
  20. dewidth.c download.c dumpfont.c hpwidth.c mkhpfi.c select.c troff2lj.c \
  21. heqn htroff installfont ccfinfo ccfont width \
  22. fthR.c fthI.c fthB.c fthS.c fiR.c fiI.c fiB.c
  23.  
  24. PGMS = \
  25. dewidth download dumpfont hpwidth mkhpfi troff2lj
  26.  
  27. FONT = fthR fthI fthB fthS  fiR fiI fiB
  28.  
  29. all:    $(PGMS) $(FONT)
  30.  
  31. dewidth:    dewidth.c
  32.     $(CC) $(CFLAGS) dewidth.c -o dewidth
  33.     strip dewidth
  34.  
  35. download:    download.c
  36.     $(CC) $(CFLAGS) download.c -o download
  37.     strip download
  38.  
  39. dumpfont:    dumpfont.c
  40.     $(CC) $(CFLAGS) dumpfont.c -o dumpfont
  41.     strip dumpfont
  42.  
  43. hpwidth:    hpwidth.c
  44.     $(CC) $(CFLAGS) hpwidth.c -o hpwidth
  45.     strip hpwidth
  46.  
  47. mkhpfi:        mkhpfi.c
  48.     $(CC) $(CFLAGS) mkhpfi.c -o mkhpfi
  49.     strip mkhpfi
  50.  
  51. troff2lj:    troff2lj.o select.o
  52.     $(CC) -o troff2lj troff2lj.o select.o
  53.     strip troff2lj
  54.  
  55. # Font width files.
  56. fthR:    fthR.c
  57.     ccfont fthR
  58.  
  59. fthI:    fthI.c
  60.     ccfont fthI
  61.  
  62. fthB:    fthB.c
  63.     ccfont fthB
  64.  
  65. fthS:    fthS.c
  66.     ccfont fthS
  67.  
  68. # HP fontinfo files.
  69. fiR:    fiR.c
  70.     ccfinfo fiR
  71.  
  72. fiI:    fiI.c
  73.     ccfinfo fiI
  74.  
  75. fiB:    fiB.c
  76.     ccfinfo fiB
  77.  
  78. clean:
  79.     rm -f $(PGMS) $(FONT) *.o kit Part* core
  80.  
  81. # makekit is part of Rich $alz's cshar package.
  82. kit:    $(DOCS) $(MANS) $(HDRS) $(SRCS)
  83.     makekit -m -p
  84.     touch kit
  85.  
  86. # Add missing default rule for UNOS.
  87. .SUFFIXES:    .o
  88. .c.o:
  89.     $(CC) $(CFLAGS) -c $<
  90.