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

noinst_PROGRAMS =

if HAVE_GTK
EXTRA_PROGRAMS += font-view
font_view_CFLAGS = $(gtk_CFLAGS)
font_view_LDADD = ../src/libcairo.la $(gtk_LIBS)
endif

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