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/plugin-mono/Makefile.am | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 modules/plugin-mono/Makefile.am (limited to 'modules/plugin-mono/Makefile.am') diff --git a/modules/plugin-mono/Makefile.am b/modules/plugin-mono/Makefile.am new file mode 100644 index 0000000000..f4f436ae66 --- /dev/null +++ b/modules/plugin-mono/Makefile.am @@ -0,0 +1,22 @@ +AM_CPPFLAGS = \ + -DG_LOG_DOMAIN=\"evolution-plugin-mono\" \ + -I$(top_srcdir) \ + $(E_UTIL_CFLAGS) \ + $(MONO_CFLAGS) + +module_LTLIBRARIES = libevolution-module-plugin-mono.la + +libevolution_module_plugin_mono_la_SOURCES = \ + evolution-module-plugin-mono.c \ + e-plugin-mono.c \ + e-plugin-mono.h + +libevolution_module_plugin_mono_la_LIBADD = \ + $(top_builddir)/e-util/libeutil.la \ + $(E_UTIL_LIBS) \ + $(MONO_LIBS) + +libevolution_module_plugin_mono_la_LDFLAGS = \ + -module -avoid-version $(NO_UNDEFINED) + +-include $(top_srcdir)/git.mk -- cgit