build-scripts/fatbuild.sh
branchSDL-1.2
changeset 6141 20bc36ef6237
parent 5960 eb025734b5a1
child 6142 b786823f0f46
equal deleted inserted replaced
6137:4720145f848b 6141:20bc36ef6237
   220      ln -sf $target $output/libSDL.dylib &&
   220      ln -sf $target $output/libSDL.dylib &&
   221      lipo -create -o $output/libSDL.a */build/.libs/libSDL.a &&
   221      lipo -create -o $output/libSDL.a */build/.libs/libSDL.a &&
   222      cp $native_path/build/.libs/libSDL.la $output &&
   222      cp $native_path/build/.libs/libSDL.la $output &&
   223      cp $native_path/build/.libs/libSDL.lai $output &&
   223      cp $native_path/build/.libs/libSDL.lai $output &&
   224      cp $native_path/build/libSDL.la . &&
   224      cp $native_path/build/libSDL.la . &&
   225      lipo -create -o libSDLmain.a */build/libSDLmain.a &&
   225      lipo -create -o $output/libSDLmain.a */build/.libs/libSDLmain.a &&
       
   226      cp $native_path/build/.libs/libSDLmain.la $output &&
       
   227      cp $native_path/build/.libs/libSDLmain.lai $output &&
       
   228      cp $native_path/build/libSDLmain.la . &&
   226      echo "Build complete!" &&
   229      echo "Build complete!" &&
   227      echo "Files can be found in the build directory.") || exit 4
   230      echo "Files can be found in the build directory.") || exit 4
   228     cd ..
   231     cd ..
   229 fi
   232 fi
   230 
   233 
   270     do_install /usr/bin/install -c -m 644 $srcdir/include/SDL_config_macosx.h $includedir/SDL/SDL_config.h
   273     do_install /usr/bin/install -c -m 644 $srcdir/include/SDL_config_macosx.h $includedir/SDL/SDL_config.h
   271 fi
   274 fi
   272 if test x$install_lib = xyes; then
   275 if test x$install_lib = xyes; then
   273     do_install sh $auxdir/mkinstalldirs $libdir
   276     do_install sh $auxdir/mkinstalldirs $libdir
   274     do_install sh build/$native_path/libtool --mode=install /usr/bin/install -c  build/libSDL.la $libdir/libSDL.la
   277     do_install sh build/$native_path/libtool --mode=install /usr/bin/install -c  build/libSDL.la $libdir/libSDL.la
   275     do_install /usr/bin/install -c -m 644 build/libSDLmain.a $libdir/libSDLmain.a
   278     do_install sh build/$native_path/libtool --mode=install /usr/bin/install -c  build/libSDLmain.la $libdir/libSDLmain.la
   276     do_install ranlib $libdir/libSDLmain.a
       
   277 fi
   279 fi
   278 if test x$install_data = xyes; then
   280 if test x$install_data = xyes; then
   279     do_install sh $auxdir/mkinstalldirs $datadir/aclocal
   281     do_install sh $auxdir/mkinstalldirs $datadir/aclocal
   280     do_install /usr/bin/install -c -m 644 $srcdir/sdl.m4 $datadir/aclocal/sdl.m4
   282     do_install /usr/bin/install -c -m 644 $srcdir/sdl.m4 $datadir/aclocal/sdl.m4
   281 fi
   283 fi