Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/x11/lib/GL Add -DUSE_X86_ASM -I${X11SRCDIR.xc}/extras/Mesa/...



details:   https://anonhg.NetBSD.org/src/rev/9009ee4ca05c
branches:  trunk
changeset: 565372:9009ee4ca05c
user:      lukem <lukem%NetBSD.org@localhost>
date:      Mon Apr 05 12:01:42 2004 +0000

description:
Add  -DUSE_X86_ASM -I${X11SRCDIR.xc}/extras/Mesa/src/X86
to the global CPPFLAGS when building on i386.  Fix from Hubert Feyrer.

diffstat:

 x11/lib/GL/Makefile |  9 +++------
 1 files changed, 3 insertions(+), 6 deletions(-)

diffs (34 lines):

diff -r 7f22cd079367 -r 9009ee4ca05c x11/lib/GL/Makefile
--- a/x11/lib/GL/Makefile       Mon Apr 05 10:44:09 2004 +0000
+++ b/x11/lib/GL/Makefile       Mon Apr 05 12:01:42 2004 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: Makefile,v 1.5 2004/03/06 03:05:39 rtr Exp $
+#      $NetBSD: Makefile,v 1.6 2004/04/05 12:01:42 lukem Exp $
 
 .include <bsd.own.mk>
 
@@ -18,9 +18,8 @@
 .if ${MACHINE} == "i386"
 .PATH:         ${X11SRCDIR.xc}/extras/Mesa/src/X86
 SRCS.glx+=     glapi_x86.S
-.for fn in ${SRCS.glx}
-CPPFLAGS.${fn}=        -DUSE_X86_ASM
-.endfor
+CPPFLAGS+=     -DUSE_X86_ASM -I${X11SRCDIR.xc}/extras/Mesa/src/X86
+# -DUSE_X86_ASM $(MMX_DEFS) $(3DNOW_DEFS) $(SSE_DEFS)
 .endif
 
 
@@ -108,7 +107,6 @@
                -I${X11SRCDIR.xc}/extras/Mesa/src/include
 CPPFLAGS.${fn}+=${X11FLAGS.DRI}
 
-# -DUSE_X86_ASM $(MMX_DEFS) $(3DNOW_DEFS) $(SSE_DEFS)
 .endfor
 
 SRCS+= ${SRCS.dri} ${SRCS.drm} ${SRCS.mesa} ${SRCS.ac} ${SRCS.math} \
@@ -128,4 +126,3 @@
 
 .include <bsd.x11.mk>
 .include <bsd.lib.mk>
-



Home | Main Index | Thread Index | Old Index