3 # (c) Copyright 1988 by the Massachusetts Institute of Technology.
4 # For copying and distribution information, please see the file
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
15 /usr/rtingres/bin/eqc -p $*
17 all: newsms class convert
20 cc -o newsms ${OBJS} ${INGLIB}
24 tables.c: newdb db2tbls.awk
25 awk -f db2tbls.awk < newdb > tables.c
28 cc -o extractdb extract.o ${INGLIB}
33 cc -o class class.o ../lib/libsms.a ${INGLIB}
37 convert: conv.o data.o match.o
38 cc -o convert conv.o data.o match.o ../lib/libsms.a ${INGLIB}
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
48 install: newsms extractdb
50 install extractdb ../bin