Makefile.am 1.14 KB
Newer Older
1
AUTOMAKE_OPTIONS=nostdinc
2
ACLOCAL_AMFLAGS = -I m4
Daniel Stone's avatar
Daniel Stone committed
3 4 5 6

if COMPOSITE
COMPOSITE_DIR=composite
endif
7

8
if GLX
9
GLX_DIR=glx
10
endif
Daniel Stone's avatar
Daniel Stone committed
11

12 13 14 15
if DBE
DBE_DIR=dbe
endif

16 17 18 19
if RECORD
RECORD_DIR=record
endif

20 21
SUBDIRS = \
	doc \
22
	man \
23 24 25 26 27 28 29 30
	include \
	dix  \
	fb \
	mi \
	Xext \
	miext \
	os \
	randr \
Daniel Stone's avatar
Daniel Stone committed
31
	render  \
Daniel Stone's avatar
Daniel Stone committed
32
	Xi \
33
	xkb \
34
	$(DBE_DIR) \
35
	$(RECORD_DIR) \
36
	xfixes \
Daniel Stone's avatar
Daniel Stone committed
37
	damageext \
38
	$(COMPOSITE_DIR) \
39
	$(GLX_DIR) \
40
	exa \
41
	config \
42 43
	hw \
	test
Daniel Stone's avatar
Daniel Stone committed
44

45
if XORG
46 47 48
aclocaldir = $(datadir)/aclocal
aclocal_DATA = xorg-server.m4

Daniel Stone's avatar
Daniel Stone committed
49 50
pkgconfigdir = $(libdir)/pkgconfig
pkgconfig_DATA = xorg-server.pc
51
endif
52

53
EXTRA_DIST = xorg-server.pc.in xorg-server.m4 autogen.sh
54

55 56 57 58 59
DISTCHECK_CONFIGURE_FLAGS=\
	--with-xkb-path=$(XKB_BASE_DIRECTORY) \
	--with-xkb-bin-directory=$(XKB_BIN_DIRECTORY) \
	--with-xkb-output='$${datadir}/X11/xkb/compiled'

60 61 62 63
.PHONY: ChangeLog INSTALL

INSTALL:
	$(INSTALL_CMD)
64 65

ChangeLog:
66
	$(CHANGELOG_CMD)
67

68
dist-hook: ChangeLog INSTALL
69 70 71

DIST_SUBDIRS = \
	doc \
72
	man \
73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88
	include \
	dix  \
	fb \
	mi \
	Xext \
	miext \
	os \
	randr \
	render  \
	Xi \
	xkb \
	dbe \
	record \
	xfixes \
	damageext \
	composite \
89
	glx \
90
	exa \
91
	config \
Aaron Plattner's avatar
Aaron Plattner committed
92 93
	hw \
	test
94 95 96

# gross hack
relink: all
97
	$(AM_V_at)$(MAKE) -C hw relink