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
|
|
|
|
|
|
|
|
noinst_LTLIBRARIES = ell/libell-internal.la
|
|
|
|
|
|
|
|
ell_sources = ell/ell.h ell/private.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 \
|
|
|
|
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 \
|
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-23 03:48:11 +02:00
|
|
|
ell/dbus-kernel.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 \
|
|
|
|
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 \
|
|
|
|
ell/hwdb.h ell/hwdb.c
|
2014-04-28 01:12:54 +02:00
|
|
|
|
|
|
|
ell_libell_internal_la_SOURCES = $(ell_sources)
|
|
|
|
|
2014-08-03 06:03:53 +02:00
|
|
|
bin_PROGRAMS = src/iwd client/iwctl monitor/iwmon
|
2014-05-11 19:39:22 +02:00
|
|
|
|
2014-05-21 04:54:16 +02:00
|
|
|
src_iwd_SOURCES = src/main.c linux/nl80211.h linux/kdbus.h \
|
2014-05-21 06:44:13 +02:00
|
|
|
src/kdbus.h src/kdbus.c \
|
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 \
|
2014-12-27 23:20:28 +01:00
|
|
|
src/aes.h src/aes.c \
|
2014-12-27 06:44:04 +01:00
|
|
|
src/md5.h src/md5.c \
|
2014-07-07 14:32:58 +02:00
|
|
|
src/sha1.h src/sha1.c \
|
2014-12-27 06:58:28 +01:00
|
|
|
src/sha256.h src/sha256.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-10-30 06:26:49 +01:00
|
|
|
src/manager.h src/manager.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 \
|
2015-01-12 16:52:37 +01:00
|
|
|
src/scan.h src/scan.c \
|
2014-10-30 06:26:49 +01:00
|
|
|
iwd.h
|
2014-05-11 19:39:22 +02:00
|
|
|
src_iwd_LDADD = ell/libell-internal.la
|
|
|
|
|
2014-05-21 06:45:03 +02:00
|
|
|
client_iwctl_SOURCES = client/main.c linux/kdbus.h \
|
|
|
|
src/kdbus.h src/kdbus.c
|
2014-05-11 19:43:23 +02:00
|
|
|
client_iwctl_LDADD = ell/libell-internal.la
|
|
|
|
|
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 \
|
2014-12-19 01:10:10 +01:00
|
|
|
src/util.h src/util.c \
|
2014-12-28 05:26:18 +01:00
|
|
|
src/sha1.h src/sha1.c \
|
2014-12-28 05:37:39 +01:00
|
|
|
src/md5.h src/md5.c \
|
2014-12-19 01:10:10 +01:00
|
|
|
src/eapol.h src/eapol.c
|
2014-08-03 06:03:53 +02:00
|
|
|
monitor_iwmon_LDADD = ell/libell-internal.la
|
|
|
|
|
2014-08-09 00:40:43 +02:00
|
|
|
noinst_PROGRAMS = tools/hwsim
|
|
|
|
|
|
|
|
tools_hwsim_LDADD = ell/libell-internal.la
|
2014-05-12 01:18:45 +02:00
|
|
|
|
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 \
|
2014-12-27 07:02:13 +01:00
|
|
|
unit/test-pbkdf2-sha1 unit/test-prf-sha1 \
|
|
|
|
unit/test-crypto unit/test-eapol unit/test-mpdu \
|
|
|
|
unit/test-ie unit/test-ssid-to-utf8
|
2014-05-12 01:18:45 +02:00
|
|
|
|
|
|
|
if MAINTAINER_MODE
|
|
|
|
noinst_PROGRAMS += $(unit_tests)
|
|
|
|
endif
|
2014-05-11 20:46:32 +02:00
|
|
|
|
2014-12-27 23:21:41 +01:00
|
|
|
unit_test_cmac_aes_SOURCES = unit/test-cmac-aes.c \
|
|
|
|
src/aes.h src/aes.c
|
|
|
|
unit_test_cmac_aes_LDADD = ell/libell-internal.la
|
|
|
|
|
2014-12-27 07:02:13 +01:00
|
|
|
unit_test_hmac_md5_SOURCES = unit/test-hmac-md5.c \
|
|
|
|
src/md5.h src/md5.c
|
|
|
|
unit_test_hmac_md5_LDADD = ell/libell-internal.la
|
|
|
|
|
|
|
|
unit_test_hmac_sha1_SOURCES = unit/test-hmac-sha1.c \
|
|
|
|
src/sha1.h src/sha1.c
|
|
|
|
unit_test_hmac_sha1_LDADD = ell/libell-internal.la
|
|
|
|
|
|
|
|
unit_test_hmac_sha256_SOURCES = unit/test-hmac-sha256.c \
|
|
|
|
src/sha256.h src/sha256.c
|
|
|
|
unit_test_hmac_sha256_LDADD = ell/libell-internal.la
|
|
|
|
|
2014-05-11 20:46:32 +02:00
|
|
|
unit_test_pbkdf2_sha1_SOURCES = unit/test-pbkdf2-sha1.c \
|
|
|
|
src/sha1.h src/sha1.c
|
|
|
|
unit_test_pbkdf2_sha1_LDADD = ell/libell-internal.la
|
|
|
|
|
|
|
|
unit_test_prf_sha1_SOURCES = unit/test-prf-sha1.c \
|
|
|
|
src/sha1.h src/sha1.c
|
|
|
|
unit_test_prf_sha1_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/sha1.h src/sha1.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/sha1.h src/sha1.c \
|
|
|
|
src/md5.h src/md5.c \
|
|
|
|
src/crypto.h src/crypto.c \
|
2014-12-19 01:11:12 +01:00
|
|
|
src/eapol.h src/eapol.c
|
|
|
|
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
|
|
|
|
|
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
|
|
|
|
|
|
|
|
dist_man_MANS = $(manual_pages)
|
|
|
|
|
|
|
|
EXTRA_DIST = $(manual_pages:.1=.txt)
|
|
|
|
|
2014-04-28 01:12:54 +02:00
|
|
|
AM_CFLAGS = -fvisibility=hidden
|
|
|
|
|
2014-05-11 19:34:39 +02:00
|
|
|
MAINTAINERCLEANFILES = Makefile.in configure config.h.in aclocal.m4
|
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
|
|
|
|
|
|
|
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 $(top_srcdir)/../../ell/$$f ; \
|
|
|
|
fi \
|
|
|
|
done > $@
|
2014-05-11 19:34:39 +02:00
|
|
|
|
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
|