]> andersk Git - moira.git/blob - clients/mrtest/Imakefile
9a233b4953e9cd069bb0c534c118288e89cf63cf
[moira.git] / clients / mrtest / Imakefile
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
11 SRCS=   mrtest.c tst.c comp.c
12 SRCDIR=${SRCTOP}/clients/mrtest
13 CODE=${SRCS} Imakefile test_cmds.ct blah.h
14 OBJS=   mrtest.o test_cmds.o tst.o comp.o
15
16 program(mrtest, ${OBJS},${MR_LIBDEP} ${GDB_LIBDEP}, ${CLIBS} ${SS_LIB},${ETCDIR})
17 mk_cmds(test_cmds)
18
19 tst.o: mr_err_array.h
20
21 mr_err_array.h:
22         ${RM} mr_err_array.h
23         echo "char * MR_ERR_ARRAY[] = {" > mr_err_array.h
24         tr -d , < ../../lib/mr_et.et \
25             | awk '$$1=="ec" {printf("\"%s\",\n", $$2)}' >> mr_err_array.h
26         echo "};" >> mr_err_array.h
27
28 clean::
29         ${RM} mr_err_array.h
This page took 0.027184 seconds and 3 git commands to generate.