1883 |
# they appear as regular source code |
# they appear as regular source code |
1884 |
if test -r $ROOTDIR"/eesupp/src/Makefile" ; then |
if test -r $ROOTDIR"/eesupp/src/Makefile" ; then |
1885 |
echo " Making source files in eesupp from templates" |
echo " Making source files in eesupp from templates" |
1886 |
( cd $ROOTDIR"/eesupp/src/" && $MAKE ) > make_eesupp.errors 2>&1 |
( cd $ROOTDIR"/eesupp/src/" && $MAKE clean_old && $MAKE \ |
1887 |
|
) > make_eesupp.errors 2>&1 |
1888 |
RETVAL=$? |
RETVAL=$? |
1889 |
if test "x${RETVAL}" = x0 ; then |
if test "x${RETVAL}" = x0 ; then |
1890 |
rm -f make_eesupp.errors |
rm -f make_eesupp.errors |
1899 |
for pdir in exch2 regrid ; do |
for pdir in exch2 regrid ; do |
1900 |
if test -r $ROOTDIR"/pkg/${pdir}/Makefile" ; then |
if test -r $ROOTDIR"/pkg/${pdir}/Makefile" ; then |
1901 |
echo " Making source files in pkg/${pdir} from templates" |
echo " Making source files in pkg/${pdir} from templates" |
1902 |
( cd $ROOTDIR"/pkg/"${pdir} && $MAKE ) > make_${pdir}.errors 2>&1 |
( cd $ROOTDIR"/pkg/"${pdir} && $MAKE clean_old && $MAKE \ |
1903 |
|
) > make_${pdir}.errors 2>&1 |
1904 |
RETVAL=$? |
RETVAL=$? |
1905 |
if test "x${RETVAL}" = x0 ; then |
if test "x${RETVAL}" = x0 ; then |
1906 |
rm -f make_${pdir}.errors |
rm -f make_${pdir}.errors |
2274 |
rm -f ./adSrcFiles.tmp |
rm -f ./adSrcFiles.tmp |
2275 |
fi |
fi |
2276 |
echo " Creating the list of files for the adjoint compiler." |
echo " Creating the list of files for the adjoint compiler." |
2277 |
|
touch adSrcFiles.tmp |
2278 |
for i in $SOURCEDIRS ; do |
for i in $SOURCEDIRS ; do |
2279 |
list_files=`( cd $i && ls -1 *.list 2>/dev/null )` |
list_files=`( cd $i && ls -1 *.list 2>/dev/null )` |
2280 |
for j in $list_files ; do |
for j in $list_files ; do |