Comments and pointers style format changed to comply to kernel code standard.
[lttv.git] / lttv / lttv / Makefile.am
... / ...
CommitLineData
1SUBDIRS= sync
2
3AM_CFLAGS= $(PACKAGE_CFLAGS)
4LDADD = $(POPT_LIBS) $(M_LIBS) $(GLPK_LIBS) ${top_builddir}/ltt/liblttvtraceread.la
5
6bin_PROGRAMS = lttv.real
7
8if BUILD_LTTV_GUI
9bin_SCRIPTS = lttv lttv-gui
10else
11bin_SCRIPTS = lttv
12endif
13
14CLEANFILES = $(bin_SCRIPTS)
15
16if BUILD_LTTV_GUI
17EXTRA_DIST = lttv.sh lttv-gui.sh
18else
19EXTRA_DIST = lttv.sh
20endif
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)"\" \
37 $(DEFAULT_INCLUDES)
38
39libdir = ${lttvplugindir}
40
41#noinst_HEADERS = \
42# filter.h
43
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\
57 print.c
58
59#Disabled by Mathieu Desnoyers (does not build on x86_64)
60# sync/sync_chain.c\
61# sync/sync_chain_lttv.c\
62# sync/graph_functions.c\
63# sync/data_structures.c\
64# sync/event_processing_lttng_common.c\
65# sync/event_processing_lttng_standard.c\
66# sync/event_processing_lttng_null.c\
67# sync/event_matching_broadcast.c\
68# sync/event_matching_distributor.c\
69# sync/event_matching_tcp.c\
70# sync/event_analysis_chull.c\
71# sync/event_analysis_eval.c\
72# sync/event_analysis_linreg.c
73
74lttvinclude_HEADERS = \
75 attribute.h\
76 hook.h\
77 iattribute.h\
78 lttv.h\
79 module.h\
80 option.h\
81 state.h\
82 stats.h\
83 tracecontext.h\
84 traceset.h\
85 filter.h\
86 print.h
87
88#man_MANS = lttv.1
89#EXTRA_DIST = lttv.1
90
91#install-data-hook:
92# cd $(DESTDIR)$(mandir)/man1 && \
93# $(LN_S) -f lttv.1 lttv-gui.1 \
94# $(LN_S) -f lttv.1 lttv.real.1
95
96lttv_real_LDFLAGS = -export-dynamic
97
98if LTTVSTATIC
99 lttv_real_LDFLAGS += -static
100endif
101
This page took 0.022012 seconds and 4 git commands to generate.