diff options
| author | Todd Zullinger <tmzullinger@users.sourceforge.net> | 2007-01-04 18:55:38 +0000 |
|---|---|---|
| committer | Todd Zullinger <tmzullinger@users.sourceforge.net> | 2007-01-04 18:55:38 +0000 |
| commit | e524e1ba62b67e9918f7a6a5be1131e126a54e1e (patch) | |
| tree | 9fe9bca2b5bba27b130de4dc36a918b0e510d84a /bindings/python/Makefile.am | |
| parent | 4d8d0a9ae8394e9e93afe4b8b1f3df7ae0f993aa (diff) | |
| download | libgpod-e524e1ba62b67e9918f7a6a5be1131e126a54e1e.tar.gz libgpod-e524e1ba62b67e9918f7a6a5be1131e126a54e1e.tar.xz libgpod-e524e1ba62b67e9918f7a6a5be1131e126a54e1e.zip | |
* configure.ac
gnome-autogen.sh
bindings/python/Makefile.am
docs/reference/libgpod-overrides.txt
docs/reference/Makefile.am: fix make distcheck, minor automake
cleanups.
* bindings/python/gpod.i
bindings/python/gpod.i.in: rename gpod.i -> gpod.i.in. it is now
generated by autoconf.
git-svn-id: https://gtkpod.svn.sf.net/svnroot/gtkpod/libgpod/trunk@1347 f01d2545-417e-4e96-918e-98f8d0dbbcb6
Diffstat (limited to 'bindings/python/Makefile.am')
| -rw-r--r-- | bindings/python/Makefile.am | 45 |
1 files changed, 23 insertions, 22 deletions
diff --git a/bindings/python/Makefile.am b/bindings/python/Makefile.am index abce2d1..9373edc 100644 --- a/bindings/python/Makefile.am +++ b/bindings/python/Makefile.am @@ -1,35 +1,36 @@ SUBDIRS = examples -EXTRA_DIST = \ - gpod.i \ - ipod.py \ - __init__.py \ - gtkpod.py - -CLEANFILES = \ - *.pyc \ - *.pyo \ - _gpod.so \ - gpod.py \ - gpod_wrap.c \ - gpod_wrap.o - -MAINTAINERCLEANFILES = \ - README +EXTRA_DIST = \ + README.in \ + __init__.py \ + gpod.i.in \ + gtkpod.py \ + ipod.py + +CLEANFILES = \ + *.pyc \ + *.pyo \ + _gpod.so \ + gpod.py \ + gpod_wrap.* + +DISTCLEANFILES = \ + README \ + gpod.i if HAVE_PYTHON -MODULE_CFLAGS = `$(PKG_CONFIG) --cflags $(top_srcdir)/libgpod-1.0.pc` $(PYTHON_INCLUDES) -MODULE_LIBS = `$(PKG_CONFIG) --libs $(top_srcdir)/libgpod-1.0.pc` -L$(top_srcdir)/src/.libs -python_DATA = gpod.py _gpod.so +MODULE_CFLAGS = `$(PKG_CONFIG) --cflags $(top_builddir)/libgpod-1.0.pc` $(PYTHON_INCLUDES) +MODULE_LIBS = `$(PKG_CONFIG) --libs $(top_builddir)/libgpod-1.0.pc` -L$(top_srcdir)/src/.libs +python_DATA = gpod.py _gpod.so gpod_wrap.c: gpod.i - $(SWIG) -python gpod.i + $(SWIG) -python -o $@ gpod.i gpod.py: gpod.i - $(SWIG) -python gpod.i + $(SWIG) -python -o $@ gpod.i gpod_wrap.o: gpod_wrap.c - $(CC) $(MODULE_CFLAGS) -c -fpic gpod_wrap.c + $(CC) -I$(top_srcdir)/src $(MODULE_CFLAGS) -c -fpic gpod_wrap.c _gpod.so: gpod_wrap.o $(CC) $(MODULE_LIBS) @PYTHON_LDFLAGS@ gpod_wrap.o -o $@ |
