SOURCE_FILES = livewp-main.c \ livewp-home-widget.c livewp-home-widget.h \ livewp-astro.c livewp-astro.h \ livewp-rules.c livewp-rules.h \ livewp-settings.c livewp-settings.h livewp-common.h \ livewp-config.c livewp-config.h bin_PROGRAMS = livewp livewp_SOURCES = $(SOURCE_FILES) livewp_CFLAGS = -Wall $(EXAMPLE_CFLAGS) livewp_LDADD = $(EXAMPLE_LIBS) # We invent desktoplib_LTLIBRARIES instead of the normal lib_LTLIBRARIES, # so we can specify the non-standard installation directory. desktoplib_LTLIBRARIES = liblivewp-home-widget.la desktoplibdir = $(HILDON_DESKTOP_LIB_DIR) liblivewp_home_widget_la_SOURCES = livewp-main.c \ livewp-home-widget.c livewp-home-widget.h \ livewp-astro.c livewp-astro.h \ livewp-rules.c livewp-rules.h \ livewp-settings.c livewp-settings.h livewp-common.h \ livewp-config.c livewp-config.h liblivewp_home_widget_la_LIBADD = $(EXAMPLE_LIBS) AM_CFLAGS = -Wall $(EXAMPLE_CFLAGS)