]> andersk Git - moira.git/blob - db/Makefile
added fsgroup
[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 class: class.o
28         cc -o class class.o ../lib/libsms.a ${INGLIB}
29
30 class.c: class.qc
31
32 convert: conv.o data.o match.o
33         cc -o convert conv.o data.o match.o ../lib/libsms.a ${INGLIB}
34
35 conv.c: conv.qc
36 data.c: data.qc
37 match.c: match.qc
38
39 clean:
40         rm -f *.o newsms.c tables.c newsms extractdb extract.c class class.c
41         rm -f convert conv.c match.c data.c
42
43 install: newsms
44         install newsms ../bin
This page took 0.040914 seconds and 5 git commands to generate.