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