diff --git a/glew-1.5.7-glewmx.patch b/glew-1.5.8-glewmx.patch similarity index 98% rename from glew-1.5.7-glewmx.patch rename to glew-1.5.8-glewmx.patch index 1cbdb66..0cbff95 100644 --- a/glew-1.5.7-glewmx.patch +++ b/glew-1.5.8-glewmx.patch @@ -20,11 +20,11 @@ index 2499b8d..ebba21a 100644 GLEWINFO.BIN = glewinfo$(BIN.SUFFIX) GLEWINFO.BIN.SRCS = src/glewinfo.c GLEWINFO.BIN.OBJS = $(GLEWINFO.BIN.SRCS:.c=.o) -@@ -80,7 +83,14 @@ +@@ -80,14 +84,18 @@ VISUALINFO.BIN.SRCS = src/visualinfo.c VISUALINFO.BIN.OBJS = $(VISUALINFO.BIN.SRCS:.c=.o) BIN.LIBS = -Llib $(LDFLAGS.DYNAMIC) -l$(NAME) $(LDFLAGS.EXTRA) $(LDFLAGS.GL) --all debug: lib/$(LIB.SHARED) lib/$(LIB.STATIC) bin/$(GLEWINFO.BIN) bin/$(VISUALINFO.BIN) glew.pc +-all debug: lib bin lib/$(LIB.SHARED) lib/$(LIB.STATIC) bin/$(GLEWINFO.BIN) bin/$(VISUALINFO.BIN) glew.pc +all debug: glew.lib glew.lib.mx glew.bin + +%.o: %.c @@ -36,6 +36,13 @@ index 2499b8d..ebba21a 100644 lib: mkdir lib + +-bin: +- mkdir bin +- + lib/$(LIB.STATIC): $(LIB.OBJS) + $(AR) cr $@ $^ + @@ -96,36 +106,78 @@ $(LN) $(LIB.SHARED) lib/$(LIB.DEVLNK) endif @@ -142,7 +149,7 @@ index 2499b8d..ebba21a 100644 ifeq ($(filter-out mingw% cygwin,$(SYSTEM)),) $(INSTALL) -m 0644 lib/$(LIB.DEVLNK) $(LIBDIR)/ else -@@ -147,29 +195,68 @@ +@@ -147,30 +195,69 @@ $(INSTALL) -m 0644 lib/$(LIB.STATIC) $(LIBDIR)/ $(LN) $(LIB.SHARED) $(LIBDIR)/$(LIB.DEVLNK) endif @@ -219,8 +226,9 @@ index 2499b8d..ebba21a 100644 + $(RM) glew.pc glewmx.pc # Compiler droppings $(RM) so_locations + $(RM) -r lib/ bin/ -@@ -177,17 +264,7 @@ +@@ -177,18 +264,7 @@ find . -name \*~ | xargs $(RM) find . -name .\*.sw\? | xargs $(RM) @@ -230,6 +238,7 @@ index 2499b8d..ebba21a 100644 - cp -a . $(TARDIR) - find $(TARDIR) -name CVS -o -name .cvsignore | xargs $(RM) -r - find $(TARDIR) -name .svn | xargs $(RM) -r +- find $(TARDIR) -name "*.patch" | xargs $(RM) -r - $(MAKE) -C $(TARDIR) distclean - $(MAKE) -C $(TARDIR) - $(MAKE) -C $(TARDIR) distclean