From 11d8dd84d475c89c7fff702e7f7ac5bf57971ac4 Mon Sep 17 00:00:00 2001 From: Jim Meyering Date: Thu, 2 Jul 2009 13:30:07 +0200 Subject: [PATCH] arrange to build some generated sources * src/Makefile.am (BUILT_SOURCES): Define. ($(BUILT_SOURCES)): Depend on stamp-generator. --- src/Makefile.am | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/src/Makefile.am b/src/Makefile.am index eb8723a..1c0fa0a 100644 --- a/src/Makefile.am +++ b/src/Makefile.am @@ -81,6 +81,15 @@ lib_LTLIBRARIES = libguestfs.la # Note that this scheme means the real library version will always be # 'libguestfs.so.0.$(MAX_PROC_NR).0'. +BUILT_SOURCES = \ + guestfs_protocol.x \ + guestfs-structs.h \ + guestfs-actions.h \ + guestfs-actions.c \ + guestfs-bindtests.c + +$(BUILT_SOURCES): stamp-generator + libguestfs_la_LDFLAGS = -version-info $(MAX_PROC_NR):0:$(MAX_PROC_NR) libguestfs_la_SOURCES = \ guestfs.c \ -- 1.8.3.1