summaryrefslogtreecommitdiff
path: root/src/Makefile.am
blob: 8b832958018e84722f42da0c24e989e04b69f90c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
if HAVE_VINAGRE
SUBDIRS = vinagre
endif

AM_CPPFLAGS =			\
	$(ERROR_CFLAGS)		\
	$(SSH_CONTACT_CFLAGS)	\
	$(NULL)

LDADD =				\
	$(SSH_CONTACT_LIBS)	\
	$(NULL)

bin_PROGRAMS = ssh-contact
libexec_PROGRAMS = ssh-contact-service

ssh_contact_SOURCES = \
	client-helpers.c client-helpers.h \
	client.c

ssh_contact_service_SOURCES = \
	service.c

servicefiledir = $(datadir)/dbus-1/services
servicefile_in_files = \
	org.freedesktop.Telepathy.Client.SSHContact.service.in

servicefile_DATA = $(servicefile_in_files:.service.in=.service)

org.freedesktop.Telepathy.Client.SSHContact.service: org.freedesktop.Telepathy.Client.SSHContact.service.in
	$(AM_V_GEN)sed -e "s|[@]libexecdir[@]|$(libexecdir)|" $< > $@

clientfiledir = $(datarootdir)/telepathy/clients
clientfile_DATA = \
	SSHContact.client

EXTRA_DIST = 				\
	$(clientfile_DATA)		\
	$(servicefile_in_files)		\
	$(NULL)

DISTCLEANFILES = 		\
	$(servicefile_DATA)	\
	$(NULL)