summaryrefslogtreecommitdiffstats
path: root/cython/Makefile.am
diff options
context:
space:
mode:
Diffstat (limited to 'cython/Makefile.am')
-rw-r--r--cython/Makefile.am28
1 files changed, 25 insertions, 3 deletions
diff --git a/cython/Makefile.am b/cython/Makefile.am
index b5121ab..08ac363 100644
--- a/cython/Makefile.am
+++ b/cython/Makefile.am
@@ -20,7 +20,10 @@ AM_LIBS = \
if HAVE_CYTHON
BUILT_SOURCES = imobiledevice.c
-PXDINCLUDES = imobiledevice.pxd $(CYTHON_PLIST_INCLUDE_DIR)/plist.pxd
+PXDINCLUDES = \
+ imobiledevice.pxd \
+ $(CYTHON_PLIST_INCLUDE_DIR)/plist.pxd
+
PXIINCLUDES = \
lockdown.pxi \
mobilesync.pxi \
@@ -54,8 +57,27 @@ EXTRA_DIST = \
imobiledevicedir = $(pyexecdir)
imobiledevice_LTLIBRARIES = imobiledevice.la
imobiledevice_la_SOURCES = imobiledevice.pyx
-imobiledevice_la_CFLAGS = -I$(top_srcdir)/include -I$(top_srcdir)/src $(PYTHON_CPPFLAGS) $(AM_CFLAGS) -Wno-shadow -Wno-redundant-decls -Wno-switch-default -Wno-strict-aliasing -Wno-implicit-function-declaration -Wno-cast-function-type -fvisibility=default
-imobiledevice_la_LDFLAGS = -module -avoid-version -L$(libdir) $(PYTHON_LIBS) $(AM_LIBS) -no-undefined
+imobiledevice_la_CFLAGS = \
+ -I$(top_srcdir)/include \
+ -I$(top_srcdir)/src \
+ $(PYTHON_CPPFLAGS) \
+ $(AM_CFLAGS) \
+ -Wno-shadow \
+ -Wno-redundant-decls \
+ -Wno-switch-default \
+ -Wno-strict-aliasing \
+ -Wno-implicit-function-declaration \
+ -fvisibility=default \
+ -Wno-cast-function-type
+
+imobiledevice_la_LDFLAGS = \
+ -module \
+ -avoid-version \
+ -L$(libdir) \
+ $(PYTHON_LIBS) \
+ $(AM_LIBS) \
+ -no-undefined
+
imobiledevice_la_LIBADD = $(top_builddir)/src/libimobiledevice-1.0.la
imobiledevice.c: imobiledevice.pyx $(PXDINCLUDES) $(PXIINCLUDES)