lttv: Clean up library handling in the build system
[lttv.git] / lttv / lttv / Makefile.am
CommitLineData
104325ef 1AM_CFLAGS= $(PACKAGE_CFLAGS)
3d55af6e 2LDADD = $(POPT_LIBS) ${top_builddir}/ltt/liblttvtraceread.la
f61f4dca
PMF
3
4bin_PROGRAMS = lttv.real
5
6bin_SCRIPTS = lttv lttv-gui
7CLEANFILES = $(bin_SCRIPTS)
8EXTRA_DIST = lttv.sh lttv-gui.sh
9
10lttv: lttv.sh
11 rm -f lttv
12 echo "#!"$(BASH) > lttv
13 cat $(srcdir)/lttv.sh >> lttv
14 chmod ugo+x lttv
15
16lttv-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
23INCLUDES = \
24 -DPACKAGE_PLUGIN_DIR=\""$(lttvplugindir)"\" \
f61f4dca
PMF
25 $(DEFAULT_INCLUDES)
26
27libdir = ${lttvplugindir}
28
f61f4dca
PMF
29#noinst_HEADERS = \
30# filter.h
31
32lttv_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
45lttv_real_LDFLAGS = -export-dynamic
46
47if LTTVSTATIC
48 lttv_real_LDFLAGS += -profile -static
49endif
e241a92a 50
This page took 0.059435 seconds and 4 git commands to generate.