File: Makefile.am

package info (click to toggle)
mptcpd 0.14-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 3,612 kB
  • sloc: ansic: 9,472; sh: 5,154; makefile: 467; cpp: 61
file content (38 lines) | stat: -rw-r--r-- 1,080 bytes parent folder | download | duplicates (3)
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
## SPDX-License-Identifier: BSD-3-Clause
##
## Copyright (c) 2022, Intel Corporation

include $(top_srcdir)/aminclude_static.am

AM_CPPFLAGS =				\
	-I$(top_srcdir)/include		\
	-I$(top_builddir)/include	\
	$(CODE_COVERAGE_CPPFLAGS)

AM_CFLAGS = $(ELL_CFLAGS) $(CODE_COVERAGE_CFLAGS)

## -rpath is needed to force a DSO to be built when listing Libtool
## modules in the Automake check_LTLIBRARIES variable.  Otherwise a
## convenience library would be built instead.
AM_LDFLAGS =			\
	-no-undefined		\
	-module			\
	-avoid-version		\
	$(ELL_LIBS)		\
	-rpath $(abs_builddir)

## For mptcpd tests that require a plugin without testing the plugin
## itself.  The plugin will be a no-op in this case.
check_LTLIBRARIES = no_name.la no_symbol.la failed_init.la

no_name_la_SOURCES = no_name.c
no_name_la_LIBADD = $(CODE_COVERAGE_LIBS)

no_symbol_la_SOURCES = no_symbol.c
no_symbol_la_LIBADD = $(CODE_COVERAGE_LIBS)

failed_init_la_SOURCES = failed_init.c
failed_init_la_LIBADD = $(CODE_COVERAGE_LIBS)

# Clean up code coverage related generated files.
clean-local: code-coverage-clean