-bin_PROGRAMS = textui
+SUBDIRS = modules
-AM_CPPFLAGS = \
- -I$(top_srcdir)/include
+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