]> andersk Git - moira.git/blobdiff - db/Makefile
fixed name section and see also
[moira.git] / db / Makefile
index 51a06ddf0e07e44094506e392b9edf43e7b4b3dc..679f310cafa97a8f69f5ddf3b5ae4594cf3ee0e2 100644 (file)
@@ -1,19 +1,50 @@
 # $Header$
 
+# (c) Copyright 1988 by the Massachusetts Institute of Technology.
+# For copying and distribution information, please see the file
+# <mit-copyright.h>.
+
+
 INGLIB=/usr/rtingres/lib/libqlib /usr/rtingres/lib/compatlib
 OBJS=newsms.o tables.o ../server/queries.o ../server/queries2.o
+CFLAGS= -I../include -O
+.SUFFIXES: .qc
+
+.qc.c: 
+       rm -f $*.c
+       /usr/rtingres/bin/eqc -p $*
+
+all: newsms class convert
 
 newsms: ${OBJS}
        cc -o newsms ${OBJS} ${INGLIB}
 
 newsms.c: newsms.qc
-       /usr/rtingres/bin/eqc -p newsms.qc
 
 tables.c: newdb db2tbls.awk
        awk -f db2tbls.awk < newdb > tables.c
 
+extractdb: extract.o
+       cc -o extractdb extract.o ${INGLIB}
+
+extract.c: extract.qc
+
+class: class.o
+       cc -o class class.o ../lib/libsms.a ${INGLIB}
+
+class.c: class.qc
+
+convert: conv.o data.o match.o
+       cc -o convert conv.o data.o match.o ../lib/libsms.a ${INGLIB}
+
+conv.c: conv.qc
+data.c: data.qc
+match.c: match.qc
+
 clean:
-       rm -f *.o newsms.c tables.c newsms
+       rm -f *.o newsms.c tables.c newsms extractdb extract.c class class.c
+       rm -f convert conv.c match.c data.c
 
-install: newsms
+install: newsms extractdb
        install newsms ../bin
+       install extractdb ../bin
This page took 0.036363 seconds and 4 git commands to generate.