|
|
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: 1431 (0x597)
Types: TextFile
Names: »Makefile«
└─⟦52210d11f⟧ Bits:30007239 EUUGD2: TeX 3 1992-12
└─⟦c319c2751⟧ »unix3.0/TeX3.0.tar.Z«
└─⟦036c765ac⟧
└─⟦this⟧ »TeX3.0/web2c/Makefile«
# Makefile for TeX to C conversion programs.
#
SITEDIR=..
CC=gcc
OPT=-g
CFLAGS=$(OPT) -I$(SITEDIR)
LDFLAGS=$(OPT)
SHELL=/bin/sh
# You can substitute `bison -y' for `yacc' if you like.
YACC=yacc
# Note: If you're going to use flex, compile web2cl.c with "-DFLEX".
LEX=lex
all: web2c fixwrites splitup regfix
web2c: web2cy.o web2cl.o web2c.o
$(CC) $(LDFLAGS) -o web2c web2c.o web2cy.o web2cl.o -ll
web2cl.o: web2cl.c web2c.h web2cy.h symtab.h $(SITEDIR)/site.h
web2cy.o: web2cy.c web2c.h symtab.h $(SITEDIR)/site.h
web2c.o: web2c.c symtab.h web2cy.h $(SITEDIR)/site.h
web2cl.c: web2c.lex
$(LEX) web2c.lex
mv -f lex.yy.c web2cl.c
web2cy.c: web2c.yacc
$(YACC) -d web2c.yacc
mv -f y.tab.c web2cy.c
-if test -f web2cy.h; \
then cmp y.tab.h web2cy.h || cp y.tab.h web2cy.h; \
else cp y.tab.h web2cy.h; \
fi
fixwrites: fixwrites.c
$(CC) $(CFLAGS) -o fixwrites fixwrites.c
splitup: splitup.c $(SITEDIR)/site.h
$(CC) $(CFLAGS) -o splitup splitup.c
regfix: regfix.c $(SITEDIR)/site.h
$(CC) $(CFLAGS) -o regfix regfix.c
veryclean: clean
rm -f \#*\# *~ *.bak *.ckp core
clean:
rm -f *.o regfix splitup fixwrites web2c \
web2cy.c web2cl.c web2cy.h y.tab.h
check: lint
lint: web2cy.c web2cl.c
lint -I${SITEDIR} -zhx web2cy.c web2cl.c web2c.c
lint -I${SITEDIR} -zhx fixwrites.c
lint -I${SITEDIR} -zhx splitup.c
lint -I${SITEDIR} -zhx regfix.c