AM_CFLAGS+='-DDEBUG_TRAP=__asm__("int $$3")'
if HAVE_GOBJECT
+if HAVE_DBUS
avahigobjectincludedir=$(includedir)/avahi-gobject
$(BUILT_SOURCES)
libavahi_gobject_la_CFLAGS = $(AM_CFLAGS) $(GOBJECT_CFLAGS)
-libavahi_gobject_la_LIBADD = $(AM_LDADD) ../avahi-common/libavahi-common.la ../avahi-client/libavahi-client.la ../avahi-glib/libavahi-glib.la $(GOJECT_LIBS)
-libavahi_gobject_la_LDFLAGS = $(AM_LDFLAGS) -export-dynamic -version-info $(LIBAVAHI_GOBJECT_VERSION_INFO)
+libavahi_gobject_la_LIBADD = $(AM_LDADD) ../avahi-common/libavahi-common.la ../avahi-client/libavahi-client.la ../avahi-glib/libavahi-glib.la $(GOBJECT_LIBS)
+libavahi_gobject_la_LDFLAGS = $(AM_LDFLAGS) -version-info $(LIBAVAHI_GOBJECT_VERSION_INFO) -export-symbols-regex '^ga_'
# correctly clean the generated source files
CLEANFILES = $(BUILT_SOURCES)
signals-marshal.list: $(CORE_SOURCES) Makefile.am
( cd $(srcdir) && \
- sed -n -e 's/.*ga_signals_marshal_\([A-Z]*__[A-Z_]*\).*/\1/p' \
+ sed -n -e 's/.*_ga_signals_marshal_\([A-Z]*__[A-Z_]*\).*/\1/p' \
$(CORE_SOURCES) ) \
| sed -e 's/__/:/' -e 'y/_/,/' | sort -u > $@.tmp
if cmp -s $@.tmp $@; then \
fi
signals-marshal.h: signals-marshal.list
- glib-genmarshal --header --prefix=ga_signals_marshal $< > $@
+ glib-genmarshal --header --prefix=_ga_signals_marshal $< > $@
signals-marshal.c: signals-marshal.list
- glib-genmarshal --body --prefix=ga_signals_marshal $< > $@
+ glib-genmarshal --body --prefix=_ga_signals_marshal $< > $@
# rules for making the glib enum objects
$< > $@
endif
+endif
indent:
indent -brf -nbbo -nbc -ip0 -cs -nbfde -npsl -br -brs -bap -i4 -bs -cdw -ce -npcs -hnl -cli4 -nut -ci8 ga-*.[ch]