aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/build-aux
diff options
context:
space:
mode:
authorDavid M. Syzdek <david@syzdek.net>2022-04-15 11:58:00 -0800
committerDavid M. Syzdek <david@syzdek.net>2022-04-15 11:58:00 -0800
commit6b879669e59992497835ef183003fc113f56d93e (patch)
tree9013e224bb57de094e384b6dc91b4509bd307f62 /build-aux
parent374cdbbea03f6772de8e73841c5ff8975732d73b (diff)
downloadbindletools-6b879669e59992497835ef183003fc113f56d93e.tar.gz
bindletools-6b879669e59992497835ef183003fc113f56d93e.tar.bz2
bindletools-6b879669e59992497835ef183003fc113f56d93e.tar.xz
bindletools-6b879669e59992497835ef183003fc113f56d93e.zip
tests: moving makefile targets to makefile-libbindle.am
Diffstat (limited to 'build-aux')
-rw-r--r--build-aux/makefile-libbindle.am22
1 files changed, 22 insertions, 0 deletions
diff --git a/build-aux/makefile-libbindle.am b/build-aux/makefile-libbindle.am
index eba8790..4654163 100644
--- a/build-aux/makefile-libbindle.am
+++ b/build-aux/makefile-libbindle.am
@@ -30,6 +30,10 @@
30 30
31include_HEADERS += include/bindle.h 31include_HEADERS += include/bindle.h
32lib_LIBRARIES += lib/libbindle.a 32lib_LIBRARIES += lib/libbindle.a
33EXTRA_PROGRAMS += tests/bindle-str-expand \
34 tests/bindle-str-split
35TESTS += tests/bindle-str-expand \
36 tests/bindle-str-split
33EXTRA_DIST += $(bindletools_srcdir)/build-aux/makefile-libbindle.am 37EXTRA_DIST += $(bindletools_srcdir)/build-aux/makefile-libbindle.am
34EXTRA_DIST += $(bindletools_srcdir)/include/bindle.h 38EXTRA_DIST += $(bindletools_srcdir)/include/bindle.h
35BUILT_SOURCES += include/bindle_prefix.h 39BUILT_SOURCES += include/bindle_prefix.h
@@ -65,6 +69,24 @@ lib_libbindle_a_CFLAGS = $(AM_CFLAGS)
65lib_libbindle_a_SOURCES = $(libbindle_sources) 69lib_libbindle_a_SOURCES = $(libbindle_sources)
66 70
67 71
72# macros for tests/bindle-str-expand
73tests_bindle_str_expand_DEPENDENCIES = lib/libbindle.a
74tests_bindle_str_expand_LDADD = lib/libbindle.a
75tests_bindle_str_expand_SOURCES = include/bindle.h \
76 tests/bindle-tests.h \
77 tests/bindle-tests.c \
78 tests/bindle-str-expand.c
79
80
81# macros for tests/bindle-str-split
82tests_bindle_str_split_DEPENDENCIES = lib/libbindle.a
83tests_bindle_str_split_LDADD = lib/libbindle.a
84tests_bindle_str_split_SOURCES = include/bindle.h \
85 tests/bindle-tests.h \
86 tests/bindle-tests.c \
87 tests/bindle-str-split.c
88
89
68libbindle_symbol_list = $(EGREP) \ 90libbindle_symbol_list = $(EGREP) \
69 '^[[:space:]]{0,1}bindle_[_[:alnum:]]{1,}[\(\;][[:space:]]{0,}$$' \ 91 '^[[:space:]]{0,1}bindle_[_[:alnum:]]{1,}[\(\;][[:space:]]{0,}$$' \
70 $(libbindle_sources) \ 92 $(libbindle_sources) \