From 32f545cdf031ebe3718791f18e8fb6b6141fd081 Mon Sep 17 00:00:00 2001 From: Matthew Barnes Date: Fri, 28 Aug 2009 20:21:54 -0400 Subject: 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. --- modules/Makefile.am | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) (limited to 'modules/Makefile.am') diff --git a/modules/Makefile.am b/modules/Makefile.am index 5030d2aeb6..f792a4d9ee 100644 --- a/modules/Makefile.am +++ b/modules/Makefile.am @@ -1,3 +1,11 @@ -SUBDIRS = addressbook calendar mail +if ENABLE_MONO +MONO_DIR = plugin-mono +endif + +if ENABLE_PYTHON +PYTHON_DIR = plugin-python +endif + +SUBDIRS = addressbook calendar mail plugin-lib $(MONO_DIR) $(PYTHON_DIR) -include $(top_srcdir)/git.mk -- cgit