summaryrefslogtreecommitdiff
path: root/hw/kdrive/mga
diff options
context:
space:
mode:
authorEric Anholt <anholt@freebsd.org>2003-12-29 09:04:20 +0000
committerEric Anholt <anholt@freebsd.org>2003-12-29 09:04:20 +0000
commitadfc1ed8e1e150100accf014e46241201275138f (patch)
tree2336db5aa70c7430329955ed5d760b8c6ab4f2d0 /hw/kdrive/mga
parentdf03e80ae9162ec87f503322ccbcf2846ad38bef (diff)
Add dependency lines so that servers are rebuilt when server libraries are
changed.
Diffstat (limited to 'hw/kdrive/mga')
-rw-r--r--hw/kdrive/mga/Makefile.am10
1 files changed, 7 insertions, 3 deletions
diff --git a/hw/kdrive/mga/Makefile.am b/hw/kdrive/mga/Makefile.am
index 56fa3a0cf..0cae19ea6 100644
--- a/hw/kdrive/mga/Makefile.am
+++ b/hw/kdrive/mga/Makefile.am
@@ -19,10 +19,14 @@ libmga_a_SOURCES = \
Xmga_SOURCES = \
mgastub.c
-Xmga_LDADD = \
+MGA_LIBS = \
libmga.a \
- $(top_builddir)/hw/kdrive/vesa/libvesa.a \
- @KDRIVE_LIBS@ \
+ $(top_builddir)/hw/kdrive/vesa/libvesa.a \
+ @KDRIVE_LIBS@
+
+Xmga_LDADD = \
+ $(MGA_LIBS) \
@XSERVER_LIBS@ \
$(TSLIB_FLAG)
+Xmga_DEPENDENCIES = $(MGA_LIBS) @KDRIVE_LIBS@