74b3b03dacbe78bda7ae488417e716be8e8b47f8
[lttv.git] / lttv / lttv / Makefile.am
1 SUBDIRS= sync
2
3 AM_CFLAGS= $(PACKAGE_CFLAGS)
4 LDADD = $(POPT_LIBS) $(M_LIBS) $(GLPK_LIBS)
5
6 bin_PROGRAMS = lttv.real
7
8 if BUILD_LTTV_GUI
9 bin_SCRIPTS = lttv lttv-gui
10 else
11 bin_SCRIPTS = lttv
12 endif
13
14 CLEANFILES = $(bin_SCRIPTS)
15
16 if BUILD_LTTV_GUI
17 EXTRA_DIST = lttv.sh lttv-gui.sh
18 else
19 EXTRA_DIST = lttv.sh
20 endif
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)"\" \
37 $(DEFAULT_INCLUDES)
38
39 libdir = ${lttvplugindir}
40
41 #noinst_HEADERS = \
42 # filter.h
43
44 #disabled for babeltrace port batchtest.c stats.c tracecontext.c filter.c
45
46
47
48 lttv_real_SOURCES = \
49 main.c\
50 module.c\
51 option.c\
52 hook.c\
53 attribute.c\
54 iattribute.c\
55 state.c\
56 traceset.c\
57 traceset-process.c\
58 print.c\
59 compiler.h\
60 event.c\
61 time.h
62 # sync/sync_chain.c\
63 sync/sync_chain.h\
64 sync/sync_chain_lttv.c\
65 sync/sync_chain_lttv.h\
66 sync/graph_functions.c\
67 sync/graph_functions.h\
68 sync/data_structures.c\
69 sync/data_structures.h\
70 sync/event_processing.h\
71 sync/event_processing_lttng_common.c\
72 sync/event_processing_lttng_common.h\
73 sync/event_processing_lttng_standard.c\
74 sync/event_processing_lttng_standard.h\
75 sync/event_processing_lttng_null.c\
76 sync/event_processing_lttng_null.h\
77 sync/event_matching.h\
78 sync/event_matching_broadcast.c\
79 sync/event_matching_broadcast.h\
80 sync/event_matching_distributor.c\
81 sync/event_matching_distributor.h\
82 sync/event_matching_tcp.c\
83 sync/event_matching_tcp.h\
84 sync/event_analysis.h\
85 sync/event_analysis_chull.c\
86 sync/event_analysis_chull.h\
87 sync/event_analysis_eval.c\
88 sync/event_analysis_eval.h\
89 sync/event_analysis_linreg.c\
90 sync/event_analysis_linreg.h\
91 sync/factor_reduction.h\
92 sync/factor_reduction_accuracy.c\
93 sync/factor_reduction_accuracy.h\
94 sync/lookup3.h
95
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\
105 traceset-process.h\
106 traceset.h\
107 filter.h\
108 print.h\
109 event.h
110
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
122 lttv_real_LDFLAGS += -static
123 endif
124
This page took 0.030993 seconds and 3 git commands to generate.