]> andersk Git - moira.git/blobdiff - reg_svr/Makefile
add location of SMS server
[moira.git] / reg_svr / Makefile
index 34257d7daf0df02d89b59e43ab967457abf7e735..e27bc459951ccf6ca5a055a1828a781ad3f7dfdb 100644 (file)
@@ -4,25 +4,24 @@
 #      $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
+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 \
-               ../rpc/strs.o \
+reg_svr: $(OBJS)
+       cc ${CFLAGS} -o reg_svr $(OBJS) -L../lib \
                ../server/libsmsglue.a \
-               -lcom_err -lkrb -ldes -lzephyr \
+               -lsms -lcom_err -lkrb -ldes -lzephyr \
                /usr/rtingres/lib/libqlib /usr/rtingres/lib/compatlib
 
+reg_svr.o requests.o: reg_svr.h ureg_proto.h
+
 startreg: startreg.c
        cc -o startreg startreg.c
 
This page took 0.033022 seconds and 4 git commands to generate.