diff options
| -rw-r--r-- | Makefile.am | 12 | ||||
| -rw-r--r-- | build-aux/makefile-libbindle.am | 12 |
2 files changed, 12 insertions, 12 deletions
diff --git a/Makefile.am b/Makefile.am index 71d72c2..7c1b09e 100644 --- a/Makefile.am +++ b/Makefile.am | |||
| @@ -130,8 +130,6 @@ if ENABLE_LIBBINDLE | |||
| 130 | include_HEADERS += include/bindle.h | 130 | include_HEADERS += include/bindle.h |
| 131 | lib_LIBRARIES += lib/libbindle.a | 131 | lib_LIBRARIES += lib/libbindle.a |
| 132 | endif | 132 | endif |
| 133 | include_HEADERS += include/bindle.h | ||
| 134 | lib_LIBRARIES += lib/libbindle.a | ||
| 135 | 133 | ||
| 136 | 134 | ||
| 137 | # Makefile includes | 135 | # Makefile includes |
| @@ -142,16 +140,6 @@ include build-aux/makefile-version.am | |||
| 142 | include build-aux/makefile-libbindle.am | 140 | include build-aux/makefile-libbindle.am |
| 143 | 141 | ||
| 144 | 142 | ||
| 145 | # macros for lib/libbindle.a | ||
| 146 | lib_libbindle_a_DEPENDENCIES = Makefile \ | ||
| 147 | config.h \ | ||
| 148 | $(libbindle_sources) | ||
| 149 | lib_libbindle_a_CPPFLAGS = $(AM_CPPFLAGS) \ | ||
| 150 | -I$(srcdir)/lib/libbindle | ||
| 151 | lib_libbindle_a_CFLAGS = $(AM_CFLAGS) | ||
| 152 | lib_libbindle_a_SOURCES = $(libbindle_sources) | ||
| 153 | |||
| 154 | |||
| 155 | # macros for tests/bindle-str-expand | 143 | # macros for tests/bindle-str-expand |
| 156 | tests_bindle_str_expand_DEPENDENCIES = lib/libbindle.a | 144 | tests_bindle_str_expand_DEPENDENCIES = lib/libbindle.a |
| 157 | tests_bindle_str_expand_LDADD = lib/libbindle.a | 145 | tests_bindle_str_expand_LDADD = lib/libbindle.a |
diff --git a/build-aux/makefile-libbindle.am b/build-aux/makefile-libbindle.am index ade9334..eba8790 100644 --- a/build-aux/makefile-libbindle.am +++ b/build-aux/makefile-libbindle.am | |||
| @@ -28,6 +28,8 @@ | |||
| 28 | # SUCH DAMAGE. | 28 | # SUCH DAMAGE. |
| 29 | # | 29 | # |
| 30 | 30 | ||
| 31 | include_HEADERS += include/bindle.h | ||
| 32 | lib_LIBRARIES += lib/libbindle.a | ||
| 31 | EXTRA_DIST += $(bindletools_srcdir)/build-aux/makefile-libbindle.am | 33 | EXTRA_DIST += $(bindletools_srcdir)/build-aux/makefile-libbindle.am |
| 32 | EXTRA_DIST += $(bindletools_srcdir)/include/bindle.h | 34 | EXTRA_DIST += $(bindletools_srcdir)/include/bindle.h |
| 33 | BUILT_SOURCES += include/bindle_prefix.h | 35 | BUILT_SOURCES += include/bindle_prefix.h |
| @@ -53,6 +55,16 @@ libbindle_sources = $(libbindle_files) \ | |||
| 53 | include/bindle_prefix.h | 55 | include/bindle_prefix.h |
| 54 | 56 | ||
| 55 | 57 | ||
| 58 | # macros for lib/libbindle.a | ||
| 59 | lib_libbindle_a_DEPENDENCIES = Makefile \ | ||
| 60 | config.h \ | ||
| 61 | $(libbindle_sources) | ||
| 62 | lib_libbindle_a_CPPFLAGS = $(AM_CPPFLAGS) \ | ||
| 63 | -I$(srcdir)/lib/libbindle | ||
| 64 | lib_libbindle_a_CFLAGS = $(AM_CFLAGS) | ||
| 65 | lib_libbindle_a_SOURCES = $(libbindle_sources) | ||
| 66 | |||
| 67 | |||
| 56 | libbindle_symbol_list = $(EGREP) \ | 68 | libbindle_symbol_list = $(EGREP) \ |
| 57 | '^[[:space:]]{0,1}bindle_[_[:alnum:]]{1,}[\(\;][[:space:]]{0,}$$' \ | 69 | '^[[:space:]]{0,1}bindle_[_[:alnum:]]{1,}[\(\;][[:space:]]{0,}$$' \ |
| 58 | $(libbindle_sources) \ | 70 | $(libbindle_sources) \ |
