b0bc52f4c1d0ed2ccd78ad4e289fbf82b520f2b5
[lttv.git] / lttv / lttv / Makefile.am
1 AM_CFLAGS= $(PACKAGE_CFLAGS)
2 LDADD = $(POPT_LIBS) ${top_builddir}/ltt/liblttvtraceread.la
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)"\" \
25 $(DEFAULT_INCLUDES)
26
27 libdir = ${lttvplugindir}
28
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 += -static
49 endif
50
This page took 0.030729 seconds and 3 git commands to generate.