Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in / Register
Toggle navigation
L
libplist
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
1
Issues
1
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
pwn
libplist
Commits
c1484998
Commit
c1484998
authored
Jun 09, 2020
by
Martin Szulecki
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Unfold automake variables into multiple lines for maintainability
parent
65a7ffbf
Hide whitespace changes
Inline
Side-by-side
Showing
8 changed files
with
129 additions
and
72 deletions
+129
-72
Makefile.am
Makefile.am
+2
-0
Makefile.am
cython/Makefile.am
+28
-8
Makefile.am
fuzz/Makefile.am
+9
-2
Makefile.am
include/Makefile.am
+15
-14
Makefile.am
libcnary/Makefile.am
+10
-7
Makefile.am
src/Makefile.am
+47
-36
Makefile.am
test/Makefile.am
+14
-4
Makefile.am
tools/Makefile.am
+4
-1
No files found.
Makefile.am
View file @
c1484998
AUTOMAKE_OPTIONS
=
foreign
ACLOCAL_AMFLAGS
=
-I
m4
SUBDIRS
=
libcnary src include tools
test
docs
if
HAVE_CYTHON
SUBDIRS
+=
cython
endif
if
BUILD_FUZZERS
SUBDIRS
+=
fuzz
endif
...
...
cython/Makefile.am
View file @
c1484998
...
...
@@ -3,22 +3,42 @@ AM_CPPFLAGS = -I$(top_srcdir)/include
AM_CFLAGS
=
$(GLOBAL_CFLAGS)
AM_LDFLAGS
=
$(GLOBAL_LDFLAGS)
EXTRA_DIST
=
plist.pyx plist.pxd
EXTRA_DIST
=
\
plist.pyx
\
plist.pxd
if
HAVE_CYTHON
BUILT_SOURCES
=
plist.c
PXDINCLUDES
=
plist.pxd
$(CYTHON_PLIST_INCLUDE_DIR)
/plist.pxd
CLEANFILES
=
\
*
.pyc
\
*
.pyo
\
plist.c
PXDINCLUDES
=
\
plist.pxd
\
$(CYTHON_PLIST_INCLUDE_DIR)
/plist.pxd
CLEANFILES
=
\
*
.pyc
\
*
.pyo
\
plist.c
plistdir
=
$(pyexecdir)
plist_LTLIBRARIES
=
plist.la
plist_la_SOURCES
=
plist_util.c plist_util.h plist.pyx
plist_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
plist_la_SOURCES
=
\
plist_util.c
\
plist_util.h
\
plist.pyx
plist_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
plist_la_LDFLAGS
=
-module
-avoid-version
$(PYTHON_LIBS)
$(AM_LDFLAGS)
plist_la_LIBADD
=
$(top_builddir)
/src/libplist.la
...
...
fuzz/Makefile.am
View file @
c1484998
...
...
@@ -19,7 +19,9 @@ LIBFUZZER_SRC:
CLEANFILES
=
libFuzzer.a
noinst_PROGRAMS
=
xplist_fuzzer bplist_fuzzer
noinst_PROGRAMS
=
\
xplist_fuzzer
\
bplist_fuzzer
xplist_fuzzer_SOURCES
=
xplist_fuzzer.cc
xplist_fuzzer_LDFLAGS
=
-static
...
...
@@ -31,6 +33,11 @@ bplist_fuzzer_LDADD = $(top_builddir)/src/libplist.la libFuzzer.a
TESTS
=
fuzzers.test
EXTRA_DIST
=
bplist.dict xplist.dict init-fuzzers.sh test-fuzzers.sh fuzzers.test
EXTRA_DIST
=
\
bplist.dict
\
xplist.dict
\
init-fuzzers.sh
\
test-fuzzers.sh
\
fuzzers.test
endif
include/Makefile.am
View file @
c1484998
nobase_include_HEADERS
=
plist/plist.h
\
plist/plist++.h
\
plist/Array.h
\
plist/Boolean.h
\
plist/Data.h
\
plist/Date.h
\
plist/Dictionary.h
\
plist/Integer.h
\
plist/Key.h
\
plist/Node.h
\
plist/Real.h
\
plist/String.h
\
plist/Structure.h
\
plist/Uid.h
nobase_include_HEADERS
=
\
plist/plist.h
\
plist/plist++.h
\
plist/Array.h
\
plist/Boolean.h
\
plist/Data.h
\
plist/Date.h
\
plist/Dictionary.h
\
plist/Integer.h
\
plist/Key.h
\
plist/Node.h
\
plist/Real.h
\
plist/String.h
\
plist/Structure.h
\
plist/Uid.h
libcnary/Makefile.am
View file @
c1484998
AM_CFLAGS
=
$(GLOBAL_CFLAGS)
-I
$(top_srcdir)
/libcnary/include
AM_CFLAGS
=
\
$(GLOBAL_CFLAGS)
\
-I
$(top_srcdir)
/libcnary/include
AM_LDFLAGS
=
noinst_LTLIBRARIES
=
libcnary.la
libcnary_la_LIBADD
=
libcnary_la_LIBADD
=
libcnary_la_LDFLAGS
=
$(AM_LDFLAGS)
-no-undefined
libcnary_la_SOURCES
=
\
node.c
\
node_list.c
\
include/node.h
\
include/node_list.h
\
include/object.h
node.c
\
node_list.c
\
include/node.h
\
include/node_list.h
\
include/object.h
src/Makefile.am
View file @
c1484998
AM_CPPFLAGS
=
-I
$(top_srcdir)
/include
-I
$(top_srcdir)
-I
$(top_srcdir)
/libcnary/include
AM_CPPFLAGS
=
\
-I
$(top_srcdir)
/include
\
-I
$(top_srcdir)
\
-I
$(top_srcdir)
/libcnary/include
AM_CFLAGS
=
$(GLOBAL_CFLAGS)
AM_LDFLAGS
=
$(GLOBAL_LDFLAGS)
lib_LTLIBRARIES
=
libplist.la libplist++.la
lib_LTLIBRARIES
=
\
libplist.la
\
libplist++.la
libplist_la_LIBADD
=
$(top_builddir)
/libcnary/libcnary.la
libplist_la_LDFLAGS
=
$(AM_LDFLAGS)
-version-info
$(LIBPLIST_SO_VERSION)
-no-undefined
libplist_la_SOURCES
=
base64.c base64.h
\
bytearray.c bytearray.h
\
strbuf.h
\
hashtable.c hashtable.h
\
ptrarray.c ptrarray.h
\
time64.c time64.h time64_limits.h
\
xplist.c
\
bplist.c
\
plist.c plist.h
libplist_la_SOURCES
=
\
base64.c base64.h
\
bytearray.c bytearray.h
\
strbuf.h
\
hashtable.c hashtable.h
\
ptrarray.c ptrarray.h
\
time64.c time64.h
\
time64_limits.h
\
xplist.c
\
bplist.c
\
plist.c plist.h
libplist___la_LIBADD
=
libplist.la
libplist___la_LDFLAGS
=
$(AM_LDFLAGS)
-version-info
$(LIBPLIST_SO_VERSION)
-no-undefined
libplist___la_SOURCES
=
Node.cpp
\
Structure.cpp
\
Array.cpp
\
Boolean.cpp
\
Data.cpp
\
Date.cpp
\
Dictionary.cpp
\
Integer.cpp
\
Key.cpp
\
Real.cpp
\
String.cpp
\
Uid.cpp
\
$(top_srcdir)
/include/plist/Node.h
\
$(top_srcdir)
/include/plist/Structure.h
\
$(top_srcdir)
/include/plist/Array.h
\
$(top_srcdir)
/include/plist/Boolean.h
\
$(top_srcdir)
/include/plist/Data.h
\
$(top_srcdir)
/include/plist/Date.h
\
$(top_srcdir)
/include/plist/Dictionary.h
\
$(top_srcdir)
/include/plist/Integer.h
\
$(top_srcdir)
/include/plist/Key.h
\
$(top_srcdir)
/include/plist/Real.h
\
$(top_srcdir)
/include/plist/String.h
\
$(top_srcdir)
/include/plist/Uid.h
libplist___la_SOURCES
=
\
Node.cpp
\
Structure.cpp
\
Array.cpp
\
Boolean.cpp
\
Data.cpp
\
Date.cpp
\
Dictionary.cpp
\
Integer.cpp
\
Key.cpp
\
Real.cpp
\
String.cpp
\
Uid.cpp
\
$(top_srcdir)
/include/plist/Node.h
\
$(top_srcdir)
/include/plist/Structure.h
\
$(top_srcdir)
/include/plist/Array.h
\
$(top_srcdir)
/include/plist/Boolean.h
\
$(top_srcdir)
/include/plist/Data.h
\
$(top_srcdir)
/include/plist/Date.h
\
$(top_srcdir)
/include/plist/Dictionary.h
\
$(top_srcdir)
/include/plist/Integer.h
\
$(top_srcdir)
/include/plist/Key.h
\
$(top_srcdir)
/include/plist/Real.h
\
$(top_srcdir)
/include/plist/String.h
\
$(top_srcdir)
/include/plist/Uid.h
if
WIN32
libplist_la_LDFLAGS
+=
-avoid-version
-static-libgcc
...
...
@@ -49,4 +58,6 @@ libplist___la_LDFLAGS += -avoid-version -static-libgcc
endif
pkgconfigdir
=
$(libdir)
/pkgconfig
pkgconfig_DATA
=
libplist-2.0.pc libplist++-2.0.pc
pkgconfig_DATA
=
\
libplist-2.0.pc
\
libplist++-2.0.pc
test/Makefile.am
View file @
c1484998
AM_CFLAGS
=
$(GLOBAL_CFLAGS)
-I
$(top_srcdir)
/include
-I
$(top_srcdir)
/libcnary/include
AM_CFLAGS
=
\
$(GLOBAL_CFLAGS)
\
-I
$(top_srcdir)
/include
\
-I
$(top_srcdir)
/libcnary/include
AM_LDFLAGS
=
noinst_PROGRAMS
=
plist_cmp plist_test
noinst_PROGRAMS
=
\
plist_cmp
\
plist_test
plist_cmp_SOURCES
=
plist_cmp.c
plist_cmp_LDADD
=
$(top_builddir)
/src/libplist.la
$(top_builddir)
/libcnary/libcnary.la
plist_cmp_LDADD
=
\
$(top_builddir)
/src/libplist.la
\
$(top_builddir)
/libcnary/libcnary.la
plist_test_SOURCES
=
plist_test.c
plist_test_LDADD
=
$(top_builddir)
/src/libplist.la
...
...
@@ -77,7 +85,9 @@ EXTRA_DIST = \
data/unsigned.bplist
\
data/unsigned.plist
TESTS_ENVIRONMENT
=
top_srcdir
=
$(top_srcdir)
top_builddir
=
$(top_builddir)
TESTS_ENVIRONMENT
=
\
top_srcdir
=
$(top_srcdir)
\
top_builddir
=
$(top_builddir)
clean-local
:
if
test
-d
$(top_builddir)
/test/data
;
then
cd
$(top_builddir)
/test/data
&&
rm
-f
*
.out
*
.bin
*
.xml
;
fi
tools/Makefile.am
View file @
c1484998
AM_CFLAGS
=
$(GLOBAL_CFLAGS)
-I
$(top_srcdir)
/include
AM_CFLAGS
=
\
$(GLOBAL_CFLAGS)
\
-I
$(top_srcdir)
/include
AM_LDFLAGS
=
bin_PROGRAMS
=
plistutil
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment