1 AM_CPPFLAGS = -I$(top_srcdir)/include -I$(top_srcdir)/src
3 AUTOMAKE_OPTIONS = subdir-objects
5 SUBDIRS = compat health hashtable kernel-ctl sessiond-comm relayd \
6 kernel-consumer ust-consumer testpoint index config \
9 AM_CFLAGS = -fno-strict-aliasing
11 noinst_HEADERS = lttng-kernel.h defaults.h macros.h error.h futex.h \
12 uri.h utils.h lttng-kernel-old.h \
13 align.h bitfield.h bug.h
16 noinst_LTLIBRARIES = libcommon.la
17 EXTRA_DIST = mi_lttng.xsd
19 libcommon_la_SOURCES = error.h error.c utils.c utils.h runas.c runas.h \
20 common.h futex.c futex.h uri.c uri.h defaults.c \
21 pipe.c pipe.h readwrite.c readwrite.h \
22 mi-lttng.h mi-lttng.c \
23 daemonize.c daemonize.h \
24 sessiond-comm/unix.c sessiond-comm/unix.h
26 libcommon_la_LIBADD = \
29 $(top_builddir)/src/common/config/libconfig.la
32 @if [ x"$(srcdir)" != x"$(builddir)" ]; then \
33 for script in $(EXTRA_DIST); do \
34 cp -f $(srcdir)/$$script $(builddir); \
39 @if [ x"$(srcdir)" != x"$(builddir)" ]; then \
40 for script in $(EXTRA_DIST); do \
41 rm -f $(builddir)/$$script; \