]> andersk Git - moira.git/blame - db/Makefile
added authors
[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 27extractdb: extract.o
28 cc -o extractdb extract.o ${INGLIB}
29
30extract.c: extract.qc
31
32class: class.o
33 cc -o class class.o ../lib/libsms.a ${INGLIB}
34
35class.c: class.qc
36
37convert: conv.o data.o match.o
38 cc -o convert conv.o data.o match.o ../lib/libsms.a ${INGLIB}
39
40conv.c: conv.qc
41data.c: data.qc
42match.c: match.qc
43
51e7c423 44clean:
264217a0 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
51e7c423 47
264217a0 48install: newsms extractdb
51e7c423 49 install newsms ../bin
264217a0 50 install extractdb ../bin
This page took 0.05505 seconds and 5 git commands to generate.