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