Skip to content

Commit

Permalink
Unfold automake variables into multiple lines for maintainability
Browse files Browse the repository at this point in the history
  • Loading branch information
FunkyM committed Jun 8, 2020
1 parent 06a80cc commit b668fc1
Show file tree
Hide file tree
Showing 3 changed files with 28 additions and 7 deletions.
3 changes: 2 additions & 1 deletion include/Makefile.am
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
nobase_include_HEADERS = libideviceactivation.h
nobase_include_HEADERS = \
libideviceactivation.h
18 changes: 15 additions & 3 deletions src/Makefile.am
Original file line number Diff line number Diff line change
@@ -1,7 +1,19 @@
AM_CPPFLAGS = -I$(top_srcdir)/include
AM_CPPFLAGS = \
-I$(top_srcdir)/include

AM_CFLAGS = $(GLOBAL_CFLAGS) $(libimobiledevice_CFLAGS) $(libplist_CFLAGS) $(libcurl_CFLAGS) $(libxml2_CFLAGS)
AM_LDFLAGS = $(GLOBAL_LIBS) $(libimobiledevice_LIBS) $(libplist_LIBS) $(libcurl_LIBS) $(libxml2_LIBS)
AM_CFLAGS = \
$(GLOBAL_CFLAGS) \
$(libimobiledevice_CFLAGS) \
$(libplist_CFLAGS) \
$(libcurl_CFLAGS) \
$(libxml2_CFLAGS)

AM_LDFLAGS = \
$(GLOBAL_LIBS) \
$(libimobiledevice_LIBS) \
$(libplist_LIBS) \
$(libcurl_LIBS) \
$(libxml2_LIBS)

lib_LTLIBRARIES = libideviceactivation.la
libideviceactivation_la_LDFLAGS = $(AM_LDFLAGS) -version-info $(LIBIDEVICEACTIVATION_SO_VERSION) -no-undefined
Expand Down
14 changes: 11 additions & 3 deletions tools/Makefile.am
Original file line number Diff line number Diff line change
@@ -1,7 +1,15 @@
AM_CPPFLAGS = -I$(top_srcdir)/include
AM_CPPFLAGS = \
-I$(top_srcdir)/include

AM_CFLAGS = $(GLOBAL_CFLAGS) $(libimobiledevice_CFLAGS) $(libplist_CFLAGS)
AM_LDFLAGS = $(GLOBAL_LIBS) $(libimobiledevice_LIBS) $(libplist_LIBS)
AM_CFLAGS = \
$(GLOBAL_CFLAGS) \
$(libimobiledevice_CFLAGS) \
$(libplist_CFLAGS)

AM_LDFLAGS = \
$(GLOBAL_LIBS) \
$(libimobiledevice_LIBS) \
$(libplist_LIBS)

bin_PROGRAMS = ideviceactivation

Expand Down

0 comments on commit b668fc1

Please sign in to comment.