Only descend into the directory full of xf86 drivers if XSERVER_XFREE86 is set

This commit is contained in:
abs 2009-02-14 12:42:48 +00:00
parent 2cb54095fc
commit b3b52a0f6c

View File

@ -1,9 +1,14 @@
# $NetBSD: Makefile,v 1.5 2008/11/09 23:02:28 mrg Exp $
# $NetBSD: Makefile,v 1.6 2009/02/14 12:42:48 abs Exp $
# Makefile for modular-xorg-server and drivers
.include <bsd.own.mk>
SUBDIR= xorg-server drivers
.include "xorg-server/Makefile.common"
SUBDIR= xorg-server
.if ${XSERVER_XFREE86} != "no"
SUBDIR+= drivers
.endif
.include <bsd.subdir.mk>