]>
Commit | Line | Data |
---|---|---|
51e7c423 | 1 | # $Header$ |
2 | ||
264217a0 | 3 | # (c) Copyright 1988 by the Massachusetts Institute of Technology. |
4 | # For copying and distribution information, please see the file | |
5 | # <mit-copyright.h>. | |
6 | ||
7 | ||
51e7c423 | 8 | INGLIB=/usr/rtingres/lib/libqlib /usr/rtingres/lib/compatlib |
a8ffbb5d | 9 | SRCS=newmoira.c tables.c imembers.c class.c |
10 | OBJS=newmoira.o tables.o ../server/queries2.o | |
264217a0 | 11 | CFLAGS= -I../include -O |
12 | .SUFFIXES: .qc | |
13 | ||
14 | .qc.c: | |
15 | rm -f $*.c | |
16 | /usr/rtingres/bin/eqc -p $* | |
17 | ||
eab653aa | 18 | all: newmoira class imembers |
f3a65d70 | 19 | |
20 | imembers: imembers.o | |
2ce085d2 | 21 | cc -o imembers imembers.o ../lib/libmoira.a ${INGLIB} |
f3a65d70 | 22 | imembers.c: imembers.qc |
51e7c423 | 23 | |
a8ffbb5d | 24 | newmoira: ${OBJS} |
25 | cc -o newmoira ${OBJS} ${INGLIB} | |
51e7c423 | 26 | |
a8ffbb5d | 27 | newmoira.c: newmoira.qc |
51e7c423 | 28 | |
29 | tables.c: newdb db2tbls.awk | |
30 | awk -f db2tbls.awk < newdb > tables.c | |
31 | ||
264217a0 | 32 | class: class.o |
2ce085d2 | 33 | cc -o class class.o ../lib/libmoira.a ${INGLIB} |
264217a0 | 34 | |
35 | class.c: class.qc | |
36 | ||
a8ffbb5d | 37 | clean: |
38 | rm -f *.o newmoira.c tables.c newmoira extractdb extract.c class class.c | |
39 | rm -f imembers.c imembers | |
264217a0 | 40 | |
a8ffbb5d | 41 | install: newmoira |
a7ef7615 | 42 | install -c newmoira ../bin |
264217a0 | 43 | |
a8ffbb5d | 44 | depend: ${SRCS} |
45 | mkdep ${CFLAGS} ${SRCS} | |
46 | ||
47 | # DO NOT DELETE THIS LINE -- mkdep uses it. | |
51e7c423 | 48 | |
a8ffbb5d | 49 | newmoira.o: newmoira.c ../include/mit-copyright.h /usr/include/stdio.h |
50 | newmoira.o: ../server/query.h | |
51 | tables.o: tables.c | |
2ce085d2 | 52 | imembers.o: imembers.c /usr/include/stdio.h ../include/moira.h |
53 | imembers.o: ../include/mr_et.h | |
54 | class.o: class.c ../include/mit-copyright.h ../include/moira.h | |
55 | class.o: ../include/mr_et.h |