summaryrefslogtreecommitdiff
path: root/driver/xf86-video-s3/src/Makefile.am
diff options
context:
space:
mode:
Diffstat (limited to 'driver/xf86-video-s3/src/Makefile.am')
-rw-r--r--driver/xf86-video-s3/src/Makefile.am11
1 files changed, 10 insertions, 1 deletions
diff --git a/driver/xf86-video-s3/src/Makefile.am b/driver/xf86-video-s3/src/Makefile.am
index cddf0cba8..0d9ae4be5 100644
--- a/driver/xf86-video-s3/src/Makefile.am
+++ b/driver/xf86-video-s3/src/Makefile.am
@@ -30,14 +30,23 @@ s3_drv_ladir = @moduledir@/drivers
s3_drv_la_SOURCES = \
newmmio.h \
- s3_accel.c \
s3_bios.c \
s3_cursor.c \
s3_dga.c \
s3_driver.c \
s3.h \
s3_IBMRGB.c \
+ s3_pcirename.h \
s3_reg.h \
s3_Ti.c \
s3_Trio64DAC.c \
s3_video.c
+
+noinst_LTLIBRARIES = libs3_accel_newmmio.la libs3_accel_pio.la
+s3_drv_la_LIBADD = libs3_accel_newmmio.la libs3_accel_pio.la
+
+libs3_accel_newmmio_la_SOURCES = s3_accel.c
+libs3_accel_newmmio_la_CFLAGS = $(AM_CFLAGS) -DS3_NEWMMIO=1
+
+libs3_accel_pio_la_SOURCES = s3_accel.c
+libs3_accel_pio_la_CFLAGS = $(AM_CFLAGS)