X-Git-Url: http://git.lttng.org./?a=blobdiff_plain;f=ltt%2Fbranches%2Fpoly%2Flttv%2FMakefile.am;h=c91d01385a234b70ebd2d379bfde8bbf7f256d9a;hb=716e4367df9c21316d326ee18b703cd0d25ace74;hp=334357620e6225ef234a41651375c891f8eb5194;hpb=21c0aa1e708229550d80a1700ec319063d3a295b;p=lttv.git diff --git a/ltt/branches/poly/lttv/Makefile.am b/ltt/branches/poly/lttv/Makefile.am index 33435762..c91d0138 100644 --- a/ltt/branches/poly/lttv/Makefile.am +++ b/ltt/branches/poly/lttv/Makefile.am @@ -1,8 +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 -AM_CPPFLAGS = \ - -I$(top_srcdir)/include +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