-ltt_sessiond_SOURCES = utils.c trace.c session.c traceable-app.c ust-ctl.c \
- kernel-ctl.c context.c futex.c futex.h \
- utils.h trace.h session.h traceable-app.h ust-ctl.h \
+if COMPAT_EPOLL
+COMPAT=compat/compat-epoll.c
+else
+COMPAT=compat/compat-poll.c
+endif
+
+ltt_sessiond_SOURCES = utils.c utils.h \
+ compat/poll.h $(COMPAT) \
+ trace-kernel.c trace-kernel.h \
+ trace-ust.c trace-ust.h \
+ traceable-app.c traceable-app.h \