X-Git-Url: http://git.liburcu.org/?a=blobdiff_plain;f=liblttng-ust-cyg-profile%2FMakefile.am;h=14c2080eb6ade4d6d471ccc23ba9253787e8e14f;hb=05e8ff1f80c9a6dcd7db559c7a39b4c46e85e2a7;hp=3130282d2fd383cf8c326404cd1e2dc1e4b994bc;hpb=e1c62734a4c511d6ba3b3b240486b5034ba7bd99;p=lttng-ust.git diff --git a/liblttng-ust-cyg-profile/Makefile.am b/liblttng-ust-cyg-profile/Makefile.am index 3130282d..14c2080e 100644 --- a/liblttng-ust-cyg-profile/Makefile.am +++ b/liblttng-ust-cyg-profile/Makefile.am @@ -1,5 +1,4 @@ -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-cyg-profile.la \ liblttng-ust-cyg-profile-fast.la @@ -7,25 +6,21 @@ lib_LTLIBRARIES = liblttng-ust-cyg-profile.la \ liblttng_ust_cyg_profile_la_SOURCES = \ lttng-ust-cyg-profile.c \ lttng-ust-cyg-profile.h + liblttng_ust_cyg_profile_la_LIBADD = \ - -L$(top_builddir)/liblttng-ust/.libs \ - -llttng-ust + $(top_builddir)/liblttng-ust/liblttng-ust.la \ + $(DL_LIBS) + +liblttng_ust_cyg_profile_la_LDFLAGS = -version-info $(LTTNG_UST_LIBRARY_VERSION) liblttng_ust_cyg_profile_fast_la_SOURCES = \ lttng-ust-cyg-profile-fast.c \ lttng-ust-cyg-profile-fast.h + liblttng_ust_cyg_profile_fast_la_LIBADD = \ - -L$(top_builddir)/liblttng-ust/.libs \ - -llttng-ust - -if LTTNG_UST_BUILD_WITH_LIBDL -liblttng_ust_cyg_profile_la_LIBADD += -ldl -liblttng_ust_cyg_profile_fast_la_LIBADD += -ldl -endif -if LTTNG_UST_BUILD_WITH_LIBC_DL -liblttng_ust_cyg_profile_la_LIBADD += -lc -liblttng_ust_cyg_profile_fast_la_LIBADD += -lc -endif - -noinst_SCRIPTS = run run-fast -EXTRA_DIST = run run-fast + $(top_builddir)/liblttng-ust/liblttng-ust.la \ + $(DL_LIBS) + +liblttng_ust_cyg_profile_fast_la_LDFLAGS = -version-info $(LTTNG_UST_LIBRARY_VERSION) + +dist_noinst_SCRIPTS = run run-fast