]>
Commit | Line | Data |
---|---|---|
6e6374cb | 1 | # |
2 | # $Source$ | |
3 | # $Header$ | |
4 | # | |
5a34daa1 | 5 | # (c) Copyright 1988 by the Massachusetts Institute of Technology. |
6 | # For copying and distribution information, please see the file | |
7 | # <mit-copyright.h>. | |
6e6374cb | 8 | |
9 | ||
8defc06b | 10 | LIBS = ../rpc/libmoira.a ../gdb/libgdb.a |
92b7433e | 11 | LLIBS= -L../lib -lhesiod -lkrb -ldes -lhesiod -lss -lcom_err -lm -lc |
6e6374cb | 12 | |
a4bfedc7 | 13 | SRCS= test.c |
14 | ||
6e6374cb | 15 | COPTS= -O |
16 | ||
17 | INCDIRS=-I../include | |
18 | ||
19 | CFLAGS= ${INCDIRS} ${COPTS} | |
20 | ||
a4bfedc7 | 21 | .SUFFIXES: .ct .c .o |
6e6374cb | 22 | |
9da60202 | 23 | .ct.o: ; ../ss/make_commands $*.ct |
6e6374cb | 24 | |
a4bfedc7 | 25 | all: mrtest |
6e6374cb | 26 | |
a4bfedc7 | 27 | mrtest: test_cmds.o test.o ${LIBS} |
28 | rm -f mrtest | |
5a34daa1 | 29 | cc ${COPTS} -o $@ test_cmds.o test.o ${LIBS} ${LLIBS} |
6e6374cb | 30 | |
31 | clean: | |
32 | rm -f *.o core \#* *~ gmon.out | |
a4bfedc7 | 33 | rm -f mrtest |
34 | ||
35 | install: mrtest | |
92b7433e | 36 | install -c -s mrtest ${DESTDIR}/usr/etc/mrtest |
a4bfedc7 | 37 | |
38 | depend: | |
39 | mkdep ${CFLAGS} ${SRCS} | |
40 | ||
41 | # DO NOT DELETE THIS LINE -- mkdep uses it. | |
6e6374cb | 42 | |
a4bfedc7 | 43 | test.o: test.c ../include/mit-copyright.h /usr/include/stdio.h |
8defc06b | 44 | test.o: /usr/include/sys/file.h /usr/include/ctype.h ../include/moira.h |
45 | test.o: ../include/mr_et.h ../include/ss.h |