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