diff options
Diffstat (limited to 'cython/Makefile.am')
| -rw-r--r-- | cython/Makefile.am | 14 |
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 | |||
| 6 | if HAVE_CYTHON | 6 | if HAVE_CYTHON |
| 7 | 7 | ||
| 8 | BUILT_SOURCES = imobiledevice.c | 8 | BUILT_SOURCES = imobiledevice.c |
| 9 | PXDINCLUDES = imobiledevice.pxd stdint.pxi $(CYTHON_PLIST_INCLUDE_DIR)/plist.pxd | ||
| 10 | PXIINCLUDES = stdint.pxi mobilesync.pxi notification_proxy.pxi sbservices.pxi mobilebackup.pxi | ||
| 9 | 11 | ||
| 10 | CLEANFILES = \ | 12 | CLEANFILES = \ |
| 11 | *.pyc \ | 13 | *.pyc \ |
| 12 | *.pyo \ | 14 | *.pyo \ |
| 13 | imobiledevice.so \ | ||
| 14 | imobiledevice.c | 15 | imobiledevice.c |
| 15 | 16 | ||
| 16 | EXTRA_DIST = \ | 17 | EXTRA_DIST = imobiledevice.pyx imobiledevice.pxd $(PXIINCLUDES) |
| 17 | imobiledevice.pyx | ||
| 18 | 18 | ||
| 19 | imobiledevicedir = $(pyexecdir) | 19 | imobiledevicedir = $(pyexecdir) |
| 20 | imobiledevice_LTLIBRARIES = imobiledevice.la | 20 | imobiledevice_LTLIBRARIES = imobiledevice.la |
| 21 | nodist_imobiledevice_la_SOURCES = imobiledevice.c #imobiledevice_private.c | 21 | imobiledevice_la_SOURCES = imobiledevice.pyx |
| 22 | imobiledevice_la_CFLAGS = -I$(top_builddir)/include -I$(top_srcdir)/src $(PYTHON_CPPFLAGS) | 22 | imobiledevice_la_CFLAGS = -I$(top_builddir)/include -I$(top_srcdir)/src $(PYTHON_CPPFLAGS) |
| 23 | imobiledevice_la_LDFLAGS = -module -avoid-version $(PYTHON_LDFLAGS) | 23 | imobiledevice_la_LDFLAGS = -module -avoid-version $(PYTHON_LDFLAGS) |
| 24 | imobiledevice_la_LIBADD = $(top_builddir)/src/libimobiledevice.la | 24 | imobiledevice_la_LIBADD = $(top_builddir)/src/libimobiledevice.la |
| 25 | 25 | ||
| 26 | imobiledevice.c: imobiledevice.pyx $(CYTHON_PLIST_INCLUDE_DIR)/plist.pxd | 26 | imobiledevice.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 $@ $< |
