mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-01-10 15:54:58 +08:00
minor clean-ups
This commit is contained in:
parent
d01681d6c9
commit
8f7141e970
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user