Print this page
4028 remove CLOSED_IS_PRESENT


 348                         ENVCPPFLAGS3=-I$PROTO3/usr/include
 349                         export ENVCPPFLAGS3
 350                         ENVLDLIBS3="-L$PROTO3/lib -L$PROTO3/usr/lib"
 351                         export ENVLDLIBS3
 352                 fi
 353         fi
 354 fi
 355 
 356 export ROOT
 357 
 358 if [[ -n "$TERMPROTO" ]]; then  # fallback area specifed
 359         TERMPROTO=`check_proto $TERMPROTO`
 360         ENVCPPFLAGS4="-Y I,$TERMPROTO/usr/include"
 361         export ENVCPPFLAGS4
 362         ENVLDLIBS3="$ENVLDLIBS3 -Y P,$TERMPROTO/lib:$TERMPROTO/usr/lib"
 363         export ENVLDLIBS3
 364 fi
 365 
 366 osbld_flag=0
 367 
 368 if [[ ! -v CLOSED_IS_PRESENT ]]; then
 369         if [[ -d $SRC/../closed ]]; then
 370                 export CLOSED_IS_PRESENT="yes"
 371         else
 372                 export CLOSED_IS_PRESENT="no"
 373         fi
 374 fi
 375 
 376 if [[ -z "$ONBLD_DIR" ]]; then
 377         ONBLD_DIR=$(/bin/dirname $(whence $0))
 378 fi
 379 
 380 if ! echo ":$PATH:" | grep ":${ONBLD_DIR}:" > /dev/null; then
 381         PATH="${ONBLD_DIR}:${ONBLD_DIR}/${MACH}:${PATH}"
 382         osbld_flag=1
 383 fi
 384 
 385 export PATH
 386 
 387 if [[ -n "$PROTO2" ]]; then
 388    # This should point to the parent's proto
 389    PARENT_ROOT=$PROTO2
 390    export PARENT_ROOT
 391 else
 392    # Clear it in case it's already in the env.
 393    PARENT_ROOT=
 394 fi
 395 export ONBLD_DIR




 348                         ENVCPPFLAGS3=-I$PROTO3/usr/include
 349                         export ENVCPPFLAGS3
 350                         ENVLDLIBS3="-L$PROTO3/lib -L$PROTO3/usr/lib"
 351                         export ENVLDLIBS3
 352                 fi
 353         fi
 354 fi
 355 
 356 export ROOT
 357 
 358 if [[ -n "$TERMPROTO" ]]; then  # fallback area specifed
 359         TERMPROTO=`check_proto $TERMPROTO`
 360         ENVCPPFLAGS4="-Y I,$TERMPROTO/usr/include"
 361         export ENVCPPFLAGS4
 362         ENVLDLIBS3="$ENVLDLIBS3 -Y P,$TERMPROTO/lib:$TERMPROTO/usr/lib"
 363         export ENVLDLIBS3
 364 fi
 365 
 366 osbld_flag=0
 367 








 368 if [[ -z "$ONBLD_DIR" ]]; then
 369         ONBLD_DIR=$(/bin/dirname $(whence $0))
 370 fi
 371 
 372 if ! echo ":$PATH:" | grep ":${ONBLD_DIR}:" > /dev/null; then
 373         PATH="${ONBLD_DIR}:${ONBLD_DIR}/${MACH}:${PATH}"
 374         osbld_flag=1
 375 fi
 376 
 377 export PATH
 378 
 379 if [[ -n "$PROTO2" ]]; then
 380    # This should point to the parent's proto
 381    PARENT_ROOT=$PROTO2
 382    export PARENT_ROOT
 383 else
 384    # Clear it in case it's already in the env.
 385    PARENT_ROOT=
 386 fi
 387 export ONBLD_DIR