]> andersk Git - moira.git/blob - clients/mrtest/Imakefile
added hosttable stuff
[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 INCLUDE= -I$(BUILDTOP)/include -I$(BUILDTOP)/lib -I$(BUILDTOP)/util/ss
16
17 program(mrtest, ${OBJS},${MR_LIBDEP} ${GDB_LIBDEP}, ${CLIBS} ${SS_LIB},${ETCDIR})
18 mk_cmds(test_cmds)
19
20 tst.o: mr_err_array.h
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
This page took 0.167882 seconds and 5 git commands to generate.