From 652139e9eeb4e2c50b9d1b71de01721a81a239e6 Mon Sep 17 00:00:00 2001 From: Trent Lloyd Date: Fri, 17 Jun 2005 12:37:47 +0000 Subject: * Split out the dbus stuff in the daemon to a separate file so it can be built conditionally git-svn-id: file:///home/lennart/svn/public/avahi/trunk@118 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe --- avahi-daemon/Makefile.am | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'avahi-daemon/Makefile.am') diff --git a/avahi-daemon/Makefile.am b/avahi-daemon/Makefile.am index 3d01d5b..f90b16d 100644 --- a/avahi-daemon/Makefile.am +++ b/avahi-daemon/Makefile.am @@ -24,14 +24,15 @@ AM_LDADD=-lexpat AM_CFLAGS+=$(GLIB20_CFLAGS) AM_LDADD+=$(GLIB20_LIBS) +if ENABLE_DBUS # DBUS AM_CFLAGS+=$(DBUS_CFLAGS) AM_LDADD+=$(DBUS_LIBS) +endif # This cool debug trap works on i386/gcc only AM_CFLAGS+='-DDEBUG_TRAP=__asm__("int $$3")' -if ENABLE_DBUS bin_PROGRAMS = \ avahi @@ -40,9 +41,12 @@ avahi_SOURCES = \ simple-protocol.c simple-protocol.h \ static-services.c static-services.h +if ENABLE_DBUS +avahi_SOURCES += dbus-protocol.c dbus-protocol.h +endif + avahi_CFLAGS = $(AM_CFLAGS) avahi_LDADD = $(AM_LDADD) ../avahi-core/libavahi-core.la ../avahi-common/libavahi-common.la -endif xmllint: xmllint --noout --valid example.service -- cgit