]> andersk Git - moira.git/blame - dbck/Makefile
sms -> moira
[moira.git] / dbck / Makefile
CommitLineData
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 11CFLAGS= -I../include -O
650d70fc 12
2ce085d2 13SRCS = dbck.c fix.c phase1.c phase2.c phase3.c phase4.c members.c
650d70fc 14OBJS = dbck.o fix.o phase1.o phase2.o phase3.o phase4.o
15
2ce085d2 16EQLIBS = ../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 22all: dbck members
650d70fc 23
24dbck: ${OBJS}
25 cc -o $@ ${CFLAGS} ${OBJS} ${EQLIBS}
26
27dbck.c: dbck.qc
28dbck.o: dbck.h dbck.c
29fix.o: fix.c dbck.h
30fix.c: fix.qc
31phase1.o: phase1.c dbck.h
32phase1.c: phase1.qc
33phase2.o: phase2.c
34phase2.c: phase2.qc
35phase3.o: phase3.c
36phase3.c: phase3.qc
37phase4.o: phase4.c
38phase4.c: phase4.qc
39
2ce085d2 40members: members.o
41 cc -o members members.o ${EQLIBS}
650d70fc 42
43clean:
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
48install: dbck
2ce085d2 49 install -c dbck ../bin/dbck
50
51depend: ${SRCS}
52 mkdep ${CFLAGS} ${SRCS}
53
54# DO NOT DELETE THIS LINE -- mkdep uses it.
55
56dbck.o: dbck.c ../include/mit-copyright.h /usr/include/stdio.h
57dbck.o: /usr/include/strings.h /usr/include/signal.h dbck.h
58dbck.o: ../include/moira_site.h
59fix.o: fix.c ../include/mit-copyright.h ../include/moira.h ../include/mr_et.h
60fix.o: /usr/include/stdio.h dbck.h ../include/moira_site.h
61phase1.o: phase1.c ../include/mit-copyright.h ../include/moira.h
62phase1.o: ../include/mr_et.h dbck.h ../include/moira_site.h
63phase2.o: phase2.c ../include/mit-copyright.h /usr/include/stdio.h
64phase2.o: ../include/moira.h ../include/mr_et.h dbck.h
65phase2.o: ../include/moira_site.h
66phase3.o: phase3.c ../include/mit-copyright.h dbck.h ../include/moira_site.h
67phase4.o: phase4.c ../include/mit-copyright.h ../include/moira.h
68phase4.o: ../include/mr_et.h dbck.h ../include/moira_site.h
69members.o: members.c /usr/include/stdio.h /usr/include/signal.h
70members.o: ../include/moira.h ../include/mr_et.h
This page took 0.074199 seconds and 5 git commands to generate.