Makefile.am revision d0fafff5e3722daa00676b2f12111ffa77d57e16
1SUBDIRS = \
2	sysdeps \
3	. \
4	testsuite
5
6AM_CPPFLAGS += \
7	$(libelf_CFLAGS) \
8	-DSYSCONFDIR=\"$(sysconfdir)\"
9
10noinst_LTLIBRARIES = \
11	libltrace.la
12
13libltrace_la_SOURCES = \
14	breakpoints.c \
15	debug.c \
16	demangle.c \
17	dict.c \
18	display_args.c \
19	ltrace-elf.c \
20	execute_program.c \
21	handle_event.c \
22	libltrace.c \
23	options.c \
24	output.c \
25	proc.c \
26	read_config_file.c  \
27	summary.c
28
29libltrace_la_LIBADD = \
30	$(libelf_LIBS) \
31	$(liberty_LIBS) \
32	$(libsupcxx_LIBS) \
33	$(libunwind_LIBS) \
34	$(libunwind_ptrace_LIBS) \
35	$(libunwind_arch_LIBS) \
36	sysdeps/libos.la
37
38
39bin_PROGRAMS = \
40	ltrace
41
42ltrace_SOURCES = \
43	main.c
44
45ltrace_LDADD = \
46	libltrace.la
47
48
49noinst_HEADERS = \
50	common.h \
51	debug.h \
52	defs.h \
53	demangle.h \
54	dict.h \
55	ltrace-elf.h \
56	ltrace.h \
57	options.h \
58	output.h \
59	read_config_file.h
60
61dist_man1_MANS = \
62	ltrace.1
63
64dist_doc_DATA = \
65	COPYING \
66	README \
67	TODO \
68	BUGS \
69	ChangeLog
70
71dist_sysconf_DATA = \
72	etc/ltrace.conf
73
74EXTRA_DIST = \
75	ltrace.spec \
76	debian/changelog \
77	debian/compat \
78	debian/control \
79	debian/copyright \
80	debian/rules
81
82MAINTAINERCLEANFILES = \
83	configure \
84	Makefile.in \
85	aclocal.m4 \
86	config.h.in \
87	config.h.in~ \
88	config/autoconf/compile \
89	config/autoconf/config.guess \
90	config/autoconf/config.sub \
91	config/autoconf/depcomp \
92	config/autoconf/install-sh \
93	config/autoconf/ltmain.sh \
94	config/autoconf/mdate-sh \
95	config/autoconf/missing \
96	config/autoconf/texinfo.tex \
97	libtool.m4 \
98	ltoptions.m4 \
99	ltsugar.m4 \
100	ltversion.m4 \
101	lt~obsolete.m4 \
102	$(DIST_ARCHIVES)
103
104maintainer-clean-local:
105	-chmod -R a+rw $(distdir)
106	-rm -fr $(distdir)
107