########################################################################## ########################################################################## # # Makefile for # iftexplgen - generate TeX PL files # ########################################################################## ########################################################################## #/* */ #/* Copyright 1985 IMAGEN Corporation */ #/* 2650 San Tomas Expressway */ #/* P.O. Box 58101 */ #/* Santa Clara, CA 95052-8101 */ #/* (408) 986-9400 */ #/* */ ########################################################################## ########################################################################## SHELL = /bin/sh BIN = usr/local/bin MAN = usr/man/man1 CC = /bin/cc OPTS = -g # # Define the type of UNIX system. Legal values are # -DV4_2 -DSYSV -DSYSIII # SYSTEM = -DV4_2 # # Define location of various font directories # RSTDirectory = '-DRSTDirectory="/rd/tools/tex/rst"' PXLDirectory = '-DPXLDirectory="/rd/tools/tex/pxl"' GFDirectory = '-DGFDirectory="/rd/tools/tex/gf.sav"' RESDirectory = '-DRESDirectory="/rd/tools/tex/resident"' TFMDirectory = '-DTFMDirectory="/rd/tools/tex/fonts"' DEFS = "$(SYSTEM)" $(RSTDirectory) $(PXLDirectory) $(GFDirectory) \ $(RESDirectory) $(TFMDirectory) INCLUDE = -I. CFLAGS = $(OPTS) $(DEFS) $(INCLUDE) LOPTS = -g LINT = /usr/bin/lint LTFLAGS = $(DEFS) -I$(INCLUDE) #INSTALL = cp $? $@ INSTALL = apollo_install $? $@ WEAVE = /rd/tools/tex/bin/weave TANGLE = /rd/tools/tex/bin/tangle PASCAL = pas goal: iftexplgen dviimp iftexplgen: iftexplgen.o $(CC) $(LOPTS) -o iftexplgen iftexplgen.o -limagen dviimp: dviimp.o $(CC) $(LOPTS) -o dviimp dviimp.o dviimp.bin: dviimp.web dviimp.change $(TANGLE) dviimp $(PASCAL) dviimp install: $(BIN)/iftexplgen $(BIN)/dviimp $(MAN)/iftexplgen.1 $(MAN)/dviimp.1 $(BIN)/iftexplgen: iftexplgen $(INSTALL) $(BIN)/dviimp: dviimp $(INSTALL) $(MAN)/iftexplgen.1: iftexplgen.1 $(INSTALL) $(MAN)/dviimp.1: dviimp.1 $(INSTALL) lint: L-iftexplgen L-dviimp L-iftexplgen: $(LINT) $(LTFLAGS) iftexplgen.c L-dviimp: $(LINT) $(LTFLAGS) dviimp.c clean: rm -rf *.o *.pl *.tfm iftexplgen dviimp