git.annexia.org
/
libguestfs.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Tab to space fixes, now passes 'make syntax-check'
[libguestfs.git]
/
ocaml
/
examples
/
Makefile.am
diff --git
a/ocaml/examples/Makefile.am
b/ocaml/examples/Makefile.am
index
b516647
..
ab058b1
100644
(file)
--- a/
ocaml/examples/Makefile.am
+++ b/
ocaml/examples/Makefile.am
@@
-1,4
+1,8
@@
-EXTRA_DIST = LICENSE README lvs.ml viewer.ml Throbber.png Throbber.gif
+EXTRA_DIST = \
+ LICENSE README \
+ lvs.ml \
+ viewer.ml xmllight_loader.ml xmllight_loader.mli \
+ Throbber.png Throbber.gif
CLEANFILES = throbber.ml *.cmi *.cmo *.cmx *.o lvs
CLEANFILES = throbber.ml *.cmi *.cmo *.cmx *.o lvs
@@
-6,15
+10,18
@@
if HAVE_OCAML
noinst_SCRIPTS = lvs
noinst_SCRIPTS = lvs
+OCAMLFINDFLAGS = -ccopt '-L $(top_builddir)/src/.libs'
+
lvs: lvs.ml
lvs: lvs.ml
- $(OCAMLFIND) ocamlopt -warn-error A -I .. mlguestfs.cmxa $< -o $@
+ $(OCAMLFIND) ocamlopt $(OCAMLFINDFLAGS) \
+ -warn-error A -I .. mlguestfs.cmxa $< -o $@
if BUILD_OCAML_VIEWER
noinst_SCRIPTS += viewer
viewer: throbber.ml xmllight_loader.mli xmllight_loader.ml viewer.ml
if BUILD_OCAML_VIEWER
noinst_SCRIPTS += viewer
viewer: throbber.ml xmllight_loader.mli xmllight_loader.ml viewer.ml
- ocamlducefind opt \
+ ocamlducefind opt
$(OCAMLFINDFLAGS)
\
-warn-error A \
-thread \
-package libvirt,lablgtk2,extlib,xml-light,ocamlduce,threads -I .. \
-warn-error A \
-thread \
-package libvirt,lablgtk2,extlib,xml-light,ocamlduce,threads -I .. \
@@
-30,4
+37,4
@@
throbber.ml: Throbber.png Throbber.gif
endif
endif
-endif
\ No newline at end of file
+endif