aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/calendar-weather/Makefile.am
blob: ef4e0a0b7bf3359e4ce08f2a3c7574c1a6368409 (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
32
33
eds_datadir = `pkg-config --variable=privdatadir evolution-data-server-1.2`

INCLUDES =                                  \
    -I$(top_srcdir)/shell                           \
    $(EVOLUTION_CFLAGS)                         \
    $(EVOLUTION_CALENDAR_CFLAGS)                        \
    $(SOURCE_SEL_CFLAGS)                            \
    -DWEATHER_DATADIR=\""$(datadir)/evolution-$(BASE_VERSION)/weather"\"    \
    -DWEATHER_EDS_DATADIR=\""$(eds_datadir)/weather"\"

@EVO_PLUGIN_RULE@

# These will actually install into the e-d-s share directory, but
# if the plugin is disabled, we aren't going to be needing them.
weatherdatadir = $(datadir)/evolution-$(BASE_VERSION)/weather
weatherdata_DATA = \
    category_weather_cloudy_16.png      \
    category_weather_fog_16.png     \
    category_weather_partly_cloudy_16.png   \
    category_weather_rain_16.png        \
    category_weather_snow_16.png        \
    category_weather_sun_16.png     \
    category_weather_tstorm_16.png

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

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