summaryrefslogtreecommitdiff
path: root/hw/kdrive/mach64/Makefile.am
diff options
context:
space:
mode:
Diffstat (limited to 'hw/kdrive/mach64/Makefile.am')
-rw-r--r--hw/kdrive/mach64/Makefile.am12
1 files changed, 10 insertions, 2 deletions
diff --git a/hw/kdrive/mach64/Makefile.am b/hw/kdrive/mach64/Makefile.am
index ff9282e60..47202971a 100644
--- a/hw/kdrive/mach64/Makefile.am
+++ b/hw/kdrive/mach64/Makefile.am
@@ -5,6 +5,11 @@ INCLUDES = \
bin_PROGRAMS = Xmach64
+if TSLIB
+TSLIB_FLAG = -lts
+endif
+
+
noinst_LIBRARIES = libmach64.a
libmach64_a_SOURCES = \
@@ -20,11 +25,14 @@ Xmach64_SOURCES = \
MACH64_LIBS = \
libmach64.a \
- $(top_builddir)/hw/kdrive/vesa/libvesa.a
+ $(top_builddir)/hw/kdrive/vesa/libvesa.a
+
Xmach64_LDADD = \
$(MACH64_LIBS) \
@KDRIVE_LIBS@ \
- @XSERVER_LIBS@
+ @XSERVER_LIBS@ \
+ $(TSLIB_FLAG)
+
Xmach64_DEPENDENCIES = $(MACH64_LIBS) @KDRIVE_LIBS@