diff options
| author | Jorg Schuler <jcsjcs@users.sourceforge.net> | 2005-09-23 03:00:27 +0000 |
|---|---|---|
| committer | Jorg Schuler <jcsjcs@users.sourceforge.net> | 2005-09-23 03:00:27 +0000 |
| commit | 52c8604edf6a7cc3ba15658b648c797a24bd60f3 (patch) | |
| tree | d592aa23cee73677bd17a1c33c4a2f0d931be45a /bindings/python/Makefile | |
| parent | 32fdf71f74fee4e0774d7ae5167447c70cd83b7c (diff) | |
| download | libgpod-52c8604edf6a7cc3ba15658b648c797a24bd60f3.tar.gz libgpod-52c8604edf6a7cc3ba15658b648c797a24bd60f3.tar.xz libgpod-52c8604edf6a7cc3ba15658b648c797a24bd60f3.zip | |
* added python bindings provided by Nicholas Piper
<nick at nickpiper co uk>
git-svn-id: https://gtkpod.svn.sf.net/svnroot/gtkpod/libgpod/trunk@1099 f01d2545-417e-4e96-918e-98f8d0dbbcb6
Diffstat (limited to 'bindings/python/Makefile')
| -rw-r--r-- | bindings/python/Makefile | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/bindings/python/Makefile b/bindings/python/Makefile new file mode 100644 index 0000000..573cc8d --- /dev/null +++ b/bindings/python/Makefile @@ -0,0 +1,20 @@ +all: _gpod.so + +gpod_wrap.c: gpod.i + swig -python gpod.i + +gpod.py: gpod.i + swig -python gpod.i + +gpod_wrap.o: gpod_wrap.c + gcc -c -fpic gpod_wrap.c -I /usr/include/python2.3/ `pkg-config glib-2.0 --cflags` + +_gpod.so: gpod_wrap.o + gcc -shared gpod_wrap.o -o _gpod.so -L../../src/.libs -lgpod `pkg-config glib-2.0 --libs` + + +clean: + rm gpod.py gpod.pyc _gpod.so gpod_wrap.c gpod_wrap.o + +test: _gpod.so play.py + LD_LIBRARY_PATH=../../src/.libs ./play.py |
