2bf589c372debf319264a409577d3bf5d31a7ed1
[livewp] / applet / src / Makefile.am
1  # This file is part of Live Wallpaper (livewp)
2  # 
3  # Copyright (C) 2010 Vlad Vasiliev
4  # Copyright (C) 2010 Tanya Makova
5  #       for the code
6  # 
7  # This software is free software; you can redistribute it and/or
8  # modify it under the terms of the GNU General Public License
9  # as published by the Free Software Foundation; either version 2 of
10  # the License, or (at your option) any later version.
11  # 
12  # This software is distributed in the hope that it will be useful, but
13  # WITHOUT ANY WARRANTY; without even the implied warranty of
14  # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
15  # Lesser General Public License for more details.
16  # 
17  # You should have received a copy of the GNU Lesser General Public
18  # License along with this software; if not, write to the Free Software
19  # Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
20  # 02110-1301 USA
21
22 SOURCE_FILES = livewp-main.c \
23                livewp-home-widget.c livewp-home-widget.h \
24                livewp-astro.c livewp-astro.h \
25                livewp-rules.c livewp-rules.h \
26                livewp-settings.c livewp-settings.h livewp-common.h \
27                livewp-config.c livewp-config.h \
28                livewp-dbus.c livewp-dbus.h \
29                livewp-actor.c livewp-actor.h \
30                livewp-exthemes.c livewp-exthemes.h \
31                livewp-scene.c livewp-scene.h \
32                livewp-conky.c livewp-conky.h
33
34
35
36 #bin_PROGRAMS = livewp
37 livewp_SOURCES = $(SOURCE_FILES)
38 #
39 livewp_CFLAGS = -Wall $(MAEMO_CFLAGS) $(OSSO_CFLAGS) $(SQLITE_CFLAGS) -DAPPLICATION
40 #
41 livewp_LDADD = $(MAEMO_LIBS) $(OSSO_LIBS) $(SQLITE_LIBS) -lgstinterfaces-0.10
42
43 # We invent desktoplib_LTLIBRARIES instead of the normal lib_LTLIBRARIES,
44 # so we can specify the non-standard installation directory.
45 desktoplib_LTLIBRARIES =  liblivewp-home-widget.la
46 desktoplibdir = $(HILDON_DESKTOP_LIB_DIR)
47
48 liblivewp_home_widget_la_SOURCES = livewp-home-widget.c livewp-home-widget.h \
49                                    livewp-common.h \
50                                    livewp-config.c livewp-config.h \
51                                    livewp-dbus.c livewp-dbus.h 
52 liblivewp_home_widget_la_LIBADD = $(MAEMO_LIBS) $(OSSO_LIBS) 
53
54 AM_CFLAGS = -Wall $(MAEMO_CFLAGS) $(OSSO_CFLAGS)  
55
56 panellib_LTLIBRARIES =  liblivewp-panel-widget.la
57 panellibdir = $(HILDON_PANEL_LIB_DIR)
58
59 liblivewp_panel_widget_la_SOURCES = livewp-settings.c livewp-settings.h livewp-common.h \
60                                        livewp-config.c livewp-config.h \
61                                        livewp-exthemes.c livewp-exthemes.h \
62                                    livewp-control-widget.c livewp-control-widget.h \
63                                    livewp-dbus.c livewp-dbus.h
64 liblivewp_panel_widget_la_LIBADD = $(MAEMO_LIBS) $(OSSO_LIBS) $(CONTROLPANEL_LIBS)   
65
66 liblivewp_panel_widget_la_CFLAGS = -Wall $(MAEMO_CFLAGS) $(OSSO_CFLAGS)  $(CONTROLPANEL_CFLAGS) -DCONTROLPANEL 
67
68 FIFTEEN_SOURCE_FILES = fifteen.c livewp-common.h \
69                                         livewp-actor.c livewp-actor.h \
70                                         livewp-astro.c livewp-astro.h \
71                                         livewp-dbus.c livewp-dbus.h \
72                                         livewp-rules.c livewp-rules.h 
73
74
75 bin_PROGRAMS = fifteen livewp
76 fifteen_SOURCES = $(FIFTEEN_SOURCE_FILES)
77 #
78 fifteen_CFLAGS = -Wall $(MAEMO_CFLAGS) $(OSSO_CFLAGS) $(SQLITE_CFLAGS) -DAPPLICATION
79 #
80 fifteen_LDADD = $(MAEMO_LIBS) $(OSSO_LIBS) $(SQLITE_LIBS) -lgstinterfaces-0.10
81