arrange to build some generated sources
authorJim Meyering <meyering@redhat.com>
Thu, 2 Jul 2009 11:30:07 +0000 (13:30 +0200)
committerJim Meyering <meyering@redhat.com>
Thu, 2 Jul 2009 12:20:24 +0000 (14:20 +0200)
* src/Makefile.am (BUILT_SOURCES): Define.
($(BUILT_SOURCES)): Depend on stamp-generator.

src/Makefile.am

index eb8723a..1c0fa0a 100644 (file)
@@ -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 \