build: add missing gnulib libs

Reported by Denis Excoffier.

* lib/local.mk, src/local.mk: here.
This commit is contained in:
Akim Demaille
2018-10-19 16:10:49 +02:00
parent 83a832618d
commit d2192653db
3 changed files with 21 additions and 14 deletions

1
THANKS
View File

@@ -42,6 +42,7 @@ David J. MacKenzie djm@gnu.org
David Kastrup dak@gnu.org David Kastrup dak@gnu.org
David Michael fedora.dm0@gmail.com David Michael fedora.dm0@gmail.com
Dengke Du dengke.du@windriver.com Dengke Du dengke.du@windriver.com
Denis Excoffier gcc@Denis-Excoffier.org
Dennis Clarke dclarke@blastwave.org Dennis Clarke dclarke@blastwave.org
Derek Clegg derek@me.com Derek Clegg derek@me.com
Derek M. Jones derek@knosof.co.uk Derek M. Jones derek@knosof.co.uk

View File

@@ -46,9 +46,18 @@ lib_libbison_a_SOURCES += \
lib/path-join.h \ lib/path-join.h \
lib/path-join.c lib/path-join.c
lib_libbison_a_LIBADD += \
$(ISNAND_LIBM) \
$(ISNANF_LIBM) \
$(ISNANL_LIBM) \
$(LDEXPL_LIBM) \
$(LDEXP_LIBM) \
$(LIB_CLOCK_GETTIME) \
$(LIB_GETHRXTIME)
# The Yacc compatibility library. # The Yacc compatibility library.
if ENABLE_YACC if ENABLE_YACC
lib_LIBRARIES = lib/liby.a lib_LIBRARIES = lib/liby.a
EXTRA_LIBRARIES = lib/liby.a EXTRA_LIBRARIES = lib/liby.a
lib_liby_a_SOURCES = lib/main.c lib/yyerror.c lib_liby_a_SOURCES = lib/main.c lib/yyerror.c
endif endif

View File

@@ -13,16 +13,6 @@
# You should have received a copy of the GNU General Public License # You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>. # along with this program. If not, see <http://www.gnu.org/licenses/>.
LDADD = \
$(ISNAND_LIBM) \
$(ISNANF_LIBM) \
$(ISNANL_LIBM) \
$(LDEXPL_LIBM) \
$(LDEXP_LIBM) \
$(LIBINTL) \
$(LIBTHREAD) \
lib/libbison.a
bin_PROGRAMS = src/bison bin_PROGRAMS = src/bison
# Prettify Automake-computed names of compiled objects. # Prettify Automake-computed names of compiled objects.
src_bison_SHORTNAME = bison src_bison_SHORTNAME = bison
@@ -114,13 +104,20 @@ BUILT_SOURCES += \
src/scan-gram.c \ src/scan-gram.c \
src/scan-skel.c src/scan-skel.c
src_bison_LDADD = \
$(LIBINTL) \
$(LIBTHREAD) \
lib/libbison.a
## ------ ## ## ------ ##
## yacc. ## ## yacc. ##
## ------ ## ## ------ ##
if ENABLE_YACC if ENABLE_YACC
bin_SCRIPTS = src/yacc bin_SCRIPTS = src/yacc
endif endif
EXTRA_SCRIPTS = src/yacc EXTRA_SCRIPTS = src/yacc
MOSTLYCLEANFILES += src/yacc MOSTLYCLEANFILES += src/yacc