Expand PMF_FN_* macros.
[netbsd-mini2440.git] / x11 / Xserver / hw / xfree86 / drivers / r128 / Makefile
blob20e414a8c9993eb60eeb6f01a4f1d57e878c07bf
1 # $NetBSD: Makefile,v 1.6 2008/03/08 10:39:00 phx Exp $
3 XMODULEDIR= ${X11USRLIBDIR}/modules/drivers
5 .include "../../../../Makefile.serverlib"
7 MODULE= r128_drv
8 MAN= r128.4
9 .PATH: ${X11SRCDIR.xc}/programs/Xserver/hw/xfree86/drivers/ati
11 SRCS= r128_accel.c r128_cursor.c r128_dga.c r128_driver.c r128_video.c \
12 r128_misc.c
14 CPPFLAGS+= -I${X11SRCDIR.xc}/programs/Xserver/hw/xfree86/drivers/ati \
15 -I${X11SRCDIR.xc}/programs/Xserver/hw/xfree86/common \
16 -I${X11SRCDIR.xc}/programs/Xserver/hw/xfree86/os-support \
17 -I${X11SRCDIR.xc}/programs/Xserver/hw/xfree86 \
18 -I${X11SRCDIR.xc}/programs/Xserver/hw/xfree86/vbe \
19 -I${X11SRCDIR.xc}/programs/Xserver/hw/xfree86/int10 \
20 -I${X11SRCDIR.xc}/programs/Xserver/hw/xfree86/ddc \
21 -I${X11SRCDIR.xc}/programs/Xserver/hw/xfree86/i2c \
22 -I${X11SRCDIR.xc}/programs/Xserver/hw/xfree86/rac \
23 -I${X11SRCDIR.xc}/programs/Xserver/hw/xfree86/ramdac \
24 -I${X11SRCDIR.xc}/programs/Xserver/hw/xfree86/shadowfb \
25 -I${X11SRCDIR.xc}/programs/Xserver/hw/xfree86/xaa \
26 -I${X11SRCDIR.xc}/programs/Xserver/hw/xfree86/xf24_32bpp \
27 -I${X11SRCDIR.xc}/programs/Xserver/hw/xfree86/xf4bpp \
28 -I${X11SRCDIR.xc}/programs/Xserver/hw/xfree86/xf1bpp \
29 -I${X11SRCDIR.xc}/programs/Xserver/hw/xfree86/vgahw \
30 -I${X11SRCDIR.xc}/programs/Xserver/hw/xfree86/fbdevhw \
31 -I${X11SRCDIR.xc}/programs/Xserver/cfb \
32 -I${X11SRCDIR.xc}/programs/Xserver/mfb \
33 -I${X11SRCDIR.xc}/programs/Xserver/fb \
34 -I${X11SRCDIR.xc}/programs/Xserver/mi \
35 -I${X11SRCDIR.xc}/programs/Xserver/miext/shadow \
36 -I${X11SRCDIR.xc}/programs/Xserver/render \
37 -I${X11SRCDIR.xc}/programs/Xserver/Xext \
38 -I${X11SRCDIR.xc}/programs/Xserver/include \
39 -I${X11SRCDIR.xc}/include/fonts \
40 -I${DESTDIR}${X11INCDIR}/X11 \
41 -I${DESTDIR}${X11INCDIR}/X11/extensions \
42 -I${XSERVERINCDIR}
44 .if ${X11DRI} != "no"
45 SRCS+= r128_dri.c
47 CPPFLAGS+= -I${X11SRCDIR.xc}/programs/Xserver/GL/dri \
48 -I${X11SRCDIR.xc}/lib/GL/dri \
49 -I${X11SRCDIR.xc}/include
51 CPPFLAGS+= ${X11FLAGS.DRI}
52 .endif
54 .if ${MACHINE} == "macppc" || ${MACHINE_ARCH} == "sparc" || \
55 ${MACHINE_ARCH} == "sparc64" || ${MACHINE} == "ofppc"
56 CPPFLAGS+= -DAVOID_VGAHW
57 .endif
59 .include <bsd.x11.mk>
60 LIBDIR= ${XMODULEDIR}
61 .include "../../Makefile.drivermod"