1 # SPDX-License-Identifier: GPL-2.0-only
4 EXTRA_DIST = test_all_events \
12 test_ns_contexts_change \
13 test_rotation_destroy_flush \
14 test_select_poll_epoll \
16 test_userspace_probe \
17 validate_select_poll_epoll.py
19 noinst_PROGRAMS = select_poll_epoll
20 select_poll_epoll_SOURCES = select_poll_epoll.cpp
21 select_poll_epoll_LDADD = $(POPT_LIBS) $(top_builddir)/src/common/libcommon-lgpl.la
22 select_poll_epoll_CPPFLAGS = $(POPT_CFLAGS) $(AM_CPPFLAGS)
23 # Disable stack protection, the test overflows the stack to test the poll/epoll syscalls
24 select_poll_epoll_CXXFLAGS = -fno-stack-protector $(AM_CXXFLAGS)
27 @if [ x"$(srcdir)" != x"$(builddir)" ]; then \
28 for script in $(EXTRA_DIST); do \
29 cp -f $(srcdir)/$$script $(builddir); \
34 @if [ x"$(srcdir)" != x"$(builddir)" ]; then \
35 for script in $(EXTRA_DIST); do \
36 rm -f $(builddir)/$$script; \