diff mbox

[1/2] mstflint: Fix make dist-xx Makefile targets

Message ID 20150120104500.779f8ebd@b012350-ux (mailing list archive)
State Not Applicable, archived
Headers show

Commit Message

sebastien dugue Jan. 20, 2015, 9:45 a.m. UTC
Add some needed headers that make dist-xx left out of the generated
archive.

Signed-off-by: Sébastien Dugué <sebastien.dugue@bull.net>
---
 cmdif/Makefile.am      | 2 +-
 mflash/Makefile.am     | 2 +-
 mft_utils/Makefile.am  | 3 ++-
 reg_access/Makefile.am | 2 +-
 4 files changed, 5 insertions(+), 4 deletions(-)
diff mbox

Patch

diff --git a/cmdif/Makefile.am b/cmdif/Makefile.am
index b3ac612..60be402 100644
--- a/cmdif/Makefile.am
+++ b/cmdif/Makefile.am
@@ -40,5 +40,5 @@  AM_CFLAGS = -W -Wall -Werror -g -MP -MD $(COMPILER_FPIC) -DCMDIF_EXPORTS
 CMDIF_VERSION = 1
 noinst_LIBRARIES = libcmdif.a
 
-libcmdif_a_SOURCES = tools_cif.c
+libcmdif_a_SOURCES = tools_cif.c tools_cif.h
 
diff --git a/mflash/Makefile.am b/mflash/Makefile.am
index b4a87cf..632539c 100644
--- a/mflash/Makefile.am
+++ b/mflash/Makefile.am
@@ -39,4 +39,4 @@  noinst_LIBRARIES = libmflash.a
 
 libmflash_a_SOURCES =  mflash.c mflash.h\
 			mflash_pack_layer.c mflash_pack_layer.h mflash_access_layer.c mflash_access_layer.h\
-			mflash_types.h mlash_common_structs.h
+			mflash_types.h mflash_common_structs.h
diff --git a/mft_utils/Makefile.am b/mft_utils/Makefile.am
index ad9ad8e..4cd121c 100644
--- a/mft_utils/Makefile.am
+++ b/mft_utils/Makefile.am
@@ -40,5 +40,6 @@  noinst_HEADERS = mft_sig_handler.h errmsg.h
 
 noinst_LIBRARIES = libmftutils.a
 
-libmftutils_a_SOURCES =  mft_sig_handler.c errmsg.cpp
+libmftutils_a_SOURCES =  mft_sig_handler.c errmsg.cpp \
+		$(top_srcdir)/common/tools_utils.h
 
diff --git a/reg_access/Makefile.am b/reg_access/Makefile.am
index 3e56406..7f78060 100644
--- a/reg_access/Makefile.am
+++ b/reg_access/Makefile.am
@@ -42,7 +42,7 @@  AM_CFLAGS = -W -Wall -Werror -g -MP -MD $(COMPILER_FPIC)
 
 noinst_LIBRARIES = libreg_access.a
 
-libreg_access_a_SOURCES = reg_access.c
+libreg_access_a_SOURCES = reg_access.c reg_access.h
 libreg_access_a_DEPENDENCIES = $(USER_DIR)/tools_layouts/libtools_layouts.a
 libreg_access_a_LIBADD = $(libreg_access_a_DEPENDENCIES)