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 | |
| 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
| -rw-r--r-- | build-aux/makefile-libbindle.am | 6 | ||||
| -rw-r--r-- | configure.ac | 2 |
2 files changed, 4 insertions, 4 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 \ |
diff --git a/configure.ac b/configure.ac index 0e8fe79..a6f0009 100644 --- a/configure.ac +++ b/configure.ac | |||
| @@ -166,7 +166,7 @@ AC_BINDLE_GIT_PACKAGE_VERSION([build-aux/git-package-version.sh]) | |||
| 166 | 166 | ||
| 167 | # custom configure options | 167 | # custom configure options |
| 168 | AC_BINDLE_ENABLE_WARNINGS([-Wno-unknown-pragmas -Wno-missing-format-attribute -Wno-poison-system-directories], [], [c11]) | 168 | AC_BINDLE_ENABLE_WARNINGS([-Wno-unknown-pragmas -Wno-missing-format-attribute -Wno-poison-system-directories], [], [c11]) |
| 169 | AC_BINDLE_LIBBINDLE([]) | 169 | AC_BINDLE_LIBBINDLE([bindle_]) |
| 170 | AC_BINDLETOOLS_LIBBINDLE | 170 | AC_BINDLETOOLS_LIBBINDLE |
| 171 | 171 | ||
| 172 | # Creates outputs | 172 | # Creates outputs |
