correctly add -lm for math lib
[lttv.git] / ltt / branches / poly / lttv / lttv / Makefile.am
index 2023fc93307ceb4ec59fcc5d5282866677640547..eade395960b28d7960d5872b5b254b10957172da 100644 (file)
@@ -1,5 +1,5 @@
 AM_CFLAGS = $(GLIB_CFLAGS) 
-LIBS += $(GLIB_LIBS) -lgobject-2.0 -L$(top_srcdir)/ltt -ltraceread
+LIBS += $(M_LIBS) $(POPT_LIBS) $(GLIB_LIBS) -lgobject-2.0 -L$(top_srcdir)/ltt -ltraceread
 
 bin_PROGRAMS = lttv
 
@@ -28,5 +28,8 @@ noinst_HEADERS = \
 lttv_SOURCES = batchtest.c main.c module.c option.c \
                hook.c attribute.c \
                iattribute.c state.c stats.c \
-              processTrace.c traceset.c
+              tracecontext.c traceset.c
 
+if LTTVSTATIC
+  lttv_LDFLAGS = -profile -static
+endif
This page took 0.022771 seconds and 4 git commands to generate.