3
0
mirror of https://git.kernel.org/pub/scm/network/wireless/iwd.git synced 2024-11-21 22:09:23 +01:00

build: Prepare the systemd configuration option for extensions

This commit is contained in:
Marcel Holtmann 2018-09-14 14:05:35 +02:00
parent 5be8be19a6
commit a053084228
2 changed files with 18 additions and 5 deletions

1
.gitignore vendored
View File

@ -23,6 +23,7 @@ src/iwd.service
client/iwctl
monitor/iwmon
wired/ead
wired/ead.service
tools/hwsim
tools/test-runner
doc/iwmon.1

View File

@ -72,6 +72,14 @@ bin_PROGRAMS =
libexec_PROGRAMS =
noinst_PROGRAMS =
if SYSTEMD_SERVICE
systemd_unitdir = @SYSTEMD_UNITDIR@
systemd_unit_DATA =
dbus_busdir = @DBUS_BUSDIR@
dbus_bus_DATA =
endif
libexec_PROGRAMS += src/iwd
src_iwd_SOURCES = src/main.c linux/nl80211.h \
@ -132,11 +140,8 @@ endif
if SYSTEMD_SERVICE
src_iwd_DEPENDENCIES += src/iwd.service
systemd_unitdir = @SYSTEMD_UNITDIR@
systemd_unit_DATA = src/iwd.service
dbus_busdir = @DBUS_BUSDIR@
dbus_bus_DATA = src/net.connman.iwd.service
systemd_unit_DATA += src/iwd.service
dbus_bus_DATA += src/net.connman.iwd.service
endif
if CLIENT
@ -185,6 +190,13 @@ libexec_PROGRAMS += wired/ead
wired_ead_SOURCES = wired/main.c
wired_ead_LDADD = ell/libell-internal.la
wired_ead_DEPENDENCIES = ell/libell-internal.la
if SYSTEMD_SERVICE
wired_ead_DEPENDENCIES += wired/ead.service
systemd_unit_DATA += wired/ead.service
dbus_bus_DATA += wired/net.connman.ead.service
endif
endif
if TOOLS