git.annexia.org
/
libguestfs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
848fd70
)
OCaml bindings build using the installed, not built, library.
author
Richard Jones
<rjones@redhat.com>
Mon, 13 Apr 2009 09:27:20 +0000
(10:27 +0100)
committer
Richard Jones
<rjones@redhat.com>
Mon, 13 Apr 2009 09:27:20 +0000
(10:27 +0100)
ocaml/Makefile.am
patch
|
blob
|
history
diff --git
a/ocaml/Makefile.am
b/ocaml/Makefile.am
index
ee42134
..
67f4a15
100644
(file)
--- a/
ocaml/Makefile.am
+++ b/
ocaml/Makefile.am
@@
-22,17
+22,17
@@
EXTRA_DIST = \
SUBDIRS = examples
SUBDIRS = examples
-CLEANFILES = *~
+CLEANFILES = *~
*.cmi *.cmo *.cmx *.cma *.cmxa *.o *.a *.so
if HAVE_OCAML
noinst_DATA = mlguestfs.cma mlguestfs.cmxa META
mlguestfs.cma: guestfs_c.o guestfs_c_actions.o guestfs.cmo
if HAVE_OCAML
noinst_DATA = mlguestfs.cma mlguestfs.cmxa META
mlguestfs.cma: guestfs_c.o guestfs_c_actions.o guestfs.cmo
- $(OCAMLMKLIB) -o mlguestfs $^ -lguestfs
+ $(OCAMLMKLIB) -o mlguestfs $^ -
L$(top_builddir)/src/.libs -
lguestfs
mlguestfs.cmxa: guestfs_c.o guestfs_c_actions.o guestfs.cmx
mlguestfs.cmxa: guestfs_c.o guestfs_c_actions.o guestfs.cmx
- $(OCAMLMKLIB) -o mlguestfs $^ -lguestfs
+ $(OCAMLMKLIB) -o mlguestfs $^ -
L$(top_builddir)/src/.libs -
lguestfs
guestfs_c.o: guestfs_c.c
$(CC) $(CFLAGS) -I$(OCAMLLIB) -I$(top_builddir)/src -fPIC -Wall -c $<
guestfs_c.o: guestfs_c.c
$(CC) $(CFLAGS) -I$(OCAMLLIB) -I$(top_builddir)/src -fPIC -Wall -c $<