| 1 | #Disabled by Mathieu Desnoyers: Build issue on x86_64 (FIXME) |
| 2 | #SUBDIRS= sync |
| 3 | |
| 4 | AM_CFLAGS= $(PACKAGE_CFLAGS) |
| 5 | LDADD = $(POPT_LIBS) $(M_LIBS) $(GLPK_LIBS) ${top_builddir}/ltt/liblttvtraceread.la |
| 6 | |
| 7 | bin_PROGRAMS = lttv.real |
| 8 | |
| 9 | if BUILD_LTTV_GUI |
| 10 | bin_SCRIPTS = lttv lttv-gui |
| 11 | else |
| 12 | bin_SCRIPTS = lttv |
| 13 | endif |
| 14 | |
| 15 | CLEANFILES = $(bin_SCRIPTS) |
| 16 | |
| 17 | if BUILD_LTTV_GUI |
| 18 | EXTRA_DIST = lttv.sh lttv-gui.sh |
| 19 | else |
| 20 | EXTRA_DIST = lttv.sh |
| 21 | endif |
| 22 | |
| 23 | lttv: lttv.sh |
| 24 | rm -f lttv |
| 25 | echo "#!"$(BASH) > lttv |
| 26 | cat $(srcdir)/lttv.sh >> lttv |
| 27 | chmod ugo+x lttv |
| 28 | |
| 29 | lttv-gui: lttv-gui.sh |
| 30 | rm -f lttv-gui |
| 31 | echo "#!"$(BASH) > lttv-gui |
| 32 | cat $(srcdir)/lttv-gui.sh >> lttv-gui |
| 33 | chmod ugo+x lttv-gui |
| 34 | |
| 35 | |
| 36 | INCLUDES = \ |
| 37 | -DPACKAGE_PLUGIN_DIR=\""$(lttvplugindir)"\" \ |
| 38 | $(DEFAULT_INCLUDES) |
| 39 | |
| 40 | libdir = ${lttvplugindir} |
| 41 | |
| 42 | #noinst_HEADERS = \ |
| 43 | # filter.h |
| 44 | |
| 45 | lttv_real_SOURCES = \ |
| 46 | batchtest.c\ |
| 47 | main.c\ |
| 48 | module.c\ |
| 49 | option.c\ |
| 50 | hook.c\ |
| 51 | attribute.c\ |
| 52 | iattribute.c\ |
| 53 | state.c\ |
| 54 | stats.c\ |
| 55 | tracecontext.c\ |
| 56 | traceset.c\ |
| 57 | filter.c\ |
| 58 | print.c |
| 59 | |
| 60 | #Disabled by Mathieu Desnoyers (does not build on x86_64) |
| 61 | # sync/sync_chain.c\ |
| 62 | # sync/sync_chain_lttv.c\ |
| 63 | # sync/graph_functions.c\ |
| 64 | # sync/data_structures.c\ |
| 65 | # sync/event_processing_lttng_common.c\ |
| 66 | # sync/event_processing_lttng_standard.c\ |
| 67 | # sync/event_processing_lttng_null.c\ |
| 68 | # sync/event_matching_broadcast.c\ |
| 69 | # sync/event_matching_distributor.c\ |
| 70 | # sync/event_matching_tcp.c\ |
| 71 | # sync/event_analysis_chull.c\ |
| 72 | # sync/event_analysis_eval.c\ |
| 73 | # sync/event_analysis_linreg.c |
| 74 | |
| 75 | lttvinclude_HEADERS = \ |
| 76 | attribute.h\ |
| 77 | hook.h\ |
| 78 | iattribute.h\ |
| 79 | lttv.h\ |
| 80 | module.h\ |
| 81 | option.h\ |
| 82 | state.h\ |
| 83 | stats.h\ |
| 84 | tracecontext.h\ |
| 85 | traceset.h\ |
| 86 | filter.h\ |
| 87 | print.h |
| 88 | |
| 89 | #man_MANS = lttv.1 |
| 90 | #EXTRA_DIST = lttv.1 |
| 91 | |
| 92 | #install-data-hook: |
| 93 | # cd $(DESTDIR)$(mandir)/man1 && \ |
| 94 | # $(LN_S) -f lttv.1 lttv-gui.1 \ |
| 95 | # $(LN_S) -f lttv.1 lttv.real.1 |
| 96 | |
| 97 | lttv_real_LDFLAGS = -export-dynamic |
| 98 | |
| 99 | if LTTVSTATIC |
| 100 | lttv_real_LDFLAGS += -static |
| 101 | endif |
| 102 | |