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 =
|
|
|
|
|
2014-04-28 01:12:54 +02:00
|
|
|
noinst_LTLIBRARIES = ell/libell-internal.la
|
|
|
|
|
2018-02-09 16:36:12 +01:00
|
|
|
if DBUS_POLICY
|
|
|
|
dbus_datadir = @DBUS_DATADIR@/dbus-1/system.d
|
|
|
|
dist_dbus_data_DATA = src/iwd-dbus.conf
|
2018-01-29 11:55:54 +01:00
|
|
|
endif
|
2017-05-05 00:47:41 +02:00
|
|
|
|
2016-04-13 21:32:11 +02:00
|
|
|
ell_sources = ell/ell.h ell/private.h ell/missing.h \
|
2014-04-28 01:12:54 +02:00
|
|
|
ell/util.h ell/util.c \
|
|
|
|
ell/test.h ell/test.c \
|
|
|
|
ell/queue.h ell/queue.c \
|
|
|
|
ell/hashmap.h ell/hashmap.c \
|
2015-08-15 04:22:05 +02:00
|
|
|
ell/ringbuf.h ell/ringbuf.c \
|
2014-04-28 01:12:54 +02:00
|
|
|
ell/string.h ell/string.c \
|
|
|
|
ell/settings.h ell/settings.c \
|
|
|
|
ell/main.h ell/main.c \
|
|
|
|
ell/idle.h ell/idle.c \
|
|
|
|
ell/signal.h ell/signal.c \
|
|
|
|
ell/timeout.h ell/timeout.c \
|
|
|
|
ell/io.h ell/io.c \
|
|
|
|
ell/log.h ell/log.c \
|
|
|
|
ell/plugin.h ell/plugin.c \
|
|
|
|
ell/checksum.h ell/checksum.c \
|
2014-06-20 11:51:38 +02:00
|
|
|
ell/netlink-private.h \
|
2014-04-28 01:12:54 +02:00
|
|
|
ell/netlink.h ell/netlink.c \
|
2015-03-21 17:28:34 +01:00
|
|
|
ell/genl-private.h \
|
2014-06-20 13:12:26 +02:00
|
|
|
ell/genl.h ell/genl.c \
|
2014-04-28 01:12:54 +02:00
|
|
|
ell/dbus-private.h \
|
|
|
|
ell/dbus.h ell/dbus.c \
|
2014-05-21 06:52:35 +02:00
|
|
|
ell/dbus-util.c \
|
|
|
|
ell/dbus-message.c \
|
2014-05-12 21:07:42 +02:00
|
|
|
ell/dbus-service.h ell/dbus-service.c \
|
2016-04-01 04:27:39 +02:00
|
|
|
ell/dbus-filter.c \
|
2016-04-26 18:41:55 +02:00
|
|
|
ell/dbus-name-cache.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 \
|
2015-02-09 16:42:43 +01:00
|
|
|
ell/hwdb.h ell/hwdb.c \
|
2015-02-10 20:45:12 +01:00
|
|
|
ell/cipher.h ell/cipher.c \
|
2015-06-08 16:38:52 +02:00
|
|
|
ell/random.h ell/random.c \
|
2015-08-06 23:20:00 +02:00
|
|
|
ell/uintset.h ell/uintset.c \
|
2015-08-11 04:59:16 +02:00
|
|
|
ell/base64.h ell/base64.c \
|
|
|
|
ell/pem.h ell/pem.c \
|
|
|
|
ell/tls-private.h \
|
2015-08-25 18:36:32 +02:00
|
|
|
ell/tls.h ell/tls.c \
|
2015-09-01 04:31:48 +02:00
|
|
|
ell/tls-record.c \
|
2016-03-09 20:29:04 +01:00
|
|
|
ell/uuid.h ell/uuid.c \
|
2017-08-14 23:01:30 +02:00
|
|
|
ell/key.h ell/key.c \
|
2018-01-23 22:27:02 +01:00
|
|
|
ell/key-private.h \
|
2017-08-14 23:01:30 +02:00
|
|
|
ell/asn1-private.h \
|
|
|
|
ell/pkcs5.h ell/pkcs5.c \
|
2017-09-22 17:07:06 +02:00
|
|
|
ell/pkcs5-private.h \
|
2017-12-06 22:05:06 +01:00
|
|
|
ell/file.h ell/file.c \
|
2018-04-10 07:18:11 +02:00
|
|
|
ell/dbus-client.h ell/dbus-client.c \
|
2018-04-19 17:23:54 +02:00
|
|
|
ell/net.h ell/net.c \
|
|
|
|
ell/dhcp.h ell/dhcp.c ell/dhcp-transport.c \
|
|
|
|
ell/dhcp-private.h ell/dhcp-lease.c
|
2014-04-28 01:12:54 +02:00
|
|
|
|
2017-03-17 22:32:41 +01:00
|
|
|
ell_libell_internal_la_SOURCES = $(ell_sources)
|
2014-04-28 01:12:54 +02:00
|
|
|
|
2018-02-10 18:42:43 +01:00
|
|
|
bin_PROGRAMS =
|
|
|
|
|
|
|
|
libexec_PROGRAMS = src/iwd
|
2014-05-11 19:39:22 +02:00
|
|
|
|
2016-04-01 04:27:38 +02:00
|
|
|
src_iwd_SOURCES = src/main.c linux/nl80211.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 \
|
2016-05-05 19:13:45 +02:00
|
|
|
src/device.h src/device.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-11-14 18:37:01 +01:00
|
|
|
src/crypto.h src/crypto.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 \
|
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 \
|
2015-01-15 12:32:28 +01:00
|
|
|
src/util.h src/util.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 \
|
2015-09-11 06:07:34 +02:00
|
|
|
src/wscutil.h src/wscutil.c \
|
2015-09-28 17:54:45 +02:00
|
|
|
src/wsc.h src/wsc.c \
|
2016-09-13 20:32:47 +02:00
|
|
|
src/eap-wsc.h src/eap-wsc.c \
|
2016-11-20 23:06:56 +01:00
|
|
|
src/eap.h src/eap.c src/eap-md5.c \
|
2015-10-30 11:12:17 +01:00
|
|
|
src/eap-tls.c src/eap-ttls.c \
|
2016-12-14 23:15:28 +01:00
|
|
|
src/eap-mschapv2.c src/eap-mschapv2.h \
|
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 \
|
2016-09-14 07:16:04 +02:00
|
|
|
src/watchlist.h src/watchlist.c \
|
2017-01-12 09:36:01 +01:00
|
|
|
src/ftutil.h src/ftutil.c \
|
2017-08-21 23:09:06 +02:00
|
|
|
src/iwd.h src/eap-sim.c src/eap-aka.c \
|
2017-09-12 02:45:43 +02:00
|
|
|
src/simutil.h src/simutil.c \
|
2017-11-22 23:34:37 +01:00
|
|
|
src/ap.h src/ap.c \
|
2017-11-29 18:24:45 +01:00
|
|
|
src/simauth.h src/simauth.c \
|
2017-11-22 23:34:37 +01:00
|
|
|
src/plugin.h src/plugin.c \
|
2018-01-24 00:29:12 +01:00
|
|
|
src/eap-peap.c \
|
2018-04-03 22:58:53 +02:00
|
|
|
src/eap-gtc.c \
|
2018-05-01 20:32:47 +02:00
|
|
|
src/eap-pwd.c \
|
2018-05-01 20:32:46 +02:00
|
|
|
src/ecc.h src/ecc.c \
|
2017-11-22 23:34:35 +01:00
|
|
|
$(builtin_sources)
|
|
|
|
|
2016-04-13 21:07:36 +02:00
|
|
|
src_iwd_LDADD = ell/libell-internal.la -ldl
|
2014-05-11 19:39:22 +02:00
|
|
|
|
2018-02-11 21:03:04 +01:00
|
|
|
src_iwd_DEPENDENCIES = ell/libell-internal.la
|
|
|
|
|
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
|
|
|
|
|
|
|
systemd_unitdir = @SYSTEMD_UNITDIR@
|
|
|
|
systemd_unit_DATA = src/iwd.service
|
|
|
|
endif
|
|
|
|
|
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 \
|
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 \
|
|
|
|
client/wsc.c
|
2017-03-23 17:48:59 +01:00
|
|
|
client_iwctl_LDADD = ell/libell-internal.la -lreadline
|
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 \
|
2015-10-30 11:12:13 +01:00
|
|
|
src/eapol.h src/eapol.c \
|
2016-11-02 23:46:18 +01:00
|
|
|
src/handshake.h src/handshake.c \
|
2015-10-30 11:12:15 +01:00
|
|
|
src/eap.h src/eap.c \
|
2015-10-30 11:12:17 +01:00
|
|
|
src/eap-tls.c src/eap-ttls.c
|
2014-08-03 06:03:53 +02:00
|
|
|
monitor_iwmon_LDADD = ell/libell-internal.la
|
2018-02-09 17:14:31 +01:00
|
|
|
endif
|
2014-08-03 06:03:53 +02:00
|
|
|
|
2014-08-09 00:40:43 +02:00
|
|
|
noinst_PROGRAMS = tools/hwsim
|
2016-04-20 22:01:29 +02:00
|
|
|
noinst_PROGRAMS += tools/test-runner
|
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 \
|
|
|
|
src/storage.h src/storage.c \
|
|
|
|
src/common.h src/common.c
|
2014-08-09 00:40:43 +02:00
|
|
|
tools_hwsim_LDADD = ell/libell-internal.la
|
2016-04-20 22:01:29 +02:00
|
|
|
tools_test_runner_LDADD = ell/libell-internal.la
|
2014-05-12 01:18:45 +02:00
|
|
|
|
2017-12-06 20:19:30 +01:00
|
|
|
if SIM_HARDCODED
|
|
|
|
builtin_modules += sim_hardcoded
|
|
|
|
builtin_sources += plugins/sim_hardcoded.c
|
|
|
|
endif
|
|
|
|
|
2017-12-13 00:49:10 +01:00
|
|
|
if OFONO
|
|
|
|
builtin_modules += ofono
|
|
|
|
builtin_sources += plugins/ofono.c
|
|
|
|
endif
|
|
|
|
|
2014-12-27 23:21:41 +01:00
|
|
|
unit_tests = unit/test-cmac-aes \
|
|
|
|
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 \
|
2015-02-17 23:22:39 +01:00
|
|
|
unit/test-ie unit/test-ssid-to-utf8 unit/test-ssid-security \
|
2017-08-21 23:09:04 +02:00
|
|
|
unit/test-arc4 unit/test-wsc unit/test-eap-mschapv2 \
|
2018-05-01 20:32:49 +02:00
|
|
|
unit/test-eap-sim unit/test-client unit/test-ecc
|
|
|
|
|
2014-05-12 01:18:45 +02:00
|
|
|
|
2016-08-10 00:32:58 +02:00
|
|
|
ell_pem_files = cert-ca-key.pem cert-client-key.pem cert-client-key-pkcs8.pem \
|
|
|
|
cert-server-key.pem cert-server-key-pkcs8.pem \
|
2015-10-30 11:12:22 +01:00
|
|
|
cert-ca.pem cert-client.pem cert-server.pem
|
|
|
|
|
2014-05-12 01:18:45 +02:00
|
|
|
if MAINTAINER_MODE
|
|
|
|
noinst_PROGRAMS += $(unit_tests)
|
2015-10-30 11:12:22 +01:00
|
|
|
noinst_DATA = ell/unit/test_data
|
2014-05-12 01:18:45 +02:00
|
|
|
endif
|
2014-05-11 20:46:32 +02:00
|
|
|
|
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 \
|
|
|
|
src/handshake.h src/handshake.c \
|
|
|
|
src/eap.h src/eap.c \
|
|
|
|
src/util.h src/util.c \
|
2017-12-13 23:35:17 +01:00
|
|
|
src/simauth.h src/simauth.c \
|
2017-08-21 23:09:04 +02:00
|
|
|
src/eap-sim.c
|
|
|
|
|
|
|
|
unit_test_eap_sim_LDADD = ell/libell-internal.la
|
|
|
|
|
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
|
2014-12-27 23:21:41 +01:00
|
|
|
unit_test_cmac_aes_LDADD = ell/libell-internal.la
|
|
|
|
|
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
|
|
|
|
|
2015-02-17 23:22:39 +01:00
|
|
|
unit_test_arc4_LDADD = ell/libell-internal.la
|
|
|
|
|
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
|
2014-12-27 07:02:13 +01:00
|
|
|
unit_test_hmac_md5_LDADD = ell/libell-internal.la
|
|
|
|
|
|
|
|
unit_test_hmac_sha1_SOURCES = unit/test-hmac-sha1.c \
|
2016-02-10 21:36:14 +01:00
|
|
|
src/crypto.h src/crypto.c
|
2014-12-27 07:02:13 +01:00
|
|
|
unit_test_hmac_sha1_LDADD = ell/libell-internal.la
|
|
|
|
|
|
|
|
unit_test_hmac_sha256_SOURCES = unit/test-hmac-sha256.c \
|
2016-02-10 21:36:14 +01:00
|
|
|
src/crypto.h src/crypto.c
|
2014-12-27 07:02:13 +01:00
|
|
|
unit_test_hmac_sha256_LDADD = ell/libell-internal.la
|
|
|
|
|
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
|
2014-05-11 20:46:32 +02:00
|
|
|
unit_test_prf_sha1_LDADD = ell/libell-internal.la
|
|
|
|
|
2016-02-10 23:31:01 +01:00
|
|
|
unit_test_kdf_sha256_SOURCES = unit/test-kdf-sha256.c \
|
|
|
|
src/crypto.h src/crypto.c
|
|
|
|
unit_test_kdf_sha256_LDADD = ell/libell-internal.la
|
|
|
|
|
2014-07-08 14:03:39 +02:00
|
|
|
unit_test_ie_SOURCES = unit/test-ie.c src/ie.h src/ie.c
|
|
|
|
unit_test_ie_LDADD = ell/libell-internal.la
|
|
|
|
|
2014-11-15 04:41:59 +01:00
|
|
|
unit_test_crypto_SOURCES = unit/test-crypto.c \
|
|
|
|
src/crypto.h src/crypto.c
|
|
|
|
unit_test_crypto_LDADD = ell/libell-internal.la
|
|
|
|
|
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
|
2014-12-17 23:22:39 +01:00
|
|
|
unit_test_mpdu_LDADD = ell/libell-internal.la
|
|
|
|
|
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 \
|
2016-11-02 23:46:18 +01:00
|
|
|
src/handshake.h src/handshake.c \
|
2015-10-30 11:12:15 +01:00
|
|
|
src/eap.h src/eap.c \
|
2016-12-01 20:41:36 +01:00
|
|
|
src/eap-tls.c src/eap-ttls.c \
|
|
|
|
src/eap-md5.c
|
2014-12-19 01:11:12 +01:00
|
|
|
unit_test_eapol_LDADD = ell/libell-internal.la
|
2014-12-19 12:25:43 +01:00
|
|
|
|
|
|
|
unit_test_ssid_to_utf8_SOURCES = src/util.h src/util.c \
|
|
|
|
unit/test-ssid-to-utf8.c
|
|
|
|
unit_test_ssid_to_utf8_LDADD = ell/libell-internal.la
|
|
|
|
|
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
|
2015-01-28 13:14:56 +01:00
|
|
|
unit_test_ssid_security_LDADD = ell/libell-internal.la
|
|
|
|
|
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 \
|
2016-11-02 23:46:18 +01:00
|
|
|
src/handshake.h src/handshake.c \
|
2016-08-25 04:54:15 +02:00
|
|
|
src/eap.h src/eap.c \
|
|
|
|
src/util.h src/util.c \
|
2016-09-13 20:32:47 +02:00
|
|
|
src/eap-wsc.h src/eap-wsc.c
|
2015-07-15 19:52:46 +02:00
|
|
|
unit_test_wsc_LDADD = ell/libell-internal.la
|
2016-12-14 23:15:29 +01:00
|
|
|
|
|
|
|
unit_test_eap_mschapv2_SOURCES = src/eap-mschapv2.h src/eap-mschapv2.c \
|
2016-12-14 23:15:30 +01:00
|
|
|
src/eap.c src/eap.h \
|
2016-12-14 23:15:29 +01:00
|
|
|
unit/test-eap-mschapv2.c
|
|
|
|
|
|
|
|
unit_test_eap_mschapv2_LDADD = ell/libell-internal.la
|
2015-07-15 19:52:46 +02:00
|
|
|
|
2018-03-28 18:26:32 +02:00
|
|
|
unit_test_client_SOURCES = unit/test-client.c \
|
|
|
|
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-03-28 18:26:32 +02:00
|
|
|
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
|
|
|
|
unit_test_client_LDADD = ell/libell-internal.la -lreadline
|
|
|
|
|
2018-05-01 20:32:49 +02:00
|
|
|
unit_test_ecc_SOURCES = unit/test-ecc.c src/ecc.c src/ecc.h
|
|
|
|
unit_test_ecc_LDADD = ell/libell-internal.la
|
|
|
|
|
2014-05-12 01:18:45 +02:00
|
|
|
TESTS = $(unit_tests)
|
2014-05-11 20:46:32 +02:00
|
|
|
|
2014-08-09 06:48:53 +02:00
|
|
|
manual_pages = doc/iwmon.1
|
|
|
|
|
2017-03-07 22:06:50 +01:00
|
|
|
if BUILD_DOCS
|
2014-08-09 06:48:53 +02:00
|
|
|
dist_man_MANS = $(manual_pages)
|
2017-03-07 22:06:50 +01:00
|
|
|
endif
|
2014-08-09 06:48:53 +02:00
|
|
|
|
2018-02-10 18:42:43 +01:00
|
|
|
EXTRA_DIST = src/genbuiltin src/iwd.service.in \
|
|
|
|
doc/main.conf $(manual_pages:.1=.txt)
|
2014-08-09 06:48:53 +02:00
|
|
|
|
2014-04-28 01:12:54 +02:00
|
|
|
AM_CFLAGS = -fvisibility=hidden
|
|
|
|
|
2018-02-10 18:42:43 +01:00
|
|
|
CLEANFILES = src/iwd.service
|
|
|
|
|
|
|
|
DISTCHECK_CONFIGURE_FLAGS = --disable-dbus-policy --disable-systemd-service
|
2014-04-28 01:12:54 +02:00
|
|
|
|
2014-08-09 06:48:53 +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
|
|
|
|
|
2017-11-22 23:34:35 +01:00
|
|
|
BUILT_SOURCES = ell/internal src/builtin.h
|
2014-04-28 01:12:54 +02:00
|
|
|
|
|
|
|
ell/internal: Makefile
|
|
|
|
$(AM_V_at)$(MKDIR_P) ell
|
|
|
|
$(AM_V_GEN)for f in $(ell_sources) ; do \
|
|
|
|
if [ ! -f $$f ] ; then \
|
2015-10-30 11:12:22 +01:00
|
|
|
$(LN_S) -t ell -f $(abs_srcdir)/../ell/$$f ; \
|
|
|
|
fi \
|
|
|
|
done > $@
|
2016-04-13 21:32:11 +02:00
|
|
|
$(AM_V_at)$(MKDIR_P) linux
|
|
|
|
$(AM_V_GEN)for f in $(ell_linux_headers) ; do \
|
|
|
|
if [ ! -f $$f ] ; then \
|
|
|
|
$(LN_S) -t linux -f $(abs_srcdir)/../ell/$$f ; \
|
|
|
|
fi \
|
|
|
|
done > $@
|
2015-10-30 11:12:22 +01:00
|
|
|
|
|
|
|
ell/unit/test_data: Makefile
|
|
|
|
$(AM_V_at)$(MKDIR_P) ell/unit
|
|
|
|
$(AM_V_GEN)for f in $(ell_pem_files) ; do \
|
|
|
|
if [ ! -f $$f ] ; then \
|
|
|
|
$(LN_S) -t ell/unit -f $(abs_srcdir)/../ell/unit/$$f ; \
|
2014-04-28 01:12:54 +02:00
|
|
|
fi \
|
|
|
|
done > $@
|
2014-05-11 19:34:39 +02:00
|
|
|
|
2018-02-10 18:42:43 +01:00
|
|
|
SED_PROCESS = $(AM_V_GEN)$(MKDIR_P) $(dir $@) && \
|
|
|
|
$(SED) -e 's,@libexecdir\@,$(libexecdir),g' \
|
|
|
|
< $< > $@
|
|
|
|
|
|
|
|
%.service: %.service.in Makefile
|
|
|
|
$(SED_PROCESS)
|
|
|
|
|
2014-08-09 06:48:53 +02:00
|
|
|
%.1: %.txt
|
2014-08-15 21:10:58 +02:00
|
|
|
$(AM_V_GEN)$(A2X) --doctype manpage --format manpage $(srcdir)/$<
|
2014-08-09 06:48:53 +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
|
|
|
|
|
|
|
src/builtin.h: src/genbuiltin config.status
|
|
|
|
$(AM_V_GEN)$(srcdir)/src/genbuiltin $(builtin_modules) > $@
|