Add a module to compute various statistics
[lttv.git] / ltt / branches / poly / lttv / Makefile.am
index 4b51df4484ebb5c8c084713ca08e11a2f38ad446..c91d01385a234b70ebd2d379bfde8bbf7f256d9a 100644 (file)
@@ -1,12 +1,26 @@
-SUBDIRS = modules plugins
+AM_CFLAGS = $(GLIB_CFLAGS) 
+LIBS += $(GLIB_LIBS) -lgobject-2.0 -L$(top_srcdir)/ltt -ltraceread
+#LIBS += $(GLIB_LIBS) -lgobject-2.0 -lltt
 
-bin_PROGRAMS = textui
+bin_PROGRAMS = lttv
 
 #AM_CPPFLAGS = \
 #      -I$(top_srcdir)/include
 #INCLUDES=$(top_srcdir)/include
 
-textui_SOURCES = main.c module.c option.c hook.c attribute.c \
-                attribute.h lttv.h module.h option.h trace.h
+lttv_SOURCES = main.c module.c option.c hook.c attribute.c \
+               iattribute.c processTrace.c state.c stats.c traceset.c
+
+libdir = ${lttvplugindir}
+
+lib_LTLIBRARIES = libtextDump.la libbatchAnalysis.la
+libtextDump_la_LDFLAGS = -module
+libtextDump_la_SOURCES = textDump.c
+libbatchAnalysis_la_LDFLAGS = -module
+libbatchAnalysis_la_SOURCES = batchAnalysis.c
+
+
+# WARNING : must be done at the end, so modules can dynamically link themselves
+# to libraries compiled here but not installed in the system.
+SUBDIRS = modules
 
-lttvinclude_HEADERS = traceWindow.h module.h hook.h
This page took 0.022596 seconds and 4 git commands to generate.