From 94caef14bac9b8e8dd29b40f38c2429d2a4453f4 Mon Sep 17 00:00:00 2001 From: Nick Bowler Date: Sat, 13 Feb 2021 13:09:27 -0500 Subject: [PATCH] Use fix-gnulib's program integration. Since we aren't building a library, we can use the program mode in fix-gnulib which improves build time somewhat. --- .gitignore | 1 + Makefile.am | 6 +++--- common | 2 +- m4/gnulib-cache.m4 | 3 +-- 4 files changed, 6 insertions(+), 6 deletions(-) diff --git a/.gitignore b/.gitignore index 37cda95..2a5a11d 100644 --- a/.gitignore +++ b/.gitignore @@ -1,3 +1,4 @@ +*.a *.la *.lo *.o diff --git a/Makefile.am b/Makefile.am index 35666c6..85ab589 100644 --- a/Makefile.am +++ b/Makefile.am @@ -6,11 +6,11 @@ ACLOCAL_AMFLAGS = -I m4 -I common/m4 -CLEANFILES = +CLEANFILES = $(EXTRA_LIBRARIES) DISTCLEANFILES = MOSTLYCLEANFILES = MAINTAINERCLEANFILES = -noinst_LTLIBRARIES = +EXTRA_LIBRARIES = EXTRA_DIST = AM_CPPFLAGS = -I$(top_builddir)/lib -I$(top_srcdir)/lib \ @@ -20,7 +20,7 @@ AM_CFLAGS = $(LIBGERBV_CFLAGS) $(CNEARTREE_CFLAGS) bin_PROGRAMS = slotifier slotifier_SOURCES = src/slotifier.c -slotifier_LDADD = $(LIBGERBV_LIBS) $(CNEARTREE_LIBS) libgnu.la \ +slotifier_LDADD = $(LIBGERBV_LIBS) $(CNEARTREE_LIBS) libgnu.a \ $(LTLIBICONV) $(LTLIBINTL) $(HYPOT_LIBM) $(slotifier_OBJECTS): $(gnulib_headers) diff --git a/common b/common index 92a8970..d4be634 160000 --- a/common +++ b/common @@ -1 +1 @@ -Subproject commit 92a89700c65e52fac8c2cace51a7112d60b3f42f +Subproject commit d4be634567f46d2af2dc0e78171f3639f2ff039f diff --git a/m4/gnulib-cache.m4 b/m4/gnulib-cache.m4 index ad7a832..925e6d2 100644 --- a/m4/gnulib-cache.m4 +++ b/m4/gnulib-cache.m4 @@ -36,7 +36,7 @@ # --aux-dir=. \ # --makefile-name=gnulib.mk.in \ # --conditional-dependencies \ -# --libtool \ +# --no-libtool \ # --macro-prefix=gl \ # --no-vc-files \ # getopt-gnu \ @@ -65,7 +65,6 @@ gl_TESTS_BASE([tests]) gl_LIB([libgnu]) gl_MAKEFILE_NAME([gnulib.mk.in]) gl_CONDITIONAL_DEPENDENCIES -gl_LIBTOOL gl_MACRO_PREFIX([gl]) gl_PO_DOMAIN([]) gl_WITNESS_C_MACRO([]) -- 2.43.0