243 |
# First remove old symlinks |
# First remove old symlinks |
244 |
for file in lib{EGL,GL*,OpenVG}{,core}.{so,dylib,a,la} |
for file in lib{EGL,GL*,OpenVG}{,core}.{so,dylib,a,la} |
245 |
do |
do |
246 |
|
# exclude libGLU |
247 |
|
[[ ${file} = libGLU.so ]] && continue |
248 |
[[ -h ${file} ]] && rm -f ${file} |
[[ -h ${file} ]] && rm -f ${file} |
249 |
done |
done |
250 |
|
|
273 |
# First remove old symlinks |
# First remove old symlinks |
274 |
for file in lib{EGL,GL*,OpenVG}{,core}.{so,dylib,a,la} |
for file in lib{EGL,GL*,OpenVG}{,core}.{so,dylib,a,la} |
275 |
do |
do |
276 |
|
# exclude libGLU |
277 |
|
[[ ${file} = libGLU.so ]] && continue |
278 |
[[ -h ${file} ]] && rm -f ${file} |
[[ -h ${file} ]] && rm -f ${file} |
279 |
done |
done |
280 |
|
|
330 |
|
|
331 |
# Setup the includes |
# Setup the includes |
332 |
local -A headers |
local -A headers |
333 |
headers[GL]="gl.h glx.h glxtokens.h glext.h glxext.h glxmd.h glxproto.h glu.h glu_mangle.h" |
headers[GL]="gl.h glx.h glxtokens.h glext.h glxext.h glxmd.h glxproto.h" |
334 |
headers[GLES]="egl.h gl_extensions.h glext.h gl.h glplatform.h" |
headers[GLES]="egl.h gl_extensions.h glext.h gl.h glplatform.h" |
335 |
headers[GLES2]="gl2ext.h gl2.h gl2platform.h" |
headers[GLES2]="gl2ext.h gl2.h gl2platform.h" |
336 |
headers[EGL]="eglext.h egl.h eglmesaext.h eglplatform.h" |
headers[EGL]="eglext.h egl.h eglmesaext.h eglplatform.h" |