1include $(top_srcdir)/build/Makefile.am.common
2
3EXTRA_DIST += \
4	KNOWN_ISSUES \
5	README.win32 \
6	Makefile.win32 \
7	build/Makefile.win32.common \
8	build/Makefile.win32.features \
9	build/Makefile.win32.features-h \
10	$(NULL)
11#MAINTAINERCLEANFILES += \
12#	$(srcdir)/build/Makefile.win32.features \
13#	$(srcdir)/build/Makefile.win32.features-h \
14#	$(NULL)
15
16ACLOCAL_AMFLAGS = -I build
17
18DIST_SUBDIRS = src boilerplate
19SUBDIRS = src
20# libpng is required for our test programs
21if CAIRO_HAS_PNG_FUNCTIONS
22SUBDIRS += boilerplate
23endif
24
25configure: cairo-version.h
26
27doc:
28	cd doc && $(MAKE) $(AM_MAKEFLAGS) $@
29test retest recheck: all
30	cd test && $(MAKE) $(AM_MAKEFLAGS) $@
31perf: all
32	cd perf && $(MAKE) $(AM_MAKEFLAGS) $@
33check-valgrind: all
34	cd test && $(MAKE) $(AM_MAKEFLAGS) check-valgrind
35	cd perf && $(MAKE) $(AM_MAKEFLAGS) check-valgrind
36.PHONY: doc test retest recheck perf check-valgrind
37
38
39EXTRA_DIST += \
40	AUTHORS \
41	BIBLIOGRAPHY \
42	BUGS \
43	CODING_STYLE \
44	COPYING \
45	COPYING-LGPL-2.1 \
46	COPYING-MPL-1.1 \
47	HACKING \
48	INSTALL \
49	NEWS \
50	PORTING_GUIDE \
51	README \
52	RELEASING \
53	autogen.sh \
54	cairo-version.h \
55	$(NULL)
56
57DISTCLEANFILES += config.cache
58
59MAINTAINERCLEANFILES += \
60	$(srcdir)/aclocal.m4 \
61	$(srcdir)/autoscan.log \
62	$(srcdir)/build/compile \
63	$(srcdir)/build/config.guess \
64	$(srcdir)/build/config.sub \
65	$(srcdir)/build/depcomp \
66	$(srcdir)/build/install-sh \
67	$(srcdir)/build/ltmain.sh \
68	$(srcdir)/build/missing \
69	$(srcdir)/build/mkinstalldirs \
70	$(srcdir)/config.h.in \
71	$(srcdir)/configure.scan \
72	$(NULL)
73
74DISTCHECK_CONFIGURE_FLAGS = \
75	--enable-gtk-doc \
76	--enable-test-surfaces \
77	--enable-full-testing \
78	$(NULL)
79
80include $(srcdir)/build/Makefile.am.changelog
81include $(srcdir)/build/Makefile.am.releasing
82include $(srcdir)/build/Makefile.am.analysis
83