diff options
author | Philippe Houdoin <phoudoin@freedesktop.org> | 2004-08-14 14:24:48 +0000 |
---|---|---|
committer | Philippe Houdoin <phoudoin@freedesktop.org> | 2004-08-14 14:24:48 +0000 |
commit | 92cb9143213ccef5d6f9b825796490bd3c1c0881 (patch) | |
tree | 9274d4a35bf610ce996110d6d457a21ed870a8bf /src/glu/sgi | |
parent | 8c6f59ce549f716b8572623b1d4a6075db0c67d5 (diff) |
Add a guard to stop building libGLU.so under BeOS, as it's build into libGL.so.
Diffstat (limited to 'src/glu/sgi')
-rw-r--r-- | src/glu/sgi/Makefile | 12 |
1 files changed, 10 insertions, 2 deletions
diff --git a/src/glu/sgi/Makefile b/src/glu/sgi/Makefile index f1d0d70ebf..3ca696ff25 100644 --- a/src/glu/sgi/Makefile +++ b/src/glu/sgi/Makefile @@ -12,7 +12,6 @@ GLU_TINY = 0$(MESA_MAJOR)0$(MESA_MINOR)0$(MESA_TINY) INCDIRS = -I$(TOP)/include -Iinclude -Iinternals -Ilibnurbs/internals -Ilibnurbs/interface -Ilibnurbs/nurbtess - C_SOURCES = \ libutil/error.c \ libutil/glue.c \ @@ -124,7 +123,16 @@ OBJECTS = $(C_OBJECTS) $(CC_OBJECTS) ##### TARGETS ##### -default: $(LIB_DIR)/$(GLU_LIB_NAME) +default: + @if [ "${CONFIG_NAME}" = "beos" ] ; then \ + echo "GLU library not build under BeOS: integrated into ${LIB_DIR}/${GL_LIB_NAME} library." ; \ + exit 0 ; \ + else \ + $(MAKE) "${LIB_DIR}/${GLU_LIB_NAME}" ; \ + fi + +$(LIB_DIR): + -mkdir $(LIB_DIR) # Make the library: $(LIB_DIR)/$(GLU_LIB_NAME): $(OBJECTS) |