mirror of
https://github.com/nigels-com/glew.git
synced 2024-11-30 17:47:07 +00:00
Improved robustness for EGL-Registry download
This commit is contained in:
parent
6f31e134f6
commit
120335e908
@ -86,7 +86,6 @@ B.TARGETS = \
|
|||||||
|
|
||||||
all custom: $(I.TARGETS) $(S.TARGETS) $(D.TARGETS) $(B.TARGETS)
|
all custom: $(I.TARGETS) $(S.TARGETS) $(D.TARGETS) $(B.TARGETS)
|
||||||
|
|
||||||
registry: OpenGL-Registry/.dummy
|
|
||||||
ext: $(EXT)/.dummy
|
ext: $(EXT)/.dummy
|
||||||
|
|
||||||
OpenGL-Registry/.dummy:
|
OpenGL-Registry/.dummy:
|
||||||
@ -94,21 +93,29 @@ OpenGL-Registry/.dummy:
|
|||||||
@echo "Downloading OpenGL-Registry"
|
@echo "Downloading OpenGL-Registry"
|
||||||
@echo "--------------------------------------------------------------------"
|
@echo "--------------------------------------------------------------------"
|
||||||
git clone $(REPO_OPENGL) OpenGL-Registry
|
git clone $(REPO_OPENGL) OpenGL-Registry
|
||||||
git clone $(REPO_EGL) EGL-Registry
|
|
||||||
git clone --branch glew $(REPO_GLFIXES) glfixes
|
git clone --branch glew $(REPO_GLFIXES) glfixes
|
||||||
touch $@
|
touch $@
|
||||||
|
|
||||||
$(EXT)/.dummy: OpenGL-Registry/.dummy
|
EGL-Registry/.dummy:
|
||||||
@echo "--------------------------------------------------------------------"
|
@echo "--------------------------------------------------------------------"
|
||||||
@echo "Creating descriptors"
|
@echo "Downloading EGL-Registry"
|
||||||
|
@echo "--------------------------------------------------------------------"
|
||||||
|
git clone $(REPO_EGL) EGL-Registry
|
||||||
|
touch $@
|
||||||
|
|
||||||
|
$(EXT)/.dummy: OpenGL-Registry/.dummy EGL-Registry/.dummy
|
||||||
|
@echo "--------------------------------------------------------------------"
|
||||||
|
@echo "OpenGL descriptors"
|
||||||
@echo "--------------------------------------------------------------------"
|
@echo "--------------------------------------------------------------------"
|
||||||
rm -rf $(EXT)
|
rm -rf $(EXT)
|
||||||
cp -r glfixes/gl/specs/ANGLE OpenGL-Registry/extensions
|
cp -r glfixes/gl/specs/ANGLE OpenGL-Registry/extensions
|
||||||
cp -r glfixes/gl/specs/REGAL OpenGL-Registry/extensions
|
cp -r glfixes/gl/specs/REGAL OpenGL-Registry/extensions
|
||||||
$(BIN)/update_ext.sh $(EXT) OpenGL-Registry/extensions $(BLACKLIST)
|
$(BIN)/update_ext.sh $(EXT) OpenGL-Registry/extensions $(BLACKLIST)
|
||||||
# $(PYTHON) $(BIN)/parse_xml.py EGL-Registry/api/egl.xml --core core/gl --extensions extensions/gl
|
|
||||||
$(PYTHON) $(BIN)/parse_xml.py EGL-Registry/api/egl.xml --extensions extensions/gl
|
|
||||||
$(BIN)/filter_gl_ext.sh $(EXT)
|
$(BIN)/filter_gl_ext.sh $(EXT)
|
||||||
|
@echo "--------------------------------------------------------------------"
|
||||||
|
@echo "EGL descriptors"
|
||||||
|
@echo "--------------------------------------------------------------------"
|
||||||
|
$(PYTHON) $(BIN)/parse_xml.py EGL-Registry/api/egl.xml --extensions extensions/gl
|
||||||
ifeq ($(patsubst Darwin%,Darwin,$(SYSTEM)), Darwin)
|
ifeq ($(patsubst Darwin%,Darwin,$(SYSTEM)), Darwin)
|
||||||
find $(CORE) -maxdepth 1 -type f | grep -v VERSION | grep -v "~" | \
|
find $(CORE) -maxdepth 1 -type f | grep -v VERSION | grep -v "~" | \
|
||||||
xargs -J % cp % $(EXT)
|
xargs -J % cp % $(EXT)
|
||||||
|
Loading…
Reference in New Issue
Block a user