# $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 \
+reg_svr: $(OBJS)
+ cc ${CFLAGS} -o reg_svr $(OBJS) -L../lib \
../server/libsmsglue.a \
- -lcom_err -lkrb -ldes /usr/rtingres/lib/libqlib \
- /usr/rtingres/lib/compatlib
+ -lsms -lcom_err -lkrb -ldes -lzephyr \
+ /usr/rtingres/lib/libqlib /usr/rtingres/lib/compatlib
+
+reg_svr.o requests.o: reg_svr.h
startreg: startreg.c
cc -o startreg startreg.c