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

Last change on this file since 15629 was 15629, checked in by gb, 7 years ago

Build from 10.8 headers.

  • Property svn:executable set to *
File size: 552 bytes
Line 
1#!/bin/sh
2SDK=/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.8.sdk
3if [ $# -eq 1 ]
4then
5SDK=$1
6fi 
7CFLAGS="-m32 -msse2  -isysroot ${SDK} -mmacosx-version-min=10.8"; 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.