diff mbox series

[v3,9/13] helper: test: rework build system

Message ID 1504641607-4966-10-git-send-email-odpbot@yandex.ru
State Superseded
Headers show
Series [v3,1/13] travis: drop ubuntu-toolchain-r-test PPA | expand

Commit Message

Github ODP bot Sept. 5, 2017, 8 p.m. UTC
From: Dmitry Eremin-Solenikov <dmitry.ereminsolenikov@linaro.org>


- Stop using extra libraries just to create a test executable
- Stop using EXTRA_DIST to distribute headers, include them into
  _SOURCES
- Stop using unnecessary dist_ prefixes, sources are distributed
  automatically

Signed-off-by: Dmitry Eremin-Solenikov <dmitry.ereminsolenikov@linaro.org>

---
/** Email created from pull request 165 (lumag:improve-build-3)
 ** https://github.com/Linaro/odp/pull/165
 ** Patch: https://github.com/Linaro/odp/pull/165.patch
 ** Base sha: 42184679185ce0c979e065349360167e3fce6ca0
 ** Merge commit sha: 38d800e8e4b3c89a118426f28490b2e87091e127
 **/
 helper/test/Makefile.am | 16 +++++++---------
 1 file changed, 7 insertions(+), 9 deletions(-)
diff mbox series

Patch

diff --git a/helper/test/Makefile.am b/helper/test/Makefile.am
index e30a1e71..983e2c68 100644
--- a/helper/test/Makefile.am
+++ b/helper/test/Makefile.am
@@ -44,15 +44,13 @@  if test_helper
 TESTS = $(EXECUTABLES) $(TESTSCRIPTS)
 endif
 
-dist_bin_SCRIPTS =
-
 test_PROGRAMS = $(EXECUTABLES) $(COMPILE_ONLY)
 
-EXTRA_DIST = odpthreads_as_processes odpthreads_as_pthreads
+dist_check_SCRIPTS = odpthreads_as_processes odpthreads_as_pthreads
 
-dist_chksum_SOURCES = chksum.c
-dist_cuckootable_SOURCES = cuckootable.c
-dist_odpthreads_SOURCES = odpthreads.c
-dist_parse_SOURCES = parse.c
-dist_table_SOURCES = table.c
-dist_iplookuptable_SOURCES = iplookuptable.c
+chksum_SOURCES = chksum.c
+cuckootable_SOURCES = cuckootable.c
+odpthreads_SOURCES = odpthreads.c
+parse_SOURCES = parse.c
+table_SOURCES = table.c
+iplookuptable_SOURCES = iplookuptable.c