summaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
authorBrian Paul <brian.paul@tungstengraphics.com>2003-10-27 18:13:37 +0000
committerBrian Paul <brian.paul@tungstengraphics.com>2003-10-27 18:13:37 +0000
commit65e2ab3903a3b5f9e42c4be19fdde8eb757ea242 (patch)
tree4c8831ffe2bfe995b33cc4f64eb3d0e484e0c3b6 /bin
parentb55921db4816afd2810b8bb59d7301b936ba162c (diff)
added MorphOS instructions (Matt Sealey)
Diffstat (limited to 'bin')
-rwxr-xr-xbin/mklib8
1 files changed, 8 insertions, 0 deletions
diff --git a/bin/mklib b/bin/mklib
index a0d6115f2e..8e393ecd3a 100755
--- a/bin/mklib
+++ b/bin/mklib
@@ -313,6 +313,13 @@ case $ARCH in
FINAL_LIBS=${LIBNAME}
;;
+ 'MorphOS')
+ LIBNAME="lib${LIBNAME}.a"
+ echo "mklib: Making MorphOS library: " ${LIBNAME}
+ ppc-morphos-ar rc ${LIBNAME} ${OBJECTS}
+ FINAL_LIBS="${LIBNAME}"
+ ;;
+
'example')
# If you're adding support for a new architecture, you can
# start with this:
@@ -329,6 +336,7 @@ case $ARCH in
# XXX this is a total hack for Mesa - remove someday
# fall-back to an old mklib.* script
${MAKELIB} "lib${LIBNAME}.a" ${MAJOR} ${MINOR} ${PATCH} ${OBJECTS}
+ FINAL_LIBS="${LIBNAME}"
;;
esac