Sync usage with man page.
[netbsd-mini2440.git] / x11 / Xserver / hw / xfree86 / drivers / via / Makefile
blobd92721cd748ef368630922823c2b402a5056fa7e
1 # $NetBSD: Makefile,v 1.5 2004/02/07 06:52:06 lukem Exp $
3 XMODULEDIR= ${X11USRLIBDIR}/modules/drivers
5 .include "../../../../Makefile.serverlib"
7 MODULE= via_drv
8 MAN= via.4
10 .PATH: ${X11SRCDIR.xc}/programs/Xserver/hw/xfree86/drivers/via
11 SRCS= via_driver.c via_tuner.c via_accel.c via_bandwidth.c \
12 via_bios.c via_cursor.c via_shadow.c via_dga.c \
13 via_video.c via_i2c.c via_gpioi2c.c via_utility.c \
14 via_swov.c via_regrec.c via_hwdiff.c via_memory.c \
15 via_overlay.c
17 CPPFLAGS+= -I${X11SRCDIR.xc}/programs/Xserver/hw/xfree86/drivers/via \
18 -I${X11SRCDIR.xc}/programs/Xserver/hw/xfree86/common \
19 -I${X11SRCDIR.xc}/programs/Xserver/hw/xfree86/os-support \
20 -I${X11SRCDIR.xc}/programs/Xserver/mfb \
21 -I${X11SRCDIR.xc}/programs/Xserver/mi \
22 -I${X11SRCDIR.xc}/programs/Xserver/cfb \
23 -I${X11SRCDIR.xc}/programs/Xserver/hw/xfree86/xaa \
24 -I${X11SRCDIR.xc}/programs/Xserver/hw/xfree86/xf1bpp \
25 -I${X11SRCDIR.xc}/programs/Xserver/hw/xfree86/xf4bpp \
26 -I${X11SRCDIR.xc}/programs/Xserver/hw/xfree86/xf24_32bpp \
27 -I${X11SRCDIR.xc}/programs/Xserver/Xext \
28 -I${X11SRCDIR.xc}/programs/Xserver/hw/xfree86/vgahw \
29 -I${X11SRCDIR.xc}/programs/Xserver/hw/xfree86/ramdac \
30 -I${X11SRCDIR.xc}/programs/Xserver/hw/xfree86/ddc \
31 -I${X11SRCDIR.xc}/programs/Xserver/hw/xfree86/i2c \
32 -I${X11SRCDIR.xc}/programs/Xserver/hw/xfree86/rac \
33 -I${X11SRCDIR.xc}/programs/Xserver/hw/xfree86/int10 \
34 -I${X11SRCDIR.xc}/programs/Xserver/render \
35 -I${X11SRCDIR.xc}/programs/Xserver/include \
36 -I${DESTDIR}${X11INCDIR}/X11 \
37 -I${X11SRCDIR.xc}/include/fonts \
38 -I${X11SRCDIR.xc}/include/extensions \
39 -I${X11SRCDIR.xc}/programs/Xserver/hw/xfree86/vbe \
40 -I${X11SRCDIR.xc}/programs/Xserver/hw/xfree86/shadowfb \
41 -I${X11SRCDIR.xc}/programs/Xserver/fb \
42 -I${XSERVERINCDIR}
44 .if ${X11DRI} != "no"
45 SRCS+= via_dri.c
47 CPPFLAGS+= -I${X11SRCDIR.xc}/programs/Xserver/GL/dri \
48 -I${X11SRCDIR.xc}/lib/GL/dri \
49 -I${X11SRCDIR.xc}/programs/Xserver/hw/xfree86/os-support/bsd/drm/kernel \
50 -I${X11SRCDIR.xc}/include
52 CPPFLAGS+= ${X11FLAGS.DRI}
53 .endif
55 .include <bsd.x11.mk>
56 LIBDIR= ${XMODULEDIR}
57 .include "../../Makefile.drivermod"