aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/calendar-weather/Makefile.am
blob: 0f3daf774be879359c78f52027f3de848a9315f1 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
eds_datadir = `pkg-config --variable=privdatadir evolution-data-server-1.2`

AM_CPPFLAGS =                                   \
    -I$(top_srcdir)                             \
    -I$(top_builddir)/shell                         \
    $(EVOLUTION_CALENDAR_CFLAGS)                        \
    $(SOURCE_SEL_CFLAGS)                            \
    -DWEATHER_DATADIR=\""$(weatherdatadir)"\"               \
    -DWEATHER_EDS_DATADIR=\""$(eds_datadir)/weather"\"          \
    $(LIBGWEATHER_CFLAGS)

@EVO_PLUGIN_RULE@

plugin_DATA = org-gnome-calendar-weather.eplug
plugin_LTLIBRARIES = liborg-gnome-calendar-weather.la

liborg_gnome_calendar_weather_la_SOURCES = calendar-weather.c
liborg_gnome_calendar_weather_la_LDFLAGS = -module -avoid-version $(NO_UNDEFINED)
liborg_gnome_calendar_weather_la_LIBADD =           \
    $(top_builddir)/calendar/gui/libevolution-calendar.la   \
    $(EVOLUTION_CALENDAR_LIBS)              \
    $(LIBGWEATHER_LIBS)

EXTRA_DIST =                    \
    org-gnome-calendar-weather.eplug.xml    \
    $(weatherdata_DATA)

BUILT_SOURCES = $(plugin_DATA)
CLEANFILES = $(BUILT_SOURCES)

-include $(top_srcdir)/git.mk