summaryrefslogtreecommitdiff
path: root/server/Makefile.am
blob: d24ee20adf1c5ef751ef7fb37e99f31d93c9c384 (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
AM_CPPFLAGS = \
	-I$(top_srcdir) \
	-I$(top_srcdir)/src \
	-I$(top_builddir)/src \
	$(GLIB_CFLAGS) \
	$(TELEPATHY_CFLAGS) \
	-DMC_DISABLE_DEPRECATED \
	-DLIBDIR="@libdir@" -DLIBVERSION="0"

AM_CFLAGS = $(ERROR_CFLAGS)

if HAVE_SERVER

EXTRA_DIST = org.freedesktop.Telepathy.MissionControl5.service.in \
	     org.freedesktop.Telepathy.AccountManager.service.in \
	     mission-control-5.8.in
CLEANFILES = org.freedesktop.Telepathy.MissionControl5.service \
	     org.freedesktop.Telepathy.AccountManager.service \
	     mission-control-5.8

servicefiledir=$(prefix)/share/dbus-1/services
servicefile_DATA=org.freedesktop.Telepathy.MissionControl5.service \
		 org.freedesktop.Telepathy.AccountManager.service

%.service: %.service.in Makefile
	sed -e 's![@]libexecdir[@]!$(libexecdir)!' $< > $@

man8_MANS = mission-control-5.8

%.8: %.8.in Makefile
	sed -e 's![@]libexecdir[@]!$(libexecdir)!' $< > $@

libexec_PROGRAMS = mission-control-5
mission_control_5_SOURCES = mc-server.c
mission_control_5_LDADD = \
	$(GLIB_LIBS) \
	$(TELEPATHY_LIBS) \
	$(top_builddir)/src/libmissioncontrol-server.la

endif