mirror of
https://github.com/nigels-com/glew.git
synced 2025-01-19 02:55:48 +00:00
more OSX bug fixes
git-svn-id: https://glew.svn.sourceforge.net/svnroot/glew/trunk/glew@188 783a27ee-832a-0410-bc00-9f386506c6dd
This commit is contained in:
parent
d8b0c56645
commit
642365038a
10
Makefile
10
Makefile
@ -211,13 +211,23 @@ install: all
|
|||||||
$(INSTALL) -d -m 0755 $(GLEW_DEST)/include/GL
|
$(INSTALL) -d -m 0755 $(GLEW_DEST)/include/GL
|
||||||
$(INSTALL) -d -m 0755 $(GLEW_DEST)/lib
|
$(INSTALL) -d -m 0755 $(GLEW_DEST)/lib
|
||||||
# runtime
|
# runtime
|
||||||
|
ifeq ($(patsubst Darwin%,Darwin,$(SYSTEM)), Darwin)
|
||||||
|
strip -x lib/$(LIB.SHARED)
|
||||||
|
$(INSTALL) -m 0644 lib/$(LIB.SHARED) $(GLEW_DEST)/lib/
|
||||||
|
else
|
||||||
$(INSTALL) $(STRIP) -m 0644 lib/$(LIB.SHARED) $(GLEW_DEST)/lib/
|
$(INSTALL) $(STRIP) -m 0644 lib/$(LIB.SHARED) $(GLEW_DEST)/lib/
|
||||||
|
endif
|
||||||
$(LN) $(LIB.SHARED) $(GLEW_DEST)/lib/$(LIB.SONAME)
|
$(LN) $(LIB.SHARED) $(GLEW_DEST)/lib/$(LIB.SONAME)
|
||||||
# development files
|
# development files
|
||||||
$(INSTALL) -m 0644 include/GL/wglew.h $(GLEW_DEST)/include/GL
|
$(INSTALL) -m 0644 include/GL/wglew.h $(GLEW_DEST)/include/GL
|
||||||
$(INSTALL) -m 0644 include/GL/glew.h $(GLEW_DEST)/include/GL
|
$(INSTALL) -m 0644 include/GL/glew.h $(GLEW_DEST)/include/GL
|
||||||
$(INSTALL) -m 0644 include/GL/glxew.h $(GLEW_DEST)/include/GL
|
$(INSTALL) -m 0644 include/GL/glxew.h $(GLEW_DEST)/include/GL
|
||||||
|
ifeq ($(patsubst Darwin%,Darwin,$(SYSTEM)), Darwin)
|
||||||
|
strip -x lib/$(LIB.STATIC)
|
||||||
|
$(INSTALL) -m 0644 lib/$(LIB.STATIC) $(GLEW_DEST)/lib/
|
||||||
|
else
|
||||||
$(INSTALL) $(STRIP) -m 0644 lib/$(LIB.STATIC) $(GLEW_DEST)/lib/
|
$(INSTALL) $(STRIP) -m 0644 lib/$(LIB.STATIC) $(GLEW_DEST)/lib/
|
||||||
|
endif
|
||||||
$(LN) $(LIB.SHARED) $(GLEW_DEST)/lib/$(LIB.DEVLNK)
|
$(LN) $(LIB.SHARED) $(GLEW_DEST)/lib/$(LIB.DEVLNK)
|
||||||
# utilities
|
# utilities
|
||||||
$(INSTALL) -s -m 0755 bin/$(BIN) $(GLEW_DEST)/bin/
|
$(INSTALL) -s -m 0755 bin/$(BIN) $(GLEW_DEST)/bin/
|
||||||
|
Loading…
Reference in New Issue
Block a user