|
|
1.1 root 1: #
2: # @(#)Makefile 4.2 6/30/83
3: #
4:
5: MAKEPARAM = AS=${AS} CC=${CC} LD=${LD} INCLDIR=${INCLDIR} LIBDIR=${LIBDIR} ULIBDIR=${ULIBDIR} DESTDIR=${DESTDIR}
6: DESTDIR =
7: SRCS = \
8: ni.c nii.c n1.c n2.c \
9: n3.c n4.c n5.c n6.c \
10: n7.c n8.c n9.c n10.c \
11: hytab.c ntab.c suftab.c \
12: d.h tw.h v.h tdef.h sdef.h
13:
14: CFLAGS = -O -DNROFF -DVMUNIX -I../troff/
15: c = ni.o nii.o n1.o n2.o n3.o n4.o n5.o n6.o n7.o n8.o n9.o n10.o
16: s = hytab.o ntab.o suftab.o
17:
18: all: nroff term
19:
20: nroff: $c $s
21: $(CC) -o nroff $s $c
22:
23: ni.o: ../troff/ni.c
24: $(CC) $(CFLAGS) -c ../troff/ni.c
25:
26: nii.o: ../troff/nii.c
27: $(CC) $(CFLAGS) -c ../troff/nii.c
28:
29: n1.o: ../troff/n1.c
30: $(CC) $(CFLAGS) -c ../troff/n1.c
31:
32: n2.o: ../troff/n2.c
33: $(CC) $(CFLAGS) -c ../troff/n2.c
34:
35: n3.o: ../troff/n3.c
36: $(CC) $(CFLAGS) -c ../troff/n3.c
37:
38: n4.o: ../troff/n4.c
39: $(CC) $(CFLAGS) -c ../troff/n4.c
40:
41: n5.o: ../troff/n5.c
42: $(CC) $(CFLAGS) -c ../troff/n5.c
43:
44: n7.o: ../troff/n7.c
45: $(CC) $(CFLAGS) -c ../troff/n7.c
46:
47: n8.o: ../troff/n8.c
48: $(CC) $(CFLAGS) -c ../troff/n8.c
49:
50: n9.o: ../troff/n9.c
51: $(CC) $(CFLAGS) -c ../troff/n9.c
52:
53: hytab.o: ../troff/hytab.c
54: $(CC) -R -c ../troff/hytab.c
55:
56: ntab.o: ../troff/ntab.c
57: $(CC) -R -c ../troff/ntab.c
58:
59: suftab.o: ../troff/suftab.c
60: $(CC) -R -c ../troff/suftab.c
61:
62: term: FRC
63: cd term; make ${MFLAGS} ${MAKEPARAM}
64:
65: FRC:
66:
67: install: all
68: install -s nroff ${DESTDIR}/usr/bin
69: cd term; make ${MFLAGS} ${MAKEPARAM} install
70:
71: clean:
72: rm -f *.o nroff
73: cd term; make ${MFLAGS} clean
74:
75: cleansrc:
76: rm -f *.c Makefile
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.