]> andersk Git - moira.git/blame - db/Makefile
punt extractdb
[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
9OBJS=newsms.o tables.o ../server/queries.o ../server/queries2.o
264217a0 10CFLAGS= -I../include -O
11.SUFFIXES: .qc
12
13.qc.c:
14 rm -f $*.c
15 /usr/rtingres/bin/eqc -p $*
16
17all: newsms class convert
51e7c423 18
19newsms: ${OBJS}
20 cc -o newsms ${OBJS} ${INGLIB}
21
22newsms.c: newsms.qc
51e7c423 23
24tables.c: newdb db2tbls.awk
25 awk -f db2tbls.awk < newdb > tables.c
26
264217a0 27class: class.o
28 cc -o class class.o ../lib/libsms.a ${INGLIB}
29
30class.c: class.qc
31
32convert: conv.o data.o match.o
33 cc -o convert conv.o data.o match.o ../lib/libsms.a ${INGLIB}
34
35conv.c: conv.qc
36data.c: data.qc
37match.c: match.qc
38
51e7c423 39clean:
264217a0 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
51e7c423 42
28eb32f5 43install: newsms
51e7c423 44 install newsms ../bin
This page took 0.06952 seconds and 5 git commands to generate.