]>
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 | |
2ce085d2 | 11 | CFLAGS= -I../include -O |
650d70fc | 12 | |
2ce085d2 | 13 | SRCS = dbck.c fix.c phase1.c phase2.c phase3.c phase4.c members.c |
650d70fc | 14 | OBJS = dbck.o fix.o phase1.o phase2.o phase3.o phase4.o |
15 | ||
2ce085d2 | 16 | EQLIBS = ../lib/libmoira.a ../server/libmoiraglue.a \ |
650d70fc | 17 | /usr/rtingres/lib/libqlib /usr/rtingres/lib/compatlib |
18 | ||
19 | .qc.c: | |
20 | /usr/rtingres/bin/eqc -p $*.qc | |
21 | ||
2ce085d2 | 22 | all: dbck members |
650d70fc | 23 | |
24 | dbck: ${OBJS} | |
25 | cc -o $@ ${CFLAGS} ${OBJS} ${EQLIBS} | |
26 | ||
27 | dbck.c: dbck.qc | |
28 | dbck.o: dbck.h dbck.c | |
29 | fix.o: fix.c dbck.h | |
30 | fix.c: fix.qc | |
31 | phase1.o: phase1.c dbck.h | |
32 | phase1.c: phase1.qc | |
33 | phase2.o: phase2.c | |
34 | phase2.c: phase2.qc | |
35 | phase3.o: phase3.c | |
36 | phase3.c: phase3.qc | |
37 | phase4.o: phase4.c | |
38 | phase4.c: phase4.qc | |
39 | ||
2ce085d2 | 40 | members: members.o |
41 | cc -o members members.o ${EQLIBS} | |
650d70fc | 42 | |
43 | clean: | |
44 | rm -f *.o | |
45 | rm -f dbck.c fix.c phase1.c phase2.c phase3.c phase4.c dbck | |
46 | rm -f core *~ | |
4a3256d5 | 47 | |
48 | install: dbck | |
2ce085d2 | 49 | install -c dbck ../bin/dbck |
50 | ||
51 | depend: ${SRCS} | |
52 | mkdep ${CFLAGS} ${SRCS} | |
53 | ||
54 | # DO NOT DELETE THIS LINE -- mkdep uses it. | |
55 | ||
56 | dbck.o: dbck.c ../include/mit-copyright.h /usr/include/stdio.h | |
57 | dbck.o: /usr/include/strings.h /usr/include/signal.h dbck.h | |
58 | dbck.o: ../include/moira_site.h | |
59 | fix.o: fix.c ../include/mit-copyright.h ../include/moira.h ../include/mr_et.h | |
60 | fix.o: /usr/include/stdio.h dbck.h ../include/moira_site.h | |
61 | phase1.o: phase1.c ../include/mit-copyright.h ../include/moira.h | |
62 | phase1.o: ../include/mr_et.h dbck.h ../include/moira_site.h | |
63 | phase2.o: phase2.c ../include/mit-copyright.h /usr/include/stdio.h | |
64 | phase2.o: ../include/moira.h ../include/mr_et.h dbck.h | |
65 | phase2.o: ../include/moira_site.h | |
66 | phase3.o: phase3.c ../include/mit-copyright.h dbck.h ../include/moira_site.h | |
67 | phase4.o: phase4.c ../include/mit-copyright.h ../include/moira.h | |
68 | phase4.o: ../include/mr_et.h dbck.h ../include/moira_site.h | |
69 | members.o: members.c /usr/include/stdio.h /usr/include/signal.h | |
70 | members.o: ../include/moira.h ../include/mr_et.h |