1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52
|
## SPDX-License-Identifier: BSD-3-Clause
##
## Copyright (c) 2017-2019, Intel Corporation
include $(top_srcdir)/aminclude_static.am
MPTCPD_PLUGIN_CPPFLAGS = \
-I$(top_srcdir)/include -I$(top_builddir)/include
pkglib_LTLIBRARIES = addr_adv.la sspi.la
sspi_la_SOURCES = sspi.c
sspi_la_CPPFLAGS = $(MPTCPD_PLUGIN_CPPFLAGS) $(CODE_COVERAGE_CPPFLAGS)
sspi_la_CFLAGS = \
$(ELL_CFLAGS) \
$(MPTCPD_PLUGIN_CFLAGS) \
$(CODE_COVERAGE_CFLAGS)
sspi_la_LDFLAGS = \
-no-undefined \
-module \
-avoid-version \
$(ELL_LIBS)
sspi_la_LIBADD = \
$(top_builddir)/lib/libmptcpd.la \
$(CODE_COVERAGE_LIBS)
addr_adv_la_SOURCES = addr_adv.c
addr_adv_la_CPPFLAGS = $(MPTCPD_PLUGIN_CPPFLAGS) $(CODE_COVERAGE_CPPFLAGS)
addr_adv_la_CFLAGS = \
$(ELL_CFLAGS) \
$(MPTCPD_PLUGIN_CFLAGS) \
$(CODE_COVERAGE_CFLAGS)
addr_adv_la_LDFLAGS = \
-no-undefined \
-module \
-avoid-version \
$(ELL_LIBS)
addr_adv_la_LIBADD = \
$(top_builddir)/lib/libmptcpd.la \
$(CODE_COVERAGE_LIBS)
# Make sure mptcpd plugin directory is not world writable.
install-exec-local: installdirs
chmod o-w $(DESTDIR)$(pkglibdir)
install-exec-hook: installcheck-local
installcheck-local:
$(top_srcdir)/scripts/check-permissions $(DESTDIR)$(pkglibdir)
# Clean up code coverage related generated files.
clean-local: code-coverage-clean
|