summaryrefslogtreecommitdiff
path: root/guile
diff options
context:
space:
mode:
authorLudovic Courtès <ludo@gnu.org>2012-12-01 00:52:58 +0100
committerLudovic Courtès <ludo@gnu.org>2012-12-01 00:53:22 +0100
commit330995a920037b6030ec0282b51dde3f8b493cad (patch)
tree79995971ff2078756e1aa5317b477599ba1f3b6b /guile
parentd2cb9f4089226e947e652cadfd62fed5e5ef0b64 (diff)
downloadgnutls-330995a920037b6030ec0282b51dde3f8b493cad.tar.gz
guile: Fix dependencies to be parallel-safe.
Diffstat (limited to 'guile')
-rw-r--r--guile/src/Makefile.am13
1 files changed, 9 insertions, 4 deletions
diff --git a/guile/src/Makefile.am b/guile/src/Makefile.am
index f52eee967f..10775027d3 100644
--- a/guile/src/Makefile.am
+++ b/guile/src/Makefile.am
@@ -25,9 +25,14 @@ EXTRA_DIST = \
make-enum-header.scm make-smob-header.scm \
make-session-priorities.scm
-BUILT_SOURCES = enum-map.i.c smob-types.i.c enums.h smobs.h \
- priorities.i.c \
- core.x errors.x
+# Files generated by the (gnutls build ...) modules.
+GENERATED_BINDINGS = \
+ enum-map.i.c smob-types.i.c enums.h smobs.h \
+ priorities.i.c
+
+BUILT_SOURCES = \
+ $(GENERATED_BINDINGS) \
+ core.x errors.x
CLEANFILES = $(BUILT_SOURCES)
@@ -97,7 +102,7 @@ priorities.i.c: $(srcdir)/make-session-priorities.scm
snarfcppopts = $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) \
$(CFLAGS) $(guile_gnutls_v_2_la_CFLAGS)
-.c.x: $(BUILT_SOURCES)
+.c.x: $(GENERATED_BINDINGS)
$(guile_snarf) -o $@ $< $(snarfcppopts)
# Target used by doc/Makefile, to create all built sources necessary