From 93ffd50ccf04d02fc94565d8ee831c7b63d6d71a Mon Sep 17 00:00:00 2001 From: "Thomas E. Dickey" Date: Tue, 18 Jun 2019 19:23:24 -0400 Subject: add a dependency on makestrs to help with parallel builds Signed-off-by: Thomas E. Dickey --- configure.ac | 3 +-- src/Makefile.am | 5 ++++- 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) -- cgit v1.2.3