diff options
author | Martin Szulecki | 2020-06-14 15:53:12 +0200 |
---|---|---|
committer | Martin Szulecki | 2020-06-14 23:36:23 +0200 |
commit | fa9aa6e8cbdcb6121bd625d00543a450687177c4 (patch) | |
tree | 79bbf73f51f4e296ef2888e98bf7e8eeeb757551 | |
parent | f18b8afe8db4c40a2cccefe4d2dc57aed0b1337c (diff) | |
download | libimobiledevice-fa9aa6e8cbdcb6121bd625d00543a450687177c4.tar.gz libimobiledevice-fa9aa6e8cbdcb6121bd625d00543a450687177c4.tar.bz2 |
Unfold cython automake variables into multiple lines for maintainability
-rw-r--r-- | cython/Makefile.am | 28 |
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) |