Commit | Line | Data |
---|---|---|
ccf1db70 | 1 | SUBDIRS= sync |
84baf72b | 2 | |
104325ef | 3 | AM_CFLAGS= $(PACKAGE_CFLAGS) |
66eaf2eb | 4 | LDADD = $(POPT_LIBS) $(M_LIBS) $(GLPK_LIBS) ${top_builddir}/ltt/liblttvtraceread.la |
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 | ||
14bc9b7c BP |
44 | lttv_real_SOURCES = \ |
45 | batchtest.c\ | |
46 | main.c\ | |
47 | module.c\ | |
48 | option.c\ | |
49 | hook.c\ | |
50 | attribute.c\ | |
51 | iattribute.c\ | |
52 | state.c\ | |
53 | stats.c\ | |
54 | tracecontext.c\ | |
55 | traceset.c\ | |
56 | filter.c\ | |
665fdbb7 BP |
57 | print.c\ |
58 | sync/sync_chain.c\ | |
fb414917 | 59 | sync/sync_chain.h\ |
665fdbb7 | 60 | sync/sync_chain_lttv.c\ |
fb414917 | 61 | sync/sync_chain_lttv.h\ |
665fdbb7 | 62 | sync/graph_functions.c\ |
fb414917 | 63 | sync/graph_functions.h\ |
665fdbb7 | 64 | sync/data_structures.c\ |
fb414917 BP |
65 | sync/data_structures.h\ |
66 | sync/event_processing.h\ | |
665fdbb7 | 67 | sync/event_processing_lttng_common.c\ |
fb414917 | 68 | sync/event_processing_lttng_common.h\ |
665fdbb7 | 69 | sync/event_processing_lttng_standard.c\ |
fb414917 | 70 | sync/event_processing_lttng_standard.h\ |
665fdbb7 | 71 | sync/event_processing_lttng_null.c\ |
fb414917 BP |
72 | sync/event_processing_lttng_null.h\ |
73 | sync/event_matching.h\ | |
665fdbb7 | 74 | sync/event_matching_broadcast.c\ |
fb414917 | 75 | sync/event_matching_broadcast.h\ |
665fdbb7 | 76 | sync/event_matching_distributor.c\ |
fb414917 | 77 | sync/event_matching_distributor.h\ |
665fdbb7 | 78 | sync/event_matching_tcp.c\ |
fb414917 BP |
79 | sync/event_matching_tcp.h\ |
80 | sync/event_analysis.h\ | |
665fdbb7 | 81 | sync/event_analysis_chull.c\ |
fb414917 | 82 | sync/event_analysis_chull.h\ |
665fdbb7 | 83 | sync/event_analysis_eval.c\ |
fb414917 BP |
84 | sync/event_analysis_eval.h\ |
85 | sync/event_analysis_linreg.c\ | |
86 | sync/event_analysis_linreg.h\ | |
87 | sync/lookup3.h | |
f61f4dca | 88 | |
b10606ce MD |
89 | lttvinclude_HEADERS = \ |
90 | attribute.h\ | |
91 | hook.h\ | |
92 | iattribute.h\ | |
93 | lttv.h\ | |
94 | module.h\ | |
95 | option.h\ | |
96 | state.h\ | |
97 | stats.h\ | |
98 | tracecontext.h\ | |
99 | traceset.h\ | |
100 | filter.h\ | |
101 | print.h | |
102 | ||
f61f4dca PMF |
103 | #man_MANS = lttv.1 |
104 | #EXTRA_DIST = lttv.1 | |
105 | ||
106 | #install-data-hook: | |
107 | # cd $(DESTDIR)$(mandir)/man1 && \ | |
108 | # $(LN_S) -f lttv.1 lttv-gui.1 \ | |
109 | # $(LN_S) -f lttv.1 lttv.real.1 | |
110 | ||
111 | lttv_real_LDFLAGS = -export-dynamic | |
112 | ||
113 | if LTTVSTATIC | |
7d3dcbe0 | 114 | lttv_real_LDFLAGS += -static |
f61f4dca | 115 | endif |
e241a92a | 116 |