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
