[farsight2/master] Have fs-rawudp-* use the generic marshaller generator

Olivier Crête olivier.crete at collabora.co.uk
Tue Dec 23 15:25:56 PST 2008


---
 transmitters/rawudp/Makefile.am |   14 +++++---------
 1 files changed, 5 insertions(+), 9 deletions(-)

diff --git a/transmitters/rawudp/Makefile.am b/transmitters/rawudp/Makefile.am
index 373feaf..66b07b9 100644
--- a/transmitters/rawudp/Makefile.am
+++ b/transmitters/rawudp/Makefile.am
@@ -51,12 +51,8 @@ fs-rawudp-marshal.list: $(librawudp_transmitter_la_SOURCES) Makefile.am
 		mv $@.tmp $@; \
 	fi
 
-fs-rawudp-marshal.h: fs-rawudp-marshal.list Makefile
-		glib-genmarshal --header --prefix=_fs_rawudp_marshal $(srcdir)/$< > $@.tmp
-		mv $@.tmp $@
-
-fs-rawudp-marshal.c: fs-rawudp-marshal.list Makefile
-		echo "#include \"glib-object.h\"" >> $@.tmp
-		echo "#include \"fs-rawudp-marshal.h\"" >> $@.tmp
-		glib-genmarshal --body --prefix=_fs_rawudp_marshal $(srcdir)/$< >> $@.tmp
-		mv $@.tmp $@
+glib_enum_define=FS_RAWUDP
+glib_enum_prefix=_fs_rawudp
+
+include $(top_srcdir)/common/glib-gen.mak
+
-- 
1.5.6.5




More information about the farsight-commits mailing list