minix/external/mit/xorg/server/drivers/xf86-video-savage/Makefile
Lionel Sambuc 971bb1a587 Importing external/mit/xorg support rules
Change-Id: Ib11d8659485a444797bf3a2118182a1d4e316b50
2014-11-10 14:43:29 +01:00

34 lines
783 B
Makefile

# $NetBSD: Makefile,v 1.12 2013/06/03 09:23:07 mrg Exp $
DRIVER= xf86-video-savage
DRIVER_NAME= savage_drv
SRCS= \
savage_accel.c \
savage_xaa.c \
savage_exa.c \
savage_cursor.c \
savage_dga.c \
savage_driver.c \
savage_i2c.c \
savage_shadow.c \
savage_streams.c \
savage_vbe.c \
savage_video.c \
savage_hwmc.c \
savage_dri.c
MAN= savage.4
CPPFLAGS+= -I${DESTDIR}${X11INCDIR}/X11
CPPFLAGS+= -I${DESTDIR}${X11INCDIR}/X11/dri
CPPFLAGS+= -I${DESTDIR}${X11INCDIR}/libdrm
CPPFLAGS+= -DHAVE_XAA_H -DHAVE_XEXTPROTO_71 -DSAVAGEDRI
CPPFLAGS.savage_driver.c= -DPACKAGE_VERSION=\"${PACKAGE_MAJOR}\"
CPPFLAGS.savage_exa.c= -Wno-error # volatile -> mempcy
CWARNFLAGS.clang+= -Wno-parentheses -Wno-format \
-Wno-constant-logical-operand
.include "../Makefile.xf86-driver"