summaryrefslogtreecommitdiff
path: root/util/Makefile.am
blob: b37c2eb8db03c47c593a212bc0da9bef8c25b033 (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

tools: malloc-stats.so

%.so: %.la
	$(RM) $@
	$(LN_S) .libs/$*.so $@

CLEANFILES = *.so *.la

SOLDFLAGS = -module -avoid-version -export-dynamic -rpath /dev/null

EXTRA_LTLIBRARIES = malloc-stats.la backtrace-symbols.la


backtrace_symbols_la_LDFLAGS = $(SOLDFLAGS)
backtrace_symbols_la_LIBADD  = -lbfd -liberty
backtrace_symbols_la_SOURCES = backtrace-symbols.c

malloc_stats_la_LDFLAGS = $(SOLDFLAGS)
malloc_stats_la_LIBADD  = $(backtrace_symbols_la_LIBADD)
malloc_stats_la_SOURCES = $(backtrace_symbols_la_SOURCES) malloc-stats.c

EXTRA_DIST = \
	xr2cairo \
	cairo-api-update