Add patch that contain Mali fixes.
[deb_xorg-server.git] / Makefile.am
CommitLineData
a09e091a
JB
1AUTOMAKE_OPTIONS=nostdinc
2ACLOCAL_AMFLAGS = -I m4
3
4if COMPOSITE
5COMPOSITE_DIR=composite
6endif
7
8if GLX
9GLX_DIR=glx
10endif
11
12if DBE
13DBE_DIR=dbe
14endif
15
16if RECORD
17RECORD_DIR=record
18endif
19
20if DRI3
21DRI3_DIR=dri3
22endif
23
24if PRESENT
25PRESENT_DIR=present
26endif
27
28SUBDIRS = \
29 doc \
30 man \
31 include \
32 dix \
33 fb \
34 mi \
35 Xext \
36 miext \
37 os \
38 pseudoramiX \
39 randr \
40 render \
41 Xi \
42 xkb \
43 $(DBE_DIR) \
44 $(RECORD_DIR) \
45 xfixes \
46 damageext \
47 $(COMPOSITE_DIR) \
48 $(GLX_DIR) \
49 $(PRESENT_DIR) \
50 $(DRI3_DIR) \
51 exa \
52 config \
53 hw \
54 test
55
56if XORG
57aclocaldir = $(datadir)/aclocal
58aclocal_DATA = xorg-server.m4
59
60pkgconfigdir = $(libdir)/pkgconfig
61pkgconfig_DATA = xorg-server.pc
62endif
63
64EXTRA_DIST = xorg-server.pc.in xorg-server.m4 autogen.sh
65
66DISTCHECK_CONFIGURE_FLAGS=\
67 --with-xkb-path=$(XKB_BASE_DIRECTORY) \
68 --with-xkb-bin-directory=$(XKB_BIN_DIRECTORY) \
69 --with-xkb-output='$${datadir}/X11/xkb/compiled'
70
71.PHONY: ChangeLog INSTALL
72
73INSTALL:
74 $(INSTALL_CMD)
75
76ChangeLog:
77 $(CHANGELOG_CMD)
78
79dist-hook: ChangeLog INSTALL
80
81DIST_SUBDIRS = \
82 doc \
83 man \
84 include \
85 dix \
86 fb \
87 mi \
88 Xext \
89 miext \
90 os \
91 pseudoramiX \
92 randr \
93 render \
94 Xi \
95 xkb \
96 dbe \
97 record \
98 xfixes \
99 damageext \
100 composite \
101 glx \
102 exa \
103 config \
104 dri3 \
105 present \
106 hw \
107 test
108
109# gross hack
110relink: all
111 $(AM_V_at)$(MAKE) -C hw relink
112
113install-headers: Makefile
114 +find . -name Makefile | while read m; do \
115 if grep -q install-sdkHEADERS $$m; then \
116 (cd `dirname "$$m"` && make install-sdkHEADERS) \
117 fi \
118 done