summaryrefslogtreecommitdiffstats
path: root/src/mesa/Makefile
diff options
context:
space:
mode:
authorBrian Paul <[email protected]>2005-09-06 03:02:01 +0000
committerBrian Paul <[email protected]>2005-09-06 03:02:01 +0000
commit158a2aa488a0bab82381ec2c6eedd2b5bb7202ca (patch)
tree66cddec1769dcc5a1dad84c228e6dd9e8f646bf9 /src/mesa/Makefile
parentc0b4b9fc3e51c09a864fe5e3d439da95f8f0edc5 (diff)
Use mklib script instead of ar. Make libmesa.a instead of mesa.a
Diffstat (limited to 'src/mesa/Makefile')
-rw-r--r--src/mesa/Makefile11
1 files changed, 5 insertions, 6 deletions
diff --git a/src/mesa/Makefile b/src/mesa/Makefile
index b6c0b85f421..9b0a21239fd 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)