.SUFFIXES:
.SUFFIXES: .o .c .qc
-CFLAGS= -I../include -g
+CFLAGS= -I../include -I../lib -O
+SRCS = dbck.c fix.c phase1.c phase2.c phase3.c phase4.c members.c
OBJS = dbck.o fix.o phase1.o phase2.o phase3.o phase4.o
-EQLIBS = ../lib/libsms.a ../server/libsmsglue.a \
+EQLIBS = ../lib/libmoira.a ../server/libmoiraglue.a \
/usr/rtingres/lib/libqlib /usr/rtingres/lib/compatlib
.qc.c:
/usr/rtingres/bin/eqc -p $*.qc
-all: dbck
+all: dbck members
dbck: ${OBJS}
cc -o $@ ${CFLAGS} ${OBJS} ${EQLIBS}
phase4.o: phase4.c
phase4.c: phase4.qc
+members: members.o
+ cc -o members members.o ${EQLIBS}
clean:
rm -f *.o
rm -f core *~
install: dbck
- install dbck ../bin/dbck
+ install -c dbck ../bin/dbck
+
+depend: ${SRCS}
+ mkdep ${CFLAGS} ${SRCS}
+
+# DO NOT DELETE THIS LINE -- mkdep uses it.