lttng_sessiond_SOURCES = utils.c utils.h \
trace-kernel.c trace-kernel.h \
kernel.c kernel.h \
- ust-ctl.h ust-app.h trace-ust.h notify-apps.h \
+ ust-app.h trace-ust.h notify-apps.h \
+ lttng-ust-ctl.h lttng-ust-abi.h lttng-ust-error.h \
+ ust-ctl-internal.h ust-abi-internal.h ust-error-internal.h \
ust-registry.h \
context.c context.h \
channel.c channel.h \
consumer.c consumer.h \
session.c session.h \
modprobe.c modprobe.h kern-modules.h \
- lttng-ust-ctl.h lttng-ust-abi.h lttng-ust-error.h \
fd-limit.c fd-limit.h \
kernel-consumer.c kernel-consumer.h \
consumer.h \
if HAVE_LIBLTTNG_UST_CTL
-lttng_sessiond_LDADD += -llttng-ust-ctl
+lttng_sessiond_LDADD += $(UST_CTL_LIBS)
endif