view src/scrobbler/Makefile @ 94:230d8b49db8b trunk

[svn] - do not use a different DATA_DIR for audacious-plugins
author giacomo
date Mon, 16 Oct 2006 11:40:44 -0700
parents cf1054422f81
children 03c1ae10bc8d
line wrap: on
line source

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) $(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