2 tox_SOURCES=main.c tox.c tox-session.c tox.h tox-session.h \
5 EXTRA_DIST=tox-object.xml tox-session.xml tox-marshal.list
7 BUILT_SOURCES=tox-object-glue.h tox-session-glue.h tox-marshal.c tox-marshal.h
9 tox-object-glue.h : tox-object.xml
10 $(DBUS_BINDING_TOOL) --mode=glib-server --output=$@ --prefix=tox $(srcdir)/tox-object.xml
12 tox-session-glue.h : tox-session.xml
13 $(DBUS_BINDING_TOOL) --mode=glib-server --output=$@ --prefix=tox_session $(srcdir)/tox-session.xml
15 tox-marshal.c : tox-marshal.list
16 $(GLIB_GENMARSHAL) --prefix=tox_marshal $(srcdir)/tox-marshal.list --header --body > $@.tmp
19 tox-marshal.h : tox-marshal.list
20 $(GLIB_GENMARSHAL) --prefix=tox_marshal $(srcdir)/tox-marshal.list --header > $@.tmp
24 dbusservicedir=$(datadir)/dbus-1/services
25 dbusservice_DATA=tox.service
26 EXTRA_DIST+=tox.service.in
27 CLEANFILES=tox.service
28 tox.service: tox.service.in config.status
29 sed -e "s,@""libexecdir@,$(libexecdir)," $(srcdir)/tox.service.in > $@
31 dist_lisp_LISP=jabber-tox.el