summaryrefslogtreecommitdiff
path: root/src/Makefile.am
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 /src/Makefile.am
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>
Diffstat (limited to 'src/Makefile.am')
-rw-r--r--src/Makefile.am5
1 files changed, 4 insertions, 1 deletions
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)