blob: 64437c5211e4ee53203a1603ca67062b10ce76d7 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
$NetBSD: patch-cb,v 1.3 2009/06/05 11:10:35 wiz Exp $
--- src/mesa/x86-64/Makefile.orig 2009-05-19 11:53:27 +0300
+++ src/mesa/x86-64/Makefile 2009-05-19 11:55:54 +0300
@@ -23,7 +23,13 @@ clean:
# need some special rules here, unfortunately
+#ifdef CROSS_COMPILING
matypes.h: ../main/mtypes.h ../tnl/t_context.h ../x86/gen_matypes
- ../x86/gen_matypes > matypes.h
+ CFLAGS="${INCLUDE_DIRS} ${CFLAGS}" $(LIBTOOL) --mode=execute \
+ ../x86/gen_matypes.sh > matypes.h
+#else
+matypes.h: ../main/mtypes.h ../tnl/t_context.h ../x86/gen_matypes
+ $(LIBTOOL) --mode=execute ../x86/gen_matypes > matypes.h
+#endif
xform4.o: matypes.h
|