swig/SWIG/Examples/test-suite/guilescm/Makefile.in
2004-11-04 01:28:37 +00:00

24 lines
884 B
Makefile

#######################################################################
# $Header$
# Makefile for guile test-suite (with SCM API)
#######################################################################
include ../guile/Makefile
VARIANT =
# Refer to the guile directory for the run scripts
SCRIPTPREFIX = ../guile/
# Runs the testcase. A testcase is only run if
# a file is found which has _runme.scm appended after the testcase name.
run_testcase = \
if [ -f $(srcdir)/$(SCRIPTPREFIX)$*$(SCRIPTSUFFIX) ]; then ( \
env LD_LIBRARY_PATH=.:$$LD_LIBRARY_PATH $(GUILE) -l $(srcdir)/$(SCRIPTPREFIX)$*$(SCRIPTSUFFIX);) \
fi;
setup = \
if [ -f $(srcdir)/$(SCRIPTPREFIX)$*$(SCRIPTSUFFIX) ]; then \
echo "Checking testcase $* (with run test) under $(LANGUAGE) (with SCM API)" ; \
else \
echo "Checking testcase $* under $(LANGUAGE) (with SCM API)" ; \
fi;