Add git-review config
[lttng-tools.git] / src / common / Makefile.am
... / ...
CommitLineData
1AUTOMAKE_OPTIONS = subdir-objects
2
3SUBDIRS = string-utils
4
5# Make sure to always distribute all folders
6# since SUBDIRS is decided at configure time.
7DIST_SUBDIRS = \
8 compat \
9 health \
10 hashtable \
11 kernel-ctl \
12 sessiond-comm \
13 relayd \
14 kernel-consumer \
15 ust-consumer \
16 testpoint \
17 index \
18 config \
19 consumer \
20 string-utils \
21 fd-tracker
22
23# Common library
24noinst_LTLIBRARIES = libcommon.la
25EXTRA_DIST = mi-lttng-3.0.xsd
26
27libcommon_la_SOURCES = \
28 action.c \
29 buffer-usage.c \
30 buffer-view.h buffer-view.c \
31 common.h \
32 condition.c \
33 context.c context.h \
34 credentials.h \
35 daemonize.c daemonize.h \
36 defaults.c \
37 dynamic-array.c dynamic-array.h \
38 dynamic-buffer.c dynamic-buffer.h \
39 endpoint.c \
40 error.c error.h \
41 evaluation.c \
42 event.c \
43 filter.c filter.h \
44 futex.c futex.h \
45 location.c \
46 mi-lttng.c mi-lttng.h \
47 notification.c \
48 notify.c \
49 optional.h \
50 pipe.c pipe.h \
51 readwrite.c readwrite.h \
52 runas.c runas.h \
53 session-consumed-size.c \
54 session-descriptor.c \
55 session-rotation.c \
56 time.c \
57 trace-chunk.c trace-chunk.h \
58 trace-chunk-registry.h \
59 trigger.c \
60 unix.c unix.h \
61 uri.c uri.h \
62 userspace-probe.c \
63 utils.c utils.h \
64 uuid.c uuid.h \
65 waiter.c waiter.h
66
67if HAVE_ELF_H
68libcommon_la_SOURCES += \
69 lttng-elf.c lttng-elf.h
70endif
71
72libcommon_la_LIBADD = \
73 $(top_builddir)/src/common/config/libconfig.la \
74 $(top_builddir)/src/common/compat/libcompat.la \
75 $(top_builddir)/src/common/hashtable/libhashtable.la
76
77if BUILD_LIB_COMPAT
78SUBDIRS += compat
79endif
80
81if BUILD_LIB_HEALTH
82SUBDIRS += health
83endif
84
85if BUILD_LIB_HASHTABLE
86SUBDIRS += hashtable
87endif
88
89if BUILD_LIB_KERNEL_CTL
90SUBDIRS += kernel-ctl
91endif
92
93if BUILD_LIB_SESSIOND_COMM
94SUBDIRS += sessiond-comm
95endif
96
97if BUILD_LIB_RELAYD
98SUBDIRS += relayd fd-tracker
99endif
100
101if BUILD_LIB_KERNEL_CONSUMER
102SUBDIRS += kernel-consumer
103endif
104
105if BUILD_LIB_UST_CONSUMER
106SUBDIRS += ust-consumer
107endif
108
109if BUILD_LIB_TESTPOINT
110SUBDIRS += testpoint
111endif
112
113if BUILD_LIB_INDEX
114SUBDIRS += index
115endif
116
117if BUILD_LIB_CONFIG
118SUBDIRS += config
119endif
120
121if BUILD_LIB_CONSUMER
122SUBDIRS += consumer
123endif
124
125noinst_HEADERS = \
126 align.h \
127 bug.h \
128 defaults.h \
129 error.h \
130 futex.h \
131 lttng-kernel.h \
132 lttng-kernel-old.h \
133 macros.h \
134 time.h \
135 uri.h \
136 utils.h
137
138all-local:
139 @if [ x"$(srcdir)" != x"$(builddir)" ]; then \
140 for script in $(EXTRA_DIST); do \
141 cp -f $(srcdir)/$$script $(builddir); \
142 done; \
143 fi
144
145clean-local:
146 @if [ x"$(srcdir)" != x"$(builddir)" ]; then \
147 for script in $(EXTRA_DIST); do \
148 rm -f $(builddir)/$$script; \
149 done; \
150 fi
This page took 0.022396 seconds and 4 git commands to generate.