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-python/example/Makefile.am | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100644 modules/plugin-python/example/Makefile.am (limited to 'modules/plugin-python/example/Makefile.am') diff --git a/modules/plugin-python/example/Makefile.am b/modules/plugin-python/example/Makefile.am new file mode 100644 index 0000000000..cc14dc94d9 --- /dev/null +++ b/modules/plugin-python/example/Makefile.am @@ -0,0 +1,29 @@ +AM_CPPFLAGS = \ + -DEVOLUTION_GLADEDIR=\""$(gladedir)"\" \ + -DEVOLUTION_IMAGESDIR=\""$(imagesdir)"\" + +@EVO_PLUGIN_RULE@ + +plugin_DATA = \ + hello_python.py \ + org-gnome-hello-python-ui.xml \ + org-gnome-hello-python.eplug + +liborg_gnome_py_plug_test_la_LDFLAGS = -module -avoid-version $(NO_UNDEFINED) + +errordir = $(privdatadir)/errors + +BUILDME = org-gnome-hello-python.eplug \ +$(error_i18n) + +BUILT_SOURCES = \ + $(BUILDME) + +EXTRA_DIST = \ + hello_python.py \ + org-gnome-hello-python-ui.xml \ + org-gnome-hello-python.eplug.xml + +CLEANFILES = $(BUILT_SOURCES) + +-include $(top_srcdir)/git.mk -- cgit v1.2.3