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

239 lines
6.8 KiB
Makefile
Raw Normal View History

2014-04-26 02:57:48 +02:00
AM_MAKEFLAGS = --no-print-directory
ACLOCAL_AMFLAGS = -I build-aux
noinst_LTLIBRARIES = ell/libell-internal.la
ell_sources = ell/ell.h ell/private.h ell/missing.h \
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 \
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 \
ell/netlink-private.h \
ell/netlink.h ell/netlink.c \
ell/genl-private.h \
ell/genl.h ell/genl.c \
ell/dbus-private.h \
ell/dbus.h ell/dbus.c \
ell/dbus-kernel.c \
ell/dbus-util.c \
ell/dbus-message.c \
2014-05-12 21:07:42 +02:00
ell/dbus-service.h ell/dbus-service.c \
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 \
ell/gvariant-util.c \
ell/siphash-private.h \
ell/siphash.c \
2015-02-09 16:42:43 +01:00
ell/hwdb.h ell/hwdb.c \
ell/cipher-private.h \
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 \
ell/uintset.h ell/uintset.c \
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 \
ell/key.h ell/key.c
ell_linux_headers = linux/kdbus.h
ell_libell_internal_la_SOURCES = $(ell_sources) $(ell_linux_headers)
bin_PROGRAMS = src/iwd client/iwctl monitor/iwmon
2014-05-11 19:39:22 +02:00
src_iwd_SOURCES = src/main.c linux/nl80211.h \
src/netdev.h src/netdev.c \
2014-07-29 21:25:01 +02:00
src/wiphy.h src/wiphy.c \
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 \
src/crypto.h src/crypto.c \
src/mpdu.h src/mpdu.c \
2014-12-28 05:26:18 +01:00
src/eapol.h src/eapol.c \
src/scan.h src/scan.c \
src/util.h src/util.c \
src/common.h src/common.c \
src/agent.h src/agent.c \
2015-04-26 18:14:08 +02:00
src/storage.h src/storage.c \
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 \
src/eap-wsc.h src/eap-wsc.c \
src/eap.h src/eap.c \
src/eap-tls.c src/eap-ttls.c \
src/backtrace.h src/backtrace.c \
src/knownnetworks.h \
src/knownnetworks.c \
src/rfkill.h src/rfkill.c \
2016-09-14 07:16:04 +02:00
src/watchlist.h src/watchlist.c \
2015-10-02 20:40:59 +02:00
src/iwd.h
src_iwd_LDADD = ell/libell-internal.la -ldl
2014-05-11 19:39:22 +02:00
client_iwctl_SOURCES = client/main.c src/kdbus.h src/kdbus.c
client_iwctl_LDADD = ell/libell-internal.la
monitor_iwmon_SOURCES = monitor/main.c linux/nl80211.h \
monitor/nlmon.h monitor/nlmon.c \
monitor/pcap.h monitor/pcap.c \
monitor/display.h monitor/display.c \
src/ie.h src/ie.c \
2015-09-11 06:07:34 +02:00
src/wscutil.h src/wscutil.c \
src/mpdu.h src/mpdu.c \
src/util.h src/util.c \
2015-02-19 03:51:54 +01:00
src/crypto.h src/crypto.c \
src/eapol.h src/eapol.c \
src/eap.h src/eap.c \
src/eap-tls.c src/eap-ttls.c
monitor_iwmon_LDADD = ell/libell-internal.la
noinst_PROGRAMS = tools/hwsim
noinst_PROGRAMS += tools/test-runner
tools_hwsim_LDADD = ell/libell-internal.la
tools_test_runner_LDADD = ell/libell-internal.la
unit_tests = unit/test-cmac-aes \
unit/test-hmac-md5 unit/test-hmac-sha1 unit/test-hmac-sha256 \
unit/test-pbkdf2-sha1 unit/test-prf-sha1 \
2016-02-10 23:31:01 +01:00
unit/test-kdf-sha256 \
unit/test-crypto unit/test-eapol unit/test-mpdu \
unit/test-ie unit/test-ssid-to-utf8 unit/test-ssid-security \
unit/test-arc4 unit/test-wsc
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 \
cert-ca.pem cert-client.pem cert-server.pem
if MAINTAINER_MODE
noinst_PROGRAMS += $(unit_tests)
noinst_DATA = ell/unit/test_data
endif
unit_test_cmac_aes_SOURCES = unit/test-cmac-aes.c \
2015-02-19 04:02:09 +01:00
src/crypto.h src/crypto.c
unit_test_cmac_aes_LDADD = ell/libell-internal.la
unit_test_arc4_SOURCES = unit/test-arc4.c \
2015-02-19 04:11:37 +01:00
src/crypto.h src/crypto.c
unit_test_arc4_LDADD = ell/libell-internal.la
unit_test_hmac_md5_SOURCES = unit/test-hmac-md5.c \
2015-02-19 03:51:54 +01:00
src/crypto.h src/crypto.c
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
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
unit_test_hmac_sha256_LDADD = ell/libell-internal.la
unit_test_pbkdf2_sha1_SOURCES = unit/test-pbkdf2-sha1.c \
2016-02-10 21:32:27 +01:00
src/crypto.h src/crypto.c
unit_test_pbkdf2_sha1_LDADD = ell/libell-internal.la
unit_test_prf_sha1_SOURCES = unit/test-prf-sha1.c \
2016-02-10 21:36:14 +01:00
src/crypto.h src/crypto.c
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
unit_test_ie_SOURCES = unit/test-ie.c src/ie.h src/ie.c
unit_test_ie_LDADD = ell/libell-internal.la
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 \
src/mpdu.h src/mpdu.c
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 \
src/eapol.h src/eapol.c \
src/eap.h src/eap.c \
src/eap-tls.c src/eap-ttls.c
2014-12-19 01:11:12 +01:00
unit_test_eapol_LDADD = ell/libell-internal.la
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
unit_test_ssid_security_SOURCES = unit/test-ssid-security.c src/ie.h src/ie.c \
src/scan.h src/scan.c
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 \
src/crypto.h src/crypto.c \
src/ie.h src/ie.c \
src/eapol.h src/eapol.c \
src/eap.h src/eap.c \
src/util.h src/util.c \
src/eap-wsc.h src/eap-wsc.c
unit_test_wsc_LDADD = ell/libell-internal.la
TESTS = $(unit_tests)
manual_pages = doc/iwmon.1
dist_man_MANS = $(manual_pages)
EXTRA_DIST = $(manual_pages:.1=.txt)
AM_CFLAGS = -fvisibility=hidden
MAINTAINERCLEANFILES = Makefile.in configure config.h.in aclocal.m4
DISTCLEANFILES = $(BUILT_SOURCES) $(unit_tests) $(manual_pages)
BUILT_SOURCES = ell/internal
ell/internal: Makefile
$(AM_V_at)$(MKDIR_P) ell
$(AM_V_GEN)for f in $(ell_sources) ; do \
if [ ! -f $$f ] ; then \
$(LN_S) -t ell -f $(abs_srcdir)/../ell/$$f ; \
fi \
done > $@
$(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 > $@
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 ; \
fi \
done > $@
%.1: %.txt
$(AM_V_GEN)$(A2X) --doctype manpage --format manpage $(srcdir)/$<
maintainer-clean-local:
-rm -rf build-aux ell