Don't compile the sync directory
[lttv.git] / lttv / lttv / Makefile.am
1 #BABEL_CLEANUP
2 #SUBDIRS= sync
3
4 AM_CFLAGS= $(PACKAGE_CFLAGS)
5 LDADD = $(POPT_LIBS) $(M_LIBS) $(GLPK_LIBS)
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 #disabled for babeltrace port batchtest.c stats.c tracecontext.c filter.c
46
47
48
49 lttv_real_SOURCES = \
50 main.c\
51 module.c\
52 option.c\
53 hook.c\
54 attribute.c\
55 iattribute.c\
56 state.c\
57 traceset.c\
58 traceset-process.c\
59 print.c\
60 event.c
61 # sync/sync_chain.c\
62 sync/sync_chain.h\
63 sync/sync_chain_lttv.c\
64 sync/sync_chain_lttv.h\
65 sync/graph_functions.c\
66 sync/graph_functions.h\
67 sync/data_structures.c\
68 sync/data_structures.h\
69 sync/event_processing.h\
70 sync/event_processing_lttng_common.c\
71 sync/event_processing_lttng_common.h\
72 sync/event_processing_lttng_standard.c\
73 sync/event_processing_lttng_standard.h\
74 sync/event_processing_lttng_null.c\
75 sync/event_processing_lttng_null.h\
76 sync/event_matching.h\
77 sync/event_matching_broadcast.c\
78 sync/event_matching_broadcast.h\
79 sync/event_matching_distributor.c\
80 sync/event_matching_distributor.h\
81 sync/event_matching_tcp.c\
82 sync/event_matching_tcp.h\
83 sync/event_analysis.h\
84 sync/event_analysis_chull.c\
85 sync/event_analysis_chull.h\
86 sync/event_analysis_eval.c\
87 sync/event_analysis_eval.h\
88 sync/event_analysis_linreg.c\
89 sync/event_analysis_linreg.h\
90 sync/factor_reduction.h\
91 sync/factor_reduction_accuracy.c\
92 sync/factor_reduction_accuracy.h\
93 sync/lookup3.h
94
95 lttvinclude_HEADERS = \
96 attribute.h\
97 hook.h\
98 iattribute.h\
99 lttv.h\
100 module.h\
101 option.h\
102 state.h\
103 stats.h\
104 traceset-process.h\
105 traceset.h\
106 filter.h\
107 print.h\
108 compiler.h\
109 time.h\
110 event.h\
111 trace.h
112
113 #man_MANS = lttv.1
114 #EXTRA_DIST = lttv.1
115
116 #install-data-hook:
117 # cd $(DESTDIR)$(mandir)/man1 && \
118 # $(LN_S) -f lttv.1 lttv-gui.1 \
119 # $(LN_S) -f lttv.1 lttv.real.1
120
121 lttv_real_LDFLAGS = -export-dynamic
122
123 if LTTVSTATIC
124 lttv_real_LDFLAGS += -static
125 endif
126
This page took 0.031361 seconds and 4 git commands to generate.