24caa3154fe7382de3b9b2687691e9f6f336887b
[lttv.git] / lttv / lttv / Makefile.am
1 AM_CFLAGS= $(PACKAGE_CFLAGS)
2
3 LIBS += $(THREAD_LIBS)
4 LIBS += $(POPT_LIBS) $(GLIB_LIBS) -lgobject-2.0 -L${top_builddir}/ltt\
5 -llttvtraceread
6
7 bin_PROGRAMS = lttv.real
8
9 bin_SCRIPTS = lttv lttv-gui
10 CLEANFILES = $(bin_SCRIPTS)
11 EXTRA_DIST = lttv.sh lttv-gui.sh
12
13 lttv: lttv.sh
14 rm -f lttv
15 echo "#!"$(BASH) > lttv
16 cat $(srcdir)/lttv.sh >> lttv
17 chmod ugo+x lttv
18
19 lttv-gui: lttv-gui.sh
20 rm -f lttv-gui
21 echo "#!"$(BASH) > lttv-gui
22 cat $(srcdir)/lttv-gui.sh >> lttv-gui
23 chmod ugo+x lttv-gui
24
25
26 INCLUDES = \
27 -DPACKAGE_PLUGIN_DIR=\""$(lttvplugindir)"\" \
28 $(DEFAULT_INCLUDES)
29
30 libdir = ${lttvplugindir}
31
32 #noinst_HEADERS = \
33 # filter.h
34
35 lttv_real_SOURCES = batchtest.c main.c module.c option.c \
36 hook.c attribute.c \
37 iattribute.c state.c stats.c \
38 tracecontext.c traceset.c filter.c print.c
39
40 #man_MANS = lttv.1
41 #EXTRA_DIST = lttv.1
42
43 #install-data-hook:
44 # cd $(DESTDIR)$(mandir)/man1 && \
45 # $(LN_S) -f lttv.1 lttv-gui.1 \
46 # $(LN_S) -f lttv.1 lttv.real.1
47
48 lttv_real_LDFLAGS = -export-dynamic
49
50 if LTTVSTATIC
51 lttv_real_LDFLAGS += -profile -static
52 endif
53
This page took 0.031073 seconds and 3 git commands to generate.