aboutsummaryrefslogtreecommitdiffstats
path: root/calendar/cal-util/Makefile.am
diff options
context:
space:
mode:
authorRodrigo Moya <rodrigo@ximian.com>2002-11-05 00:39:44 +0800
committerRodrigo Moya <rodrigo@src.gnome.org>2002-11-05 00:39:44 +0800
commitf4780a969c214e9a5a2c9062ed4b7f57c09174f9 (patch)
treee98ba2c7997556b2982273e407f104bb28509d9f /calendar/cal-util/Makefile.am
parent65269c688256d025bbd5da06af484dcc536c178d (diff)
downloadgsoc2013-evolution-f4780a969c214e9a5a2c9062ed4b7f57c09174f9.tar.gz
gsoc2013-evolution-f4780a969c214e9a5a2c9062ed4b7f57c09174f9.tar.zst
gsoc2013-evolution-f4780a969c214e9a5a2c9062ed4b7f57c09174f9.zip
added marshallers.
2002-11-04 Rodrigo Moya <rodrigo@ximian.com> * cal-util/Makefile.am: * cal-util/cal-util-marshal.list: added marshallers. * cal-client/cal-client.[ch]: ported to GObject. svn path=/trunk/; revision=18532
Diffstat (limited to 'calendar/cal-util/Makefile.am')
-rw-r--r--calendar/cal-util/Makefile.am18
1 files changed, 18 insertions, 0 deletions
diff --git a/calendar/cal-util/Makefile.am b/calendar/cal-util/Makefile.am
index 40ad034cf8..f54316e258 100644
--- a/calendar/cal-util/Makefile.am
+++ b/calendar/cal-util/Makefile.am
@@ -20,6 +20,8 @@ lib_LTLIBRARIES = libcal-util.la
privlib_LTLIBRARIES = libcal-util-static.la
libcal_util_la_SOURCES = \
+ cal-util-marshal.c \
+ cal-util-marshal.h \
cal-component.c \
cal-recur.c \
cal-util.c \
@@ -33,6 +35,22 @@ libcal_utilinclude_HEADERS = \
cal-util.h \
timeutil.h
+# GLib marshalling cruft
+
+cal-util-marshal.h: cal-util-marshal.list
+ ( @GLIB_GENMARSHAL@ --prefix=cal_util_marshal cal-util-marshal.list --header > cal-util-marshal.tmp \
+ && mv cal-util-marshal.tmp cal-util-marshal.h ) \
+ || ( rm -f cal-util-marshal.tmp && exit 1 )
+
+cal-util-marshal.c: cal-util-marshal.h
+ ( @GLIB_GENMARSHAL@ --prefix=cal_util_marshal cal-util-marshal.list --body > cal-util-marshal.tmp \
+ && mv cal-util-marshal.tmp cal-util-marshal.c ) \
+ || ( rm -f cal-util-marshal.tmp && exit 1 )
+
+MARSHAL_GENERATED = cal-util-marshal.c cal-util-marshal.h
+
+BUILT_SOURCES = $(MARSHAL_GENERATED)
+
#
# static library for use in conduits' shared libraries
#