Add hello-many to gitignore
[lttng-ust.git] / liblttng-ust / Makefile.am
... / ...
CommitLineData
1AM_CPPFLAGS = -I$(top_srcdir)/include -I$(top_builddir)/include
2AM_CFLAGS += -fno-strict-aliasing
3
4noinst_LTLIBRARIES = liblttng-ust-runtime.la liblttng-ust-support.la
5
6lib_LTLIBRARIES = liblttng-ust-tracepoint.la liblttng-ust.la
7
8liblttng_ust_tracepoint_la_SOURCES = \
9 tracepoint.c \
10 tracepoint-weak-test.c \
11 tracepoint-internal.h \
12 lttng-tracer-core.h \
13 jhash.h \
14 error.h
15liblttng_ust_tracepoint_la_LIBADD = \
16 -lurcu-bp \
17 -lpthread \
18 $(top_builddir)/snprintf/libustsnprintf.la
19liblttng_ust_tracepoint_la_LDFLAGS = -no-undefined -version-info $(LTTNG_UST_LIBRARY_VERSION)
20liblttng_ust_tracepoint_la_CFLAGS = -DUST_COMPONENT="liblttng_ust_tracepoint" $(AM_CFLAGS)
21
22if LTTNG_UST_BUILD_WITH_LIBDL
23liblttng_ust_tracepoint_la_LIBADD += -ldl
24endif
25if LTTNG_UST_BUILD_WITH_LIBC_DL
26liblttng_ust_tracepoint_la_LIBADD += -lc
27endif
28
29liblttng_ust_runtime_la_SOURCES = \
30 lttng-ust-comm.c \
31 lttng-ust-abi.c \
32 lttng-probes.c \
33 lttng-context-provider.c \
34 lttng-context-vtid.c \
35 lttng-context-vpid.c \
36 lttng-context-pthread-id.c \
37 lttng-context-procname.c \
38 lttng-context-ip.c \
39 lttng-context-cpu-id.c \
40 lttng-context.c \
41 lttng-events.c \
42 lttng-filter.c \
43 lttng-filter.h \
44 lttng-filter-validator.c \
45 lttng-filter-specialize.c \
46 lttng-filter-interpreter.c \
47 filter-bytecode.h \
48 lttng-hash-helper.h \
49 lttng-ust-elf.c \
50 lttng-ust-statedump.c \
51 lttng-ust-statedump.h \
52 lttng-ust-statedump-provider.h \
53 ust_lib.c \
54 ust_lib.h \
55 tracepoint-internal.h \
56 clock.h \
57 compat.h \
58 wait.h \
59 jhash.h \
60 lttng-ust-uuid.h \
61 error.h \
62 tracef.c \
63 lttng-ust-tracef-provider.h \
64 tracelog.c \
65 lttng-ust-tracelog-provider.h \
66 getenv.h \
67 string-utils.c \
68 string-utils.h
69
70liblttng_ust_runtime_la_CFLAGS = -DLTTNG_UST_LIBRARY_VERSION_MAJOR=\"$(LTTNG_UST_LIBRARY_VERSION_MAJOR)\"
71
72if HAVE_PERF_EVENT
73liblttng_ust_runtime_la_SOURCES += \
74 lttng-context-perf-counters.c \
75 perf_event.h
76endif
77
78liblttng_ust_support_la_SOURCES = \
79 lttng-tracer.h \
80 lttng-tracer-core.h \
81 ust-core.c \
82 getenv.h \
83 getenv.c \
84 lttng-ust-dynamic-type.c \
85 lttng-rb-clients.h \
86 lttng-ring-buffer-client.h \
87 lttng-ring-buffer-client-discard.c \
88 lttng-ring-buffer-client-discard-rt.c \
89 lttng-ring-buffer-client-overwrite.c \
90 lttng-ring-buffer-client-overwrite-rt.c \
91 lttng-ring-buffer-metadata-client.h \
92 lttng-ring-buffer-metadata-client.c \
93 lttng-clock.c lttng-getcpu.c
94
95liblttng_ust_la_SOURCES =
96
97liblttng_ust_la_LDFLAGS = -no-undefined -version-info $(LTTNG_UST_LIBRARY_VERSION)
98
99liblttng_ust_support_la_LIBADD = \
100 $(top_builddir)/libringbuffer/libringbuffer.la
101
102liblttng_ust_la_LIBADD = \
103 -lpthread \
104 -lrt \
105 -lurcu-cds \
106 $(top_builddir)/snprintf/libustsnprintf.la \
107 $(top_builddir)/liblttng-ust-comm/liblttng-ust-comm.la \
108 liblttng-ust-tracepoint.la \
109 liblttng-ust-runtime.la liblttng-ust-support.la
110
111if LTTNG_UST_BUILD_WITH_LIBDL
112liblttng_ust_la_LIBADD += -ldl
113endif
114if LTTNG_UST_BUILD_WITH_LIBC_DL
115liblttng_ust_la_LIBADD += -lc
116endif
117
118liblttng_ust_la_CFLAGS = -DUST_COMPONENT="liblttng_ust" $(AM_CFLAGS)
This page took 0.023726 seconds and 5 git commands to generate.