Cleanup.
[jamendo] / Makefile.am
1 # Copyright (c) 2007-2008 INdT.
2 # This program is free software: you can redistribute it and/or modify
3 # it under the terms of the GNU Lesser General Public License as published by
4 # the Free Software Foundation, either version 3 of the License, or
5 # (at your option) any later version.
6 #
7 #  This program is distributed in the hope that it will be useful,
8 #  but WITHOUT ANY WARRANTY; without even the implied warranty of
9 #  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
10 #  GNU Lesser General Public License for more details.
11 #
12 #  You should have received a copy of the GNU Lesser General Public License
13 #  along with this program.  If not, see <http://www.gnu.org/licenses/>.
14
15 AUTOMAKE_OPTIONS = foreign
16
17 SUBDIRS = res
18
19 INCLUDES = \
20         $(DEPS_CFLAGS) $(HILDON_CFLAGS) -I/usr/include/libxml2/
21
22 bin_PROGRAMS = jamendo
23
24 jamendo_SOURCES = \
25         src/main.c \
26         src/home_screen.c \
27         src/album_screen.c \
28         src/album_listview.c \
29         src/search_screen.c \
30         src/jamendo_api.c \
31         src/data_structs.c \
32         src/track_listview.c \
33         src/player.c \
34         src/playlist_screen.c \
35         src/radioselector_screen.c \
36         src/http_utils.c \
37         src/resource_utils.c \
38         src/playlistselector_screen.c
39
40 jamendo_CFLAGS = \
41         -DRESPREFIX=\"$(datadir)/jamendo/res\" 
42
43 jamendo_LDADD = \
44         $(DEPS_LIBS) $(HILDON_LIBS)
45
46 desktopdir=$(datadir)/applications/hildon
47 desktop_DATA = jamendo.desktop
48
49 EXTRA_DIST = $(desktop_DATA)