X-Git-Url: https://git.lttng.org/?p=lttng-tools.git;a=blobdiff_plain;f=lttng-sessiond%2FMakefile.am;h=7f97d9d2f7e5486c506346320745cefde6453e47;hp=78179bd7abae946d5692620a56e809dda17b5119;hb=55bed2138489dd1bfc43726e0ce71f7d5ee6d62c;hpb=322585731ced1adba36cddcb8bdd5d997d1b2e3e diff --git a/lttng-sessiond/Makefile.am b/lttng-sessiond/Makefile.am index 78179bd7a..7f97d9d2f 100644 --- a/lttng-sessiond/Makefile.am +++ b/lttng-sessiond/Makefile.am @@ -1,5 +1,6 @@ AM_CPPFLAGS = -I$(top_srcdir)/include \ - -DINSTALL_BIN_PATH=\""$(bindir)"\" + -DINSTALL_BIN_PATH=\""$(bindir)"\" \ + -DINSTALL_LIB_PATH=\""$(libdir)"\" AM_CFLAGS = -fno-strict-aliasing @@ -15,7 +16,7 @@ lttng_sessiond_SOURCES = utils.c utils.h \ hashtable.c hashtable.h \ compat/poll.h $(COMPAT) \ trace-kernel.c trace-kernel.h \ - kernel-ctl.c kernel-ctl.h \ + kernel.c kernel.h \ ust-ctl.h ust-app.h trace-ust.h \ context.c context.h \ channel.c channel.h \ @@ -27,7 +28,7 @@ lttng_sessiond_SOURCES = utils.c utils.h \ ../hashtable/rculfhash.h \ ../hashtable/hash.c ../hashtable/hash.h -if LTTNG_TOOLS_HAVE_UST +if HAVE_LIBLTTNG_UST_CTL lttng_sessiond_SOURCES += trace-ust.c ust-app.c ust-consumer.c ust-consumer.h endif @@ -35,11 +36,11 @@ endif lttng_sessiond_SOURCES += lttng-sessiond.h main.c # link on liblttngctl for check if sessiond is already alive. -lttng_sessiond_LDADD = -lrt -lurcu-cds -lurcu \ +lttng_sessiond_LDADD = -lrt -lurcu-common -lurcu \ $(top_builddir)/liblttng-sessiond-comm/liblttng-sessiond-comm.la \ $(top_builddir)/libkernelctl/libkernelctl.la \ $(top_builddir)/liblttngctl/liblttngctl.la -if LTTNG_TOOLS_HAVE_UST -lttng_sessiond_LDADD += -llttng-ust-comm -lustctl +if HAVE_LIBLTTNG_UST_CTL +lttng_sessiond_LDADD += -llttng-ust-ctl endif