2001-09-27 07:56:36 +04:00
|
|
|
#!/bin/sh
|
|
|
|
|
2001-12-11 16:42:23 +03:00
|
|
|
# this sets up the compile for MacOS X
|
2002-12-13 03:04:09 +03:00
|
|
|
#
|
|
|
|
# To support plugins on macosx, you must have "dlcompat" installed. You can
|
|
|
|
# get dlcompat by installing the fink package "dlcompat-devel". On the SF
|
|
|
|
# compile farm, dlcompat is in /sw/include and /sw/lib, so we have added
|
|
|
|
# those paths to the environment variables.
|
2001-09-27 07:56:36 +04:00
|
|
|
|
|
|
|
set echo
|
2003-12-30 03:40:04 +03:00
|
|
|
CFLAGS="-pipe -O3 -I/sw/include -fomit-frame-pointer -finline-functions -falign-loops=16 -falign-jumps=16 -falign-functions=16 -falign-labels=16 -falign-loops-max-skip=15 -falign-jumps-max-skip=15 -fprefetch-loop-arrays -fmove-all-movables $CFLAGS"
|
2004-02-22 07:14:10 +03:00
|
|
|
CPATH="/sw/include"
|
2003-12-29 10:28:28 +03:00
|
|
|
CPPFLAGS=""
|
2001-09-27 07:56:36 +04:00
|
|
|
CXXFLAGS="$CFLAGS"
|
2002-12-13 03:04:09 +03:00
|
|
|
LDFLAGS="-L/sw/lib"
|
2001-09-27 07:56:36 +04:00
|
|
|
|
|
|
|
export CFLAGS
|
2004-02-22 07:14:10 +03:00
|
|
|
export CPATH
|
2002-12-13 03:12:29 +03:00
|
|
|
export CPPFLAGS
|
2001-09-27 07:56:36 +04:00
|
|
|
export CXXFLAGS
|
2002-12-13 03:12:29 +03:00
|
|
|
export LDFLAGS
|
2001-09-27 07:56:36 +04:00
|
|
|
|
2002-11-19 20:00:24 +03:00
|
|
|
./configure --enable-cdrom \
|
2004-02-10 01:59:22 +03:00
|
|
|
--enable-sb16=osx \
|
2003-12-29 10:28:28 +03:00
|
|
|
--enable-ne2000 \
|
2002-11-19 20:00:24 +03:00
|
|
|
--enable-vbe \
|
2003-10-02 15:33:42 +04:00
|
|
|
--enable-all-optimizations \
|
2003-12-29 10:28:28 +03:00
|
|
|
${CONFIGURE_ARGS} \
|
|
|
|
--enable-plugins \
|
|
|
|
--enable-pci \
|
|
|
|
--enable-mmx
|