1486 |
# Special targets |
# Special targets |
1487 |
${PACKAGES_DOT_H}: |
${PACKAGES_DOT_H}: |
1488 |
@echo Creating \$@ ... |
@echo Creating \$@ ... |
1489 |
@\$(TOOLSDIR)/convert_cpp_cmd2defines "Warngin - this file is automatically generated - do NOT edit" -bPACKAGES_CONFIG_H "Disabled packages:" \$(DISABLED_PACKAGES) " " "Enabled packages:" \$(ENABLED_PACKAGES) > \$@ |
@\$(TOOLSDIR)/convert_cpp_cmd2defines "Warning - this file is automatically generated - do NOT edit" -bPACKAGES_CONFIG_H "Disabled packages:" \$(DISABLED_PACKAGES) " " "Enabled packages:" \$(ENABLED_PACKAGES) > \$@ |
1490 |
AD_CONFIG.h: |
AD_CONFIG.h: |
1491 |
@echo Creating \$@ ... |
@echo Creating \$@ ... |
1492 |
@\$(TOOLSDIR)/convert_cpp_cmd2defines "Warning - this file is automatically generated - do NOT edit" -bAD_CONFIG_H -UALLOW_ADJOINT_RUN -UALLOW_TANGENTLINEAR_RUN -UALLOW_ECCO_OPTIMIZATION > \$@ |
@\$(TOOLSDIR)/convert_cpp_cmd2defines "Warning - this file is automatically generated - do NOT edit" -bAD_CONFIG_H -UALLOW_ADJOINT_RUN -UALLOW_TANGENTLINEAR_RUN -UALLOW_ECCO_OPTIMIZATION > \$@ |
1654 |
|
|
1655 |
printf "\n=== Done ===\n" |
printf "\n=== Done ===\n" |
1656 |
|
|
1657 |
|
# Create special header files |
1658 |
|
$TOOLSDIR/convert_cpp_cmd2defines "Warning - this file is automatically generated - do NOT edit" -bPACKAGES_CONFIG_H "Disabled packages:" $DISABLED_PACKAGES " " "Enabled packages:" $ENABLED_PACKAGES > $PACKAGES_DOT_H".tmp" |
1659 |
|
if test ! -f $PACKAGES_DOT_H ; then |
1660 |
|
mv -f $PACKAGES_DOT_H".tmp" $PACKAGES_DOT_H |
1661 |
|
else |
1662 |
|
cmp $PACKAGES_DOT_H".tmp" $PACKAGES_DOT_H |
1663 |
|
RETVAL=$? |
1664 |
|
if test "x$RETVAL" = x0 ; then |
1665 |
|
rm -f $PACKAGES_DOT_H".tmp" |
1666 |
|
else |
1667 |
|
mv -f $PACKAGES_DOT_H $PACKAGES_DOT_H".bak" |
1668 |
|
mv -f $PACKAGES_DOT_H".tmp" $PACKAGES_DOT_H |
1669 |
|
fi |
1670 |
|
fi |
1671 |
|
if test ! -f AD_CONFIG.h ; then |
1672 |
|
$TOOLSDIR/convert_cpp_cmd2defines "Warning - this file is automatically generated - do NOT edit" -UALLOW_ADJOINT_RUN -UALLOW_TANGENTLINEAR_RUN -UALLOW_ECCO_OPTIMIZATION > AD_CONFIG.h |
1673 |
|
fi |
1674 |
|
|
1675 |
|
|
1676 |
# Write the "state" for future records |
# Write the "state" for future records |
1677 |
if test "x$DUMPSTATE" != xf ; then |
if test "x$DUMPSTATE" != xf ; then |