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