Commit | Line | Data |
---|---|---|
ccf1db70 | 1 | SUBDIRS= sync |
84baf72b | 2 | |
104325ef | 3 | AM_CFLAGS= $(PACKAGE_CFLAGS) |
7a4bdb54 | 4 | LDADD = $(POPT_LIBS) $(M_LIBS) $(GLPK_LIBS) |
f61f4dca PMF |
5 | |
6 | bin_PROGRAMS = lttv.real | |
7 | ||
68d52dcc | 8 | if BUILD_LTTV_GUI |
f61f4dca | 9 | bin_SCRIPTS = lttv lttv-gui |
68d52dcc WB |
10 | else |
11 | bin_SCRIPTS = lttv | |
12 | endif | |
13 | ||
f61f4dca | 14 | CLEANFILES = $(bin_SCRIPTS) |
68d52dcc WB |
15 | |
16 | if BUILD_LTTV_GUI | |
f61f4dca | 17 | EXTRA_DIST = lttv.sh lttv-gui.sh |
68d52dcc WB |
18 | else |
19 | EXTRA_DIST = lttv.sh | |
20 | endif | |
f61f4dca PMF |
21 | |
22 | lttv: lttv.sh | |
23 | rm -f lttv | |
24 | echo "#!"$(BASH) > lttv | |
25 | cat $(srcdir)/lttv.sh >> lttv | |
26 | chmod ugo+x lttv | |
27 | ||
28 | lttv-gui: lttv-gui.sh | |
29 | rm -f lttv-gui | |
30 | echo "#!"$(BASH) > lttv-gui | |
31 | cat $(srcdir)/lttv-gui.sh >> lttv-gui | |
32 | chmod ugo+x lttv-gui | |
33 | ||
34 | ||
35 | INCLUDES = \ | |
36 | -DPACKAGE_PLUGIN_DIR=\""$(lttvplugindir)"\" \ | |
f61f4dca PMF |
37 | $(DEFAULT_INCLUDES) |
38 | ||
39 | libdir = ${lttvplugindir} | |
40 | ||
f61f4dca PMF |
41 | #noinst_HEADERS = \ |
42 | # filter.h | |
43 | ||
7a4bdb54 YB |
44 | #disabled for babeltrace port batchtest.c stats.c tracecontext.c filter.c |
45 | ||
46 | ||
47 | ||
14bc9b7c | 48 | lttv_real_SOURCES = \ |
14bc9b7c BP |
49 | main.c\ |
50 | module.c\ | |
51 | option.c\ | |
52 | hook.c\ | |
53 | attribute.c\ | |
54 | iattribute.c\ | |
55 | state.c\ | |
14bc9b7c | 56 | traceset.c\ |
7a4bdb54 | 57 | traceset-process.c\ |
665fdbb7 | 58 | print.c\ |
7a4bdb54 YB |
59 | compiler.h\ |
60 | event.c\ | |
61 | time.h | |
62 | # sync/sync_chain.c\ | |
fb414917 | 63 | sync/sync_chain.h\ |
665fdbb7 | 64 | sync/sync_chain_lttv.c\ |
fb414917 | 65 | sync/sync_chain_lttv.h\ |
665fdbb7 | 66 | sync/graph_functions.c\ |
fb414917 | 67 | sync/graph_functions.h\ |
665fdbb7 | 68 | sync/data_structures.c\ |
fb414917 BP |
69 | sync/data_structures.h\ |
70 | sync/event_processing.h\ | |
665fdbb7 | 71 | sync/event_processing_lttng_common.c\ |
fb414917 | 72 | sync/event_processing_lttng_common.h\ |
665fdbb7 | 73 | sync/event_processing_lttng_standard.c\ |
fb414917 | 74 | sync/event_processing_lttng_standard.h\ |
665fdbb7 | 75 | sync/event_processing_lttng_null.c\ |
fb414917 BP |
76 | sync/event_processing_lttng_null.h\ |
77 | sync/event_matching.h\ | |
665fdbb7 | 78 | sync/event_matching_broadcast.c\ |
fb414917 | 79 | sync/event_matching_broadcast.h\ |
665fdbb7 | 80 | sync/event_matching_distributor.c\ |
fb414917 | 81 | sync/event_matching_distributor.h\ |
665fdbb7 | 82 | sync/event_matching_tcp.c\ |
fb414917 BP |
83 | sync/event_matching_tcp.h\ |
84 | sync/event_analysis.h\ | |
665fdbb7 | 85 | sync/event_analysis_chull.c\ |
fb414917 | 86 | sync/event_analysis_chull.h\ |
665fdbb7 | 87 | sync/event_analysis_eval.c\ |
fb414917 BP |
88 | sync/event_analysis_eval.h\ |
89 | sync/event_analysis_linreg.c\ | |
90 | sync/event_analysis_linreg.h\ | |
b2da0724 BP |
91 | sync/factor_reduction.h\ |
92 | sync/factor_reduction_accuracy.c\ | |
93 | sync/factor_reduction_accuracy.h\ | |
fb414917 | 94 | sync/lookup3.h |
f61f4dca | 95 | |
b10606ce MD |
96 | lttvinclude_HEADERS = \ |
97 | attribute.h\ | |
98 | hook.h\ | |
99 | iattribute.h\ | |
100 | lttv.h\ | |
101 | module.h\ | |
102 | option.h\ | |
103 | state.h\ | |
104 | stats.h\ | |
7a4bdb54 | 105 | traceset-process.h\ |
b10606ce MD |
106 | traceset.h\ |
107 | filter.h\ | |
556b540a YB |
108 | print.h\ |
109 | event.h | |
b10606ce | 110 | |
f61f4dca PMF |
111 | #man_MANS = lttv.1 |
112 | #EXTRA_DIST = lttv.1 | |
113 | ||
114 | #install-data-hook: | |
115 | # cd $(DESTDIR)$(mandir)/man1 && \ | |
116 | # $(LN_S) -f lttv.1 lttv-gui.1 \ | |
117 | # $(LN_S) -f lttv.1 lttv.real.1 | |
118 | ||
119 | lttv_real_LDFLAGS = -export-dynamic | |
120 | ||
121 | if LTTVSTATIC | |
7d3dcbe0 | 122 | lttv_real_LDFLAGS += -static |
f61f4dca | 123 | endif |
e241a92a | 124 |