[Xquartz-changes] [253] AppleSGLX/trunk
source_changes at macosforge.org
source_changes at macosforge.org
Mon Feb 23 23:50:21 PST 2009
Revision: 253
http://trac.macosforge.org/projects/xquartz/changeset/253
Author: jeremyhu at freedesktop.org
Date: 2009-02-23 23:50:21 -0800 (Mon, 23 Feb 2009)
Log Message:
-----------
Integrate code generation into Makefile. Build / Tested on Tiger
Modified Paths:
--------------
AppleSGLX/trunk/Makefile
Property Changed:
----------------
AppleSGLX/trunk/
Property changes on: AppleSGLX/trunk
___________________________________________________________________
Modified: svn:ignore
- builds
testbuilds
+ builds
testbuilds
stage.*
apple_xgl_api.h
apple_xgl_api.c
Modified: AppleSGLX/trunk/Makefile
===================================================================
--- AppleSGLX/trunk/Makefile 2009-02-24 05:01:15 UTC (rev 252)
+++ AppleSGLX/trunk/Makefile 2009-02-24 07:50:21 UTC (rev 253)
@@ -5,6 +5,8 @@
GL_CFLAGS=-Wall -ggdb3 -Os -DPTHREADS -D_REENTRANT -DPUBLIC="" $(RC_CFLAGS) $(CFLAGS)
GL_LDFLAGS=-L$(X11_DIR)/lib $(LDFLAGS) -Wl,-single_module
+TCLSH=tclsh8.5
+
MKDIR=mkdir
INSTALL=install
LN=ln
@@ -60,7 +62,7 @@
glxhash.o: glxhash.h glxhash.c
appledri.o: appledri.h appledristr.h appledri.c
apple_glx_context.o: apple_glx_context.c apple_glx_context.h apple_glx_context.h
-apple_glx.o: apple_glx.h apple_glx.c
+apple_glx.o: apple_glx.h apple_glx.c apple_xgl_api.h
apple_visual.o: apple_visual.h apple_visual.c
apple_cgl.o: apple_cgl.h apple_cgl.c
apple_glx_pbuffer.o: apple_glx_pbuffer.h apple_glx_pbuffer.c
@@ -72,6 +74,10 @@
pixel.o: pixel.c
glx_empty.o: glx_empty.c
+apple_xgl_api.c: apple_xgl_api.h
+apple_xgl_api.h: gen_api_header.tcl gen_api_library.tcl gen_code.tcl gen_defs.tcl gen_exports.tcl gen_funcs.tcl gen_types.tcl
+ $(TCLSH) gen_code.tcl
+
$(BUILD_DIR)/glxinfo: tests/glxinfo/glxinfo.c $(BUILD_DIR)/libGL.1.2.dylib
$(CC) tests/glxinfo/glxinfo.c $(INCLUDE) -L$(X11_DIR)/lib -lX11 $(BUILD_DIR)/libGL.1.2.dylib -o $@
@@ -102,4 +108,5 @@
rm -rf $(TEST_BUILD_DIR)
rm -f *.o *.a
rm -f *.c~ *.h~
+ rm -f apple_xgl_api.h apple_xgl_api.c
rm -f *.dylib
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/xquartz-changes/attachments/20090223/7a1ca57d/attachment.html>
More information about the Xquartz-changes
mailing list