Add a module to compute various statistics
[lttv.git] / ltt / branches / poly / lttv / Makefile.am
index 37a9fc3914e51c4d745d0af4759fe48f5390aded..c91d01385a234b70ebd2d379bfde8bbf7f256d9a 100644 (file)
@@ -1,11 +1,26 @@
-bin_PROGRAMS = textui
+AM_CFLAGS = $(GLIB_CFLAGS) 
+LIBS += $(GLIB_LIBS) -lgobject-2.0 -L$(top_srcdir)/ltt -ltraceread
+#LIBS += $(GLIB_LIBS) -lgobject-2.0 -lltt
 
-# Includes will have to be changed in the .c files if we want to
-# remove the top_srcdir from the includes path.
-AM_CPPFLAGS = \
-       -I$(top_srcdir)/lttv \
-       -I$(top_srcdir)
+bin_PROGRAMS = lttv
+
+#AM_CPPFLAGS = \
+#      -I$(top_srcdir)/include
+#INCLUDES=$(top_srcdir)/include
+
+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
 
-# MD //FIXME add headers dependancy
-textui_SOURCES = main.c module.c option.c hook.c attribute.c
-textui_LDFLAGS = -lpopt -lgmodule-2.0 -ldl -lglib-2.0
This page took 0.023235 seconds and 4 git commands to generate.