# 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
AM_CFLAGS+='-DDEBUG_TRAP=__asm__("int $$3")'
if HAVE_GTK
+
+
bin_PROGRAMS = \
avahi-discover-standalone
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) \
../avahi-core/libavahi-core.la \
$(GLIB20_LIBS) $(GTK20_LIBS) $(GLADE20_LIBS)
+interfacesdir=${datadir}/${PACKAGE}/interfaces/
interfaces_DATA = $(interfaces)
else
if HAVE_DBUS
# We need this for the python version of avahi-discover
+interfacesdir=${datadir}/${PACKAGE}/interfaces/
interfaces_DATA = $(interfaces)
endif
PKG_CHECK_MODULES(GLADE20, [ libglade-2.0 >= 2.4.0 ])
AC_SUBST(GLADE20_CFLAGS)
AC_SUBST(GLADE20_LIBS)
-
- interfacesdir="${datadir}/${PACKAGE}/interfaces/"
- AC_SUBST(interfacesdir)
fi
AM_CONDITIONAL(HAVE_GTK, test "x$HAVE_GTK" = "xyes")