X-Git-Url: http://andersk.mit.edu/gitweb/moira.git/blobdiff_plain/0a5ff702d123caf0af236c08a899ed327edf36a9..d1b2a10e6c720fbac770e01e0bc2080e86665bec:/reg_svr/Makefile diff --git a/reg_svr/Makefile b/reg_svr/Makefile index e27bc459..b33767c3 100644 --- a/reg_svr/Makefile +++ b/reg_svr/Makefile @@ -9,21 +9,22 @@ # . -CFLAGS= -O -I../include +CFLAGS= -O -I../include -I../lib +SRCS = requests.c reg_svr.c startreg.c OBJS = requests.o reg_svr.o all: reg_svr startreg reg_svr: $(OBJS) cc ${CFLAGS} -o reg_svr $(OBJS) -L../lib \ - ../server/libsmsglue.a \ - -lsms -lcom_err -lkrb -ldes -lzephyr \ + ../server/libmoiraglue.a /mit/gdss/vax/libgdss.a \ + -lmoira -lkadm -lkrb -ldes -lzephyr -lhesiod -lcom_err \ /usr/rtingres/lib/libqlib /usr/rtingres/lib/compatlib -reg_svr.o requests.o: reg_svr.h ureg_proto.h +reg_svr.o requests.o: reg_svr.h -startreg: startreg.c - cc -o startreg startreg.c +startreg: startreg.o + cc -o startreg startreg.o clean: /tmp rm -f a.out core *.o @@ -31,5 +32,10 @@ clean: /tmp rm -f unreg_user.c unreg_user install: all - install reg_svr ../bin/reg_svr - install startreg ../bin/startreg + install -c reg_svr ../bin/reg_svr + install -c startreg ../bin/startreg + +depend: + mkdep ${CFLAGS} ${SRCS} + +# DO NOT DELETE THIS LINE -- mkdep uses it.