diff options
author | H.Habighorst <h.habighorst@googlemail.com> | 2009-10-01 11:37:50 +0800 |
---|---|---|
committer | Matthew Barnes <mbarnes@redhat.com> | 2009-10-01 11:37:50 +0800 |
commit | f62728b55e201ea92e682e07b3253ce4fb42d5af (patch) | |
tree | 2083db9702cd5068e7fc4471c47086071e366015 /modules/plugin-python | |
parent | da3ae4fd5fa723abc4574d0459c761e76abba080 (diff) | |
download | gsoc2013-evolution-f62728b55e201ea92e682e07b3253ce4fb42d5af.tar.gz gsoc2013-evolution-f62728b55e201ea92e682e07b3253ce4fb42d5af.tar.zst gsoc2013-evolution-f62728b55e201ea92e682e07b3253ce4fb42d5af.zip |
Bug 596848 - Use per-target CPPFLAGS in automake files
Diffstat (limited to 'modules/plugin-python')
-rw-r--r-- | modules/plugin-python/Makefile.am | 7 | ||||
-rw-r--r-- | modules/plugin-python/example/Makefile.am | 9 |
2 files changed, 9 insertions, 7 deletions
diff --git a/modules/plugin-python/Makefile.am b/modules/plugin-python/Makefile.am index e6a32c3c83..4aaf14a7b2 100644 --- a/modules/plugin-python/Makefile.am +++ b/modules/plugin-python/Makefile.am @@ -1,11 +1,12 @@ -AM_CPPFLAGS = \ +module_LTLIBRARIES = libevolution-module-plugin-python.la + +libevolution_module_plugin_python_la_CPPFLAGS = \ + $(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 \ diff --git a/modules/plugin-python/example/Makefile.am b/modules/plugin-python/example/Makefile.am index cc14dc94d9..57a18ec93d 100644 --- a/modules/plugin-python/example/Makefile.am +++ b/modules/plugin-python/example/Makefile.am @@ -1,7 +1,3 @@ -AM_CPPFLAGS = \ - -DEVOLUTION_GLADEDIR=\""$(gladedir)"\" \ - -DEVOLUTION_IMAGESDIR=\""$(imagesdir)"\" - @EVO_PLUGIN_RULE@ plugin_DATA = \ @@ -9,6 +5,11 @@ plugin_DATA = \ org-gnome-hello-python-ui.xml \ org-gnome-hello-python.eplug +liborg_gnome_py_plug_test_la_CPPFLAGS = \ + $(AM_CPPFLAGS) \ + -DEVOLUTION_GLADEDIR=\""$(gladedir)"\" \ + -DEVOLUTION_IMAGESDIR=\""$(imagesdir)"\" + liborg_gnome_py_plug_test_la_LDFLAGS = -module -avoid-version $(NO_UNDEFINED) errordir = $(privdatadir)/errors |