include ../../mk/rules.mk
include ../../mk/init.mk

SUBDIRS = 

OBJECTIVE_LIBS = libscrobbler$(SHARED_SUFFIX)

imagesdir = $(datadir)/audacious/images

OBJECTIVE_DATA = audioscrobbler.png:$(imagesdir)	\
	   audioscrobbler_badge.png:$(imagesdir)

LIBDIR = $(plugindir)/$(GENERAL_PLUGIN_DIR)

LIBADD += $(GTK_LIBS) $(GLIB_LIBS) $(PANGO_LIBS) $(CURL_LIBS) $(MUSICBRAINZ_LIBS)

SOURCES = 			\
	fmt.c			\
	configure.c		\
	gtkstuff.c		\
	md5.c			\
	scrobbler.c		\
	gerpok.c		\
	plugin.c

CFLAGS += $(PICFLAGS) $(GTK_CFLAGS) $(GLIB_CFLAGS) $(PANGO_CFLAGS) $(BEEP_DEFINES) $(CURL_CFLAGS) -I../../intl -I../.. -Wall

OBJECTS = ${SOURCES:.c=.o}

include ../../mk/objective.mk
