| 1 | AM_CPPFLAGS = -I$(top_srcdir)/include -I$(top_srcdir)/src |
| 2 | |
| 3 | AUTOMAKE_OPTIONS = subdir-objects |
| 4 | |
| 5 | SUBDIRS = compat health hashtable kernel-ctl sessiond-comm relayd \ |
| 6 | kernel-consumer ust-consumer testpoint index config \ |
| 7 | consumer |
| 8 | |
| 9 | AM_CFLAGS = -fno-strict-aliasing |
| 10 | |
| 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 |
| 14 | |
| 15 | # Common library |
| 16 | noinst_LTLIBRARIES = libcommon.la |
| 17 | EXTRA_DIST = mi_lttng.xsd |
| 18 | |
| 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 |
| 25 | |
| 26 | libcommon_la_LIBADD = \ |
| 27 | -luuid \ |
| 28 | -lrt \ |
| 29 | $(top_builddir)/src/common/config/libconfig.la |
| 30 | |
| 31 | all-local: |
| 32 | @if [ x"$(srcdir)" != x"$(builddir)" ]; then \ |
| 33 | for script in $(EXTRA_DIST); do \ |
| 34 | cp -f $(srcdir)/$$script $(builddir); \ |
| 35 | done; \ |
| 36 | fi |
| 37 | |
| 38 | clean-local: |
| 39 | @if [ x"$(srcdir)" != x"$(builddir)" ]; then \ |
| 40 | for script in $(EXTRA_DIST); do \ |
| 41 | rm -f $(builddir)/$$script; \ |
| 42 | done; \ |
| 43 | fi |