X-Git-Url: http://andersk.mit.edu/gitweb/moira.git/blobdiff_plain/fb8809f4fb59fb717a3c26d9d702b0fe90cb6d70..67805159a972397342c342ee735c8acd640e1399:/incremental/Makefile diff --git a/incremental/Makefile b/incremental/Makefile index 6b02017d..1a0f0202 100644 --- a/incremental/Makefile +++ b/incremental/Makefile @@ -1,17 +1,39 @@ # $Header$ -CFLAGS = -I../include -O -LIBS = -L../lib -lsms -lcom_err -lzephyr -lauth -lsys -lkrb -ldes +AFSDIR = /mit/afsdev/bld/dest +AFSLIBS=$(AFSDIR)/lib/afs/libprot.a $(AFSDIR)/lib/afs/libauth.a \ + $(AFSDIR)/lib/libubik.a $(AFSDIR)/lib/afs/util.a \ + $(AFSDIR)/lib/librxkad.a $(AFSDIR)/lib/afs/libsys.a \ + $(AFSDIR)/lib/librx.a $(AFSDIR)/lib/liblwp.a +SRCS = afs.c ksrvtgt.c +DEBUG = -O +CFLAGS = -I../include -I$(AFSDIR)/include $(DEBUG) +LIBS = -L../lib -lmoira -lzephyr -lgdb -lcom_err -lhesiod -lkrb -ldes -all: afs.incr +all: afs.incr ksrvtgt afs.incr: afs.o - cc -o afs.incr afs.o ${LIBS} + cc -o afs.incr afs.o ${AFSLIBS} ${LIBS} + +ksrvtgt: ksrvtgt.o + cc -o ksrvtgt ksrvtgt.o ${LIBS} clean: rm -f *.o - rm -f afs.incr + rm -f afs.incr ksrvtgt install: all install -c afs.incr ../bin + +depend: + mkdep ${CFLAGS} ${SRCS} + +# DO NOT DELETE THIS LINE -- mkdep uses it. + +afs.o: afs.c ../include/moira.h ../include/mr_et.h ../include/moira_site.h +afs.o: ../include/mit-copyright.h /usr/include/sys/file.h +ksrvtgt.o: ksrvtgt.c /usr/include/stdio.h /usr/include/sys/param.h +ksrvtgt.o: /usr/include/machine/machparam.h /usr/include/sys/signal.h +ksrvtgt.o: /usr/include/sys/types.h ../include/krb.h +ksrvtgt.o: ../include/mit-copyright.h ../include/des.h