X-Git-Url: http://andersk.mit.edu/gitweb/moira.git/blobdiff_plain/16ef81f8f1f1839e25a7b790c7fdf5b038f17f12..d1b2a10e6c720fbac770e01e0bc2080e86665bec:/reg_svr/Makefile diff --git a/reg_svr/Makefile b/reg_svr/Makefile index d4c0eade..b33767c3 100644 --- a/reg_svr/Makefile +++ b/reg_svr/Makefile @@ -4,22 +4,27 @@ # $Locker$ # $Header$ # +# (c) Copyright 1988 by the Massachusetts Institute of Technology. +# For copying and distribution information, please see the file +# . -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 @@ -27,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.