summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorJim Meyering <meyering@redhat.com>2009-07-02 13:30:07 +0200
committerJim Meyering <meyering@redhat.com>2009-07-02 14:20:24 +0200
commit11d8dd84d475c89c7fff702e7f7ac5bf57971ac4 (patch)
tree1bcfa952324c1f9f43a9aee40beabf57ce86cc04 /src
parentcf61715fa7f8dcf644bebebfa7f2741d8d79a644 (diff)
downloadlibguestfs-11d8dd84d475c89c7fff702e7f7ac5bf57971ac4.tar.gz
libguestfs-11d8dd84d475c89c7fff702e7f7ac5bf57971ac4.tar.xz
libguestfs-11d8dd84d475c89c7fff702e7f7ac5bf57971ac4.zip
arrange to build some generated sources
* src/Makefile.am (BUILT_SOURCES): Define. ($(BUILT_SOURCES)): Depend on stamp-generator.
Diffstat (limited to 'src')
-rw-r--r--src/Makefile.am9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/Makefile.am b/src/Makefile.am
index eb8723a2..1c0fa0ac 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 \