1 # $NetBSD: Makefile,v 1.7 2009/08/28 14:39:39 ahoka Exp $
7 SRCS
= s3_bios.c s3_cursor.c s3_dga.c s3_driver.c s3_IBMRGB.c \
8 s3_Ti.c s3_Trio64DAC.c s3_video.c s3_accel.c \
9 s3_accel_newmmio.c s3_shadow.c
12 # PLEASE NOTE: s3_accel.c is compiled two times with different
13 # cpp macros for PIO and NEWMMIO support. Check Makefile.am
14 # before upgrading the driver.
16 BUILDSYMLINKS
= s3_accel.c s3_accel_newmmio.c
17 CPPFLAGS.s3_accel_newmmio.c
+= -DS3_NEWMMIO
=1 \
18 -I
${X11SRCDIR.xf86-video-s3
}/src
19 CPPFLAGS.s3_video.c
+= -DS3_NEWMMIO
=1 \
21 CPPFLAGS
+= -DPACKAGE_VERSION
=\"${PACKAGE_VERSION}\"
23 .
include "../Makefile.xf86-driver"