2009-10-28 14:09:11 -04:00
|
|
|
AUTOMAKE_OPTIONS=nostdinc
|
2009-04-08 14:17:38 -07:00
|
|
|
ACLOCAL_AMFLAGS = -I m4
|
2005-07-01 20:29:53 +00:00
|
|
|
|
|
|
|
|
if COMPOSITE
|
|
|
|
|
COMPOSITE_DIR=composite
|
|
|
|
|
endif
|
2005-08-21 19:15:11 +00:00
|
|
|
|
2005-07-11 00:42:52 +00:00
|
|
|
if GLX
|
2008-05-21 13:33:36 -04:00
|
|
|
GLX_DIR=glx
|
2005-07-11 00:42:52 +00:00
|
|
|
endif
|
2005-07-01 20:29:53 +00:00
|
|
|
|
2006-02-16 07:17:31 +00:00
|
|
|
if DBE
|
|
|
|
|
DBE_DIR=dbe
|
|
|
|
|
endif
|
|
|
|
|
|
2008-03-24 13:37:42 -04:00
|
|
|
if RECORD
|
|
|
|
|
RECORD_DIR=record
|
|
|
|
|
endif
|
|
|
|
|
|
2005-10-15 20:44:44 +00:00
|
|
|
SUBDIRS = \
|
|
|
|
|
doc \
|
2011-04-28 21:16:13 -04:00
|
|
|
man \
|
2005-10-15 20:44:44 +00:00
|
|
|
include \
|
|
|
|
|
dix \
|
|
|
|
|
fb \
|
|
|
|
|
mi \
|
|
|
|
|
Xext \
|
|
|
|
|
miext \
|
|
|
|
|
os \
|
|
|
|
|
randr \
|
2005-07-01 20:29:53 +00:00
|
|
|
render \
|
2006-07-19 17:00:23 -04:00
|
|
|
Xi \
|
2005-10-15 20:44:44 +00:00
|
|
|
xkb \
|
2006-02-16 07:17:31 +00:00
|
|
|
$(DBE_DIR) \
|
2008-03-24 13:37:42 -04:00
|
|
|
$(RECORD_DIR) \
|
2005-10-15 20:44:44 +00:00
|
|
|
xfixes \
|
2005-07-01 20:29:53 +00:00
|
|
|
damageext \
|
2005-07-05 23:01:51 +00:00
|
|
|
$(COMPOSITE_DIR) \
|
2005-10-15 20:44:44 +00:00
|
|
|
$(GLX_DIR) \
|
2006-02-16 00:14:11 +00:00
|
|
|
exa \
|
2006-07-19 10:05:12 -04:00
|
|
|
config \
|
2009-07-14 11:20:01 +10:00
|
|
|
hw \
|
|
|
|
|
test
|
2005-07-01 20:29:53 +00:00
|
|
|
|
2009-10-15 01:53:40 -05:00
|
|
|
if XORG
|
2005-11-01 15:01:51 +00:00
|
|
|
aclocaldir = $(datadir)/aclocal
|
|
|
|
|
aclocal_DATA = xorg-server.m4
|
|
|
|
|
|
2005-07-01 20:29:53 +00:00
|
|
|
pkgconfigdir = $(libdir)/pkgconfig
|
|
|
|
|
pkgconfig_DATA = xorg-server.pc
|
2009-10-15 01:53:40 -05:00
|
|
|
endif
|
2005-11-01 15:01:51 +00:00
|
|
|
|
2009-11-10 09:12:27 -05:00
|
|
|
EXTRA_DIST = xorg-server.pc.in xorg-server.m4 autogen.sh
|
2007-07-10 21:06:51 -07:00
|
|
|
|
2009-10-21 16:46:55 +09: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 14:09:11 -04:00
|
|
|
.PHONY: ChangeLog INSTALL
|
|
|
|
|
|
|
|
|
|
INSTALL:
|
|
|
|
|
$(INSTALL_CMD)
|
2007-07-10 21:06:51 -07:00
|
|
|
|
|
|
|
|
ChangeLog:
|
2008-12-07 18:52:23 -02:00
|
|
|
$(CHANGELOG_CMD)
|
2007-07-10 21:06:51 -07:00
|
|
|
|
2009-10-28 14:09:11 -04:00
|
|
|
dist-hook: ChangeLog INSTALL
|
2005-10-15 20:44:44 +00:00
|
|
|
|
|
|
|
|
DIST_SUBDIRS = \
|
|
|
|
|
doc \
|
2011-04-28 21:16:13 -04:00
|
|
|
man \
|
2005-10-15 20:44:44 +00:00
|
|
|
include \
|
|
|
|
|
dix \
|
|
|
|
|
fb \
|
|
|
|
|
mi \
|
|
|
|
|
Xext \
|
|
|
|
|
miext \
|
|
|
|
|
os \
|
|
|
|
|
randr \
|
|
|
|
|
render \
|
|
|
|
|
Xi \
|
|
|
|
|
xkb \
|
|
|
|
|
dbe \
|
|
|
|
|
record \
|
|
|
|
|
xfixes \
|
|
|
|
|
damageext \
|
|
|
|
|
composite \
|
2008-05-21 13:33:36 -04:00
|
|
|
glx \
|
2006-03-21 22:54:38 +00:00
|
|
|
exa \
|
2006-11-02 04:51:03 +02:00
|
|
|
config \
|
2009-07-23 15:16:44 -07:00
|
|
|
hw \
|
|
|
|
|
test
|
2005-12-26 19:13:52 +00:00
|
|
|
|
|
|
|
|
# gross hack
|
|
|
|
|
relink: all
|
2010-03-17 14:56:24 -05:00
|
|
|
$(AM_V_at)$(MAKE) -C hw relink
|
2012-07-09 16:29:04 -07: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
|