X-Git-Url: http://git.lttng.org./?a=blobdiff_plain;f=ltt%2Fbranches%2Fpoly%2Flttv%2FMakefile.am;h=f92fa54cc6ccd1532b5d19aba45afd2adb18ac97;hb=b9f1fde9d713ca417cdc67737c2ba75f6d86d0cd;hp=37a9fc3914e51c4d745d0af4759fe48f5390aded;hpb=82266decc274ba11c455d6826c75cc0475617f13;p=lttv.git diff --git a/ltt/branches/poly/lttv/Makefile.am b/ltt/branches/poly/lttv/Makefile.am index 37a9fc39..f92fa54c 100644 --- a/ltt/branches/poly/lttv/Makefile.am +++ b/ltt/branches/poly/lttv/Makefile.am @@ -1,11 +1,14 @@ -bin_PROGRAMS = textui +AM_CFLAGS = $(GLIB_CFLAGS) +LIBS += $(GLIB_LIBS) -lgobject-2.0 -L$(top_srcdir)/ltt -ltraceread -# 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 -# 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