Initial commit
[jamendo] / Makefile.am
diff --git a/Makefile.am b/Makefile.am
new file mode 100644 (file)
index 0000000..27c60c9
--- /dev/null
@@ -0,0 +1,49 @@
+# Copyright (c) 2007-2008 INdT.
+# This program is free software: you can redistribute it and/or modify
+# it under the terms of the GNU Lesser General Public License as published by
+# the Free Software Foundation, either version 3 of the License, or
+# (at your option) any later version.
+#
+#  This program is distributed in the hope that it will be useful,
+#  but WITHOUT ANY WARRANTY; without even the implied warranty of
+#  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+#  GNU Lesser General Public License for more details.
+#
+#  You should have received a copy of the GNU Lesser General Public License
+#  along with this program.  If not, see <http://www.gnu.org/licenses/>.
+
+AUTOMAKE_OPTIONS = foreign
+
+SUBDIRS = res
+
+INCLUDES = \
+       $(DEPS_CFLAGS) $(HILDON_CFLAGS) -I/usr/include/libxml2/
+
+bin_PROGRAMS = jamendo
+
+jamendo_SOURCES = \
+       src/main.c \
+       src/home_screen.c \
+       src/album_screen.c \
+       src/album_listview.c \
+       src/search_screen.c \
+       src/jamendo_api.c \
+       src/data_structs.c \
+       src/track_listview.c \
+       src/player.c \
+       src/playlist_screen.c \
+       src/radioselector_screen.c \
+       src/http_utils.c \
+       src/resource_utils.c \
+       src/playlistselector_screen.c
+
+jamendo_CFLAGS = \
+       -DRESPREFIX=\"$(datadir)/jamendo/res\" 
+
+jamendo_LDADD = \
+       $(DEPS_LIBS) $(HILDON_LIBS)
+
+desktopdir=$(datadir)/applications/hildon
+desktop_DATA = jamendo.desktop
+
+EXTRA_DIST = $(desktop_DATA)