diff options
| author | David M. Syzdek <david@syzdek.net> | 2022-04-15 06:23:57 -0800 |
|---|---|---|
| committer | David M. Syzdek <david@syzdek.net> | 2022-04-15 06:23:57 -0800 |
| commit | 45ef0344a0c420eb32306b27e696841dea69458c (patch) | |
| tree | e6d8dbb80de4d84c2b44ba9dea45c782e4b3a7f2 /build-aux | |
| parent | 2b7cbd06dc90c741a2a007e2dbe8398d994df18e (diff) | |
| download | bindletools-45ef0344a0c420eb32306b27e696841dea69458c.tar.gz bindletools-45ef0344a0c420eb32306b27e696841dea69458c.tar.bz2 bindletools-45ef0344a0c420eb32306b27e696841dea69458c.tar.xz bindletools-45ef0344a0c420eb32306b27e696841dea69458c.zip | |
libbindle: adding ability to change symbol prefix
Diffstat (limited to 'build-aux')
| -rw-r--r-- | build-aux/makefile-libbindle.am | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/build-aux/makefile-libbindle.am b/build-aux/makefile-libbindle.am index c668bed..785ebbe 100644 --- a/build-aux/makefile-libbindle.am +++ b/build-aux/makefile-libbindle.am | |||
| @@ -33,7 +33,7 @@ EXTRA_DIST += $(bindletools_srcdir)/include/bindle.h | |||
| 33 | BUILT_SOURCES += include/bindle_prefix.h | 33 | BUILT_SOURCES += include/bindle_prefix.h |
| 34 | EXTRA_DIST += include/bindle_prefix.h | 34 | EXTRA_DIST += include/bindle_prefix.h |
| 35 | 35 | ||
| 36 | LIBBINDLE_PREFIX ?= | 36 | LIBBINDLE_PREFIX ?= bindle_ |
| 37 | 37 | ||
| 38 | libbindle_sources = $(srcdir)/$(bindletools_srcdir)/include/bindle.h \ | 38 | libbindle_sources = $(srcdir)/$(bindletools_srcdir)/include/bindle.h \ |
| 39 | include/bindle_prefix.h \ | 39 | include/bindle_prefix.h \ |
| @@ -54,12 +54,12 @@ libbindle_symbol_list = $(EGREP) \ | |||
| 54 | '^[[:space:]]{0,1}bindle_[_[:alnum:]]{1,}[\(\;][[:space:]]{0,}$$' \ | 54 | '^[[:space:]]{0,1}bindle_[_[:alnum:]]{1,}[\(\;][[:space:]]{0,}$$' \ |
| 55 | $(libbindle_sources) \ | 55 | $(libbindle_sources) \ |
| 56 | |cut -d: -f2 \ | 56 | |cut -d: -f2 \ |
| 57 | |$(SED) -e 's/[[:space:]]//g' -e 's/[(;]$$//g' \ | 57 | |$(SED) -e 's/[[:space:]]//g' -e 's/[(;]$$//g' -e 's/^bindle_//g' \ |
| 58 | |sort \ | 58 | |sort \ |
| 59 | |uniq | 59 | |uniq |
| 60 | 60 | ||
| 61 | 61 | ||
| 62 | include/bindle_prefix.h: $(libbindle_sources) | 62 | include/bindle_prefix.h: Makefile $(libbindle_sources) |
| 63 | @if test "x$(V)" == "x0";then \ | 63 | @if test "x$(V)" == "x0";then \ |
| 64 | echo " GEN $(@)"; \ | 64 | echo " GEN $(@)"; \ |
| 65 | else \ | 65 | else \ |
