summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/Makefile.am10
1 files changed, 8 insertions, 2 deletions
diff --git a/src/Makefile.am b/src/Makefile.am
index c649b3d..36b8d8b 100644
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -44,9 +44,12 @@ cirrus_alpine_la_SOURCES = \
alp_driver.c \
alp.h \
alp_hwcurs.c \
- alp_i2c.c \
+ alp_i2c.c
+if XAA
+cirrus_alpine_la_SOURCES += \
alp_xaa.c \
alp_xaam.c
+endif
cirrus_laguna_la_LTLIBRARIES = cirrus_laguna.la
cirrus_laguna_la_LDFLAGS = -module -avoid-version
@@ -55,6 +58,9 @@ cirrus_laguna_la_SOURCES = \
lg_driver.c \
lg.h \
lg_hwcurs.c \
- lg_i2c.c \
+ lg_i2c.c
+if XAA
+cirrus_laguna_la_SOURCES += \
lg_xaa.c \
lg_xaa.h
+endif