diff options
author | Matthew Barnes <mbarnes@redhat.com> | 2009-08-29 08:21:54 +0800 |
---|---|---|
committer | Matthew Barnes <mbarnes@redhat.com> | 2009-08-30 05:23:20 +0800 |
commit | 32f545cdf031ebe3718791f18e8fb6b6141fd081 (patch) | |
tree | 980723161c32da855ca91b135318d7fa67dc18c7 /modules/plugin-python/Makefile.am | |
parent | e8382099228d46ebef684c5384bab6ec710283ce (diff) | |
download | gsoc2013-evolution-32f545cdf031ebe3718791f18e8fb6b6141fd081.tar gsoc2013-evolution-32f545cdf031ebe3718791f18e8fb6b6141fd081.tar.gz gsoc2013-evolution-32f545cdf031ebe3718791f18e8fb6b6141fd081.tar.bz2 gsoc2013-evolution-32f545cdf031ebe3718791f18e8fb6b6141fd081.tar.lz gsoc2013-evolution-32f545cdf031ebe3718791f18e8fb6b6141fd081.tar.xz gsoc2013-evolution-32f545cdf031ebe3718791f18e8fb6b6141fd081.tar.zst gsoc2013-evolution-32f545cdf031ebe3718791f18e8fb6b6141fd081.zip |
Simplify EPlugin loading at startup.
- Require all EPlugin and EPluginHook subtypes be registered before
loading plugins. This drastically simplifies the EPlugin/EPluginHook
negotiation.
- Turn most EPluginHook subtypes into GTypeModules and register their
types from an e_module_load() function (does not include shell hooks).
- Convert EPluginLib and the Mono and Python bindings to GTypeModules
and register their types from an e_module_load() function, and kill
EPluginTypeHook.
Diffstat (limited to 'modules/plugin-python/Makefile.am')
-rw-r--r-- | modules/plugin-python/Makefile.am | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/modules/plugin-python/Makefile.am b/modules/plugin-python/Makefile.am new file mode 100644 index 0000000000..e6a32c3c83 --- /dev/null +++ b/modules/plugin-python/Makefile.am @@ -0,0 +1,31 @@ +AM_CPPFLAGS = \ + -DG_LOG_DOMAIN=\"evolution-plugin-python\" \ + -I$(top_srcdir) \ + $(E_UTIL_CFLAGS) \ + $(PY_INCLUDES) + +module_LTLIBRARIES = libevolution-module-plugin-python.la + +libevolution_module_plugin_python_la_SOURCES = \ + evolution-module-plugin-python.c \ + e-plugin-python.c \ + e-plugin-python.h + +libevolution_module_plugin_python_la_LIBADD = \ + -lpthread -ldl -lutil -lm \ + $(top_builddir)/e-util/libeutil.la \ + $(E_UTIL_LIBS) \ + $(PY_LIBS) + +libevolution_module_plugin_python_la_LDFLAGS = \ + -module -avoid-version $(NO_UNDEFINED) + +example_sources = \ + example/hello_python.py \ + example/org-gnome-hello-python-ui.xml \ + example/org-gnome-hello-python.eplug.xml \ + example/Makefile.am + +EXTRA_DIST = $(example_sources) + +-include $(top_srcdir)/git.mk |