version 1.14, 2008/07/07 23:50:42
|
version 1.15, 2008/07/11 00:46:48
|
|
|
disable_oop=1 | disable_oop=1 |
;; | ;; |
| |
|
--disable-trace) |
|
disable_trace=1 |
|
;; |
|
|
--disable-ipv6) | --disable-ipv6) |
disable_ipv6=1 | disable_ipv6=1 |
;; | ;; |
|
|
with_solaris_defaults=1 | with_solaris_defaults=1 |
;; | ;; |
| |
|
--with-vxworks-xscale-defaults) |
|
with_vxworks_xscale_defaults=1 |
|
;; |
|
|
|
--vx1) |
|
with_vxworks_xscale_defaults=1 |
|
;; |
|
|
--with-test-user=*) | --with-test-user=*) |
with_test_user=$optarg | with_test_user=$optarg |
;; | ;; |
|
|
LINUX_X86_64_GNU | LINUX_X86_64_GNU |
SOLARIS_SPARC_64_CC | SOLARIS_SPARC_64_CC |
SOLARIS_X86_64_CC | SOLARIS_X86_64_CC |
|
VXWORKS_XSCALE_GNU |
--prefix=DIR | --prefix=DIR |
Install under DIR | Install under DIR |
--bindir=DIR | --bindir=DIR |
|
|
Build for debug. | Build for debug. |
--disable-oop | --disable-oop |
Disable out-of-process providers. | Disable out-of-process providers. |
|
--disable-trace |
|
Disable tracing facility. |
--disable-ipv6 | --disable-ipv6 |
Disable IPV6 support. | Disable IPV6 support. |
--disable-trace | --disable-trace |
|
|
--enable-ssl | --enable-ssl |
--enable-openslp | --enable-openslp |
--enable-pam-standalone | --enable-pam-standalone |
|
--with-vxworks-xscale-defaults |
|
Enables reasonable defaults for the VXWorks/XScale platform. |
|
includes: |
|
--platform=VXWORKS_XSCALE_GNU |
|
--disable-oop |
|
--disable-trace |
|
--enable-ssl |
END | END |
exit | exit |
fi | fi |
|
|
enable_pam_standalone=1 | enable_pam_standalone=1 |
fi | fi |
| |
|
if [ "$with_vxworks_xscale_defaults" = 1 ]; then |
|
platform=VXWORKS_XSCALE_GNU |
|
disable_oop=1 |
|
disable_trace=1 |
|
enable_ssl=1 |
|
fi |
|
|
##============================================================================== | ##============================================================================== |
## | ## |
## Check the --platform option. | ## Check the --platform option. |
|
|
;; | ;; |
SOLARIS_X86_64_CC) | SOLARIS_X86_64_CC) |
;; | ;; |
|
VXWORKS_XSCALE_GNU) |
|
;; |
*) | *) |
echo "$0: Unknown platform: --platform=$platform" | echo "$0: Unknown platform: --platform=$platform" |
echo "" | echo "" |
|
|
cwd=`/bin/pwd` | cwd=`/bin/pwd` |
root=$cwd | root=$cwd |
echo "export ROOT=$root" >> $options | echo "export ROOT=$root" >> $options |
echo "export PATH=$PATH:$cwd/$platform/bin" >> $options |
#echo "export PATH=$PATH:$cwd/$platform/bin" >> $options |
echo "export LD_LIBRARY_PATH=$cwd/$platform/lib:$libdir" >> $options |
#echo "export LD_LIBRARY_PATH=$cwd/$platform/lib:$libdir" >> $options |
echo "export PEGASUS_PLATFORM=$platform" >> $options | echo "export PEGASUS_PLATFORM=$platform" >> $options |
echo "export PEGASUS_ROOT=$root" >> $options | echo "export PEGASUS_ROOT=$root" >> $options |
echo "export PEGASUS_HOME=$cwd/$platform" >> $options | echo "export PEGASUS_HOME=$cwd/$platform" >> $options |
|
|
echo "export PEGASUS_DISABLE_PRIVILEGED_TESTS=true" >> $options | echo "export PEGASUS_DISABLE_PRIVILEGED_TESTS=true" >> $options |
fi | fi |
| |
|
if [ "$disable_trace" = "1" ] |
|
then |
|
echo "export PEGASUS_REMOVE_TRACE=1" >> $options |
|
fi |
|
|
if [ "$disable_ipv6" = "1" ] | if [ "$disable_ipv6" = "1" ] |
then | then |
echo "export PEGASUS_ENABLE_IPV6=false" >> $options | echo "export PEGASUS_ENABLE_IPV6=false" >> $options |
|
|
cat > GNUmakefile << END | cat > GNUmakefile << END |
include options.mak | include options.mak |
| |
|
export PATH := \$(PATH):\$(PEGASUS_HOME)/bin |
|
export LD_LIBRARY_PATH := \$(LD_LIBRARY_PATH):\$(PEGASUS_HOME)/bin |
|
|
include Makefile | include Makefile |
| |
distclean: | distclean: |