diff options
author | Martin Szulecki | 2014-10-03 16:28:27 +0200 |
---|---|---|
committer | Martin Szulecki | 2014-10-03 16:29:42 +0200 |
commit | 08cc70bfb6aa77443886b41c141e8d6b143396a7 (patch) | |
tree | 5142aff4dd6a0a865b567c4a88586c795e31164a /cython | |
parent | 2fe46acbbbdb93d919a1aeb435ea1e4db160f5e1 (diff) | |
download | libimobiledevice-08cc70bfb6aa77443886b41c141e8d6b143396a7.tar.gz libimobiledevice-08cc70bfb6aa77443886b41c141e8d6b143396a7.tar.bz2 |
cython: Use output variables in Makefile instead of relative paths
Diffstat (limited to 'cython')
-rw-r--r-- | cython/Makefile.am | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/cython/Makefile.am b/cython/Makefile.am index b5090b1..1fd88b1 100644 --- a/cython/Makefile.am +++ b/cython/Makefile.am @@ -26,19 +26,19 @@ PXIINCLUDES = \ restore.pxi \ mobile_image_mounter.pxi -CLEANFILES = \ - *.pyc \ - *.pyo \ - imobiledevice.c +CLEANFILES = \ + *.pyc \ + *.pyo \ + imobiledevice.c EXTRA_DIST = imobiledevice.pyx imobiledevice.pxd $(PXIINCLUDES) imobiledevicedir = $(pyexecdir) imobiledevice_LTLIBRARIES = imobiledevice.la imobiledevice_la_SOURCES = imobiledevice.pyx -imobiledevice_la_CFLAGS = -I../include -I../src $(PYTHON_CPPFLAGS) $(AM_CFLAGS) -Wno-shadow -Wno-redundant-decls -Wno-switch-default -Wno-strict-aliasing -Wno-implicit-function-declaration -imobiledevice_la_LDFLAGS = -module -avoid-version -L$(libdir) $(PYTHON_LDFLAGS) $(AM_LDFLAGS) -imobiledevice_la_LIBADD = ../src/libimobiledevice.la +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 +imobiledevice_la_LDFLAGS = -module -avoid-version -L$(libdir) $(PYTHON_LDFLAGS) $(AM_LDFLAGS) -no-undefined +imobiledevice_la_LIBADD = $(top_builddir)/src/libimobiledevice.la imobiledevice.c: imobiledevice.pyx $(PXDINCLUDES) $(PXIINCLUDES) |