NetBSD-5.0.2/x11/Xserver/hw/xfree86/xf86config/Makefile

#	$NetBSD: Makefile,v 1.4 2004/05/17 23:50:09 lukem Exp $

XTODO= cpconfig

NOLINT=		1
NOPIC=		1
NOPROFILE=	1

.include <bsd.own.mk>

LIB=	xf86config
INCS=	xf86Parser.h xf86Optrec.h
INCSDIR=${X11INCDIR}

.PATH:	${X11SRCDIR.xc}/programs/Xserver/hw/xfree86/parser

SRCS=	DRI.c Device.c Files.c Flags.c Input.c Keyboard.c Layout.c Module.c \
	Video.c Monitor.c Pointer.c Screen.c Vendor.c read.c scan.c write.c

XSERVERINCDIR!=	cd ${NETBSDSRCDIR}/x11/Xserver/include && ${PRINTOBJDIR}

CPPFLAGS=	-I${X11SRCDIR.xc}/programs/Xserver/hw/xfree86/os-support \
		-I${XSERVERINCDIR}

CPPFLAGS.scan.c=	-DXCONFIGDIR=\"${X11ETCDIR}\" \
			-DXCONFIGFILE=\"XF86Config\" \
			-DXVERSION="${XVERSION}"

.include <bsd.x11.mk>
XVERSION!=	${PRINTX11VERSION}
LIBDIR=${X11USRLIBDIR}
.include <bsd.lib.mk>