Commit graph

209 commits

Author SHA1 Message Date
William S Fulton
64dcd50b99 Remove dependency on yodl tools and remove ccache-swig man page
Use the CCache.html docs instead of the ccache-swig man page.
The yodl2man and yodl2html tools are no longer used and so SWIG no
longer has a dependency on these packages which were required when
building from git.

Closes #286
Closes #128
2015-12-17 02:36:48 +00:00
Alexey Sokolov
1ecd0bad31 Make sure travis doesn't silently skip testing of some language 2015-09-02 20:58:56 +01:00
William S Fulton
7192b1c735 Remove SWIG_LIB variable from Makefile 2015-08-21 22:48:33 +01:00
William S Fulton
8e2bc595c6 Remove use of preinst-swig script
Complete the prototype removal in ca1431.

The script prevents SWIGTOOL=gdb from working as gdb can't be used to
debug a shell script, it requires a binary.

Add support for SWIGTOOL in all the examples.

SWIG_LIB_DIR and SWIGEXE must now instead be set by all Makefiles.

See issue #473.
2015-08-21 22:43:17 +01:00
Olly Betts
a8c6f9c9e2 Drop removal of libtool on "make distclean"
SWIG stopped using libtool over 11 years ago.
2015-06-29 19:57:40 +12:00
Olly Betts
ece9854e8f Give more helpful message for "make dist" 2015-02-17 16:00:22 +13:00
Olly Betts
9842bada7c Fix typo 2015-02-15 18:56:02 +13:00
Simon Marchetto
ea6e87d77c scilab: remove debug stuff 2014-07-02 17:47:54 +02:00
Simon Marchetto
9bd15d5fd2 scilab: debug travis 2014-06-27 14:13:47 +02:00
Simon Marchetto
4da2eea709 scilab: debug travis (examples) 2014-06-27 12:00:38 +02:00
Simon Marchetto
07b06a4089 Merge branch 'master' into gsoc2012-scilab
Conflicts:
	.gitignore
	.travis.yml
	COPYRIGHT
	Examples/Makefile.in
	Examples/test-suite/constructor_copy.i
	Makefile.in
	configure.ac
2014-06-06 16:33:16 +02:00
Karl Wette
eb61c85e5f check-maintainer-clean: print skipping message for in-source-tree builds 2014-05-29 14:40:50 +02:00
Karl Wette
b51bc39cf7 Add check-maintainer-clean target: fails if files are missed by maintainer-clean 2014-05-29 02:29:27 +02:00
Karl Wette
46ce4d3ba9 Distclean Tools/javascript 2014-05-29 02:24:33 +02:00
Karl Wette
bdc63e5a9f Remove example Makefiles when running distclean-examples in out-of-src build 2014-05-24 20:12:35 +02:00
William S Fulton
d927fa5376 Remove unnecessary make invocation when running test-suite 2014-05-15 23:11:07 +01:00
Karl Wette
f574a34155 Allow examples and test-suite to be built out of source tree
- Examples/Makefile.in rules use SRCDIR as the relative source directory

- ./config.status replicates Examples/ source directory tree in build
  directory, and copies each Makefile to build directory, prefixed with
  a header which sets SRCDIR to source directory

- Examples/test-suite/.../Makefile.in set SRCDIR from Autoconf-set srcdir

- Examples/test-suite/errors/Makefile.in needs to filter out source
  directory from SWIG error messages

- Lua: embedded interpreters are passed location of run-time test

- Python: copy run-time scripts to build directory because of 2to3
  conversion; import_packages example copies __init__.py from source
  directory; test-suite sets SCRIPTDIR to location of run-time tests

- Javascript: binding.gyp renamed to binding.gyp.in so that $srcdir
  can be substituted with SRCDIR; removed './' from require() statements
  so that NODE_PATH can be used to point Node.js to build directory
2014-05-11 23:21:10 +02:00
Karl Wette
96153c7c0a Regenerate configured Makefile if Makefile.in or config.status have changed 2014-05-11 21:31:32 +02:00
Karl Wette
b6c1889c08 Fix {python|perl5|ruby|tcl}/java examples
- in Lib/gcj/cni.i: remove JvAllocObject(), change
  JvCreateJavaVM() argument from void* to JvVMInitArgs*
- in Examples/{python|perl5|ruby|tcl}/java/Makefile:
  pass full class name to gcjh, add Example.h as dependency,
  do not override CXX for compiling C++ sources
- in Examples/python/java/example.i:
  add destructor to class to prevent memory loss complaint
2014-05-02 21:44:42 +02:00
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
Simon Marchetto
013b9f9769 Merge branch 'master' into gsoc2012-scilab 2014-03-11 10:24:09 +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
Olly Betts
dcf121f534 Make Lib/ocaml/swigp4.ml a non-generated file.
We used to have configure substitute values into it, but that's not been
the case for just over 3 years, since patch #3151788 was applied.
2014-02-19 22:35:45 +13:00
William S Fulton
3055a21505 Errors test-suite overhaul
Use makefiles instead of a make.sh script
Expected results are in individual .stderr files instead of the expected.log file
Add errors test-suite to Travis testing and 'make check'
2014-01-19 00:12:12 +00:00
William S Fulton
2d0dc707e6 More control on output from top level Makefile
Move the '-k -s' flags to a new FLAGS variable which can then be overridden
on the command line.
2013-12-08 19:48:39 +00: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
William S Fulton
de5e0c8655 C++11 testing moved to a configure option
Use './configure --enable-cpp11-testing' to enable the C++11 test.
Off by default for now.
2013-10-08 20:12:18 +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
ba9baefdd9 sed portability fix creating swigwarn.swg 2013-09-14 12:53:45 +01:00
Oliver Buchtala
868803ce2a Merge replayed as done by c778d16abed35829b103d607a53c8f88e3b2d595 2013-08-31 03:44:44 +02:00
Vladimir Menshakov
26a4f84948 added missing javascript/v8 dir 2013-08-31 03:34:39 +02:00
William S Fulton
f8a4f8ef2a Minor makefile tidyup 2013-08-30 19:52:11 +01:00
Simon Marchetto
3a190fec2b Scilab: check Scilab version & support of Scilab 5.3.3 (program arguments) 2013-08-19 17:40:31 +02:00
Simon Marchetto
ff25d2c536 Revert "Scilab: add Scilab in makefile check version targets"
This reverts commit 66edc244b9.
2013-08-09 14:46:39 +02:00
Simon Marchetto
66edc244b9 Scilab: add Scilab in makefile check version targets 2013-08-09 12:16:00 +02:00
Sylvestre Ledru
21e17eaa73 Merge remote-tracking branch 'origin/master' into gsoc2012-scilab
Conflicts:
	Examples/Makefile.in
2013-08-06 10:06:31 +02:00
William S Fulton
3ddea71f33 Clear up license ambiguity in swigwarn.swg.
Also tidies up swigwarn.swg a bit.
2013-05-13 18:15:27 +01: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
Geert Janssens
7dfe4a0653 Make guile test suite default to scm api
In other words guilescm becomes guile.
Deprecated gh api tests are moved to guilegh.
2013-04-28 22:06:21 +02:00
William S Fulton
303b319cf0 Add ability to see example output from top level by using 'make check-examples RUNPIPE=' 2013-04-20 01:01:35 +01:00
William S Fulton
635a90c91c Add RUNPIPE in makefiles - a generic mechanism for suppressing stdout when running the examples - the idea is to run 'make check-examples' which runs the examples but suppresses the output except for errors. Initial implementation for Java. 2013-04-19 22:28:02 +01:00
William S Fulton
3e26318427 Add target language version display during make check. Individual language versions can be checked using 'make check-<lang>-version'. 2013-04-09 19:52:40 +01:00
Olly Betts
481ed3c578 Update lingering configure.in references to say configure.ac 2013-03-21 14:41:09 +13:00
William S Fulton
a6d456a15e Replace references to Subversion with Git 2013-01-12 01:24:22 +00:00
William S Fulton
00d969d7fd Makefile tweaks for Coverity builds
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@13946 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2012-12-02 14:11:19 +00:00
William S Fulton
c8620e4782 Fix some Coverity submission failures
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@13919 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2012-11-19 19:53:29 +00:00
William S Fulton
51a1aa5b1a Add coverity target to build coverity analysis and upload to coverity server for online analysis
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@13890 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2012-11-14 22:51:39 +00:00
Oliver Buchtala
52aef26997 Add examples check list for batch runs.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/branches/oliverb-javascript-v8@13780 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2012-09-08 01:02:30 +00:00
Oliver Buchtala
050219d998 Merge branch 'devel' of https://github.com/Neha03/gsoc2012-javascript into devel
Conflicts:
	.project
	COPYRIGHT
	Doc/Manual/style.css
	Examples/Makefile.in
	Examples/test-suite/common.mk
	Lib/typemaps/strings.swg
	Makefile.in
	Source/DOH/fio.c
	Source/Makefile.am
	Source/Modules/emit.cxx
	Source/Modules/javascript.cxx
	configure.in

git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/branches/oliverb-javascript-v8@13764 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2012-09-08 00:56:48 +00:00