]> andersk Git - moira.git/blobdiff - incremental/Makefile
Used /bin/sh format instead of /bin/csh format, by accident.
[moira.git] / incremental / Makefile
index 6b02017d36bd590a310d9b9330601dc26e21c9f1..1a0f020248c35806ca2ebb19ac5142bd00736d68 100644 (file)
@@ -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
This page took 0.035841 seconds and 4 git commands to generate.