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