32 lines
1.0 KiB
Makefile
32 lines
1.0 KiB
Makefile
libexec_PROGRAMS=tox
|
|
tox_SOURCES=main.c tox.c tox-session.c tox.h tox-session.h \
|
|
$(BUILT_SOURCES)
|
|
|
|
EXTRA_DIST=tox-object.xml tox-session.xml tox-marshal.list
|
|
|
|
BUILT_SOURCES=tox-object-glue.h tox-session-glue.h tox-marshal.c tox-marshal.h
|
|
|
|
tox-object-glue.h : tox-object.xml
|
|
$(DBUS_BINDING_TOOL) --mode=glib-server --output=$@ --prefix=tox $(srcdir)/tox-object.xml
|
|
|
|
tox-session-glue.h : tox-session.xml
|
|
$(DBUS_BINDING_TOOL) --mode=glib-server --output=$@ --prefix=tox_session $(srcdir)/tox-session.xml
|
|
|
|
tox-marshal.c : tox-marshal.list
|
|
$(GLIB_GENMARSHAL) --prefix=tox_marshal $(srcdir)/tox-marshal.list --header --body > $@.tmp
|
|
mv $@.tmp $@
|
|
|
|
tox-marshal.h : tox-marshal.list
|
|
$(GLIB_GENMARSHAL) --prefix=tox_marshal $(srcdir)/tox-marshal.list --header > $@.tmp
|
|
mv $@.tmp $@
|
|
|
|
|
|
dbusservicedir=$(datadir)/dbus-1/services
|
|
dbusservice_DATA=tox.service
|
|
EXTRA_DIST+=tox.service.in
|
|
CLEANFILES=tox.service
|
|
tox.service: tox.service.in config.status
|
|
sed -e "s,@""libexecdir@,$(libexecdir)," $(srcdir)/tox.service.in > $@
|
|
|
|
dist_lisp_LISP=jabber-tox.el
|