Bug 596848 - Use per-target CPPFLAGS in automake files

This commit is contained in:
H.Habighorst
2009-09-30 23:37:50 -04:00
committed by Matthew Barnes
parent da3ae4fd5f
commit f62728b55e
82 changed files with 707 additions and 500 deletions

View File

@ -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 \

View File

@ -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