]>
Commit | Line | Data |
---|---|---|
1 | # $Header$ | |
2 | ||
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 | ||
8 | INGLIB=/usr/rtingres/lib/libqlib /usr/rtingres/lib/compatlib | |
9 | SRCS=newmoira.c tables.c imembers.c class.c | |
10 | OBJS=newmoira.o tables.o ../server/queries2.o | |
11 | CFLAGS= -I../include -O | |
12 | .SUFFIXES: .qc | |
13 | ||
14 | .qc.c: | |
15 | rm -f $*.c | |
16 | /usr/rtingres/bin/eqc -p $* | |
17 | ||
18 | all: newmoira class imembers | |
19 | ||
20 | imembers: imembers.o | |
21 | cc -o imembers imembers.o ../lib/libmoira.a ${INGLIB} | |
22 | imembers.c: imembers.qc | |
23 | ||
24 | newmoira: ${OBJS} | |
25 | cc -o newmoira ${OBJS} ${INGLIB} | |
26 | ||
27 | newmoira.c: newmoira.qc | |
28 | ||
29 | tables.c: newdb db2tbls.awk | |
30 | awk -f db2tbls.awk < newdb > tables.c | |
31 | ||
32 | class: class.o | |
33 | cc -o class class.o ../lib/libmoira.a ${INGLIB} | |
34 | ||
35 | class.c: class.qc | |
36 | ||
37 | clean: | |
38 | rm -f *.o newmoira.c tables.c newmoira extractdb extract.c class class.c | |
39 | rm -f imembers.c imembers | |
40 | ||
41 | install: newmoira | |
42 | install -c newmoira ../bin | |
43 | ||
44 | depend: ${SRCS} | |
45 | mkdep ${CFLAGS} ${SRCS} | |
46 | ||
47 | # DO NOT DELETE THIS LINE -- mkdep uses it. | |
48 | ||
49 | newmoira.o: newmoira.c ../include/mit-copyright.h /usr/include/stdio.h | |
50 | newmoira.o: ../server/query.h | |
51 | tables.o: tables.c | |
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 |