]> andersk Git - moira.git/blob - db/Makefile
*** empty log message ***
[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/queries.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
18
19 newsms: ${OBJS}
20         cc -o newsms ${OBJS} ${INGLIB}
21
22 newsms.c: newsms.qc
23
24 tables.c: newdb db2tbls.awk
25         awk -f db2tbls.awk < newdb > tables.c
26
27 extractdb: extract.o
28         cc -o extractdb extract.o ${INGLIB}
29
30 extract.c: extract.qc
31
32 class: class.o
33         cc -o class class.o ../lib/libsms.a ${INGLIB}
34
35 class.c: class.qc
36
37 convert: conv.o data.o match.o
38         cc -o convert conv.o data.o match.o ../lib/libsms.a ${INGLIB}
39
40 conv.c: conv.qc
41 data.c: data.qc
42 match.c: match.qc
43
44 clean:
45         rm -f *.o newsms.c tables.c newsms extractdb extract.c class class.c
46         rm -f convert conv.c match.c data.c
47
48 install: newsms extractdb
49         install newsms ../bin
50         install extractdb ../bin
This page took 0.040376 seconds and 5 git commands to generate.