]>
Commit | Line | Data |
---|---|---|
0631d2a6 | 1 | # $Header$ |
2 | # | |
3 | # Copyright 1990 by the Massachusetts Institute of Technology. | |
4 | # | |
5 | # For copying and distribution information, | |
6 | # please see the file <mit-copyright.h>. | |
7 | # | |
8 | # Imakefile for mrtest. | |
9 | # | |
10 | ||
47df1bf1 | 11 | SRCS= mrtest.c tst.c comp.c |
19766ae7 | 12 | SRCDIR=${SRCTOP}/clients/mrtest |
b0f2a4d4 | 13 | CODE=${SRCS} Imakefile test_cmds.ct blah.h |
47df1bf1 | 14 | OBJS= mrtest.o test_cmds.o tst.o comp.o |
19766ae7 | 15 | INCLUDE= -I$(BUILDTOP)/include -I$(BUILDTOP)/lib -I$(BUILDTOP)/util/ss |
0631d2a6 | 16 | |
c69831ee | 17 | program(mrtest, ${OBJS},${MR_LIBDEP} ${GDB_LIBDEP}, ${CLIBS} ${SS_LIB},${ETCDIR}) |
0631d2a6 | 18 | mk_cmds(test_cmds) |
b0f2a4d4 | 19 | |
47df1bf1 | 20 | tst.o: mr_err_array.h |
b0f2a4d4 | 21 | |
22 | mr_err_array.h: | |
23 | ${RM} mr_err_array.h | |
24 | echo "char * MR_ERR_ARRAY[] = {" > mr_err_array.h | |
25 | tr -d , < ../../lib/mr_et.et \ | |
26 | | awk '$$1=="ec" {printf("\"%s\",\n", $$2)}' >> mr_err_array.h | |
27 | echo "};" >> mr_err_array.h | |
28 | ||
29 | clean:: | |
30 | ${RM} mr_err_array.h |