[xserver-commit] xserver/hw/kdrive/mga Makefile.am,1.6,1.7

Eric Anholt xserver-commit@pdx.freedesktop.org
Mon, 29 Dec 2003 01:04:22 -0800


Committed by: anholt

Update of /cvs/xserver/xserver/hw/kdrive/mga
In directory pdx:/home/anholt/xserver/hw/kdrive/mga

Modified Files:
	Makefile.am 
Log Message:
Add dependency lines so that servers are rebuilt when server
libraries are changed.


Index: Makefile.am
===================================================================
RCS file: /cvs/xserver/xserver/hw/kdrive/mga/Makefile.am,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -d -r1.6 -r1.7
--- Makefile.am	6 Nov 2003 14:01:46 -0000	1.6
+++ Makefile.am	29 Dec 2003 09:04:20 -0000	1.7
@@ -19,10 +19,14 @@
 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@