added MorphOS instructions (Matt Sealey)
authorBrian Paul <brian.paul@tungstengraphics.com>
Mon, 27 Oct 2003 18:13:37 +0000 (18:13 +0000)
committerBrian Paul <brian.paul@tungstengraphics.com>
Mon, 27 Oct 2003 18:13:37 +0000 (18:13 +0000)
bin/mklib

index a0d6115f2ef8174dff8aab91584cfa72de4ba519..8e393ecd3ac5ef90b2411dd005f4945506516deb 100755 (executable)
--- 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