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