1 # $NetBSD: Makefile,v 1.4 2006/12/21 00:24:04 macallan Exp $
3 XMODULEDIR
= ${X11USRLIBDIR}/modules
/drivers
5 .
include "../../../../Makefile.serverlib"
9 .PATH
: ${X11SRCDIR.xc
}/programs
/Xserver
/hw
/xfree86
/drivers
/chips
11 SRCS
= ct_driver.c ct_bank.c ct_accel.c ct_accelmm.c ct_accelhi.c \
12 ct_cursor.c ct_ddc.c ct_regs.c ct_dga.c ct_shadow.c ct_video.c
14 CPPFLAGS
+= -I
${X11SRCDIR.xc
}/programs
/Xserver
/hw
/xfree86
/drivers
/chips \
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
/fbdevhw \
18 -I
${X11SRCDIR.xc
}/programs
/Xserver
/fb \
19 -I
${X11SRCDIR.xc
}/programs
/Xserver
/hw
/xfree86
/vgahw \
20 -I
${X11SRCDIR.xc
}/programs
/Xserver
/include \
21 -I
${X11SRCDIR.xc
}/programs
/Xserver
/mi \
22 -I
${X11SRCDIR.xc
}/programs
/Xserver
/cfb \
23 -I
${X11SRCDIR.xc
}/programs
/Xserver
/mfb \
24 -I
${X11SRCDIR.xc
}/programs
/Xserver
/hw
/xfree86
/xf1bpp \
25 -I
${X11SRCDIR.xc
}/programs
/Xserver
/hw
/xfree86
/xf4bpp \
26 -I
${X11SRCDIR.xc
}/programs
/Xserver
/Xext \
27 -I
${DESTDIR}${X11INCDIR}/X11 \
28 -I
${X11SRCDIR.xc
}/programs
/Xserver
/hw
/xfree86
/xaa \
29 -I
${X11SRCDIR.xc
}/include/fonts \
30 -I
${X11SRCDIR.xc
}/programs
/Xserver
/hw
/xfree86
/ramdac \
31 -I
${X11SRCDIR.xc
}/programs
/Xserver
/hw
/xfree86
/rac \
32 -I
${X11SRCDIR.xc
}/programs
/Xserver
/hw
/xfree86
/ddc \
33 -I
${X11SRCDIR.xc
}/programs
/Xserver
/hw
/xfree86
/i2c \
34 -I
${X11SRCDIR.xc
}/programs
/Xserver
/hw
/xfree86
/xf24_32bpp \
35 -I
${X11SRCDIR.xc
}/programs
/Xserver
/hw
/xfree86
/shadowfb \
36 -I
${X11SRCDIR.xc
}/programs
/Xserver
/hw
/xfree86
/xf8_16bpp \
37 -I
${X11SRCDIR.xc
}/programs
/Xserver
/hw
/xfree86
/int10 \
38 -I
${X11SRCDIR.xc
}/programs
/Xserver
/hw
/xfree86
/vbe \
39 -I
${DESTDIR}${X11INCDIR}/X11
/extensions \
40 -I
${X11SRCDIR.xc
}/programs
/Xserver
/render \
45 .if
${MACHINE} == "macppc" ||
${MACHINE} == "ofppc"
49 BUILDSYMLINKS
= ct_accel.c ct_accelmm.c \
50 ct_accel.c ct_accelhi.c
52 CPPFLAGS.ct_accelmm.c
= -DCHIPS_MMIO
53 CPPFLAGS.ct_accelhi.c
= -DCHIPS_MMIO
-DCHIPS_HIQV
54 CPPFLAGS.ct_driver.c
= -Wno-error
# gcc3/macppc
58 .
include "../../Makefile.drivermod"