evas: "make doc" now works when srcdir != builddir.
[profile/ivi/evas.git] / Makefile.am
1 ACLOCAL_AMFLAGS = -I m4
2
3 SUBDIRS = src doc
4
5 MAINTAINERCLEANFILES = \
6 Makefile.in \
7 aclocal.m4 \
8 config.guess \
9 config.h.in \
10 config.h.in~ \
11 config.sub \
12 configure \
13 depcomp \
14 install-sh \
15 ltmain.sh \
16 missing \
17 $(PACKAGE_TARNAME)-$(PACKAGE_VERSION).tar.gz \
18 $(PACKAGE_TARNAME)-$(PACKAGE_VERSION).tar.bz2 \
19 $(PACKAGE_TARNAME)-$(PACKAGE_VERSION)-doc.tar.bz2 \
20 m4/libtool.m4 \
21 m4/lt~obsolete.m4 \
22 m4/ltoptions.m4 \
23 m4/ltsugar.m4 \
24 m4/ltversion.m4
25
26 bin_SCRIPTS =
27
28 EXTRA_DIST = \
29 AUTHORS \
30 COPYING \
31 autogen.sh \
32 README.in \
33 README \
34 evas.pc.in \
35 evas-directfb.pc.in \
36 evas-fb.pc.in \
37 evas-opengl-x11.pc.in \
38 evas-opengl-sdl.pc.in \
39 evas-software-buffer.pc.in \
40 evas-software-x11.pc.in \
41 evas-software-16-x11.pc.in \
42 evas-software-8-x11.pc.in \
43 evas-software-gdi.pc.in \
44 evas-software-ddraw.pc.in \
45 evas-software-16-ddraw.pc.in \
46 evas-direct3d.pc.in \
47 evas-software-16-wince.pc.in \
48 evas-software-sdl.pc.in \
49 evas.spec.in \
50 evas.spec
51
52 pkgconfigdir = $(libdir)/pkgconfig
53 pkgconfig_DATA = evas.pc
54
55 if BUILD_ENGINE_SOFTWARE_X11
56 pkgconfig_DATA += evas-software-x11.pc
57 endif
58
59 if BUILD_ENGINE_SOFTWARE_16_X11
60 pkgconfig_DATA += evas-software-16-x11.pc
61 endif
62
63 if BUILD_ENGINE_SOFTWARE_8_X11
64 pkgconfig_DATA += evas-software-8-x11.pc
65 endif
66
67 if BUILD_ENGINE_DIRECTFB
68 pkgconfig_DATA += evas-directfb.pc
69 endif
70
71 if BUILD_ENGINE_FB
72 pkgconfig_DATA += evas-fb.pc
73 endif
74
75 if BUILD_ENGINE_BUFFER
76 pkgconfig_DATA += evas-software-buffer.pc
77 endif
78
79 if BUILD_ENGINE_GL_X11
80 pkgconfig_DATA += evas-opengl-x11.pc
81 endif
82
83 if BUILD_ENGINE_GL_SDL
84 pkgconfig_DATA += evas-opengl-sdl.pc
85 endif
86
87 if BUILD_ENGINE_SOFTWARE_GDI
88 pkgconfig_DATA += evas-software-gdi.pc
89 endif
90
91 if BUILD_ENGINE_SOFTWARE_DDRAW
92 pkgconfig_DATA += evas-software-ddraw.pc
93 endif
94
95 if BUILD_ENGINE_SOFTWARE_16_DDRAW
96 pkgconfig_DATA += evas-software-16-ddraw.pc
97 endif
98
99 if BUILD_ENGINE_DIRECT3D
100 pkgconfig_DATA += evas-direct3d.pc
101 endif
102
103 if BUILD_ENGINE_SOFTWARE_16_WINCE
104 pkgconfig_DATA += evas-software-16-wince.pc
105 endif
106
107 if BUILD_ENGINE_SOFTWARE_SDL
108 pkgconfig_DATA += evas-software-sdl.pc
109 endif
110
111 .PHONY: doc
112
113 doc:
114         @echo "entering doc/"
115         $(MAKE) -C doc doc