1 # $NetBSD: Makefile,v 1.4 2004/02/07 06:52:06 lukem Exp $
3 XMODULEDIR
= ${X11USRLIBDIR}/modules
/drivers
5 .
include "../../../../Makefile.serverlib"
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 \
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
}
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
67 .
include "../../Makefile.drivermod"