*** empty log message ***

git-svn-id: https://glew.svn.sourceforge.net/svnroot/glew/trunk/glew@226 783a27ee-832a-0410-bc00-9f386506c6dd
This commit is contained in:
ikits 2004-02-05 23:14:59 +00:00
parent add4934d0c
commit 5b254ad20a
2 changed files with 5 additions and 10 deletions

View File

@ -1,3 +1,4 @@
make auto/Makefile more robust against auto/core/*~ mistakes
separate build of static and shared object files separate build of static and shared object files
web page and documentation update web page and documentation update
web poll on separating glew, glxew and wglew web poll on separating glew, glxew and wglew

View File

@ -1,4 +1,3 @@
## ##
## Copyright (C) 2004, 2003 Marcelo E. Magallon <mmagallo[at]debian org> ## Copyright (C) 2004, 2003 Marcelo E. Magallon <mmagallo[at]debian org>
## Copyright (C) 2004, 2003 Milan Ikits <milan ikits[at]ieee org> ## Copyright (C) 2004, 2003 Milan Ikits <milan ikits[at]ieee org>
@ -49,20 +48,18 @@ $(EXT)/.dummy: $(REGISTRY)/.dummy
rm -rf $(EXT) rm -rf $(EXT)
$(BIN)/update_ext.sh $(EXT) $(REGISTRY) $(BLACKLIST) $(BIN)/update_ext.sh $(EXT) $(REGISTRY) $(BLACKLIST)
ifeq ($(patsubst Darwin%,Darwin,$(SYSTEM)), Darwin) ifeq ($(patsubst Darwin%,Darwin,$(SYSTEM)), Darwin)
find $(CORE) -maxdepth 1 -type f | grep -v VERSION | xargs -J % cp % $(EXT) find $(CORE) -maxdepth 1 -type f | grep -v VERSION | grep -v "~" | \
xargs -J % cp % $(EXT)
else else
find $(CORE) -maxdepth 1 -type f | grep -v VERSION | xargs cp --target-directory=$(EXT) find $(CORE) -maxdepth 1 -type f | grep -v VERSION | grep -v "~" | \
xargs cp --target-directory=$(EXT)
endif endif
touch $@ touch $@
$(I.DEST)/glew.h: $(EXT)/.dummy $(I.DEST)/glew.h: $(EXT)/.dummy
test -d $(I.DEST) || mkdir -p $(I.DEST) test -d $(I.DEST) || mkdir -p $(I.DEST)
cp -f $(SRC)/glew_pre.h $@ cp -f $(SRC)/glew_pre.h $@
$(BIN)/make_header.pl GLAPIENTRY GL $(CORE)/GL_VERSION* >> $@ $(BIN)/make_header.pl GLAPIENTRY GL $(CORE)/GL_VERSION* >> $@
# mv $@ tmp; grep -v 'PFNGLBLENDCOLORPROC' tmp | \
# grep -v 'PFNGLBLENDEQUATIONPROC' | grep -v 'glBlendColor' | \
# grep -v 'glBlendEquation' > $@; rm tmp;
$(BIN)/make_header.pl GLAPIENTRY GL $(EXT)/GL_* >> $@ $(BIN)/make_header.pl GLAPIENTRY GL $(EXT)/GL_* >> $@
$(BIN)/make_struct.pl GL $(CORE)/GL_VERSION* $(EXT)/GL_* >> $@ $(BIN)/make_struct.pl GL $(CORE)/GL_VERSION* $(EXT)/GL_* >> $@
perl -e 's/ GLboolean __GLEW_VERSION_1_2;/ GLboolean __GLEW_VERSION_1_1;\n GLboolean __GLEW_VERSION_1_2;/' -pi.bak $@ perl -e 's/ GLboolean __GLEW_VERSION_1_2;/ GLboolean __GLEW_VERSION_1_1;\n GLboolean __GLEW_VERSION_1_2;/' -pi.bak $@
@ -87,9 +84,6 @@ $(I.DEST)/glxew.h: $(EXT)/.dummy
$(S.DEST)/glew.c: $(EXT)/.dummy $(S.DEST)/glew.c: $(EXT)/.dummy
cp -f $(SRC)/glew_pre.c $@ cp -f $(SRC)/glew_pre.c $@
$(BIN)/make_init.pl GL $(CORE)/GL_VERSION* >> $@ $(BIN)/make_init.pl GL $(CORE)/GL_VERSION* >> $@
# mv $@ tmp; grep -v 'PFNGLBLENDCOLORPROC' tmp | \
# grep -v 'PFNGLBLENDEQUATIONPROC' | grep -v 'glBlendColor' | \
# grep -v 'glBlendEquation' > $@; rm tmp;
$(BIN)/make_init.pl GL $(EXT)/GL_* >> $@ $(BIN)/make_init.pl GL $(EXT)/GL_* >> $@
echo -e "#ifdef _WIN32\n" >> $@ echo -e "#ifdef _WIN32\n" >> $@
$(BIN)/make_init.pl WGL $(EXT)/WGL_* >> $@ $(BIN)/make_init.pl WGL $(EXT)/WGL_* >> $@