+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 \
+ livewp-dbus.c livewp-dbus.h \
+ livewp-actor.c livewp-actor.h \
+ livewp-exthemes.c livewp-exthemes.h \
+ livewp-scene.c livewp-scene.h
+
+
+bin_PROGRAMS = livewp
+livewp_SOURCES = $(SOURCE_FILES)
+#
+livewp_CFLAGS = -Wall $(MAEMO_CFLAGS) $(OSSO_CFLAGS) $(SQLITE_CFLAGS) -DAPPLICATION
+#
+livewp_LDADD = $(MAEMO_LIBS) $(OSSO_LIBS) $(SQLITE_LIBS) -lgstinterfaces-0.10
+
# 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-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-multiactor.c livewp-multiactor.h
+ livewp-common.h \
+ livewp-config.c livewp-config.h \
+ livewp-dbus.c livewp-dbus.h
+liblivewp_home_widget_la_LIBADD = $(MAEMO_LIBS) $(OSSO_LIBS)
+
+AM_CFLAGS = -Wall $(MAEMO_CFLAGS) $(OSSO_CFLAGS)
+
+panellib_LTLIBRARIES = liblivewp-panel-widget.la
+panellibdir = $(HILDON_PANEL_LIB_DIR)
+
+liblivewp_panel_widget_la_SOURCES = livewp-settings.c livewp-settings.h livewp-common.h \
+ livewp-config.c livewp-config.h \
+ livewp-exthemes.c livewp-exthemes.h \
+ livewp-control-widget.c livewp-control-widget.h \
+ livewp-dbus.c livewp-dbus.h
+liblivewp_panel_widget_la_LIBADD = $(MAEMO_LIBS) $(OSSO_LIBS) $(CONTROLPANEL_LIBS)
-liblivewp_home_widget_la_LIBADD = $(EXAMPLE_LIBS)
+liblivewp_panel_widget_la_CFLAGS = -Wall $(MAEMO_CFLAGS) $(OSSO_CFLAGS) $(CONTROLPANEL_CFLAGS) -DCONTROLPANEL
-AM_CFLAGS = -Wall $(EXAMPLE_CFLAGS)