git.annexia.org
/
libguestfs.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
contrib: Update talk.
[libguestfs.git]
/
generator
/
Makefile.am
diff --git
a/generator/Makefile.am
b/generator/Makefile.am
index
f6dfd6b
..
44c0594
100644
(file)
--- a/
generator/Makefile.am
+++ b/
generator/Makefile.am
@@
-1,5
+1,5
@@
# libguestfs
# libguestfs
-# Copyright (C) 2010 Red Hat Inc.
+# Copyright (C) 2010
-2011
Red Hat Inc.
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
@@
-23,9
+23,12
@@
SOURCES = \
generator_actions.ml \
generator_structs.mli \
generator_structs.ml \
generator_actions.ml \
generator_structs.mli \
generator_structs.ml \
+ generator_api_versions.mli \
+ generator_api_versions.ml \
generator_optgroups.ml \
generator_prepopts.mli \
generator_prepopts.ml \
generator_optgroups.ml \
generator_prepopts.mli \
generator_prepopts.ml \
+ generator_events.ml \
generator_pr.mli \
generator_pr.ml \
generator_docstrings.ml \
generator_pr.mli \
generator_pr.ml \
generator_docstrings.ml \
@@
-43,29
+46,31
@@
SOURCES = \
generator_haskell.ml \
generator_csharp.ml \
generator_php.ml \
generator_haskell.ml \
generator_csharp.ml \
generator_php.ml \
+ generator_erlang.ml \
generator_bindtests.ml \
generator_bindtests.ml \
+ generator_errnostring.ml \
generator_main.ml
SOURCES_ML = $(filter %.ml,$(SOURCES))
OBJECTS = $(SOURCES_ML:.ml=.cmo)
generator_main.ml
SOURCES_ML = $(filter %.ml,$(SOURCES))
OBJECTS = $(SOURCES_ML:.ml=.cmo)
-EXTRA_DIST = $(SOURCES)
+EXTRA_DIST = $(SOURCES)
files-generated.txt
-OCAMLCFLAGS = -
I +xml-light -I +../pkg-lib/xml-light
-OCAMLCLIBS =
xml-light.cma
unix.cma str.cma
+OCAMLCFLAGS = -
warn-error CDEFLMPSUVYZX
+OCAMLCLIBS = unix.cma str.cma
noinst_PROGRAM = generator
if HAVE_OCAML
noinst_PROGRAM = generator
if HAVE_OCAML
-generator: $(OBJECTS)
- $(OCAMLC) -
o generator
$(OCAMLCFLAGS) $(OCAMLCLIBS) $(OBJECTS)
+
$(srcdir)/
generator: $(OBJECTS)
+ $(OCAMLC) -
I $(srcdir) -o $@
$(OCAMLCFLAGS) $(OCAMLCLIBS) $(OBJECTS)
.ml.cmo:
.ml.cmo:
- $(OCAMLC) $(OCAMLCFLAGS) -c $< -o $@
+ $(OCAMLC)
-I $(srcdir)
$(OCAMLCFLAGS) -c $< -o $@
.mli.cmi:
.mli.cmi:
- $(OCAMLC) $(OCAMLCFLAGS) -c $< -o $@
+ $(OCAMLC)
-I $(srcdir)
$(OCAMLCFLAGS) -c $< -o $@
depend: .depend
depend: .depend
@@
-81,7
+86,7
@@
else
# No OCaml compiler. Just replace the generator with a script that
# touches stamp-generator and prints a warning.
# No OCaml compiler. Just replace the generator with a script that
# touches stamp-generator and prints a warning.
-generator: $(SOURCES)
+
$(srcdir)/
generator: $(SOURCES)
rm -f $@ $@-t
echo 'echo Warning: Install OCaml compiler in order to rebuild the generated files.' >> $@-t
echo 'touch generator/stamp-generator' >> $@-t
rm -f $@ $@-t
echo 'echo Warning: Install OCaml compiler in order to rebuild the generated files.' >> $@-t
echo 'touch generator/stamp-generator' >> $@-t