# $Header$ # # Copyright 1990 by the Massachusetts Institute of Technology. # # For copying and distribution information, # please see the file . # # Imakefile for mrtest. # SRCS= mrtest.c test.c comp.c SRCDIR=${SRCTOP}/clients/mrtest CODE=${SRCS} Imakefile test_cmds.ct blah.h OBJS= mrtest.o test_cmds.o test.o comp.o INCLUDE= -I$(BUILDTOP)/include -I$(BUILDTOP)/lib -I$(BUILDTOP)/util/ss program(mrtest, ${OBJS},${MR_LIBDEP} ${GDB_LIBDEP}, ${CLIBS} ${SS_LIB},${PROGDIR}) mk_cmds(test_cmds) test.o: mr_err_array.h mr_err_array.h: ${RM} mr_err_array.h echo "char * MR_ERR_ARRAY[] = {" > mr_err_array.h tr -d , < ../../lib/mr_et.et \ | awk '$$1=="ec" {printf("\"%s\",\n", $$2)}' >> mr_err_array.h echo "};" >> mr_err_array.h clean:: ${RM} mr_err_array.h