1 # $NetBSD: Makefile,v 1.6 2008/03/08 10:39:00 phx Exp $
3 XMODULEDIR
= ${X11USRLIBDIR}/modules
/drivers
5 .
include "../../../../Makefile.serverlib"
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 \
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 \
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
}
54 .if
${MACHINE} == "macppc" ||
${MACHINE_ARCH} == "sparc" || \
55 ${MACHINE_ARCH} == "sparc64" ||
${MACHINE} == "ofppc"
56 CPPFLAGS
+= -DAVOID_VGAHW
61 .
include "../../Makefile.drivermod"