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