We have a confusing array of nearly-identical CFLAGS/LIBS definitions in configure.ac. Time to simplify. Instead let's just have one definition that includes all the libraries provided by Evolution-Data-Server (incl. Camel). That, in combination with GNOME_PLATFORM, gives us most of what we need for compliation and linking, and we can sprinkle definitions for additional library dependencies in Makefile.am's as needed.
23 lines
633 B
Makefile
23 lines
633 B
Makefile
module_LTLIBRARIES = libevolution-module-plugin-lib.la
|
|
|
|
libevolution_module_plugin_lib_la_CPPFLAGS = \
|
|
$(AM_CPPFLAGS) \
|
|
-DG_LOG_DOMAIN=\"evolution-plugin-lib\" \
|
|
-I$(top_srcdir) \
|
|
-DEVOLUTION_PREFIX=\""$(prefix)"\" \
|
|
$(EVOLUTION_DATA_SERVER_CFLAGS)
|
|
|
|
libevolution_module_plugin_lib_la_SOURCES = \
|
|
evolution-module-plugin-lib.c \
|
|
e-plugin-lib.c \
|
|
e-plugin-lib.h
|
|
|
|
libevolution_module_plugin_lib_la_LIBADD = \
|
|
$(top_builddir)/e-util/libeutil.la \
|
|
$(EVOLUTION_DATA_SERVER_LIBS)
|
|
|
|
libevolution_module_plugin_lib_la_LDFLAGS = \
|
|
-module -avoid-version $(NO_UNDEFINED)
|
|
|
|
-include $(top_srcdir)/git.mk
|