summaryrefslogtreecommitdiff
path: root/src/glu/sgi/Makefile.X11
diff options
context:
space:
mode:
authorBrian Paul <brian.paul@tungstengraphics.com>2003-06-02 15:21:16 +0000
committerBrian Paul <brian.paul@tungstengraphics.com>2003-06-02 15:21:16 +0000
commit45e9a5c46b8e18e7815ce69d0c2da9200b323f0f (patch)
tree2ae4155a16c89daf583c9e5dca01fe1a260736ab /src/glu/sgi/Makefile.X11
parent698e67d40996b48720453337826c7da9972437ab (diff)
Added GL_LIB_NAME / GLU_LIB_NAME so the default name for the libraries
can be overridden (Brad King).
Diffstat (limited to 'src/glu/sgi/Makefile.X11')
-rw-r--r--src/glu/sgi/Makefile.X118
1 files changed, 5 insertions, 3 deletions
diff --git a/src/glu/sgi/Makefile.X11 b/src/glu/sgi/Makefile.X11
index 2925d6eaa2..9c79d0d6fc 100644
--- a/src/glu/sgi/Makefile.X11
+++ b/src/glu/sgi/Makefile.X11
@@ -8,6 +8,8 @@ GLU_MAJOR = 1
GLU_MINOR = 3
GLU_TINY = 0$(MESA_MAJOR)0$(MESA_MINOR)0$(MESA_TINY)
+GLU_LIB_NAME = "GLU" # may be overridden in Make-config
+
VPATH = RCS
TOP = ..
@@ -138,9 +140,9 @@ targets: $(LIBDIR)/$(GLU_LIB)
# Make the library:
$(LIBDIR)/$(GLU_LIB): $(OBJECTS)
- $(TOP)/bin/mklib -o GLU -major $(GLU_MAJOR) -minor $(GLU_MINOR) \
- -patch $(GLU_TINY) $(GLU_LIB_DEPS) -cplusplus \
- -install $(LIBDIR) $(OBJECTS)
+ $(TOP)/bin/mklib -o $(GLU_LIB_NAME) -major $(GLU_MAJOR) \
+ -minor $(GLU_MINOR) -patch $(GLU_TINY) \
+ $(GLU_LIB_DEPS) -cplusplus -install $(LIBDIR) $(OBJECTS)