|
|
DataMuseum.dkPresents historical artifacts from the history of: DKUUG/EUUG Conference tapes |
This is an automatic "excavation" of a thematic subset of
See our Wiki for more about DKUUG/EUUG Conference tapes Excavated with: AutoArchaeologist - Free & Open Source Software. |
top - metrics - downloadIndex: T m
Length: 3478 (0xd96)
Types: TextFile
Names: »makefile«
└─⟦52210d11f⟧ Bits:30007239 EUUGD2: TeX 3 1992-12
└─⟦c319c2751⟧ »unix3.0/TeX3.0.tar.Z«
└─⟦036c765ac⟧
└─⟦this⟧ »TeX3.0/makefile«
# Overall Makefile for making TeX, Metafont, and friends, using WEB to C.
#
# TeX 3.0 + Metafont 2.0 + web2c a
version=5.0a
# Directory that site.h is in. (`..' means the directory containing
# this Makefile.)
#
SITEDIR=..
# Default C compiler.
CC=gcc
# Default flags to give the C compiler. (Don't define CFLAGS directly.)
OPT=-g -O
# Default flags to give to the loader.
LDFLAGS=-g
# Support libraries for Metafont.
x10lib=-lX
x11lib=-lX11
sunlib=-lsuntool -lsunwindow -lpixrect
# This line should select the libraries that match what you said in site.h.
wlibs=${x11lib}
# You only need to define these if you are going to do `make install',
# instead of installing the programs by hand. They should match the
# paths you define in ./site.h.
#
INSTALL=cp
bindir=/usr/local/bin
texpooldir=/usr/local/lib/tex
formatdir=/usr/local/lib/tex/formats
mfpooldir=/usr/local/lib/mf
basedir=/usr/local/lib/mf/bases
default: all
# Stuff below here probably doesn't need to be changed.
# The order here doesn't really matter, but it's nice to do TeX first,
# since that's what most people care about.
#
alldirs=web tex texware mf mfware fontutil bibtex
triptrapdirs=tex texware mf mfware
makeargs=SITEDIR="$(SITEDIR)" CC="$(CC)" OPT="$(OPT)" \
SHELL="$(SHELL)" LDFLAGS="$(LDFLAGS)" wlibs="$(wlibs)"
# Make sure we use the sh. If your sh is broken, you might try bash,
# the GNU version.
#
SHELL=/bin/sh
triptrap: stamp-web2c stamp-tangle
for name in $(triptrapdirs); \
do \
(cd $${name}; make $(makeargs) triptrap); \
done
run-triptrap:
cd tex; make run-triptrap
cd mf; make run-triptrap
clean-triptrap:
cd tex; make veryclean
cd mf; make veryclean
all: stamp-web2c
for name in $(alldirs); \
do \
(cd $${name}; echo $${name}; make $(makeargs) all); \
done
TeX: stamp-web2c stamp-tangle
cd tex; make $(makeargs) all
MF: stamp-web2c stamp-tangle
cd mf; make $(makeargs) all
install:
$(INSTALL) tex/initex tex/virtex $(bindir)
$(INSTALL) mf/inimf mf/virmf $(bindir)
$(INSTALL) web/tangle web/weave $(bindir)
$(INSTALL) texware/dvitype texware/pltotf texware/tftopl $(bindir)
$(INSTALL) texware/patgen texware/pooltype $(bindir)
$(INSTALL) mfware/gftodvi mfware/gftopk mfware/gftype $(bindir)
$(INSTALL) mfware/mft $(bindir)
$(INSTALL) fontutil/pktogf fontutil/pktype $(bindir)
$(INSTALL) fontutil/vftovp fontutil/vptovf $(bindir)
$(INSTALL) bibtex/bibtex $(bindir)
# -$(INSTALL) tex/*.fmt $(formatdir)
# -$(INSTALL) mf/*.base $(basedir)
if test -s tex/tex.pool; then $(INSTALL) tex/tex.pool $(texpooldir); fi
if test -s mf/mf.pool; then $(INSTALL) mf/mf.pool $(mfpooldir); fi
stamp-web2c:
cd web2c; make $(makeargs) all
touch stamp-web2c
stamp-tangle:
cd web; make $(makeargs) tangle
touch stamp-tangle
# Need GNU tar here.
#
dist: web/tangleboot.pas
cd ..; \
find web2c \! -name '*.web' -type f -print > /tmp/files; \
tar czfT web2c-$(version).tar.Z /tmp/files; \
find web2c -name '*.web' -print > /tmp/webfest; \
tar czfT web-$(version).tar.Z /tmp/webfest; \
ls -ld web*
web/tangleboot.pas:
cd web; make tangle.p; cp tangle.p tangleboot.pas; make veryclean
clean:
rm -f stamp-*
for name in web2c $(alldirs); \
do \
(cd $${name}; make clean); \
done
veryclean:
rm -f stamp-*
for name in web2c $(alldirs); \
do \
(cd $${name}; make veryclean); \
done
rm -f \#*\# *~ *.bak *.ckp core