summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLudovic Courtès <ludo@gnu.org>2013-09-15 23:30:31 +0200
committerNikos Mavrogiannopoulos <nmav@gnutls.org>2013-09-17 00:18:25 +0200
commit8ac06bcb720ec6bb27b844076c7eebaa86a18ed5 (patch)
tree27f30c66e9d5deb07b832096aa4c293deeb613e9
parentb8683794ffdb8db6c4f27d351db8652332a1d4ad (diff)
downloadgnutls-8ac06bcb720ec6bb27b844076c7eebaa86a18ed5.tar.gz
guile: Make builds parallel-safe.
Reported by Andreas Metzler <ametzler@bebt.de>.
-rw-r--r--guile/src/Makefile.am7
1 files changed, 5 insertions, 2 deletions
diff --git a/guile/src/Makefile.am b/guile/src/Makefile.am
index 10775027d3..28c924f556 100644
--- a/guile/src/Makefile.am
+++ b/guile/src/Makefile.am
@@ -1,5 +1,5 @@
# GnuTLS --- Guile bindings for GnuTLS.
-# Copyright (C) 2007-2012 Free Software Foundation, Inc.
+# Copyright (C) 2007-2013 Free Software Foundation, Inc.
#
# GnuTLS is free software; you can redistribute it and/or
# modify it under the terms of the GNU Lesser General Public
@@ -102,7 +102,10 @@ priorities.i.c: $(srcdir)/make-session-priorities.scm
snarfcppopts = $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) \
$(CFLAGS) $(guile_gnutls_v_2_la_CFLAGS)
-.c.x: $(GENERATED_BINDINGS)
+# Note: we cannot use the portable ".c.x" form, since that leads
+# prerequisites to be ignored:
+# <http://lists.gnutls.org/pipermail/gnutls-devel/2013-September/006453.html>.
+%.x: %.c $(GENERATED_BINDINGS)
$(guile_snarf) -o $@ $< $(snarfcppopts)
# Target used by doc/Makefile, to create all built sources necessary