comparison src/daap/xmms2-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 03a2bb1c521e
comparison
equal deleted inserted replaced
2006:a56a26a5f233 2007:57ee341c180f
1 include ../../../mk/rules.mk 1 STATIC_LIB_NOINST = xmms2-daap.a
2 include ../../../mk/init.mk
3 2
4 OBJECTIVE_LIBS_NOINST= xmms2-daap.a 3 SRCS = cc_handlers.c \
4 daap_conn.c \
5 daap_cmd.c \
6 daap_md5.c \
7 daap_util.c \
8 daap_mdns_dnssd.c \
9 daap_mdns_avahi.c \
10 daap_mdns_dummy.c
11 # daap_xform.c
5 12
6 SOURCES= cc_handlers.c \ 13 include ../../../buildsys.mk
7 daap_conn.c \ 14 include ../../../extra.mk
8 daap_cmd.c \
9 daap_md5.c \
10 daap_util.c \
11 daap_mdns_dnssd.c \
12 daap_mdns_avahi.c \
13 daap_mdns_dummy.c
14
15 # daap_xform.c
16 LIBADD = $(GLIB_LIBS)
17 15
18 #For the moment i'm hardcoding it but it will be configurable 16 #For the moment i'm hardcoding it but it will be configurable
19 #MDNS_IMPL=DAAP_MDNS_DNSSD 17 #MDNS_IMPL=DAAP_MDNS_DNSSD
20 MDNS_IMPL=DAAP_MDNS_AVAHI 18 MDNS_IMPL=DAAP_MDNS_AVAHI
21 #MDNS_IMPL=DAAP_MDNS_DUMMY 19 #MDNS_IMPL=DAAP_MDNS_DUMMY
22 20
23 CFLAGS = $(GLIB_CFLAGS) $(PICFLAGS) -std=c99 -Wall -D_POSIX_SOURCE -D$(MDNS_IMPL) 21 WARN = -Wall -std=c99
22 DEFINES = -D$(MDNS_IMPL) -D_POSIX_SOURCE
24 23
25 OBJECTS=${SOURCES:.c=.o} 24 CFLAGS += $(PLUGIN_CFLAGS)
26 25 CPPFLAGS += $(PLUGIN_CPPFLAGS) $(GLIB_CFLAGS) $(PICFLAGS) $(WARN) $(DEFINES)
27 include ../../../mk/objective.mk 26 LIBS += $(GLIB_LIBS)