Mercurial > audlegacy-plugins
diff 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 |
line wrap: on
line diff
--- a/src/daap/xmms2-daap/Makefile Wed Oct 10 01:40:13 2007 +0300 +++ b/src/daap/xmms2-daap/Makefile Wed Oct 10 05:21:55 2007 +0300 @@ -1,27 +1,26 @@ -include ../../../mk/rules.mk -include ../../../mk/init.mk - -OBJECTIVE_LIBS_NOINST= xmms2-daap.a +STATIC_LIB_NOINST = xmms2-daap.a -SOURCES= cc_handlers.c \ - daap_conn.c \ - daap_cmd.c \ - daap_md5.c \ - daap_util.c \ - daap_mdns_dnssd.c \ - daap_mdns_avahi.c \ - daap_mdns_dummy.c +SRCS = cc_handlers.c \ + daap_conn.c \ + daap_cmd.c \ + daap_md5.c \ + daap_util.c \ + daap_mdns_dnssd.c \ + daap_mdns_avahi.c \ + daap_mdns_dummy.c +# daap_xform.c -# daap_xform.c -LIBADD = $(GLIB_LIBS) +include ../../../buildsys.mk +include ../../../extra.mk #For the moment i'm hardcoding it but it will be configurable #MDNS_IMPL=DAAP_MDNS_DNSSD MDNS_IMPL=DAAP_MDNS_AVAHI #MDNS_IMPL=DAAP_MDNS_DUMMY -CFLAGS = $(GLIB_CFLAGS) $(PICFLAGS) -std=c99 -Wall -D_POSIX_SOURCE -D$(MDNS_IMPL) +WARN = -Wall -std=c99 +DEFINES = -D$(MDNS_IMPL) -D_POSIX_SOURCE -OBJECTS=${SOURCES:.c=.o} - -include ../../../mk/objective.mk +CFLAGS += $(PLUGIN_CFLAGS) +CPPFLAGS += $(PLUGIN_CPPFLAGS) $(GLIB_CFLAGS) $(PICFLAGS) $(WARN) $(DEFINES) +LIBS += $(GLIB_LIBS)