mirror of
https://github.com/RetroShare/RetroShare.git
synced 2024-10-01 02:35:48 -04:00
b3a0d30bbc
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@874 b45a01b8-16f6-495d-af2f-9b41ad6348cc
36 lines
609 B
Bash
Executable File
36 lines
609 B
Bash
Executable File
#
|
|
## clean up all bits of libretroshare
|
|
echo make clobber
|
|
make clobber
|
|
#
|
|
## make the standard version (PPC)
|
|
echo make librs
|
|
make librs
|
|
#
|
|
LIB=libretroshare.a
|
|
LIB_PPC=libretroshare_ppc.a
|
|
LIB_X86=libretroshare_x86.a
|
|
|
|
MAC_SCRIPT="./scripts/config-macosx.mk"
|
|
|
|
echo cp lib/$LIB lib/$LIB_PPC
|
|
cp lib/$LIB lib/$LIB_PPC
|
|
|
|
echo make clobber
|
|
make clobber
|
|
|
|
echo make "MAC_I386_BUILD=1" librs
|
|
make "MAC_I386_BUILD=1" librs
|
|
|
|
echo cp lib/$LIB lib/$LIB_X86
|
|
cp lib/$LIB lib/$LIB_X86
|
|
|
|
# magic combine trick.
|
|
echo cd lib
|
|
cd lib
|
|
|
|
echo lipo -create libretroshare_*.a -output $LIB
|
|
lipo -create libretroshare_*.a -output $LIB
|
|
|
|
|