# Configuration for 2 part universal build


# has to be the absolute path from /
# myREPOSITORYDIR="<Absolute_path_to>/External_libs/repository";
myREPOSITORYDIR="/Users/Shared/development/avidemux_related/External_libs/repository";

# number of jobs that make can use, probably same as the number of CPUs.
PROCESSNUM=$(hostinfo | grep "Processors active:" | sed 's/^.*://' | wc -w | sed 's/[^[:digit:]]//g');

#  ARCHS="ppc i386" \


mkdir -p $myREPOSITORYDIR;

export \
 REPOSITORYDIR="$myREPOSITORYDIR" \
 ARCHS="ppc i386" \
 \
 ppcTARGET="powerpc-apple-darwin7" \
 ppcMACSDKDIR="/Developer/SDKs/MacOSX10.4u.sdk" \
 ppcONLYARG="-mcpu=G3 -mtune=G4 -mmacosx-version-min=10.3" \
 \
 i386TARGET="i386-apple-darwin8" \
 i386MACSDKDIR="/Developer/SDKs/MacOSX10.4u.sdk" \
 i386ONLYARG="-march=prescott -mtune=pentium-m -ftree-vectorize -mmacosx-version-min=10.4" \
 \
 OTHERARGs="" \
 OTHERMAKEARGs="--jobs=$PROCESSNUM";

# Extra cmake environment settings
export CMAKE_INCLUDE_PATH="$REPOSITORYDIR/include"
export CMAKE_LIBRARY_PATH="$REPOSITORYDIR/lib"



# $Id: SetEnv-universal.txt 1902 2007-02-04 22:27:47Z ippei $
# Minor modifications by Harry van der Wolf
