aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/calendar-file/Makefile.am
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/calendar-file/Makefile.am')
-rw-r--r--plugins/calendar-file/Makefile.am13
1 files changed, 8 insertions, 5 deletions
diff --git a/plugins/calendar-file/Makefile.am b/plugins/calendar-file/Makefile.am
index aadb4b5927..bbf8b7dfef 100644
--- a/plugins/calendar-file/Makefile.am
+++ b/plugins/calendar-file/Makefile.am
@@ -1,16 +1,19 @@
-AM_CPPFLAGS = \
- -I$(top_srcdir) \
- $(EVOLUTION_CALENDAR_CFLAGS) \
- $(SOURCE_SEL_CFLAGS)
-
@EVO_PLUGIN_RULE@
plugin_DATA = org-gnome-calendar-file.eplug
+
plugin_LTLIBRARIES = liborg-gnome-calendar-file.la
+liborg_gnome_calendar_file_la_CPPFLAGS = \
+ $(AM_CPPFLAGS) \
+ -I$(top_srcdir) \
+ $(EVOLUTION_CALENDAR_CFLAGS) \
+ $(SOURCE_SEL_CFLAGS)
liborg_gnome_calendar_file_la_SOURCES = calendar-file.c
+
liborg_gnome_calendar_file_la_LDFLAGS = -module -avoid-version $(NO_UNDEFINED)
+
liborg_gnome_calendar_file_la_LIBADD = \
$(EVOLUTION_CALENDAR_LIBS)