[libnotify] Fix compile warnings for the C marshal file



commit 5cfe9aaba7279f05b959b5627fd4511587852f7a
Author: Bastien Nocera <hadess hadess net>
Date:   Thu Jun 24 00:00:17 2010 +0100

    Fix compile warnings for the C marshal file
    
    And quiet down the enum and marshal generations

 libnotify/Makefile.am |   10 +++++-----
 1 files changed, 5 insertions(+), 5 deletions(-)
---
diff --git a/libnotify/Makefile.am b/libnotify/Makefile.am
index e1be97a..ca6891c 100644
--- a/libnotify/Makefile.am
+++ b/libnotify/Makefile.am
@@ -37,17 +37,17 @@ libnotify_la_LDFLAGS = \
 	-version-info $(LT_CURRENT):$(LT_REVISION):$(LT_AGE)
 
 notify-marshal.h: notify-marshal.list
-	$(GLIB_GENMARSHAL) --prefix=$(MARSHAL_PREFIX) notify-marshal.list \
+	$(AM_V_GEN) $(GLIB_GENMARSHAL) --prefix=$(MARSHAL_PREFIX) notify-marshal.list \
 		--header > notify-marshal.h
 
 notify-marshal.c: notify-marshal.list
-	$(GLIB_GENMARSHAL) --prefix=$(MARSHAL_PREFIX) notify-marshal.list \
-		--body > notify-marshal.c
+	$(AM_V_GEN) $(GLIB_GENMARSHAL) --prefix=$(MARSHAL_PREFIX) notify-marshal.list \
+		--header --body > notify-marshal.c
 
 $(ENUM_FILE).h: s-enum-types-h
 	@true
 s-enum-types-h: $(notify_headers) Makefile
-	( cd $(srcdir) && glib-mkenums \
+	$(AM_V_GEN) ( cd $(srcdir) && glib-mkenums \
 			--fhead "#ifndef _NOTIFY_ENUM_TYPES_H_\n#define _NOTIFY_ENUM_TYPES_H_\n\n#include <glib-object.h>\n\nG_BEGIN_DECLS\n" \
 			--fprod "/* enumerations from \"@filename \" */\n" \
 			--vhead "GType @enum_name _get_type(void);\n#define NOTIFY_TYPE_ ENUMSHORT@ (@enum_name _get_type())\n"	\
@@ -60,7 +60,7 @@ s-enum-types-h: $(notify_headers) Makefile
 $(ENUM_FILE).c: s-enum-types-c
 	@true
 s-enum-types-c: $(notify_headers) Makefile
-	( cd $(srcdir) && glib-mkenums \
+	$(AM_V_GEN) ( cd $(srcdir) && glib-mkenums \
 			--fhead "#include <libnotify/notify.h>" \
 			--fprod "\n/* enumerations from \"@filename \" */" \
 			--vhead "GType\n enum_name@_get_type (void)\n{\n  static GType etype = 0;\n  if (etype == 0) {\n    static const G Type@Value values[] = {" 	\



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]