add ccache install and rename php4 to php

git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10937 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
William S Fulton 2008-11-22 12:32:51 +00:00
commit 905b1cf4e9
2 changed files with 22 additions and 16 deletions

View file

@ -49,7 +49,7 @@ skip-guilescm = test -n "@SKIP_GUILESCM@"
skip-guile = test -n "@SKIP_GUILE@"
skip-mzscheme = test -n "@SKIP_MZSCHEME@"
skip-ruby = test -n "@SKIP_RUBY@"
skip-php4 = test -n "@SKIP_PHP4@"
skip-php = test -n "@SKIP_PHP4@"
skip-ocaml = test -n "@SKIP_OCAML@"
skip-octave = test -n "@SKIP_OCTAVE@"
skip-pike = test -n "@SKIP_PIKE@"
@ -89,7 +89,7 @@ check-aliveness:
@$(skip-ruby) || ./$(TARGET) -ruby -help
@$(skip-ocaml) || ./$(TARGET) -ocaml -help
@$(skip-octave) || ./$(TARGET) -octave -help
@$(skip-php4) || ./$(TARGET) -php4 -help
@$(skip-php) || ./$(TARGET) -php -help
@$(skip-pike) || ./$(TARGET) -pike -help
@$(skip-chicken) || ./$(TARGET) -chicken -help
@$(skip-csharp) || ./$(TARGET) -csharp -help
@ -97,6 +97,9 @@ check-aliveness:
@$(skip-lua) || ./$(TARGET) -lua -help
@$(skip-r) || ./$(TARGET) -r -help
check-ccache:
test -z "$(ENABLE_CCACHE)" || (cd $(CCACHE) && $(MAKE) check)
# Checks examples for compilation (does not run them)
check-examples: \
check-tcl-examples \
@ -108,7 +111,7 @@ check-examples: \
check-ruby-examples \
check-ocaml-examples \
check-octave-examples \
check-php4-examples \
check-php-examples \
check-pike-examples \
check-chicken-examples \
check-csharp-examples \
@ -129,7 +132,7 @@ mzscheme_examples :=$(shell sed '/^\#/d' $(srcdir)/Examples/mzscheme/check.list
ruby_examples :=$(shell sed '/^\#/d' $(srcdir)/Examples/ruby/check.list)
ocaml_examples :=$(shell sed '/^\#/d' $(srcdir)/Examples/ocaml/check.list)
octave_examples :=$(shell sed '/^\#/d' $(srcdir)/Examples/octave/check.list)
php4_examples :=$(shell sed '/^\#/d' $(srcdir)/Examples/php4/check.list)
php4_examples :=$(shell sed '/^\#/d' $(srcdir)/Examples/php/check.list)
pike_examples :=$(shell sed '/^\#/d' $(srcdir)/Examples/pike/check.list)
chicken_examples :=$(shell sed '/^\#/d' $(srcdir)/Examples/chicken/check.list)
csharp_examples :=$(shell sed '/^\#/d' $(srcdir)/Examples/csharp/check.list)
@ -181,7 +184,7 @@ check-gifplot: \
check-ruby-gifplot \
check-ocaml-gifplot \
check-octave-gifplot \
check-php4-gifplot \
check-php-gifplot \
check-pike-gifplot \
check-chicken-gifplot \
# check-lua-gifplot \
@ -223,7 +226,7 @@ check-test-suite: \
check-ruby-test-suite \
check-ocaml-test-suite \
check-octave-test-suite \
check-php4-test-suite \
check-php-test-suite \
check-pike-test-suite \
check-csharp-test-suite \
check-modula3-test-suite \
@ -260,7 +263,7 @@ partialcheck-test-suite:
partialcheck-%-test-suite:
@$(MAKE) -k -s check-$*-test-suite ACTION=partialcheck
check: check-aliveness check-examples check-gifplot check-test-suite
check: check-aliveness check-ccache check-examples check-gifplot check-test-suite
# Run known-to-be-broken as well as not broken testcases in the test-suite
all-test-suite: \
@ -274,7 +277,7 @@ all-test-suite: \
all-ruby-test-suite \
all-ocaml-test-suite \
all-octave-test-suite \
all-php4-test-suite \
all-php-test-suite \
all-pike-test-suite \
all-csharp-test-suite \
all-modula3-test-suite \
@ -301,7 +304,7 @@ broken-test-suite: \
broken-ruby-test-suite \
broken-ocaml-test-suite \
broken-octave-test-suite \
broken-php4-test-suite \
broken-php-test-suite \
broken-pike-test-suite \
broken-csharp-test-suite \
broken-modula3-test-suite \
@ -393,7 +396,7 @@ noskip-test-suite: \
noskip-ruby-test-suite \
noskip-ocaml-test-suite \
noskip-octave-test-suite \
noskip-php4-test-suite \
noskip-php-test-suite \
noskip-pike-test-suite \
noskip-csharp-test-suite \
noskip-lua-test-suite \
@ -441,7 +444,7 @@ MKINSTDIRS = @abs_srcdir@/Tools/config/install-sh -m 0755 -d
# Use standard autoconf approach to transform executable name using --program-prefix and --program-suffix
transform = @program_transform_name@
install: install-main install-lib
install: install-main install-lib install-ccache
@echo "Installation complete"
install-main:
@ -450,7 +453,7 @@ install-main:
@echo "Installing $(DESTDIR)$(BIN_DIR)/`echo $(TARGET_NOEXE) | sed '$(transform)'`@EXEEXT@"
@$(INSTALL_PROGRAM) $(TARGET) $(DESTDIR)$(BIN_DIR)/`echo $(TARGET_NOEXE) | sed '$(transform)'`@EXEEXT@
lib-languages = gcj typemaps tcl perl5 python guile java mzscheme ruby php4 ocaml octave \
lib-languages = gcj typemaps tcl perl5 python guile java mzscheme ruby php ocaml octave \
pike chicken csharp modula3 allegrocl clisp lua cffi uffi r
lib-modules = std
@ -485,6 +488,9 @@ install-lib:
fi) ; \
done
install-ccache:
test -z "$(ENABLE_CCACHE)" || (cd $(CCACHE) && $(MAKE) install)
#####################################################################
# TARGETS: uninstall & friends

View file

@ -1331,10 +1331,10 @@ AC_SUBST(RUBYDYNAMICLINKING)
PHP4BIN=
AC_ARG_WITH(php4, AS_HELP_STRING([--without-php4], [Disable PHP])
AS_HELP_STRING([--with-php4=path], [Set location of PHP executable]),[ PHP4BIN="$withval"], [PHP4BIN=yes])
AC_ARG_WITH(php, AS_HELP_STRING([--without-php], [Disable PHP])
AS_HELP_STRING([--with-php=path], [Set location of PHP executable]),[ PHP4BIN="$withval"], [PHP4BIN=yes])
# First, check for "--without-php4" or "--with-php4=no".
# First, check for "--without-php" or "--with-php=no".
if test x"${PHP4BIN}" = xno -o x"${with_alllang}" = xno ; then
AC_MSG_NOTICE([Disabling PHP])
PHP4=
@ -2149,7 +2149,7 @@ AC_CONFIG_FILES([ \
Examples/test-suite/ocaml/Makefile \
Examples/test-suite/octave/Makefile \
Examples/test-suite/perl5/Makefile \
Examples/test-suite/php4/Makefile \
Examples/test-suite/php/Makefile \
Examples/test-suite/pike/Makefile \
Examples/test-suite/python/Makefile \
Examples/test-suite/ruby/Makefile \