summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorBrian Paul <brian.paul@tungstengraphics.com>2003-09-23 14:42:52 +0000
committerBrian Paul <brian.paul@tungstengraphics.com>2003-09-23 14:42:52 +0000
commit8f7141e97041a88d3f00ea60fb2aa05b38777642 (patch)
tree88c42d79bfbb5a2535d2827a915353ea9ce30be8 /src
parentd01681d6c9dbbc42d74b35ce96b3723ffdb944cd (diff)
minor clean-ups
Diffstat (limited to 'src')
-rw-r--r--src/mesa/Makefile.X1116
1 files changed, 11 insertions, 5 deletions
diff --git a/src/mesa/Makefile.X11 b/src/mesa/Makefile.X11
index 9f3377e8b7..12790a56b7 100644
--- a/src/mesa/Makefile.X11
+++ b/src/mesa/Makefile.X11
@@ -309,15 +309,20 @@ $(LIBDIR)/$(GL_LIB): $(OBJECTS)
# Make the OSMesa library
$(LIBDIR)/$(OSMESA_LIB): $(OSMESA_OBJECTS)
- if [ ${OSMESA_LIB} ] ; then $(TOP)/bin/mklib -o $(OSMESA_LIB_NAME) \
- -major $(MESA_MAJOR) -minor $(MESA_MINOR) -patch $(GL_TINY) \
- -L$(LIBDIR) -l$(GL_LIB_NAME) -install $(LIBDIR) \
- $(OSMESA_OBJECTS) ; fi
+ if [ ${OSMESA_LIB} ] ; then \
+ $(TOP)/bin/mklib -o $(OSMESA_LIB_NAME) -major $(MESA_MAJOR) \
+ -minor $(MESA_MINOR) -patch $(GL_TINY) -L$(LIBDIR) \
+ -l$(GL_LIB_NAME) -install $(LIBDIR) \
+ $(OSMESA_OBJECTS) ; \
+ fi
# Make an optional library with _just_ core objects
libmesa: $(LIBDIR)/$(MESA_LIB)
- if [ ${MESA_LIB} ] ; then $(MAKELIB) $(MESA_LIB) $(MESA_MAJOR) $(MESA_MINOR) $(GL_TINY) $(CORE_OBJECTS) ; fi
+ if [ ${MESA_LIB} ] ; then \
+ $(MAKELIB) $(MESA_LIB) $(MESA_MAJOR) \
+ $(MESA_MINOR) $(GL_TINY) $(CORE_OBJECTS) ; \
+ fi
if [ ${MESA_LIB} ] ; then rm -f $(LIBDIR)/$(MESA_LIB)* ; fi
if [ ${MESA_LIB} ] ; then mv $(MESA_LIB)* $(LIBDIR) ; fi
@@ -327,6 +332,7 @@ mesa.a: $(CORE_OBJECTS)
rm -f $@ && ar rcv $@ $(CORE_OBJECTS) && ranlib $@
+
# Run 'make -f Makefile.X11 dep' to update the dependencies if you change
# what's included by any source file.
dep: $(CORE_SOURCES) $(DRIVER_SOURCES) $(OSMESA_DRIVER_SOURCES) $(ASM_SOURCES)