home *** CD-ROM | disk | FTP | other *** search
Makefile | 1995-01-20 | 8.3 KB | 312 lines |
- # Project: dvips
-
- # Makefile for dvips on RISC OS machines.
- #
- # NOTE: the slight change in name from `squeeze' to `squeezeps'
- # is necessary to avoid the clash with the development binary
- # `squeeze'.
- #
- # First, the things that absolutely must be edited for your
- # system.
- #
- # Well the default search directories aren't important
- # like they are on, say, a Unix sustem. We take MJS's
- # armTeX strategy and #totally# replace them if the
- # apropriate enviroment variables set, which they normally
- # are. If you are making an installation ie. using "amu
- # install" as opposed to just "amu all", please ensure
- # that these variables are set correctly for your system,
- # otherwise this file will not have a clue where to put
- # anything! Also you may need to edit BINDIR.
- #
- # Please, don't forget to edit MakeTeXPK if necessary.
-
-
- # ---------------- Edit this part of the file. -----------------
-
- # Where the installed binaries and Obey file go.
- BINDIR = <dvips$Dir>.Library
-
- # Where to install the header files.
- HEADERDIR = <dvips$Dir>.Resources
-
- # Define this to be whatever you use for installation. If you don't have
- # an install binary, use an Obey file that invokes Copy and Accesses the
- # files appropriately.
- INSTALL = <Prefix$Dir>.install
-
- # The name of the binary to `sueeze' PostScript files.
- SQUEEZE = <Prefix$Dir>.squeezeps
-
- # The default path to search for TFM files
- # (private fonts are given an explicit directory, which overrides the path)
- # ** Overridden by the environment variable TeXFonts$Path.
- TFMPATH = \"$.TeX.Fonts.\"
-
- # The default path to search for PK files
- # Don't forget to add the directory that MakeTeXPK puts the files!
- # ** Overridden by the environment variable `TeXFonts$Path'.
- PKPATH = \"$.TeX.Fonts.\"
-
- # The default path to search for VF files
- # ** Overridden by the environment variable `TeXFonts$Path'.
- VFPATH = \"$.TeX.Fonts.\"
-
- # The default path to search for config files
- # ** Overridden by the environment variable `dvips$Path'.
- CONFIGPATH = \"$.TeX.PS.\"
-
- # The name of your config file
- CONFIGFILE = \"config.ps\"
-
- # The default path to search for header files
- # ** Overridden by the environment variable `dvipsHeader$Path'.
- HEADERPATH = \"$.TeX.PS.\"
-
- # The default path to search for epsf and psfiles
- # (usually the same as TeX's defaultinputpath)
- # ** Overridden by the environment variable `TeXInputs$Path'.
- FIGPATH = \"$.TeX.TeXInputs.\"
-
- # If you want emTeX specials, uncomment the following.
- # EMTEX = -DEMTEX
-
- # Change -DDEFRES=300 or whatever is required
- # if the default resolution is not 300 dpi,
- # add -DDEBUG to turn on debugging capability
- # add -DTPIC for tpic support
- # add -DFONTLIB to search font libraries
- # add -DSEARCH_SUBDIRECTORIES to search the FONTSUBDIRPATH.
- # add -DIGNORE_CWD to ignore the current working directory.
- # add -DCREATIONDATE if your system has a working time() and you want dated files
- # add -DGHOST to make for easier working with GhostScript 2.2/Arc-2
- #
- # If your compiler doesn't like void*, then add
- # -DVOID=char
- #
- DEFS = -DTPIC -DANSI -DDEBUG -DDEFRES=300 -DCREATIONDATE -DRISCOS $(EMTEX)
-
- # ---------------------- Edits end here. ------------------------
-
-
- PATHS= -DTFMPATH="$(TFMPATH)"\
- -DPKPATH="$(PKPATH)"\
- -DVFPATH="$(VFPATH)"\
- -DHEADERPATH="$(HEADERPATH)"\
- -DCONFIGPATH="$(CONFIGPATH)"\
- -DCONFIGFILE="$(CONFIGFILE)"\
- -DFIGPATH="$(FIGPATH)"
-
-
- # Toolflags:
- CCflags = -W -fwca -pcc -depend !Depend -throwback -IC: $(DEFS) $(PATHS)
- Linkflags = -o $@
- Squeezeflags = -o $@
-
- OBJ = o.dospecial o.dviinput o.fontdef o.loadfont o.dvips \
- o.tfmload o.download o.prescan o.scanpage o.skippage \
- o.output o.scalewidth o.dosection o.dopage o.resident \
- o.search o.unpack o.drawPS o.header o.makefont \
- o.repack o.virtualfon o.dpicheck o.finclude o.pprescan \
- o.papersiz o.flib o.color o.bbox o.emspecial
-
- LIBS = C:o.stubs
-
-
- # Final targets:
- all: dvips afm2tfm pro.tex pro.texps pro.texc pro.special \
- pro.finclude pro.color pro.crop
-
- dvips: $(OBJ)
- link $(Linkflags) $(OBJ) $(LIBS)
- squeeze $(Squeezeflags) dvips
-
- afm2tfm: c.afm2tfm
- cc $(CCflags) c.afm2tfm
- squeeze $(Squeezeflags) afm2tfm
-
- squeezeps: c.squeeze
- cc $(CCflags) c.squeeze
- -Rename squeeze squeezeps
- squeeze $(Squeezeflags) squeezeps
-
- pro.tex: lpro.tex squeezeps
- $(SQUEEZE) < lpro.tex > pro.tex
-
- pro.texc: lpro.texc squeezeps
- $(SQUEEZE) < lpro.texc > pro.texc
-
- pro.texps: lpro.texps squeezeps
- $(SQUEEZE) < lpro.texps > pro.texps
-
- pro.special: lpro.special squeezeps
- $(SQUEEZE) < lpro.special > pro.special
-
- pro.finclude: lpro.finclude squeezeps
- $(SQUEEZE) < lpro.finclude > pro.finclude
-
- pro.color: lpro.color squeezeps
- $(SQUEEZE) < lpro.color > pro.color
-
- pro.crop: lpro.crop squeezeps
- $(SQUEEZE) < lpro.crop > pro.crop
-
- install: afm2tfm dvips MakeTeXPK pro.tex pro.texps pro.texc \
- pro.special pro.finclude pro.color pro.crop
- $(INSTALL) LR ff8 afm2tfm $(BINDIR) afm2tfm
- $(INSTALL) LR ff8 dvips $(BINDIR) dvips
- $(INSTALL) LR feb MakeTeXPK $(BINDIR) MakeTeXPK
- $(INSTALL) LR feb MakePKs $(BINDIR) MakePKs
- $(INSTALL) LR ff5 pro.tex $(HEADERDIR).pro tex
- $(INSTALL) LR ff5 pro.texc $(HEADERDIR).pro texc
- $(INSTALL) LR ff5 pro.texps $(HEADERDIR).pro texps
- $(INSTALL) LR ff5 pro.special $(HEADERDIR).pro special
- $(INSTALL) LR ff5 pro.finclude $(HEADERDIR).pro finclude
- $(INSTALL) LR ff5 pro.color $(HEADERDIR).pro color
- $(INSTALL) LR ff5 pro.crop $(HEADERDIR).pro crop
-
- clean:
- -Wipe o.* ~CF~R~V
- -Wipe pro.* ~CF~R~V
- -Wipe squeezeps ~CF~R~V
-
- veryclean: clean
- -Wipe afm2tfm ~CF~R~V
- -Wipe dvips ~CF~R~V
-
-
- # Static dependencies:
- .SUFFIXES: .o
- .c.o:; cc -c -o $@ $(CCflags) $<
-
-
- # User-editable dependencies:
-
-
- # Dynamic dependencies:
- o.dospecial: c.dospecial
- o.dospecial: h.dvips
- o.dospecial: h.paths
- o.dospecial: h.debug
- o.dviinput: c.dviinput
- o.dviinput: h.dvips
- o.dviinput: h.paths
- o.dviinput: h.debug
- o.fontdef: c.fontdef
- o.fontdef: h.dvips
- o.fontdef: h.paths
- o.fontdef: h.debug
- o.loadfont: c.loadfont
- o.loadfont: h.dvips
- o.loadfont: h.paths
- o.loadfont: h.debug
- o.dvips: c.dvips
- o.dvips: h.dvips
- o.dvips: h.paths
- o.dvips: h.debug
- o.dvips: C:h.kernel
- o.dvips: C:h.swis
- o.tfmload: c.tfmload
- o.tfmload: h.dvips
- o.tfmload: h.paths
- o.tfmload: h.debug
- o.download: c.download
- o.download: h.dvips
- o.download: h.paths
- o.download: h.debug
- o.prescan: c.prescan
- o.prescan: h.dvips
- o.prescan: h.paths
- o.prescan: h.debug
- o.scanpage: c.scanpage
- o.scanpage: h.dvips
- o.scanpage: h.paths
- o.scanpage: h.debug
- o.skippage: c.skippage
- o.skippage: h.dvips
- o.skippage: h.paths
- o.skippage: h.debug
- o.output: c.output
- o.output: h.dvips
- o.output: h.paths
- o.output: h.debug
- o.output: C:h.kernel
- o.scalewidth: c.scalewidth
- o.scalewidth: h.dvips
- o.scalewidth: h.paths
- o.scalewidth: h.debug
- o.dosection: c.dosection
- o.dosection: h.dvips
- o.dosection: h.paths
- o.dosection: h.debug
- o.dopage: c.dopage
- o.dopage: h.dvips
- o.dopage: h.paths
- o.dopage: h.debug
- o.resident: c.resident
- o.resident: h.dvips
- o.resident: h.paths
- o.resident: h.debug
- o.resident: h.paths
- o.search: c.search
- o.search: h.dvips
- o.search: h.paths
- o.search: h.debug
- o.unpack: c.unpack
- o.unpack: h.dvips
- o.unpack: h.paths
- o.unpack: h.debug
- o.drawPS: c.drawPS
- o.drawPS: h.dvips
- o.drawPS: h.paths
- o.drawPS: h.debug
- o.header: c.header
- o.header: h.dvips
- o.header: h.paths
- o.header: h.debug
- o.repack: c.repack
- o.repack: h.dvips
- o.repack: h.paths
- o.repack: h.debug
- o.virtualfon: c.virtualfon
- o.virtualfon: h.dvips
- o.virtualfon: h.paths
- o.virtualfon: h.debug
- o.dpicheck: c.dpicheck
- o.dpicheck: h.dvips
- o.dpicheck: h.paths
- o.dpicheck: h.debug
- o.finclude: c.finclude
- o.finclude: h.dvips
- o.finclude: h.paths
- o.finclude: h.debug
- o.pprescan: c.pprescan
- o.pprescan: h.dvips
- o.pprescan: h.paths
- o.pprescan: h.debug
- o.papersiz: c.papersiz
- o.papersiz: h.dvips
- o.papersiz: h.paths
- o.papersiz: h.debug
- o.flib: c.flib
- o.color: c.color
- o.color: h.dvips
- o.color: h.paths
- o.color: h.debug
- o.bbox: c.bbox
- o.bbox: h.dvips
- o.bbox: h.paths
- o.bbox: h.debug
- o.emspecial: c.emspecial
- o.emspecial: h.dvips
- o.emspecial: h.paths
- o.emspecial: h.debug
- o.afm2tfm: c.afm2tfm
- o.squeeze: c.squeeze
- o.makefont: c.makefont
- o.makefont: h.dvips
- o.makefont: h.paths
- o.makefont: h.debug
- o.makefont: C:h.kernel
- o.makefont: C:h.swis
-