Add partialcheck make targets. Also add RUNTOOL, COMPILETOOL and SWIGTOOL variables for invoking tools when running tests, compiling or invoking swig

git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10482 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
William S Fulton 2008-05-20 21:27:22 +00:00
commit f06222b993
26 changed files with 116 additions and 88 deletions

View file

@ -40,6 +40,10 @@ LIBCRYPT = @LIBCRYPT@
SYSLIBS = $(LIBM) $(LIBC) $(LIBCRYPT)
LIBPREFIX =
# RUNTOOL is for use as with runtime tools, eg set it to valgrind
RUNTOOL =
COMPILETOOL=
# X11 options
XLIB = @XLIBSW@
@ -726,7 +730,7 @@ PHP4=@PHP4@
SCRIPT ?= runme.php4
php4_run:
env LD_LIBRARY_PATH=.:$$LD_LIBRARY_PATH $(PHP4) -n -q -d extension_dir=. $(SCRIPT)
env LD_LIBRARY_PATH=.:$$LD_LIBRARY_PATH $(RUNTOOL) $(PHP4) -n -q -d extension_dir=. $(SCRIPT)
# -----------------------------------------------------------------
# Cleaning the PHP4 examples
@ -925,7 +929,7 @@ csharp_cpp: $(SRCS)
# ----------------------------------------------------------------
csharp_compile: $(SRCS)
$(CSHARPCOMPILER) $(CSHARPFLAGS) $(CSHARPSRCS)
$(COMPILETOOL) $(CSHARPCOMPILER) $(CSHARPFLAGS) $(CSHARPSRCS)
# -----------------------------------------------------------------
# Cleaning the CSharp examples