Commit graph

216 commits

Author SHA1 Message Date
Karl Wette
d5b765d388 Whitespace cleanup of all Makefiles*
- some of the %.clean rules in the test-suite Makefiles were using a single tab
  as an empty rule, dangerous! I've replaced these with the safer '@exit 0'.
2014-05-02 20:06:11 +02:00
William S Fulton
dbf80cbaa5 Javascript example Makefiles more consistent with other languages 2014-04-24 22:18:12 +01:00
Oliver Buchtala
f3e3fce664 Fix configuration for ctest with Javascript/v8. 2014-04-23 02:25:07 +02:00
William S Fulton
e6d5abb766 Only disable javascript tests if node-gyp is missing when testing node 2014-04-21 11:37:19 +01:00
William S Fulton
ffe4bd8f60 ADD RUNPIPE and RUNTOOL to Javascript examples 2014-04-19 18:11:32 +01:00
William S Fulton
efc5af04e0 Detect node-gyp at configure time and show version in javascript_version target 2014-04-19 16:44:21 +01:00
William S Fulton
0e0f65aead Tidy up Example makefile for Javascript 2014-04-10 08:13:06 +01:00
Oliver Buchtala
57491eaa81 Add 'version' target for javascript. 2014-03-06 06:29:00 +01:00
Oliver Buchtala
a234542543 Merge branch 'master' into tmp
Conflicts:
	.travis.yml
	Examples/Makefile.in
	Examples/test-suite/director_nspace.i
	Examples/test-suite/nspace.i
	Examples/test-suite/nspace_extend.i
	Source/Modules/lang.cxx
	configure.ac
2014-03-05 01:09:26 +01:00
Oliver Buchtala
424e3f4712 Fix custom javascript interpreter configuration for OSX. 2014-02-26 22:46:24 +01:00
Oliver Buchtala
b216a739c4 Introduced an extra Makefile for the custom javascript interpreter. 2014-02-26 20:51:38 +01:00
Oliver Buchtala
e62c6126e9 Fix regressions in Javascript example configuration. 2014-02-26 10:47:48 +01:00
Olly Betts
2f3bf144c6 Fix assorted comment and documentation typos 2014-02-23 17:15:22 +13:00
Oliver Buchtala
77ead7017c Refactored configuration for javascript examples. 2014-02-20 11:13:57 +01:00
William S Fulton
0e4f2dad0f C# examples to use debug flags when using mono interpreter 2014-02-16 15:20:14 +00:00
Marvin Greenberg
fd85d12a2c Allow csharp examples to run under mono 2014-02-05 15:31:57 -08:00
Marvin Greenberg
49d73c56d0 Move setting required -stdlib argument into configure.ac 2014-02-05 15:18:51 -08:00
Marvin Greenberg
7c5275a0f1 Make sure tests are built with same stdlib flag as used to configure swig 2014-01-30 16:17:30 -05:00
Ian Lance Taylor
3785454a87 [Go] Add support for Go 1.3, not yet released. 2014-01-21 11:18:55 -08:00
William S Fulton
32ad89668a Use RUNME consistently in examples makefile 2013-12-20 18:52:19 +00:00
Ian Lance Taylor
01ebdc0995 In Examples/Makefile.in, compile and link the program in go and
go_cpp, rather than in go_run.  This permits eliminating go_run_cpp.
2013-12-20 08:14:45 -08:00
Ian Lance Taylor
8dba8b1fde Go: Don't require that Go environment variables be set when running
examples or testsuite.
2013-12-18 11:03:39 -08:00
Ian Lance Taylor
1dca0af024 Update for Go 1.2 release. Add support for linking SWIG code directly
into executable, rather than using a shared library.
2013-12-16 19:50:17 -08:00
William S Fulton
7b08378145 Minor cleanup prior to merging to master 2013-10-11 21:48:45 +01:00
William S Fulton
bcb7aee022 Merge branch 'master' into gsoc2009-matevz
Conflicts:
	Examples/Makefile.in
	Examples/guile/Makefile.in
	Lib/php/php.swg
	Makefile.in
	Source/CParse/parser.y
	configure.ac
2013-10-10 07:26:09 +01:00
Oliver Buchtala
6dcbbf07db Conflicts:
.gitignore
	.project
	.travis.yml
	Examples/Makefile.in
	Examples/test-suite/director_nspace.i
2013-09-27 02:29:02 +02:00
William S Fulton
d0cb2b73db Remove X11 detection during configure
X11 is not used anywhere.
2013-09-18 00:40:24 +01:00
William S Fulton
f618a69990 Better detection of Ruby shared library extension
Use Config to detect dll extension (needs to be .so for Ruby 1.9 on Cygwin)
2013-09-14 17:32:54 -07:00
Oliver Buchtala
26b5acbbe8 Test-suite Makefile now supports testing for all three Javascript variants.
- node.js
- custom JavascriptCore interpreter
- custom V8 interpreter
2013-09-06 00:42:56 +03:00
Oliver Buchtala
5aba4c7ea6 Starting from scratch with Examples configuration. 2013-09-03 05:35:03 +02:00
Oliver Buchtala
bad64925ed Configuration is now easier for building and running examples and tests using v8. 2013-08-31 03:23:10 +02:00
Karl Wette
479df82616 Octave: more robust configuration
- do not rely on --eval argument to find mkoctfile, instead assume it
  is in the same directory as octave itself (which it always should be)
- check Octave options to make sure they are supported, including
  --no-window-system to prevent warnings if building without an X server
- disable Octave if any vital tests fail
2013-07-16 20:59:50 +01:00
William S Fulton
af8f77a627 Fix to ensure 2to3 for Python 3 examples is run 2013-05-27 00:27:31 +01:00
William S Fulton
dd36f28ac7 Migrate Guile examples build into common Examples makefile
- Now Guile examples are built in a consistent way to other target
languages.
- Also set GUILE_AUTO_COMPILE=0 to remove auto-compilation is enabled
  warnings
2013-05-09 19:28:09 +01:00
William S Fulton
d974e9aced Guile examples consistency changes
Use new guile_embedded_run target or guile_run target for running the
examples like the other target languages (for suppressing stdout if run
from top level).

Consistency with other target language file renames: use runme.scm for
scripts and example.i, example.c for example code.

Add class example to examples being tested.
2013-05-09 18:35:18 +01:00
William S Fulton
7964ebe34f Tidy up pike version display 2013-05-08 17:36:03 +01:00
William S Fulton
cd4c1d3c3f Tidy up target language versions display 2013-05-08 16:48:27 +01:00
William S Fulton
10acae18d2 Correct Guile Makefile to fix test-suite/examples on Cygwin 2013-05-08 13:05:11 +01:00
William S Fulton
7d29f88641 Cosmetic on unknown javac version display 2013-05-03 19:55:41 +01:00
William S Fulton
5690323b8f Rework perl5 compiler and linker flags
This fixes perl on cygwin. Probably on other platforms too.
2013-05-03 19:39:11 +01:00
Geert Janssens
7297f5aa51 Don't use obsolete -scm option in own makefiles 2013-04-28 22:38:20 +02:00
Geert Janssens
b819d2a91e Drop guilegh interface
All of guile's interface files now use the scm interface.
This should not affect any users. Swig generated code
using the scm interface can be mixed with gh interface
using user code.
It does simplify maintenance of the guile swig code though.
2013-04-28 22:06:24 +02:00
Geert Janssens
b072f22930 Add support for guile 2.0: configure and makefiles.
Note: guile-config is badly broken for guile 2. So
the guile configure  section has been rewritten to
use pkg-config instead.

Manually resolved conflicts:
	Examples/Makefile.in
2013-04-28 22:06:22 +02:00
William S Fulton
205d50a8c9 Ruby 1.9 fixes: use ruby -I in Makefile and workaround clash with 1.9 builtin Complex numbers in the operator example. 2013-04-21 14:05:56 +01:00
William S Fulton
58a59919dd Chicken - make check-examples run like other examples - not all run very well though! 2013-04-20 02:28:48 +01:00
William S Fulton
2b2305cce9 Mzscheme - fix for running examples during 'make check-examples' - they don't run very well though\! 2013-04-20 02:28:48 +01:00
William S Fulton
7fd18b361e Ocaml example makefiles - run examples - there are plenty of problems currently though 2013-04-20 02:28:48 +01:00
William S Fulton
ea84fe6445 Allegrocl, clisp, cffi, uffi makefile targets added for running examples - untested. 2013-04-19 22:47:29 +01:00
William S Fulton
e3d0947058 D example makefiles tweaks for consistency with other languages. 2013-04-19 22:47:29 +01:00
William S Fulton
9a6167822b Pike example makefiles tweaks for consistency with other languages. Attempt to add runtime tests to 'make check' - untested. 2013-04-19 22:47:29 +01:00