1# 2# CDDL HEADER START 3# 4# The contents of this file are subject to the terms of the 5# Common Development and Distribution License, Version 1.0 only 6# (the "License"). You may not use this file except in compliance 7# with the License. 8# 9# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE 10# or http://www.opensolaris.org/os/licensing. 11# See the License for the specific language governing permissions 12# and limitations under the License. 13# 14# When distributing Covered Code, include this CDDL HEADER in each 15# file and include the License file at usr/src/OPENSOLARIS.LICENSE. 16# If applicable, add the following below this CDDL HEADER, with the 17# fields enclosed by brackets "[]" replaced with your own identifying 18# information: Portions Copyright [yyyy] [name of copyright owner] 19# 20# CDDL HEADER END 21# 22# 23# Copyright (c) 1998 by Sun Microsystems, Inc. 24# All rights reserved. 25# 26#ident "%Z%%M% %I% %E% SMI" 27# 28# example .login for root build user (often 'gk'). 29# sets up for potential dmake use in parallel-make mode 30 31unset ignoreeof 32umask 002 33stty erase werase kill intr 34 35setenv NIS_PATH 'org_dir.$:$' 36setenv EDITOR /usr/bin/vi 37setenv MACH `uname -p` 38 39set noglob; eval `/usr/ucb/tset -Q -s -e -k - -m dialup:vt102`; unset noglob 40setenv MANPATH /usr/man:/usr/local/man:/usr/local/doctools/man:/opt/onbld/man 41setenv DMAKE_MODE parallel 42set hostname=`uname -n` 43if ( ! -f ~/.make.machines ) then 44 set maxjobs=4 45else 46 set maxjobs="`grep $hostname ~/.make.machines | tail -1 | awk -F= '{print $ 2;}'`" 47 if ( "$maxjobs" == "" ) then 48 set maxjobs=4 49 endif 50endif 51setenv DMAKE_MAX_JOBS $maxjobs 52 53 54set path=( \ 55 /opt/onbld/bin \ 56 /opt/onbld/bin/${MACH} \ 57 /opt/SUNWspro/bin \ 58 /opt/teamware/bin \ 59 /opt/teamware/ParallelMake/bin \ 60 /usr/ccs/bin \ 61 /usr/proc/bin \ 62 /usr/openwin/bin \ 63 /bin \ 64 /usr/bin \ 65 /usr/sbin \ 66 /sbin \ 67 /usr/local/bin \ 68 /usr/ucb \ 69 /etc \ 70 /usr/etc \ 71) 72