diff options
| author | David M. Syzdek <david@syzdek.net> | 2022-04-15 11:58:00 -0800 |
|---|---|---|
| committer | David M. Syzdek <david@syzdek.net> | 2022-04-15 11:58:00 -0800 |
| commit | 6b879669e59992497835ef183003fc113f56d93e (patch) | |
| tree | 9013e224bb57de094e384b6dc91b4509bd307f62 /build-aux | |
| parent | 374cdbbea03f6772de8e73841c5ff8975732d73b (diff) | |
| download | bindletools-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.am | 22 |
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 | ||
| 31 | include_HEADERS += include/bindle.h | 31 | include_HEADERS += include/bindle.h |
| 32 | lib_LIBRARIES += lib/libbindle.a | 32 | lib_LIBRARIES += lib/libbindle.a |
| 33 | EXTRA_PROGRAMS += tests/bindle-str-expand \ | ||
| 34 | tests/bindle-str-split | ||
| 35 | TESTS += tests/bindle-str-expand \ | ||
| 36 | tests/bindle-str-split | ||
| 33 | EXTRA_DIST += $(bindletools_srcdir)/build-aux/makefile-libbindle.am | 37 | EXTRA_DIST += $(bindletools_srcdir)/build-aux/makefile-libbindle.am |
| 34 | EXTRA_DIST += $(bindletools_srcdir)/include/bindle.h | 38 | EXTRA_DIST += $(bindletools_srcdir)/include/bindle.h |
| 35 | BUILT_SOURCES += include/bindle_prefix.h | 39 | BUILT_SOURCES += include/bindle_prefix.h |
| @@ -65,6 +69,24 @@ lib_libbindle_a_CFLAGS = $(AM_CFLAGS) | |||
| 65 | lib_libbindle_a_SOURCES = $(libbindle_sources) | 69 | lib_libbindle_a_SOURCES = $(libbindle_sources) |
| 66 | 70 | ||
| 67 | 71 | ||
| 72 | # macros for tests/bindle-str-expand | ||
| 73 | tests_bindle_str_expand_DEPENDENCIES = lib/libbindle.a | ||
| 74 | tests_bindle_str_expand_LDADD = lib/libbindle.a | ||
| 75 | tests_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 | ||
| 82 | tests_bindle_str_split_DEPENDENCIES = lib/libbindle.a | ||
| 83 | tests_bindle_str_split_LDADD = lib/libbindle.a | ||
| 84 | tests_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 | |||
| 68 | libbindle_symbol_list = $(EGREP) \ | 90 | libbindle_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) \ |
