diff options
| author | John Lenz <jlenz2@math.uiuc.edu> | 2004-10-17 19:56:35 +0000 |
|---|---|---|
| committer | John Lenz <jlenz2@math.uiuc.edu> | 2004-10-17 19:56:35 +0000 |
| commit | d33f398c630e1f996b077ae676e1019e5239cc7c (patch) | |
| tree | 82f6bb36e7c9cc34b117ea9c29053d7ca7313e61 /Examples/python/import | |
| parent | 08100cf196abca7acf4c13e5a04a3f3e4ea441da (diff) | |
| download | swig-d33f398c630e1f996b077ae676e1019e5239cc7c.tar.gz | |
Update Examples to not build runtime library
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6415 626c5289-ae23-0410-ae9c-e8d60b6d4f22
Diffstat (limited to 'Examples/python/import')
| -rw-r--r-- | Examples/python/import/Makefile | 10 | ||||
| -rw-r--r-- | Examples/python/import/README | 9 | ||||
| -rw-r--r-- | Examples/python/import/runtime.i | 3 |
3 files changed, 5 insertions, 17 deletions
diff --git a/Examples/python/import/Makefile b/Examples/python/import/Makefile index 7b2b72103..fa49f3145 100644 --- a/Examples/python/import/Makefile +++ b/Examples/python/import/Makefile @@ -1,11 +1,9 @@ TOP = ../.. -SWIG = $(TOP)/../swig -SWIGOPT = -noruntime -LIBS = -L. -l_runtime +SWIG = $(TOP)/../preinst-swig +SWIGOPT = +LIBS = all:: - $(MAKE) -f $(TOP)/Makefile SWIG='$(SWIG)' SWIGOPT='-runtime' \ - LIBPREFIX='lib' TARGET='runtime' INTERFACE='runtime.i' python_cpp $(MAKE) -f $(TOP)/Makefile SWIG='$(SWIG)' SWIGOPT='$(SWIGOPT)' \ LIBS='$(LIBS)' TARGET='base' INTERFACE='base.i' python_cpp $(MAKE) -f $(TOP)/Makefile SWIG='$(SWIG)' SWIGOPT='$(SWIGOPT)' \ @@ -18,6 +16,6 @@ all:: clean:: $(MAKE) -f $(TOP)/Makefile python_clean - @rm -f foo.py bar.py spam.py base.py runtime.py + @rm -f foo.py bar.py spam.py base.py check: all diff --git a/Examples/python/import/README b/Examples/python/import/README index 9d4a8305b..9996c315e 100644 --- a/Examples/python/import/README +++ b/Examples/python/import/README @@ -15,12 +15,7 @@ a separate C++ class. Each module used %import to refer to another module. For example, the 'foo.i' module uses '%import base.i' to get -definitions for its base class. These modules do not generate -any runtime code (-noruntime commandline option). - -The runtime.i file is an empty SWIG module which will generate -the runtime library code for sharing amongst the other modules -(uses -runtime commandline option). +definitions for its base class. If everything is okay, all of the modules will load correctly and type checking will work correctly. @@ -28,8 +23,6 @@ type checking will work correctly. Unix: ----- - Run make -- Make sure your LD_LIBRARY_PATH includes the current directory so that - lib_runtime.so can be loaded. - Run the test as described above Windows: diff --git a/Examples/python/import/runtime.i b/Examples/python/import/runtime.i deleted file mode 100644 index b773cd72d..000000000 --- a/Examples/python/import/runtime.i +++ /dev/null @@ -1,3 +0,0 @@ -// Empty module for building the runtime library -%module runtime - |
