diff options
author | Havoc Pennington <hp@redhat.com> | 2004-12-22 04:37:26 (GMT) |
---|---|---|
committer | Havoc Pennington <hp@src.gnome.org> | 2004-12-22 04:37:26 (GMT) |
commit | 9317aeb2e299d6fdf18dbf22b6a4707e4d149dd5 (patch) | |
tree | 2142865df37b806af582578476d6820f9a891b04 /backend/Makefile.am | |
parent | 5a7fb79a9faa64e7b877b16a220999945b54a128 (diff) |
add marshaler-generator thingy. I'm sure there's a better way to do this
2004-12-21 Havoc Pennington <hp@redhat.com>
* backend/ev-backend-marshal.c,
backend/ev-backend-marshalers.list, backend/Makefile.am: add
marshaler-generator thingy. I'm sure there's a better way to do
this in the modern world.
* backend/ev-document.h (struct _EvDocumentIface): add begin_find,
end_find methods and "found" signal.
* configure.ac: find glib-genmarshal
Diffstat (limited to 'backend/Makefile.am')
-rw-r--r-- | backend/Makefile.am | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/backend/Makefile.am b/backend/Makefile.am index cc0acf4..c163aa0 100644 --- a/backend/Makefile.am +++ b/backend/Makefile.am @@ -10,6 +10,27 @@ INCLUDES= \ noinst_LTLIBRARIES = libevbackend.la libevbackend_la_SOURCES= \ + ev-backend-marshal.c \ ev-document.c \ ev-document.h \ $(NULL) + +ev-backend-marshalers.h: ev-backend-marshalers.list + cd $(srcdir) \ + && $(GLIB_GENMARSHAL) --prefix=_ev_backend_marshal ev-backend-marshalers.list --header > xgen-emh \ + && cp xgen-emh ev-backend-marshalers.h \ + && rm -f xgen-emh xgen-emh~ + +ev-backend-marshalers.c: ev-backend-marshalers.list + cd $(srcdir) \ + && $(GLIB_GENMARSHAL) --prefix=_ev_backend_marshal ev-backend-marshalers.list --body > xgen-emc \ + && cp xgen-emc ev-backend-marshalers.c \ + && rm -f xgen-emc xgen-emc~ + +ev-backend-marshal.c: ev-backend-marshalers.h ev-backend-marshalers.c + +noinst_HEADERS = \ + ev-backend-marshalers.h + +EXTRA_DIST= \ + ev-backend-marshalers.list |