aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
authorDavid M. Syzdek <david@syzdek.net>2022-04-15 06:23:57 -0800
committerDavid M. Syzdek <david@syzdek.net>2022-04-15 06:23:57 -0800
commit45ef0344a0c420eb32306b27e696841dea69458c (patch)
treee6d8dbb80de4d84c2b44ba9dea45c782e4b3a7f2
parent2b7cbd06dc90c741a2a007e2dbe8398d994df18e (diff)
downloadbindletools-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.am6
-rw-r--r--configure.ac2
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
33BUILT_SOURCES += include/bindle_prefix.h 33BUILT_SOURCES += include/bindle_prefix.h
34EXTRA_DIST += include/bindle_prefix.h 34EXTRA_DIST += include/bindle_prefix.h
35 35
36LIBBINDLE_PREFIX ?= 36LIBBINDLE_PREFIX ?= bindle_
37 37
38libbindle_sources = $(srcdir)/$(bindletools_srcdir)/include/bindle.h \ 38libbindle_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
62include/bindle_prefix.h: $(libbindle_sources) 62include/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
168AC_BINDLE_ENABLE_WARNINGS([-Wno-unknown-pragmas -Wno-missing-format-attribute -Wno-poison-system-directories], [], [c11]) 168AC_BINDLE_ENABLE_WARNINGS([-Wno-unknown-pragmas -Wno-missing-format-attribute -Wno-poison-system-directories], [], [c11])
169AC_BINDLE_LIBBINDLE([]) 169AC_BINDLE_LIBBINDLE([bindle_])
170AC_BINDLETOOLS_LIBBINDLE 170AC_BINDLETOOLS_LIBBINDLE
171 171
172# Creates outputs 172# Creates outputs