X-Git-Url: http://git.liburcu.org/?a=blobdiff_plain;f=liblttng-ust-libc-wrapper%2FMakefile.am;h=e510a11a2c319c0e01493d431977b74ef45f75fd;hb=09434f96935202d1e6cf64a74d4da4b95d06246d;hp=6220f76c6c64ec2d6d239f87ee0f4270f08d9c68;hpb=5cbd73b809f24c435cc4b4523e8add1fda3acfb5;p=lttng-ust.git diff --git a/liblttng-ust-libc-wrapper/Makefile.am b/liblttng-ust-libc-wrapper/Makefile.am index 6220f76c..e510a11a 100644 --- a/liblttng-ust-libc-wrapper/Makefile.am +++ b/liblttng-ust-libc-wrapper/Makefile.am @@ -1,13 +1,26 @@ -AM_CPPFLAGS = -I$(top_srcdir)/include -AM_CFLAGS = -fno-strict-aliasing +AM_CPPFLAGS = -I$(top_srcdir)/include -I$(top_builddir)/include +AM_CFLAGS += -fno-strict-aliasing + +lib_LTLIBRARIES = liblttng-ust-libc-wrapper.la \ + liblttng-ust-pthread-wrapper.la -lib_LTLIBRARIES = liblttng-ust-libc-wrapper.la liblttng_ust_libc_wrapper_la_SOURCES = \ lttng-ust-malloc.c \ ust_libc.h -liblttng_ust_libc_wrapper_la_LIBADD = -ldl \ + +liblttng_ust_libc_wrapper_la_LIBADD = \ + -L$(top_builddir)/liblttng-ust/.libs \ + -llttng-ust \ + $(DL_LIBS) + +liblttng_ust_pthread_wrapper_la_SOURCES = \ + lttng-ust-pthread.c \ + ust_pthread.h + +liblttng_ust_pthread_wrapper_la_LIBADD = \ -L$(top_builddir)/liblttng-ust/.libs \ - -llttng-ust + -llttng-ust \ + $(DL_LIBS) noinst_SCRIPTS = run EXTRA_DIST = run