Cleanup: standardise include path
[lttng-ust.git] / liblttng-ust-cyg-profile / Makefile.am
index 100ca4adb91ef586efdaee33091b5769bd786719..a3a2ff92455a91340179a1b7b183c8d4b6c0ec00 100644 (file)
@@ -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
@@ -9,8 +8,7 @@ liblttng_ust_cyg_profile_la_SOURCES = \
        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 = \
@@ -18,8 +16,7 @@ liblttng_ust_cyg_profile_fast_la_SOURCES = \
        lttng-ust-cyg-profile-fast.h
 
 liblttng_ust_cyg_profile_fast_la_LIBADD = \
-       -L$(top_builddir)/liblttng-ust/.libs \
-       -llttng-ust \
+       $(top_builddir)/liblttng-ust/liblttng-ust.la \
        $(DL_LIBS)
 
 dist_noinst_SCRIPTS = run run-fast
This page took 0.025157 seconds and 4 git commands to generate.