Fix: Don't override user variables within the build system
[lttng-ust.git] / liblttng-ust-libc-wrapper / Makefile.am
CommitLineData
b6e4919f 1AM_CPPFLAGS = -I$(top_srcdir)/include -I$(top_builddir)/include
e1c62734 2AM_CFLAGS += -fno-strict-aliasing
1622ba22 3
600f634a
SS
4lib_LTLIBRARIES = liblttng-ust-libc-wrapper.la \
5 liblttng-ust-pthread-wrapper.la
476037d9 6liblttng_ust_libc_wrapper_la_SOURCES = \
9113def8
MD
7 lttng-ust-malloc.c \
8 ust_libc.h
c6c454ab 9liblttng_ust_libc_wrapper_la_LIBADD = \
28efc953
MD
10 -L$(top_builddir)/liblttng-ust/.libs \
11 -llttng-ust
1622ba22 12
600f634a
SS
13liblttng_ust_pthread_wrapper_la_SOURCES = \
14 lttng-ust-pthread.c \
15 ust_pthread.h
16liblttng_ust_pthread_wrapper_la_LIBADD = \
17 -L$(top_builddir)/liblttng-ust/.libs \
18 -llttng-ust
19
c6c454ab
MD
20if LTTNG_UST_BUILD_WITH_LIBDL
21liblttng_ust_libc_wrapper_la_LIBADD += -ldl
600f634a 22liblttng_ust_pthread_wrapper_la_LIBADD += -ldl
c6c454ab
MD
23endif
24if LTTNG_UST_BUILD_WITH_LIBC_DL
25liblttng_ust_libc_wrapper_la_LIBADD += -lc
600f634a 26liblttng_ust_pthread_wrapper_la_LIBADD += -lc
c6c454ab
MD
27endif
28
1622ba22
MD
29noinst_SCRIPTS = run
30EXTRA_DIST = run
This page took 0.027201 seconds and 4 git commands to generate.