summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAmitay Isaacs <amitay@ozlabs.org>2018-07-16 16:32:15 +1000
committerAlistair Popple <alistair@popple.id.au>2018-08-02 14:58:32 +1000
commite8aa39aebcb6329724b7a75bfcb5c1b22ea961db (patch)
tree9ac8b7d8091715cf405aa00cb65b562524ac0a50
parent60bb1523bc18bf4ec9a2dbf24c9be6762e5250d4 (diff)
downloadpdbg-e8aa39aebcb6329724b7a75bfcb5c1b22ea961db.tar.gz
pdbg-e8aa39aebcb6329724b7a75bfcb5c1b22ea961db.zip
Makefile: Package ccan files
Signed-off-by: Amitay Isaacs <amitay@ozlabs.org>
-rw-r--r--Makefile.am16
1 files changed, 15 insertions, 1 deletions
diff --git a/Makefile.am b/Makefile.am
index 739ab23..a24a857 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -50,7 +50,7 @@ pdbg_SOURCES = \
src/parsers.h \
src/progress.h
-pdbg_LDADD = $(DT_objects) libpdbg.la libfdt.la \
+pdbg_LDADD = $(DT_objects) libpdbg.la libfdt.la libccan.a \
-L.libs -lrt
pdbg_LDFLAGS = -Wl,--whole-archive,-lpdbg,--no-whole-archive
@@ -102,6 +102,20 @@ libpdbg_la_SOURCES = \
libpdbg/libpdbg.h \
libpdbg/target.h
+noinst_LIBRARIES = libccan.a
+
+libccan_a_SOURCES = \
+ ccan/array_size/array_size.h \
+ ccan/build_assert/build_assert.h \
+ ccan/check_type/check_type.h \
+ ccan/container_of/container_of.h \
+ ccan/cppmagic/cppmagic.h \
+ ccan/list/list.c \
+ ccan/list/list.h \
+ ccan/short_types/short_types.h \
+ ccan/str/str.c \
+ ccan/str/str.h
+
M4_V = $(M4_V_$(V))
M4_V_ = $(M4_V_$(AM_DEFAULT_VERBOSITY))
M4_V_0 = @echo " M4 " $@;
OpenPOWER on IntegriCloud