Fix up mix of man(7)/mdoc(7).
[netbsd-mini2440.git] / x11 / Xserver / hw / xfree86 / drivers / chips / Makefile
blob291135272e719736bd05efdd47d4b89e60ff41a4
1 # $NetBSD: Makefile,v 1.4 2006/12/21 00:24:04 macallan Exp $
3 XMODULEDIR= ${X11USRLIBDIR}/modules/drivers
5 .include "../../../../Makefile.serverlib"
7 MODULE= chips_drv
8 MAN= chips.4
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 \
41 -I${XSERVERINCDIR}
43 CPPFLAGS+= -DPSZ=8
45 .if ${MACHINE} == "macppc" || ${MACHINE} == "ofppc"
46 CPPFLAGS+= -DNO_VBE
47 .endif
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
56 .include <bsd.x11.mk>
57 LIBDIR= ${XMODULEDIR}
58 .include "../../Makefile.drivermod"