ASSEMBLY = Banshee.AmazonMp3
TARGET = exe
LINK = $(REF_EXTENSION_AMAZONMP3)
INSTALL_DIR = $(EXTENSIONS_INSTALL_DIR)

SOURCES =  \
	Banshee.AmazonMp3/AmazonDownloadManager.cs \
	Banshee.AmazonMp3/AmazonMp3DownloaderService.cs \
	Banshee.AmazonMp3/AmzMp3Downloader.cs \
	Banshee.AmazonMp3/AmzXspfPlaylist.cs \
	Banshee.AmazonMp3/ConsoleTool.cs \
	Banshee.AmazonMp3/ImportSource.cs

RESOURCES = Banshee.AmazonMp3.addin.xml

bamzdir = $(bindir)
bamz_SCRIPTS = bamz

mimedir = $(datadir)/mime/packages
mime_DATA = banshee-amz.xml

bamz: bamz.in
	@echo '  GEN   $@'; sed 's,@bansheedir@,$(pkglibdir),g' < $< > $@

include $(top_srcdir)/build/build.mk

CLEANFILES += bamz
EXTRA_DIST += bamz.in banshee-amz.xml
