From 49fa9708d51b907f0a372a1fc68a1e27c9edae5e Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Tue, 30 Dec 2008 16:43:58 +0100 Subject: zeroconf: moved code to zeroconf-avahi.c and zeroconf-bonjour.c Moved implementation specific code to their own sources, internal declarations in zeroconf-internal.h. --- src/Makefile.am | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) (limited to 'src/Makefile.am') diff --git a/src/Makefile.am b/src/Makefile.am index f9fe0b0cf..6a8894cbe 100644 --- a/src/Makefile.am +++ b/src/Makefile.am @@ -79,7 +79,7 @@ mpd_headers = \ utils.h \ volume.h \ ioops.h \ - zeroconf.h \ + zeroconf.h zeroconf-internal.h \ locate.h \ stored_playlist.h \ timer.h \ @@ -256,6 +256,14 @@ endif if HAVE_ZEROCONF mpd_SOURCES += zeroconf.c + +if HAVE_AVAHI +mpd_SOURCES += zeroconf-avahi.c +endif + +if HAVE_BONJOUR +mpd_SOURCES += zeroconf-bonjour.c +endif endif -- cgit v1.2.3