Sync usage with man page.
[netbsd-mini2440.git] / x11 / Xserver / hw / xfree86 / drivers / radeon / Makefile
blob05ce379f15ee7ef8e90a6e77e912b0d0b42bb2a2
1 # $NetBSD: Makefile,v 1.8 2008/10/03 05:16:22 macallan Exp $
3 XMODULEDIR= ${X11USRLIBDIR}/modules/drivers
5 .include "../../../../Makefile.serverlib"
7 MODULE= radeon_drv
8 MAN= radeon.4
9 .PATH: ${X11SRCDIR.xc}/programs/Xserver/hw/xfree86/drivers/ati
11 SRCS= radeon_accel.c radeon_cursor.c radeon_dga.c radeon_driver.c \
12 radeon_video.c radeon_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+= radeon_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_ARCH} == "sparc64" || ${MACHINE_ARCH} == "sparc"
55 CPPFLAGS+= -DAVOID_VGAHW
56 .endif
58 .include <bsd.x11.mk>
59 LIBDIR= ${XMODULEDIR}
60 .include "../../Makefile.drivermod"