]> 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 737ca36bd887b088a62380eaf283b1f6c2ddfc9d..d98e9ebb5b0f92a590451b88c7a7e2ca9d58f60f 100644 (file)
@@ -7,8 +7,10 @@
 # <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
 
@@ -16,19 +18,28 @@ INCDIRS=-I../include
 
 CFLAGS= ${INCDIRS} ${COPTS}
 
-.SUFFIXES: .ct
+.SUFFIXES: .ct .c .o
 
 .ct.o: ; ../ss/make_commands $*.ct
 
-all: smstest
+all: mrtest
 
-smstest: test_cmds.o test.o ${LIBS} 
-       rm -f smstest
+mrtest: test_cmds.o test.o ${LIBS} 
+       rm -f mrtest
        cc ${COPTS} -o $@ test_cmds.o test.o ${LIBS} ${LLIBS}
 
 clean:
        rm -f *.o core \#* *~ gmon.out
-       rm -f smstest
+       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: smstest
-       install -s smstest ${DESTDIR}/usr/etc/smstest
+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.036295 seconds and 4 git commands to generate.