summaryrefslogtreecommitdiff
path: root/libkms/Makefile.am
diff options
context:
space:
mode:
Diffstat (limited to 'libkms/Makefile.am')
-rw-r--r--libkms/Makefile.am7
1 files changed, 5 insertions, 2 deletions
diff --git a/libkms/Makefile.am b/libkms/Makefile.am
index d65d6012..62d154b8 100644
--- a/libkms/Makefile.am
+++ b/libkms/Makefile.am
@@ -8,8 +8,11 @@ libkms_la_LDFLAGS = -version-number 1:0:0 -no-undefined
libkms_la_LIBADD =
libkms_la_SOURCES = \
- api.c \
- vmwgfx.c
+ api.c
+
+if HAVE_VMWGFX
+libkms_la_SOURCES += vmwgfx.c
+endif
libkmsincludedir = ${includedir}/libkms
libkmsinclude_HEADERS = libkms.h