X-Git-Url: http://git.lttng.org/?a=blobdiff_plain;f=liblttng-ust-cyg-profile%2FMakefile.am;h=a3a2ff92455a91340179a1b7b183c8d4b6c0ec00;hb=053e6e240f3fb5b2427fb28f8f09c652e2bdb39a;hp=985329877034d7b03bb5383f1db6e8d8fb7be1fc;hpb=70d654f22a6b52beddfb86ec3daa453073c356d2;p=lttng-ust.git diff --git a/liblttng-ust-cyg-profile/Makefile.am b/liblttng-ust-cyg-profile/Makefile.am index 98532987..a3a2ff92 100644 --- a/liblttng-ust-cyg-profile/Makefile.am +++ b/liblttng-ust-cyg-profile/Makefile.am @@ -1,20 +1,22 @@ -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 -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_fast_la_SOURCES = \ + lttng-ust-cyg-profile-fast.c \ + lttng-ust-cyg-profile-fast.h -if LTTNG_UST_BUILD_WITH_LIBDL -liblttng_ust_cyg_profile_la_LIBADD += -ldl -endif -if LTTNG_UST_BUILD_WITH_LIBC_DL -liblttng_ust_cyg_profile_la_LIBADD += -lc -endif +liblttng_ust_cyg_profile_fast_la_LIBADD = \ + $(top_builddir)/liblttng-ust/liblttng-ust.la \ + $(DL_LIBS) -noinst_SCRIPTS = run -EXTRA_DIST = run +dist_noinst_SCRIPTS = run run-fast