dect
/
libnl
Archived
13
0
Fork 0
This repository has been archived on 2022-02-17. You can view files and clone it, but cannot push or open issues or pull requests.
libnl/tests/Makefile.am

55 lines
1.2 KiB
Makefile

# -*- Makefile -*-
EXTRA_DIST = \
util.h
if ENABLE_UNIT_TESTS
AM_CPPFLAGS = -Wall -I${top_srcdir}/include -I${top_builddir}/include -D_GNU_SOURCE -DSYSCONFDIR=\"$(sysconfdir)/libnl\"
LDADD = \
${top_builddir}/lib/libnl-3.la \
${top_builddir}/lib/libnl-nf-3.la \
${top_builddir}/lib/libnl-genl-3.la \
${top_builddir}/lib/libnl-route-3.la \
@CHECK_LIBS@
CFLAGS += @CHECK_CFLAGS@
UNIT_TESTS = check-all
check_PROGRAMS = \
test-create-bond \
test-create-vlan \
test-delete-link \
test-socket-creation \
test-complex-HTB-with-hash-filters \
${UNIT_TESTS}
TESTS = \
${UNIT_TESTS}
if ENABLE_CLI
LDADD += ${top_builddir}/src/lib/libnl-cli-3.la
check_PROGRAMS += \
test-cache-mngr \
test-genl \
test-nf-cache-mngr
endif
test_cache_mngr_SOURCES = test-cache-mngr.c
test_create_bond_SOURCES = test-create-bond.c
test_create_vlan_SOURCES = test-create-vlan.c
test_delete_link_SOURCES = test-delete-link.c
test_genl_SOURCES = test-genl.c
test_nf_cache_mngr_SOURCES = test-nf-cache-mngr.c
test_socket_creation_SOURCES = test-socket-creation.c
test_complex_HTB_with_hash_filters_SOURCES = test-complex-HTB-with-hash-filters.c
# Unit tests
check_all_SOURCES = \
check-all.c \
check-addr.c \
check-attr.c
endif