-AM_CPPFLAGS = -I$(top_srcdir)/include -I$(top_srcdir)/src
EXTRA_DIST = test_event_basic test_all_events test_syscall \
test_clock_override test_rotation_destroy_flush \
- test_select_poll_epoll
+ test_select_poll_epoll test_lttng_logger \
+ test_userspace_probe test_callstack \
+ test_syscall validate_select_poll_epoll.py
noinst_PROGRAMS = select_poll_epoll
select_poll_epoll_SOURCES = select_poll_epoll.c
-select_poll_epoll_LDADD = -lpthread -lpopt
-select_poll_epoll_CFLAGS = -fno-stack-protector -D_FORTIFY_SOURCE=0
+select_poll_epoll_LDADD = $(POPT_LIBS)
+select_poll_epoll_CFLAGS = $(POPT_CFLAGS) -fno-stack-protector -D_FORTIFY_SOURCE=0 $(AM_CFLAGS)
all-local:
@if [ x"$(srcdir)" != x"$(builddir)" ]; then \