]> andersk Git - moira.git/blame - db/Makefile
create empty .dir & .pag files before compiling new database
[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
f3a65d70 9OBJS=newsms.o tables.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
f3a65d70 17all: newsms class convert imembers
18
19imembers: imembers.o
20 cc -o imembers imembers.o ../lib/libsms.a ${INGLIB}
21imembers.c: imembers.qc
51e7c423 22
23newsms: ${OBJS}
24 cc -o newsms ${OBJS} ${INGLIB}
25
26newsms.c: newsms.qc
51e7c423 27
28tables.c: newdb db2tbls.awk
29 awk -f db2tbls.awk < newdb > tables.c
30
264217a0 31class: class.o
32 cc -o class class.o ../lib/libsms.a ${INGLIB}
33
34class.c: class.qc
35
36convert: conv.o data.o match.o
37 cc -o convert conv.o data.o match.o ../lib/libsms.a ${INGLIB}
38
39conv.c: conv.qc
40data.c: data.qc
41match.c: match.qc
42
51e7c423 43clean:
264217a0 44 rm -f *.o newsms.c tables.c newsms extractdb extract.c class class.c
f3a65d70 45 rm -f convert conv.c match.c data.c imembers.c imembers
51e7c423 46
28eb32f5 47install: newsms
51e7c423 48 install newsms ../bin
This page took 0.069137 seconds and 5 git commands to generate.