# $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
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