| 84 |
|
goto gotrmake |
| 85 |
|
endif |
| 86 |
|
set newrmake |
| 87 |
< |
goto skiplicense |
| 88 |
< |
cat << _EOF_ |
| 89 |
< |
|
| 90 |
< |
RADIANCE LICENSE AGREEMENT |
| 91 |
< |
|
| 92 |
< |
Radiance is a registered copyright of The Regents of the University of |
| 93 |
< |
California ("The Regents"). The Regents grant to you a nonexclusive, |
| 94 |
< |
nontransferable license ("License") to use Radiance source code without |
| 95 |
< |
fee. You may not sell or distribute Radiance to others without the |
| 96 |
< |
prior express written permission of The Regents. You may compile and |
| 97 |
< |
use this software on any machines to which you have personal access, |
| 98 |
< |
and may share its use with others who have access to the same machines. |
| 99 |
< |
|
| 100 |
< |
NEITHER THE UNITED STATES NOR THE UNITED STATES DEPARTMENT OF ENERGY, NOR ANY |
| 101 |
< |
OF THEIR EMPLOYEES, MAKES ANY WARRANTY, EXPRESS OR IMPLIED, OR ASSUMES ANY |
| 102 |
< |
LEGAL LIABILITY OR RESPONSIBILITY FOR THE ACCURACY, COMPLETENESS, OR USEFULNESS |
| 103 |
< |
OF ANY INFORMATION, APPARATUS, PRODUCT, OR PROCESS DISCLOSED, OR REPRESENTS |
| 104 |
< |
THAT ITS USE WOULD NOT INFRINGE PRIVATELY OWNED RIGHTS. By downloading, using |
| 105 |
< |
or copying this software, you agree to abide by the intellectual property laws |
| 106 |
< |
and all other applicable laws of the United States, and by the terms of this |
| 107 |
< |
License Agreement. Ownership of the software shall remain solely in The |
| 108 |
< |
Regents. The Regents shall have the right to terminate this License |
| 109 |
< |
immediately by written notice upon your breach of, or noncompliance with, any |
| 110 |
< |
of its terms. You shall be liable for any infringement or damages resulting |
| 111 |
< |
from your failure to abide by the terms of this License Agreement. |
| 112 |
< |
|
| 113 |
< |
_EOF_ |
| 87 |
> |
more src/common/copyright.h |
| 88 |
|
echo -n "Do you understand and accept the terms of this agreement [n]? " |
| 89 |
|
set ans="$<" |
| 90 |
|
if ( "$ans" !~ [yY]* ) exit |
| 117 |
– |
echo -n "Are you a new Radiance user or with a new address [y]? " |
| 118 |
– |
set ans="$<" |
| 119 |
– |
if ( "$ans" !~ [nN]* ) then |
| 120 |
– |
csh -f newuser |
| 121 |
– |
else |
| 122 |
– |
echo `cat src/rt/VERSION` compiled by `whoami` | mail [email protected] |
| 123 |
– |
endif |
| 124 |
– |
skiplicense: |
| 91 |
|
set special= |
| 92 |
|
set arch= |
| 93 |
|
set opt= |
| 118 |
|
set arch=sun |
| 119 |
|
set mach="-I/usr/openwin/include -L/usr/openwin/lib -DNOSTEREO" |
| 120 |
|
set opt="-O -DSPEED=80" |
| 121 |
< |
set compat="bmalloc.o strcmp.o getpagesize.o" |
| 121 |
> |
set compat="bmalloc.o strcmp.o" |
| 122 |
|
breaksw |
| 123 |
|
case 2: # HP workstation |
| 124 |
|
set mach="" |
| 125 |
|
set opt="-O -DSPEED=80 -Aa -D_HPUX_SOURCE" |
| 126 |
< |
set compat="bmalloc.o getpagesize.o strcmp.o" |
| 126 |
> |
set compat="bmalloc.o strcmp.o" |
| 127 |
|
set arch=hpux |
| 128 |
|
breaksw |
| 129 |
|
case 3: # Silicon Graphics |
| 133 |
|
set mach="-noprototypes" |
| 134 |
|
set opt="-O -DSPEED=80" |
| 135 |
|
set special="sgi" |
| 136 |
< |
set compat="malloc.o strcmp.o" |
| 136 |
> |
set compat="bmalloc.o strcmp.o" |
| 137 |
|
breaksw |
| 138 |
|
case 4.*: |
| 139 |
|
set mach="" |
| 140 |
|
set opt="-O2 -DSPEED=100" |
| 141 |
< |
set compat="malloc.o strcmp.o" |
| 141 |
> |
set compat="bmalloc.o strcmp.o" |
| 142 |
|
set extras='"MLIB=-lfastm -lm"' |
| 143 |
|
breaksw |
| 144 |
|
default: # 5.x or later |
| 160 |
|
set mach="-DBSD -L/usr/X11/lib -I/usr/X11/include" |
| 161 |
|
set opt="-O -DSPEED=100" |
| 162 |
|
set arch=IBMPC |
| 163 |
< |
set compat="malloc.o erf.o strcmp.o" |
| 163 |
> |
set compat="bmalloc.o erf.o strcmp.o" |
| 164 |
|
breaksw |
| 165 |
|
case 6: # Linux |
| 166 |
|
set mach="-Dlinux -D_FILE_OFFSET_BITS=64 -L/usr/X11R6/lib -I/usr/include/X11 -DNOSTEREO" |
| 167 |
|
set opt="-O2 -DSPEED=200" |
| 168 |
|
set arch=IBMPC |
| 169 |
< |
set compat="bmalloc.o erf.o getpagesize.o" |
| 169 |
> |
set compat="bmalloc.o erf.o" |
| 170 |
|
set extras=CC=gcc |
| 171 |
|
breaksw |
| 172 |
|
case 7: # MacOS X |
| 188 |
|
set mach="-Dfreebsd -L/usr/lib -L/usr/X11R6/lib -I/usr/include/X11 -I/usr/X11R6/include -DNOSTEREO" |
| 189 |
|
set opt="-O2 -DSPEED=200" |
| 190 |
|
set arch=IBMPC |
| 191 |
< |
set compat="bmalloc.o erf.o getpagesize.o" |
| 191 |
> |
set compat="bmalloc.o erf.o" |
| 192 |
|
set extras="CC=gcc" |
| 193 |
|
set special="ogl" |
| 194 |
|
set esuffix=".exe" |
| 264 |
|
echo 'For Bourne shell users, put the following into $HOME/profile' |
| 265 |
|
echo " PATH=$idir"':$PATH' |
| 266 |
|
echo " export PATH" |
| 301 |
– |
endif |
| 302 |
– |
if (! -d /usr/tmp) then |
| 303 |
– |
ln -s /tmp /usr/tmp |
| 304 |
– |
if ($status) then |
| 305 |
– |
echo "" |
| 306 |
– |
echo "IMPORTANT: Execute 'sudo ln -s /tmp /usr/tmp'" |
| 307 |
– |
endif |
| 267 |
|
endif |
| 268 |
|
else |
| 269 |
|
cd src |