cairo/util/Makefile.am
Chris Wilson ab8a0bfd82 Add a COPYING file to each aux. source directory
Include a COPYING inside perf/, test/, util/ to clarify the licensing
conditions beneath the respective directories. This is because cairo
itself (libcairo.so) is LGPL-2.1/MPL-1.1 but that only relates to src/.
The auxiliary source files are under a mix of free licenses and we wish to
be clear just what license applies to each file.

In particular, cairo-trace needs to include the GPL terms and conditions.
2008-10-31 16:14:14 +00:00

30 lines
625 B
Makefile

include $(top_srcdir)/build/Makefile.am.common
SUBDIRS = .
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