| 1 | # SPDX-License-Identifier: GPL-2.0-only |
| 2 | |
| 3 | |
| 4 | EXTRA_DIST = test_all_events \ |
| 5 | test_callstack \ |
| 6 | test_channel \ |
| 7 | test_clock_override \ |
| 8 | test_event_basic \ |
| 9 | test_kernel_function \ |
| 10 | test_lttng_logger \ |
| 11 | test_ns_contexts \ |
| 12 | test_ns_contexts_change \ |
| 13 | test_rotation_destroy_flush \ |
| 14 | test_select_poll_epoll \ |
| 15 | test_syscall \ |
| 16 | test_userspace_probe \ |
| 17 | validate_select_poll_epoll.py |
| 18 | |
| 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) |
| 25 | |
| 26 | all-local: |
| 27 | @if [ x"$(srcdir)" != x"$(builddir)" ]; then \ |
| 28 | for script in $(EXTRA_DIST); do \ |
| 29 | cp -f $(srcdir)/$$script $(builddir); \ |
| 30 | done; \ |
| 31 | fi |
| 32 | |
| 33 | clean-local: |
| 34 | @if [ x"$(srcdir)" != x"$(builddir)" ]; then \ |
| 35 | for script in $(EXTRA_DIST); do \ |
| 36 | rm -f $(builddir)/$$script; \ |
| 37 | done; \ |
| 38 | fi |