]> andersk Git - moira.git/blame - db/Makefile
*** empty log message ***
[moira.git] / db / Makefile
CommitLineData
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 8INGLIB=/usr/rtingres/lib/libqlib /usr/rtingres/lib/compatlib
4907f36f 9SRCS=newmoira.c tables.c imembers.c class.c tables_sql.c
10OBJS=newmoira.o tables.o ../server/queries2.o tables_sql.o
264217a0 11CFLAGS= -I../include -O
12.SUFFIXES: .qc
13
14.qc.c:
15 rm -f $*.c
16 /usr/rtingres/bin/eqc -p $*
17
eab653aa 18all: newmoira class imembers
f3a65d70 19
20imembers: imembers.o
2ce085d2 21 cc -o imembers imembers.o ../lib/libmoira.a ${INGLIB}
f3a65d70 22imembers.c: imembers.qc
51e7c423 23
a8ffbb5d 24newmoira: ${OBJS}
25 cc -o newmoira ${OBJS} ${INGLIB}
51e7c423 26
a8ffbb5d 27newmoira.c: newmoira.qc
51e7c423 28
29tables.c: newdb db2tbls.awk
30 awk -f db2tbls.awk < newdb > tables.c
31
a40f8101 32tables_sql.c: newdb.sql db2tbls_sql.awk
33 awk -f db2tbls_sql.awk < newdb.sql > tables_sql.c
34
264217a0 35class: class.o
2ce085d2 36 cc -o class class.o ../lib/libmoira.a ${INGLIB}
264217a0 37
38class.c: class.qc
39
a8ffbb5d 40clean:
41 rm -f *.o newmoira.c tables.c newmoira extractdb extract.c class class.c
42 rm -f imembers.c imembers
4907f36f 43 rm -f tables_sql.c
264217a0 44
a8ffbb5d 45install: newmoira
a7ef7615 46 install -c newmoira ../bin
264217a0 47
a8ffbb5d 48depend: ${SRCS}
49 mkdep ${CFLAGS} ${SRCS}
50
51# DO NOT DELETE THIS LINE -- mkdep uses it.
51e7c423 52
a8ffbb5d 53newmoira.o: newmoira.c ../include/mit-copyright.h /usr/include/stdio.h
54newmoira.o: ../server/query.h
55tables.o: tables.c
4907f36f 56tables_sql.o: tables_sql.c
2ce085d2 57imembers.o: imembers.c /usr/include/stdio.h ../include/moira.h
58imembers.o: ../include/mr_et.h
59class.o: class.c ../include/mit-copyright.h ../include/moira.h
60class.o: ../include/mr_et.h
This page took 0.078329 seconds and 5 git commands to generate.