6d37264e45042bfe1e78e58c9b501719cc14eb86
[livewp] / applet / src / Makefile.am
1 SOURCE_FILES = livewp-main.c \
2                livewp-home-widget.c livewp-home-widget.h \
3                livewp-astro.c livewp-astro.h \
4                livewp-rules.c livewp-rules.h \
5                livewp-settings.c livewp-settings.h livewp-common.h \
6                livewp-config.c livewp-config.h \
7                livewp-dbus.c livewp-dbus.h \
8                livewp-actor.c livewp-actor.h \
9                livewp-scene.c livewp-scene.h
10
11
12 bin_PROGRAMS = livewp
13 livewp_SOURCES = $(SOURCE_FILES)
14 #
15 livewp_CFLAGS = -Wall $(MAEMO_CFLAGS) $(OSSO_CFLAGS) $(SQLITE_CFLAGS) -DAPPLICATION
16 #
17 livewp_LDADD = $(MAEMO_LIBS) $(OSSO_LIBS) $(SQLITE_LIBS) -lgstinterfaces-0.10
18
19 # We invent desktoplib_LTLIBRARIES instead of the normal lib_LTLIBRARIES,
20 # so we can specify the non-standard installation directory.
21 desktoplib_LTLIBRARIES =  liblivewp-home-widget.la
22 desktoplibdir = $(HILDON_DESKTOP_LIB_DIR)
23
24 liblivewp_home_widget_la_SOURCES = livewp-home-widget.c livewp-home-widget.h \
25                                    livewp-astro.c livewp-astro.h \
26                                    livewp-rules.c livewp-rules.h \
27                                    livewp-settings.c livewp-settings.h livewp-common.h \
28                                    livewp-config.c livewp-config.h \
29                                    livewp-dbus.c livewp-dbus.h \
30                                    livewp-actor.c livewp-actor.h \
31                                    livewp-scene.c livewp-scene.h
32 liblivewp_home_widget_la_LIBADD = $(MAEMO_LIBS) $(OSSO_LIBS)  $(SQLITE_LIBS) 
33
34 AM_CFLAGS = -Wall $(MAEMO_CFLAGS) $(OSSO_CFLAGS) $(SQLITE_CFLAGS) 
35
36 panellib_LTLIBRARIES =  liblivewp-panel-widget.la
37 panellibdir = $(HILDON_PANEL_LIB_DIR)
38
39 liblivewp_panel_widget_la_SOURCES = livewp-settings.c livewp-settings.h livewp-common.h \
40                                    livewp-config.c livewp-config.h \
41                                    livewp-control-widget.c livewp-control-widget.h \
42                                    livewp-dbus.c livewp-dbus.h
43 liblivewp_panel_widget_la_LIBADD = $(MAEMO_LIBS) $(OSSO_LIBS) $(CONTROLPANEL_LIBS)   
44
45 liblivewp_panel_widget_la_CFLAGS = -Wall $(MAEMO_CFLAGS) $(OSSO_CFLAGS)  $(CONTROLPANEL_CFLAGS) -DCONTROLPANEL 
46
47