2009-10-28 19:09:11 +01:00
|
|
|
AUTOMAKE_OPTIONS=nostdinc
|
2013-12-04 19:28:04 +01:00
|
|
|
|
|
|
|
# Required for automake < 1.14
|
2009-04-08 23:17:38 +02:00
|
|
|
ACLOCAL_AMFLAGS = -I m4
|
2005-07-01 22:29:53 +02:00
|
|
|
|
|
|
|
if COMPOSITE
|
|
|
|
COMPOSITE_DIR=composite
|
|
|
|
endif
|
2005-08-21 21:15:11 +02:00
|
|
|
|
2005-07-11 02:42:52 +02:00
|
|
|
if GLX
|
2008-05-21 19:33:36 +02:00
|
|
|
GLX_DIR=glx
|
2005-07-11 02:42:52 +02:00
|
|
|
endif
|
2005-07-01 22:29:53 +02:00
|
|
|
|
2006-02-16 08:17:31 +01:00
|
|
|
if DBE
|
|
|
|
DBE_DIR=dbe
|
|
|
|
endif
|
|
|
|
|
2008-03-24 18:37:42 +01:00
|
|
|
if RECORD
|
|
|
|
RECORD_DIR=record
|
|
|
|
endif
|
|
|
|
|
2013-04-10 04:59:39 +02:00
|
|
|
if DRI3
|
|
|
|
DRI3_DIR=dri3
|
|
|
|
endif
|
|
|
|
|
2013-07-12 01:11:57 +02:00
|
|
|
if PRESENT
|
|
|
|
PRESENT_DIR=present
|
|
|
|
endif
|
|
|
|
|
2014-01-23 04:17:24 +01:00
|
|
|
if PSEUDORAMIX
|
|
|
|
PSEUDORAMIX_DIR=pseudoramiX
|
|
|
|
endif
|
|
|
|
|
2013-12-18 20:35:53 +01:00
|
|
|
if GLAMOR
|
|
|
|
GLAMOR_DIR=glamor
|
|
|
|
endif
|
|
|
|
|
2005-10-15 22:44:44 +02:00
|
|
|
SUBDIRS = \
|
|
|
|
doc \
|
2011-04-29 03:16:13 +02:00
|
|
|
man \
|
2005-10-15 22:44:44 +02:00
|
|
|
include \
|
|
|
|
dix \
|
|
|
|
fb \
|
|
|
|
mi \
|
|
|
|
Xext \
|
|
|
|
miext \
|
|
|
|
os \
|
|
|
|
randr \
|
2005-07-01 22:29:53 +02:00
|
|
|
render \
|
2006-07-19 23:00:23 +02:00
|
|
|
Xi \
|
2005-10-15 22:44:44 +02:00
|
|
|
xkb \
|
2014-01-23 04:17:24 +01:00
|
|
|
$(PSEUDORAMIX_DIR) \
|
2006-02-16 08:17:31 +01:00
|
|
|
$(DBE_DIR) \
|
2008-03-24 18:37:42 +01:00
|
|
|
$(RECORD_DIR) \
|
2005-10-15 22:44:44 +02:00
|
|
|
xfixes \
|
2005-07-01 22:29:53 +02:00
|
|
|
damageext \
|
2005-07-06 01:01:51 +02:00
|
|
|
$(COMPOSITE_DIR) \
|
2005-10-15 22:44:44 +02:00
|
|
|
$(GLX_DIR) \
|
2013-07-12 01:11:57 +02:00
|
|
|
$(PRESENT_DIR) \
|
2013-04-10 04:59:39 +02:00
|
|
|
$(DRI3_DIR) \
|
2006-02-16 01:14:11 +01:00
|
|
|
exa \
|
2013-12-18 20:35:53 +01:00
|
|
|
$(GLAMOR_DIR) \
|
2006-07-19 16:05:12 +02:00
|
|
|
config \
|
2009-07-14 03:20:01 +02:00
|
|
|
hw \
|
|
|
|
test
|
2005-07-01 22:29:53 +02:00
|
|
|
|
2009-10-15 08:53:40 +02:00
|
|
|
if XORG
|
2005-11-01 16:01:51 +01:00
|
|
|
aclocaldir = $(datadir)/aclocal
|
|
|
|
aclocal_DATA = xorg-server.m4
|
|
|
|
|
2005-07-01 22:29:53 +02:00
|
|
|
pkgconfigdir = $(libdir)/pkgconfig
|
|
|
|
pkgconfig_DATA = xorg-server.pc
|
2009-10-15 08:53:40 +02:00
|
|
|
endif
|
2005-11-01 16:01:51 +01:00
|
|
|
|
2009-11-10 15:12:27 +01:00
|
|
|
EXTRA_DIST = xorg-server.pc.in xorg-server.m4 autogen.sh
|
2007-07-11 06:06:51 +02:00
|
|
|
|
2009-10-21 09:46:55 +02:00
|
|
|
DISTCHECK_CONFIGURE_FLAGS=\
|
|
|
|
--with-xkb-path=$(XKB_BASE_DIRECTORY) \
|
|
|
|
--with-xkb-bin-directory=$(XKB_BIN_DIRECTORY) \
|
|
|
|
--with-xkb-output='$${datadir}/X11/xkb/compiled'
|
|
|
|
|
2009-10-28 19:09:11 +01:00
|
|
|
.PHONY: ChangeLog INSTALL
|
|
|
|
|
|
|
|
INSTALL:
|
|
|
|
$(INSTALL_CMD)
|
2007-07-11 06:06:51 +02:00
|
|
|
|
|
|
|
ChangeLog:
|
2008-12-07 21:52:23 +01:00
|
|
|
$(CHANGELOG_CMD)
|
2007-07-11 06:06:51 +02:00
|
|
|
|
2009-10-28 19:09:11 +01:00
|
|
|
dist-hook: ChangeLog INSTALL
|
2005-10-15 22:44:44 +02:00
|
|
|
|
|
|
|
DIST_SUBDIRS = \
|
|
|
|
doc \
|
2011-04-29 03:16:13 +02:00
|
|
|
man \
|
2005-10-15 22:44:44 +02:00
|
|
|
include \
|
|
|
|
dix \
|
|
|
|
fb \
|
|
|
|
mi \
|
|
|
|
Xext \
|
|
|
|
miext \
|
|
|
|
os \
|
2012-03-31 15:42:45 +02:00
|
|
|
pseudoramiX \
|
2005-10-15 22:44:44 +02:00
|
|
|
randr \
|
|
|
|
render \
|
|
|
|
Xi \
|
|
|
|
xkb \
|
|
|
|
dbe \
|
|
|
|
record \
|
|
|
|
xfixes \
|
|
|
|
damageext \
|
|
|
|
composite \
|
2008-05-21 19:33:36 +02:00
|
|
|
glx \
|
2006-03-21 23:54:38 +01:00
|
|
|
exa \
|
2014-02-14 00:25:56 +01:00
|
|
|
glamor \
|
2006-11-02 03:51:03 +01:00
|
|
|
config \
|
2013-11-01 09:43:59 +01:00
|
|
|
dri3 \
|
|
|
|
present \
|
2009-07-24 00:16:44 +02:00
|
|
|
hw \
|
|
|
|
test
|
2005-12-26 20:13:52 +01:00
|
|
|
|
|
|
|
# gross hack
|
|
|
|
relink: all
|
2010-03-17 20:56:24 +01:00
|
|
|
$(AM_V_at)$(MAKE) -C hw relink
|
2012-07-10 01:29:04 +02:00
|
|
|
|
|
|
|
install-headers: Makefile
|
|
|
|
+find . -name Makefile | while read m; do \
|
|
|
|
if grep -q install-sdkHEADERS $$m; then \
|
|
|
|
(cd `dirname "$$m"` && make install-sdkHEADERS) \
|
|
|
|
fi \
|
|
|
|
done
|