projects
/
lttng-ust.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Use a variable to select the dlopen lib in Makefiles
[lttng-ust.git]
/
liblttng-ust
/
Makefile.am
diff --git
a/liblttng-ust/Makefile.am
b/liblttng-ust/Makefile.am
index 796ce5b3837fe939cb3599d50275d8eadb195a7e..ea4c8f612ee4c947e71c1472052731e235e3b448 100644
(file)
--- a/
liblttng-ust/Makefile.am
+++ b/
liblttng-ust/Makefile.am
@@
-1,5
+1,5
@@
AM_CPPFLAGS = -I$(top_srcdir)/include -I$(top_builddir)/include
AM_CPPFLAGS = -I$(top_srcdir)/include -I$(top_builddir)/include
-AM_CFLAGS = -fno-strict-aliasing
+AM_CFLAGS
+
= -fno-strict-aliasing
noinst_LTLIBRARIES = liblttng-ust-runtime.la liblttng-ust-support.la
noinst_LTLIBRARIES = liblttng-ust-runtime.la liblttng-ust-support.la
@@
-7,25
+7,32
@@
lib_LTLIBRARIES = liblttng-ust-tracepoint.la liblttng-ust.la
liblttng_ust_tracepoint_la_SOURCES = \
tracepoint.c \
liblttng_ust_tracepoint_la_SOURCES = \
tracepoint.c \
+ tracepoint-weak-test.c \
tracepoint-internal.h \
lttng-tracer-core.h \
jhash.h \
error.h
tracepoint-internal.h \
lttng-tracer-core.h \
jhash.h \
error.h
+
liblttng_ust_tracepoint_la_LIBADD = \
-lurcu-bp \
liblttng_ust_tracepoint_la_LIBADD = \
-lurcu-bp \
- $(top_builddir)/snprintf/libustsnprintf.la
+ -lpthread \
+ $(top_builddir)/snprintf/libustsnprintf.la \
+ $(DL_LIBS)
+
liblttng_ust_tracepoint_la_LDFLAGS = -no-undefined -version-info $(LTTNG_UST_LIBRARY_VERSION)
liblttng_ust_tracepoint_la_LDFLAGS = -no-undefined -version-info $(LTTNG_UST_LIBRARY_VERSION)
-liblttng_ust_tracepoint_la_CFLAGS = -DUST_COMPONENT="liblttng_ust_tracepoint"
-fno-strict-aliasing
+liblttng_ust_tracepoint_la_CFLAGS = -DUST_COMPONENT="liblttng_ust_tracepoint"
$(AM_CFLAGS)
liblttng_ust_runtime_la_SOURCES = \
lttng-ust-comm.c \
lttng-ust-abi.c \
lttng-probes.c \
liblttng_ust_runtime_la_SOURCES = \
lttng-ust-comm.c \
lttng-ust-abi.c \
lttng-probes.c \
+ lttng-context-provider.c \
lttng-context-vtid.c \
lttng-context-vpid.c \
lttng-context-pthread-id.c \
lttng-context-procname.c \
lttng-context-ip.c \
lttng-context-vtid.c \
lttng-context-vpid.c \
lttng-context-pthread-id.c \
lttng-context-procname.c \
lttng-context-ip.c \
+ lttng-context-cpu-id.c \
lttng-context.c \
lttng-events.c \
lttng-filter.c \
lttng-context.c \
lttng-events.c \
lttng-filter.c \
@@
-35,9
+42,12
@@
liblttng_ust_runtime_la_SOURCES = \
lttng-filter-interpreter.c \
filter-bytecode.h \
lttng-hash-helper.h \
lttng-filter-interpreter.c \
filter-bytecode.h \
lttng-hash-helper.h \
- lttng-ust-baddr.c \
- lttng-ust-baddr.h \
- ust_baddr_statedump.h \
+ lttng-ust-elf.c \
+ lttng-ust-statedump.c \
+ lttng-ust-statedump.h \
+ lttng-ust-statedump-provider.h \
+ ust_lib.c \
+ ust_lib.h \
tracepoint-internal.h \
clock.h \
compat.h \
tracepoint-internal.h \
clock.h \
compat.h \
@@
-46,17
+56,28
@@
liblttng_ust_runtime_la_SOURCES = \
lttng-ust-uuid.h \
error.h \
tracef.c \
lttng-ust-uuid.h \
error.h \
tracef.c \
- lttng-ust-tracef-provider.h
+ lttng-ust-tracef-provider.h \
+ tracelog.c \
+ lttng-ust-tracelog-provider.h \
+ getenv.h \
+ string-utils.c \
+ string-utils.h
+
+liblttng_ust_runtime_la_CFLAGS = -DLTTNG_UST_LIBRARY_VERSION_MAJOR=\"$(LTTNG_UST_LIBRARY_VERSION_MAJOR)\"
if HAVE_PERF_EVENT
liblttng_ust_runtime_la_SOURCES += \
if HAVE_PERF_EVENT
liblttng_ust_runtime_la_SOURCES += \
- lttng-context-perf-counters.c
+ lttng-context-perf-counters.c \
+ perf_event.h
endif
liblttng_ust_support_la_SOURCES = \
lttng-tracer.h \
lttng-tracer-core.h \
ust-core.c \
endif
liblttng_ust_support_la_SOURCES = \
lttng-tracer.h \
lttng-tracer-core.h \
ust-core.c \
+ getenv.h \
+ getenv.c \
+ lttng-ust-dynamic-type.c \
lttng-rb-clients.h \
lttng-ring-buffer-client.h \
lttng-ring-buffer-client-discard.c \
lttng-rb-clients.h \
lttng-ring-buffer-client.h \
lttng-ring-buffer-client-discard.c \
@@
-65,7
+86,7
@@
liblttng_ust_support_la_SOURCES = \
lttng-ring-buffer-client-overwrite-rt.c \
lttng-ring-buffer-metadata-client.h \
lttng-ring-buffer-metadata-client.c \
lttng-ring-buffer-client-overwrite-rt.c \
lttng-ring-buffer-metadata-client.h \
lttng-ring-buffer-metadata-client.c \
- lttng-clock.c
+ lttng-clock.c
lttng-getcpu.c
liblttng_ust_la_SOURCES =
liblttng_ust_la_SOURCES =
@@
-78,10
+99,10
@@
liblttng_ust_la_LIBADD = \
-lpthread \
-lrt \
-lurcu-cds \
-lpthread \
-lrt \
-lurcu-cds \
- -ldl \
$(top_builddir)/snprintf/libustsnprintf.la \
$(top_builddir)/liblttng-ust-comm/liblttng-ust-comm.la \
liblttng-ust-tracepoint.la \
$(top_builddir)/snprintf/libustsnprintf.la \
$(top_builddir)/liblttng-ust-comm/liblttng-ust-comm.la \
liblttng-ust-tracepoint.la \
- liblttng-ust-runtime.la liblttng-ust-support.la
+ liblttng-ust-runtime.la liblttng-ust-support.la \
+ $(DL_LIBS)
-liblttng_ust_la_CFLAGS = -DUST_COMPONENT="liblttng_ust"
-fno-strict-aliasing
+liblttng_ust_la_CFLAGS = -DUST_COMPONENT="liblttng_ust"
$(AM_CFLAGS)
This page took
0.02479 seconds
and
4
git commands to generate.