X-Git-Url: http://git.lttng.org./?a=blobdiff_plain;f=ltt%2Fbranches%2Fpoly%2Flttv%2FMakefile.am;h=c91d01385a234b70ebd2d379bfde8bbf7f256d9a;hb=607177bea1468beac4c8470f95e7548d8d1cf11d;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..c91d0138 100644 --- a/ltt/branches/poly/lttv/Makefile.am +++ b/ltt/branches/poly/lttv/Makefile.am @@ -1,11 +1,26 @@ -bin_PROGRAMS = textui +AM_CFLAGS = $(GLIB_CFLAGS) +LIBS += $(GLIB_LIBS) -lgobject-2.0 -L$(top_srcdir)/ltt -ltraceread +#LIBS += $(GLIB_LIBS) -lgobject-2.0 -lltt -# 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 + +#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 stats.c traceset.c + +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 + + +# 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