X-Git-Url: http://git.liburcu.org/?a=blobdiff_plain;f=lttv%2Flttv%2FMakefile.am;h=fbf6d6aad21d789f6588be9747787384d4288fe9;hb=ccf1db700d7477f4cd825ac435e2632443ee51f2;hp=944d5988132eb518284a88040c5806bef5fd9cc0;hpb=3d55af6e55e4f5e15f3417c952b3ae49a42991c2;p=lttv.git diff --git a/lttv/lttv/Makefile.am b/lttv/lttv/Makefile.am index 944d5988..fbf6d6aa 100644 --- a/lttv/lttv/Makefile.am +++ b/lttv/lttv/Makefile.am @@ -1,11 +1,23 @@ +SUBDIRS= sync + AM_CFLAGS= $(PACKAGE_CFLAGS) -LDADD = $(POPT_LIBS) ${top_builddir}/ltt/liblttvtraceread.la +LDADD = $(POPT_LIBS) $(M_LIBS) $(GLPK_LIBS) ${top_builddir}/ltt/liblttvtraceread.la bin_PROGRAMS = lttv.real +if BUILD_LTTV_GUI bin_SCRIPTS = lttv lttv-gui +else +bin_SCRIPTS = lttv +endif + CLEANFILES = $(bin_SCRIPTS) + +if BUILD_LTTV_GUI EXTRA_DIST = lttv.sh lttv-gui.sh +else +EXTRA_DIST = lttv.sh +endif lttv: lttv.sh rm -f lttv @@ -29,10 +41,49 @@ libdir = ${lttvplugindir} #noinst_HEADERS = \ # filter.h -lttv_real_SOURCES = batchtest.c main.c module.c option.c \ - hook.c attribute.c \ - iattribute.c state.c stats.c \ - tracecontext.c traceset.c filter.c print.c +lttv_real_SOURCES = \ + batchtest.c\ + main.c\ + module.c\ + option.c\ + hook.c\ + attribute.c\ + iattribute.c\ + state.c\ + stats.c\ + tracecontext.c\ + traceset.c\ + filter.c\ + print.c + +#Disabled by Mathieu Desnoyers (does not build on x86_64) +# sync/sync_chain.c\ +# sync/sync_chain_lttv.c\ +# sync/graph_functions.c\ +# sync/data_structures.c\ +# sync/event_processing_lttng_common.c\ +# sync/event_processing_lttng_standard.c\ +# sync/event_processing_lttng_null.c\ +# sync/event_matching_broadcast.c\ +# sync/event_matching_distributor.c\ +# sync/event_matching_tcp.c\ +# sync/event_analysis_chull.c\ +# sync/event_analysis_eval.c\ +# sync/event_analysis_linreg.c + +lttvinclude_HEADERS = \ + attribute.h\ + hook.h\ + iattribute.h\ + lttv.h\ + module.h\ + option.h\ + state.h\ + stats.h\ + tracecontext.h\ + traceset.h\ + filter.h\ + print.h #man_MANS = lttv.1 #EXTRA_DIST = lttv.1 @@ -45,6 +96,6 @@ lttv_real_SOURCES = batchtest.c main.c module.c option.c \ lttv_real_LDFLAGS = -export-dynamic if LTTVSTATIC - lttv_real_LDFLAGS += -profile -static + lttv_real_LDFLAGS += -static endif