summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas E. Dickey <dickey@invisible-island.net>2019-06-18 19:23:24 -0400
committerThomas E. Dickey <dickey@invisible-island.net>2019-06-18 19:23:24 -0400
commit93ffd50ccf04d02fc94565d8ee831c7b63d6d71a (patch)
treeabb9cd2619ff8656dd511409b0dee4295df6d670
parent6abd578a6f761c6c0563d63749bb11f9277b5897 (diff)
add a dependency on makestrs to help with parallel buildslibXt-1.2.0
Signed-off-by: Thomas E. Dickey <dickey@invisible-island.net>
-rw-r--r--configure.ac3
-rw-r--r--src/Makefile.am5
2 files changed, 5 insertions, 3 deletions
diff --git a/configure.ac b/configure.ac
index 54ba668..cc2f623 100644
--- a/configure.ac
+++ b/configure.ac
@@ -23,8 +23,7 @@
# Initialize Autoconf
AC_PREREQ([2.60])
-AC_INIT([libXt],
- [1.2.0],
+AC_INIT([libXt], [1.2.0],
[https://gitlab.freedesktop.org/xorg/lib/libXt/issues], [libXt])
AC_CONFIG_SRCDIR([Makefile.am])
AC_CONFIG_HEADERS([config.h])
diff --git a/src/Makefile.am b/src/Makefile.am
index 7f8ba6d..a26e10d 100644
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -96,10 +96,13 @@ all-local: $(BUILT_FILES)
$(BUILT_HEADER): $(BUILT_SOURCE)
-$(BUILT_SOURCE):
+$(BUILT_SOURCE): $(top_builddir)/util/makestrs$(EXEEXT)
$(AM_V_GEN)$(top_builddir)/util/makestrs -i $(top_srcdir) $(STRINGSABIOPTIONS) < $(STRING_LIST) > StringDefs.c
$(AM_V_at)$(MKDIR_P) $(top_builddir)/src
$(AM_V_at)$(MKDIR_P) $(top_builddir)/include/X11
$(AM_V_at)cp StringDefs.h $(top_builddir)/include/X11
$(AM_V_at)cp Shell.h $(top_builddir)/include/X11
$(AM_V_at)rm StringDefs.h Shell.h
+
+$(top_builddir)/util/makestrs$(EXEEXT) :
+ $(am__cd) $(@D) && $(MAKE) $(AM_MAKEFLAGS) $(@F)