Makefile re-order

All target languages are in now in alphabetical order
This commit is contained in:
William S Fulton 2022-10-06 22:48:35 +01:00
commit 7b0f7caaf2
2 changed files with 886 additions and 887 deletions

File diff suppressed because it is too large Load diff

View file

@ -58,23 +58,23 @@ docs-main:
# All the languages SWIG speaks (when it wants to) # All the languages SWIG speaks (when it wants to)
##################################################################### #####################################################################
skip-tcl = test -n "@SKIP_TCL@" skip-csharp = test -n "@SKIP_CSHARP@"
skip-perl5 = test -n "@SKIP_PERL5@" skip-d = test -n "@SKIP_D@"
skip-python = test -n "@SKIP_PYTHON@" skip-go = test -n "@SKIP_GO@"
skip-java = test -n "@SKIP_JAVA@"
skip-guile = test -n "@SKIP_GUILE@" skip-guile = test -n "@SKIP_GUILE@"
skip-java = test -n "@SKIP_JAVA@"
skip-javascript = test -n "@SKIP_JAVASCRIPT@"
skip-lua = test -n "@SKIP_LUA@"
skip-mzscheme = test -n "@SKIP_MZSCHEME@" skip-mzscheme = test -n "@SKIP_MZSCHEME@"
skip-ruby = test -n "@SKIP_RUBY@"
skip-php = test -n "@SKIP_PHP@"
skip-ocaml = test -n "@SKIP_OCAML@" skip-ocaml = test -n "@SKIP_OCAML@"
skip-octave = test -n "@SKIP_OCTAVE@" skip-octave = test -n "@SKIP_OCTAVE@"
skip-csharp = test -n "@SKIP_CSHARP@" skip-perl5 = test -n "@SKIP_PERL5@"
skip-lua = test -n "@SKIP_LUA@" skip-php = test -n "@SKIP_PHP@"
skip-python = test -n "@SKIP_PYTHON@"
skip-r = test -n "@SKIP_R@" skip-r = test -n "@SKIP_R@"
skip-ruby = test -n "@SKIP_RUBY@"
skip-scilab = test -n "@SKIP_SCILAB@" skip-scilab = test -n "@SKIP_SCILAB@"
skip-go = test -n "@SKIP_GO@" skip-tcl = test -n "@SKIP_TCL@"
skip-d = test -n "@SKIP_D@"
skip-javascript = test -n "@SKIP_JAVASCRIPT@"
# Additional dependencies for some tests # Additional dependencies for some tests
skip-android = test -n "@SKIP_ANDROID@" skip-android = test -n "@SKIP_ANDROID@"
@ -99,47 +99,47 @@ check-aliveness:
test -x ./$(TARGET) test -x ./$(TARGET)
./$(TARGET) -version ./$(TARGET) -version
./$(TARGET) -help ./$(TARGET) -help
@$(skip-tcl) || ./$(TARGET) -tcl -help @$(skip-csharp) || ./$(TARGET) -csharp -help
@$(skip-perl5) || ./$(TARGET) -perl -help @$(skip-d) || ./$(TARGET) -d -help
@$(skip-python) || ./$(TARGET) -python -help @$(skip-go) || ./$(TARGET) -go -help
@$(skip-java) || ./$(TARGET) -java -help
@$(skip-guile) || ./$(TARGET) -guile -help @$(skip-guile) || ./$(TARGET) -guile -help
@$(skip-java) || ./$(TARGET) -java -help
@$(skip-javascript) || ./$(TARGET) -javascript -help
@$(skip-lua) || ./$(TARGET) -lua -help
@$(skip-mzscheme) || ./$(TARGET) -mzscheme -help @$(skip-mzscheme) || ./$(TARGET) -mzscheme -help
@$(skip-ruby) || ./$(TARGET) -ruby -help
@$(skip-ocaml) || ./$(TARGET) -ocaml -help @$(skip-ocaml) || ./$(TARGET) -ocaml -help
@$(skip-octave) || ./$(TARGET) -octave -help @$(skip-octave) || ./$(TARGET) -octave -help
@$(skip-perl5) || ./$(TARGET) -perl -help
@$(skip-php) || ./$(TARGET) -php7 -help @$(skip-php) || ./$(TARGET) -php7 -help
@$(skip-csharp) || ./$(TARGET) -csharp -help @$(skip-python) || ./$(TARGET) -python -help
@$(skip-lua) || ./$(TARGET) -lua -help
@$(skip-r) || ./$(TARGET) -r -help @$(skip-r) || ./$(TARGET) -r -help
@$(skip-ruby) || ./$(TARGET) -ruby -help
@$(skip-scilab) || ./$(TARGET) -scilab -help @$(skip-scilab) || ./$(TARGET) -scilab -help
@$(skip-go) || ./$(TARGET) -go -help @$(skip-tcl) || ./$(TARGET) -tcl -help
@$(skip-d) || ./$(TARGET) -d -help
@$(skip-javascript) || ./$(TARGET) -javascript -help
check-ccache: check-ccache:
test -z "$(ENABLE_CCACHE)" || (cd $(CCACHE) && $(MAKE) check) test -z "$(ENABLE_CCACHE)" || (cd $(CCACHE) && $(MAKE) check)
# Checks / displays versions of each target language # Checks / displays versions of each target language
check-versions: \ check-versions: \
check-tcl-version \
check-perl5-version \
check-python-version \
check-java-version \
check-javascript-version \
check-android-version \ check-android-version \
check-csharp-version \
check-d-version \
check-go-version \
check-guile-version \ check-guile-version \
check-java-version \
check-javascript-version \
check-lua-version \
check-mzscheme-version \ check-mzscheme-version \
check-ruby-version \
check-ocaml-version \ check-ocaml-version \
check-octave-version \ check-octave-version \
check-perl5-version \
check-php-version \ check-php-version \
check-csharp-version \ check-python-version \
check-lua-version \
check-r-version \ check-r-version \
check-ruby-version \
check-scilab-version \ check-scilab-version \
check-go-version \ check-tcl-version \
check-d-version
# all examples # all examples
check-%-version : check-%-version :
@ -156,43 +156,43 @@ check-%-version :
# Checks examples for compilation (does not run them) # Checks examples for compilation (does not run them)
check-examples: \ check-examples: \
check-tcl-examples \
check-perl5-examples \
check-python-examples \
check-java-examples \
check-android-examples \ check-android-examples \
check-csharp-examples \
check-d-examples \
check-go-examples \
check-guile-examples \ check-guile-examples \
check-java-examples \
check-javascript-examples \
check-lua-examples \
check-mzscheme-examples \ check-mzscheme-examples \
check-ruby-examples \
check-ocaml-examples \ check-ocaml-examples \
check-octave-examples \ check-octave-examples \
check-perl5-examples \
check-php-examples \ check-php-examples \
check-csharp-examples \ check-python-examples \
check-lua-examples \
check-r-examples \ check-r-examples \
check-ruby-examples \
check-scilab-examples \ check-scilab-examples \
check-go-examples \ check-tcl-examples \
check-d-examples \
check-javascript-examples
tcl_examples :=$(shell sed '/^\#/d' $(srcdir)/Examples/tcl/check.list)
perl5_examples :=$(shell sed '/^\#/d' $(srcdir)/Examples/perl5/check.list)
python_examples :=$(shell sed '/^\#/d' $(srcdir)/Examples/python/check.list)
java_examples :=$(shell sed '/^\#/d' $(srcdir)/Examples/java/check.list)
android_examples :=$(shell sed '/^\#/d' $(srcdir)/Examples/android/check.list) android_examples :=$(shell sed '/^\#/d' $(srcdir)/Examples/android/check.list)
csharp_examples :=$(shell sed '/^\#/d' $(srcdir)/Examples/csharp/check.list)
d_examples :=$(shell sed '/^\#/d' $(srcdir)/Examples/d/check.list)
go_examples :=$(shell sed '/^\#/d' $(srcdir)/Examples/go/check.list)
guile_examples :=$(shell sed '/^\#/d' $(srcdir)/Examples/guile/check.list) guile_examples :=$(shell sed '/^\#/d' $(srcdir)/Examples/guile/check.list)
java_examples :=$(shell sed '/^\#/d' $(srcdir)/Examples/java/check.list)
javascript_examples:=$(shell sed '/^\#/d' $(srcdir)/Examples/javascript/check.list)
lua_examples :=$(shell sed '/^\#/d' $(srcdir)/Examples/lua/check.list)
mzscheme_examples :=$(shell sed '/^\#/d' $(srcdir)/Examples/mzscheme/check.list) 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) ocaml_examples :=$(shell sed '/^\#/d' $(srcdir)/Examples/ocaml/check.list)
octave_examples :=$(shell sed '/^\#/d' $(srcdir)/Examples/octave/check.list) octave_examples :=$(shell sed '/^\#/d' $(srcdir)/Examples/octave/check.list)
perl5_examples :=$(shell sed '/^\#/d' $(srcdir)/Examples/perl5/check.list)
php_examples :=$(shell sed '/^\#/d' $(srcdir)/Examples/php/check.list) php_examples :=$(shell sed '/^\#/d' $(srcdir)/Examples/php/check.list)
csharp_examples :=$(shell sed '/^\#/d' $(srcdir)/Examples/csharp/check.list) python_examples :=$(shell sed '/^\#/d' $(srcdir)/Examples/python/check.list)
lua_examples :=$(shell sed '/^\#/d' $(srcdir)/Examples/lua/check.list)
r_examples :=$(shell sed '/^\#/d' $(srcdir)/Examples/r/check.list) r_examples :=$(shell sed '/^\#/d' $(srcdir)/Examples/r/check.list)
ruby_examples :=$(shell sed '/^\#/d' $(srcdir)/Examples/ruby/check.list)
scilab_examples :=$(shell sed '/^\#/d' $(srcdir)/Examples/scilab/check.list) scilab_examples :=$(shell sed '/^\#/d' $(srcdir)/Examples/scilab/check.list)
go_examples :=$(shell sed '/^\#/d' $(srcdir)/Examples/go/check.list) tcl_examples :=$(shell sed '/^\#/d' $(srcdir)/Examples/tcl/check.list)
d_examples :=$(shell sed '/^\#/d' $(srcdir)/Examples/d/check.list)
javascript_examples:=$(shell sed '/^\#/d' $(srcdir)/Examples/javascript/check.list)
# all examples # all examples
check-%-examples : check-%-examples :
@ -217,23 +217,23 @@ check-%-examples :
# Checks testcases in the test-suite excluding those which are known to be broken # Checks testcases in the test-suite excluding those which are known to be broken
check-test-suite: \ check-test-suite: \
check-errors-test-suite \ check-errors-test-suite \
check-tcl-test-suite \ check-csharp-test-suite \
check-perl5-test-suite \ check-d-test-suite \
check-python-test-suite \ check-go-test-suite \
check-java-test-suite \
check-guile-test-suite \ check-guile-test-suite \
check-java-test-suite \
check-javascript-test-suite \
check-lua-test-suite \
check-mzscheme-test-suite \ check-mzscheme-test-suite \
check-ruby-test-suite \
check-ocaml-test-suite \ check-ocaml-test-suite \
check-octave-test-suite \ check-octave-test-suite \
check-perl5-test-suite \
check-php-test-suite \ check-php-test-suite \
check-csharp-test-suite \ check-python-test-suite \
check-lua-test-suite \
check-r-test-suite \ check-r-test-suite \
check-ruby-test-suite \
check-scilab-test-suite \ check-scilab-test-suite \
check-go-test-suite \ check-tcl-test-suite \
check-d-test-suite \
check-javascript-test-suite
check-%-test-suite: check-%-test-suite:
@if test -z "$(skip-$*)"; then \ @if test -z "$(skip-$*)"; then \
@ -264,46 +264,46 @@ check: check-aliveness check-ccache check-versions check-examples check-test-sui
# Run known-to-be-broken as well as not broken testcases in the test-suite # Run known-to-be-broken as well as not broken testcases in the test-suite
all-test-suite: \ all-test-suite: \
all-tcl-test-suite \ all-csharp-test-suite \
all-perl5-test-suite \ all-d-test-suite \
all-python-test-suite \ all-go-test-suite \
all-java-test-suite \
all-guile-test-suite \ all-guile-test-suite \
all-java-test-suite \
all-javascript-test-suite \
all-lua-test-suite \
all-mzscheme-test-suite \ all-mzscheme-test-suite \
all-ruby-test-suite \
all-ocaml-test-suite \ all-ocaml-test-suite \
all-octave-test-suite \ all-octave-test-suite \
all-perl5-test-suite \
all-php-test-suite \ all-php-test-suite \
all-csharp-test-suite \ all-python-test-suite \
all-lua-test-suite \
all-r-test-suite \ all-r-test-suite \
all-ruby-test-suite \
all-scilab-test-suite \ all-scilab-test-suite \
all-go-test-suite \ all-tcl-test-suite \
all-d-test-suite \
all-javascript-test-suite
all-%-test-suite: all-%-test-suite:
@$(MAKE) $(FLAGS) check-$*-test-suite ACTION=all @$(MAKE) $(FLAGS) check-$*-test-suite ACTION=all
# Run known-to-be-broken testcases in the test-suite # Run known-to-be-broken testcases in the test-suite
broken-test-suite: \ broken-test-suite: \
broken-tcl-test-suite \ broken-csharp-test-suite \
broken-perl5-test-suite \ broken-d-test-suite \
broken-python-test-suite \ broken-go-test-suite \
broken-java-test-suite \
broken-guile-test-suite \ broken-guile-test-suite \
broken-java-test-suite \
broken-javascript-test-suite \
broken-lua-test-suite \
broken-mzscheme-test-suite \ broken-mzscheme-test-suite \
broken-ruby-test-suite \
broken-ocaml-test-suite \ broken-ocaml-test-suite \
broken-octave-test-suite \ broken-octave-test-suite \
broken-perl5-test-suite \
broken-php-test-suite \ broken-php-test-suite \
broken-csharp-test-suite \ broken-python-test-suite \
broken-lua-test-suite \
broken-r-test-suite \ broken-r-test-suite \
broken-scilab-test-suite \ broken-ruby-test-suite \
broken-go-test-suite \ broken-scilab-test-suite \
broken-d-test-suite \ broken-tcl-test-suite \
broken-javascript-test-suite
broken-%-test-suite: broken-%-test-suite:
@$(MAKE) $(FLAGS) check-$*-test-suite ACTION=broken @$(MAKE) $(FLAGS) check-$*-test-suite ACTION=broken