1 # This file is part of Live Wallpaper (livewp)
3 # Copyright (C) 2010 Vlad Vasiliev
4 # Copyright (C) 2010 Tanya Makova
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.
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.
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
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
36 #bin_PROGRAMS = livewp
37 livewp_SOURCES = $(SOURCE_FILES)
39 livewp_CFLAGS = -Wall $(MAEMO_CFLAGS) $(OSSO_CFLAGS) $(SQLITE_CFLAGS) -DAPPLICATION
41 livewp_LDADD = $(MAEMO_LIBS) $(OSSO_LIBS) $(SQLITE_LIBS) -lgstinterfaces-0.10
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)
48 liblivewp_home_widget_la_SOURCES = livewp-home-widget.c livewp-home-widget.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)
54 AM_CFLAGS = -Wall $(MAEMO_CFLAGS) $(OSSO_CFLAGS)
56 panellib_LTLIBRARIES = liblivewp-panel-widget.la
57 panellibdir = $(HILDON_PANEL_LIB_DIR)
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)
66 liblivewp_panel_widget_la_CFLAGS = -Wall $(MAEMO_CFLAGS) $(OSSO_CFLAGS) $(CONTROLPANEL_CFLAGS) -DCONTROLPANEL
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
75 bin_PROGRAMS = fifteen livewp
76 fifteen_SOURCES = $(FIFTEEN_SOURCE_FILES)
78 fifteen_CFLAGS = -Wall $(MAEMO_CFLAGS) $(OSSO_CFLAGS) $(SQLITE_CFLAGS) -DAPPLICATION
80 fifteen_LDADD = $(MAEMO_LIBS) $(OSSO_LIBS) $(SQLITE_LIBS) -lgstinterfaces-0.10