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