summaryrefslogtreecommitdiff
path: root/src/modules/Makefile_temperature.am
blob: 4100747c606baa419f68cdd00bf11e2a71557c25 (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
temperaturedir = $(MDIR)/temperature
temperature_DATA = temperature/e-module-temperature.edj \
		   temperature/module.desktop

EXTRA_DIST += $(temperature_DATA)

temperaturepkgdir = $(MDIR)/temperature/$(MODULE_ARCH)
temperaturepkg_LTLIBRARIES = temperature/module.la

temperature_module_la_SOURCES  = temperature/e_mod_main.c \
				 temperature/e_mod_main.h \
				 temperature/e_mod_config.c \
				 temperature/e_mod_tempget.c

if HAVE_EEZE
temperature_module_la_SOURCES += temperature/e_mod_udev.c
endif

tempgetdir = $(temperaturepkgdir)
tempget_PROGRAMS = temperature/tempget

temperature_tempget_SOURCES = temperature/tempget.c
temperature_tempget_LDADD   = @TEMPERATURE_LIBS@

.PHONY: temperature install-temperature
temperature: $(temperaturepkg_LTLIBRARIES) $(temperature_DATA) $(tempget_PROGRAMS)
install-temperature: install-temperatureDATA install-temperaturepkgLTLIBRARIES install-tempgetPROGRAMS