mirror of
https://git.kernel.org/pub/scm/network/wireless/iwd.git
synced 2024-11-26 10:39:23 +01:00
build: Prepare the systemd configuration option for extensions
This commit is contained in:
parent
5be8be19a6
commit
a053084228
1
.gitignore
vendored
1
.gitignore
vendored
@ -23,6 +23,7 @@ src/iwd.service
|
|||||||
client/iwctl
|
client/iwctl
|
||||||
monitor/iwmon
|
monitor/iwmon
|
||||||
wired/ead
|
wired/ead
|
||||||
|
wired/ead.service
|
||||||
tools/hwsim
|
tools/hwsim
|
||||||
tools/test-runner
|
tools/test-runner
|
||||||
doc/iwmon.1
|
doc/iwmon.1
|
||||||
|
22
Makefile.am
22
Makefile.am
@ -72,6 +72,14 @@ bin_PROGRAMS =
|
|||||||
libexec_PROGRAMS =
|
libexec_PROGRAMS =
|
||||||
noinst_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
|
libexec_PROGRAMS += src/iwd
|
||||||
|
|
||||||
src_iwd_SOURCES = src/main.c linux/nl80211.h \
|
src_iwd_SOURCES = src/main.c linux/nl80211.h \
|
||||||
@ -132,11 +140,8 @@ endif
|
|||||||
if SYSTEMD_SERVICE
|
if SYSTEMD_SERVICE
|
||||||
src_iwd_DEPENDENCIES += src/iwd.service
|
src_iwd_DEPENDENCIES += src/iwd.service
|
||||||
|
|
||||||
systemd_unitdir = @SYSTEMD_UNITDIR@
|
systemd_unit_DATA += src/iwd.service
|
||||||
systemd_unit_DATA = src/iwd.service
|
dbus_bus_DATA += src/net.connman.iwd.service
|
||||||
|
|
||||||
dbus_busdir = @DBUS_BUSDIR@
|
|
||||||
dbus_bus_DATA = src/net.connman.iwd.service
|
|
||||||
endif
|
endif
|
||||||
|
|
||||||
if CLIENT
|
if CLIENT
|
||||||
@ -185,6 +190,13 @@ libexec_PROGRAMS += wired/ead
|
|||||||
wired_ead_SOURCES = wired/main.c
|
wired_ead_SOURCES = wired/main.c
|
||||||
wired_ead_LDADD = ell/libell-internal.la
|
wired_ead_LDADD = ell/libell-internal.la
|
||||||
wired_ead_DEPENDENCIES = 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
|
endif
|
||||||
|
|
||||||
if TOOLS
|
if TOOLS
|
||||||
|
Loading…
Reference in New Issue
Block a user