-bin_PROGRAMS = textui
+SUBDIRS = modules
-# 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)
+AM_CFLAGS = $(GLIB_CFLAGS)
+LIBS += $(GLIB_LIBS)
-# 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
+bin_PROGRAMS = tracevisualizer
+
+#AM_CPPFLAGS = \
+# -I$(top_srcdir)/include
+#INCLUDES=$(top_srcdir)/include
+
+tracevisualizer_SOURCES = main.c module.c option.c hook.c attribute.c \
+ attribute.h lttv.h option.h trace.h
+
+
+#libdir = ${lttvplugindir}
+
+#lib_LTLIBRARIES = libtextDump.la
+#libtextDump_la_LDFLAGS = -module
+#libtextDump_la_SOURCES = textDump.c