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.
34 lines
898 B
Makefile
34 lines
898 B
Makefile
module_LTLIBRARIES = libevolution-module-offline-alert.la
|
|
|
|
libevolution_module_offline_alert_la_CPPFLAGS = \
|
|
$(AM_CPPFLAGS) \
|
|
-I$(top_srcdir) \
|
|
-I$(top_srcdir)/widgets \
|
|
-DG_LOG_DOMAIN=\"evolution-offline-alert\" \
|
|
$(EVOLUTION_DATA_SERVER_CFLAGS) \
|
|
$(GNOME_PLATFORM_CFLAGS)
|
|
|
|
libevolution_module_offline_alert_la_SOURCES = \
|
|
evolution-offline-alert.c
|
|
|
|
libevolution_module_offline_alert_la_LIBADD = \
|
|
$(top_builddir)/e-util/libeutil.la \
|
|
$(top_builddir)/shell/libeshell.la \
|
|
$(EVOLUTION_DATA_SERVER_LIBS) \
|
|
$(GNOME_PLATFORM_LIBS)
|
|
|
|
libevolution_module_offline_alert_la_LDFLAGS = \
|
|
-module -avoid-version $(NO_UNDEFINED)
|
|
|
|
error_DATA = evolution-offline-alert.error
|
|
errordir = $(privdatadir)/errors
|
|
@EVO_PLUGIN_RULE@
|
|
|
|
BUILT_SOURCES = $(error_DATA)
|
|
|
|
CLEANFILES = $(BUILT_SOURCES)
|
|
|
|
EXTRA_DIST = evolution-offline-alert.error.xml
|
|
|
|
-include $(top_srcdir)/git.mk
|