git.annexia.org
/
libguestfs.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
use STREQ, not strcmp: part 1
[libguestfs.git]
/
src
/
Makefile.am
diff --git
a/src/Makefile.am
b/src/Makefile.am
index
8d03a77
..
4fb466d
100644
(file)
--- a/
src/Makefile.am
+++ b/
src/Makefile.am
@@
-19,7
+19,8
@@
EXTRA_DIST = \
guestfs_protocol.x \
MAX_PROC_NR \
stamp-generator \
guestfs_protocol.x \
MAX_PROC_NR \
stamp-generator \
- generator.ml
+ generator.ml \
+ guestfs-internal-actions.h
# Rerun the generator if it has changed.
# Git removes empty directories, so in cases where the
# Rerun the generator if it has changed.
# Git removes empty directories, so in cases where the
@@
-33,8
+34,6
@@
stamp-generator: generator.ml
mkdir -p $(top_srcdir)/java/com/redhat/et/libguestfs
cd $(top_srcdir) && ocaml -warn-error A src/generator.ml
mkdir -p $(top_srcdir)/java/com/redhat/et/libguestfs
cd $(top_srcdir) && ocaml -warn-error A src/generator.ml
-guestfs_protocol.x: stamp-generator
-
include_HEADERS = guestfs.h guestfs-actions.h guestfs-structs.h
lib_LTLIBRARIES = libguestfs.la
include_HEADERS = guestfs.h guestfs-actions.h guestfs-structs.h
lib_LTLIBRARIES = libguestfs.la
@@
-56,8
+55,6
@@
libprotocol_la_SOURCES = \
libprotocol_la_CFLAGS =
libprotocol_la_CFLAGS =
-$(BUILT_SOURCES): stamp-generator
-
CLEANFILES = guestfs_protocol.c guestfs_protocol.h
# From the libtool info file, with comments:
CLEANFILES = guestfs_protocol.c guestfs_protocol.h
# From the libtool info file, with comments:
@@
-115,7
+112,9
@@
libguestfs_la_SOURCES = \
noinst_LTLIBRARIES = libprotocol.la
libguestfs_la_LIBADD = libprotocol.la
noinst_LTLIBRARIES = libprotocol.la
libguestfs_la_LIBADD = libprotocol.la
-libguestfs_la_CFLAGS = -Wall -DGUESTFS_DEFAULT_PATH='"$(libdir)/guestfs"'
+libguestfs_la_CFLAGS = \
+ -DGUESTFS_DEFAULT_PATH='"$(libdir)/guestfs"' \
+ $(WARN_CFLAGS) $(WERROR_CFLAGS)
libguestfs_la_CPPFLAGS = -I$(top_srcdir)/gnulib/lib
libguestfs_la_CPPFLAGS = -I$(top_srcdir)/gnulib/lib