]>
Commit | Line | Data |
---|---|---|
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 | 8 | INGLIB=/usr/rtingres/lib/libqlib /usr/rtingres/lib/compatlib |
9 | OBJS=newsms.o tables.o ../server/queries.o ../server/queries2.o | |
264217a0 | 10 | CFLAGS= -I../include -O |
11 | .SUFFIXES: .qc | |
12 | ||
13 | .qc.c: | |
14 | rm -f $*.c | |
15 | /usr/rtingres/bin/eqc -p $* | |
16 | ||
17 | all: newsms class convert | |
51e7c423 | 18 | |
19 | newsms: ${OBJS} | |
20 | cc -o newsms ${OBJS} ${INGLIB} | |
21 | ||
22 | newsms.c: newsms.qc | |
51e7c423 | 23 | |
24 | tables.c: newdb db2tbls.awk | |
25 | awk -f db2tbls.awk < newdb > tables.c | |
26 | ||
264217a0 | 27 | class: class.o |
28 | cc -o class class.o ../lib/libsms.a ${INGLIB} | |
29 | ||
30 | class.c: class.qc | |
31 | ||
32 | convert: conv.o data.o match.o | |
33 | cc -o convert conv.o data.o match.o ../lib/libsms.a ${INGLIB} | |
34 | ||
35 | conv.c: conv.qc | |
36 | data.c: data.qc | |
37 | match.c: match.qc | |
38 | ||
51e7c423 | 39 | clean: |
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 | 43 | install: newsms |
51e7c423 | 44 | install newsms ../bin |