-# 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
+
+lttv_SOURCES = main/main.c mainLib/module.c mainLib/option.c \
+ mainLib/hook.c mainLib/attribute.c \
+ mainLib/iattribute.c mainLib/processTrace.c \
+ mainLib/state.c mainLib/stats.c mainLib/traceset.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