|
|
1.1 root 1: # db/Makefile 3/30/93
2: # This version is i386-specific, though it could easily be generalized.
3:
4: # CFLAGS must specify -VNDP so that get_fp_reg can read NDP registers.
5: # Other compile-time options include NOFP and NOCANON, cf. mdb.h.
6: CFLAGS=-VNDP
7:
8: # db executable uses fp output conversion, must be linked with NDP library.
9: # This is not necessary for a NOFP version.
10: LFLAGS=-VNDP -f
11:
12: # Machine-independent objects.
13: OBJ=\
14: db0.o \
15: db1.o \
16: db2.o \
17: db3.o \
18: db4.o \
19: db5.o \
20: db6.o \
21: db7.o \
22: db8.o
23:
24: # Machine-dependent objects.
25: MCHOBJ=\
26: i386db0.o \
27: i386db1.o \
28: i386db2.o \
29: i386db3.o \
30: i386db4.o
31:
32: # Primary target.
33: db: $(OBJ) $(MCHOBJ)
34: $(CC) $(LFLAGS) -o db $(OBJ) $(MCHOBJ)
35:
36: # Secondary targets.
37: # These currently do not include header file dependencies.
38:
39: # Machine-independent.
40: db0.o: db0.c
41: db1.o: db1.c
42: db2.o: db2.c
43: db3.o: db3.c
44: db4.o: db4.c
45: db5.o: db5.c
46: db6.o: db6.c
47: db7.o: db7.c
48: db8.o: db8.c
49:
50: # Machine-dependent.
51: i386db0.o: i386db0.c
52: i386db1.o: i386db1.c
53: i386db2.o: i386db2.c
54: i386db3.o: i386db3.c
55: i386db4.o: i386db4.s
56:
57: # Etc.
58: clean:
59: rm $(OBJ) $(MCHOBJ)
60:
61: # end of db/Makefile
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.