diff options
| author | David M. Syzdek <david@syzdek.net> | 2022-04-15 11:38:58 -0800 |
|---|---|---|
| committer | David M. Syzdek <david@syzdek.net> | 2022-04-15 11:38:58 -0800 |
| commit | ded7fa10e6b1639585d256a388f9bc968c08901e (patch) | |
| tree | caa9bb59cb22d496893d7b1bfe4c5cf2ac51f8d5 /build-aux | |
| parent | 1aef0462002bac42c16563e1099b3c3290111298 (diff) | |
| download | bindletools-ded7fa10e6b1639585d256a388f9bc968c08901e.tar.gz bindletools-ded7fa10e6b1639585d256a388f9bc968c08901e.tar.bz2 bindletools-ded7fa10e6b1639585d256a388f9bc968c08901e.tar.xz bindletools-ded7fa10e6b1639585d256a388f9bc968c08901e.zip | |
libbindle: refactoring build rules
Diffstat (limited to 'build-aux')
| -rw-r--r-- | build-aux/makefile-libbindle.am | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/build-aux/makefile-libbindle.am b/build-aux/makefile-libbindle.am index cbf013e..ade9334 100644 --- a/build-aux/makefile-libbindle.am +++ b/build-aux/makefile-libbindle.am | |||
| @@ -49,7 +49,8 @@ libbindle_files = $(srcdir)/$(bindletools_srcdir)/include/bindle.h \ | |||
| 49 | $(srcdir)/$(bindletools_srcdir)/lib/libbindle/lstrings.h \ | 49 | $(srcdir)/$(bindletools_srcdir)/lib/libbindle/lstrings.h \ |
| 50 | $(srcdir)/$(bindletools_srcdir)/lib/libbindle/lutf8.c \ | 50 | $(srcdir)/$(bindletools_srcdir)/lib/libbindle/lutf8.c \ |
| 51 | $(srcdir)/$(bindletools_srcdir)/lib/libbindle/lutf8.h | 51 | $(srcdir)/$(bindletools_srcdir)/lib/libbindle/lutf8.h |
| 52 | libbindle_sources = $(libbindle_files) | 52 | libbindle_sources = $(libbindle_files) \ |
| 53 | include/bindle_prefix.h | ||
| 53 | 54 | ||
| 54 | 55 | ||
| 55 | libbindle_symbol_list = $(EGREP) \ | 56 | libbindle_symbol_list = $(EGREP) \ |
| @@ -69,12 +70,10 @@ include/bindle_prefix.h: Makefile $(libbindle_files) | |||
| 69 | fi; \ | 70 | fi; \ |
| 70 | $(MKDIR_P) "`dirname "$(@)"`" || exit 1; \ | 71 | $(MKDIR_P) "`dirname "$(@)"`" || exit 1; \ |
| 71 | rm -f $(@) || exit 1; \ | 72 | rm -f $(@) || exit 1; \ |
| 72 | touch $(@) || exit 1; \ | ||
| 73 | for FUNC in `$(libbindle_symbol_list)`;do \ | 73 | for FUNC in `$(libbindle_symbol_list)`;do \ |
| 74 | echo "#undef bindle_$$FUNC"; \ | 74 | echo "#undef bindle_$$FUNC"; \ |
| 75 | echo "#define bindle_$$FUNC $(LIBBINDLE_PREFIX)$$FUNC"; \ | 75 | echo "#define bindle_$$FUNC $(LIBBINDLE_PREFIX)$$FUNC"; \ |
| 76 | done > $(@); \ | 76 | done > $(@); \ |
| 77 | cat $(srcdir)/$(bindletools_srcdir)/include/bindle.h >> $(@); \ | ||
| 78 | touch $(@); | 77 | touch $(@); |
| 79 | 78 | ||
| 80 | # end of automake file | 79 | # end of automake file |
