diff options
author | David Robillard <d@drobilla.net> | 2008-02-17 01:42:50 +0000 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2008-02-17 01:42:50 +0000 |
commit | 8528011e19f061258f1723645d7202305b529f0e (patch) | |
tree | 6cd67c50642e64f6aac453dd39706d1210f53327 /swig/Makefile.am | |
parent | 454fa2352be82f42f7131924dafa50e7fcf7d219 (diff) | |
download | lilv-8528011e19f061258f1723645d7202305b529f0e.tar.gz lilv-8528011e19f061258f1723645d7202305b529f0e.tar.bz2 lilv-8528011e19f061258f1723645d7202305b529f0e.zip |
Update Swig/Python bindings.
git-svn-id: http://svn.drobilla.net/lad/slv2@1145 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'swig/Makefile.am')
-rw-r--r-- | swig/Makefile.am | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/swig/Makefile.am b/swig/Makefile.am index 17a9e68..b6c5564 100644 --- a/swig/Makefile.am +++ b/swig/Makefile.am @@ -1,10 +1,16 @@ EXTRA_DIST = slv2.i lv2_list.py if WITH_SWIG + +if WITH_PYTHON all: swig -Wall -python slv2.i - gcc -fPIC -shared -I/usr/include/python2.4 slv2_wrap.c ../src/.libs/libslv2.so -o _slv2.so -endif + gcc -fPIC -shared $(PYTHON_CPPFLAGS) $(PYTHON_EXTRA_LDFLAGS) \ + $(PYTHON_EXTRA_LIBS) $(PYTHON_EXTRA_LDFLAGS) \ + -I/usr/include/python2.4 slv2_wrap.c ../src/.libs/libslv2.so -o _slv2.so +endif # WITH_PYTHON + +endif # WITH_SWIG clean-local: rm -f *.cxx |