]> andersk Git - moira.git/blobdiff - clients/mrtest/Makefile
Used /bin/sh format instead of /bin/csh format, by accident.
[moira.git] / clients / mrtest / Makefile
index 972812b00bddcc4c5ec643fa2fd79cfdadc086b9..d98e9ebb5b0f92a590451b88c7a7e2ca9d58f60f 100644 (file)
@@ -2,10 +2,15 @@
 #      $Source$
 #      $Header$
 #
+# (c) Copyright 1988 by the Massachusetts Institute of Technology.
+# For copying and distribution information, please see the file
+# <mit-copyright.h>.
 
 
-LIBS = ../rpc/libsms.a ../gdb/libgdb.a 
-LLIBS= -L../lib -lkrb -ldes -lss -lcom_err -lm -lc 
+LIBS = ../rpc/libmoira.a ../gdb/libgdb.a 
+LLIBS= -L../lib -lhesiod -lkrb -ldes -lhesiod -lss -lcom_err -lm -lc 
+
+SRCS= test.c
 
 COPTS= -O
 
@@ -13,23 +18,28 @@ INCDIRS=-I../include
 
 CFLAGS= ${INCDIRS} ${COPTS}
 
-.SUFFIXES: .ct
+.SUFFIXES: .ct .c .o
 
-.ct.o: ; make_commands $*.ct
+.ct.o: ; ../ss/make_commands $*.ct
 
-all: smstest smsfinger
+all: mrtest
 
-smstest: test_cmds.o test.o ${LIBS} 
+mrtest: test_cmds.o test.o ${LIBS} 
+       rm -f mrtest
        cc ${COPTS} -o $@ test_cmds.o test.o ${LIBS} ${LLIBS}
 
-smsfinger: smsfinger.o ${LIBS} 
-       cc ${COPTS} -o $@ smsfinger.o ${LIBS} ${LLIBS}
-
 clean:
        rm -f *.o core \#* *~ gmon.out
-       rm -f smstest smsfinger
+       rm -f mrtest
+
+install: mrtest
+       install -c -s mrtest ${DESTDIR}/usr/etc/mrtest
+
+depend:
+       mkdep ${CFLAGS} ${SRCS}
+
+# DO NOT DELETE THIS LINE -- mkdep uses it.
 
-install:
-       install smstest ../bin
-# NOT /usr/athena!!!
-       install smsfinger ../bin
+test.o: test.c ../include/mit-copyright.h /usr/include/stdio.h
+test.o: /usr/include/sys/file.h /usr/include/ctype.h ../include/moira.h
+test.o: ../include/mr_et.h ../include/ss.h
This page took 0.052394 seconds and 4 git commands to generate.