mirror of
https://git.kernel.org/pub/scm/network/wireless/iwd.git
synced 2024-11-25 01:19:23 +01:00
81 lines
2.0 KiB
Makefile
81 lines
2.0 KiB
Makefile
|
|
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/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 \
|
|
ell/dbus-util.c \
|
|
ell/dbus-message.c \
|
|
ell/dbus-service.h ell/dbus-service.c \
|
|
ell/gvariant-private.h \
|
|
ell/gvariant-util.c
|
|
|
|
ell_libell_internal_la_SOURCES = $(ell_sources)
|
|
|
|
bin_PROGRAMS = src/iwd client/iwctl
|
|
|
|
src_iwd_SOURCES = src/main.c linux/nl80211.h linux/kdbus.h \
|
|
src/kdbus.h src/kdbus.c \
|
|
src/sha1.h src/sha1.c
|
|
src_iwd_LDADD = ell/libell-internal.la
|
|
|
|
client_iwctl_SOURCES = client/main.c linux/kdbus.h \
|
|
src/kdbus.h src/kdbus.c
|
|
client_iwctl_LDADD = ell/libell-internal.la
|
|
|
|
noinst_PROGRAMS =
|
|
|
|
unit_tests = unit/test-pbkdf2-sha1 unit/test-prf-sha1
|
|
|
|
if MAINTAINER_MODE
|
|
noinst_PROGRAMS += $(unit_tests)
|
|
endif
|
|
|
|
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
|
|
|
|
TESTS = $(unit_tests)
|
|
|
|
AM_CFLAGS = -fvisibility=hidden
|
|
|
|
MAINTAINERCLEANFILES = Makefile.in configure config.h.in aclocal.m4
|
|
|
|
DISTCLEANFILES = $(BUILT_SOURCES) $(unit_tests)
|
|
|
|
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 > $@
|
|
|
|
maintainer-clean-local:
|
|
-rm -rf build-aux ell
|