792 |
#done |
#done |
793 |
#parse_options |
#parse_options |
794 |
ac_prev= |
ac_prev= |
795 |
for ac_option ; do |
for ac_option in $@ ; do |
796 |
|
|
797 |
G2ARGS="$G2ARGS \"$ac_option\"" |
G2ARGS="$G2ARGS \"$ac_option\"" |
798 |
|
|
960 |
fi |
fi |
961 |
|
|
962 |
if test "x${ROOTDIR}" = x ; then |
if test "x${ROOTDIR}" = x ; then |
963 |
if test "${PWD##/*/}" = "bin" -a -d ../model -a -d ../eesup -a -d ../pkg ; then |
tmp=`echo $PWD | sed -e 's/\// /g' | awk '{print $NR}'` |
964 |
|
if test "x$tmp" = "xbin" -a -d ../model -a -d ../eesup -a -d ../pkg ; then |
965 |
ROOTDIR=".." |
ROOTDIR=".." |
966 |
else |
else |
967 |
for d in . .. ../.. ../../.. ../../../.. ../../../../.. ; do |
for d in . .. ../.. ../../.. ../../../.. ../../../../.. ; do |
1223 |
fi |
fi |
1224 |
|
|
1225 |
if test "x${EXEDIR}" = x ; then |
if test "x${EXEDIR}" = x ; then |
1226 |
if test "${PWD##/*/}" = "bin" -a -d ../exe -a $ROOTDIR = .. ; then |
tmp=`echo $PWD | sed -e 's/\// /g' | awk '{print $NR}'` |
1227 |
|
if test "x$tmp" = "xbin" -a -d ../exe -a $ROOTDIR = .. ; then |
1228 |
EXEDIR=../exe |
EXEDIR=../exe |
1229 |
else |
else |
1230 |
EXEDIR=. |
EXEDIR=. |
1342 |
PACKAGES="$PACKAGES $i" |
PACKAGES="$PACKAGES $i" |
1343 |
done |
done |
1344 |
echo " before group expansion packages are: $PACKAGES" |
echo " before group expansion packages are: $PACKAGES" |
1345 |
while ! expand_pkg_groups; do echo > /dev/null; done |
RET=1 |
1346 |
|
while test $RET = 1 ; do expand_pkg_groups; RET=$?; done |
1347 |
echo " after group expansion packages are: $PACKAGES" |
echo " after group expansion packages are: $PACKAGES" |
1348 |
fi |
fi |
1349 |
fi |
fi |
1452 |
echo " the dependency rules for \"$dname\"" |
echo " the dependency rules for \"$dname\"" |
1453 |
exit 1 |
exit 1 |
1454 |
fi |
fi |
1455 |
i=$(( $i + 1 )) |
i=`echo "$i + 1" | bc -l` |
1456 |
|
#i=$(( $i + 1 )) |
1457 |
done |
done |
1458 |
ck=$ck"t" |
ck=$ck"t" |
1459 |
done |
done |
1615 |
echo "=== Creating the Makefile ===" |
echo "=== Creating the Makefile ===" |
1616 |
echo " setting INCLUDES" |
echo " setting INCLUDES" |
1617 |
for i in $INCLUDEDIRS ; do |
for i in $INCLUDEDIRS ; do |
1618 |
if ! test -d $i ; then |
if test ! -d $i ; then |
|
# INCLUDES="$INCLUDES -I$i" |
|
|
# else |
|
1619 |
echo "Warning: can't find INCLUDEDIRS=\"$i\"" |
echo "Warning: can't find INCLUDEDIRS=\"$i\"" |
1620 |
fi |
fi |
1621 |
done |
done |