|
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: M T
Length: 2574 (0xa0e) Types: TextFile Names: »Makefile«
└─⟦52210d11f⟧ Bits:30007239 EUUGD2: TeX 3 1992-12 └─⟦c319c2751⟧ »unix3.0/TeX3.0.tar.Z« └─⟦036c765ac⟧ └─⟦this⟧ »TeX3.0/tex/Makefile«
# This file makes TeX in its various incarnations. # SITEDIR=.. CC=gcc OPT=-g CFLAGS=$(OPT) -I$(SITEDIR) LDFLAGS=$(OPT) SHELL=/bin/sh objs=tex0.o tex1.o tex2.o tex3.o tex4.o tex5.o tex6.o tex7.o tex8.o iobjs=iextra.o initex.o $(objs) vobjs=extra.o itex.o $(objs) makeargs=SITEDIR="$(SITEDIR)" CC="$(CC)" OPT="$(OPT)" LDFLAGS="$(LDFLAGS)" .SUFFIXES: .SUFFIXES: .o .c .c.o: $(CC) $(CFLAGS) -c $*.c default: all all: initex virtex triptrap: triptex initex: stamp-convert $(iobjs) $(CC) $(LDFLAGS) -o initex $(iobjs) virtex: stamp-convert $(vobjs) $(CC) $(LDFLAGS) -o virtex $(vobjs) run-triptrap: -ln TeXtrip/trip.tex . ../texware/pltotf TeXtrip/trip.pl trip.tfm -triptex < TeXtrip/trip1.in -diff TeXtrip/tripin.log trip.log -triptex < TeXtrip/trip2.in > trip.fot -diff TeXtrip/trip.log trip.log -diff TeXtrip/trip.fot trip.fot ../texware/dvitype trip.dvi < TeXtrip/dvitype.in -diff TeXtrip/trip.typ dvitype.out # The `ini_to_trip' script changes texd.h, instead of the change file, so # retangling is not necessary. After changing constants, making a # triptex means making an initex. # triptex: stamp-trip make $(makeargs) initex mv initex triptex stamp-trip: stamp-convert rm -f *.o $(SHELL) ./ini_to_trip texd.h touch stamp-trip # tangle produces tex.p and tex.pool. # tex.p: tex.web ctex.ch ../web/tangle tex.web ctex.ch # The convert script produces tex[0-8].c, itex.c, coerce.h, and texd.h. # The (hand-coded) memory.h is included in one of tex?.c files; it isn't # really necessary to `convert' again if it changes, only to recompile # that file, but describing that relationship is ugly to do. # (Furthermore, memory.h is stable.) # stamp-convert: tex.p memory.h fixcoerce.h tex.defines $(SHELL) ./convert touch stamp-convert # The (hand-coded) file extra.c and the (generated) file itex.c have # #ifdefs on INITEX, so we have to compile them with -DINITEX for initex # and triptex. # iextra.o: extra.c texd.h $(CC) $(CFLAGS) -DINITEX -c extra.c && mv extra.o iextra.o initex.o: itex.c $(CC) $(CFLAGS) -DINITEX -c itex.c && mv itex.o initex.o $(objs): stamp-convert tex.h # included by texd.h. extra.o: texd.h tex0.o: tex0.c tex1.o: tex1.c tex2.o: tex2.c tex3.o: tex3.c tex4.o: tex4.c tex5.o: tex5.c tex6.o: tex6.c tex7.o: tex7.c tex8.o: tex8.c clean: rm -f stamp-* *.o triptex initex virtex rm -f texd.h coerce.h *.log rm -f 8terminal.tex trip.* tripos.tex dvitype.out veryclean: clean rm -f tex?.c itex.c tex.p tex.pool *.fmt texput.* rm -f \#*\# *~ *.bak *.ckp core