Expand PMF_FN_* macros.
[netbsd-mini2440.git] / x11 / Xserver / hw / xfree86 / drm / Makefile
blobd269009e3bd4a774125b731d928407f39b148c5d
1 # $NetBSD$
3 XMODULEDIR= ${X11USRLIBDIR}/modules/extensions
5 .include "../../../Makefile.serverlib"
7 .include <bsd.own.mk>
9 LIB= drm
11 .PATH: ${X11SRCDIR.xc}/programs/Xserver/hw/xfree86/os-support/linux/drm
12 SRCS= xf86drm.c xf86drmHash.c xf86drmRandom.c xf86drmSL.c drmmodule.c
14 CPPFLAGS+= -I${X11SRCDIR.xc}/programs/Xserver/hw/xfree86/common \
15 -I${X11SRCDIR.xc}/programs/Xserver/hw/xfree86/os-support \
16 -I${X11SRCDIR.xc}/programs/Xserver/hw/xfree86/os-support/bsd/drm \
17 -I${X11SRCDIR.xc}/programs/Xserver/include \
18 -I${DESTDIR}${X11INCDIR}/X11 \
19 -I${DESTDIR}${X11INCDIR}/extensions \
20 -I${X11SRCDIR.xc}/programs/Xserver/hw/xfree86/os-support/bsd/drm/kernel \
21 -I${X11SRCDIR.xc}/programs/Xserver/hw/xfree86/os-support/shared/drm/kernel \
22 -I${X11SRCDIR.xc}/programs/Xserver/hw/xfree86/os-support/linux/drm/kernel \
23 -I${XSERVERINCDIR}
25 CPPFLAGS+= -DHAS_MTRR_SUPPORT ${X11FLAGS.DRI} ${X11FLAGS.SERVER}
27 .include <bsd.x11.mk>
28 LIBDIR= ${XMODULEDIR}
29 .include <bsd.lib.mk>
31 SUBDIR= mga #radeon
33 .include <bsd.subdir.mk>