Commit | Line | Data |
---|---|---|
74130cb7 | 1 | AM_CPPFLAGS = -I$(top_srcdir)/include -I$(top_srcdir)/src |
10a8a223 | 2 | |
26821431 MD |
3 | AUTOMAKE_OPTIONS = subdir-objects |
4 | ||
55d09795 | 5 | SUBDIRS = compat health hashtable kernel-ctl sessiond-comm relayd \ |
c8fea79c JR |
6 | kernel-consumer ust-consumer testpoint index config \ |
7 | consumer | |
10a8a223 DG |
8 | |
9 | AM_CFLAGS = -fno-strict-aliasing | |
10 | ||
0b5fb049 | 11 | noinst_HEADERS = lttng-kernel.h defaults.h macros.h error.h futex.h \ |
331744e3 | 12 | uri.h utils.h lttng-kernel-old.h \ |
c8fea79c | 13 | align.h bitfield.h bug.h |
1c39da61 | 14 | |
00e2e675 | 15 | # Common library |
10a8a223 | 16 | noinst_LTLIBRARIES = libcommon.la |
2f99314e | 17 | EXTRA_DIST = mi_lttng.xsd |
10a8a223 | 18 | |
6242251b | 19 | libcommon_la_SOURCES = error.h error.c utils.c utils.h runas.c runas.h \ |
9fd92637 | 20 | common.h futex.c futex.h uri.c uri.h defaults.c \ |
99ed9c43 | 21 | pipe.c pipe.h readwrite.c readwrite.h \ |
c7e35b03 | 22 | mi-lttng.h mi-lttng.c \ |
7567352f MD |
23 | daemonize.c daemonize.h \ |
24 | sessiond-comm/unix.c sessiond-comm/unix.h | |
25 | ||
c7e35b03 JR |
26 | libcommon_la_LIBADD = \ |
27 | -luuid \ | |
28 | -lrt \ | |
29 | $(top_builddir)/src/common/config/libconfig.la | |
10a8a223 | 30 | |
c49fc5e4 JR |
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 |