diff options
author | Martin Szulecki | 2009-11-18 20:03:44 +0100 |
---|---|---|
committer | Martin Szulecki | 2009-11-18 20:03:44 +0100 |
commit | b15705c7b8cf85df53d610bbe5dd34654cdadc6f (patch) | |
tree | 057f33e097c4d6ee1538b7f752b5120d0a77bad4 /swig | |
parent | fea0152549d5e77f914f75c0ac315f30f9e26426 (diff) | |
parent | 91f9e449f7432d8b609d5550a2abae47bb7b9aff (diff) | |
download | libimobiledevice-b15705c7b8cf85df53d610bbe5dd34654cdadc6f.tar.gz libimobiledevice-b15705c7b8cf85df53d610bbe5dd34654cdadc6f.tar.bz2 |
Merge branch 'master' of git://github.com/MattColyer/libiphone into martin
Diffstat (limited to 'swig')
-rw-r--r-- | swig/Makefile.am | 22 | ||||
-rw-r--r-- | swig/__init__.py | 3 | ||||
-rw-r--r-- | swig/iphone.i | 2 |
3 files changed, 14 insertions, 13 deletions
diff --git a/swig/Makefile.am b/swig/Makefile.am index 0da739b..a38534d 100644 --- a/swig/Makefile.am +++ b/swig/Makefile.am @@ -6,25 +6,25 @@ SWIG_SOURCES = iphone.i CLEANFILES = \ *.pyc \ *.pyo \ - _iPhone.so \ - iPhone.py \ + _iphone.so \ + iphone.py \ iphone_wrap.cxx EXTRA_DIST = \ __init__.py \ - iphone.i + iphone.i swigincludedir =$(includedir)/libiphone/swig swiginclude_HEADERS = $(SWIG_SOURCES) -iPhonedir = $(pyexecdir)/libiphone -iPhone_PYTHON = __init__.py -nodist_iPhone_PYTHON = iPhone.py -iPhone_LTLIBRARIES = _iPhone.la -nodist__iPhone_la_SOURCES = iphone_wrap.cxx $(SWIG_SOURCES) -_iPhone_la_CFLAGS = $(PYTHON_CPPFLAGS) -I$(top_srcdir)/src -_iPhone_la_LDFLAGS = -module -avoid-version $(PYTHON_LDFLAGS) -_iPhone_la_LIBADD = $(top_builddir)/src/libiphone.la $(libplistmm_LIBS) +iphonedir = $(pyexecdir)/iphone +iphone_PYTHON = __init__.py +nodist_iphone_PYTHON = iphone.py +iphone_LTLIBRARIES = _iphone.la +nodist__iphone_la_SOURCES = iphone_wrap.cxx $(SWIG_SOURCES) +_iphone_la_CFLAGS = $(PYTHON_CPPFLAGS) -I$(top_srcdir)/src +_iphone_la_LDFLAGS = -module -avoid-version $(PYTHON_LDFLAGS) +_iphone_la_LIBADD = $(top_builddir)/src/libiphone.la $(libplistmm_LIBS) iphone_wrap.cxx : $(SWIG_SOURCES) $(SWIG) $(SWIG_PYTHON_OPT) $(INCLUDES) -I$(top_srcdir)/src -o $@ $< diff --git a/swig/__init__.py b/swig/__init__.py index 8d1c8b6..e70dcce 100644 --- a/swig/__init__.py +++ b/swig/__init__.py @@ -1 +1,2 @@ - +# -*- coding: utf-8 -*- +from iphone import * diff --git a/swig/iphone.i b/swig/iphone.i index 6604c63..a0ee509 100644 --- a/swig/iphone.i +++ b/swig/iphone.i @@ -1,5 +1,5 @@ /* swig.i */ - %module(package="libiphone") iPhone + %module iphone %feature("autodoc", "1"); %{ /* Includes the header in the wrapper code */ |