X-Git-Url: http://git.meshlink.io/?a=blobdiff_plain;f=avahi-discover-standalone%2FMakefile.am;h=e20797b724b13377cfd0a5b05d1ebf8ed5a44f94;hb=d1d20bb7d1a2ea19e1f62db47ec73baf8300efb8;hp=5b93c42dc5d4794d02e3eba6e55e04decd9194f2;hpb=ad381a9fff751c693c0209e961d59fef0af8e4e2;p=catta diff --git a/avahi-discover-standalone/Makefile.am b/avahi-discover-standalone/Makefile.am index 5b93c42..e20797b 100644 --- a/avahi-discover-standalone/Makefile.am +++ b/avahi-discover-standalone/Makefile.am @@ -17,9 +17,10 @@ # 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")' @@ -33,7 +34,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) \ @@ -46,18 +48,12 @@ interfaces_DATA = $(interfaces) else -if HAVE_PYTHON -if HAVE_DBUS +if HAVE_PYTHON_DBUS -# We need this for the python version of avahi-discover interfaces_DATA = $(interfaces) endif endif -endif - -interfaces = \ - avahi-discover.glade EXTRA_DIST = \ $(interfaces) \