added possibilty to configure in Control Panel
[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
9 bin_PROGRAMS = livewp
10 livewp_SOURCES = $(SOURCE_FILES)
11
12 livewp_CFLAGS = -Wall $(EXAMPLE_CFLAGS) $(OSSO_CFLAGS) -DAPPLICATION
13
14 livewp_LDADD = $(EXAMPLE_LIBS) $(OSSO_LIBS)
15
16 # We invent desktoplib_LTLIBRARIES instead of the normal lib_LTLIBRARIES,
17 # so we can specify the non-standard installation directory.
18 desktoplib_LTLIBRARIES =  liblivewp-home-widget.la
19 desktoplibdir = $(HILDON_DESKTOP_LIB_DIR)
20
21 liblivewp_home_widget_la_SOURCES = livewp-home-widget.c livewp-home-widget.h \
22                                    livewp-astro.c livewp-astro.h \
23                                    livewp-rules.c livewp-rules.h \
24                                    livewp-settings.c livewp-settings.h livewp-common.h \
25                                    livewp-config.c livewp-config.h \
26                                    livewp-dbus.c livewp-dbus.h
27 liblivewp_home_widget_la_LIBADD = $(EXAMPLE_LIBS) $(OSSO_LIBS) 
28
29 AM_CFLAGS = -Wall $(EXAMPLE_CFLAGS) $(OSSO_CFLAGS) 
30
31 panellib_LTLIBRARIES =  liblivewp-panel-widget.la
32 panellibdir = $(HILDON_PANEL_LIB_DIR)
33
34 liblivewp_panel_widget_la_SOURCES = livewp-settings.c livewp-settings.h livewp-common.h \
35                                    livewp-config.c livewp-config.h \
36                                    livewp-control-widget.c livewp-control-widget.h \
37                                    livewp-dbus.c livewp-dbus.h
38 liblivewp_panel_widget_la_LIBADD = $(EXAMPLE_LIBS) $(OSSO_LIBS) $(CONTROLPANEL_LIBS) 
39
40 liblivewp_panel_widget_la_CFLAGS = -Wall $(EXAMPLE_CFLAGS) $(OSSO_CFLAGS)  $(CONTROLPANEL_CFLAGS) -DCONTROLPANEL 
41
42