From: mar Date: Tue, 30 Aug 1988 17:08:12 +0000 (+0000) Subject: added libraries X-Git-Tag: KREL1~181 X-Git-Url: http://andersk.mit.edu/gitweb/moira.git/commitdiff_plain/356ad468d0e5af7056ec86a4aba6e8f0b4528b49 added libraries --- diff --git a/gen/Makefile b/gen/Makefile index bf28cfe4..bb04809b 100644 --- a/gen/Makefile +++ b/gen/Makefile @@ -1,37 +1,45 @@ # $Header$ -INGLIB=/usr/rtingres/lib/libqlib /usr/rtingres/lib/compatlib -CFLAGS= -I../include +LIBS= -L../lib -lsms -lcom_err -lzephyr -lkrb -ldes \ + /usr/rtingres/lib/libqlib /usr/rtingres/lib/compatlib +CFLAGS= -I../include -O .SUFFIXES: .qc .qc.c: rm -f $*.c /usr/rtingres/bin/eqc -p $* -all: passwd.gen aliases.gen hesiod.gen +all: passwd.gen aliases.gen hesiod.gen nfs.gen passwd.gen: passwd.o util.o - cc -o passwd.gen passwd.o util.o ${INGLIB} + cc -o passwd.gen passwd.o util.o ${LIBS} passwd.o: passwd.c aliases.gen: aliases.o util.o - cc -o aliases.gen aliases.o util.o ../lib/libsms.a ${INGLIB} + cc -o aliases.gen aliases.o util.o ${LIBS} aliases.o: aliases.c hesiod.gen: hesiod.o util.o - cc -o hesiod.gen hesiod.o util.o ../lib/libsms.a ${INGLIB} + cc -o hesiod.gen hesiod.o util.o ${LIBS} hesiod.o: hesiod.c +nfs.gen: nfs.o util.o + cc -o nfs.gen nfs.o util.o ${LIBS} + +nfs.o: nfs.c + clean: rm -f *.o rm -f passwd.c passwd.gen rm -f aliases.c aliases.gen rm -f hesiod.c hesiod.gen + rm -f nfs.c nfs.gen install: all install passwd.gen ../bin install aliases.gen ../bin install hesiod.gen ../bin + install nfs.gen ../bin