|
|
1.1 root 1: # build/Makefile 07/15/92
2:
3: # Objects.
4: DESTDIR=/bin386/etc/
5: DESTDIR2=
6: O=\
7: build.o \
8: build0.o \
9: coh_intro.o \
10: cohpatch.o \
11: fdisk.o \
12: hdparms.o \
13: install.o \
14: kbdinstall.o \
15: mkdev.o \
16: mkserial.o \
17: numtab.o \
18: serialno.o
19:
20: # Executables.
21: E=\
22: build \
23: coh_intro \
24: cohpatch \
25: dpb \
26: fdisk \
27: hdparms \
28: install \
29: kbdinstall \
30: mkdev \
31: mkserial \
32: ttytype
33:
34: # Primary target.
35: all: $E
36: : all done
37:
38: # Executables.
39: build: build.o numtab.o serialno.o build0.o
40: $(CC) $(LFLAGS) -o $(DESTDIR)$@ $< -f
41: strip $(DESTDIR)$@
42: coh_intro: coh_intro.o build0.o
43: $(CC) $(LFLAGS) -o $(DESTDIR)$@ $<
44: cohpatch: cohpatch.o build0.o
45: $(CC) $(LFLAGS) -o $(DESTDIR)$@ $<
46: dpb: dpb.s
47: as -xo $(DESTDIR2)$@ $<
48: strip $(DESTDIR2)$@
49: fdisk: fdisk.o
50: $(CC) $(LFLAGS) -o $(DESTDIR)$@ $< -f
51: install: install.o build0.o
52: $(CC) $(LFLAGS) -o $(DESTDIR)$@ $<
53: hdparms: hdparms.o build0.o
54: $(CC) $(LFLAGS) -o $(DESTDIR)$@ $<
55: kbdinstall: kbdinstall.o build0.o
56: $(CC) $(LFLAGS) -o $(DESTDIR)$@ $< -lcurses
57: strip $(DESTDIR)$@
58: mkdev: mkdev.o build0.o
59: $(CC) $(LFLAGS) -o $(DESTDIR)$@ $<
60: mkserial: mkserial.o numtab.o
61: $(CC) $(LFLAGS) -o $@ $<
62: ttytype: ttytype.c
63: cc -v -o $(DESTDIR)$@ $<
64: chmog 511 bin bin $(DESTDIR)$@
65:
66: # Unlinked objects.
67: build.o: build.c build0.h serialno.h
68: build0.o: build0.c build0.h
69: coh_intro.o: coh_intro.c build0.h
70: cohpatch.o: cohpatch.c build0.h
71: fdisk.o: fdisk.c fdisk0.h
72: hdparms.o: hdparms.c build0.h
73: install.o: install.c build0.h
74: kbdinstall.o: kbdinstall.c
75: mkserial.o: mkserial.c serialno.h
76: numtab.o: numtab.c serialno.h
77: serialno.o: serialno.c build0.h serialno.h
78:
79: # Etc.
80: strip: $E
81: strip $E
82: clean:
83: rm $O
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.