mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-01-23 19:10:21 +01:00
Use mklib script instead of ar. Make libmesa.a instead of mesa.a
This commit is contained in:
parent
c0b4b9fc3e
commit
158a2aa488
3 changed files with 7 additions and 8 deletions
|
|
@ -38,7 +38,7 @@ default:
|
|||
fi
|
||||
|
||||
# BeOS driver target
|
||||
beos: depend subdirs mesa.a
|
||||
beos: depend subdirs libmesa.a
|
||||
cd drivers/beos; $(MAKE)
|
||||
|
||||
|
||||
|
|
@ -64,13 +64,12 @@ SOLO_C_SOURCES = \
|
|||
SOLO_OBJECTS = $(SOLO_C_SOURCES:.c=.o) \
|
||||
$(ASM_SOURCES:.S=.o)
|
||||
|
||||
linux-solo: depend subdirs mesa.a drivers-dri
|
||||
linux-solo: depend subdirs libmesa.a drivers-dri
|
||||
|
||||
# Make archive of core object files
|
||||
mesa.a: $(SOLO_OBJECTS)
|
||||
libmesa.a: $(SOLO_OBJECTS)
|
||||
rm -f $@
|
||||
ar rcv $@ $(SOLO_OBJECTS)
|
||||
ranlib $@
|
||||
@ $(TOP)/bin/mklib -o mesa -static $(SOLO_OBJECTS);
|
||||
@if [ "${CONFIG_NAME}" = "beos" ] ; then \
|
||||
mimeset -f "$@" ; \
|
||||
fi
|
||||
|
|
@ -221,7 +220,7 @@ tags:
|
|||
clean:
|
||||
-rm -f */*.o
|
||||
-rm -f */*/*.o
|
||||
-rm -f depend depend.bak mesa.a
|
||||
-rm -f depend depend.bak libmesa.a
|
||||
-rm -f drivers/*/*.o
|
||||
(cd drivers/dri ; $(MAKE) clean)
|
||||
(cd x86 ; $(MAKE) clean)
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
# -*-makefile-*-
|
||||
|
||||
MESA_MODULES = $(TOP)/src/mesa/mesa.a
|
||||
MESA_MODULES = $(TOP)/src/mesa/libmesa.a
|
||||
|
||||
COMMON_SOURCES = \
|
||||
../../common/driverfuncs.c \
|
||||
|
|
|
|||
|
|
@ -39,7 +39,7 @@ INCLUDE_DIRS = \
|
|||
-I$(TOP)/src/mesa/swrast_setup
|
||||
|
||||
# Core Mesa objects
|
||||
MESA_MODULES = $(TOP)/src/mesa/mesa.a
|
||||
MESA_MODULES = $(TOP)/src/mesa/libmesa.a
|
||||
|
||||
# Libraries that the driver shared lib depends on
|
||||
LIB_DEPS = -lm -lpthread -lc
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue