Fix: libc internal mutex races with run_as
[lttng-tools.git] / src / common / Makefile.am
CommitLineData
74130cb7 1AM_CPPFLAGS = -I$(top_srcdir)/include -I$(top_srcdir)/src
10a8a223 2
55d09795 3SUBDIRS = compat health hashtable kernel-ctl sessiond-comm relayd \
bac6245e 4 kernel-consumer ust-consumer testpoint index config
10a8a223
DG
5
6AM_CFLAGS = -fno-strict-aliasing
7
0b5fb049 8noinst_HEADERS = lttng-kernel.h defaults.h macros.h error.h futex.h \
331744e3 9 uri.h utils.h lttng-kernel-old.h \
2d57de81 10 consumer-metadata-cache.h consumer-timer.h \
0618d922 11 consumer-testpoint.h align.h bitfield.h bug.h
1c39da61 12
00e2e675 13# Common library
10a8a223 14noinst_LTLIBRARIES = libcommon.la
2f99314e 15EXTRA_DIST = mi_lttng.xsd
10a8a223 16
6242251b 17libcommon_la_SOURCES = error.h error.c utils.c utils.h runas.c runas.h \
9fd92637 18 common.h futex.c futex.h uri.c uri.h defaults.c \
99ed9c43 19 pipe.c pipe.h readwrite.c readwrite.h \
c7e35b03 20 mi-lttng.h mi-lttng.c \
7567352f
MD
21 daemonize.c daemonize.h \
22 sessiond-comm/unix.c sessiond-comm/unix.h
23
c7e35b03
JR
24libcommon_la_LIBADD = \
25 -luuid \
26 -lrt \
27 $(top_builddir)/src/common/config/libconfig.la
10a8a223
DG
28
29# Consumer library
30noinst_LTLIBRARIES += libconsumer.la
31
331744e3 32libconsumer_la_SOURCES = consumer.c consumer.h consumer-metadata-cache.c \
51230d70 33 consumer-timer.c consumer-stream.c consumer-stream.h
10a8a223
DG
34
35libconsumer_la_LIBADD = \
36 $(top_builddir)/src/common/sessiond-comm/libsessiond-comm.la \
37 $(top_builddir)/src/common/kernel-consumer/libkernel-consumer.la \
b9182dd9 38 $(top_builddir)/src/common/hashtable/libhashtable.la \
00e2e675
DG
39 $(top_builddir)/src/common/compat/libcompat.la \
40 $(top_builddir)/src/common/relayd/librelayd.la
10a8a223
DG
41
42if HAVE_LIBLTTNG_UST_CTL
43libconsumer_la_LIBADD += \
44 $(top_builddir)/src/common/ust-consumer/libust-consumer.la
45endif
c49fc5e4
JR
46
47all-local:
48 @if [ x"$(srcdir)" != x"$(builddir)" ]; then \
49 for script in $(EXTRA_DIST); do \
50 cp -f $(srcdir)/$$script $(builddir); \
51 done; \
52 fi
53
54clean-local:
55 @if [ x"$(srcdir)" != x"$(builddir)" ]; then \
56 for script in $(EXTRA_DIST); do \
57 rm -f $(builddir)/$$script; \
58 done; \
59 fi
This page took 0.037347 seconds and 4 git commands to generate.