correctly add -lm for math lib
[lttv.git] / ltt / branches / poly / ltt / Makefile.am
index 92e4dcef035175c3227beb8dec9afc8926019b5a..eda40575ddd8ed71e681c93eb660695c4a526344 100644 (file)
@@ -9,11 +9,19 @@ SUBDIRS = convert
 libdir = ${lttlibdir}
 
 AM_CFLAGS = $(GLIB_CFLAGS) 
-LIBS += $(GLIB_LIBS)
+LIBS += $(GLIB_LIBS) $(M_LIBS)
 
 lib_LTLIBRARIES = libtraceread.la
 libtraceread_la_SOURCES = event.c facility.c parser.c tracefile.c type.c
+libtraceread_la_LIBADD = -lm
 noinst_HEADERS = parser.h ltt-private.h
 
+lttinclude_HEADERS = \
+       event.h\
+       facility.h\
+       ltt.h\
+       time.h\
+       trace.h\
+       type.h
 
 EXTRA_DIST = crc32.tab
This page took 0.022303 seconds and 4 git commands to generate.