view src/daap/Makefile @ 2007:57ee341c180f

Converted daap to the new buildsys. Even though it is not built currently. (???)
author Eugene Paskevich <eugene@raptor.kiev.ua>
date Wed, 10 Oct 2007 05:21:55 +0300
parents 69bff388b0f8
children 6d33dffd1382
line wrap: on
line source

PLUGIN = libdaap$(PLUGIN_SUFFIX)

SRCS = daap.c

SUBDIRS = xmms2-daap

include ../../buildsys.mk
include ../../extra.mk

plugindir := $(plugindir)/$(TRANSPORT_PLUGIN_DIR)

#For the moment i'm hardcoding it but it will be configurable
#MDNS_LIBS=-ldns_sd
MDNS_LIBS=-lavahi-glib -lavahi-common -lavahi-client
#MDNS_LIBS= 

INC = -I../.. -I./xmms2-daap
WARN = -Wall -pedantic -std=c99 

CFLAGS += $(PLUGIN_CFLAGS)
CPPFLAGS += $(PLUGIN_CPPFLAGS) $(MOWGLI_CFLAGS) $(PICFLAGS) $(GTK_CFLAGS) $(GLIB_CFLAGS) $(PANGO_CFLAGS) $(INC) $(WARN) $(GCC42_CFLAGS)
LIBS += $(GTK_LIBS) $(GLIB_LIBS) $(PANGO_LIBS) $(MDNS_LIBS) ./xmms2-daap/xmms2-daap.a