|
|
1.1 root 1: # hp/Makefile 11/12/90
2: # Make hp versions of the line printer daemon and spooler.
3: # This also makes the hp filter,
4: # for converting nroff output to HP LaserJet printer escape sequences (PCL).
5: # This Makefile and this directory should be integrated with lpr.
6:
7: DESTDIR=/f1/bin/
8: ALL=\
9: hp\
10: hpd\
11: hpr\
12: hpskip
13: OBJ=\
14: hp.o\
15: hpr.o\
16: hpskip.o\
17: hpd1.o\
18: hpd2.o\
19: hpprint.o
20:
21: # Primary target.
22: all: $(ALL)
23: : all done
24:
25: # Secondary targets.
26: hp: hp.o
27: cc $?
28: hpd: hpd1.o hpd2.o hpprint.o
29: cc -o $@ hpd1.o hpd2.o hpprint.o
30: hpr: hpr.o
31: cc $?
32: hpskip: hpskip.o
33: cc $?
34:
35: # Unlinked objects.
36: hp.o: hp.c
37: hpr.o: lpr.c
38: cc -c -o $(DESTDIR)$@ -DLASER $?
39: hpskip.o: lpskip.c
40: cc -c -o $(DESTDIR)$@ -DLASER $?
41: hpd1.o: lpd1.c
42: cc -c -o $(DESTDIR)$@ -DLASER $?
43: hpd2.o: lpd2.c
44: cc -c -o $(DESTDIR)$@ $?
45: hpprint.o: hpprint.c
46:
47: clean:
48: rm $(ALL) $(OBJ)
49: strip: $(ALL)
50: strip $(ALL)
51:
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.