| 1 | AM_CPPFLAGS = -I$(top_srcdir)/include -I$(top_builddir)/include |
| 2 | AM_CFLAGS = -fno-strict-aliasing |
| 3 | |
| 4 | lib_LTLIBRARIES = liblttng-ust-libc-wrapper.la \ |
| 5 | liblttng-ust-pthread-wrapper.la |
| 6 | liblttng_ust_libc_wrapper_la_SOURCES = \ |
| 7 | lttng-ust-malloc.c \ |
| 8 | ust_libc.h |
| 9 | liblttng_ust_libc_wrapper_la_LIBADD = \ |
| 10 | -L$(top_builddir)/liblttng-ust/.libs \ |
| 11 | -llttng-ust |
| 12 | |
| 13 | liblttng_ust_pthread_wrapper_la_SOURCES = \ |
| 14 | lttng-ust-pthread.c \ |
| 15 | ust_pthread.h |
| 16 | liblttng_ust_pthread_wrapper_la_LIBADD = \ |
| 17 | -L$(top_builddir)/liblttng-ust/.libs \ |
| 18 | -llttng-ust |
| 19 | |
| 20 | if LTTNG_UST_BUILD_WITH_LIBDL |
| 21 | liblttng_ust_libc_wrapper_la_LIBADD += -ldl |
| 22 | liblttng_ust_pthread_wrapper_la_LIBADD += -ldl |
| 23 | endif |
| 24 | if LTTNG_UST_BUILD_WITH_LIBC_DL |
| 25 | liblttng_ust_libc_wrapper_la_LIBADD += -lc |
| 26 | liblttng_ust_pthread_wrapper_la_LIBADD += -lc |
| 27 | endif |
| 28 | |
| 29 | noinst_SCRIPTS = run |
| 30 | EXTRA_DIST = run |