|
|
1.1 root 1: # Regular make options:
2: # nroff make nroff
3: # suftab make suftab
4: # clean remove temporary object files
5: # clobber remove all object files
6: # install install nroff
7: #
8:
9:
10: CFLAGS = -O -DNROFF
11: NTSOURCE = hytab.c n1.c n10.c n[2-9i].c nii.c ntab.c strs.hd t10.c \
12: t6.c tab3.c tdef.hd tw.hd uns.hd def.nr.names def.rq.names
13: SMSOURCE = suftabmake.c suftab.c
14: SOURCE = ${NTSOURCE} ${SMSOURCE}
15: NFILES = n1.o n2.o n3.o n4.o n5.o n6.o n7.o n8.o n9.o n10.o ni.o \
16: nii.o ntab.o hytab.o
17: TFILES = n1.o n2.o n3.o n4.o n5.o t6.o n7.o n8.o n9.o t10.o ni.o \
18: nii.o tab3.o hytab.o
19:
20: all: suftab nroff
21: cd terms.d; make all
22: cd macros.d; make all
23:
24: nroff: $(NFILES)
25: ${CC} $(CFLAGS) -o nroff $(NFILES)
26:
27: install: all
28: strip nroff
29: mv nroff /usr/bin
30: mv suftab /usr/lib
31: cd terms.d; make install
32: cd macros.d; make install
33:
34: n[18].o:: tdef.hd strs.hd tw.hd uns.hd
35:
36: n[2-79].o n10.o nii.o:: tdef.hd strs.hd tw.hd
37:
38: t6.o t10.o:: tdef.hd strs.hd
39:
40: ni.o:: tdef.hd nrtab.dt rqtab.dt
41:
42: # ***** NOTE ***** the 300 in the next line is hardwired for (NN)
43: nrtab.dt: bldtab def.nr.names
44: bldtab 300 def.nr.names > nrtab.dt
45:
46: # ***** NOTE ***** the 350 in the next line is hardwired for (NM)
47: rqtab.dt: bldtab def.rq.names
48: bldtab 350 def.rq.names > rqtab.dt
49:
50: suftab: suftabmake.c suftab.c
51: ${CC} suftabmake.c
52: a.out
53: chmod 644 suftab
54:
55: bldtab: bldtab.c tdef.hd
56: cc -s -O -o bldtab bldtab.c
57:
58: clean:
59: rm -f *.o a.out nroff suftab bldtab
60: cd terms.d; make clean
61: cd macros.d; make clean
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.