begun support swf
[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                livewp-flash.c livewp-flash.h
34
35
36
37 #bin_PROGRAMS = livewp
38 livewp_SOURCES = $(SOURCE_FILES)
39 #
40 livewp_CFLAGS = -Wall $(MAEMO_CFLAGS) $(OSSO_CFLAGS) $(SQLITE_CFLAGS) -DAPPLICATION
41 #
42 livewp_LDADD = $(MAEMO_LIBS) $(OSSO_LIBS) $(SQLITE_LIBS) -lgstinterfaces-0.10
43
44 # We invent desktoplib_LTLIBRARIES instead of the normal lib_LTLIBRARIES,
45 # so we can specify the non-standard installation directory.
46 desktoplib_LTLIBRARIES =  liblivewp-home-widget.la
47 desktoplibdir = $(HILDON_DESKTOP_LIB_DIR)
48
49 liblivewp_home_widget_la_SOURCES = livewp-home-widget.c livewp-home-widget.h \
50                                    livewp-common.h \
51                                    livewp-config.c livewp-config.h \
52                                    livewp-dbus.c livewp-dbus.h 
53 liblivewp_home_widget_la_LIBADD = $(MAEMO_LIBS) $(OSSO_LIBS) 
54
55 AM_CFLAGS = -Wall $(MAEMO_CFLAGS) $(OSSO_CFLAGS)  
56
57 panellib_LTLIBRARIES =  liblivewp-panel-widget.la
58 panellibdir = $(HILDON_PANEL_LIB_DIR)
59
60 liblivewp_panel_widget_la_SOURCES = livewp-settings.c livewp-settings.h livewp-common.h \
61                                        livewp-config.c livewp-config.h \
62                                        livewp-exthemes.c livewp-exthemes.h \
63                                    livewp-control-widget.c livewp-control-widget.h \
64                                    livewp-dbus.c livewp-dbus.h
65 liblivewp_panel_widget_la_LIBADD = $(MAEMO_LIBS) $(OSSO_LIBS) $(CONTROLPANEL_LIBS)   
66
67 liblivewp_panel_widget_la_CFLAGS = -Wall $(MAEMO_CFLAGS) $(OSSO_CFLAGS)  $(CONTROLPANEL_CFLAGS) -DCONTROLPANEL 
68
69 FIFTEEN_SOURCE_FILES = fifteen.c livewp-common.h \
70                                         livewp-actor.c livewp-actor.h \
71                                         livewp-astro.c livewp-astro.h \
72                                         livewp-dbus.c livewp-dbus.h \
73                                         livewp-rules.c livewp-rules.h 
74
75
76 bin_PROGRAMS = fifteen livewp
77 fifteen_SOURCES = $(FIFTEEN_SOURCE_FILES)
78 #
79 fifteen_CFLAGS = -Wall $(MAEMO_CFLAGS) $(OSSO_CFLAGS) $(SQLITE_CFLAGS) -DAPPLICATION
80 #
81 fifteen_LDADD = $(MAEMO_LIBS) $(OSSO_LIBS) $(SQLITE_LIBS) -lgstinterfaces-0.10
82