view src/daap/Makefile @ 3085:ac0af6b39272

Introduce new GIO plugin to buildsystem. stdio is now deprecated. Thoughts: - getc()/ungetc() should be moved to VFS core now
author William Pitcock <nenolod@atheme.org>
date Wed, 29 Apr 2009 20:58:36 -0500
parents c42fa8f89616
children
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}  ${INC} ${WARN} ${GCC42_CFLAGS}
LIBS += ${GTK_LIBS} ${GLIB_LIBS}  ${MDNS_LIBS} ./xmms2-daap/xmms2-daap.a