source: trunk/darwin-x86-headers64/gl/C/populate.sh @ 14879

Last change on this file since 14879 was 14879, checked in by rme, 8 years ago

Darwin/x8664 interfaces built from Snow Leopard headers.

  • Property svn:executable set to *
File size: 497 bytes
Line 
1#!/bin/sh
2SDK=/Developer/SDKs/MacOSX10.6.sdk
3if [ $# -eq 1 ]
4then
5SDK=$1
6fi 
7CFLAGS="-m64 -fobjc-abi-version=2 -isysroot ${SDK} -mmacosx-version-min=10.6"; 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.