1706f2543SmrgAUTOMAKE_OPTIONS=nostdinc
2706f2543SmrgACLOCAL_AMFLAGS = -I m4
3706f2543Smrg
4706f2543Smrgif COMPOSITE
5706f2543SmrgCOMPOSITE_DIR=composite
6706f2543Smrgendif
7706f2543Smrg
8706f2543Smrgif GLX
9706f2543SmrgGLX_DIR=glx
10706f2543Smrgendif
11706f2543Smrg
12706f2543Smrgif DBE
13706f2543SmrgDBE_DIR=dbe
14706f2543Smrgendif
15706f2543Smrg
16706f2543Smrgif RECORD
17706f2543SmrgRECORD_DIR=record
18706f2543Smrgendif
19706f2543Smrg
20706f2543SmrgSUBDIRS = \
21706f2543Smrg	doc \
22706f2543Smrg	include \
23706f2543Smrg	dix  \
24706f2543Smrg	fb \
25706f2543Smrg	mi \
26706f2543Smrg	Xext \
27706f2543Smrg	miext \
28706f2543Smrg	os \
29706f2543Smrg	randr \
30706f2543Smrg	render  \
31706f2543Smrg	Xi \
32706f2543Smrg	xkb \
33706f2543Smrg	$(DBE_DIR) \
34706f2543Smrg	$(RECORD_DIR) \
35706f2543Smrg	xfixes \
36706f2543Smrg	damageext \
37706f2543Smrg	$(COMPOSITE_DIR) \
38706f2543Smrg	$(GLX_DIR) \
39706f2543Smrg	exa \
40706f2543Smrg	config \
41706f2543Smrg	hw \
42706f2543Smrg	test
43706f2543Smrg
44706f2543Smrgif XORG
45706f2543Smrgaclocaldir = $(datadir)/aclocal
46706f2543Smrgaclocal_DATA = xorg-server.m4
47706f2543Smrg
48706f2543Smrgpkgconfigdir = $(libdir)/pkgconfig
49706f2543Smrgpkgconfig_DATA = xorg-server.pc
50706f2543Smrgendif
51706f2543Smrg
52706f2543SmrgEXTRA_DIST = xorg-server.pc.in xorg-server.m4 autogen.sh
53706f2543Smrg
54706f2543SmrgDISTCHECK_CONFIGURE_FLAGS=\
55706f2543Smrg	--with-xkb-path=$(XKB_BASE_DIRECTORY) \
56706f2543Smrg	--with-xkb-bin-directory=$(XKB_BIN_DIRECTORY) \
57706f2543Smrg	--with-xkb-output='$${datadir}/X11/xkb/compiled'
58706f2543Smrg
59706f2543Smrg.PHONY: ChangeLog INSTALL
60706f2543Smrg
61706f2543SmrgINSTALL:
62706f2543Smrg	$(INSTALL_CMD)
63706f2543Smrg
64706f2543SmrgChangeLog:
65706f2543Smrg	$(CHANGELOG_CMD)
66706f2543Smrg
67706f2543Smrgdist-hook: ChangeLog INSTALL
68706f2543Smrg
69706f2543SmrgDIST_SUBDIRS = \
70706f2543Smrg	doc \
71706f2543Smrg	include \
72706f2543Smrg	dix  \
73706f2543Smrg	fb \
74706f2543Smrg	mi \
75706f2543Smrg	Xext \
76706f2543Smrg	miext \
77706f2543Smrg	os \
78706f2543Smrg	randr \
79706f2543Smrg	render  \
80706f2543Smrg	Xi \
81706f2543Smrg	xkb \
82706f2543Smrg	dbe \
83706f2543Smrg	record \
84706f2543Smrg	xfixes \
85706f2543Smrg	damageext \
86706f2543Smrg	composite \
87706f2543Smrg	glx \
88706f2543Smrg	exa \
89706f2543Smrg	config \
90706f2543Smrg	hw \
91706f2543Smrg	test
92706f2543Smrg
93706f2543Smrg# gross hack
94706f2543Smrgrelink: all
95706f2543Smrg	$(AM_V_at)$(MAKE) -C hw relink
96