Do not use __attribute__((constructor))
[lttv.git] / lttv / lttv / Makefile.am
CommitLineData
ccf1db70 1SUBDIRS= sync
84baf72b 2
104325ef 3AM_CFLAGS= $(PACKAGE_CFLAGS)
66eaf2eb 4LDADD = $(POPT_LIBS) $(M_LIBS) $(GLPK_LIBS) ${top_builddir}/ltt/liblttvtraceread.la
f61f4dca
PMF
5
6bin_PROGRAMS = lttv.real
7
68d52dcc 8if BUILD_LTTV_GUI
f61f4dca 9bin_SCRIPTS = lttv lttv-gui
68d52dcc
WB
10else
11bin_SCRIPTS = lttv
12endif
13
f61f4dca 14CLEANFILES = $(bin_SCRIPTS)
68d52dcc
WB
15
16if BUILD_LTTV_GUI
f61f4dca 17EXTRA_DIST = lttv.sh lttv-gui.sh
68d52dcc
WB
18else
19EXTRA_DIST = lttv.sh
20endif
f61f4dca
PMF
21
22lttv: lttv.sh
23 rm -f lttv
24 echo "#!"$(BASH) > lttv
25 cat $(srcdir)/lttv.sh >> lttv
26 chmod ugo+x lttv
27
28lttv-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
35INCLUDES = \
36 -DPACKAGE_PLUGIN_DIR=\""$(lttvplugindir)"\" \
f61f4dca
PMF
37 $(DEFAULT_INCLUDES)
38
39libdir = ${lttvplugindir}
40
f61f4dca
PMF
41#noinst_HEADERS = \
42# filter.h
43
14bc9b7c
BP
44lttv_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
89lttvinclude_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
111lttv_real_LDFLAGS = -export-dynamic
112
113if LTTVSTATIC
7d3dcbe0 114 lttv_real_LDFLAGS += -static
f61f4dca 115endif
e241a92a 116
This page took 0.14243 seconds and 4 git commands to generate.