2001-09-27 03:56:36 +00:00
|
|
|
#!/bin/sh
|
|
|
|
|
2001-12-11 13:42:23 +00:00
|
|
|
# this sets up the compile for MacOS X
|
2002-12-13 00:04:09 +00: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 03:56:36 +00:00
|
|
|
|
|
|
|
set echo
|
2005-07-24 07:25:02 +00: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 $CFLAGS"
|
2004-02-22 04:14:10 +00:00
|
|
|
CPATH="/sw/include"
|
2003-12-29 07:28:28 +00:00
|
|
|
CPPFLAGS=""
|
2001-09-27 03:56:36 +00:00
|
|
|
CXXFLAGS="$CFLAGS"
|
2002-12-13 00:04:09 +00:00
|
|
|
LDFLAGS="-L/sw/lib"
|
2001-09-27 03:56:36 +00:00
|
|
|
|
|
|
|
export CFLAGS
|
2004-02-22 04:14:10 +00:00
|
|
|
export CPATH
|
2002-12-13 00:12:29 +00:00
|
|
|
export CPPFLAGS
|
2001-09-27 03:56:36 +00:00
|
|
|
export CXXFLAGS
|
2002-12-13 00:12:29 +00:00
|
|
|
export LDFLAGS
|
2001-09-27 03:56:36 +00:00
|
|
|
|
2006-11-20 18:55:16 +00:00
|
|
|
./configure --enable-sb16 \
|
2003-12-29 07:28:28 +00:00
|
|
|
--enable-ne2000 \
|
2003-10-02 11:33:42 +00:00
|
|
|
--enable-all-optimizations \
|
2005-03-12 16:34:49 +00:00
|
|
|
--enable-cpu-level=6 \
|
2007-09-10 15:21:05 +00:00
|
|
|
--enable-x86-64 \
|
2013-04-08 18:31:25 +00:00
|
|
|
--enable-vmx=2 \
|
2005-03-12 16:34:49 +00:00
|
|
|
--enable-pci \
|
|
|
|
--enable-clgd54xx \
|
2013-03-10 20:42:46 +00:00
|
|
|
--enable-voodoo \
|
2005-12-26 16:47:51 +00:00
|
|
|
--enable-usb \
|
2012-05-01 18:03:43 +00:00
|
|
|
--enable-usb-ohci \
|
2013-04-07 15:13:45 +00:00
|
|
|
--enable-usb-xhci \
|
2012-05-01 18:03:43 +00:00
|
|
|
--enable-es1370 \
|
|
|
|
--enable-e1000 \
|
2005-03-22 16:44:24 +00:00
|
|
|
--enable-plugins \
|
|
|
|
${CONFIGURE_ARGS}
|