Add a broadcast matching module
[lttv.git] / lttv / lttv / Makefile.am
... / ...
CommitLineData
1SUBDIRS= sync
2
3AM_CFLAGS= $(PACKAGE_CFLAGS)
4LDADD = $(POPT_LIBS) $(M_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 sync/sync_chain_lttv.c\
59 sync/data_structures.c\
60 sync/event_processing_lttng_common.c\
61 sync/event_processing_lttng_standard.c\
62 sync/event_processing_lttng_null.c\
63 sync/event_matching_broadcast.c\
64 sync/event_matching_tcp.c\
65 sync/event_analysis_linreg.c\
66 sync/event_analysis_chull.c
67
68lttvinclude_HEADERS = \
69 attribute.h\
70 hook.h\
71 iattribute.h\
72 lttv.h\
73 module.h\
74 option.h\
75 state.h\
76 stats.h\
77 tracecontext.h\
78 traceset.h\
79 filter.h\
80 print.h
81
82#man_MANS = lttv.1
83#EXTRA_DIST = lttv.1
84
85#install-data-hook:
86# cd $(DESTDIR)$(mandir)/man1 && \
87# $(LN_S) -f lttv.1 lttv-gui.1 \
88# $(LN_S) -f lttv.1 lttv.real.1
89
90lttv_real_LDFLAGS = -export-dynamic
91
92if LTTVSTATIC
93 lttv_real_LDFLAGS += -static
94endif
95
This page took 0.023086 seconds and 4 git commands to generate.