Consider exec and exit events an end of outstanding calls
[platform/upstream/ltrace.git] / Makefile.am
1 # This file is part of ltrace.
2 # Copyright (C) 2012, 2013 Petr Machata, Red Hat Inc.
3 # Copyright (C) 2010 Marc Kleine-Budde, Pengutronix
4 # Copyright (C) 2010 Zachary T Welch, CodeSourcery
5 #
6 # This program is free software; you can redistribute it and/or
7 # modify it under the terms of the GNU General Public License as
8 # published by the Free Software Foundation; either version 2 of the
9 # License, or (at your option) any later version.
10 #
11 # This program is distributed in the hope that it will be useful, but
12 # WITHOUT ANY WARRANTY; without even the implied warranty of
13 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
14 # General Public License for more details.
15 #
16 # You should have received a copy of the GNU General Public License
17 # along with this program; if not, write to the Free Software
18 # Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
19 # 02110-1301 USA
20
21 ACLOCAL_AMFLAGS = -I config/m4
22
23 SUBDIRS = \
24         sysdeps \
25         . \
26         testsuite
27
28 noinst_LTLIBRARIES = \
29         libltrace.la
30
31 libltrace_la_SOURCES = bits.c breakpoints.c debug.c demangle.c dict.c   \
32         ltrace-elf.c execute_program.c handle_event.c libltrace.c       \
33         options.c output.c proc.c read_config_file.c summary.c          \
34         library.c filter.c glob.c type.c value.c value_dict.c expr.c    \
35         fetch.c vect.c param.c printf.c zero.c lens.c lens_default.c    \
36         lens_enum.c memstream.c prototype.c
37
38 libltrace_la_LIBADD = \
39         $(libelf_LIBS) \
40         $(liberty_LIBS) \
41         $(libsupcxx_LIBS) \
42         $(libstdcxx_LIBS) \
43         $(libunwind_LIBS) \
44         sysdeps/libos.la
45
46 bin_PROGRAMS = \
47         ltrace
48
49 ltrace_SOURCES = \
50         main.c
51
52 ltrace_LDADD = \
53         libltrace.la
54
55 noinst_HEADERS = bits.h backend.h breakpoint.h common.h debug.h         \
56         defs.h demangle.h dict.h forward.h ltrace-elf.h ltrace.h        \
57         options.h output.h proc.h read_config_file.h summary.h          \
58         library.h filter.h glob.h vect.h type.h value.h value_dict.h    \
59         callback.h expr.h fetch.h vect.h param.h printf.h zero.h        \
60         lens.h lens_default.h lens_enum.h memstream.h prototype.h
61
62 dist_man1_MANS = ltrace.1
63 dist_man5_MANS = ltrace.conf.5
64
65 dist_doc_DATA = COPYING CREDITS INSTALL README TODO
66
67 dist_pkgdata_DATA = etc/syscalls.conf etc/libc.so.conf  \
68         etc/libm.so.conf etc/libacl.so.conf
69
70 EXTRA_DIST = \
71         debian/changelog \
72         debian/compat \
73         debian/control \
74         debian/copyright \
75         debian/rules
76
77 MAINTAINERCLEANFILES = \
78         configure \
79         Makefile.in \
80         aclocal.m4 \
81         config.h.in \
82         config.h.in~ \
83         config/autoconf/compile \
84         config/autoconf/config.guess \
85         config/autoconf/config.sub \
86         config/autoconf/depcomp \
87         config/autoconf/install-sh \
88         config/autoconf/ltmain.sh \
89         config/autoconf/mdate-sh \
90         config/autoconf/missing \
91         config/autoconf/texinfo.tex \
92         libtool.m4 \
93         ltoptions.m4 \
94         ltsugar.m4 \
95         ltversion.m4 \
96         lt~obsolete.m4 \
97         $(DIST_ARCHIVES)
98
99 maintainer-clean-local:
100         -chmod -R a+rw $(distdir)
101         -rm -fr $(distdir)