Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/external/mit/xorg/lib/libOSMesa clean up the glsl generated ...
details: https://anonhg.NetBSD.org/src/rev/efdecc006822
branches: trunk
changeset: 763205:efdecc006822
user: mrg <mrg%NetBSD.org@localhost>
date: Sun Mar 13 04:48:53 2011 +0000
description:
clean up the glsl generated files.
diffstat:
external/mit/xorg/lib/libOSMesa/libmesa.mk | 23 +++++++++++++++--------
1 files changed, 15 insertions(+), 8 deletions(-)
diffs (41 lines):
diff -r 05490dedcbf5 -r efdecc006822 external/mit/xorg/lib/libOSMesa/libmesa.mk
--- a/external/mit/xorg/lib/libOSMesa/libmesa.mk Sun Mar 13 01:56:21 2011 +0000
+++ b/external/mit/xorg/lib/libOSMesa/libmesa.mk Sun Mar 13 04:48:53 2011 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: libmesa.mk,v 1.6 2010/07/19 05:34:27 mrg Exp $
+# $NetBSD: libmesa.mk,v 1.7 2011/03/13 04:48:53 mrg Exp $
#
# Consumer of this Makefile should set MESA_SRC_MODULES.
@@ -344,13 +344,14 @@
CPPFLAGS+= -I.
# XXXX
-${SRCS.slang}: library/slang_120_core_gc.h \
- library/slang_builtin_120_common_gc.h \
- library/slang_builtin_120_fragment_gc.h \
- library/slang_common_builtin_gc.h \
- library/slang_core_gc.h \
- library/slang_fragment_builtin_gc.h \
- library/slang_vertex_builtin_gc.h
+HEADERS.slang= library/slang_120_core_gc.h \
+ library/slang_builtin_120_common_gc.h \
+ library/slang_builtin_120_fragment_gc.h \
+ library/slang_common_builtin_gc.h \
+ library/slang_core_gc.h \
+ library/slang_fragment_builtin_gc.h \
+ library/slang_vertex_builtin_gc.h
+${SRCS.slang}: ${HEADERS.slang}
library/slang_120_core_gc.h: slang_120_core.gc
-@mkdir -p library
@@ -381,3 +382,9 @@
$(GLSL) vertex $> library/slang_vertex_builtin_gc.h
.PATH: ${X11SRCDIR.MesaLib}/src/mesa/shader/slang/library
+
+CLEANFILES+= ${HEADERS.slang}
+cleandir: cleanmesa
+cleanmesa: .PHONY
+ -@if [ -d library ]; then rmdir library; fi
+
Home |
Main Index |
Thread Index |
Old Index