]> andersk Git - moira.git/blobdiff - reg_svr/Makefile
sync'ing files for RCS->CVS migration
[moira.git] / reg_svr / Makefile
index e27bc459951ccf6ca5a055a1828a781ad3f7dfdb..b33767c3d1d094e1cfa3e7bc7e8de45cd05c92c9 100644 (file)
@@ -9,21 +9,22 @@
 # <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: $(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.
This page took 2.122153 seconds and 4 git commands to generate.