Sync usage with man page.
[netbsd-mini2440.git] / x11 / Xserver / hw / xfree86 / drivers / mga / Makefile
blob238fda68797e723b0c070ef0136137b26ee65cd7
1 # $NetBSD: Makefile,v 1.4 2004/02/07 06:52:06 lukem Exp $
3 XMODULEDIR= ${X11USRLIBDIR}/modules/drivers
5 .include "../../../../Makefile.serverlib"
7 MODULE= mga_drv
8 MAN= mga.4
9 .PATH: ${X11SRCDIR.xc}/programs/Xserver/hw/xfree86/drivers/mga
11 SRCS= mga_driver.c mga_hwcurs.c mga_dac3026.c mga_dacG.c \
12 mga_storm8.c mga_storm16.c mga_storm24.c mga_storm32.c \
13 mga_arc.c mga_dga.c mga_shadow.c mga_video.c \
14 mga_g450pll.c mga_dh.c mga_esc.c mga_merge.c
16 BUILDSYMLINKS= mga_storm.c mga_storm8.c \
17 mga_storm.c mga_storm16.c \
18 mga_storm.c mga_storm24.c \
19 mga_storm.c mga_storm32.c
21 CPPFLAGS+= -I${X11SRCDIR.xc}/programs/Xserver/hw/xfree86/drivers/mga \
22 -I${X11SRCDIR.xc}/programs/Xserver/hw/xfree86/drivers/mga/HALlib \
23 -I${X11SRCDIR.xc}/programs/Xserver/hw/xfree86/common \
24 -I${X11SRCDIR.xc}/programs/Xserver/hw/xfree86/os-support \
25 -I${X11SRCDIR.xc}/programs/Xserver/fb \
26 -I${X11SRCDIR.xc}/programs/Xserver/mfb \
27 -I${X11SRCDIR.xc}/programs/Xserver/mi \
28 -I${X11SRCDIR.xc}/programs/Xserver/hw/xfree86/int10 \
29 -I${X11SRCDIR.xc}/programs/Xserver/cfb \
30 -I${X11SRCDIR.xc}/programs/Xserver/hw/xfree86/xaa \
31 -I${X11SRCDIR.xc}/programs/Xserver/hw/xfree86/rac \
32 -I${X11SRCDIR.xc}/programs/Xserver/hw/xfree86/vgahw \
33 -I${X11SRCDIR.xc}/programs/Xserver/hw/xfree86/fbdevhw \
34 -I${X11SRCDIR.xc}/programs/Xserver/hw/xfree86/ramdac \
35 -I${X11SRCDIR.xc}/programs/Xserver/hw/xfree86/ddc \
36 -I${X11SRCDIR.xc}/programs/Xserver/hw/xfree86/i2c \
37 -I${X11SRCDIR.xc}/programs/Xserver/Xext \
38 -I${X11SRCDIR.xc}/programs/Xserver/hw/xfree86/xf8_32bpp \
39 -I${X11SRCDIR.xc}/include/fonts \
40 -I${X11SRCDIR.xc}/programs/Xserver/include \
41 -I${DESTDIR}${X11INCDIR}/X11 \
42 -I${X11SRCDIR.xc}/programs/Xserver/hw/xfree86/xf24_32bpp \
43 -I${X11SRCDIR.xc}/programs/Xserver/hw/xfree86/shadowfb \
44 -I${X11SRCDIR.xc}/include/extensions \
45 -I${X11SRCDIR.xc}/programs/Xserver/render \
46 -I${X11SRCDIR.xc}/programs/Xserver/hw/xfree86/vbe \
47 -I${X11SRCDIR.xc} \
48 -I${XSERVERINCDIR}
50 .if ${X11DRI} != "no"
51 SRCS+= mga_dri.c
53 CPPFLAGS+= -I${X11SRCDIR.xc}/programs/Xserver/GL/dri \
54 -I${X11SRCDIR.xc}/lib/GL/dri \
55 -I${X11SRCDIR.xc}/include
57 CPPFLAGS+= ${X11FLAGS.DRI}
58 .endif
60 CPPFLAGS.mga_storm8.c= -DPSZ=8
61 CPPFLAGS.mga_storm16.c= -DPSZ=16
62 CPPFLAGS.mga_storm24.c= -DPSZ=24
63 CPPFLAGS.mga_storm32.c= -DPSZ=32
65 .include <bsd.x11.mk>
66 LIBDIR= ${XMODULEDIR}
67 .include "../../Makefile.drivermod"