2012-07-18 09:24:21 -04:00
|
|
|
noinst_LIBRARIES = libhexchatdbus.a
|
|
|
|
libhexchatdbus_a_SOURCES = \
|
2011-02-23 22:14:30 -05:00
|
|
|
dbus-plugin.c \
|
|
|
|
dbus-plugin.h \
|
|
|
|
dbus-client.c \
|
|
|
|
dbus-client.h
|
|
|
|
|
|
|
|
EXTRA_DIST = \
|
|
|
|
remote-object.xml \
|
|
|
|
example.py \
|
2014-01-20 02:38:32 -05:00
|
|
|
org.hexchat.service.service.in
|
2011-02-23 22:14:30 -05:00
|
|
|
|
|
|
|
BUILT_SOURCES = \
|
|
|
|
remote-object-glue.h
|
|
|
|
|
|
|
|
CLEANFILES = $(BUILT_SOURCES)
|
|
|
|
|
2014-09-06 10:44:52 -04:00
|
|
|
AM_CPPFLAGS = $(COMMON_CFLAGS) $(DBUS_CFLAGS) -I$(top_srcdir)/src/common
|
2011-02-23 22:14:30 -05:00
|
|
|
|
|
|
|
noinst_PROGRAMS = example
|
2014-02-05 20:42:48 -05:00
|
|
|
example_SOURCES = example.c
|
2011-02-23 22:14:30 -05:00
|
|
|
example_LDADD = $(DBUS_LIBS) $(GLIB_LIBS)
|
|
|
|
|
|
|
|
remote-object-glue.h: remote-object.xml
|
2014-01-14 01:18:15 -05:00
|
|
|
$(AM_V_GEN) $(LIBTOOL) --mode=execute $(DBUS_BINDING_TOOL) --prefix=remote_object --mode=glib-server --output=$@ $<
|
2011-02-23 22:14:30 -05:00
|
|
|
|
|
|
|
# Dbus service file
|
|
|
|
servicedir = $(DBUS_SERVICES_DIR)
|
2012-07-18 09:18:43 -04:00
|
|
|
service_in_files = org.hexchat.service.service.in
|
2011-02-23 22:14:30 -05:00
|
|
|
service_DATA = $(service_in_files:.service.in=.service)
|
|
|
|
|
|
|
|
# Rule to make the service file with bindir expanded
|
|
|
|
$(service_DATA): $(service_in_files) Makefile
|
|
|
|
@sed -e "s|\@bindir\@|$(bindir)|" $< > $@
|
|
|
|
|