DEVENV
上传用户:wxp200602
上传日期:2007-10-30
资源大小:4028k
文件大小:1k
- PREFIX=/opt/OSS
- export PREFIX
- PATH=$PREFIX/bin:/usr/bin:/usr/dt/bin:/usr/openwin/bin:/usr/sbin:/usr/ccs/bin:/usr/ucb # :/usr/ccs/lib
- MANPATH=$PREFIX/man:$MANPATH
- export PATH MANPATH
- LD_LIBRARY_PATH=$PREFIX/lib
- LD_RUN_PATH=$LD_LIBRARY_PATH
- export LD_LIBRARY_PATH LD_RUN_PATH
- CC=gcc
- export CC
- CPPFLAGS="-I$PREFIX/include"
- CXXFLAGS="-I$PREFIX/include"
- CFLAGS="-mv8 -mtune=ultrasparc"
- LDFLAGS="-L$PREFIX/lib -R$PREFIX/lib"
- export CPPFLAGS CFLAGS LDFLAGS
- FC=g77
- export FC
- TMP=/tmp
- export TMP
- TOP=/ctbto/idc/cicn/source/build/`basename $PREFIX`
- export TOP
- SRC=$TOP/dist
- export SRC
- WORK=$TOP/work
- export WORK
- # for superpack:
- CHECKLIST=$TOP/Checklist; export CHECKLIST
- MAKE=$PREFIX/bin/make
- export MAKE
- #CATEGORY=OpenSource; export CATEGORY
- #VENDOR="Free Software Foundation"; export VENDOR
- BASEDIR=/opt; export BASEDIR
- PREFIX=$BASEDIR/`basename $TOP`; export PREFIX
- RELEASE_AREA=$TOP/../packages/`/bin/uname -p`/`/bin/uname -r`; export RELEASE_AREA
- umask 022
- user=`ps -f | tail -1 | awk '{print $1}' | sed -e 's, ,,g'`
- [ "$user" = "root" ] && p="#" || p="$"
- PS1="`basename $TOP`@"'$HOSTNAME:${PWD##$TOP}$p '; export PS1