X-Git-Url: http://git.liburcu.org/?a=blobdiff_plain;f=src%2FMakefile.am;fp=src%2FMakefile.am;h=e060d65ff639a8575a123c662337d4d7653ed0c5;hb=715cf83c121d2aeac7ae030d49ff5a31bd6b9ac5;hp=382cfc2b1d6ae1f13ad03cd5f0873faa0738d99e;hpb=62895477c7e60525e63e9e5117f92b34d467d0e6;p=lttngtop.git diff --git a/src/Makefile.am b/src/Makefile.am index 382cfc2..e060d65 100644 --- a/src/Makefile.am +++ b/src/Makefile.am @@ -1,4 +1,5 @@ AM_CFLAGS = $(PACKAGE_CFLAGS) +AM_CXXFLAGS = $(PACKAGE_CFLAGS) bin_PROGRAMS = lttngtop @@ -6,14 +7,18 @@ noinst_HEADERS = \ lttngtoptypes.h \ common.h \ cputop.h \ - cursesdisplay.h \ - iostreamtop.h + iostreamtop.h \ + cursesdisplay.h lttngtop_SOURCES = \ - lttngtop.c \ - common.c \ - cursesdisplay.c \ - cputop.c \ - iostreamtop.c + lttngtop.cpp \ + common.cpp \ + cputop.cpp \ + iostreamtop.cpp \ + cursesdisplay.cpp -lttngtop_LDADD = -lbabeltrace -lbabeltrace-ctf +lttngtop_LDADD = \ + -lbabeltrace \ + -lbabeltrace-ctf \ + -lboost_system \ + -lstate