]> andersk Git - moira.git/blame_incremental - db/Makefile
Initialize the SMS error table so that if there are errors, they can be
[moira.git] / db / Makefile
... / ...
CommitLineData
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
8INGLIB=/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
11SRCS=newmoira.c tables_sql.c imembers.c class.c
12OBJS=newmoira.o tables_sql.o ../server/queries2.o
13CFLAGS= -I../include -O
14.SUFFIXES: .qc
15
16.qc.c:
17 rm -f $*.c
18 /usr/rtingres/bin/eqc -p $*
19
20all: newmoira class imembers
21
22imembers: imembers.o
23 cc -o imembers imembers.o ../lib/libmoira.a ${INGLIB}
24imembers.c: imembers.qc
25
26newmoira: ${OBJS}
27 cc -o newmoira ${OBJS} ${INGLIB}
28
29newmoira.c: newmoira.qc
30
31tables.c: newdb db2tbls.awk
32 awk -f db2tbls.awk < newdb > tables.c
33
34tables_sql.c: newdb.sql db2tbls_sql.awk
35 awk -f db2tbls_sql.awk < newdb.sql > tables_sql.c
36
37class: class.o
38 cc -o class class.o ../lib/libmoira.a ${INGLIB}
39
40class.c: class.qc
41
42clean:
43 rm -f *.o newmoira.c tables.c newmoira extractdb extract.c class class.c
44 rm -f imembers.c imembers
45 rm -f tables_sql.c
46
47install: newmoira
48 install -c newmoira ../bin
49
50depend: ${SRCS}
51 mkdep ${CFLAGS} ${SRCS}
52
53# DO NOT DELETE THIS LINE -- mkdep uses it.
54
55newmoira.o: newmoira.c ../include/mit-copyright.h /usr/include/stdio.h
56newmoira.o: ../server/query.h
57tables.o: tables.c
58tables_sql.o: tables_sql.c
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.103619 seconds and 5 git commands to generate.