]>
Commit | Line | Data |
---|---|---|
4a3256d5 | 1 | # $Header$ |
2 | # Database consistency checker | |
3 | # | |
4 | # (c) Copyright 1988 by the Massachusetts Institute of Technology. | |
5 | # For copying and distribution information, please see the file | |
6 | # <mit-copyright.h>. | |
7 | ||
8 | ||
650d70fc | 9 | .SUFFIXES: |
10 | .SUFFIXES: .o .c .qc | |
11 | CFLAGS= -I../include -g | |
12 | ||
13 | OBJS = dbck.o fix.o phase1.o phase2.o phase3.o phase4.o | |
14 | ||
15 | EQLIBS = ../lib/libsms.a ../server/libsmsglue.a \ | |
16 | /usr/rtingres/lib/libqlib /usr/rtingres/lib/compatlib | |
17 | ||
18 | .qc.c: | |
19 | /usr/rtingres/bin/eqc -p $*.qc | |
20 | ||
21 | all: dbck | |
22 | ||
23 | dbck: ${OBJS} | |
24 | cc -o $@ ${CFLAGS} ${OBJS} ${EQLIBS} | |
25 | ||
26 | dbck.c: dbck.qc | |
27 | dbck.o: dbck.h dbck.c | |
28 | fix.o: fix.c dbck.h | |
29 | fix.c: fix.qc | |
30 | phase1.o: phase1.c dbck.h | |
31 | phase1.c: phase1.qc | |
32 | phase2.o: phase2.c | |
33 | phase2.c: phase2.qc | |
34 | phase3.o: phase3.c | |
35 | phase3.c: phase3.qc | |
36 | phase4.o: phase4.c | |
37 | phase4.c: phase4.qc | |
38 | ||
39 | ||
40 | clean: | |
41 | rm -f *.o | |
42 | rm -f dbck.c fix.c phase1.c phase2.c phase3.c phase4.c dbck | |
43 | rm -f core *~ | |
4a3256d5 | 44 | |
45 | install: dbck | |
46 | install dbck ../bin/dbck |