summaryrefslogtreecommitdiffstats
path: root/swig/Makefile.am
diff options
context:
space:
mode:
authorGravatar Nikias Bassen2009-12-06 10:36:14 +0100
committerGravatar Matt Colyer2009-12-06 13:58:40 -0800
commit3bb7d9596e9b852b2e13185386cc0b71c952e84d (patch)
tree31dee21d6b27d8b626aebeaf5650db0fffda4d53 /swig/Makefile.am
parent15b9f3451e20ccb4f9c6cdadc0dd75bc72246360 (diff)
downloadlibimobiledevice-3bb7d9596e9b852b2e13185386cc0b71c952e84d.tar.gz
libimobiledevice-3bb7d9596e9b852b2e13185386cc0b71c952e84d.tar.bz2
Updated autofoo stuff; swig is now optional and can be disabled.
Use --without-swig to prevent building the swig extensions even if swig is installed. [#93 state:resolved] Signed-off-by: Matt Colyer <matt@colyer.name>
Diffstat (limited to 'swig/Makefile.am')
-rw-r--r--swig/Makefile.am3
1 files changed, 3 insertions, 0 deletions
diff --git a/swig/Makefile.am b/swig/Makefile.am
index a38534d..ef87733 100644
--- a/swig/Makefile.am
+++ b/swig/Makefile.am
@@ -1,5 +1,6 @@
1INCLUDES = -I$(top_srcdir)/include $(libplist_CFLAGS) $(SWIG_PYTHON_CPPFLAGS) -I$(oldincludedir) 1INCLUDES = -I$(top_srcdir)/include $(libplist_CFLAGS) $(SWIG_PYTHON_CPPFLAGS) -I$(oldincludedir)
2 2
3if HAVE_SWIG
3BUILT_SOURCES = iphone_wrap.cxx 4BUILT_SOURCES = iphone_wrap.cxx
4SWIG_SOURCES = iphone.i 5SWIG_SOURCES = iphone.i
5 6
@@ -29,3 +30,5 @@ _iphone_la_LIBADD = $(top_builddir)/src/libiphone.la $(libplistmm_LIBS)
29iphone_wrap.cxx : $(SWIG_SOURCES) 30iphone_wrap.cxx : $(SWIG_SOURCES)
30 $(SWIG) $(SWIG_PYTHON_OPT) $(INCLUDES) -I$(top_srcdir)/src -o $@ $< 31 $(SWIG) $(SWIG_PYTHON_OPT) $(INCLUDES) -I$(top_srcdir)/src -o $@ $<
31 32
33endif # HAVE_SWIG
34