Revert FreeBSD compatibility layer
[lttng-tools.git] / src / common / Makefile.am
... / ...
CommitLineData
1AM_CPPFLAGS =
2
3SUBDIRS = hashtable kernel-ctl sessiond-comm kernel-consumer ust-consumer
4
5AM_CFLAGS = -fno-strict-aliasing
6
7noinst_HEADERS = lttng-kernel.h defaults.h macros.h error.h
8
9noinst_LTLIBRARIES = libcommon.la
10
11libcommon_la_SOURCES = runas.c runas.h common.h
12
13# Consumer library
14noinst_LTLIBRARIES += libconsumer.la
15
16libconsumer_la_SOURCES = consumer.c consumer.h
17
18libconsumer_la_LIBADD = \
19 $(top_builddir)/src/common/sessiond-comm/libsessiond-comm.la \
20 $(top_builddir)/src/common/kernel-consumer/libkernel-consumer.la \
21 $(top_builddir)/src/common/hashtable/libhashtable.la
22
23if HAVE_LIBLTTNG_UST_CTL
24libconsumer_la_LIBADD += \
25 $(top_builddir)/src/common/ust-consumer/libust-consumer.la
26endif
27
28if COMPAT_EPOLL
29COMPAT=compat/compat-epoll.c
30else
31COMPAT=compat/compat-poll.c
32endif
33
34noinst_LTLIBRARIES += libcompat.la
35
36libcompat_la_SOURCES = compat/poll.h $(COMPAT)
This page took 0.022244 seconds and 4 git commands to generate.