diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/mesa/Makefile | 11 | ||||
-rw-r--r-- | src/mesa/drivers/dri/Makefile.template | 2 | ||||
-rw-r--r-- | src/mesa/drivers/dri/x11/Makefile | 2 |
3 files changed, 7 insertions, 8 deletions
diff --git a/src/mesa/Makefile b/src/mesa/Makefile index b6c0b85f42..9b0a21239f 100644 --- a/src/mesa/Makefile +++ b/src/mesa/Makefile @@ -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) diff --git a/src/mesa/drivers/dri/Makefile.template b/src/mesa/drivers/dri/Makefile.template index 9e22f9e82e..ba7cdcea92 100644 --- a/src/mesa/drivers/dri/Makefile.template +++ b/src/mesa/drivers/dri/Makefile.template @@ -1,6 +1,6 @@ # -*-makefile-*- -MESA_MODULES = $(TOP)/src/mesa/mesa.a +MESA_MODULES = $(TOP)/src/mesa/libmesa.a COMMON_SOURCES = \ ../../common/driverfuncs.c \ diff --git a/src/mesa/drivers/dri/x11/Makefile b/src/mesa/drivers/dri/x11/Makefile index c7dd152095..3b72a77d1f 100644 --- a/src/mesa/drivers/dri/x11/Makefile +++ b/src/mesa/drivers/dri/x11/Makefile @@ -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 |