3 # (c) Copyright 1988 by the Massachusetts Institute of Technology.
4 # For copying and distribution information, please see the file
8 INGLIB=/usr/rtingres/lib/libqlib /usr/rtingres/lib/compatlib
9 # SRCS=newmoira.c tables.c imembers.c class.c tables_sql.c
10 # OBJS=newmoira.o tables.o tables_sql.o ../server/queries2.o
11 SRCS=newmoira.c tables_sql.c imembers.c class.c
12 OBJS=newmoira.o tables_sql.o ../server/queries2.o
13 CFLAGS= -I../include -O
18 /usr/rtingres/bin/eqc -p $*
20 all: newmoira class imembers
23 cc -o imembers imembers.o ../lib/libmoira.a ${INGLIB}
24 imembers.c: imembers.qc
27 cc -o newmoira ${OBJS} ${INGLIB}
29 newmoira.c: newmoira.qc
31 tables.c: newdb db2tbls.awk
32 awk -f db2tbls.awk < newdb > tables.c
34 tables_sql.c: newdb.sql db2tbls_sql.awk
35 awk -f db2tbls_sql.awk < newdb.sql > tables_sql.c
38 cc -o class class.o ../lib/libmoira.a ${INGLIB}
43 rm -f *.o newmoira.c tables.c newmoira extractdb extract.c class class.c
44 rm -f imembers.c imembers
48 install -c newmoira ../bin
51 mkdep ${CFLAGS} ${SRCS}
53 # DO NOT DELETE THIS LINE -- mkdep uses it.
55 newmoira.o: newmoira.c ../include/mit-copyright.h /usr/include/stdio.h
56 newmoira.o: ../server/query.h
58 tables_sql.o: tables_sql.c
59 imembers.o: imembers.c /usr/include/stdio.h ../include/moira.h
60 imembers.o: ../include/mr_et.h
61 class.o: class.c ../include/mit-copyright.h ../include/moira.h
62 class.o: ../include/mr_et.h