[glib/signal-performance] build: Fix rules for marshalers.[ch]



commit d10f79a1963d169b1613b2163176cdea7b7d4d8d
Author: Emmanuele Bassi <ebassi linux intel com>
Date:   Fri Mar 2 17:06:36 2012 +0000

    build: Fix rules for marshalers.[ch]

 gobject/tests/.gitignore  |    1 +
 gobject/tests/Makefile.am |   11 +++++++----
 2 files changed, 8 insertions(+), 4 deletions(-)
---
diff --git a/gobject/tests/.gitignore b/gobject/tests/.gitignore
index 51a844d..20751f6 100644
--- a/gobject/tests/.gitignore
+++ b/gobject/tests/.gitignore
@@ -9,3 +9,4 @@ reference
 signals
 threadtests
 valuearray
+marshalers.[ch]
diff --git a/gobject/tests/Makefile.am b/gobject/tests/Makefile.am
index 6663a2d..dec840d 100644
--- a/gobject/tests/Makefile.am
+++ b/gobject/tests/Makefile.am
@@ -18,14 +18,17 @@ TEST_PROGS += 		\
 	ifaceproperties	\
 	valuearray
 
-signals_SOURCES=signals.c marshalers.c
+signals_SOURCES = signals.c marshalers.c
 
-marshalers.h: marshalers.list
+marshalers.h: Makefile.am marshalers.list
 	$(AM_V_GEN) ../glib-genmarshal --prefix=test $(srcdir)/marshalers.list --header --valist-marshallers > marshalers.h
 
-marshalers.c: marshalers.list
+marshalers.c: Makefile.am marshalers.list
 	$(AM_V_GEN) ../glib-genmarshal --prefix=test $(srcdir)/marshalers.list --body --valist-marshallers > marshalers.c
 
+BUILT_SOURCES = marshalers.h marshalers.c
+CLEANFILES = marshalers.h marshalers.c
+
 ifaceproperties_SOURCES = ifaceproperties.c testcommon.h
 
-EXTRA_DIST = marshalers.list
+EXTRA_DIST += marshalers.list



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