333 |
headers[GL]="gl.h glx.h glxtokens.h glext.h glxext.h glxmd.h glxproto.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[GLES3]="gl3ext.h gl3.h gl3platform.h" |
headers[GLES3]="gl3ext.h gl3.h gl31.h gl3platform.h" |
337 |
headers[EGL]="eglext.h egl.h eglmesaext.h eglplatform.h" |
headers[EGL]="eglext.h egl.h eglextchromium.h eglmesaext.h eglplatform.h" |
338 |
headers[KHR]="khrplatform.h" |
headers[KHR]="khrplatform.h" |
339 |
headers[VG]="openvg.h vgext.h vgplatform.h vgu.h" |
headers[VG]="openvg.h vgext.h vgplatform.h vgu.h" |
340 |
for incl_dir in EGL GL GLES GLES2 GLES3 KHR VG |
for incl_dir in EGL GL GLES GLES2 GLES3 KHR VG |
341 |
do |
do |
342 |
|
# run this only if the include dir exist in the chosen profile |
343 |
|
[[ -e ${PREFIX}/${LIBDIR}/opengl/${GL_LOCAL}/include/${incl_dir} ]] || continue |
344 |
|
|
345 |
mkdir -p ${DST_PREFIX}/include/${incl_dir} |
mkdir -p ${DST_PREFIX}/include/${incl_dir} |
346 |
pushd ${DST_PREFIX}/include/${incl_dir} &> /dev/null |
pushd ${DST_PREFIX}/include/${incl_dir} &> /dev/null |
347 |
for file in ${headers[${incl_dir}]} |
for file in ${headers[${incl_dir}]} |