summaryrefslogtreecommitdiff
path: root/telepathy-glib/codegen.am
diff options
context:
space:
mode:
authorDanielle Madeley <danielle.madeley@collabora.co.uk>2010-05-04 20:53:12 +1000
committerDanielle Madeley <danielle.madeley@collabora.co.uk>2010-05-04 20:53:12 +1000
commit1a8b201ed14c71b99b0169f837103738792ccc60 (patch)
tree871d543581aac20490698486c6eb26a18769625b /telepathy-glib/codegen.am
parent516507d09c392dcd9e981a6ff0193e42389af152 (diff)
parent6ee70b2a582c8b219b816b78fff31f112bf3ea8d (diff)
downloadtelepathy-glib-1a8b201ed14c71b99b0169f837103738792ccc60.tar.gz
Merge branch 'enums'
Diffstat (limited to 'telepathy-glib/codegen.am')
-rw-r--r--telepathy-glib/codegen.am10
1 files changed, 10 insertions, 0 deletions
diff --git a/telepathy-glib/codegen.am b/telepathy-glib/codegen.am
index 7ad46a2f5..b93de6849 100644
--- a/telepathy-glib/codegen.am
+++ b/telepathy-glib/codegen.am
@@ -31,6 +31,7 @@ nodist_geninclude_HEADERS = \
_gen/error-str.h \
_gen/telepathy-enums.h \
_gen/telepathy-interfaces.h \
+ _gen/genums.h \
_gen/gtypes.h \
_gen/tp-cli-account.h \
_gen/tp-cli-account-manager.h \
@@ -66,6 +67,7 @@ nodist_libtelepathy_glib_internal_la_SOURCES = \
_gen/signals-marshal.list \
_gen/tp-signals-marshal.list \
_gen/interfaces-body.h \
+ _gen/genums.c \
_gen/gtypes-body.h \
_gen/register-dbus-glib-marshallers-body.h \
_gen/tp-cli-account-body.h \
@@ -149,6 +151,14 @@ _gen/signals-marshal.c: _gen/signals-marshal.list codegen.am
$(AM_V_GEN){ echo '#include "_gen/signals-marshal.h"' && \
$(GLIB_GENMARSHAL) --body --prefix=_tp_marshal $< ; } > $@
+_gen/genums.c: $(our_headers) genums.c.template codegen.am
+ $(AM_V_GEN)$(GLIB_MKENUMS) --template genums.c.template \
+ $(our_headers) > $@
+
+_gen/genums.h: $(our_headers) genums.h.template codegen.am
+ $(AM_V_GEN)$(GLIB_MKENUMS) --template genums.h.template \
+ $(our_headers) > $@
+
_gen/error-str.h _gen/error-str.c: _gen/stable-spec.xml \
$(tools_dir)/glib-errors-str-gen.py
$(AM_V_GEN)$(PYTHON) $(tools_dir)/glib-errors-str-gen.py \