diff options
| author | 2020-06-09 18:19:07 +0200 | |
|---|---|---|
| committer | 2020-06-09 18:19:07 +0200 | |
| commit | c14849987d893999c03f165b49257e108d07bad3 (patch) | |
| tree | e9e8769873b113494958b669700ce107b132a644 /src | |
| parent | 65a7ffbfb124c2a0acf94b5e88911d6bf95d6009 (diff) | |
| download | libplist-c14849987d893999c03f165b49257e108d07bad3.tar.gz libplist-c14849987d893999c03f165b49257e108d07bad3.tar.bz2 | |
Unfold automake variables into multiple lines for maintainability
Diffstat (limited to 'src')
| -rw-r--r-- | src/Makefile.am | 83 |
1 files changed, 47 insertions, 36 deletions
diff --git a/src/Makefile.am b/src/Makefile.am index 7fe500a..02b0478 100644 --- a/src/Makefile.am +++ b/src/Makefile.am | |||
| @@ -1,47 +1,56 @@ | |||
| 1 | AM_CPPFLAGS = -I$(top_srcdir)/include -I$(top_srcdir) -I$(top_srcdir)/libcnary/include | 1 | AM_CPPFLAGS = \ |
| 2 | -I$(top_srcdir)/include \ | ||
| 3 | -I$(top_srcdir) \ | ||
| 4 | -I$(top_srcdir)/libcnary/include | ||
| 2 | 5 | ||
| 3 | AM_CFLAGS = $(GLOBAL_CFLAGS) | 6 | AM_CFLAGS = $(GLOBAL_CFLAGS) |
| 4 | AM_LDFLAGS = $(GLOBAL_LDFLAGS) | 7 | AM_LDFLAGS = $(GLOBAL_LDFLAGS) |
| 5 | 8 | ||
| 6 | lib_LTLIBRARIES = libplist.la libplist++.la | 9 | lib_LTLIBRARIES = \ |
| 10 | libplist.la \ | ||
| 11 | libplist++.la | ||
| 12 | |||
| 7 | libplist_la_LIBADD = $(top_builddir)/libcnary/libcnary.la | 13 | libplist_la_LIBADD = $(top_builddir)/libcnary/libcnary.la |
| 8 | libplist_la_LDFLAGS = $(AM_LDFLAGS) -version-info $(LIBPLIST_SO_VERSION) -no-undefined | 14 | libplist_la_LDFLAGS = $(AM_LDFLAGS) -version-info $(LIBPLIST_SO_VERSION) -no-undefined |
| 9 | libplist_la_SOURCES = base64.c base64.h \ | 15 | libplist_la_SOURCES = \ |
| 10 | bytearray.c bytearray.h \ | 16 | base64.c base64.h \ |
| 11 | strbuf.h \ | 17 | bytearray.c bytearray.h \ |
| 12 | hashtable.c hashtable.h \ | 18 | strbuf.h \ |
| 13 | ptrarray.c ptrarray.h \ | 19 | hashtable.c hashtable.h \ |
| 14 | time64.c time64.h time64_limits.h \ | 20 | ptrarray.c ptrarray.h \ |
| 15 | xplist.c \ | 21 | time64.c time64.h \ |
| 16 | bplist.c \ | 22 | time64_limits.h \ |
| 17 | plist.c plist.h | 23 | xplist.c \ |
| 24 | bplist.c \ | ||
| 25 | plist.c plist.h | ||
| 18 | 26 | ||
| 19 | libplist___la_LIBADD = libplist.la | 27 | libplist___la_LIBADD = libplist.la |
| 20 | libplist___la_LDFLAGS = $(AM_LDFLAGS) -version-info $(LIBPLIST_SO_VERSION) -no-undefined | 28 | libplist___la_LDFLAGS = $(AM_LDFLAGS) -version-info $(LIBPLIST_SO_VERSION) -no-undefined |
| 21 | libplist___la_SOURCES = Node.cpp \ | 29 | libplist___la_SOURCES = \ |
| 22 | Structure.cpp \ | 30 | Node.cpp \ |
| 23 | Array.cpp \ | 31 | Structure.cpp \ |
| 24 | Boolean.cpp \ | 32 | Array.cpp \ |
| 25 | Data.cpp \ | 33 | Boolean.cpp \ |
| 26 | Date.cpp \ | 34 | Data.cpp \ |
| 27 | Dictionary.cpp \ | 35 | Date.cpp \ |
| 28 | Integer.cpp \ | 36 | Dictionary.cpp \ |
| 29 | Key.cpp \ | 37 | Integer.cpp \ |
| 30 | Real.cpp \ | 38 | Key.cpp \ |
| 31 | String.cpp \ | 39 | Real.cpp \ |
| 32 | Uid.cpp \ | 40 | String.cpp \ |
| 33 | $(top_srcdir)/include/plist/Node.h \ | 41 | Uid.cpp \ |
| 34 | $(top_srcdir)/include/plist/Structure.h \ | 42 | $(top_srcdir)/include/plist/Node.h \ |
| 35 | $(top_srcdir)/include/plist/Array.h \ | 43 | $(top_srcdir)/include/plist/Structure.h \ |
| 36 | $(top_srcdir)/include/plist/Boolean.h \ | 44 | $(top_srcdir)/include/plist/Array.h \ |
| 37 | $(top_srcdir)/include/plist/Data.h \ | 45 | $(top_srcdir)/include/plist/Boolean.h \ |
| 38 | $(top_srcdir)/include/plist/Date.h \ | 46 | $(top_srcdir)/include/plist/Data.h \ |
| 39 | $(top_srcdir)/include/plist/Dictionary.h \ | 47 | $(top_srcdir)/include/plist/Date.h \ |
| 40 | $(top_srcdir)/include/plist/Integer.h \ | 48 | $(top_srcdir)/include/plist/Dictionary.h \ |
| 41 | $(top_srcdir)/include/plist/Key.h \ | 49 | $(top_srcdir)/include/plist/Integer.h \ |
| 42 | $(top_srcdir)/include/plist/Real.h \ | 50 | $(top_srcdir)/include/plist/Key.h \ |
| 43 | $(top_srcdir)/include/plist/String.h \ | 51 | $(top_srcdir)/include/plist/Real.h \ |
| 44 | $(top_srcdir)/include/plist/Uid.h | 52 | $(top_srcdir)/include/plist/String.h \ |
| 53 | $(top_srcdir)/include/plist/Uid.h | ||
| 45 | 54 | ||
| 46 | if WIN32 | 55 | if WIN32 |
| 47 | libplist_la_LDFLAGS += -avoid-version -static-libgcc | 56 | libplist_la_LDFLAGS += -avoid-version -static-libgcc |
| @@ -49,4 +58,6 @@ libplist___la_LDFLAGS += -avoid-version -static-libgcc | |||
| 49 | endif | 58 | endif |
| 50 | 59 | ||
| 51 | pkgconfigdir = $(libdir)/pkgconfig | 60 | pkgconfigdir = $(libdir)/pkgconfig |
| 52 | pkgconfig_DATA = libplist-2.0.pc libplist++-2.0.pc | 61 | pkgconfig_DATA = \ |
| 62 | libplist-2.0.pc \ | ||
| 63 | libplist++-2.0.pc | ||
