]> andersk Git - moira.git/blobdiff - reg_svr/Makefile
sync'ing files for RCS->CVS migration
[moira.git] / reg_svr / Makefile
index 17063193aa5c208ab4a4c010167bb4c7c149add3..b33767c3d1d094e1cfa3e7bc7e8de45cd05c92c9 100644 (file)
@@ -4,26 +4,27 @@
 #      $Locker$
 #      $Header$
 #
+# (c) Copyright 1988 by the Massachusetts Institute of Technology.
+# For copying and distribution information, please see the file
+# <mit-copyright.h>.
 
-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: reg_svr.o
-       cc ${CFLAGS} -o reg_svr reg_svr.o -L../../lib \
-               ../rpc/sms_al_filsys.o \
-               ../rpc/sms_al_pobox.o \
-               ../rpc/sms_misc.o \
-               ../rpc/admin_call.o \
-               ../rpc/admin_err.o \
-               ../rpc/ureg_err.o \
-               ../rpc/sq.o \
-               ../server/libsmsglue.a \
-               -lcom_err -lkrb -ldes -lzephyr /usr/rtingres/lib/libqlib \
-               /usr/rtingres/lib/compatlib
-
-startreg: startreg.c
-       cc -o startreg startreg.c
+reg_svr: $(OBJS)
+       cc ${CFLAGS} -o reg_svr $(OBJS) -L../lib \
+               ../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 
+
+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.
This page took 0.032483 seconds and 4 git commands to generate.