genfiles revision 618fa10949c42eb83fa5fe105fe542bcff833dda
1b519abb606c819c446a408f422530268b21a100bMathias Agopian#! /bin/sh 2b519abb606c819c446a408f422530268b21a100bMathias Agopian# 3b519abb606c819c446a408f422530268b21a100bMathias Agopian# Copyright (C) 2008 Google Inc. 4b519abb606c819c446a408f422530268b21a100bMathias Agopian# 5b519abb606c819c446a408f422530268b21a100bMathias Agopian# Licensed under the Apache License, Version 2.0 (the "License"); 6b519abb606c819c446a408f422530268b21a100bMathias Agopian# you may not use this file except in compliance with the License. 7b519abb606c819c446a408f422530268b21a100bMathias Agopian# You may obtain a copy of the License at 8b519abb606c819c446a408f422530268b21a100bMathias Agopian# 9b519abb606c819c446a408f422530268b21a100bMathias Agopian# http://www.apache.org/licenses/LICENSE-2.0 10b519abb606c819c446a408f422530268b21a100bMathias Agopian# 11b519abb606c819c446a408f422530268b21a100bMathias Agopian# Unless required by applicable law or agreed to in writing, software 12b519abb606c819c446a408f422530268b21a100bMathias Agopian# distributed under the License is distributed on an "AS IS" BASIS, 13b519abb606c819c446a408f422530268b21a100bMathias Agopian# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 14b519abb606c819c446a408f422530268b21a100bMathias Agopian# See the License for the specific language governing permissions and 15b519abb606c819c446a408f422530268b21a100bMathias Agopian# limitations under the License. 16b519abb606c819c446a408f422530268b21a100bMathias Agopian 17618fa10949c42eb83fa5fe105fe542bcff833ddaMathias Agopian./glapigen ../../include/GLES/gl.h > ../GLES_CM/gl_api.in 18618fa10949c42eb83fa5fe105fe542bcff833ddaMathias Agopian./glapigen ../../include/GLES/glext.h > ../GLES_CM/glext_api.in 19618fa10949c42eb83fa5fe105fe542bcff833ddaMathias Agopian./glapigen ../../include/GLES2/gl2.h > ../GLES2/gl2_api.in 20618fa10949c42eb83fa5fe105fe542bcff833ddaMathias Agopian./glapigen ../../include/GLES2/gl2ext.h > ../GLES2/gl2ext_api.in 21b1a39d67be99fe6c4545b25e10ac82a5dd1df634Mathias Agopian 22618fa10949c42eb83fa5fe105fe542bcff833ddaMathias Agopian./glentrygen ../../include/GLES/gl.h > /tmp/gl_entries.in 23618fa10949c42eb83fa5fe105fe542bcff833ddaMathias Agopian./glentrygen ../../include/GLES/glext.h > /tmp/glext_entries.in 24618fa10949c42eb83fa5fe105fe542bcff833ddaMathias Agopian./glentrygen ../../include/GLES2/gl2.h > /tmp/gl2_entries.in 25618fa10949c42eb83fa5fe105fe542bcff833ddaMathias Agopian./glentrygen ../../include/GLES2/gl2ext.h > /tmp/gl2ext_entries.in 26b1a39d67be99fe6c4545b25e10ac82a5dd1df634Mathias Agopian 27618fa10949c42eb83fa5fe105fe542bcff833ddaMathias Agopiancat /tmp/gl_entries.in \ 28618fa10949c42eb83fa5fe105fe542bcff833ddaMathias Agopian /tmp/glext_entries.in \ 29618fa10949c42eb83fa5fe105fe542bcff833ddaMathias Agopian /tmp/gl2_entries.in \ 30618fa10949c42eb83fa5fe105fe542bcff833ddaMathias Agopian /tmp/gl2ext_entries.in \ 31618fa10949c42eb83fa5fe105fe542bcff833ddaMathias Agopian | sort -t, -k2 \ 32618fa10949c42eb83fa5fe105fe542bcff833ddaMathias Agopian | awk -F, '!_[$2]++' \ 33618fa10949c42eb83fa5fe105fe542bcff833ddaMathias Agopian > ../entries.in 34