aboutsummaryrefslogtreecommitdiffstats
path: root/calendar/cal-util
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
parent65269c688256d025bbd5da06af484dcc536c178d (diff)
downloadgsoc2013-evolution-f4780a969c214e9a5a2c9062ed4b7f57c09174f9.tar
gsoc2013-evolution-f4780a969c214e9a5a2c9062ed4b7f57c09174f9.tar.gz
gsoc2013-evolution-f4780a969c214e9a5a2c9062ed4b7f57c09174f9.tar.bz2
gsoc2013-evolution-f4780a969c214e9a5a2c9062ed4b7f57c09174f9.tar.lz
gsoc2013-evolution-f4780a969c214e9a5a2c9062ed4b7f57c09174f9.tar.xz
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')
-rw-r--r--calendar/cal-util/.cvsignore2
-rw-r--r--calendar/cal-util/Makefile.am18
-rw-r--r--calendar/cal-util/cal-util-marshal.list2
3 files changed, 22 insertions, 0 deletions
diff --git a/calendar/cal-util/.cvsignore b/calendar/cal-util/.cvsignore
index 9f93120f8a..fdcaeeafc5 100644
--- a/calendar/cal-util/.cvsignore
+++ b/calendar/cal-util/.cvsignore
@@ -5,3 +5,5 @@ Makefile
*.lo
*.la
test-recur
+cal-util-marshal.c
+cal-util-marshal.h
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
#
diff --git a/calendar/cal-util/cal-util-marshal.list b/calendar/cal-util/cal-util-marshal.list
new file mode 100644
index 0000000000..cc9097d75d
--- /dev/null
+++ b/calendar/cal-util/cal-util-marshal.list
@@ -0,0 +1,2 @@
+NONE:INT,INT
+NONE:ENUM,ENUM