2014-04-26 02:57:48 +02:00
|
|
|
|
|
|
|
AM_MAKEFLAGS = --no-print-directory
|
|
|
|
|
2014-04-28 01:12:54 +02:00
|
|
|
ACLOCAL_AMFLAGS = -I build-aux
|
|
|
|
|
2017-11-22 23:34:35 +01:00
|
|
|
builtin_modules =
|
|
|
|
builtin_sources =
|
|
|
|
|
2018-10-18 20:31:29 +02:00
|
|
|
if EXTERNAL_ELL
|
|
|
|
ell_cflags = @ELL_CFLAGS@
|
|
|
|
ell_ldadd = @ELL_LIBS@
|
|
|
|
ell_dependencies =
|
2021-03-11 21:52:12 +01:00
|
|
|
ell_built_sources = ell/shared
|
2018-10-18 20:31:29 +02:00
|
|
|
else
|
|
|
|
ell_cflags =
|
|
|
|
ell_ldadd = ell/libell-internal.la
|
|
|
|
ell_dependencies = $(ell_ldadd)
|
2021-03-11 21:52:12 +01:00
|
|
|
ell_built_sources = ell/shared ell/internal ell/ell.h
|
2018-10-18 20:31:29 +02:00
|
|
|
|
2014-04-28 01:12:54 +02:00
|
|
|
noinst_LTLIBRARIES = ell/libell-internal.la
|
|
|
|
|
2018-10-30 20:54:16 +01:00
|
|
|
ell_headers = ell/util.h \
|
|
|
|
ell/test.h \
|
|
|
|
ell/strv.h \
|
|
|
|
ell/utf8.h \
|
|
|
|
ell/queue.h \
|
|
|
|
ell/hashmap.h \
|
|
|
|
ell/string.h \
|
|
|
|
ell/settings.h \
|
|
|
|
ell/main.h \
|
|
|
|
ell/idle.h \
|
|
|
|
ell/signal.h \
|
|
|
|
ell/timeout.h \
|
|
|
|
ell/io.h \
|
|
|
|
ell/ringbuf.h \
|
|
|
|
ell/log.h \
|
|
|
|
ell/checksum.h \
|
|
|
|
ell/netlink.h \
|
|
|
|
ell/genl.h \
|
|
|
|
ell/dbus.h \
|
2020-02-15 10:48:41 +01:00
|
|
|
ell/rtnl.h \
|
2018-10-30 20:54:16 +01:00
|
|
|
ell/dbus-service.h \
|
|
|
|
ell/dbus-client.h \
|
|
|
|
ell/hwdb.h \
|
|
|
|
ell/cipher.h \
|
|
|
|
ell/random.h \
|
|
|
|
ell/uintset.h \
|
|
|
|
ell/base64.h \
|
|
|
|
ell/pem.h \
|
|
|
|
ell/tls.h \
|
|
|
|
ell/uuid.h \
|
|
|
|
ell/key.h \
|
|
|
|
ell/file.h \
|
|
|
|
ell/dir.h \
|
|
|
|
ell/net.h \
|
2018-11-20 00:10:30 +01:00
|
|
|
ell/dhcp.h \
|
2018-12-12 01:25:31 +01:00
|
|
|
ell/cert.h \
|
|
|
|
ell/ecc.h \
|
2019-01-24 00:28:38 +01:00
|
|
|
ell/ecdh.h \
|
2019-08-07 17:46:04 +02:00
|
|
|
ell/time.h \
|
2020-10-30 21:38:56 +01:00
|
|
|
ell/path.h \
|
|
|
|
ell/icmp6.h \
|
2020-12-10 18:45:17 +01:00
|
|
|
ell/dhcp6.h \
|
2021-10-14 23:54:42 +02:00
|
|
|
ell/acd.h \
|
2022-08-29 19:35:54 +02:00
|
|
|
ell/cleanup.h \
|
2023-07-18 05:51:50 +02:00
|
|
|
ell/netconfig.h \
|
|
|
|
ell/sysctl.h
|
2018-10-30 20:54:16 +01:00
|
|
|
|
|
|
|
ell_sources = ell/private.h \
|
|
|
|
ell/missing.h \
|
|
|
|
ell/util.c \
|
|
|
|
ell/test.c \
|
|
|
|
ell/strv.c \
|
|
|
|
ell/utf8.c \
|
|
|
|
ell/queue.c \
|
|
|
|
ell/hashmap.c \
|
|
|
|
ell/string.c \
|
|
|
|
ell/settings.c \
|
2021-03-10 20:41:06 +01:00
|
|
|
ell/main-private.h \
|
2018-10-30 20:54:16 +01:00
|
|
|
ell/main.c \
|
|
|
|
ell/idle.c \
|
|
|
|
ell/signal.c \
|
|
|
|
ell/timeout.c \
|
|
|
|
ell/io.c \
|
|
|
|
ell/ringbuf.c \
|
|
|
|
ell/log.c \
|
|
|
|
ell/checksum.c \
|
2014-06-20 11:51:38 +02:00
|
|
|
ell/netlink-private.h \
|
2018-10-30 20:54:16 +01:00
|
|
|
ell/netlink.c \
|
|
|
|
ell/genl.c \
|
2022-05-19 16:50:59 +02:00
|
|
|
ell/rtnl-private.h \
|
2020-02-15 10:48:41 +01:00
|
|
|
ell/rtnl.c \
|
2014-04-28 01:12:54 +02:00
|
|
|
ell/dbus-private.h \
|
2018-10-30 20:54:16 +01:00
|
|
|
ell/dbus.c \
|
2014-05-21 06:52:35 +02:00
|
|
|
ell/dbus-message.c \
|
2018-10-30 20:54:16 +01:00
|
|
|
ell/dbus-util.c \
|
|
|
|
ell/dbus-service.c \
|
|
|
|
ell/dbus-client.c \
|
2016-04-26 18:41:55 +02:00
|
|
|
ell/dbus-name-cache.c \
|
2018-10-30 20:54:16 +01:00
|
|
|
ell/dbus-filter.c \
|
2014-05-12 21:07:42 +02:00
|
|
|
ell/gvariant-private.h \
|
2014-08-15 21:04:04 +02:00
|
|
|
ell/gvariant-util.c \
|
|
|
|
ell/siphash-private.h \
|
2014-08-16 00:55:26 +02:00
|
|
|
ell/siphash.c \
|
2018-10-30 20:54:16 +01:00
|
|
|
ell/hwdb.c \
|
|
|
|
ell/cipher.c \
|
|
|
|
ell/random.c \
|
|
|
|
ell/uintset.c \
|
|
|
|
ell/base64.c \
|
|
|
|
ell/asn1-private.h \
|
|
|
|
ell/pem.c \
|
2019-10-04 19:13:19 +02:00
|
|
|
ell/pem-private.h \
|
2015-08-11 04:59:16 +02:00
|
|
|
ell/tls-private.h \
|
2018-10-30 20:54:16 +01:00
|
|
|
ell/tls.c \
|
2015-09-01 04:31:48 +02:00
|
|
|
ell/tls-record.c \
|
2019-01-05 21:24:29 +01:00
|
|
|
ell/tls-suites.c \
|
|
|
|
ell/tls-extensions.c \
|
2018-10-30 20:54:16 +01:00
|
|
|
ell/uuid.c \
|
|
|
|
ell/key.c \
|
|
|
|
ell/file.c \
|
|
|
|
ell/dir.c \
|
2020-09-29 20:08:43 +02:00
|
|
|
ell/net-private.h \
|
2018-10-30 20:54:16 +01:00
|
|
|
ell/net.c \
|
|
|
|
ell/dhcp-private.h \
|
|
|
|
ell/dhcp.c \
|
|
|
|
ell/dhcp-transport.c \
|
2018-11-20 00:10:30 +01:00
|
|
|
ell/dhcp-lease.c \
|
2020-10-20 00:21:36 +02:00
|
|
|
ell/dhcp-util.c \
|
2020-10-20 20:02:54 +02:00
|
|
|
ell/dhcp-server.c \
|
2018-11-20 00:10:30 +01:00
|
|
|
ell/cert-private.h \
|
2018-12-12 01:25:31 +01:00
|
|
|
ell/cert.c \
|
2021-01-07 21:05:01 +01:00
|
|
|
ell/cert-crypto.c \
|
2018-12-12 01:25:31 +01:00
|
|
|
ell/ecc-external.c \
|
|
|
|
ell/ecc-private.h \
|
|
|
|
ell/ecc.c \
|
2019-01-24 00:28:38 +01:00
|
|
|
ell/ecdh.c \
|
2019-08-07 17:46:04 +02:00
|
|
|
ell/time.c \
|
2020-09-16 23:44:30 +02:00
|
|
|
ell/time-private.h \
|
2020-10-30 21:38:56 +01:00
|
|
|
ell/path.c \
|
|
|
|
ell/dhcp6.c \
|
|
|
|
ell/dhcp6-private.h \
|
|
|
|
ell/icmp6.c \
|
|
|
|
ell/icmp6-private.h \
|
|
|
|
ell/dhcp6-lease.c \
|
2020-12-10 18:45:17 +01:00
|
|
|
ell/dhcp6-transport.c \
|
2022-08-29 19:35:54 +02:00
|
|
|
ell/acd.c \
|
2023-07-18 05:51:50 +02:00
|
|
|
ell/netconfig.c \
|
|
|
|
ell/sysctl.c
|
2018-10-30 20:54:16 +01:00
|
|
|
|
2022-01-18 22:25:01 +01:00
|
|
|
ell_shared = ell/useful.h ell/asn1-private.h
|
2021-03-11 21:52:12 +01:00
|
|
|
|
|
|
|
ell_libell_internal_la_SOURCES = $(ell_headers) $(ell_sources) $(ell_shared)
|
2018-10-18 20:31:29 +02:00
|
|
|
endif
|
2014-04-28 01:12:54 +02:00
|
|
|
|
2023-04-21 06:33:02 +02:00
|
|
|
if LIBEDIT
|
|
|
|
client_cflags = $(LIBEDIT_CFLAGS)
|
|
|
|
client_ldadd = $(LIBEDIT_LIBS)
|
|
|
|
else
|
|
|
|
client_cflags =
|
|
|
|
client_ldadd = $(READLINE_LIBS)
|
|
|
|
endif
|
|
|
|
|
2018-02-10 18:42:43 +01:00
|
|
|
bin_PROGRAMS =
|
2018-09-14 13:40:21 +02:00
|
|
|
libexec_PROGRAMS =
|
|
|
|
noinst_PROGRAMS =
|
2018-02-10 18:42:43 +01:00
|
|
|
|
2018-09-14 14:36:07 +02:00
|
|
|
if DBUS_POLICY
|
|
|
|
dbus_datadir = @DBUS_DATADIR@/dbus-1/system.d
|
|
|
|
dist_dbus_data_DATA =
|
|
|
|
endif
|
|
|
|
|
2018-09-14 14:05:35 +02:00
|
|
|
if SYSTEMD_SERVICE
|
|
|
|
systemd_unitdir = @SYSTEMD_UNITDIR@
|
|
|
|
systemd_unit_DATA =
|
|
|
|
|
|
|
|
dbus_busdir = @DBUS_BUSDIR@
|
|
|
|
dbus_bus_DATA =
|
2019-01-23 18:20:58 +01:00
|
|
|
|
2019-10-25 00:15:05 +02:00
|
|
|
systemd_networkdir = @SYSTEMD_NETWORKDIR@
|
|
|
|
systemd_network_DATA =
|
|
|
|
|
2019-01-23 18:20:58 +01:00
|
|
|
systemd_modloaddir = @SYSTEMD_MODLOADDIR@
|
|
|
|
systemd_modload_DATA = src/pkcs8.conf
|
2018-09-14 14:05:35 +02:00
|
|
|
endif
|
|
|
|
|
2019-09-22 21:52:47 +02:00
|
|
|
if MANUAL_PAGES
|
2019-10-13 06:24:03 +02:00
|
|
|
man_MANS =
|
2019-09-22 21:52:47 +02:00
|
|
|
endif
|
|
|
|
|
2019-11-05 22:14:09 +01:00
|
|
|
manual_pages = src/iwd.8 src/iwd.debug.7 src/iwd.config.5 src/iwd.network.5 \
|
2020-11-04 17:52:24 +01:00
|
|
|
src/iwd.ap.5 client/iwctl.1 monitor/iwmon.1 wired/ead.8 \
|
|
|
|
tools/hwsim.1
|
2019-10-13 06:24:03 +02:00
|
|
|
|
2018-09-14 16:35:04 +02:00
|
|
|
eap_sources = src/eap.c src/eap.h src/eap-private.h \
|
|
|
|
src/eap-md5.c \
|
|
|
|
src/eap-tls.c \
|
|
|
|
src/eap-ttls.c \
|
|
|
|
src/eap-mschapv2.c src/eap-mschapv2.h \
|
|
|
|
src/eap-sim.c \
|
|
|
|
src/eap-aka.c \
|
|
|
|
src/eap-peap.c \
|
|
|
|
src/eap-gtc.c \
|
|
|
|
src/eap-pwd.c \
|
|
|
|
src/util.h src/util.c \
|
|
|
|
src/crypto.h src/crypto.c \
|
|
|
|
src/simutil.h src/simutil.c \
|
|
|
|
src/simauth.h src/simauth.c \
|
2018-09-21 01:38:24 +02:00
|
|
|
src/watchlist.h src/watchlist.c \
|
2018-10-24 01:33:51 +02:00
|
|
|
src/eap-tls-common.h src/eap-tls-common.c \
|
2019-04-17 23:53:40 +02:00
|
|
|
src/mschaputil.h src/mschaputil.c
|
2018-09-14 16:35:04 +02:00
|
|
|
|
2018-09-14 14:36:07 +02:00
|
|
|
if DAEMON
|
2018-09-14 13:40:21 +02:00
|
|
|
libexec_PROGRAMS += src/iwd
|
2014-05-11 19:39:22 +02:00
|
|
|
|
2019-04-03 18:37:10 +02:00
|
|
|
src_iwd_SOURCES = src/main.c linux/nl80211.h src/iwd.h src/missing.h \
|
2014-06-21 13:41:40 +02:00
|
|
|
src/netdev.h src/netdev.c \
|
2014-07-29 21:25:01 +02:00
|
|
|
src/wiphy.h src/wiphy.c \
|
2019-11-20 23:23:43 +01:00
|
|
|
src/device.c \
|
2018-08-31 20:24:26 +02:00
|
|
|
src/station.h src/station.c \
|
2014-10-07 04:50:27 +02:00
|
|
|
src/ie.h src/ie.c \
|
2014-10-07 05:13:14 +02:00
|
|
|
src/dbus.h src/dbus.c \
|
2014-12-12 11:17:43 +01:00
|
|
|
src/mpdu.h src/mpdu.c \
|
2014-12-28 05:26:18 +01:00
|
|
|
src/eapol.h src/eapol.c \
|
2018-09-14 17:30:03 +02:00
|
|
|
src/eapolutil.h src/eapolutil.c \
|
2016-11-02 23:46:18 +01:00
|
|
|
src/handshake.h src/handshake.c \
|
2015-01-12 16:52:37 +01:00
|
|
|
src/scan.h src/scan.c \
|
2016-05-11 22:52:43 +02:00
|
|
|
src/common.h src/common.c \
|
2015-02-27 15:01:06 +01:00
|
|
|
src/agent.h src/agent.c \
|
2015-04-26 18:14:08 +02:00
|
|
|
src/storage.h src/storage.c \
|
2015-06-18 12:18:26 +02:00
|
|
|
src/network.h src/network.c \
|
2019-12-05 04:22:40 +01:00
|
|
|
src/wsc.h src/wsc.c \
|
2016-04-13 21:07:36 +02:00
|
|
|
src/backtrace.h src/backtrace.c \
|
2016-06-17 00:54:15 +02:00
|
|
|
src/knownnetworks.h \
|
|
|
|
src/knownnetworks.c \
|
2016-07-02 16:42:39 +02:00
|
|
|
src/rfkill.h src/rfkill.c \
|
2019-05-07 20:53:41 +02:00
|
|
|
src/ft.h src/ft.c \
|
2020-08-04 16:53:01 +02:00
|
|
|
src/ap.h src/ap.c src/adhoc.c \
|
2018-08-14 01:25:47 +02:00
|
|
|
src/sae.h src/sae.c \
|
2018-10-14 05:41:06 +02:00
|
|
|
src/nl80211util.h src/nl80211util.c \
|
2019-07-15 20:51:02 +02:00
|
|
|
src/nl80211cmd.h src/nl80211cmd.c \
|
2018-11-16 23:22:54 +01:00
|
|
|
src/owe.h src/owe.c \
|
2019-01-25 00:29:13 +01:00
|
|
|
src/blacklist.h src/blacklist.c \
|
2019-04-11 03:10:24 +02:00
|
|
|
src/manager.c \
|
2019-04-17 23:53:40 +02:00
|
|
|
src/erp.h src/erp.c \
|
2019-04-22 19:11:44 +02:00
|
|
|
src/fils.h src/fils.c \
|
2019-05-10 10:48:40 +02:00
|
|
|
src/auth-proto.h \
|
2019-06-14 22:12:05 +02:00
|
|
|
src/anqp.h src/anqp.c \
|
2019-07-15 21:27:02 +02:00
|
|
|
src/anqputil.h src/anqputil.c \
|
2019-06-26 00:20:52 +02:00
|
|
|
src/netconfig.h src/netconfig.c\
|
2022-08-29 19:35:57 +02:00
|
|
|
src/netconfig-commit.c \
|
|
|
|
src/resolve.h src/resolve.c \
|
2019-09-09 18:49:14 +02:00
|
|
|
src/hotspot.c \
|
2020-04-03 18:14:15 +02:00
|
|
|
src/p2p.h src/p2p.c \
|
2019-08-03 23:33:41 +02:00
|
|
|
src/p2putil.h src/p2putil.c \
|
2019-11-07 23:33:51 +01:00
|
|
|
src/module.h src/module.c \
|
2019-11-07 01:59:14 +01:00
|
|
|
src/rrm.c \
|
2020-01-06 13:39:38 +01:00
|
|
|
src/frame-xchg.h src/frame-xchg.c \
|
2020-04-23 21:47:30 +02:00
|
|
|
src/eap-wsc.c src/eap-wsc.h \
|
|
|
|
src/wscutil.h src/wscutil.c \
|
2021-01-22 21:38:43 +01:00
|
|
|
src/diagnostic.h src/diagnostic.c \
|
2021-05-28 02:47:30 +02:00
|
|
|
src/ip-pool.h src/ip-pool.c \
|
2021-06-02 17:50:08 +02:00
|
|
|
src/band.h src/band.c \
|
2021-11-03 23:14:59 +01:00
|
|
|
src/sysfs.h src/sysfs.c \
|
2021-12-06 21:17:26 +01:00
|
|
|
src/offchannel.h src/offchannel.c \
|
2021-12-06 22:03:53 +01:00
|
|
|
src/dpp-util.h src/dpp-util.c \
|
2021-12-10 23:33:26 +01:00
|
|
|
src/json.h src/json.c \
|
2021-12-16 19:08:47 +01:00
|
|
|
src/dpp.c \
|
2024-01-27 00:13:39 +01:00
|
|
|
src/udev.c \
|
2018-09-14 16:35:04 +02:00
|
|
|
$(eap_sources) \
|
2017-11-22 23:34:35 +01:00
|
|
|
$(builtin_sources)
|
2019-07-08 18:59:37 +02:00
|
|
|
|
2018-10-18 20:31:29 +02:00
|
|
|
src_iwd_LDADD = $(ell_ldadd) -ldl
|
|
|
|
src_iwd_DEPENDENCIES = $(ell_dependencies)
|
2018-02-11 21:03:04 +01:00
|
|
|
|
2018-09-14 13:44:40 +02:00
|
|
|
if OFONO
|
|
|
|
builtin_modules += ofono
|
2020-09-16 21:39:40 +02:00
|
|
|
builtin_sources += src/ofono.c
|
2018-09-14 13:44:40 +02:00
|
|
|
endif
|
|
|
|
|
2018-09-14 14:36:07 +02:00
|
|
|
if DBUS_POLICY
|
|
|
|
dist_dbus_data_DATA += src/iwd-dbus.conf
|
|
|
|
endif
|
|
|
|
|
2018-02-10 18:42:43 +01:00
|
|
|
if SYSTEMD_SERVICE
|
2018-02-11 21:03:04 +01:00
|
|
|
src_iwd_DEPENDENCIES += src/iwd.service
|
2018-02-10 18:42:43 +01:00
|
|
|
|
2018-09-14 14:05:35 +02:00
|
|
|
systemd_unit_DATA += src/iwd.service
|
|
|
|
dbus_bus_DATA += src/net.connman.iwd.service
|
2019-10-25 00:15:05 +02:00
|
|
|
|
2019-10-25 01:08:56 +02:00
|
|
|
systemd_network_DATA += src/80-iwd.link
|
2018-02-10 18:42:43 +01:00
|
|
|
endif
|
2019-09-22 21:52:47 +02:00
|
|
|
|
|
|
|
if MANUAL_PAGES
|
2020-11-04 17:52:24 +01:00
|
|
|
man_MANS += src/iwd.8 src/iwd.debug.7 src/iwd.config.5 src/iwd.network.5 \
|
|
|
|
src/iwd.ap.5
|
2019-09-22 21:52:47 +02:00
|
|
|
endif
|
2018-09-14 14:36:07 +02:00
|
|
|
endif
|
2018-02-10 18:42:43 +01:00
|
|
|
|
2018-02-09 17:14:31 +01:00
|
|
|
if CLIENT
|
|
|
|
bin_PROGRAMS += client/iwctl
|
|
|
|
|
2017-03-23 17:48:54 +01:00
|
|
|
client_iwctl_SOURCES = client/main.c \
|
2017-04-27 21:36:26 +02:00
|
|
|
client/adapter.c \
|
2018-05-03 22:57:51 +02:00
|
|
|
client/agent.h client/agent.c \
|
2018-05-03 22:57:50 +02:00
|
|
|
client/agent-manager.h client/agent-manager.c \
|
2018-07-30 00:33:01 +02:00
|
|
|
client/ad-hoc.c \
|
2018-07-30 00:32:58 +02:00
|
|
|
client/ap.c \
|
2017-04-11 23:31:52 +02:00
|
|
|
client/command.h client/command.c \
|
|
|
|
client/dbus-proxy.h client/dbus-proxy.c \
|
2017-05-01 19:23:46 +02:00
|
|
|
client/device.h client/device.c \
|
2017-04-19 00:18:59 +02:00
|
|
|
client/display.h client/display.c \
|
2017-04-21 20:14:51 +02:00
|
|
|
client/known-networks.c \
|
2017-05-01 19:23:44 +02:00
|
|
|
client/network.h client/network.c \
|
2018-07-25 01:17:19 +02:00
|
|
|
client/properties.h client/properties.c \
|
2021-01-22 21:38:46 +01:00
|
|
|
client/wsc.c client/station.c \
|
2021-10-25 23:04:41 +02:00
|
|
|
client/diagnostic.c client/diagnostic.h \
|
2021-12-21 01:07:47 +01:00
|
|
|
client/daemon.c client/daemon.h \
|
2023-11-10 13:58:12 +01:00
|
|
|
client/dpp.c client/dpp-pkex.c \
|
|
|
|
client/station-debug.c \
|
2022-08-11 20:47:33 +02:00
|
|
|
src/util.c src/util.h \
|
|
|
|
src/band.c src/band.h
|
2021-10-25 23:04:41 +02:00
|
|
|
|
2023-04-21 06:33:02 +02:00
|
|
|
client_iwctl_LDADD = $(ell_ldadd) $(client_ldadd)
|
2019-09-22 21:52:47 +02:00
|
|
|
|
|
|
|
if MANUAL_PAGES
|
2019-10-13 06:24:03 +02:00
|
|
|
man_MANS += client/iwctl.1
|
2019-09-22 21:52:47 +02:00
|
|
|
endif
|
2018-02-09 17:14:31 +01:00
|
|
|
endif
|
|
|
|
|
|
|
|
if MONITOR
|
|
|
|
bin_PROGRAMS += monitor/iwmon
|
2014-05-11 19:43:23 +02:00
|
|
|
|
2014-08-03 06:03:53 +02:00
|
|
|
monitor_iwmon_SOURCES = monitor/main.c linux/nl80211.h \
|
2014-08-05 22:39:33 +02:00
|
|
|
monitor/nlmon.h monitor/nlmon.c \
|
2014-08-10 04:29:48 +02:00
|
|
|
monitor/pcap.h monitor/pcap.c \
|
2014-08-10 09:14:29 +02:00
|
|
|
monitor/display.h monitor/display.c \
|
2014-12-18 10:41:33 +01:00
|
|
|
src/ie.h src/ie.c \
|
2015-09-11 06:07:34 +02:00
|
|
|
src/wscutil.h src/wscutil.c \
|
2015-01-22 17:13:15 +01:00
|
|
|
src/mpdu.h src/mpdu.c \
|
2014-12-19 01:10:10 +01:00
|
|
|
src/util.h src/util.c \
|
2015-02-19 03:51:54 +01:00
|
|
|
src/crypto.h src/crypto.c \
|
2017-09-07 23:04:45 +02:00
|
|
|
src/watchlist.h src/watchlist.c \
|
2018-09-14 17:30:03 +02:00
|
|
|
src/eapolutil.h src/eapolutil.c \
|
2019-07-15 20:51:28 +02:00
|
|
|
src/nl80211cmd.h src/nl80211cmd.c \
|
2019-07-15 21:27:03 +02:00
|
|
|
src/p2putil.c src/p2putil.h \
|
2021-11-30 19:24:13 +01:00
|
|
|
src/anqputil.h src/anqputil.c \
|
|
|
|
src/band.h src/band.c
|
2018-10-18 20:31:29 +02:00
|
|
|
monitor_iwmon_LDADD = $(ell_ldadd)
|
2019-09-22 21:52:47 +02:00
|
|
|
|
|
|
|
if MANUAL_PAGES
|
2019-10-13 06:24:03 +02:00
|
|
|
man_MANS += monitor/iwmon.1
|
2019-09-22 21:52:47 +02:00
|
|
|
endif
|
2018-02-09 17:14:31 +01:00
|
|
|
endif
|
2014-08-03 06:03:53 +02:00
|
|
|
|
2018-09-14 13:47:51 +02:00
|
|
|
if WIRED
|
|
|
|
libexec_PROGRAMS += wired/ead
|
|
|
|
|
2018-09-14 19:48:23 +02:00
|
|
|
wired_ead_SOURCES = wired/main.c wired/ethdev.h wired/ethdev.c \
|
2018-09-14 23:29:46 +02:00
|
|
|
wired/network.h wired/network.c \
|
2019-11-07 23:59:54 +01:00
|
|
|
wired/dbus.h wired/dbus.c \
|
|
|
|
src/module.h src/module.c \
|
2021-11-30 19:24:13 +01:00
|
|
|
src/band.h src/band.c \
|
2019-11-07 23:59:54 +01:00
|
|
|
$(eap_sources)
|
2018-10-18 20:31:29 +02:00
|
|
|
wired_ead_LDADD = $(ell_ldadd)
|
|
|
|
wired_ead_DEPENDENCIES = $(ell_dependencies)
|
2018-09-14 14:05:35 +02:00
|
|
|
|
2018-09-14 15:07:30 +02:00
|
|
|
if DBUS_POLICY
|
|
|
|
dist_dbus_data_DATA += wired/ead-dbus.conf
|
|
|
|
endif
|
|
|
|
|
2018-09-14 14:05:35 +02:00
|
|
|
if SYSTEMD_SERVICE
|
|
|
|
wired_ead_DEPENDENCIES += wired/ead.service
|
|
|
|
|
|
|
|
systemd_unit_DATA += wired/ead.service
|
|
|
|
dbus_bus_DATA += wired/net.connman.ead.service
|
|
|
|
endif
|
2019-09-22 21:52:47 +02:00
|
|
|
|
|
|
|
if MANUAL_PAGES
|
2019-10-13 06:24:03 +02:00
|
|
|
man_MANS += wired/ead.8
|
2019-09-22 21:52:47 +02:00
|
|
|
endif
|
2018-09-14 13:47:51 +02:00
|
|
|
endif
|
|
|
|
|
2023-04-25 16:09:45 +02:00
|
|
|
if DAEMON
|
2022-02-16 01:28:25 +01:00
|
|
|
noinst_PROGRAMS += tools/probe-req tools/iwd-decrypt-profile
|
2020-03-19 22:12:14 +01:00
|
|
|
|
|
|
|
tools_probe_req_SOURCES = tools/probe-req.c src/mpdu.h src/mpdu.c \
|
|
|
|
src/ie.h src/ie.c \
|
|
|
|
src/nl80211util.h src/nl80211util.c \
|
|
|
|
src/util.h src/util.c \
|
2021-11-30 19:24:13 +01:00
|
|
|
src/common.h src/common.c \
|
|
|
|
src/band.h src/band.c
|
2020-03-19 22:12:14 +01:00
|
|
|
tools_probe_req_LDADD = $(ell_ldadd)
|
|
|
|
|
2022-02-16 01:28:25 +01:00
|
|
|
tools_iwd_decrypt_profile_SOURCES = tools/iwd-decrypt-profile.c \
|
|
|
|
src/common.h src/common.c \
|
|
|
|
src/crypto.h src/crypto.c \
|
|
|
|
src/storage.h src/storage.c
|
|
|
|
tools_iwd_decrypt_profile_LDADD = ${ell_ldadd}
|
2023-04-25 16:09:45 +02:00
|
|
|
endif
|
2022-02-16 01:28:25 +01:00
|
|
|
|
2018-09-14 15:24:15 +02:00
|
|
|
if HWSIM
|
|
|
|
bin_PROGRAMS += tools/hwsim
|
2014-08-09 00:40:43 +02:00
|
|
|
|
2017-03-03 12:42:25 +01:00
|
|
|
tools_hwsim_SOURCES = tools/hwsim.c src/mpdu.h \
|
|
|
|
src/util.h src/util.c \
|
2021-12-27 17:14:17 +01:00
|
|
|
src/nl80211cmd.h src/nl80211cmd.c \
|
|
|
|
src/nl80211util.h src/nl80211util.c \
|
2017-03-03 12:42:25 +01:00
|
|
|
src/storage.h src/storage.c \
|
2021-11-30 19:24:13 +01:00
|
|
|
src/common.h src/common.c \
|
2022-02-15 22:41:29 +01:00
|
|
|
src/band.h src/band.c \
|
2023-11-27 05:38:42 +01:00
|
|
|
src/ie.h src/ie.c \
|
2022-02-15 22:41:29 +01:00
|
|
|
src/crypto.h src/crypto.c
|
2018-10-18 20:31:29 +02:00
|
|
|
tools_hwsim_LDADD = $(ell_ldadd)
|
2018-09-14 15:24:15 +02:00
|
|
|
|
|
|
|
if DBUS_POLICY
|
|
|
|
dist_dbus_data_DATA += tools/hwsim-dbus.conf
|
|
|
|
endif
|
2019-09-22 21:52:47 +02:00
|
|
|
|
|
|
|
if MANUAL_PAGES
|
2019-10-13 06:24:03 +02:00
|
|
|
man_MANS += tools/hwsim.1
|
2019-09-22 21:52:47 +02:00
|
|
|
endif
|
2018-09-14 13:46:55 +02:00
|
|
|
endif
|
2018-09-14 13:33:08 +02:00
|
|
|
|
2023-04-25 16:09:45 +02:00
|
|
|
unit_tests =
|
|
|
|
|
|
|
|
if DAEMON
|
|
|
|
unit_tests += unit/test-cmac-aes \
|
2014-12-27 23:21:41 +01:00
|
|
|
unit/test-hmac-md5 unit/test-hmac-sha1 unit/test-hmac-sha256 \
|
2017-10-09 11:48:12 +02:00
|
|
|
unit/test-prf-sha1 unit/test-kdf-sha256 \
|
2014-12-27 07:02:13 +01:00
|
|
|
unit/test-crypto unit/test-eapol unit/test-mpdu \
|
2019-04-08 20:15:21 +02:00
|
|
|
unit/test-ie unit/test-util unit/test-ssid-security \
|
2017-08-21 23:09:04 +02:00
|
|
|
unit/test-arc4 unit/test-wsc unit/test-eap-mschapv2 \
|
2021-12-06 22:03:56 +01:00
|
|
|
unit/test-eap-sim unit/test-sae unit/test-p2p unit/test-band \
|
2021-12-10 23:33:27 +01:00
|
|
|
unit/test-dpp unit/test-json
|
2023-04-25 16:09:45 +02:00
|
|
|
endif
|
2018-11-22 14:35:39 +01:00
|
|
|
|
|
|
|
if CLIENT
|
|
|
|
unit_tests += unit/test-client
|
|
|
|
endif
|
2018-05-01 20:32:49 +02:00
|
|
|
|
2014-05-12 01:18:45 +02:00
|
|
|
if MAINTAINER_MODE
|
|
|
|
noinst_PROGRAMS += $(unit_tests)
|
|
|
|
endif
|
2014-05-11 20:46:32 +02:00
|
|
|
|
2023-04-25 16:09:45 +02:00
|
|
|
if DAEMON
|
2017-08-21 23:09:04 +02:00
|
|
|
unit_test_eap_sim_SOURCES = unit/test-eap-sim.c \
|
|
|
|
src/crypto.h src/crypto.c src/simutil.h src/simutil.c \
|
|
|
|
src/ie.h src/ie.c \
|
2017-09-07 23:04:45 +02:00
|
|
|
src/watchlist.h src/watchlist.c \
|
2017-08-21 23:09:04 +02:00
|
|
|
src/eapol.h src/eapol.c \
|
2018-09-14 17:30:03 +02:00
|
|
|
src/eapolutil.h src/eapolutil.c \
|
2017-08-21 23:09:04 +02:00
|
|
|
src/handshake.h src/handshake.c \
|
2018-06-15 03:01:22 +02:00
|
|
|
src/eap.h src/eap.c src/eap-private.h \
|
2017-08-21 23:09:04 +02:00
|
|
|
src/util.h src/util.c \
|
2017-12-13 23:35:17 +01:00
|
|
|
src/simauth.h src/simauth.c \
|
2019-04-17 23:53:42 +02:00
|
|
|
src/erp.h src/erp.c \
|
2021-09-21 22:39:31 +02:00
|
|
|
src/band.h src/band.c \
|
2017-08-21 23:09:04 +02:00
|
|
|
src/eap-sim.c
|
2018-10-18 20:31:29 +02:00
|
|
|
unit_test_eap_sim_LDADD = $(ell_ldadd)
|
2017-08-21 23:09:04 +02:00
|
|
|
|
2014-12-27 23:21:41 +01:00
|
|
|
unit_test_cmac_aes_SOURCES = unit/test-cmac-aes.c \
|
2015-02-19 04:02:09 +01:00
|
|
|
src/crypto.h src/crypto.c
|
2018-10-18 20:31:29 +02:00
|
|
|
unit_test_cmac_aes_LDADD = $(ell_ldadd)
|
2014-12-27 23:21:41 +01:00
|
|
|
|
2015-02-17 23:22:39 +01:00
|
|
|
unit_test_arc4_SOURCES = unit/test-arc4.c \
|
2015-02-19 04:11:37 +01:00
|
|
|
src/crypto.h src/crypto.c
|
2018-10-18 20:31:29 +02:00
|
|
|
unit_test_arc4_LDADD = $(ell_ldadd)
|
2015-02-17 23:22:39 +01:00
|
|
|
|
2014-12-27 07:02:13 +01:00
|
|
|
unit_test_hmac_md5_SOURCES = unit/test-hmac-md5.c \
|
2015-02-19 03:51:54 +01:00
|
|
|
src/crypto.h src/crypto.c
|
2018-10-18 20:31:29 +02:00
|
|
|
unit_test_hmac_md5_LDADD = $(ell_ldadd)
|
2014-12-27 07:02:13 +01:00
|
|
|
|
|
|
|
unit_test_hmac_sha1_SOURCES = unit/test-hmac-sha1.c \
|
2016-02-10 21:36:14 +01:00
|
|
|
src/crypto.h src/crypto.c
|
2018-10-18 20:31:29 +02:00
|
|
|
unit_test_hmac_sha1_LDADD = $(ell_ldadd)
|
2014-12-27 07:02:13 +01:00
|
|
|
|
|
|
|
unit_test_hmac_sha256_SOURCES = unit/test-hmac-sha256.c \
|
2016-02-10 21:36:14 +01:00
|
|
|
src/crypto.h src/crypto.c
|
2018-10-18 20:31:29 +02:00
|
|
|
unit_test_hmac_sha256_LDADD = $(ell_ldadd)
|
2014-12-27 07:02:13 +01:00
|
|
|
|
2014-05-11 20:46:32 +02:00
|
|
|
unit_test_prf_sha1_SOURCES = unit/test-prf-sha1.c \
|
2016-02-10 21:36:14 +01:00
|
|
|
src/crypto.h src/crypto.c
|
2018-10-18 20:31:29 +02:00
|
|
|
unit_test_prf_sha1_LDADD = $(ell_ldadd)
|
2014-05-11 20:46:32 +02:00
|
|
|
|
2016-02-10 23:31:01 +01:00
|
|
|
unit_test_kdf_sha256_SOURCES = unit/test-kdf-sha256.c \
|
|
|
|
src/crypto.h src/crypto.c
|
2018-10-18 20:31:29 +02:00
|
|
|
unit_test_kdf_sha256_LDADD = $(ell_ldadd)
|
2016-02-10 23:31:01 +01:00
|
|
|
|
2014-07-08 14:03:39 +02:00
|
|
|
unit_test_ie_SOURCES = unit/test-ie.c src/ie.h src/ie.c
|
2018-10-18 20:31:29 +02:00
|
|
|
unit_test_ie_LDADD = $(ell_ldadd)
|
2014-07-08 14:03:39 +02:00
|
|
|
|
2022-07-21 00:15:06 +02:00
|
|
|
unit_test_band_SOURCES = unit/test-band.c src/band.h src/band.c src/netdev.h \
|
|
|
|
src/ie.h src/ie.c
|
2021-06-03 18:34:57 +02:00
|
|
|
unit_test_band_LDADD = $(ell_ldadd)
|
|
|
|
|
2014-11-15 04:41:59 +01:00
|
|
|
unit_test_crypto_SOURCES = unit/test-crypto.c \
|
|
|
|
src/crypto.h src/crypto.c
|
2018-10-18 20:31:29 +02:00
|
|
|
unit_test_crypto_LDADD = $(ell_ldadd)
|
2014-11-15 04:41:59 +01:00
|
|
|
|
2014-12-17 23:22:39 +01:00
|
|
|
unit_test_mpdu_SOURCES = unit/test-mpdu.c \
|
2017-09-22 05:06:36 +02:00
|
|
|
src/mpdu.h src/mpdu.c \
|
|
|
|
src/ie.h src/ie.c
|
2018-10-18 20:31:29 +02:00
|
|
|
unit_test_mpdu_LDADD = $(ell_ldadd)
|
2014-12-17 23:22:39 +01:00
|
|
|
|
2014-12-19 01:11:12 +01:00
|
|
|
unit_test_eapol_SOURCES = unit/test-eapol.c \
|
2014-12-28 05:29:12 +01:00
|
|
|
src/crypto.h src/crypto.c \
|
2015-02-25 00:11:56 +01:00
|
|
|
src/ie.h src/ie.c \
|
2017-09-07 23:04:45 +02:00
|
|
|
src/watchlist.h src/watchlist.c \
|
2015-10-30 11:12:13 +01:00
|
|
|
src/eapol.h src/eapol.c \
|
2018-09-14 17:30:03 +02:00
|
|
|
src/eapolutil.h src/eapolutil.c \
|
2016-11-02 23:46:18 +01:00
|
|
|
src/handshake.h src/handshake.c \
|
2018-06-15 03:01:22 +02:00
|
|
|
src/eap.h src/eap.c src/eap-private.h \
|
2016-12-01 20:41:36 +01:00
|
|
|
src/eap-tls.c src/eap-ttls.c \
|
2018-09-21 01:38:24 +02:00
|
|
|
src/eap-md5.c src/util.c \
|
2018-10-24 01:33:51 +02:00
|
|
|
src/eap-tls-common.h src/eap-tls-common.c \
|
2019-04-17 23:53:42 +02:00
|
|
|
src/erp.h src/erp.c \
|
2021-09-21 22:39:31 +02:00
|
|
|
src/band.h src/band.c \
|
2018-10-24 01:33:51 +02:00
|
|
|
src/mschaputil.h src/mschaputil.c
|
2018-10-18 20:31:29 +02:00
|
|
|
unit_test_eapol_LDADD = $(ell_ldadd)
|
2019-08-23 03:48:00 +02:00
|
|
|
unit_test_eapol_DEPENDENCIES = $(ell_dependencies) \
|
|
|
|
unit/cert-server.pem \
|
2019-05-11 10:11:12 +02:00
|
|
|
unit/cert-server-key-pkcs8.pem \
|
|
|
|
unit/cert-client.pem \
|
2019-10-07 20:11:57 +02:00
|
|
|
unit/cert-client-key-pkcs8.pem \
|
|
|
|
unit/tls-settings.8021x
|
2014-12-19 12:25:43 +01:00
|
|
|
|
2021-11-30 19:24:13 +01:00
|
|
|
unit_test_util_SOURCES = src/util.h src/util.c src/band.c src/band.h \
|
2019-04-08 20:15:21 +02:00
|
|
|
unit/test-util.c
|
|
|
|
unit_test_util_LDADD = $(ell_ldadd)
|
2014-12-19 12:25:43 +01:00
|
|
|
|
2015-01-28 13:14:56 +01:00
|
|
|
unit_test_ssid_security_SOURCES = unit/test-ssid-security.c src/ie.h src/ie.c \
|
2018-05-24 23:02:04 +02:00
|
|
|
src/common.h src/common.c
|
2018-10-18 20:31:29 +02:00
|
|
|
unit_test_ssid_security_LDADD = $(ell_ldadd)
|
2015-01-28 13:14:56 +01:00
|
|
|
|
2016-08-13 00:36:54 +02:00
|
|
|
unit_test_wsc_SOURCES = unit/test-wsc.c src/wscutil.h src/wscutil.c \
|
2016-08-25 04:54:15 +02:00
|
|
|
src/crypto.h src/crypto.c \
|
|
|
|
src/ie.h src/ie.c \
|
2017-09-07 23:04:45 +02:00
|
|
|
src/watchlist.h src/watchlist.c \
|
2016-08-25 04:54:15 +02:00
|
|
|
src/eapol.h src/eapol.c \
|
2018-09-14 17:30:03 +02:00
|
|
|
src/eapolutil.h src/eapolutil.c \
|
2016-11-02 23:46:18 +01:00
|
|
|
src/handshake.h src/handshake.c \
|
2018-06-15 03:01:22 +02:00
|
|
|
src/eap.h src/eap.c src/eap-private.h \
|
2016-08-25 04:54:15 +02:00
|
|
|
src/util.h src/util.c \
|
2019-04-17 23:53:42 +02:00
|
|
|
src/erp.h src/erp.c \
|
2021-09-21 22:39:31 +02:00
|
|
|
src/band.h src/band.c \
|
2016-09-13 20:32:47 +02:00
|
|
|
src/eap-wsc.h src/eap-wsc.c
|
2018-10-18 20:31:29 +02:00
|
|
|
unit_test_wsc_LDADD = $(ell_ldadd)
|
2016-12-14 23:15:29 +01:00
|
|
|
|
|
|
|
unit_test_eap_mschapv2_SOURCES = src/eap-mschapv2.h src/eap-mschapv2.c \
|
2018-06-15 03:01:22 +02:00
|
|
|
src/eap.c src/eap.h src/eap-private.h \
|
2019-01-10 23:34:19 +01:00
|
|
|
src/mschaputil.h src/mschaputil.c \
|
2016-12-14 23:15:29 +01:00
|
|
|
unit/test-eap-mschapv2.c
|
2018-10-18 20:31:29 +02:00
|
|
|
unit_test_eap_mschapv2_LDADD = $(ell_ldadd)
|
2015-07-15 19:52:46 +02:00
|
|
|
|
2018-08-15 19:36:21 +02:00
|
|
|
unit_test_sae_SOURCES = unit/test-sae.c \
|
|
|
|
src/sae.h src/sae.c \
|
|
|
|
src/crypto.h src/crypto.c \
|
|
|
|
src/ie.h src/ie.c \
|
|
|
|
src/handshake.h src/handshake.c \
|
2021-08-03 23:34:32 +02:00
|
|
|
src/erp.h src/erp.c \
|
2021-09-21 22:39:31 +02:00
|
|
|
src/band.h src/band.c \
|
2019-05-03 20:59:55 +02:00
|
|
|
src/util.h src/util.c \
|
|
|
|
src/mpdu.h src/mpdu.c
|
2018-10-18 20:31:29 +02:00
|
|
|
unit_test_sae_LDADD = $(ell_ldadd)
|
2021-07-16 00:18:10 +02:00
|
|
|
unit_test_sae_LDFLAGS = -Wl,-wrap,l_ecc_supported_ike_groups
|
2018-08-15 19:36:21 +02:00
|
|
|
|
2019-07-09 03:24:43 +02:00
|
|
|
unit_test_p2p_SOURCES = unit/test-p2p.c src/wscutil.h src/wscutil.c \
|
|
|
|
src/crypto.h src/crypto.c \
|
|
|
|
src/ie.h src/ie.c \
|
|
|
|
src/util.h src/util.c \
|
2021-11-30 19:24:13 +01:00
|
|
|
src/p2putil.h src/p2putil.c \
|
|
|
|
src/band.h src/band.c
|
2019-07-09 03:24:43 +02:00
|
|
|
unit_test_p2p_LDADD = $(ell_ldadd)
|
|
|
|
|
2021-12-06 22:03:56 +01:00
|
|
|
unit_test_dpp_SOURCES = unit/test-dpp.c src/dpp-util.h src/dpp-util.c \
|
|
|
|
src/band.h src/band.c \
|
2021-12-16 19:08:51 +01:00
|
|
|
src/util.h src/util.c src/crypto.h \
|
|
|
|
src/crypto.c src/json.h src/json.c
|
2021-12-06 22:03:56 +01:00
|
|
|
unit_test_dpp_LDADD = $(ell_ldadd)
|
|
|
|
|
2021-12-10 23:33:27 +01:00
|
|
|
unit_test_json_SOURCES = unit/test-json.c src/json.h src/json.c shared/jsmn.h
|
|
|
|
unit_test_json_LDADD = $(ell_ldadd)
|
2023-04-25 16:09:45 +02:00
|
|
|
endif
|
|
|
|
|
|
|
|
if CLIENT
|
|
|
|
unit_test_client_SOURCES = unit/test-client.c \
|
|
|
|
client/adapter.c \
|
|
|
|
client/agent.h client/agent.c \
|
|
|
|
client/agent-manager.h client/agent-manager.c \
|
|
|
|
client/command.h client/command.c \
|
|
|
|
client/dbus-proxy.h client/dbus-proxy.c \
|
|
|
|
client/display.h client/display.c \
|
|
|
|
client/network.h client/network.c \
|
|
|
|
client/properties.h client/properties.c
|
|
|
|
unit_test_client_LDADD = $(ell_ldadd) $(client_ldadd)
|
|
|
|
endif
|
2021-12-10 23:33:27 +01:00
|
|
|
|
2014-05-12 01:18:45 +02:00
|
|
|
TESTS = $(unit_tests)
|
2014-05-11 20:46:32 +02:00
|
|
|
|
2018-08-06 22:34:11 +02:00
|
|
|
EXTRA_DIST = src/genbuiltin src/iwd.service.in src/net.connman.iwd.service \
|
2018-09-14 14:09:53 +02:00
|
|
|
wired/ead.service.in wired/net.connman.ead.service \
|
2019-10-25 01:08:56 +02:00
|
|
|
src/80-iwd.link src/pkcs8.conf unit/gencerts.cnf \
|
2022-01-03 21:18:03 +01:00
|
|
|
doc/main.conf \
|
2019-10-13 07:02:04 +02:00
|
|
|
$(manual_pages) $(patsubst %.1,%.rst, \
|
|
|
|
$(patsubst %.5,%.rst, \
|
|
|
|
$(patsubst %.8,%.rst,$(manual_pages))))
|
2014-08-09 06:48:53 +02:00
|
|
|
|
2023-04-21 06:33:02 +02:00
|
|
|
AM_CFLAGS = $(ell_cflags) $(client_cflags) -fvisibility=hidden \
|
2019-05-11 10:11:12 +02:00
|
|
|
-DUNITDIR=\""$(top_srcdir)/unit/"\" \
|
2022-11-02 11:23:03 +01:00
|
|
|
-DCERTDIR=\""$(top_builddir)/unit/"\"
|
2014-04-28 01:12:54 +02:00
|
|
|
|
2019-10-11 08:57:38 +02:00
|
|
|
if MAINTAINER_MODE
|
|
|
|
AM_CFLAGS += -DHAVE_PKCS8_SUPPORT
|
|
|
|
endif
|
|
|
|
|
2018-09-14 14:09:53 +02:00
|
|
|
CLEANFILES = src/iwd.service wired/ead.service
|
2018-02-10 18:42:43 +01:00
|
|
|
|
2018-09-14 13:53:55 +02:00
|
|
|
DISTCHECK_CONFIGURE_FLAGS = --disable-dbus-policy --disable-systemd-service \
|
|
|
|
--enable-ofono \
|
|
|
|
--enable-wired \
|
2018-09-14 15:24:15 +02:00
|
|
|
--enable-hwsim \
|
2018-09-14 13:53:55 +02:00
|
|
|
--enable-tools
|
2014-04-28 01:12:54 +02:00
|
|
|
|
2019-10-13 06:24:03 +02:00
|
|
|
DISTCLEANFILES = $(BUILT_SOURCES) $(unit_tests) $(manual_pages)
|
2014-04-28 01:12:54 +02:00
|
|
|
|
2018-01-29 11:55:54 +01:00
|
|
|
MAINTAINERCLEANFILES = Makefile.in configure config.h.in aclocal.m4
|
|
|
|
|
2019-05-11 10:11:12 +02:00
|
|
|
true_redirect_openssl = 2>&1
|
|
|
|
false_redirect_openssl = 2>/dev/null
|
|
|
|
|
|
|
|
unit/cert-ca-key.pem:
|
|
|
|
$(AM_V_GEN)openssl genrsa -out $@ 2048 $($(AM_V_P)_redirect_openssl)
|
|
|
|
|
|
|
|
unit/cert-ca.pem: unit/cert-ca-key.pem unit/gencerts.cnf
|
|
|
|
$(AM_V_GEN)openssl req -x509 -new -nodes -extensions ca_ext \
|
|
|
|
-config $(srcdir)/unit/gencerts.cnf \
|
|
|
|
-subj '/O=International Union of Example Organizations/CN=Certificate issuer guy/emailAddress=ca@mail.example' \
|
|
|
|
-key $< -sha256 -days 10000 -out $@
|
|
|
|
|
|
|
|
unit/cert-server-key.pem:
|
|
|
|
$(AM_V_GEN)openssl genrsa -out $@ $($(AM_V_P)_redirect_openssl)
|
|
|
|
|
|
|
|
unit/cert-server-key-pkcs8.pem: unit/cert-server-key.pem
|
|
|
|
$(AM_V_GEN)openssl pkcs8 -topk8 -nocrypt -in $< -out $@
|
|
|
|
|
|
|
|
unit/cert-server.csr: unit/cert-server-key.pem unit/gencerts.cnf
|
|
|
|
$(AM_V_GEN)openssl req -new -extensions cert_ext \
|
|
|
|
-config $(srcdir)/unit/gencerts.cnf \
|
|
|
|
-subj '/O=Foo Example Organization/CN=Foo Example Organization/emailAddress=foo@mail.example' \
|
|
|
|
-key $< -out $@
|
|
|
|
|
|
|
|
unit/cert-server.pem: unit/cert-server.csr unit/cert-ca.pem unit/gencerts.cnf
|
2019-08-24 04:10:12 +02:00
|
|
|
$(AM_V_GEN)openssl x509 -req -extensions server_ext \
|
2019-05-11 10:11:12 +02:00
|
|
|
-extfile $(srcdir)/unit/gencerts.cnf \
|
|
|
|
-in $< -CA $(builddir)/unit/cert-ca.pem \
|
|
|
|
-CAkey $(builddir)/unit/cert-ca-key.pem \
|
|
|
|
-CAserial $(builddir)/unit/cert-ca.srl \
|
|
|
|
-CAcreateserial -sha256 -days 10000 -out $@ $($(AM_V_P)_redirect_openssl)
|
|
|
|
|
|
|
|
unit/cert-client-key.pem:
|
|
|
|
$(AM_V_GEN)openssl genrsa -out $@ $($(AM_V_P)_redirect_openssl)
|
|
|
|
|
|
|
|
unit/cert-client-key-pkcs8.pem: unit/cert-client-key.pem
|
|
|
|
$(AM_V_GEN)openssl pkcs8 -topk8 -nocrypt -in $< -out $@
|
|
|
|
|
|
|
|
unit/cert-client.csr: unit/cert-client-key.pem unit/gencerts.cnf
|
|
|
|
$(AM_V_GEN)openssl req -new -extensions cert_ext \
|
|
|
|
-config $(srcdir)/unit/gencerts.cnf \
|
|
|
|
-subj '/O=Bar Example Organization/CN=Bar Example Organization/emailAddress=bar@mail.example' \
|
|
|
|
-key $< -out $@
|
|
|
|
|
|
|
|
unit/cert-client.pem: unit/cert-client.csr unit/cert-ca.pem unit/gencerts.cnf
|
|
|
|
$(AM_V_GEN)openssl x509 -req -extensions cert_ext \
|
|
|
|
-extfile $(srcdir)/unit/gencerts.cnf \
|
|
|
|
-in $< -CA $(builddir)/unit/cert-ca.pem \
|
|
|
|
-CAkey $(builddir)/unit/cert-ca-key.pem \
|
|
|
|
-CAserial $(builddir)/unit/cert-ca.srl \
|
|
|
|
-CAcreateserial -sha256 -days 10000 -out $@ $($(AM_V_P)_redirect_openssl)
|
|
|
|
|
2019-10-07 20:11:57 +02:00
|
|
|
unit/tls-settings.8021x: unit/cert-ca.pem unit/cert-client.pem unit/cert-client-key-pkcs8.pem
|
|
|
|
$(AM_V_GEN) \
|
|
|
|
$(file >$@,[Security]) \
|
|
|
|
$(file >>$@,EAP-Method=TLS) \
|
|
|
|
$(file >>$@,EAP-Identity=abc@example.com) \
|
|
|
|
$(file >>$@,EAP-TLS-CACert=embed:ca_cert) \
|
|
|
|
$(file >>$@,EAP-TLS-ClientCert=embed:client_cert) \
|
|
|
|
$(file >>$@,EAP-TLS-ClientKey=embed:client_key) \
|
|
|
|
$(file >>$@,[@pem@ca_cert]) \
|
|
|
|
$(shell cat unit/cert-ca.pem >> $@) \
|
|
|
|
$(file >>$@,[@pem@client_cert]) \
|
|
|
|
$(shell cat unit/cert-client.pem >> $@) \
|
|
|
|
$(file >>$@,[@pem@client_key]) \
|
|
|
|
$(shell cat unit/cert-client-key-pkcs8.pem >> $@)
|
|
|
|
|
2018-10-18 20:31:29 +02:00
|
|
|
BUILT_SOURCES = $(ell_built_sources) src/builtin.h
|
2014-04-28 01:12:54 +02:00
|
|
|
|
2021-03-11 21:52:12 +01:00
|
|
|
ell/shared: Makefile
|
2021-04-29 10:16:32 +02:00
|
|
|
$(AM_V_at)$(MKDIR_P) ell
|
2021-03-11 21:52:12 +01:00
|
|
|
$(AM_V_GEN)for f in $(ell_shared) ; do \
|
|
|
|
if [ ! -f $$f ] ; then \
|
|
|
|
$(LN_S) -t ell -f $(abs_srcdir)/../ell/$$f ; \
|
|
|
|
fi \
|
|
|
|
done > $@
|
|
|
|
|
2014-04-28 01:12:54 +02:00
|
|
|
ell/internal: Makefile
|
|
|
|
$(AM_V_at)$(MKDIR_P) ell
|
2018-10-30 20:54:16 +01:00
|
|
|
$(AM_V_GEN)for f in $(ell_headers) $(ell_sources) ; do \
|
2014-04-28 01:12:54 +02:00
|
|
|
if [ ! -f $$f ] ; then \
|
2015-10-30 11:12:22 +01:00
|
|
|
$(LN_S) -t ell -f $(abs_srcdir)/../ell/$$f ; \
|
|
|
|
fi \
|
|
|
|
done > $@
|
2018-10-30 20:54:16 +01:00
|
|
|
|
|
|
|
ell/ell.h: Makefile
|
|
|
|
$(AM_V_at)echo -n > $@
|
|
|
|
$(AM_V_GEN)for f in $(ell_headers) ; do \
|
|
|
|
echo "#include <$$f>" >> $@ ; \
|
|
|
|
done
|
2015-10-30 11:12:22 +01:00
|
|
|
|
2019-08-03 09:52:28 +02:00
|
|
|
SED_PROCESS = $(AM_V_GEN)$(MKDIR_P) $(dir $@) && $(SED) \
|
|
|
|
-e 's,@libexecdir\@,$(libexecdir),g' \
|
2018-02-10 18:42:43 +01:00
|
|
|
< $< > $@
|
|
|
|
|
2019-10-03 10:05:19 +02:00
|
|
|
if RUN_RST2MAN
|
2020-03-06 20:22:53 +01:00
|
|
|
RST2MAN_PROCESS = $(AM_V_GEN)$(MKDIR_P) $(dir $@) && \
|
2020-03-14 09:25:42 +01:00
|
|
|
$(RST2MAN) --strict --no-raw \
|
2020-03-06 20:22:53 +01:00
|
|
|
--no-generator --no-datestamp $< $@
|
2019-10-03 10:05:19 +02:00
|
|
|
else
|
2019-10-03 10:21:28 +02:00
|
|
|
RST2MAN_PROCESS = $(AM_V_GEN)test -f $@ || \
|
|
|
|
{ echo "Generated manual page $@ does not exist"; false; }
|
2019-10-03 10:05:19 +02:00
|
|
|
endif
|
2019-09-22 21:52:47 +02:00
|
|
|
|
2018-02-10 18:42:43 +01:00
|
|
|
%.service: %.service.in Makefile
|
|
|
|
$(SED_PROCESS)
|
|
|
|
|
2019-09-22 21:52:47 +02:00
|
|
|
%.1: %.rst Makefile
|
|
|
|
$(RST2MAN_PROCESS)
|
|
|
|
|
2019-10-03 22:36:12 +02:00
|
|
|
%.5: %.rst Makefile
|
|
|
|
$(RST2MAN_PROCESS)
|
|
|
|
|
2019-11-05 22:14:09 +01:00
|
|
|
%.7: %.rst Makefile
|
|
|
|
$(RST2MAN_PROCESS)
|
|
|
|
|
2019-09-22 21:52:47 +02:00
|
|
|
%.8: %.rst Makefile
|
|
|
|
$(RST2MAN_PROCESS)
|
2014-08-09 06:48:53 +02:00
|
|
|
|
2019-08-11 13:03:13 +02:00
|
|
|
install-data-local:
|
2019-09-08 19:58:59 +02:00
|
|
|
if !SYSTEMD_SERVICE
|
2019-08-11 13:03:13 +02:00
|
|
|
if DAEMON
|
|
|
|
$(MKDIR_P) -m 700 $(DESTDIR)$(daemon_storagedir)
|
|
|
|
endif
|
|
|
|
if WIRED
|
|
|
|
$(MKDIR_P) -m 700 $(DESTDIR)$(wired_storagedir)
|
|
|
|
endif
|
2019-09-08 19:58:59 +02:00
|
|
|
endif
|
2019-08-11 13:03:13 +02:00
|
|
|
|
2023-06-19 22:29:28 +02:00
|
|
|
gcov-clean:
|
|
|
|
if GCOV
|
|
|
|
-$(LCOV) --quiet --directory $(builddir) -z
|
|
|
|
-rm -rf "$(builddir)/iwd-coverage.info" "$(builddir)/gcov"
|
|
|
|
-find . -name "*.gcda" -o -name "*.gcov" -o -name "*.gcno" -delete
|
|
|
|
endif
|
|
|
|
|
|
|
|
clean-local: gcov-clean
|
2019-10-07 20:11:57 +02:00
|
|
|
-rm -f unit/cert-*.pem unit/cert-*.csr unit/cert-*.srl unit/*-settings.8021x
|
2019-04-03 19:16:29 +02:00
|
|
|
|
2014-05-11 19:34:39 +02:00
|
|
|
maintainer-clean-local:
|
|
|
|
-rm -rf build-aux ell
|
2017-11-22 23:34:35 +01:00
|
|
|
|
2023-06-19 22:29:28 +02:00
|
|
|
gcov-report:
|
|
|
|
if GCOV
|
|
|
|
$(LCOV) --quiet --directory $(builddir) --capture --output-file "iwd-coverage.info"
|
|
|
|
LANG=C $(GENHTML) --quiet --prefix $(builddir) --output-directory "$(builddir)/gcov" --title "iwd Code Coverage" --legend "$(builddir)/iwd-coverage.info"
|
|
|
|
endif
|
|
|
|
|
2017-11-22 23:34:35 +01:00
|
|
|
src/builtin.h: src/genbuiltin config.status
|
2018-10-02 15:02:56 +02:00
|
|
|
$(AM_V_at)$(MKDIR_P) $(@D)
|
2017-11-22 23:34:35 +01:00
|
|
|
$(AM_V_GEN)$(srcdir)/src/genbuiltin $(builtin_modules) > $@
|