Print this page
4028 remove CLOSED_IS_PRESENT


 328         VERSION+=":DOMESTIC"
 329         SRC="${EXPORT_SRC}/usr/src"
 330 fi
 331 
 332 if "${flags.s.h}" ; then
 333         VERSION+=":HYBRID"
 334         SRC="${EXPORT_SRC}/usr/src"
 335 fi
 336  
 337 if "${flags.s.o}" ; then
 338         VERSION+=":OPEN_ONLY"
 339         SRC="${OPEN_SRCDIR}/usr/src"
 340 fi
 341 
 342 #       Set PATH for a build
 343 PATH="/opt/onbld/bin:/opt/onbld/bin/${MACH}:/opt/SUNWspro/bin:/usr/ccs/bin:/usr/bin:/usr/sbin:/usr/ucb:/usr/etc:/usr/openwin/bin:/usr/sfw/bin:/opt/sfw/bin:."
 344 if [[ "${SUNWSPRO}" != "" ]]; then 
 345         export PATH="${SUNWSPRO}/bin:$PATH" 
 346 fi 
 347 
 348 if [[ -z "$CLOSED_IS_PRESENT" ]]; then
 349         if [[ -d $SRC/../closed ]]; then
 350                 export CLOSED_IS_PRESENT="yes"
 351         else
 352                 export CLOSED_IS_PRESENT="no"
 353         fi
 354 fi
 355 
 356 TOOLS="${SRC}/tools"
 357 TOOLS_PROTO="${TOOLS}/proto/root_${MACH}-nd" ; export TOOLS_PROTO
 358 
 359 if "${flags.t}" ; then
 360         export ONBLD_TOOLS="${ONBLD_TOOLS:=${TOOLS_PROTO}/opt/onbld}"
 361 
 362         export STABS="${TOOLS_PROTO}/opt/onbld/bin/${MACH}/stabs"
 363         export CTFSTABS="${TOOLS_PROTO}/opt/onbld/bin/${MACH}/ctfstabs"
 364         export GENOFFSETS="${TOOLS_PROTO}/opt/onbld/bin/genoffsets"
 365 
 366         export CTFCONVERT="${TOOLS_PROTO}/opt/onbld/bin/${MACH}/ctfconvert"
 367         export CTFMERGE="${TOOLS_PROTO}/opt/onbld/bin/${MACH}/ctfmerge"
 368 
 369         export CTFCVTPTBL="${TOOLS_PROTO}/opt/onbld/bin/ctfcvtptbl"
 370         export CTFFINDMOD="${TOOLS_PROTO}/opt/onbld/bin/ctffindmod"
 371 
 372         PATH="${TOOLS_PROTO}/opt/onbld/bin/${MACH}:${PATH}"
 373         PATH="${TOOLS_PROTO}/opt/onbld/bin:${PATH}"
 374         export PATH
 375 fi


 404 ENVLDLIBS3=
 405 ENVCPPFLAGS1=
 406 ENVCPPFLAGS2=
 407 ENVCPPFLAGS3=
 408 ENVCPPFLAGS4=
 409 PARENT_ROOT=
 410 PARENT_TOOLS_ROOT=
 411 
 412 if [[ "$MULTI_PROTO" != "yes" && "$MULTI_PROTO" != "no" ]]; then
 413         printf \
 414             'WARNING: invalid value for MULTI_PROTO (%s); setting to "no".\n' \
 415             "$MULTI_PROTO"
 416         export MULTI_PROTO="no"
 417 fi
 418 
 419 [[ "$MULTI_PROTO" == "yes" ]] && export ROOT="${ROOT}${SUFFIX}"
 420 
 421 export TONICBUILD="#"
 422 
 423 if "${flags.O}" ; then 
 424         if [[ "$CLOSED_IS_PRESENT" != "yes" ]]; then
 425                 print "OpenSolaris closed binary generation requires "
 426                 print "closed tree"
 427                 exit 1
 428         fi
 429         print "Generating OpenSolaris deliverables"
 430         # We only need CLOSEDROOT in the env for convenience. Makefile.master
 431         # figures out what it needs when it matters.
 432         export CLOSEDROOT="${ROOT}-closed"
 433         export TONICBUILD=""
 434 fi
 435 
 436 ENVLDLIBS1="-L$ROOT/lib -L$ROOT/usr/lib"
 437 ENVCPPFLAGS1="-I$ROOT/usr/include"
 438 MAKEFLAGS=e
 439 
 440 export \
 441         ENVLDLIBS1 \
 442         ENVLDLIBS2 \
 443         ENVLDLIBS3 \
 444         ENVCPPFLAGS1 \
 445         ENVCPPFLAGS2 \
 446         ENVCPPFLAGS3 \
 447         ENVCPPFLAGS4 \
 448         MAKEFLAGS \
 449         PARENT_ROOT \
 450         PARENT_TOOLS_ROOT
 451 
 452 printf 'RELEASE      is %s\n'   "$RELEASE"
 453 printf 'VERSION      is %s\n'   "$VERSION"




 328         VERSION+=":DOMESTIC"
 329         SRC="${EXPORT_SRC}/usr/src"
 330 fi
 331 
 332 if "${flags.s.h}" ; then
 333         VERSION+=":HYBRID"
 334         SRC="${EXPORT_SRC}/usr/src"
 335 fi
 336  
 337 if "${flags.s.o}" ; then
 338         VERSION+=":OPEN_ONLY"
 339         SRC="${OPEN_SRCDIR}/usr/src"
 340 fi
 341 
 342 #       Set PATH for a build
 343 PATH="/opt/onbld/bin:/opt/onbld/bin/${MACH}:/opt/SUNWspro/bin:/usr/ccs/bin:/usr/bin:/usr/sbin:/usr/ucb:/usr/etc:/usr/openwin/bin:/usr/sfw/bin:/opt/sfw/bin:."
 344 if [[ "${SUNWSPRO}" != "" ]]; then 
 345         export PATH="${SUNWSPRO}/bin:$PATH" 
 346 fi 
 347 








 348 TOOLS="${SRC}/tools"
 349 TOOLS_PROTO="${TOOLS}/proto/root_${MACH}-nd" ; export TOOLS_PROTO
 350 
 351 if "${flags.t}" ; then
 352         export ONBLD_TOOLS="${ONBLD_TOOLS:=${TOOLS_PROTO}/opt/onbld}"
 353 
 354         export STABS="${TOOLS_PROTO}/opt/onbld/bin/${MACH}/stabs"
 355         export CTFSTABS="${TOOLS_PROTO}/opt/onbld/bin/${MACH}/ctfstabs"
 356         export GENOFFSETS="${TOOLS_PROTO}/opt/onbld/bin/genoffsets"
 357 
 358         export CTFCONVERT="${TOOLS_PROTO}/opt/onbld/bin/${MACH}/ctfconvert"
 359         export CTFMERGE="${TOOLS_PROTO}/opt/onbld/bin/${MACH}/ctfmerge"
 360 
 361         export CTFCVTPTBL="${TOOLS_PROTO}/opt/onbld/bin/ctfcvtptbl"
 362         export CTFFINDMOD="${TOOLS_PROTO}/opt/onbld/bin/ctffindmod"
 363 
 364         PATH="${TOOLS_PROTO}/opt/onbld/bin/${MACH}:${PATH}"
 365         PATH="${TOOLS_PROTO}/opt/onbld/bin:${PATH}"
 366         export PATH
 367 fi


 396 ENVLDLIBS3=
 397 ENVCPPFLAGS1=
 398 ENVCPPFLAGS2=
 399 ENVCPPFLAGS3=
 400 ENVCPPFLAGS4=
 401 PARENT_ROOT=
 402 PARENT_TOOLS_ROOT=
 403 
 404 if [[ "$MULTI_PROTO" != "yes" && "$MULTI_PROTO" != "no" ]]; then
 405         printf \
 406             'WARNING: invalid value for MULTI_PROTO (%s); setting to "no".\n' \
 407             "$MULTI_PROTO"
 408         export MULTI_PROTO="no"
 409 fi
 410 
 411 [[ "$MULTI_PROTO" == "yes" ]] && export ROOT="${ROOT}${SUFFIX}"
 412 
 413 export TONICBUILD="#"
 414 
 415 if "${flags.O}" ; then 

 416         print "OpenSolaris closed binary generation requires "
 417         print "closed tree"
 418         exit 1






 419 fi
 420 
 421 ENVLDLIBS1="-L$ROOT/lib -L$ROOT/usr/lib"
 422 ENVCPPFLAGS1="-I$ROOT/usr/include"
 423 MAKEFLAGS=e
 424 
 425 export \
 426         ENVLDLIBS1 \
 427         ENVLDLIBS2 \
 428         ENVLDLIBS3 \
 429         ENVCPPFLAGS1 \
 430         ENVCPPFLAGS2 \
 431         ENVCPPFLAGS3 \
 432         ENVCPPFLAGS4 \
 433         MAKEFLAGS \
 434         PARENT_ROOT \
 435         PARENT_TOOLS_ROOT
 436 
 437 printf 'RELEASE      is %s\n'   "$RELEASE"
 438 printf 'VERSION      is %s\n'   "$VERSION"