Fix up mix of man(7)/mdoc(7).
[netbsd-mini2440.git] / x11 / Xserver / hw / xfree86 / drivers / sunffb / Makefile
blobf605e4f9b5905bd01ae183feb959faf5cc49db21
1 # $NetBSD: Makefile,v 1.5 2007/04/22 23:42:38 macallan Exp $
3 XMODULEDIR= ${X11USRLIBDIR}/modules/drivers
5 .include "../../../../Makefile.serverlib"
7 MODULE= sunffb_drv
8 MAN= sunffb.4
9 .PATH: ${X11SRCDIR.xc}/programs/Xserver/hw/xfree86/drivers/sunffb
11 SRCS= ffb_driver.c ffb_accel.c ffb_attr.c ffb_stip.c ffb_bcopy.c \
12 ffb_cplane.c ffb_fspans.c ffb_point.c ffb_seg.c ffb_plygon.c \
13 ffb_line.c ffb_glyph.c ffb_frect.c ffb_circle.c ffb_checks.c \
14 ffb_stubs.c ffb_gc.c ffb_gspans.c ffb_sspans.c ffb_zeroarc.c \
15 ffb_cursor.c ffb_dga.c ffb_dac.c ffb_wid.c ffb_dbe.c
17 SRCS+= VISmoveImage.s ffb_asm.s
19 .if ${MACHINE_ARCH} == "sparc64"
20 AFLAGS+= -x assembler-with-cpp -Wa,-Av9a
21 .endif
23 .if ${MACHINE_ARCH} == "sparc"
24 AFLAGS+= -x assembler-with-cpp -Wa,-Av8plusa
25 COPTS= -mv8plus
26 .endif
29 CPPFLAGS+= -I${X11SRCDIR.xc}/programs/Xserver/hw/xfree86/drivers/sunffb \
30 -I${X11SRCDIR.xc}/programs/Xserver/hw/xfree86/common \
31 -I${X11SRCDIR.xc}/programs/Xserver/hw/xfree86/os-support \
32 -I${X11SRCDIR.xc}/programs/Xserver/mfb \
33 -I${X11SRCDIR.xc}/programs/Xserver/mi \
34 -I${X11SRCDIR.xc}/programs/Xserver/Xext \
35 -I${X11SRCDIR.xc}/programs/Xserver/cfb \
36 -I${X11SRCDIR.xc}/programs/Xserver/dbe \
37 -I${X11SRCDIR.xc}/programs/Xserver/render \
38 -I${X11SRCDIR.xc}/programs/Xserver/fb \
39 -I${X11SRCDIR.xc}/programs/Xserver/hw/xfree86/xf8_32wid \
40 -I${X11SRCDIR.xc}/programs/Xserver/hw/xfree86/ramdac \
41 -I${X11SRCDIR.xc}/programs/Xserver/hw/xfree86/ddc \
42 -I${X11SRCDIR.xc}/programs/Xserver/hw/xfree86/i2c \
43 -I${X11SRCDIR.xc}/programs/Xserver/hw/xfree86/xaa \
44 -I${X11SRCDIR.xc}/programs/Xserver/include \
45 -I${X11SRCDIR.xc}/include/fonts \
46 -I${DESTDIR}${X11INCDIR}/X11 \
47 -I${DESTDIR}${X11INCDIR}/X11/extensions \
48 -I${XSERVERINCDIR} \
49 -DUSE_VIS
52 .if ${X11DRI} != "no"
53 SRCS+= ffb_dri.c
55 CPPFLAGS+= -I${X11SRCDIR.xc}/programs/Xserver/GL/dri \
56 -I${X11SRCDIR.xc}/lib/GL/dri \
57 -I${X11SRCDIR.xc}/include
59 CPPFLAGS+= ${X11FLAGS.DRI}
60 .endif
62 .include <bsd.x11.mk>
63 LIBDIR= ${XMODULEDIR}
64 .include "../../Makefile.drivermod"