[PATCH] build: make sure to declare the generated source files as BUILT_SOURCES

Diego Elio Pettenò flameeyes at flameeyes.eu
Fri Jun 15 21:19:12 CEST 2012


This allows proper building when using parallel make on a multi-core
system.

Signed-off-by: Diego Elio Pettenò <flameeyes at flameeyes.eu>
---
 src/Makefile.am |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)

diff --git a/src/Makefile.am b/src/Makefile.am
index 5550f3b..8b3b578 100644
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -150,6 +150,9 @@ libcmd_p11tool_la_LIBADD += ../gl/libgnu.la $(INET_PTON_LIB)
 
 endif # ENABLE_PKCS11
 
+BUILT_SOURCES = ocsptool-args.c p11tool-args.c psk-args.c cli-debug-args.c \
+		cli-args.c serv-args.c srptool-args.c certtool-args.c
+
 ocsptool-args.c: $(srcdir)/args-std.def $(srcdir)/ocsptool-args.def
 	-autogen ocsptool-args.def
 p11tool-args.c: $(srcdir)/args-std.def $(srcdir)/p11tool-args.def
-- 
1.7.8.6





More information about the Gnutls-devel mailing list