home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Dream 45
/
Amiga_Dream_45.iso
/
Amiga
/
Magazine
/
Dossier-LaTeX
/
AmiWeb2C.lha
/
source
/
web2c-6.1
/
SMakefile
< prev
Wrap
Makefile
|
1995-04-20
|
14KB
|
535 lines
# This is the top-level SMakefile for the complete TeX 3.14159, MetaFont
# 2.718, MetaPost 0.63, BibTeX 0.99c, and TeXware installation based on
# Karl Berry's Web2C 6.1. All patches necessary for the Amiga-SAS/C
# implementation are collected in this file.
# Targets in this SMakefile:
# default: archive
# archive: collect all patch files in a LHA file
# source: collect all WEB sources in a LHA file
# clean: delete all .bak files
# veryclean: delete all .bak files and the two LHA files
# remove: delete all patch files and all WEB sources (Caveat utilitor!)
# removepatches: create the patch archive and remove all patch files
# remove source: create the WEB source archive and remove all WEB sources
# Unfortunately, SMake can't `cd' into subdirectories, so to create the
# Amiga installation of the complete TeX system follow the notes given in
# `README.AMIGA' coming with this archive.
# Please send comments and suggestions to
# Andreas Scherer
# Roland-Stra{\ss}e 16
# 52070 Aachen, Germany
# <scherer@genesis.informatik.rwth-aachen.de> (Internet)
# We create two archives, one containing the complete Amiga patch, the
# other holding the original WEB sources (for test purposes only).
#
archive = AmigaPatch.lha
misc = Misc.lha
source = TeXSource.lha
# The calling sequence for the LHA utility.
#
PACK = lha -x -r u
############################################################################
# Access below this point is authorized only if (1) you are Andreas Scherer,
# or if (2) you make absolutely no changes to the code that follows.
############################################################################
# This is the collection of patches applied to Karl Berry's KPathSea
# library. The version applied in this Amiga installation is V1.6.
#
KPATHSEA = \
kpathsea/absolute.ch \
kpathsea/c-auto.h.ch \
kpathsea/elt-dirs.ch \
kpathsea/filefmt.hch \
kpathsea/kpathsea.tch \
kpathsea/line.ch \
kpathsea/paths.hch.in \
kpathsea/readable.ch \
kpathsea/SMakefile \
kpathsea/tex-doc.tch \
kpathsea/tex-font.ch \
kpathsea/tex-font.hch \
kpathsea/tex-glyph.ch \
kpathsea/tex-glyph.hch \
kpathsea/tex-make.ch \
kpathsea/tex-make.hch \
kpathsea/truncate.ch \
kpathsea/xmalloc.ch \
kpathsea/xputenv.ch \
kpathsea/xrealloc.ch
# This is the collection of patches applied to the Web2C library.
# `convert.rexx' is the ARexx equivalent to the `sh' script.
#
WEB2CLIB1 = \
web2c/lib/alloca.ch \
web2c/lib/eofeoln.ch \
web2c/lib/fprintreal.ch \
web2c/lib/getopt.ch \
web2c/lib/getopt1.ch \
web2c/lib/inputint.ch \
web2c/lib/main.ch \
web2c/lib/openinout.ch \
web2c/lib/ourpaths.ch \
web2c/lib/strpascal.ch \
web2c/lib/texmf.ch \
web2c/lib/texmfhistory.ch \
web2c/lib/uexit.ch \
web2c/lib/xfopen-pas.ch \
web2c/lib/zround.ch
WEB2CLIB2 = \
web2c/lib/bibtexmemory.h \
web2c/lib/c-auto.h.ch \
web2c/lib/config.hch \
web2c/lib/convert.rexx \
web2c/lib/cpascal.hch \
web2c/lib/ourpaths.hch \
web2c/lib/texmf.hch \
web2c/lib/texmfextras.defines \
web2c/lib/texmfmem.hch \
web2c/lib/SMakefile
# This is the collection of patches applied to the Web2C system.
#
WEB2CWEB2C = \
web2c/web2c/fixwrites.ch \
web2c/web2c/regfix.ch \
web2c/web2c/SMakefile \
web2c/web2c/splitup.ch \
web2c/web2c/web2c.ch \
web2c/web2c/web2c.hch \
web2c/web2c/web2c.lch \
web2c/web2c/web2c.ych
# This is the collection of patches applied to the WEB system.
#
WEB2CWEB = \
web2c/web/pooltype.chch \
web2c/web/pooltype.version \
web2c/web/SMakefile \
web2c/web/tangle.chch \
web2c/web/tangle.version \
web2c/web/weave.chch \
web2c/web/weave.version
# These are the WEB sources of the WEB system.
#
WEB2CWEBSRC = \
web2c/web/pooltype.web \
web2c/web/tangle.web \
web2c/web/weave.web
# This is the collection of patches applied to the DVI utility programs.
#
WEB2CDVIUTIL = \
web2c/dviutil/dvicopy.chch \
web2c/dviutil/dvicopy.version \
web2c/dviutil/dvitype.chch \
web2c/dviutil/dvitype.version \
web2c/dviutil/SMakefile
# These are the WEB sources of the DVI utility programs.
#
WEB2CDVIUTILSRC = \
web2c/dviutil/dvicopy.web \
web2c/dviutil/dvitype.web
# This is the collection of patches applied to the font utility programs.
#
WEB2CFONTUTIL1 = \
web2c/fontutil/gftodvi.chch \
web2c/fontutil/gftopk.chch \
web2c/fontutil/gftype.chch \
web2c/fontutil/mft.chch \
web2c/fontutil/pktogf.chch \
web2c/fontutil/pktype.chch \
web2c/fontutil/pltotf.chch \
web2c/fontutil/tftopl.chch \
web2c/fontutil/vftovp.chch \
web2c/fontutil/vptovf.chch \
web2c/fontutil/SMakefile
WEB2CFONTUTIL2 = \
web2c/fontutil/gftodvi.version \
web2c/fontutil/gftopk.version \
web2c/fontutil/gftype.version \
web2c/fontutil/mft.version \
web2c/fontutil/pktogf.version \
web2c/fontutil/pktype.version \
web2c/fontutil/pltotf.version \
web2c/fontutil/tftopl.version \
web2c/fontutil/vftovp.version \
web2c/fontutil/vptovf.version
# These are the WEB sources of the font utility programs.
#
WEB2CFONTUTILSRC = \
web2c/fontutil/gftodvi.web \
web2c/fontutil/gftopk.web \
web2c/fontutil/gftype.web \
web2c/fontutil/mft.web \
web2c/fontutil/pktogf.web \
web2c/fontutil/pktype.web \
web2c/fontutil/pltotf.web \
web2c/fontutil/tftopl.web \
web2c/fontutil/vftovp.web \
web2c/fontutil/vptovf.web
# This is the collection of patches applied to the MetaFont system.
#
WEB2CMF = \
web2c/mf/coerce.add.ch \
web2c/mf/convert.rexx \
web2c/mf/mf.chch \
web2c/mf/mfmemory.ch \
web2c/mf/mfmemory.sed \
web2c/mf/mf_20.ch \
web2c/mf/settrapenv \
web2c/mf/SMakefile
# This is the Amiga window support for the MetaFont Online Display.
#
WEB2CMFWINDOW = \
web2c/mf/MFwindow/amiga.c
# This is support for 68020 processors in some `inner loopy' routines.
#
WEB2CMF64BIT = \
web2c/mf/64bit/64bit.a \
web2c/mf/64bit/main.c \
web2c/mf/64bit/SMakefile
# This is the WEB source of the MetaFont program, version 2.718.
#
WEB2CMFSRC = \
web2c/mf/mf.web
# This is the collection of patches applied to the TeX system.
#
WEB2CTEX = \
web2c/tex/coerce.add.ch \
web2c/tex/convert.rexx \
web2c/tex/patgen.chch \
web2c/tex/patgen.version \
web2c/tex/settripenv \
web2c/tex/SMakefile \
web2c/tex/tex.chch \
web2c/tex/texmemory.ch \
web2c/tex/texmemory.sed
# This is the WEB source of the TeX program, version 3.14159.
#
WEB2CTEXSRC = \
web2c/tex/glue.web \
web2c/tex/patgen.web \
web2c/tex/tex.web
# This is the Environment Variable PATH system by Giuseppe Ghib\'o.
# It provides an Amiga specific alternative to KPathSea. Not implemented.
#
WEB2CEVPATHS = \
web2c/evpaths/EVPaths.c \
web2c/evpaths/EVPaths.h \
web2c/evpaths/mfsubs.a \
web2c/evpaths/mfsubs.h \
web2c/evpaths/PEVPaths.cc \
web2c/evpaths/SMakefile \
web2c/evpaths/SNPrintf.a \
web2c/evpaths/takefraction.a \
web2c/evpaths/takefraction_020.a \
web2c/evpaths/takefraction_020a.a \
web2c/evpaths/takefraction_020a1.a \
web2c/evpaths/takescaled.a \
web2c/evpaths/takescaled_020.a \
web2c/evpaths/taketest.c \
web2c/evpaths/TeXSaveString.c \
web2c/evpaths/TeXWhereIs.c \
web2c/evpaths/TeXWhereIs2.c
# This is the TeX--XeT system (versions 1.0 and 1.1). Not implemented.
#
WEB2CTEXXET = \
web2c/texxet/TEX--XET.DOC \
web2c/texxet/TEX--XET1.0.CHANGE \
web2c/texxet/TEX--XET1.1.CHANGE
# This is the collection of patches applied to the BibTeX system.
#
WEB2CBIBTEX = \
web2c/bibtex/bibtex.chch \
web2c/bibtex/bibtexmemory.ch \
web2c/bibtex/bibtexmemory.sed \
web2c/bibtex/convert.rexx \
web2c/bibtex/SMakefile
# This is the WEB source of the BibTeX program, version 0.99c.
WEB2CBIBTEXSRC = \
web2c/bibtex/bibtex.web
# This is the collection of patches applied to the MetaPost system.
#
WEB2CMP = \
web2c/mp/coerce.add.ch \
web2c/mp/convert.rexx \
web2c/mp/mathtest.ch \
web2c/mp/mp.chch \
web2c/mp/mpmath.ch \
web2c/mp/mpmemory.ch \
web2c/mp/mpmemory.sed \
web2c/mp/mp_20.ch \
web2c/mp/pmath.ch \
web2c/mp/settrapenv \
web2c/mp/SMakefile \
web2c/mp/test_mpd.hch \
web2c/mp/time.ch
# This is the collection of patches applied to the MetaPost utilities.
#
WEB2CMPWARE = \
web2c/mpware/dmp.ch \
web2c/mpware/dvitomp.chch \
web2c/mpware/dvitomp.version \
web2c/mpware/makempx.rexx \
web2c/mpware/mptotex.ch \
web2c/mpware/mptotr.ch \
web2c/mpware/newer.ch \
web2c/mpware/pathexp.ch \
web2c/mpware/site.hch \
web2c/mpware/SMakefile
# This is the complete MetaPost system, version 0.63.
# As it is very big in size, use the original archive from CTAN.
#
WEB2CMPDISTSRC = \
web2c/mpdist/CHANGES \
web2c/mpdist/defaults.h \
web2c/mpdist/DISCLAIMER \
web2c/mpdist/Makefile \
web2c/mpdist/NOTICE \
web2c/mpdist/README \
web2c/mpdist/site.h \
web2c/mpdist/VERSION \
web2c/mpdist/doc \
web2c/mpdist/mplib
WEB2CMPSRC = \
web2c/mp/convert \
web2c/mp/fix.lex \
web2c/mp/fixcoerce.h \
web2c/mp/ini_to_trap \
web2c/mp/Makefile \
web2c/mp/mathtest.c \
web2c/mp/mp.ch \
web2c/mp/mp.def \
web2c/mp/mp.h \
web2c/mp/mp.web \
web2c/mp/mpext.c \
web2c/mp/mpmath.c \
web2c/mp/pathexp.c \
web2c/mp/pmath.c \
web2c/mp/test_mpd.h \
web2c/mp/time.c \
web2c/mp/trapmp
WEB2CMPMPTRAPSRC = \
web2c/mp/MPtrap/mtrap.0 \
web2c/mp/MPtrap/mtrap.1 \
web2c/mp/MPtrap/mtrap.log \
web2c/mp/MPtrap/mtrap.mp \
web2c/mp/MPtrap/README \
web2c/mp/MPtrap/trap.148 \
web2c/mp/MPtrap/trap.149 \
web2c/mp/MPtrap/trap.150 \
web2c/mp/MPtrap/trap.151 \
web2c/mp/MPtrap/trap.197 \
web2c/mp/MPtrap/trap.200 \
web2c/mp/MPtrap/trap.5 \
web2c/mp/MPtrap/trap.6 \
web2c/mp/MPtrap/trap.fot \
web2c/mp/MPtrap/trap.log \
web2c/mp/MPtrap/trap.mp \
web2c/mp/MPtrap/trap.mpx \
web2c/mp/MPtrap/trap.pl \
web2c/mp/MPtrap/trap1.in \
web2c/mp/MPtrap/trap2.in \
web2c/mp/MPtrap/trapf.pl \
web2c/mp/MPtrap/trapin.log \
web2c/mp/MPtrap/writeo \
web2c/mp/MPtrap/writeo.2
WEB2CMPWARESRC = \
web2c/mpware/convert \
web2c/mpware/dmp.c \
web2c/mpware/dvimpext.c \
web2c/mpware/dvitomp.ch \
web2c/mpware/dvitomp.web \
web2c/mpware/Makefile \
web2c/mpware/makempx \
web2c/mpware/mptotex.c \
web2c/mpware/mptotr.c \
web2c/mpware/mpware.def \
web2c/mpware/mpware.h \
web2c/mpware/newer.c \
web2c/mpware/testex.err \
web2c/mpware/testex.mp \
web2c/mpware/testex.tex \
web2c/mpware/troffmpx
# And finally some special stuff for the Amiga implementation.
#
WEB2CAREXX = \
web2c/arexx/NameStruc \
web2c/arexx/TeXEdit.rexx
WEB2CCONFIG = \
web2c/config/bibtex.mcf \
web2c/config/mf.mcf \
web2c/config/mftrap.mcf \
web2c/config/mp.mcf \
web2c/config/mptrap.mcf \
web2c/config/tex.mcf \
web2c/config/textrip.mcf
WEB2C = \
README.AMIGA \
README.PATCH \
SMakefile
# The Amiga distribution contains only the second level patches.
#
PATCH = \
$(KPATHSEA) \
$(WEB2CLIB1) \
$(WEB2CLIB2) \
$(WEB2CWEB2C) \
$(WEB2CWEB) \
$(WEB2CDVIUTIL) \
$(WEB2CFONTUTIL1) \
$(WEB2CFONTUTIL2) \
$(WEB2CMF) \
$(WEB2CMFWINDOW) \
$(WEB2CMF64BIT) \
$(WEB2CTEX) \
$(WEB2CBIBTEX) \
$(WEB2CMP) \
$(WEB2CMPWARE) \
$(WEB2CAREXX) \
$(WEB2CCONFIG) \
$(WEB2C)
# Other source collections.
#
OTHER = \
$(WEB2CEVPATHS) \
$(WEB2CTEXXET)
# This list of files is needed in addition to Web2C.
#
ORIGINAL = \
$(WEB2CWEBSRC) \
$(WEB2CDVIUTILSRC) \
$(WEB2CFONTUTILSRC) \
$(WEB2CMFSRC) \
$(WEB2CTEXSRC) \
$(WEB2CBIBTEXSRC) \
$(WEB2CMPDISTSRC) \
$(WEB2CMPDISTDOCSRC) \
$(WEB2CMPDISTMPLIBSRC) \
$(WEB2CMPDISTMPLIBCHARLIBSRC) \
$(WEB2CMPSRC) \
$(WEB2CMPMPTRAPSRC) \
$(WEB2CMPWARESRC)
# OK, lets go to work.
#
default: archive
archive: $(PATCH)
$(PACK) $(archive) $(KPATHSEA)
$(PACK) $(archive) $(WEB2CLIB1)
$(PACK) $(archive) $(WEB2CLIB2)
$(PACK) $(archive) $(WEB2CWEB2C)
$(PACK) $(archive) $(WEB2CWEB)
$(PACK) $(archive) $(WEB2CDVIUTIL)
$(PACK) $(archive) $(WEB2CFONTUTIL1)
$(PACK) $(archive) $(WEB2CFONTUTIL2)
$(PACK) $(archive) $(WEB2CMF)
$(PACK) $(archive) $(WEB2CMFWINDOW)
$(PACK) $(archive) $(WEB2CMF64BIT)
$(PACK) $(archive) $(WEB2CTEX)
$(PACK) $(archive) $(WEB2CBIBTEX)
$(PACK) $(archive) $(WEB2CMP)
$(PACK) $(archive) $(WEB2CMPWARE)
$(PACK) $(archive) $(WEB2CAREXX)
$(PACK) $(archive) $(WEB2CCONFIG)
$(PACK) $(archive) $(WEB2C)
misc: $(OTHER)
$(PACK) $(misc) $(WEB2CEVPATHS)
$(PACK) $(misc) $(WEB2CTEXXET)
source: $(ORIGINAL)
$(PACK) $(source) $(WEB2CWEBSRC)
$(PACK) $(source) $(WEB2CDVIUTILSRC)
$(PACK) $(source) $(WEB2CFONTUTILSRC)
$(PACK) $(source) $(WEB2CMFSRC)
$(PACK) $(source) $(WEB2CTEXSRC)
$(PACK) $(source) $(WEB2CBIBTEXSRC)
$(PACK) $(source) $(WEB2CMPDISTSRC)
$(PACK) $(source) $(WEB2CMPDISTDOCSRC)
$(PACK) $(source) $(WEB2CMPDISTMPLIBSRC)
$(PACK) $(source) $(WEB2CMPDISTMPLIBCHARLIBSRC)
$(PACK) $(source) $(WEB2CMPSRC)
$(PACK) $(source) $(WEB2CMPMPTRAPSRC)
$(PACK) $(source) $(WEB2CMPWARESRC)
# Clean up the development environment.
#
clean:
- delete \#?.bak
veryclean: clean
- delete $(archive) $(misc) $(source)
# Extract and remove all patches and original sources from Web2C.
#
remove: removepatches removeother removesource
removepatches: archive
- delete $(KPATHSEA)
- delete $(WEB2CLIB1)
- delete $(WEB2CLIB2)
- delete $(WEB2CWEB2C)
- delete $(WEB2CWEB)
- delete $(WEB2CDVIUTIL)
- delete $(WEB2CFONTUTIL1)
- delete $(WEB2CFONTUTIL2)
- delete $(WEB2CMF)
- delete $(WEB2CMFWINDOW)
- delete $(WEB2CMF64BIT) web2c/mf/64bit
- delete $(WEB2CTEX)
- delete $(WEB2CBIBTEX)
- delete $(WEB2CMP)
- delete $(WEB2CMPWARE)
- delete $(WEB2CAREXX) web2c/arexx
- delete $(WEB2CCONFIG) web2c/config
- delete $(WEB2C)
removeother: misc
- delete $(WEB2CEVPATHS) web2c/evpaths
- delete $(WEB2CTEXXET) web2c/texxet
removesource: source
- delete $(WEB2CWEBSRC)
- delete $(WEB2CDVIUTILSRC)
- delete $(WEB2CFONTUTILSRC)
- delete $(WEB2CMFSRC)
- delete $(WEB2CTEXSRC)
- delete $(WEB2CBIBTEXSRC)
- delete $(WEB2CMPDISTSRC) all
- delete $(WEB2CMPSRC)
- delete $(WEB2CMPMPTRAPSRC)
- delete $(WEB2CMPWARESRC)