X-Git-Url: http://git.lttng.org./?a=blobdiff_plain;f=liblttng-ust-libc-wrapper%2FMakefile.am;h=d4ecea3df4018f477b9ddc971197db9b45aa808b;hb=3b098ac1f1db6ee1466c1f8ffbe2576e5604fb35;hp=e73b4d88ad52c9a8f634c6ae316e953937f12e2c;hpb=e1c62734a4c511d6ba3b3b240486b5034ba7bd99;p=lttng-ust.git diff --git a/liblttng-ust-libc-wrapper/Makefile.am b/liblttng-ust-libc-wrapper/Makefile.am index e73b4d88..d4ecea3d 100644 --- a/liblttng-ust-libc-wrapper/Makefile.am +++ b/liblttng-ust-libc-wrapper/Makefile.am @@ -1,30 +1,27 @@ -AM_CPPFLAGS = -I$(top_srcdir)/include -I$(top_builddir)/include -AM_CFLAGS += -fno-strict-aliasing +AM_CFLAGS += -I$(srcdir) -fno-strict-aliasing lib_LTLIBRARIES = liblttng-ust-libc-wrapper.la \ liblttng-ust-pthread-wrapper.la + liblttng_ust_libc_wrapper_la_SOURCES = \ lttng-ust-malloc.c \ ust_libc.h + liblttng_ust_libc_wrapper_la_LIBADD = \ - -L$(top_builddir)/liblttng-ust/.libs \ - -llttng-ust + $(top_builddir)/liblttng-ust/liblttng-ust.la \ + $(DL_LIBS) + +liblttng_ust_libc_wrapper_la_LDFLAGS = -version-info $(LTTNG_UST_LIBRARY_VERSION) 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 - -if LTTNG_UST_BUILD_WITH_LIBDL -liblttng_ust_libc_wrapper_la_LIBADD += -ldl -liblttng_ust_pthread_wrapper_la_LIBADD += -ldl -endif -if LTTNG_UST_BUILD_WITH_LIBC_DL -liblttng_ust_libc_wrapper_la_LIBADD += -lc -liblttng_ust_pthread_wrapper_la_LIBADD += -lc -endif - -noinst_SCRIPTS = run -EXTRA_DIST = run + $(top_builddir)/liblttng-ust/liblttng-ust.la \ + $(DL_LIBS) + +liblttng_ust_pthread_wrapper_la_LDFLAGS = -version-info $(LTTNG_UST_LIBRARY_VERSION) + +dist_noinst_SCRIPTS = run +EXTRA_DIST = README