.error out if attempting to use this with non xorg-server 1.10.

This commit is contained in:
mrg 2019-01-28 18:50:39 +00:00
parent d4287bc531
commit 3fac453078
1 changed files with 7 additions and 1 deletions

View File

@ -1,4 +1,6 @@
# $NetBSD: Makefile,v 1.1 2015/11/06 01:17:08 jmcneill Exp $
# $NetBSD: Makefile,v 1.2 2019/01/28 18:50:39 mrg Exp $
# This is for xorg-server 1.10 only.
DRIVER= xf86-video-modesetting
DRIVER_NAME= modesetting_drv
@ -10,3 +12,7 @@ CPPFLAGS+= -I${DESTDIR}${X11INCDIR}/libdrm
CPPFLAGS+= -DRANDR_12_INTERFACE
.include "../Makefile.xf86-driver"
.if ${HAVE_XORG_SERVER_VER} != "110"
.error "This subdirectory is for xorg-server 1.10 only."
.endif