X-Git-Url: http://git.efficios.com/?p=lttng-tools.git;a=blobdiff_plain;f=tests%2Fregression%2Fkernel%2FMakefile.am;h=169267adb2c18291b2a45657c3abc7e62fb5f2d7;hp=5cfe81e3f8413e7b213107bfc90d29fe4a750aab;hb=f62a387121da010bde3f50b1276cb7c1139321d1;hpb=9ac429ef32142eaecfec2d1a44569464c4f8f721 diff --git a/tests/regression/kernel/Makefile.am b/tests/regression/kernel/Makefile.am index 5cfe81e3f..169267adb 100644 --- a/tests/regression/kernel/Makefile.am +++ b/tests/regression/kernel/Makefile.am @@ -1,22 +1,25 @@ -AM_CFLAGS = -I$(top_srcdir)/include -I$(top_srcdir)/src -I$(top_srcdir)/tests/utils -g -Wall -AM_LDFLAGS = -lurcu -lurcu-cds +EXTRA_DIST = test_event_basic test_all_events test_syscall \ + test_clock_override test_rotation_destroy_flush \ + test_select_poll_epoll test_lttng_logger \ + test_userspace_probe test_callstack \ + test_syscall validate_select_poll_epoll.py \ + test_ns_contexts -EXTRA_DIST = runall.sh run-kernel-tests.sh +noinst_PROGRAMS = select_poll_epoll +select_poll_epoll_SOURCES = select_poll_epoll.c +select_poll_epoll_LDADD = $(POPT_LIBS) +select_poll_epoll_CFLAGS = $(POPT_CFLAGS) -fno-stack-protector -D_FORTIFY_SOURCE=0 $(AM_CFLAGS) -noinst_PROGRAMS = kernel_all_events_basic kernel_event_basic +all-local: + @if [ x"$(srcdir)" != x"$(builddir)" ]; then \ + for script in $(EXTRA_DIST); do \ + cp -f $(srcdir)/$$script $(builddir); \ + done; \ + fi -UTILS=$(top_srcdir)/tests/utils/utils.h -LIBLTTNG=$(top_builddir)/src/lib/lttng-ctl/liblttng-ctl.la - -SESSIONDSRC=$(top_srcdir)/src/common/sessiond-comm/sessiond-comm.c \ - $(top_srcdir)/src/common/sessiond-comm/unix.c \ - $(top_srcdir)/src/common/sessiond-comm/inet.c \ - $(top_srcdir)/src/common/sessiond-comm/inet6.c - -kernel_all_events_basic_SOURCES = kernel_all_events_basic.c $(UTILS) \ - $(SESSIONDSRC) -kernel_all_events_basic_LDADD = $(LIBLTTNG) - -kernel_event_basic_SOURCES = kernel_event_basic.c $(UTILS) \ - $(SESSIONDSRC) -kernel_event_basic_LDADD = $(LIBLTTNG) +clean-local: + @if [ x"$(srcdir)" != x"$(builddir)" ]; then \ + for script in $(EXTRA_DIST); do \ + rm -f $(builddir)/$$script; \ + done; \ + fi