git.annexia.org
/
libguestfs.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
More misc fixes for non-srcdir builds.
[libguestfs.git]
/
src
/
Makefile.am
diff --git
a/src/Makefile.am
b/src/Makefile.am
index
1c0fa0a
..
292e2ec
100644
(file)
--- a/
src/Makefile.am
+++ b/
src/Makefile.am
@@
-30,8
+30,10
@@
EXTRA_DIST = \
noinst_DATA = stamp-generator
stamp-generator: generator.ml
noinst_DATA = stamp-generator
stamp-generator: generator.ml
- mkdir -p $(top_srcdir)/perl/lib/Sys
- cd .. && ocaml -warn-error A $(srcdir)/src/$<
+ mkdir -p $(top_builddir)/perl/lib/Sys
+ mkdir -p $(top_builddir)/ruby/ext/guestfs
+ mkdir -p $(top_builddir)/java/com/redhat/et/libguestfs
+ cd $(top_builddir) && ocaml -warn-error A ./src/$<
guestfs_protocol.x: stamp-generator
guestfs_protocol.x: stamp-generator
@@
-39,6
+41,17
@@
include_HEADERS = guestfs.h guestfs-actions.h guestfs-structs.h
lib_LTLIBRARIES = libguestfs.la
lib_LTLIBRARIES = libguestfs.la
+BUILT_SOURCES = \
+ guestfs_protocol.x \
+ guestfs_protocol.c \
+ guestfs_protocol.h \
+ guestfs-structs.h \
+ guestfs-actions.h \
+ guestfs-actions.c \
+ guestfs-bindtests.c
+
+$(BUILT_SOURCES): stamp-generator
+
# From the libtool info file, with comments:
#
# | 1. Start with version information of `0:0:0' for each libtool library.
# From the libtool info file, with comments:
#
# | 1. Start with version information of `0:0:0' for each libtool library.
@@
-81,15
+94,6
@@
lib_LTLIBRARIES = libguestfs.la
# Note that this scheme means the real library version will always be
# 'libguestfs.so.0.$(MAX_PROC_NR).0'.
# 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 \
libguestfs_la_LDFLAGS = -version-info $(MAX_PROC_NR):0:$(MAX_PROC_NR)
libguestfs_la_SOURCES = \
guestfs.c \