• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
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
21ACLOCAL_AMFLAGS = -I config/m4
22
23SUBDIRS = \
24	sysdeps \
25	. \
26	testsuite
27
28noinst_LTLIBRARIES = \
29	libltrace.la
30
31libltrace_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
38libltrace_la_LIBADD = \
39	$(libelf_LIBS) \
40	$(liberty_LIBS) \
41	$(libsupcxx_LIBS) \
42	$(libstdcxx_LIBS) \
43	$(libdw_LIBS) \
44	$(libunwind_LIBS) \
45	sysdeps/libos.la
46
47bin_PROGRAMS = \
48	ltrace
49
50ltrace_SOURCES = \
51	main.c
52
53ltrace_LDADD = \
54	libltrace.la
55
56noinst_HEADERS = bits.h backend.h breakpoint.h common.h debug.h		\
57	defs.h demangle.h dict.h forward.h ltrace-elf.h ltrace.h	\
58	options.h output.h proc.h read_config_file.h summary.h		\
59	library.h filter.h glob.h vect.h type.h value.h value_dict.h	\
60	callback.h expr.h fetch.h vect.h param.h printf.h zero.h	\
61	lens.h lens_default.h lens_enum.h memstream.h prototype.h
62
63dist_man1_MANS = ltrace.1
64dist_man5_MANS = ltrace.conf.5
65
66dist_doc_DATA = COPYING CREDITS INSTALL README TODO
67
68dist_pkgdata_DATA = etc/syscalls.conf etc/libc.so.conf	\
69	etc/libm.so.conf etc/libacl.so.conf
70
71EXTRA_DIST = \
72	debian/changelog \
73	debian/compat \
74	debian/control \
75	debian/copyright \
76	debian/rules
77
78MAINTAINERCLEANFILES = \
79	configure \
80	Makefile.in \
81	aclocal.m4 \
82	config.h.in \
83	config.h.in~ \
84	config/autoconf/compile \
85	config/autoconf/config.guess \
86	config/autoconf/config.sub \
87	config/autoconf/depcomp \
88	config/autoconf/install-sh \
89	config/autoconf/ltmain.sh \
90	config/autoconf/mdate-sh \
91	config/autoconf/missing \
92	config/autoconf/texinfo.tex \
93	libtool.m4 \
94	ltoptions.m4 \
95	ltsugar.m4 \
96	ltversion.m4 \
97	lt~obsolete.m4 \
98	$(DIST_ARCHIVES)
99
100maintainer-clean-local:
101	-chmod -R a+rw $(distdir)
102	-rm -fr $(distdir)
103