From 08cc70bfb6aa77443886b41c141e8d6b143396a7 Mon Sep 17 00:00:00 2001 From: Martin Szulecki Date: Fri, 3 Oct 2014 16:28:27 +0200 Subject: cython: Use output variables in Makefile instead of relative paths --- cython/Makefile.am | 14 +++++++------- 1 file 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) -- cgit v1.1-32-gdbae