X-Git-Url: http://git.annexia.org/?a=blobdiff_plain;ds=sidebyside;f=src%2FMakefile.am;h=469f6d66cc9e9dfff4b8118c25b6da96314a1f3a;hb=9c75b1554b5121a7d2b24b99badd1333769a9555;hp=9eb71b9aa142c4175df8c800af598af6fcf82987;hpb=5a07cdc35856adfa25b8d0924a8d641b2320aadf;p=libguestfs.git diff --git a/src/Makefile.am b/src/Makefile.am index 9eb71b9..469f6d6 100644 --- a/src/Makefile.am +++ b/src/Makefile.am @@ -19,7 +19,8 @@ EXTRA_DIST = \ 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 @@ -54,9 +55,7 @@ libprotocol_la_SOURCES = \ guestfs_protocol.c \ guestfs_protocol.h -libprotocol_la_CFLAGS = -Wall -Wno-unused - -$(BUILT_SOURCES): stamp-generator +libprotocol_la_CFLAGS = CLEANFILES = guestfs_protocol.c guestfs_protocol.h @@ -109,13 +108,18 @@ libguestfs_la_SOURCES = \ guestfs-actions.h \ guestfs-actions.c \ guestfs-bindtests.c \ + guestfs-internal.h \ gettext.h # Make libguestfs include the convenience library. 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 if HAVE_RPCGEN guestfs_protocol.c: guestfs_protocol.x