-AM_CPPFLAGS = -I$(top_srcdir)/include -I$(top_srcdir)/src
+AM_CPPFLAGS =
bin_PROGRAMS = lttng-consumerd
-lttng_consumerd_SOURCES = lttng-consumerd.c
+lttng_consumerd_SOURCES = lttng-consumerd.c lttng-consumerd.h
lttng_consumerd_LDADD = \
$(top_builddir)/src/common/kernel-ctl/libkernel-ctl.la \
-AM_CPPFLAGS = -I$(top_srcdir)/include -I$(top_srcdir)/src \
- -DINSTALL_BIN_PATH=\""$(bindir)"\" \
+AM_CPPFLAGS = -DINSTALL_BIN_PATH=\""$(bindir)"\" \
-DINSTALL_LIB_PATH=\""$(libdir)"\"
AM_CFLAGS = -fno-strict-aliasing
-AM_CPPFLAGS = -I$(top_srcdir)/include -I$(top_srcdir)/src \
- -DINSTALL_BIN_PATH=\""$(bindir)"\"
+AM_CPPFLAGS = -DINSTALL_BIN_PATH=\""$(bindir)"\"
bin_PROGRAMS = lttng
AM_CFLAGS = -fno-strict-aliasing
+noinst_HEADERS = lttng-share.h lttngerr.h lttng-kernel.h
+
noinst_LTLIBRARIES = libcommon.la
libcommon_la_SOURCES = runas.c runas.h
# Consumer library
noinst_LTLIBRARIES += libconsumer.la
-libconsumer_la_SOURCES = consumer.c
+libconsumer_la_SOURCES = consumer.c consumer.h
libconsumer_la_LIBADD = \
$(top_builddir)/src/common/sessiond-comm/libsessiond-comm.la \
# Kernel consumer library
noinst_LTLIBRARIES = libkernel-consumer.la
-libkernel_consumer_la_SOURCES = kernel-consumer.c
+libkernel_consumer_la_SOURCES = kernel-consumer.c kernel-consumer.h
libkernel_consumer_la_LIBADD = \
$(top_builddir)/src/common/kernel-ctl/libkernel-ctl.la
noinst_LTLIBRARIES = libkernel-ctl.la
-libkernel_ctl_la_SOURCES = kernel-ctl.c kernel-ioctl.h
+libkernel_ctl_la_SOURCES = kernel-ctl.c kernel-ctl.h kernel-ioctl.h
if HAVE_LIBLTTNG_UST_CTL
noinst_LTLIBRARIES = libust-consumer.la
-libust_consumer_la_SOURCES = ust-consumer.c
+libust_consumer_la_SOURCES = ust-consumer.c ust-consumer.h
libust_consumer_la_LIBADD = -llttng-ust-ctl