summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorGravatar Martin Szulecki2020-06-09 18:19:07 +0200
committerGravatar Martin Szulecki2020-06-09 18:19:07 +0200
commitc14849987d893999c03f165b49257e108d07bad3 (patch)
treee9e8769873b113494958b669700ce107b132a644 /src
parent65a7ffbfb124c2a0acf94b5e88911d6bf95d6009 (diff)
downloadlibplist-c14849987d893999c03f165b49257e108d07bad3.tar.gz
libplist-c14849987d893999c03f165b49257e108d07bad3.tar.bz2
Unfold automake variables into multiple lines for maintainability
Diffstat (limited to 'src')
-rw-r--r--src/Makefile.am83
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 @@
1AM_CPPFLAGS = -I$(top_srcdir)/include -I$(top_srcdir) -I$(top_srcdir)/libcnary/include 1AM_CPPFLAGS = \
2 -I$(top_srcdir)/include \
3 -I$(top_srcdir) \
4 -I$(top_srcdir)/libcnary/include
2 5
3AM_CFLAGS = $(GLOBAL_CFLAGS) 6AM_CFLAGS = $(GLOBAL_CFLAGS)
4AM_LDFLAGS = $(GLOBAL_LDFLAGS) 7AM_LDFLAGS = $(GLOBAL_LDFLAGS)
5 8
6lib_LTLIBRARIES = libplist.la libplist++.la 9lib_LTLIBRARIES = \
10 libplist.la \
11 libplist++.la
12
7libplist_la_LIBADD = $(top_builddir)/libcnary/libcnary.la 13libplist_la_LIBADD = $(top_builddir)/libcnary/libcnary.la
8libplist_la_LDFLAGS = $(AM_LDFLAGS) -version-info $(LIBPLIST_SO_VERSION) -no-undefined 14libplist_la_LDFLAGS = $(AM_LDFLAGS) -version-info $(LIBPLIST_SO_VERSION) -no-undefined
9libplist_la_SOURCES = base64.c base64.h \ 15libplist_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
19libplist___la_LIBADD = libplist.la 27libplist___la_LIBADD = libplist.la
20libplist___la_LDFLAGS = $(AM_LDFLAGS) -version-info $(LIBPLIST_SO_VERSION) -no-undefined 28libplist___la_LDFLAGS = $(AM_LDFLAGS) -version-info $(LIBPLIST_SO_VERSION) -no-undefined
21libplist___la_SOURCES = Node.cpp \ 29libplist___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
46if WIN32 55if WIN32
47libplist_la_LDFLAGS += -avoid-version -static-libgcc 56libplist_la_LDFLAGS += -avoid-version -static-libgcc
@@ -49,4 +58,6 @@ libplist___la_LDFLAGS += -avoid-version -static-libgcc
49endif 58endif
50 59
51pkgconfigdir = $(libdir)/pkgconfig 60pkgconfigdir = $(libdir)/pkgconfig
52pkgconfig_DATA = libplist-2.0.pc libplist++-2.0.pc 61pkgconfig_DATA = \
62 libplist-2.0.pc \
63 libplist++-2.0.pc