source: trunk/darwin-x86-headers/gl/C/populate.sh @ 11471

Last change on this file since 11471 was 11471, checked in by gb, 11 years ago

New 32-bit x86 Darwin interfaces, with explicit struct return info.
Set min macosx version to 10.4, not 10.4.8. (32-bit x86 support was
added to Darwin sometime after 10.4; 64-bit x86 support wasn't added
until 10.4.8. We use 10.4 when building the kernel and that seems
to work OK.)

  • Property svn:executable set to *
File size: 485 bytes
Line 
1#!/bin/sh
2SDK=/Developer/SDKs/MacOSX10.4u.sdk
3if [ $# -eq 1 ]
4then
5SDK=$1
6fi 
7CFLAGS="-m32 -msse2  -isysroot ${SDK} -mmacosx-version-min=10.4"; export CFLAGS
8rm -rf System Developer
9h-to-ffi.sh ${SDK}/System/Library/Frameworks/OpenGL.framework/Headers/OpenGL.h
10h-to-ffi.sh ${SDK}/System/Library/Frameworks/OpenGL.framework/Headers/glu.h
11h-to-ffi.sh ${SDK}/System/Library/Frameworks/GLUT.framework/Headers/glut.h
12h-to-ffi.sh ${SDK}/System/Library/Frameworks/AGL.framework/Headers/agl.h
Note: See TracBrowser for help on using the repository browser.