diff src/scrobbler/Makefile @ 17:cf1054422f81 trunk

[svn] - fix a lot of paths - reduce more makefiles
author nenolod
date Mon, 18 Sep 2006 03:38:44 -0700
parents
children 230d8b49db8b
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/src/scrobbler/Makefile	Mon Sep 18 03:38:44 2006 -0700
@@ -0,0 +1,30 @@
+include ../../mk/rules.mk
+include ../../mk/init.mk
+
+SUBDIRS = 
+
+OBJECTIVE_LIBS = libscrobbler$(SHARED_SUFFIX)
+
+imagesdir = $(pkgdatadir)/images
+
+OBJECTIVE_DATA = audioscrobbler.png:$(imagesdir)	\
+	   audioscrobbler_badge.png:$(imagesdir)
+
+LIBDIR = $(plugindir)/$(GENERAL_PLUGIN_DIR)
+
+LIBADD += $(GTK_LIBS) $(CURL_LIBS) $(MUSICBRAINZ_LIBS)
+
+SOURCES = 			\
+	fmt.c			\
+	configure.c		\
+	gtkstuff.c		\
+	md5.c			\
+	queue.c			\
+	scrobbler.c		\
+	xmms_scrobbler.c
+
+CFLAGS += $(PICFLAGS) $(GTK_CFLAGS) $(BEEP_DEFINES) $(CURL_CFLAGS) -I../../intl -I../..
+
+OBJECTS = ${SOURCES:.c=.o}
+
+include ../../mk/objective.mk