83ddfbee743f9f15ba838bb0cc4ddda815a5814b
[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 event.c
60 # sync/sync_chain.c\
61 sync/sync_chain.h\
62 sync/sync_chain_lttv.c\
63 sync/sync_chain_lttv.h\
64 sync/graph_functions.c\
65 sync/graph_functions.h\
66 sync/data_structures.c\
67 sync/data_structures.h\
68 sync/event_processing.h\
69 sync/event_processing_lttng_common.c\
70 sync/event_processing_lttng_common.h\
71 sync/event_processing_lttng_standard.c\
72 sync/event_processing_lttng_standard.h\
73 sync/event_processing_lttng_null.c\
74 sync/event_processing_lttng_null.h\
75 sync/event_matching.h\
76 sync/event_matching_broadcast.c\
77 sync/event_matching_broadcast.h\
78 sync/event_matching_distributor.c\
79 sync/event_matching_distributor.h\
80 sync/event_matching_tcp.c\
81 sync/event_matching_tcp.h\
82 sync/event_analysis.h\
83 sync/event_analysis_chull.c\
84 sync/event_analysis_chull.h\
85 sync/event_analysis_eval.c\
86 sync/event_analysis_eval.h\
87 sync/event_analysis_linreg.c\
88 sync/event_analysis_linreg.h\
89 sync/factor_reduction.h\
90 sync/factor_reduction_accuracy.c\
91 sync/factor_reduction_accuracy.h\
92 sync/lookup3.h
93
94 lttvinclude_HEADERS = \
95 attribute.h\
96 hook.h\
97 iattribute.h\
98 lttv.h\
99 module.h\
100 option.h\
101 state.h\
102 stats.h\
103 traceset-process.h\
104 traceset.h\
105 filter.h\
106 print.h\
107 compiler.h\
108 time.h\
109 event.h\
110 trace.h
111
112 #man_MANS = lttv.1
113 #EXTRA_DIST = lttv.1
114
115 #install-data-hook:
116 # cd $(DESTDIR)$(mandir)/man1 && \
117 # $(LN_S) -f lttv.1 lttv-gui.1 \
118 # $(LN_S) -f lttv.1 lttv.real.1
119
120 lttv_real_LDFLAGS = -export-dynamic
121
122 if LTTVSTATIC
123 lttv_real_LDFLAGS += -static
124 endif
125
This page took 0.031752 seconds and 3 git commands to generate.