X-Git-Url: http://git.meshlink.io/?a=blobdiff_plain;f=avahi-client%2FMakefile.am;h=2d5a6544a01b73f18742ba9a4c02379397d9ce0a;hb=6bb829340ace002bcf92d94135d2e2d9b9a0cc22;hp=f4f59dcd87ba387f39932846dba39833af6861b9;hpb=64dff8088b43bd2f367f35e18bf02e73c8052dec;p=catta diff --git a/avahi-client/Makefile.am b/avahi-client/Makefile.am index f4f59dc..2d5a654 100644 --- a/avahi-client/Makefile.am +++ b/avahi-client/Makefile.am @@ -17,18 +17,24 @@ # Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 # USA. -AM_CFLAGS=-I$(top_srcdir) -D_GNU_SOURCE +AM_CFLAGS=-I$(top_srcdir) # GLIB 2.0 AM_CFLAGS+=$(GLIB20_CFLAGS) AM_LDADD=$(GLIB20_LIBS) +# DBUS +AM_CFLAGS+=$(DBUS_CFLAGS) +AM_LDADD+=$(DBUS_LIBS) + # This cool debug trap works on i386/gcc only AM_CFLAGS+='-DDEBUG_TRAP=__asm__("int $$3")' +if ENABLE_DBUS + avahi_clientincludedir=$(includedir)/avahi-client -avahi_clientinclude_HEADERS = +avahi_clientinclude_HEADERS = \ client.h noinst_PROGRAMS = \ @@ -44,3 +50,5 @@ client_test_SOURCES = \ client-test.c client_test_CFLAGS = $(AM_CFLAGS) client_test_LDADD = $(AM_LDADD) libavahi-client.la + +endif