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