X-Git-Url: http://git.annexia.org/?a=blobdiff_plain;f=daemon%2FMakefile.am;h=78049c9f4fa3f096e7fa096628bd0c4f16b1adbf;hb=c21d6dc29c91691f2dcd914d0cc85f060f83289c;hp=ee1959f5830b9a84a48a48d1d0a6654e3bd0b22a;hpb=2066805a5d93b62beaf6653324715f0b62b06a05;p=libguestfs.git diff --git a/daemon/Makefile.am b/daemon/Makefile.am index ee1959f..78049c9 100644 --- a/daemon/Makefile.am +++ b/daemon/Makefile.am @@ -45,13 +45,12 @@ BUILT_SOURCES = \ EXTRA_DIST = $(BUILT_SOURCES) \ .gitignore -# This convenience library is solely to avoid compiler warnings -# in its generated sources. noinst_LIBRARIES = libprotocol.a -libprotocol_a_SOURCES = \ - guestfs_protocol.c \ - guestfs_protocol.h -libprotocol_a_CFLAGS = + +# This convenience library is solely to compile its generated sources with +# custom flags. +libprotocol_a_SOURCES = guestfs_protocol.c guestfs_protocol.h +libprotocol_a_CFLAGS = -Wall -Wno-unused -fno-strict-aliasing guestfs_protocol.c: $(libsrcdir)/guestfs_protocol.c rm -f $@ @@ -89,6 +88,7 @@ errnostring.h: $(libsrcdir)/errnostring.h noinst_PROGRAMS = guestfsd guestfsd_SOURCES = \ + 9p.c \ actions.h \ available.c \ augeas.c \