X-Git-Url: http://git.meshlink.io/?a=blobdiff_plain;f=avahi-discover-standalone%2FMakefile.am;h=ca007be22d959d70e65d79af0e338a7bf5f3b0df;hb=c7ecad8fa467b8be2b34064020e2c541c480645e;hp=7145e0f7ba6723ff7bddae49fbd940f5c5de957a;hpb=f1167112d926b189fe189599576e8588923f036c;p=catta diff --git a/avahi-discover-standalone/Makefile.am b/avahi-discover-standalone/Makefile.am index 7145e0f..ca007be 100644 --- a/avahi-discover-standalone/Makefile.am +++ b/avahi-discover-standalone/Makefile.am @@ -17,14 +17,16 @@ # Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 # USA. -AM_CFLAGS=\ - -I$(top_srcdir) \ - -DAVAHI_INTERFACES_DIR=\"$(interfacesdir)\" +AM_CFLAGS=-I$(top_srcdir) + +interfaces = \ + avahi-discover.glade # This cool debug trap works on i386/gcc only AM_CFLAGS+='-DDEBUG_TRAP=__asm__("int $$3")' if HAVE_GTK +if HAVE_GLIB bin_PROGRAMS = \ avahi-discover-standalone @@ -33,7 +35,8 @@ avahi_discover_standalone_SOURCES = \ avahi_discover_standalone_CFLAGS = \ $(AM_CFLAGS) \ - $(GLIB20_CFLAGS) $(GTK20_CFLAGS) $(GLADE20_CFLAGS) + $(GLIB20_CFLAGS) $(GTK20_CFLAGS) $(GLADE20_CFLAGS)\ + -DAVAHI_INTERFACES_DIR=\"$(interfacesdir)\" avahi_discover_standalone_LDADD = \ $(AM_LDADD) \ @@ -42,12 +45,18 @@ avahi_discover_standalone_LDADD = \ ../avahi-core/libavahi-core.la \ $(GLIB20_LIBS) $(GTK20_LIBS) $(GLADE20_LIBS) -interfaces = \ - avahi-discover.glade +interfaces_DATA = $(interfaces) + +endif # HAVE_GLIB +else + +if HAVE_PYTHON_DBUS interfaces_DATA = $(interfaces) +endif +endif + EXTRA_DIST = \ $(interfaces) \ avahi-discover.gladep -endif