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