diff options
| author | 2020-06-14 15:53:12 +0200 | |
|---|---|---|
| committer | 2020-06-14 23:36:23 +0200 | |
| commit | fa9aa6e8cbdcb6121bd625d00543a450687177c4 (patch) | |
| tree | 79bbf73f51f4e296ef2888e98bf7e8eeeb757551 /cython | |
| parent | f18b8afe8db4c40a2cccefe4d2dc57aed0b1337c (diff) | |
| download | libimobiledevice-fa9aa6e8cbdcb6121bd625d00543a450687177c4.tar.gz libimobiledevice-fa9aa6e8cbdcb6121bd625d00543a450687177c4.tar.bz2 | |
Unfold cython automake variables into multiple lines for maintainability
Diffstat (limited to 'cython')
| -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 = \ | |||
| 20 | if HAVE_CYTHON | 20 | if HAVE_CYTHON |
| 21 | 21 | ||
| 22 | BUILT_SOURCES = imobiledevice.c | 22 | BUILT_SOURCES = imobiledevice.c |
| 23 | PXDINCLUDES = imobiledevice.pxd $(CYTHON_PLIST_INCLUDE_DIR)/plist.pxd | 23 | PXDINCLUDES = \ |
| 24 | imobiledevice.pxd \ | ||
| 25 | $(CYTHON_PLIST_INCLUDE_DIR)/plist.pxd | ||
| 26 | |||
| 24 | PXIINCLUDES = \ | 27 | PXIINCLUDES = \ |
| 25 | lockdown.pxi \ | 28 | lockdown.pxi \ |
| 26 | mobilesync.pxi \ | 29 | mobilesync.pxi \ |
| @@ -54,8 +57,27 @@ EXTRA_DIST = \ | |||
| 54 | imobiledevicedir = $(pyexecdir) | 57 | imobiledevicedir = $(pyexecdir) |
| 55 | imobiledevice_LTLIBRARIES = imobiledevice.la | 58 | imobiledevice_LTLIBRARIES = imobiledevice.la |
| 56 | imobiledevice_la_SOURCES = imobiledevice.pyx | 59 | imobiledevice_la_SOURCES = imobiledevice.pyx |
| 57 | 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 | 60 | imobiledevice_la_CFLAGS = \ |
| 58 | imobiledevice_la_LDFLAGS = -module -avoid-version -L$(libdir) $(PYTHON_LIBS) $(AM_LIBS) -no-undefined | 61 | -I$(top_srcdir)/include \ |
| 62 | -I$(top_srcdir)/src \ | ||
| 63 | $(PYTHON_CPPFLAGS) \ | ||
| 64 | $(AM_CFLAGS) \ | ||
| 65 | -Wno-shadow \ | ||
| 66 | -Wno-redundant-decls \ | ||
| 67 | -Wno-switch-default \ | ||
| 68 | -Wno-strict-aliasing \ | ||
| 69 | -Wno-implicit-function-declaration \ | ||
| 70 | -fvisibility=default \ | ||
| 71 | -Wno-cast-function-type | ||
| 72 | |||
| 73 | imobiledevice_la_LDFLAGS = \ | ||
| 74 | -module \ | ||
| 75 | -avoid-version \ | ||
| 76 | -L$(libdir) \ | ||
| 77 | $(PYTHON_LIBS) \ | ||
| 78 | $(AM_LIBS) \ | ||
| 79 | -no-undefined | ||
| 80 | |||
| 59 | imobiledevice_la_LIBADD = $(top_builddir)/src/libimobiledevice-1.0.la | 81 | imobiledevice_la_LIBADD = $(top_builddir)/src/libimobiledevice-1.0.la |
| 60 | 82 | ||
| 61 | imobiledevice.c: imobiledevice.pyx $(PXDINCLUDES) $(PXIINCLUDES) | 83 | imobiledevice.c: imobiledevice.pyx $(PXDINCLUDES) $(PXIINCLUDES) |
