1 |
|
#export WITH_INSTALL=1 |
2 |
export BUILD_BASE_DIR=$PWD/../temp_build |
export BUILD_BASE_DIR=$PWD/../temp_build |
3 |
export WITH_INSTALL=1 |
export CONFIG_OPTIONS="--disable-shared --enable-signed-triang-algo=intmathabs --enable-unsigned-triang-algo=intmathabs --enable-default-instruments-db-location=~/Library/linuxsampler/linuxsampler.db --enable-plugin-dir=~/Library/linuxsampler/plugins --enable-refill-streams=2 --enable-stream-size=320000 --enable-max-voices=200 --enable-max-streams=220" |
4 |
export CONFIG_OPTIONS="--disable-shared --enable-signed-triang-algo=intmathabs --enable-unsigned-triang-algo=intmathabs" |
|
5 |
export CFLAGS="-I$BUILD_BASE_DIR/$BUILD_STYLE/local/include" |
case "$BUILD_STYLE" in |
6 |
|
Deployment_i386) |
7 |
|
OPT="-O3 -march=pentium4 -mfpmath=sse -ffast-math -fomit-frame-pointer -funroll-loops" |
8 |
|
;; |
9 |
|
Deployment_ppc) |
10 |
|
OPT="-O3 -ffast-math -fomit-frame-pointer -funroll-loops" |
11 |
|
;; |
12 |
|
esac |
13 |
|
|
14 |
|
export CFLAGS="-I$BUILD_BASE_DIR/$BUILD_STYLE/local/include $OPT" |
15 |
export CXXFLAGS=$CFLAGS |
export CXXFLAGS=$CFLAGS |
16 |
export PKG_CONFIG_PATH="$BUILD_BASE_DIR/$BUILD_STYLE/local/lib/pkgconfig" |
export PKG_CONFIG_PATH="$BUILD_BASE_DIR/$BUILD_STYLE/local/lib/pkgconfig:/usr/local/lib/pkgconfig" |
17 |
export HAVE_UNIX98=1 |
export HAVE_UNIX98=1 |
18 |
export UB_PRODUCTS=bin/linuxsampler |
export UB_PRODUCTS=bin/linuxsampler |
19 |
|
PATH=/opt/local/bin:$PATH # Use MacPorts |
20 |
source $PROJECT_DIR/autoconf_builder.sh |
source $PROJECT_DIR/autoconf_builder.sh |
21 |
|
make install-exec |