summaryrefslogtreecommitdiff
path: root/src/Makefile.am
blob: 516c1b8b4adc1a24621ec8d3e67cbc247b100185 (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

dbusdir = $(sysconfdir)/dbus-1/system.d

dbus_DATA = connman.conf

sbin_PROGRAMS = connmand

connmand_SOURCES = main.c connman.h log.c manager.c agent.c plugin.c \
				iface.c iface-storage.c iface-helper.c \
						iface-inet.c rtnl.c dhcp.c

connmand_LDADD = @HAL_LIBS@ @GDBUS_LIBS@ @GMODULE_LIBS@
 
statedir = $(localstatedir)/run/connman

storagedir = $(localstatedir)/lib/connman

if MAINTAINER_MODE
plugindir = $(abs_top_srcdir)/plugins
else
plugindir = $(libdir)/connman/plugins
endif

AM_CFLAGS = @GMODULE_CFLAGS@ @GDBUS_CFLAGS@ @HAL_CFLAGS@ \
			-DSTATEDIR=\""$(statedir)"\" \
			-DSTORAGEDIR=\""$(storagedir)\"" \
			-DPLUGINDIR=\""$(plugindir)"\"

INCLUDES = -I$(top_builddir)/include

EXTRA_DIST = $(dbus_DATA)

MAINTAINERCLEANFILES = Makefile.in