aboutsummaryrefslogtreecommitdiff
path: root/lib/gtk-experiment-widgets/Makefile.am
diff options
context:
space:
mode:
authorRobin Haberkorn <robin.haberkorn@googlemail.com>2012-05-12 23:31:27 +0200
committerRobin Haberkorn <robin.haberkorn@googlemail.com>2012-05-12 23:31:27 +0200
commitad79032d86616166cb4b60618577a797a7afb9a5 (patch)
tree02bce9ba6908489a93d6d47f45056e556fcfcc6f /lib/gtk-experiment-widgets/Makefile.am
parentc5a44c82919edb92ffbd59252013f533fe61a2bf (diff)
downloadexperiment-player-ad79032d86616166cb4b60618577a797a7afb9a5.tar.gz
use proper CClosure marshallers for vlc-player and experiment-navigator signals
the ...VOID__LONG standard marshaller used worked for INT64 but this wasn't guaranteed (size of LONG is platform-dependant) * now, required marshallers are generated if they don't already exist in gobject, if they do, only an alias is defined * every widget has its own marshaller namespace * exclude marshallers from Doxygen docs
Diffstat (limited to 'lib/gtk-experiment-widgets/Makefile.am')
-rw-r--r--lib/gtk-experiment-widgets/Makefile.am14
1 files changed, 14 insertions, 0 deletions
diff --git a/lib/gtk-experiment-widgets/Makefile.am b/lib/gtk-experiment-widgets/Makefile.am
index 1ff6564..2e1934e 100644
--- a/lib/gtk-experiment-widgets/Makefile.am
+++ b/lib/gtk-experiment-widgets/Makefile.am
@@ -1,8 +1,11 @@
AM_CFLAGS = -Wall
+BUILT_SOURCES = cclosure-marshallers.c cclosure-marshallers.h
+
lib_LTLIBRARIES = libgtk-experiment-widgets.la
libgtk_experiment_widgets_la_SOURCES = gtk-experiment-navigator.c \
gtk-experiment-navigator.h
+nodist_libgtk_experiment_widgets_la_SOURCES = $(BUILT_SOURCES)
libgtk_experiment_widgets_la_CFLAGS = $(AM_CFLAGS)
libgtk_experiment_widgets_la_CPPFLAGS =
@@ -19,3 +22,14 @@ libgtk_experiment_widgets_la_LIBADD += @top_srcdir@/lib/experiment-reader/libexp
include_HEADERS = gtk-experiment-navigator.h
dist_player_data_DATA = gtk-experiment-widgets-catalog.xml
+
+dist_noinst_DATA = cclosure-marshallers.list
+CLEANFILES = $(BUILT_SOURCES)
+
+MARSHAL_PREFIX = gtk_experiment_navigator_marshal
+
+cclosure-marshallers.c : cclosure-marshallers.list
+ @GLIB_GENMARSHAL@ --prefix $(MARSHAL_PREFIX) --body $< >$@
+
+cclosure-marshallers.h : cclosure-marshallers.list
+ @GLIB_GENMARSHAL@ --prefix $(MARSHAL_PREFIX) --header $< >$@