blob: c61c68d4f5eefb9f89511561808d44a794c0074e (
plain)
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
|
EXTRA_DIST += src/modules/weather/module.desktop.in \
src/modules/weather/e-module-weather.edj
if USE_MODULE_WEATHER
weatherdir = $(MDIR)/weather
weather_DATA = src/modules/weather/e-module-weather.edj \
src/modules/weather/module.desktop
weatherpkgdir = $(MDIR)/weather/$(MODULE_ARCH)
weatherpkg_LTLIBRARIES = src/modules/weather/module.la
src_modules_weather_module_la_LIBADD = $(MOD_LIBS)
src_modules_weather_module_la_CPPFLAGS = $(MOD_CPPFLAGS) -DOPENWEATHERMAP_API_KEY=\"@openweathermap_api_key@\"
src_modules_weather_module_la_LDFLAGS = $(MOD_LDFLAGS)
src_modules_weather_module_la_SOURCES = \
src/modules/weather/config.c \
src/modules/weather/mod.c \
src/modules/weather/weather.c \
src/modules/weather/weather.h \
src/modules/weather/plugin.c \
src/modules/weather/plugin.h \
src/modules/weather/plugin_openweathermap.c \
src/modules/weather/plugin_openweathermap.h
PHONIES += weather install-weather
weather: $(weatherpkg_LTLIBRARIES) $(weather_DATA)
install-weather: install-weatherDATA install-weatherpkgLTLIBRARIES
endif
|