summaryrefslogtreecommitdiff
path: root/util/Makefile.am
blob: 895c51633af3e075ec6eca159d1b3b1d1688bd56 (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
include $(top_srcdir)/build/Makefile.am.common

SUBDIRS = . cairo-script

if BUILD_TRACE
SUBDIRS += cairo-trace
endif

util: malloc-stats.so backtrace-symbols.so

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

CLEANFILES += *.so

# The -rpath is needed to build shared objects that are not installed,
# ie. with EXTRA_LTLIBRARIES
AM_LDFLAGS = -module -avoid-version -export-dynamic -rpath /dev/null

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

backtrace_symbols_la_LIBADD  = -lbfd -liberty

malloc_stats_la_LIBADD  = $(backtrace_symbols_la_LIBADD) backtrace-symbols.lo

EXTRA_DIST += \
	COPYING \
	xr2cairo \
	cairo-api-update \
	cairo-view \
	waterfall