version 1.16, 2008/02/11 18:28:44
|
version 1.19, 2008/03/06 18:22:59
|
Line 46 if ($CHKLIBS == "no") then |
|
Line 46 if ($CHKLIBS == "no") then |
|
find . -name "*.h" -exec rm {} \; | find . -name "*.h" -exec rm {} \; |
cd ../.. | cd ../.. |
endif | endif |
|
|
|
if (-d include) then |
|
cd include |
|
find . -name "*.h" -exec rm {} \; |
|
cd .. |
|
endif |
echo "done" | echo "done" |
| |
echo -n "Removing links to scripts..." | echo -n "Removing links to scripts..." |
Line 114 if ($CHKLIBS == "no") then |
|
Line 120 if ($CHKLIBS == "no") then |
|
cd base/include | cd base/include |
find .. -path '../include' -prune -o -name \*.h \( \( -exec ln -s {} . \; -a -exec echo " " {} " OK" \; \) -o -exec echo " " {} " ERROR - couldn't create link" \; \) | find .. -path '../include' -prune -o -name \*.h \( \( -exec ln -s {} . \; -a -exec echo " " {} " OK" \; \) -o -exec echo " " {} " ERROR - couldn't create link" \; \) |
cd ../.. | cd ../.. |
|
|
|
if (!(-d include)) then |
|
mkdir -p include |
|
endif |
|
cd include |
|
if (-d ../base/include) then |
|
find ../base/include -name \*.h -exec ln -s {} . \; |
|
endif |
|
cd .. |
echo "done" | echo "done" |
echo | echo |
| |
Line 150 if ($CHKLIBS == "no") then |
|
Line 165 if ($CHKLIBS == "no") then |
|
cd .. | cd .. |
echo "done" | echo "done" |
echo | echo |
|
|
# Set links to third-party libraries | # Set links to third-party libraries |
echo "Setting links to third-party libraries" | echo "Setting links to third-party libraries" |
if (!(-d lib_third_party)) then | if (!(-d lib_third_party)) then |
Line 159 if ($CHKLIBS == "no") then |
|
Line 173 if ($CHKLIBS == "no") then |
|
cd lib_third_party | cd lib_third_party |
| |
if (-e ../suflag.txt) then | if (-e ../suflag.txt) then |
ln -sf /home/jsoc/include include |
ln -sfv /home/jsoc/include include |
ln -sf /home/jsoc/lib lib |
ln -sfv /home/jsoc/lib lib |
else | else |
# Non-Stanford users. |
# Non-Stanford users: edit these lines to reflect the location of required |
|
# 3rd party libs: cfitsio.a |
|
ln -sfv /usr/local/include include |
|
ln -sfv /usr/local/lib lib |
endif | endif |
| |
set TPWARN = 0 | set TPWARN = 0 |