1 ## Process this file with automake to produce Makefile.in
5 SUBDIRS=src input output .
7 DMALLOC_LOG = dmalloc.log
8 TESTS := $(wildcard $(srcdir)/*.test)
12 TESTS_ENVIRONMENT=ICONV_PATH=@ICONV_PATH@
15 @rm -f *.out $(DMALLOC_LOG)
17 check-% : %.test all-local
18 @srcdir=$(srcdir); export srcdir; \
19 if $(TESTS_ENVIRONMENT) ./$<; then \
20 echo "Test succeeded"; \
25 check-dmalloc-%: %.test all-local
26 @if [ "@EXTRA_PROGS@" = "" ]; then \
27 echo "Please run './configure --with-dmalloc' first"; \
30 srcdir=$(srcdir); export srcdir; \
31 GOM_DMALLOC_TEST=$(DMALLOC_LOG); export GOM_DMALLOC_TEST; \
32 if $(TESTS_ENVIRONMENT) ./$<; then \
33 echo "Test succeeded"; \