summaryrefslogtreecommitdiffstats
path: root/cython/Makefile.am
diff options
context:
space:
mode:
Diffstat (limited to 'cython/Makefile.am')
-rw-r--r--cython/Makefile.am14
1 files changed, 8 insertions, 6 deletions
diff --git a/cython/Makefile.am b/cython/Makefile.am
index 3cada6c..f5f01ef 100644
--- a/cython/Makefile.am
+++ b/cython/Makefile.am
@@ -6,25 +6,27 @@ AM_LDFLAGS = $(libglib2_LIBS) $(libgnutls_LIBS) $(libtasn1_LIBS) $(libgthread2_L
6if HAVE_CYTHON 6if HAVE_CYTHON
7 7
8BUILT_SOURCES = imobiledevice.c 8BUILT_SOURCES = imobiledevice.c
9PXDINCLUDES = imobiledevice.pxd stdint.pxi $(CYTHON_PLIST_INCLUDE_DIR)/plist.pxd
10PXIINCLUDES = stdint.pxi mobilesync.pxi notification_proxy.pxi sbservices.pxi mobilebackup.pxi
9 11
10CLEANFILES = \ 12CLEANFILES = \
11 *.pyc \ 13 *.pyc \
12 *.pyo \ 14 *.pyo \
13 imobiledevice.so \
14 imobiledevice.c 15 imobiledevice.c
15 16
16EXTRA_DIST = \ 17EXTRA_DIST = imobiledevice.pyx imobiledevice.pxd $(PXIINCLUDES)
17 imobiledevice.pyx
18 18
19imobiledevicedir = $(pyexecdir) 19imobiledevicedir = $(pyexecdir)
20imobiledevice_LTLIBRARIES = imobiledevice.la 20imobiledevice_LTLIBRARIES = imobiledevice.la
21nodist_imobiledevice_la_SOURCES = imobiledevice.c #imobiledevice_private.c 21imobiledevice_la_SOURCES = imobiledevice.pyx
22imobiledevice_la_CFLAGS = -I$(top_builddir)/include -I$(top_srcdir)/src $(PYTHON_CPPFLAGS) 22imobiledevice_la_CFLAGS = -I$(top_builddir)/include -I$(top_srcdir)/src $(PYTHON_CPPFLAGS)
23imobiledevice_la_LDFLAGS = -module -avoid-version $(PYTHON_LDFLAGS) 23imobiledevice_la_LDFLAGS = -module -avoid-version $(PYTHON_LDFLAGS)
24imobiledevice_la_LIBADD = $(top_builddir)/src/libimobiledevice.la 24imobiledevice_la_LIBADD = $(top_builddir)/src/libimobiledevice.la
25 25
26imobiledevice.c: imobiledevice.pyx $(CYTHON_PLIST_INCLUDE_DIR)/plist.pxd 26imobiledevice.c: imobiledevice.pyx $(PXDINCLUDES) $(PXIINCLUDES)
27 $(CYTHON) --line-directives -I$(CYTHON_PLIST_INCLUDE_DIR) -I$(top_srcdir)/src -o $@ $< 27
28.pyx.c:
29 $(CYTHON) -I$(CYTHON_PLIST_INCLUDE_DIR) -I$(top_srcdir)/src -o $@ $<
28 30
29# imobiledevice_private.c: $(IMOBILEDEVICE_PRIVATE_SOURCES) $(IMOBILEDEVICE_INCLUDES) $(PLIST_INCLUDES) 31# imobiledevice_private.c: $(IMOBILEDEVICE_PRIVATE_SOURCES) $(IMOBILEDEVICE_INCLUDES) $(PLIST_INCLUDES)
30# $(CYTHON) $(IMOBILEDEVICE_CPPFLAGS) -I$(top_srcdir)/src -o $@ $< 32# $(CYTHON) $(IMOBILEDEVICE_CPPFLAGS) -I$(top_srcdir)/src -o $@ $<