Fix linking failure when cross-compiling
[lttng-ust.git] / liblttng-ust / Makefile.am
CommitLineData
b6e4919f 1AM_CPPFLAGS = -I$(top_srcdir)/include -I$(top_builddir)/include
16c83055 2AM_CFLAGS = -fno-strict-aliasing
55355fa5 3
c1fca457
MD
4noinst_LTLIBRARIES = liblttng-ust-runtime.la liblttng-ust-support.la
5
8792fbae
MD
6lib_LTLIBRARIES = liblttng-ust-tracepoint.la liblttng-ust.la
7
8liblttng_ust_tracepoint_la_SOURCES = \
9 tracepoint.c \
10 tracepoint-internal.h \
7dd08bec 11 lttng-tracer-core.h \
8792fbae
MD
12 jhash.h \
13 error.h
14liblttng_ust_tracepoint_la_LIBADD = \
2723b9e6
MD
15 -lurcu-bp \
16 $(top_builddir)/snprintf/libustsnprintf.la
8792fbae
MD
17liblttng_ust_tracepoint_la_LDFLAGS = -no-undefined -version-info $(LTTNG_UST_LIBRARY_VERSION)
18liblttng_ust_tracepoint_la_CFLAGS = -DUST_COMPONENT="liblttng_ust_tracepoint" -fno-strict-aliasing
c7dc133c 19
c1fca457 20liblttng_ust_runtime_la_SOURCES = \
5e96a467 21 lttng-ust-comm.c \
c1fca457 22 lttng-ust-abi.c \
7dd08bec 23 lttng-probes.c \
3b402b40 24 lttng-context-vtid.c \
c1ef86f0 25 lttng-context-vpid.c \
8173ec7c 26 lttng-context-pthread-id.c \
4847e9bb 27 lttng-context-procname.c \
96f85541 28 lttng-context-ip.c \
7dd08bec
MD
29 lttng-context.c \
30 lttng-events.c \
2d78951a 31 lttng-filter.c \
b9d1a008 32 lttng-filter.h \
97b58163
MD
33 lttng-filter-validator.c \
34 lttng-filter-specialize.c \
35 lttng-filter-interpreter.c \
cd54f6d9 36 filter-bytecode.h \
bf956ec0 37 lttng-hash-helper.h \
394598c1
MD
38 lttng-ust-baddr.c \
39 lttng-ust-baddr.h \
394598c1 40 ust_baddr_statedump.h \
b728d87e
MD
41 tracepoint-internal.h \
42 clock.h \
f8b4fc8d 43 compat.h \
596c4223 44 wait.h \
8f3f8c99 45 jhash.h \
74d81a6c 46 lttng-ust-uuid.h \
641c659a
MD
47 error.h \
48 tracef.c \
49 lttng-ust-tracef-provider.h
c1fca457
MD
50
51liblttng_ust_support_la_SOURCES = \
7dd08bec
MD
52 lttng-tracer.h \
53 lttng-tracer-core.h \
c1fca457 54 ust-core.c \
82b9bde8 55 lttng-rb-clients.h \
7dd08bec
MD
56 lttng-ring-buffer-client.h \
57 lttng-ring-buffer-client-discard.c \
34a91bdb 58 lttng-ring-buffer-client-discard-rt.c \
7dd08bec 59 lttng-ring-buffer-client-overwrite.c \
34a91bdb 60 lttng-ring-buffer-client-overwrite-rt.c \
7dd08bec
MD
61 lttng-ring-buffer-metadata-client.h \
62 lttng-ring-buffer-metadata-client.c
c1fca457
MD
63
64liblttng_ust_la_SOURCES =
15612a0f 65
a334646a 66liblttng_ust_la_LDFLAGS = -no-undefined -version-info $(LTTNG_UST_LIBRARY_VERSION)
c7dc133c 67
c1fca457
MD
68liblttng_ust_support_la_LIBADD = \
69 $(top_builddir)/libringbuffer/libringbuffer.la
70
69400ac4 71liblttng_ust_la_LIBADD = \
c7dc133c 72 -lpthread \
ca4525b5 73 -lrt \
bf956ec0 74 -lurcu-cds \
89bea423 75 -ldl \
8d8a24c8 76 $(top_builddir)/snprintf/libustsnprintf.la \
c1fca457 77 $(top_builddir)/liblttng-ust-comm/liblttng-ust-comm.la \
b2684aaa 78 liblttng-ust-tracepoint.la \
c1fca457 79 liblttng-ust-runtime.la liblttng-ust-support.la
c7dc133c 80
7f0aeeba 81liblttng_ust_la_CFLAGS = -DUST_COMPONENT="liblttng_ust" -fno-strict-aliasing
This page took 0.051071 seconds and 4 git commands to generate.