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
|
2005-07-24 11:25:02 +04: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 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
|
|
|
|
2006-11-20 21:55:16 +03:00
|
|
|
./configure --enable-sb16 \
|
2003-12-29 10:28:28 +03:00
|
|
|
--enable-ne2000 \
|
2003-10-02 15:33:42 +04:00
|
|
|
--enable-all-optimizations \
|
2005-03-12 19:34:49 +03:00
|
|
|
--enable-cpu-level=6 \
|
2007-09-10 19:21:05 +04:00
|
|
|
--enable-x86-64 \
|
2013-04-08 22:31:25 +04:00
|
|
|
--enable-vmx=2 \
|
2005-03-12 19:34:49 +03:00
|
|
|
--enable-pci \
|
|
|
|
--enable-clgd54xx \
|
2013-03-11 00:42:46 +04:00
|
|
|
--enable-voodoo \
|
2005-12-26 19:47:51 +03:00
|
|
|
--enable-usb \
|
2012-05-01 22:03:43 +04:00
|
|
|
--enable-usb-ohci \
|
2016-12-31 15:17:37 +03:00
|
|
|
--enable-usb-ehci \
|
2013-04-07 19:13:45 +04:00
|
|
|
--enable-usb-xhci \
|
2017-03-24 21:23:07 +03:00
|
|
|
--enable-busmouse \
|
2012-05-01 22:03:43 +04:00
|
|
|
--enable-es1370 \
|
|
|
|
--enable-e1000 \
|
2005-03-22 19:44:24 +03:00
|
|
|
--enable-plugins \
|
|
|
|
${CONFIGURE_ARGS}
|