summaryrefslogtreecommitdiff
path: root/hw/kdrive/src/Makefile.am
diff options
context:
space:
mode:
authorEric Anholt <anholt@freebsd.org>2006-02-10 07:52:05 +0000
committerEric Anholt <anholt@freebsd.org>2006-02-10 07:52:05 +0000
commitefc3fab7f4b29f56fffd21304c64c03a48aa5b4b (patch)
treed409131a93d0f7e9742fb48d88755ca5b510be01 /hw/kdrive/src/Makefile.am
parentfa3a65e33d8c893c7867ea507afc7caa1361aa9c (diff)
Make kdrive (i.e. Xephyr only) buildable on FreeBSD and probably other OSes
without linux VT switching, fbdev, and vm86 support.
Diffstat (limited to 'hw/kdrive/src/Makefile.am')
-rw-r--r--hw/kdrive/src/Makefile.am9
1 files changed, 7 insertions, 2 deletions
diff --git a/hw/kdrive/src/Makefile.am b/hw/kdrive/src/Makefile.am
index 192665ec2..872d29551 100644
--- a/hw/kdrive/src/Makefile.am
+++ b/hw/kdrive/src/Makefile.am
@@ -4,6 +4,12 @@ INCLUDES = \
noinst_LIBRARIES = libkdrive.a libkdrivestubs.a
+if KDRIVE_HW
+KDRIVE_HW_SOURCES = \
+ vga.c \
+ vga.h
+endif
+
libkdrive_a_SOURCES = \
fourcc.h \
kaa.c \
@@ -25,8 +31,7 @@ libkdrive_a_SOURCES = \
ktest.c \
kxv.c \
kxv.h \
- vga.c \
- vga.h \
+ $(KDRIVE_HW_SOURCES) \
$(top_srcdir)/mi/miinitext.c
libkdrivestubs_a_SOURCES = \