aboutsummaryrefslogtreecommitdiff
path: root/Makefile.am
blob: efcf18a8a12d44116f2d1f28d050d4b472c11cc9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
# This file is part of ltrace.
# Copyright (C) 2012, 2013 Petr Machata, Red Hat Inc.
# Copyright (C) 2010 Marc Kleine-Budde, Pengutronix
# Copyright (C) 2010 Zachary T Welch, CodeSourcery
#
# This program is free software; you can redistribute it and/or
# modify it under the terms of the GNU General Public License as
# published by the Free Software Foundation; either version 2 of the
# License, or (at your option) any later version.
#
# This program is distributed in the hope that it will be useful, but
# WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
# General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program; if not, write to the Free Software
# Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
# 02110-1301 USA

ACLOCAL_AMFLAGS = -I config/m4

SUBDIRS = \
	sysdeps \
	. \
	testsuite

noinst_LTLIBRARIES = \
	libltrace.la

libltrace_la_SOURCES = bits.c breakpoints.c debug.c demangle.c dict.c	\
	ltrace-elf.c execute_program.c handle_event.c libltrace.c	\
	options.c output.c proc.c read_config_file.c summary.c		\
	library.c filter.c glob.c type.c value.c value_dict.c expr.c	\
	fetch.c vect.c param.c printf.c zero.c lens.c lens_default.c	\
	lens_enum.c memstream.c prototype.c

libltrace_la_LIBADD = \
	$(libelf_LIBS) \
	$(liberty_LIBS) \
	$(libsupcxx_LIBS) \
	$(libstdcxx_LIBS) \
	$(libunwind_LIBS) \
	sysdeps/libos.la

bin_PROGRAMS = \
	ltrace

ltrace_SOURCES = \
	main.c

ltrace_LDADD = \
	libltrace.la

noinst_HEADERS = bits.h backend.h breakpoint.h common.h debug.h		\
	defs.h demangle.h dict.h forward.h ltrace-elf.h ltrace.h	\
	options.h output.h proc.h read_config_file.h summary.h		\
	library.h filter.h glob.h vect.h type.h value.h value_dict.h	\
	callback.h expr.h fetch.h vect.h param.h printf.h zero.h	\
	lens.h lens_default.h lens_enum.h memstream.h prototype.h

dist_man1_MANS = ltrace.1
dist_man5_MANS = ltrace.conf.5

dist_doc_DATA = COPYING CREDITS INSTALL README TODO

dist_pkgdata_DATA = etc/syscalls.conf etc/libc.so.conf	\
	etc/libm.so.conf etc/libacl.so.conf

EXTRA_DIST = \
	debian/changelog \
	debian/compat \
	debian/control \
	debian/copyright \
	debian/rules

MAINTAINERCLEANFILES = \
	configure \
	Makefile.in \
	aclocal.m4 \
	config.h.in \
	config.h.in~ \
	config/autoconf/compile \
	config/autoconf/config.guess \
	config/autoconf/config.sub \
	config/autoconf/depcomp \
	config/autoconf/install-sh \
	config/autoconf/ltmain.sh \
	config/autoconf/mdate-sh \
	config/autoconf/missing \
	config/autoconf/texinfo.tex \
	libtool.m4 \
	ltoptions.m4 \
	ltsugar.m4 \
	ltversion.m4 \
	lt~obsolete.m4 \
	$(DIST_ARCHIVES)

maintainer-clean-local:
	-chmod -R a+rw $(distdir)
	-rm -fr $(distdir)