Commit graph

13 commits

Author SHA1 Message Date
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
William S Fulton
6181853312 Fix out of source clean-android-examples 2014-05-15 23:28:47 +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
3aacde4f5f Whitespace cleanup of Example Makefiles 2014-04-16 12:06:02 +02:00
Olly Betts
12708c9241 Fix typos 2013-09-25 17:29:33 +12:00
William S Fulton
1d77a1b981 Android makefiles rewrite to use common code 2013-04-19 22:47:27 +01:00
William S Fulton
19975300c7 Tidy up android example makefiles and fix clean target 2013-04-19 22:47:27 +01:00
William S Fulton
2939f181f1 Add Android install options for optional storage to SD Card
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@13961 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2012-12-14 07:12:35 +00:00
William S Fulton
f18d75f07e Android docs on examples update and cosmetic change to Android extend
example.

git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@13835 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2012-09-13 19:03:24 +00:00
William S Fulton
b38722e8ee Apply patch for Java to fix direct use of a weak global reference in directors sometimes causing seg faults especially on Android.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@13834 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2012-09-13 19:02:02 +00:00
William S Fulton
608d43f0f9 Add text streamer to Android example to replace missing stdout
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@13833 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2012-09-13 18:55:52 +00:00
William S Fulton
9e34a0d376 Add Android runtime example
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@13832 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2012-09-13 18:54:25 +00:00
William S Fulton
72fc742f88 Add extend example for Android
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@13831 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2012-09-13 18:52:56 +00:00