xserver/hw/xizzle dummy.c,NONE,1.1 Makefile.am,1.11,1.12

Keith Packard xserver-commit@pdx.freedesktop.org


Committed by: keithp

Update of /cvs/xserver/xserver/hw/xizzle
In directory pdx:/tmp/cvs-serv12121/hw/xizzle

Modified Files:
	Makefile.am 
Added Files:
	dummy.c 
Log Message:
2004-03-14  Keith Packard  <keithp@keithp.com>

	* hw/xizzle/Makefile.am:
	* hw/xizzle/dummy.c:
	Yuck.  Force a reference to miRegisterRedirectBorderClipProc
	from 'dummy.c'.  No, I don't understand why this is needed.


--- NEW FILE: dummy.c ---
/*
 * XXX this is a total kludge; forces this symbol to get referenced
 * before libmi.a is considered.  I don't understand why it is needed
 * -keithp
 */
extern void miRegisterRedirectBorderClipProc(void);
void (*foo) (void) = miRegisterRedirectBorderClipProc;

Index: Makefile.am
===================================================================
RCS file: /cvs/xserver/xserver/hw/xizzle/Makefile.am,v
retrieving revision 1.11
retrieving revision 1.12
diff -u -d -r1.11 -r1.12
--- a/Makefile.am	10 Mar 2004 12:39:40 -0000	1.11
+++ b/Makefile.am	14 Mar 2004 08:13:17 -0000	1.12
@@ -39,10 +39,6 @@
 Xizzle_LDADD = $(XIZZLE_LIBS) \
                @XSERVER_LIBS@
 
-dummy.c:
-	touch $@
-DISTCLEANFILES = dummy.c
-
 # Disabled because there's no real right way to do this, except all the defines
 # on the command line. And I'm not doing that. -Daniel
 xizzle.conf: