X-Git-Url: http://git.lttng.org./?a=blobdiff_plain;f=ltt%2Fbranches%2Fpoly%2Flttv%2FMakefile.am;h=0ef152ea9790fc99ceedae450a619c601a22f802;hb=2cd579c018cfb7c93f5dbe26279498bd28e5902b;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..0ef152ea 100644 --- a/ltt/branches/poly/lttv/Makefile.am +++ b/ltt/branches/poly/lttv/Makefile.am @@ -1,11 +1,32 @@ -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) -lgobject-2.0 -lltt -# 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 = 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 traceset.c + +lttv_DEPENDENCIES = $(top_includedir)/lttv/lttv.h \ + $(top_includedir)/lttv/module.h \ + $(top_includedir)/lttv/option.h \ + $(top_includedir)/lttv/hook.h \ + $(top_includedir)/lttv/attribute.h \ + $(top_includedir)/lttv/iattribute.h \ + $(top_includedir)/lttv/processTrace.h \ + $(top_includedir)/lttv/state.h \ + $(top_includedir)/lttv/traceset.h + + +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