version 1.12, 2007/11/26 23:31:03
|
version 1.16, 2008/02/11 18:28:44
|
Line 35 if ($CHKLIBS == "no") then |
|
Line 35 if ($CHKLIBS == "no") then |
|
echo "done" | echo "done" |
| |
echo -n "Remove links to man pages..." | echo -n "Remove links to man pages..." |
if (-d man/man1) then |
if (-e man) then |
cd man/man1 |
rm -rf man |
find . -name "*.*" -exec rm {} \; |
|
cd ../.. |
|
endif |
|
if (-d man/man3) then |
|
cd man/man3 |
|
find . -name "*.*" -exec rm {} \; |
|
cd ../.. |
|
endif |
|
if (-d man/man5) then |
|
cd man/man5 |
|
find . -name "*.*" -exec rm {} \; |
|
cd ../.. |
|
endif | endif |
echo "done" | echo "done" |
| |
Line 76 if ($CHKLIBS == "no") then |
|
Line 64 if ($CHKLIBS == "no") then |
|
endif | endif |
echo "done" | echo "done" |
| |
|
echo -n "Removing links to third-party libraries..." |
|
if (-d lib_third_party) then |
|
rm -rf lib_third_party |
|
endif |
|
echo "done" |
|
|
echo | echo |
| |
if ($CLEAN == "yes") then | if ($CLEAN == "yes") then |
Line 105 if ($CHKLIBS == "no") then |
|
Line 99 if ($CHKLIBS == "no") then |
|
endif | endif |
echo "done" | echo "done" |
| |
echo -n "Setting links to man pages..." |
echo "Setting links to man pages..." |
if (!(-d man/man1)) then |
if (-d /home/jsoc/man) then |
mkdir -p man/man1 |
if (!(-e man)) then |
endif |
ln -s /home/jsoc/man man |
if (!(-d man/man3)) then |
endif |
mkdir -p man/man3 |
endif |
endif |
|
if (!(-d man/man5)) then |
|
mkdir -p man/man5 |
|
endif |
|
cd man/man1 |
|
find ../.. -path '../../man/man1' -prune -o -path '*/man/man1/*.1*' -exec ln -s {} . \; |
|
cd ../../man/man3 |
|
find ../.. -path '../../man/man3' -prune -o -path '*/man/man3/*.3*' -exec ln -s {} . \; |
|
cd ../../man/man5 |
|
find ../.. -path '../../man/man5' -prune -o -path '*/man/man5/*.5*' -exec ln -s {} . \; |
|
cd ../.. |
|
echo "done" | echo "done" |
| |
echo "Setting links to headers..." | echo "Setting links to headers..." |
Line 168 if ($CHKLIBS == "no") then |
|
Line 151 if ($CHKLIBS == "no") then |
|
echo "done" | echo "done" |
echo | echo |
| |
|
# Set links to third-party libraries |
|
echo "Setting links to third-party libraries" |
|
if (!(-d lib_third_party)) then |
|
mkdir lib_third_party |
|
endif |
|
cd lib_third_party |
|
|
|
if (-e ../suflag.txt) then |
|
ln -sf /home/jsoc/include include |
|
ln -sf /home/jsoc/lib lib |
|
else |
|
# Non-Stanford users. |
|
endif |
|
|
|
set TPWARN = 0 |
|
|
|
# Libraries required by all |
|
if (!(-e lib/linux_x86_64/libcfitsio.a)) then |
|
echo "D'OH! - Can't find required library: lib/linux_x86_64/libcfitsio.a" |
|
set TPWARN = 1 |
|
endif |
|
|
|
if (!(-e lib/linux_ia32/libcfitsio.a)) then |
|
echo "D'OH! - Can't find required library: lib/linux_ia32/libcfitsio.a" |
|
set TPWARN = 1 |
|
endif |
|
|
|
if (-e ../suflag.txt) then |
|
# Stanford users' required libs. |
|
if (!(-e lib/linux_x86_64/libfftw3f.a)) then |
|
echo "D'OH! - Can't find required library: $JSOCROOT/lib/linux_x86_64/libfftw3f.a" |
|
set TPWARN = 1 |
|
endif |
|
|
|
if (!(-e lib/linux_ia32/libfftw3f.a)) then |
|
echo "D'OH! - Can't find required library: $JSOCROOT/lib/linux_ia32/libfftw3f.a" |
|
set TPWARN = 1 |
|
endif |
|
else |
|
# Non-Stanford users' required libs. |
|
endif |
|
|
|
if ($TPWARN) then |
|
echo "Did you update $JSOCROOT/configure to create links to installed third-party libraries?" |
|
endif |
|
|
|
cd .. |
|
echo "done" |
|
echo |
|
|
# generate links for DSDS/SOI dynamic libraries - only do this if | # generate links for DSDS/SOI dynamic libraries - only do this if |
# user's environment has access to /home/soi/CM | # user's environment has access to /home/soi/CM |
if (-d /home/soi/CM/include && -d /home/soi/CM/src) then | if (-d /home/soi/CM/include && -d /home/soi/CM/src) then |