Commit Graph

244 Commits

Author SHA1 Message Date
Olly Betts 250be3883d Replace cd X && $(MAKE) with $(MAKE) -C X
We require GNU make anyway, and using -C reduces the verbosity of the
code a little and allows us to avoid an extra subshell in some cases.
2024-09-21 11:24:02 +12:00
Olly Betts 99eb6ccc6d [javascript] Fix parallel make for v8 and jsc tests 2024-09-21 11:00:26 +12:00
Olly Betts 5dcb37310e Merge branch 'master' into C 2024-07-18 09:25:24 +12:00
Erez Geva 44ede9e3cf Add windows actions using GitHub.
Update Windows document.
Small update in configuration.
Remove SWIG_LIB_SET, windows should use the same value.
Add better striping for multiple test in common make file.
Add library path to dynamic python linking,
 MSVC need to find the windows library linking file (*.lib).
For other GCC, it does not change.

Signed-off-by: Erez Geva <ErezGeva2@gmail.com>
2024-06-26 10:47:50 +02:00
Olly Betts 9a5dd880e8 Merge branch 'master' into C 2024-03-18 09:09:51 +13:00
Momtchil Momtchev ceed54758a Javascript Node-API support added
Closes #2545
2023-06-28 07:24:51 +01:00
Olly Betts 5be76e6dcc Makefile.in: Remove unused variables dd and srpm
srpm is no longer used since the recent removal of the srcrpm
target in 623b7d97a7.

dd hasn't been used since 4ce80105c8
back in 2006!
2022-10-11 10:30:37 +13:00
William S Fulton 7b0f7caaf2 Makefile re-order
All target languages are in now in alphabetical order
2022-10-06 23:29:33 +01:00
William S Fulton 623b7d97a7 Remove swig.spec file
Discussion #2316
2022-09-20 22:31:50 +01:00
Vadim Zeitlin 864f32159a Merge branch 'restore-compat-wrappers-names' into C
Merge with the latest master including PR #2371.
2022-09-17 14:36:37 +02:00
William S Fulton 5cc4591ae7 Consistent cpp11 testing in test-suite
Move HAVE_CXX11 into makefiles so that running test-suite
from top level directory or in the language's test-suite directory
is consistent. For example, running 'make check-java-test-suite'
behaves the same as 'cd Examples/test-suite/java && make check'.
2022-03-27 19:34:20 +01:00
Vadim Zeitlin ac4f3c78be Merge branch 'master' into C
Merge with the latest master before making more changes.
2021-10-04 16:03:36 +02:00
William S Fulton 82fb0540ca Modernise C++11 compiler support detection in autotools
Replace AX_CXX_COMPILE_STDCXX_11 with AX_CXX_COMPILE_STDCXX
from autoconf archive.
2021-03-20 00:53:13 +00:00
Vadim Zeitlin 55741f9e31 Merge branch 'master' into C 2019-07-24 20:26:50 +02:00
William S Fulton 264b39fd00 Disable CFFI Common Lisp target language
Clean up to disable target languages that have been neglected/not functional.
Target language be fully deleted in SWIG 4.1 unless a new maintainer brings
it up to an acceptable status (experimental or supported).

Issue #1447
2019-02-05 18:42:23 +00:00
William S Fulton 6d7e3df54e Disable Allegrcol target language
Clean up to disable target languages that have been neglected/not functional.
Target language be fully deleted in SWIG 4.1 unless a new maintainer brings
it up to an acceptable status (experimental or supported).

Issue #1447
2019-02-05 18:42:16 +00:00
William S Fulton 09e0577d95 Disable Chicken target language
Clean up to disable target languages that have been neglected/not functional.
Target language be fully deleted in SWIG 4.1 unless a new maintainer brings
it up to an acceptable status (experimental or supported).

Issue #1447
2019-02-05 18:42:12 +00:00
William S Fulton cb4bd26422 Disable Common Lisp / CLISP target language
Clean up to disable target languages that have been neglected/not functional.
Target language be fully deleted in SWIG 4.1 unless a new maintainer brings
it up to an acceptable status (experimental or supported).

Issue #1447
2019-02-05 18:42:07 +00:00
William S Fulton f63d0db21b Disable Common Lisp / UFFI target language
Clean up to disable target languages that have been neglected/not functional.
Target language be fully deleted in SWIG 4.1 unless a new maintainer brings
it up to an acceptable status (experimental or supported).

Issue #1447
2019-02-05 18:41:54 +00:00
William S Fulton 8aa4086136 Disable Pike target language
Clean up to disable target languages that have been neglected/not functional.
Target language be fully deleted in SWIG 4.1 unless a new maintainer brings
it up to an acceptable status (experimental or supported).

Issue #1447
2019-02-05 18:41:46 +00:00
William S Fulton ee3aeb8177 Disable Modula3 target language
Clean up to disable target languages that have been neglected/not functional.
Target language be fully deleted in SWIG 4.1 unless a new maintainer brings
it up to an acceptable status (experimental or supported).

Issue #1447
2019-02-05 18:41:34 +00:00
William S Fulton 9defd8e033 Add support for differentiating target language statuses
Three status: Disabled, Experimental and Supported.

Any target language classified as 'Experimental' will issue new warning
524 SWIGWARN_LANG_EXPERIMENTAL.
Any target language classified as 'Disabled' will error out.

Languages will be classified in forthcoming commits.

Issue #1437
2019-02-04 18:46:16 +00:00
William S Fulton 83b0111d53 Merge branch 'xantares-xml'
* xantares-xml:
  Install xml files

Closes #1388
2019-01-01 12:21:36 +00:00
Michel Zou 3c2b8d23ef Install xml files 2018-12-31 15:55:59 +01:00
Olly Betts d6d5db122b Remove support for PHP5
PHP5 is no longer actively supported by the PHP developers and security
support for it ends completely at the end of 2018, so it doesn't make
sense to include support for it in the upcoming SWIG 4.0.0 release.

See #701.
2018-06-07 18:09:03 +12:00
Ben Elliston cf8f99ba44 * Makefile.in (configfiles): Update URLs for latest configfiles.
We haven't uploaded the latest version of these scripts to ftp.gnu.org
in over 10 years. See ftp://ftp.gnu.org/pub/gnu/config/README. The
best place to fetch them from is the Savannah git repository.
2018-04-10 10:07:47 +10:00
Olly Betts 5a9422d980 Remove GCJ support
GCC7 dropped GCJ.

Closes https://sourceforge.net/p/swig/bugs/823/
2017-10-09 08:32:01 +13:00
Olly Betts 1169874f59 [PHP] Add support for PHP7.
PHP5's C extension API has changed substantially so you need to use
-php7 to specify you want PHP7 compatible wrappers.
Fixes https://github.com/swig/swig/issues/571
2016-11-30 13:05:59 +13:00
Vadim Zeitlin 7c402ad148 Merge branch 'master' into C 2016-04-08 17:29:16 +02:00
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