diff options
author | Daniel P. Berrange <berrange@redhat.com> | 2010-08-12 17:03:58 -0400 |
---|---|---|
committer | Daniel P. Berrange <berrange@redhat.com> | 2010-08-25 13:45:28 +0100 |
commit | 92ce24a7371bf7e8582e88752b5728458d67c653 (patch) | |
tree | 63cf5d026ddd6db8c503b7752c48ae136fcbf1b9 /Makefile.am | |
parent | 605824715b405c796ffce4f92b6151a406cb195e (diff) | |
download | libosinfo-92ce24a7371bf7e8582e88752b5728458d67c653.tar.gz |
Add decl for all _get_type() methods & enable warnings
Eliminate compile warnings about undeclared XXX_get_type()
methods, by adding declarations for all objects.
Switch to using standard GNOME m4 magic for compile
warnings. Force enablement of automake maintainer
mode, so that Makefile is re-generated if Makefile.am
ever changes. Enable silent build rules so that compile
warnings can be more easily spotted.
* Makefile.am: Whitespace tweak
* configure.ac: Remove -Wall, -Werror. Add
GNOME_COMPILE_WARNINGS, GNOME_MAINTAINER_MODE_DEFINES,
AM_MAINTAINER_MODE, AM_SILENT_RULES
* osinfo/*.h: Add XXX_get_type() declarations for all
objects
* osinfo/Makefile.am: Add $(WARN_CFLAGS) to build
Diffstat (limited to 'Makefile.am')
-rw-r--r-- | Makefile.am | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Makefile.am b/Makefile.am index 1a271c6..8a8548e 100644 --- a/Makefile.am +++ b/Makefile.am @@ -1,7 +1,8 @@ SUBDIRS = osinfo test -EXTRA_DIST = \ +EXTRA_DIST = \ data/libosinfo-dummy-data.xml +ACLOCAL_AMFLAGS = -I m4 |