]> andersk Git - moira.git/blob - db/Makefile
added imembers program; deleted version 1 query table
[moira.git] / db / Makefile
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 OBJS=newsms.o tables.o ../server/queries2.o
10 CFLAGS= -I../include -O
11 .SUFFIXES: .qc
12
13 .qc.c: 
14         rm -f $*.c
15         /usr/rtingres/bin/eqc -p $*
16
17 all: newsms class convert imembers
18
19 imembers: imembers.o
20         cc -o imembers imembers.o ../lib/libsms.a ${INGLIB}
21 imembers.c: imembers.qc
22
23 newsms: ${OBJS}
24         cc -o newsms ${OBJS} ${INGLIB}
25
26 newsms.c: newsms.qc
27
28 tables.c: newdb db2tbls.awk
29         awk -f db2tbls.awk < newdb > tables.c
30
31 class: class.o
32         cc -o class class.o ../lib/libsms.a ${INGLIB}
33
34 class.c: class.qc
35
36 convert: conv.o data.o match.o
37         cc -o convert conv.o data.o match.o ../lib/libsms.a ${INGLIB}
38
39 conv.c: conv.qc
40 data.c: data.qc
41 match.c: match.qc
42
43 clean:
44         rm -f *.o newsms.c tables.c newsms extractdb extract.c class class.c
45         rm -f convert conv.c match.c data.c imembers.c imembers
46
47 install: newsms
48         install newsms ../bin
This page took 0.041704 seconds and 5 git commands to generate.