Move libconsumer under common/consumer/
[lttng-tools.git] / src / common / Makefile.am
... / ...
CommitLineData
1AM_CPPFLAGS = -I$(top_srcdir)/include -I$(top_srcdir)/src
2
3AUTOMAKE_OPTIONS = subdir-objects
4
5SUBDIRS = compat health hashtable kernel-ctl sessiond-comm relayd \
6 kernel-consumer ust-consumer testpoint index config \
7 consumer
8
9AM_CFLAGS = -fno-strict-aliasing
10
11noinst_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
16noinst_LTLIBRARIES = libcommon.la
17EXTRA_DIST = mi_lttng.xsd
18
19libcommon_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
26libcommon_la_LIBADD = \
27 -luuid \
28 -lrt \
29 $(top_builddir)/src/common/config/libconfig.la
30
31all-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
38clean-local:
39 @if [ x"$(srcdir)" != x"$(builddir)" ]; then \
40 for script in $(EXTRA_DIST); do \
41 rm -f $(builddir)/$$script; \
42 done; \
43 fi
This page took 0.022714 seconds and 4 git commands to generate.