diff mbox series

[1/5] Makefile: Include header files for each target

Message ID 20180716063216.20107-2-amitay@ozlabs.org
State Accepted
Headers show
Series [1/5] Makefile: Include header files for each target | expand

Commit Message

Amitay Isaacs July 16, 2018, 6:32 a.m. UTC
This will ensure that "make dist" packages all the required files. Also,
"make ctags" will include tags from header files.

Signed-off-by: Amitay Isaacs <amitay@ozlabs.org>
---
 Makefile.am | 24 +++++++++++++++++++++---
 1 file changed, 21 insertions(+), 3 deletions(-)
diff mbox series

Patch

diff --git a/Makefile.am b/Makefile.am
index 4e0dce2..a795926 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -41,7 +41,13 @@  pdbg_SOURCES = \
 	src/progress.c \
 	src/parsers.c \
 	src/optcmd.c \
-	src/options_@ARCH@.c
+	src/options_@ARCH@.c \
+	src/htm.h \
+	src/main.h \
+	src/optcmd.h \
+	src/options.h \
+	src/parsers.h \
+	src/progress.h
 
 pdbg_LDADD = $(DT_objects) libpdbg.la libfdt.la \
 	-L.libs -lrt
@@ -64,7 +70,11 @@  libfdt_la_SOURCES = \
 	libfdt/fdt_strerror.c \
 	libfdt/fdt_empty_tree.c \
 	libfdt/fdt_addresses.c \
-	libfdt/fdt_overlay.c
+	libfdt/fdt_overlay.c \
+	libfdt/fdt.h \
+	libfdt/libfdt_env.h \
+	libfdt/libfdt.h \
+	libfdt/libfdt_internal.h
 
 libpdbg_la_SOURCES = \
 	libpdbg/libpdbg.c \
@@ -81,7 +91,15 @@  libpdbg_la_SOURCES = \
 	libpdbg/device.c \
 	libpdbg/target.c \
 	libpdbg/htm.c \
-	libpdbg/debug.c
+	libpdbg/debug.c \
+	libpdbg/backend.h \
+	libpdbg/bitutils.h \
+	libpdbg/compiler.h \
+	libpdbg/debug.h \
+	libpdbg/device.h \
+	libpdbg/operations.h \
+	libpdbg/libpdbg.h \
+	libpdbg/target.h
 
 M4_V = $(M4_V_$(V))
 M4_V_ = $(M4_V_$(AM_DEFAULT_VERBOSITY))