link in mga_dri.c, mga_exa.c and mga_storm.c as necessary.
This commit is contained in:
parent
6d649e0cf2
commit
3149caec79
|
@ -1,4 +1,6 @@
|
|||
# $NetBSD: Makefile,v 1.3 2008/08/03 09:24:14 rtr Exp $
|
||||
# $NetBSD: Makefile,v 1.4 2008/09/01 04:21:04 mrg Exp $
|
||||
|
||||
.include <bsd.own.mk>
|
||||
|
||||
DRIVER= xf86-video-mga
|
||||
DRIVER_NAME= mga_drv
|
||||
|
@ -9,6 +11,18 @@ SRCS+= mga_halmod.c mga_hwcurs.c mga_merge.c mga_shadow.c
|
|||
SRCS+= mga_vga.c mga_video.c
|
||||
MAN= mga.4
|
||||
|
||||
.if ${X11DRI} != "no"
|
||||
SRCS+= mga_dri.c
|
||||
.endif
|
||||
|
||||
#if USE_EXA
|
||||
SRCS+= mga_exa.c
|
||||
#endif
|
||||
|
||||
#if USE_XAA
|
||||
SRCS+= mga_storm.c
|
||||
#endif
|
||||
|
||||
CPPFLAGS+= -I${DESTDIR}${X11INCDIR}/X11
|
||||
CPPFLAGS+= -I${DESTDIR}${X11INCDIR}/X11/dri
|
||||
CPPFLAGS+= -I${DESTDIR}${X11INCDIR}/X11/drm
|
||||
|
|
Loading…
Reference in New Issue