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 \
|
|
|
|
ell/netlink.h ell/netlink.c \
|
|
|
|
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 \
|
|
|
|
ell/gvariant-private.h \
|
2014-05-21 06:52:35 +02:00
|
|
|
ell/gvariant-util.c
|
2014-04-28 01:12:54 +02:00
|
|
|
|
|
|
|
ell_libell_internal_la_SOURCES = $(ell_sources)
|
|
|
|
|
2014-05-11 19:43:23 +02:00
|
|
|
bin_PROGRAMS = src/iwd client/iwctl
|
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-05-21 04:54:16 +02:00
|
|
|
src/sha1.h src/sha1.c
|
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-05-12 01:18:45 +02:00
|
|
|
noinst_PROGRAMS =
|
|
|
|
|
|
|
|
unit_tests = unit/test-pbkdf2-sha1 unit/test-prf-sha1
|
|
|
|
|
|
|
|
if MAINTAINER_MODE
|
|
|
|
noinst_PROGRAMS += $(unit_tests)
|
|
|
|
endif
|
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-05-12 01:18:45 +02:00
|
|
|
TESTS = $(unit_tests)
|
2014-05-11 20:46:32 +02:00
|
|
|
|
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-05-12 04:27:23 +02:00
|
|
|
DISTCLEANFILES = $(BUILT_SOURCES) $(unit_tests)
|
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
|
|
|
|
|
|
|
maintainer-clean-local:
|
|
|
|
-rm -rf build-aux ell
|