X-Git-Url: http://git.annexia.org/?a=blobdiff_plain;f=src%2FMakefile.am;h=32ac7df39560bd69368d97eb43ed9089b4e6d99d;hb=0108d7861d4cc9a1f0d87d89080d1be7750e54b5;hp=4827e271a92c6e6a4b99b1efe3ec8bdbf4e16461;hpb=e1aca6323e33e0dd50e23dc0d638f5789c9188e4;p=libguestfs.git diff --git a/src/Makefile.am b/src/Makefile.am index 4827e27..32ac7df 100644 --- a/src/Makefile.am +++ b/src/Makefile.am @@ -52,13 +52,10 @@ include_HEADERS = guestfs.h lib_LTLIBRARIES = libguestfs.la -# This convenience library is solely to avoid compiler warnings -# in its generated sources. -libprotocol_la_SOURCES = \ - guestfs_protocol.c \ - guestfs_protocol.h - -libprotocol_la_CFLAGS = +# This convenience library is solely to compile its generated sources with +# custom flags. +libprotocol_la_SOURCES = guestfs_protocol.c guestfs_protocol.h +libprotocol_la_CFLAGS = -Wall -Wno-unused -fno-strict-aliasing # Build the errnostring perfect hash code. The generated code has lots # of warnings so we must compile it in a separate mini-library. @@ -127,10 +124,18 @@ libguestfs_la_SOURCES = \ actions.c \ appliance.c \ bindtests.c \ + dbdump.c \ + events.c \ filearch.c \ inspect.c \ + inspect_apps.c \ + inspect_fs.c \ + inspect_fs_cd.c \ + inspect_fs_unix.c \ + inspect_fs_windows.c \ launch.c \ listfs.c \ + match.c \ proto.c \ virt.c \ libguestfs.syms @@ -186,14 +191,3 @@ stamp-guestfs.pod: guestfs.pod \ --insert guestfs-structs.pod:@STRUCTS@ \ $< touch $@ - -# Check user doesn't try to do 'make all' or 'make check' as root. -# https://www.redhat.com/archives/libguestfs/2010-April/msg00098.html - -all-local: checkroot -check-local: checkroot -checkroot: - @if [ "`id -u`" = 0 ]; then \ - echo "*** Error: Don't run 'make' or 'make check' as root."; \ - exit 1; \ - fi