Commit | Line | Data |
---|---|---|
104325ef | 1 | AM_CFLAGS= $(PACKAGE_CFLAGS) |
3d55af6e | 2 | LDADD = $(POPT_LIBS) ${top_builddir}/ltt/liblttvtraceread.la |
f61f4dca PMF |
3 | |
4 | bin_PROGRAMS = lttv.real | |
5 | ||
6 | bin_SCRIPTS = lttv lttv-gui | |
7 | CLEANFILES = $(bin_SCRIPTS) | |
8 | EXTRA_DIST = lttv.sh lttv-gui.sh | |
9 | ||
10 | lttv: lttv.sh | |
11 | rm -f lttv | |
12 | echo "#!"$(BASH) > lttv | |
13 | cat $(srcdir)/lttv.sh >> lttv | |
14 | chmod ugo+x lttv | |
15 | ||
16 | lttv-gui: lttv-gui.sh | |
17 | rm -f lttv-gui | |
18 | echo "#!"$(BASH) > lttv-gui | |
19 | cat $(srcdir)/lttv-gui.sh >> lttv-gui | |
20 | chmod ugo+x lttv-gui | |
21 | ||
22 | ||
23 | INCLUDES = \ | |
24 | -DPACKAGE_PLUGIN_DIR=\""$(lttvplugindir)"\" \ | |
f61f4dca PMF |
25 | $(DEFAULT_INCLUDES) |
26 | ||
27 | libdir = ${lttvplugindir} | |
28 | ||
f61f4dca PMF |
29 | #noinst_HEADERS = \ |
30 | # filter.h | |
31 | ||
32 | lttv_real_SOURCES = batchtest.c main.c module.c option.c \ | |
33 | hook.c attribute.c \ | |
34 | iattribute.c state.c stats.c \ | |
35 | tracecontext.c traceset.c filter.c print.c | |
36 | ||
37 | #man_MANS = lttv.1 | |
38 | #EXTRA_DIST = lttv.1 | |
39 | ||
40 | #install-data-hook: | |
41 | # cd $(DESTDIR)$(mandir)/man1 && \ | |
42 | # $(LN_S) -f lttv.1 lttv-gui.1 \ | |
43 | # $(LN_S) -f lttv.1 lttv.real.1 | |
44 | ||
45 | lttv_real_LDFLAGS = -export-dynamic | |
46 | ||
47 | if LTTVSTATIC | |
48 | lttv_real_LDFLAGS += -profile -static | |
49 | endif | |
e241a92a | 50 |