|
|
1.1 root 1: CFLAGS=-O -Dunix=1 -Dvax=1 -DFLEXNAMES -DMTIME
2:
3: cpp : cpp.o cpy.o rodata.o
4: $(CC) $(CFLAGS) -o cpp rodata.o cpp.o cpy.o
5:
6: cpy.c : cpy.y
7: yacc cpy.y
8: :yyfix yyexca yyact yypact yypgo yyr1 yyr2 yychk yydef
9: mv y.tab.c cpy.c
10: cpy.o : cpy.c yylex.c
11: rodata.o : cpy.c
12: $(CC) $(CFLAGS) -R -c rodata.c
13:
14: clean :
15: rm -f *.s *.o cpy.c rodata.c cpp y.tab.c
16:
17: install : cpp
18: strip cpp
19: mv cpp $(DESTDIR)/lib
20:
21: test:
22: rm -fr testdir
23: mkdir testdir
24: cp /lib/c2 /lib/ccom testdir
25: make clean
26: make cpp
27: cp cpp testdir/cpp
28: make clean
29: make CFLAGS="${CFLAGS} -Btestdir/" cpp
30: cp cpp testdir/cpp
31: make clean
32: make CFLAGS="${CFLAGS} -Btestdir/" cpp
33: cmp cpp testdir/cpp
34: rm -fr testdir
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.