Changeset 1644


Ignore:
Timestamp:
Feb 6, 2010 2:56:43 PM (10 years ago)
Author:
bradbell
Message:

/home/bradbell/cppad/trunk: Simplify configure command, and fix some bugs.

Bug Fixed:
optimize.hpp: mistake premature termination of if statement by semi-colon.
print_op.hpp: Fix assertion limit for second argument to PrivOp?.

whats_new_10.omh: user's view of the changes.
configure: changes transferred automatically from configure.ac.
svn_status.sh: remove print_for/test.sh from status.
AUTHORS: update the date in this file (not necessary).
*/makefile.am: only build programs for 'make test' not 'make all'.
*/makefile.in: changes transferred automatically from corresponding makefile.am.
*.vcproj: add missing files to source code lists.
print_for.cpp: add comment about automated testing requirements.
print_for/makefile.am: add automated testing ('make test').
configure.ac: remove --with (Speed, Introduction, Example, TestMore?, PrintFor?).
build.sh: remove 'build.sh make' and merge config_test with config_none.
makefile.am: remove --with (Speed, Introduction, Example, TestMore?, PrintFor?).
main.cpp: fix warnings generated by Microsoft compiler.
speed_*.omh: change cross references for new version of install_unix.omh.in.
whats_new*.omh: change cross references for new version of install_unix.omh.in.
install_unix_omh.in: instructions for new configure and make commands.
optimize.hpp: change cross references for new version of install_unix.omh.in.
op_code.hpp: fix print of text field during tracing.
config.h: update the date in this file (not necessary).
speed/cppad/*.cpp: make optimization option print out valid matlab input.
example.cpp: fix warnings generated by Microsoft compiler.

Location:
trunk
Files:
65 edited

Legend:

Unmodified
Added
Removed
  • trunk/AUTHORS

    r1628 r1644  
    22             ===========================================
    33
    4 To date, 2010-01-20, Bradley M. Bell is the sole author of CppAD.
     4To date, 2010-02-06, Bradley M. Bell is the sole author of CppAD.
    55While Bradley M. Bell worked for the University of Washington during
    66the development of CppAD, the following are also true:
  • trunk/build.sh

    r1641 r1644  
    2525                        version
    2626                        automake
    27                         config_none
    28                         make
     27                        configure
    2928                        dist
    3029                        omhelp
     
    4645                        version
    4746                        automake
    48                         config_none
    49                         make
     47                        configure
    5048                        dist
    5149                        omhelp
     
    6866                        version
    6967                        automake
    70                         config_none
    71                         make
     68                        configure
    7269                        dist
    7370                        omhelp
     
    8986                exit 1
    9087        fi
    91         list=" version automake config_none config_test"
    92         list="$list omhelp doxygen make dist test gpl dos move "
     88        list=" version automake configure"
     89        list="$list omhelp doxygen dist test gpl dos move "
    9390        for option in $*
    9491        do
     
    275272# -----------------------------------------------------------------------------
    276273# configure
    277 TEST=""
    278 if [ "$1" = "config_test" ]
    279 then
    280         TEST="
    281                 --with-Introduction
    282                 --with-Example
    283                 --with-TestMore
    284                 --with-Speed
    285                 --with-PrintFor"
    286         if [ -e doc/index.htm ]
    287         then
    288                 TEST="$TEST
    289                         --with-Documentation"
    290         fi
    291         TEST="$TEST
    292                 POSTFIX_DIR=coin"
     274if [ "$1" == "configure" ]
     275then
     276        options="
     277                --with-Documentation
     278                POSTFIX_DIR=coin
     279        "
    293280        if [ -e $BOOST_DIR/boost ]
    294281        then
    295                 TEST="$TEST
     282                options="$options
    296283                        BOOST_DIR=$BOOST_DIR"
    297284        fi
    298285        if [ -e $ADOLC_DIR/include/adolc ]
    299286        then
    300                 TEST="$TEST
     287                options="$options
    301288                        ADOLC_DIR=$ADOLC_DIR"
    302289        fi
    303290        if [ -e $FADBAD_DIR/FADBAD++ ]
    304291        then
    305                 TEST="$TEST
     292                options="$options
    306293                        FADBAD_DIR=$FADBAD_DIR"
    307294        fi
    308295        if [ -e $SACADO_DIR/include/Sacado.hpp ]
    309296        then
    310                 TEST="$TEST
     297                options="$options
    311298                        SACADO_DIR=$SACADO_DIR"
    312299        fi
    313300        if [ -e $IPOPT_DIR/include/coin/IpIpoptApplication.hpp ]
    314301        then
    315                 TEST="$TEST
    316                         IPOPT_DIR=$IPOPT_DIR"
    317         fi
    318         TEST=`echo $TEST | sed -e 's|\t\t*| |g'`
    319 fi
    320 if [ "$1" = "config_test" ] || [ "$1" = "config_none" ]
    321 then
     302                options="$options
     303                IPOPT_DIR=$IPOPT_DIR"
     304        fi
     305        options=`echo $options | sed -e 's|\t\t*| |g'`
    322306        echo "configure \\"
    323         echo "$TEST" | sed -e 's| | \\\n\t|g' -e 's|$| \\|' -e 's|^|\t|'
     307        echo "$options" | sed -e 's| | \\\n\t|g' -e 's|$| \\|' -e 's|^|\t|'
    324308        echo "  CXX_FLAGS=\"-Wall -ansi -pedantic-errors -std=c++98\""
    325309        #
    326         if ! ./configure $TEST \
     310        if ! ./configure $options \
    327311                CXX_FLAGS="-Wall -ansi -pedantic-errors -std=c++98"
    328312        then
     
    343327fi
    344328#
    345 # -----------------------------------------------------------------------------
    346 if [ "$1" = "make" ]
    347 then
    348         echo "build.sh make"
    349         #
    350         echo "make"
    351         if ! make
    352         then
    353                 exit 1
    354         fi
    355         #
    356         exit 0
    357 fi
    358329# -----------------------------------------------------------------------------
    359330if [ "$1" = "dist" ]
     
    596567        # Configure
    597568        #
    598         if ! ./build.sh config_test
    599         then
    600                 echo "Error: build.sh config_test"  >> $dir/build_test.log
    601                 echo "Error: build.sh config_test"
     569        if ! ./build.sh configure
     570        then
     571                echo "Error: build.sh configure"  >> $dir/build_test.log
     572                echo "Error: build.sh configure"
    602573                exit 1
    603574        fi
     
    681652        if ! make test >&  ../make.log
    682653        then
     654                make_test_result="error"
    683655                echo "There are errors in $dir/make.log"
    684                 exit 1
    685         fi
    686         sed ../make.log > make.log.$$ \
     656        else
     657                sed ../make.log > make.log.$$ \
    687658                -e '/op_code.hpp:368: warning: array subscript is above/d' \
    688659                -e '/stl_uninitialized.h:82: warning: .__cur. might be/d'
    689         if grep 'warning:' make.log.$$
    690         then
    691                 tmp=`pwd`
    692                 echo "Stopping because there are unexpected warnings in"
    693                 echo "$dir/make.log"
    694                 exit 1
    695         fi
    696         echo "OK: make test"
    697         echo "OK: make test" >> $dir/build_test.log
     660                if grep 'warning:' make.log.$$
     661                then
     662                        make_test_resuult="warn"
     663                        echo "There are warnings in $dir/make.log"
     664                else
     665                        make_test_result="ok"
     666                fi
     667        fi
     668        echo "copying $dir/cppad-$version/test.log to $dir/test.log"
     669        cp $dir/cppad-$version/test.log $dir/test.log
     670        #
     671        if [ "$make_test_result" != "ok" ]
     672        then
     673                exit 1
     674        fi
     675        echo "OK: make test, see test.log"
     676        echo "OK: make test, see test.log" >> $dir/build_test.log
    698677        #
    699678        echo "openmp/run.sh"
    700         openmp/run.sh >> $dir/build_test.log
     679        if ! openmp/run.sh  >> $dir/build_test.log
     680        then
     681                echo "openmp/run.sh failed"
     682                exit 1
     683        fi
    701684        # ===================================================================
    702685        cd ..
     
    793776echo "version        update configure.ac and doc.omh version number"
    794777echo "automake       run aclocal,autoheader,autoconf,automake -> configure"
    795 echo "config_none    excludes all possible testing options"
    796 echo "config_test    includes all the possible testing options"
    797 echo "make           use make to build all of the requested targets"
     778echo "configure      run configure"
    798779echo "dist           create the distribution file cppad-version.cpl.tgz"
    799780echo "omhelp         build all formats for user documentation in doc/*"
     
    808789echo
    809790echo "build.sh all"
    810 echo "Execute all options except help, config_test, test, dos, are excluded."
     791echo "Execute all options except help, test, and dos, are excluded."
    811792echo
    812793echo "build.sh all dos"
    813 echo "Execute all options except help, config_test, test     , are excluded."
     794echo "Execute all options except help, and test, are excluded."
    814795echo
    815796echo "build.sh all test"
    816 echo "Execute all options except help, config_none,      dos, are excluded."
     797echo "Execute all options except help, and dos, are excluded."
    817798echo "------------------------------------------------------------------------"
    818799exit 0
  • trunk/configure

    r1634 r1644  
    11#! /bin/sh
    22# Guess values for system-dependent variables and create Makefiles.
    3 # Generated by GNU Autoconf 2.63 for CppAD 20100123.
     3# Generated by GNU Autoconf 2.63 for CppAD 20100206.
    44#
    55# Report bugs to <cppad@list.coin-or.org>.
     
    597597PACKAGE_NAME='CppAD'
    598598PACKAGE_TARNAME='cppad'
    599 PACKAGE_VERSION='20100123'
    600 PACKAGE_STRING='CppAD 20100123'
     599PACKAGE_VERSION='20100206'
     600PACKAGE_STRING='CppAD 20100206'
    601601PACKAGE_BUGREPORT='cppad@list.coin-or.org'
    602602
     
    681681CppAD_POSTFIX_TRUE
    682682POSTFIX_DIR
    683 CppAD_PRINTFOR_FALSE
    684 CppAD_PRINTFOR_TRUE
    685 CppAD_SPEED_FALSE
    686 CppAD_SPEED_TRUE
    687 CppAD_TEST_MORE_FALSE
    688 CppAD_TEST_MORE_TRUE
    689 CppAD_EXAMPLE_FALSE
    690 CppAD_EXAMPLE_TRUE
    691 CppAD_INTRODUCTION_FALSE
    692 CppAD_INTRODUCTION_TRUE
    693683CppAD_DOCUMENTATION_FALSE
    694684CppAD_DOCUMENTATION_TRUE
     
    739729with_SpeedExample
    740730with_profiling
    741 with_Documentation
     731with_Speed
    742732with_Introduction
    743733with_Example
    744734with_TestMore
    745 with_Speed
    746735with_PrintFor
     736with_Documentation
    747737with_stdvector
    748738enable_dependency_tracking
     
    13211311  # This message is too long to be a string in the A/UX 3.1 sh.
    13221312  cat <<_ACEOF
    1323 \`configure' configures CppAD 20100123 to adapt to many kinds of systems.
     1313\`configure' configures CppAD 20100206 to adapt to many kinds of systems.
    13241314
    13251315Usage: $0 [OPTION]... [VAR=VALUE]...
     
    13871377if test -n "$ac_init_help"; then
    13881378  case $ac_init_help in
    1389      short | recursive ) echo "Configuration of CppAD 20100123:";;
     1379     short | recursive ) echo "Configuration of CppAD 20100206:";;
    13901380   esac
    13911381  cat <<\_ACEOF
     
    14031393  --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
    14041394  --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
    1405   --with-SpeedExample     is now part of the --with-Speed option
    1406   --with-profiling        is now part of the --with-Speed option
     1395  --with-SpeedExample     is not necessary, see install instructions.
     1396  --with-profiling        is not necessary, see install instructions.
     1397  --with-Speed            is not necessary, see install instructions.
     1398  --with-Introduction     is not necessary, see install instructions.
     1399  --with-Example          is not necessary, see install instructions.
     1400  --with-TestMore         is not necessary, see install instructions.
     1401  --with-PrintFor         is not necessary, see install instructions.
    14071402  --with-Documentation    default is no
    1408   --with-Introduction     default is no
    1409   --with-Example          default is no
    1410   --with-TestMore         default is no
    1411   --with-Speed            default is no
    1412   --with-PrintFor         default is no
    14131403  --with-stdvector        default is no
    14141404
     
    15001490if $ac_init_version; then
    15011491  cat <<\_ACEOF
    1502 CppAD configure 20100123
     1492CppAD configure 20100206
    15031493generated by GNU Autoconf 2.63
    15041494
     
    15141504running configure, to aid debugging if configure makes a mistake.
    15151505
    1516 It was created by CppAD $as_me 20100123, which was
     1506It was created by CppAD $as_me 20100206, which was
    15171507generated by GNU Autoconf 2.63.  Invocation command line was
    15181508
     
    19091899
    19101900
    1911 { $as_echo "$as_me:$LINENO: ******** Begin Checking Command Line arguments ***************" >&5
    1912 $as_echo "$as_me: ******** Begin Checking Command Line arguments ***************" >&6;}
     1901{ $as_echo "$as_me:$LINENO: *** Check command line arguments that are longer used ****" >&5
     1902$as_echo "$as_me: *** Check command line arguments that are longer used ****" >&6;}
    19131903
    19141904if test "$CPP_ERROR_WARN" != "" ; then
     
    19271917
    19281918if test "$SpeedExample" = "yes" ; then
    1929     { { $as_echo "$as_me:$LINENO: error: --with-SpeedExample is now part of --with-Speed option" >&5
    1930 $as_echo "$as_me: error: --with-SpeedExample is now part of --with-Speed option" >&2;}
     1919    { { $as_echo "$as_me:$LINENO: error: --with-SpeedExample not necessary, see install instructions." >&5
     1920$as_echo "$as_me: error: --with-SpeedExample not necessary, see install instructions." >&2;}
    19311921   { (exit 1); exit 1; }; }
    19321922fi
     
    19411931
    19421932if test "$profiling" = "yes" ; then
    1943     { { $as_echo "$as_me:$LINENO: error: --with-profiling is now part of --with-Speed option" >&5
    1944 $as_echo "$as_me: error: --with-profiling is now part of --with-Speed option" >&2;}
     1933    { { $as_echo "$as_me:$LINENO: error: --with-profiling not necessary, see install instructions." >&5
     1934$as_echo "$as_me: error: --with-profiling not necessary, see install instructions." >&2;}
    19451935   { (exit 1); exit 1; }; }
    19461936fi
    19471937
     1938# Check whether --with-Speed was given.
     1939if test "${with_Speed+set}" = set; then
     1940  withval=$with_Speed; Speed="yes"
     1941else
     1942  Speed="no"
     1943
     1944fi
     1945
     1946if test "$Speed" = "yes" ; then
     1947    { { $as_echo "$as_me:$LINENO: error: --with-Speed not necessary, see install instructions." >&5
     1948$as_echo "$as_me: error: --with-Speed not necessary, see install instructions." >&2;}
     1949   { (exit 1); exit 1; }; }
     1950fi
     1951
     1952# Check whether --with-Introduction was given.
     1953if test "${with_Introduction+set}" = set; then
     1954  withval=$with_Introduction; Introduction="yes"
     1955else
     1956  Introduction="no"
     1957
     1958fi
     1959
     1960if test "$Introduction" = "yes" ; then
     1961    { { $as_echo "$as_me:$LINENO: error: --with-Introduction not necessary, see install instructions." >&5
     1962$as_echo "$as_me: error: --with-Introduction not necessary, see install instructions." >&2;}
     1963   { (exit 1); exit 1; }; }
     1964fi
     1965
     1966# Check whether --with-Example was given.
     1967if test "${with_Example+set}" = set; then
     1968  withval=$with_Example; Example="yes"
     1969else
     1970  Example="no"
     1971
     1972fi
     1973
     1974if test "$Example" = "yes" ; then
     1975    { { $as_echo "$as_me:$LINENO: error: --with-Example not necessary, see install instructions." >&5
     1976$as_echo "$as_me: error: --with-Example not necessary, see install instructions." >&2;}
     1977   { (exit 1); exit 1; }; }
     1978fi
     1979
     1980# Check whether --with-TestMore was given.
     1981if test "${with_TestMore+set}" = set; then
     1982  withval=$with_TestMore; TestMore="yes"
     1983else
     1984  TestMore="no"
     1985
     1986fi
     1987
     1988if test "$TestMore" = "yes" ; then
     1989    { { $as_echo "$as_me:$LINENO: error: --with-TestMore not necessary, see install instructions." >&5
     1990$as_echo "$as_me: error: --with-TestMore not necessary, see install instructions." >&2;}
     1991   { (exit 1); exit 1; }; }
     1992fi
     1993
     1994# Check whether --with-PrintFor was given.
     1995if test "${with_PrintFor+set}" = set; then
     1996  withval=$with_PrintFor; PrintFor="yes"
     1997else
     1998  PrintFor="no"
     1999
     2000fi
     2001
     2002if test "$PrintFor" = "yes" ; then
     2003    { { $as_echo "$as_me:$LINENO: error: --with-PrintFor not necessary, see install instructions." >&5
     2004$as_echo "$as_me: error: --with-PrintFor not necessary, see install instructions." >&2;}
     2005   { (exit 1); exit 1; }; }
     2006fi
     2007{ $as_echo "$as_me:$LINENO: ******  Check command line arguments that are used ***********" >&5
     2008$as_echo "$as_me: ******  Check command line arguments that are used ***********" >&6;}
    19482009{ $as_echo "$as_me:$LINENO: checking --prefix" >&5
    19492010$as_echo_n "checking --prefix... " >&6; }
     
    19772038{ $as_echo "$as_me:$LINENO: result: $Documentation" >&5
    19782039$as_echo "$Documentation" >&6; }
    1979 
    1980 
    1981 { $as_echo "$as_me:$LINENO: checking --with-Introduction" >&5
    1982 $as_echo_n "checking --with-Introduction... " >&6; }
    1983 
    1984 # Check whether --with-Introduction was given.
    1985 if test "${with_Introduction+set}" = set; then
    1986   withval=$with_Introduction; Introduction="yes"
    1987 else
    1988   Introduction="no"
    1989 
    1990 fi
    1991 
    1992  if test "$Introduction" = "yes"; then
    1993   CppAD_INTRODUCTION_TRUE=
    1994   CppAD_INTRODUCTION_FALSE='#'
    1995 else
    1996   CppAD_INTRODUCTION_TRUE='#'
    1997   CppAD_INTRODUCTION_FALSE=
    1998 fi
    1999 
    2000 { $as_echo "$as_me:$LINENO: result: $Introduction" >&5
    2001 $as_echo "$Introduction" >&6; }
    2002 
    2003 { $as_echo "$as_me:$LINENO: checking --with-Example" >&5
    2004 $as_echo_n "checking --with-Example... " >&6; }
    2005 
    2006 # Check whether --with-Example was given.
    2007 if test "${with_Example+set}" = set; then
    2008   withval=$with_Example; Example="yes"
    2009 else
    2010   Example="no"
    2011 
    2012 fi
    2013 
    2014  if test "$Example" = "yes"; then
    2015   CppAD_EXAMPLE_TRUE=
    2016   CppAD_EXAMPLE_FALSE='#'
    2017 else
    2018   CppAD_EXAMPLE_TRUE='#'
    2019   CppAD_EXAMPLE_FALSE=
    2020 fi
    2021 
    2022 { $as_echo "$as_me:$LINENO: result: $Example" >&5
    2023 $as_echo "$Example" >&6; }
    2024 
    2025 { $as_echo "$as_me:$LINENO: checking --with-TestMore" >&5
    2026 $as_echo_n "checking --with-TestMore... " >&6; }
    2027 
    2028 # Check whether --with-TestMore was given.
    2029 if test "${with_TestMore+set}" = set; then
    2030   withval=$with_TestMore; TestMore="yes"
    2031 else
    2032   TestMore="no"
    2033 
    2034 fi
    2035 
    2036  if test "$TestMore" = "yes"; then
    2037   CppAD_TEST_MORE_TRUE=
    2038   CppAD_TEST_MORE_FALSE='#'
    2039 else
    2040   CppAD_TEST_MORE_TRUE='#'
    2041   CppAD_TEST_MORE_FALSE=
    2042 fi
    2043 
    2044 { $as_echo "$as_me:$LINENO: result: $TestMore" >&5
    2045 $as_echo "$TestMore" >&6; }
    2046 
    2047 { $as_echo "$as_me:$LINENO: checking --with-Speed" >&5
    2048 $as_echo_n "checking --with-Speed... " >&6; }
    2049 
    2050 # Check whether --with-Speed was given.
    2051 if test "${with_Speed+set}" = set; then
    2052   withval=$with_Speed; Speed="yes"
    2053 else
    2054   Speed="no"
    2055 
    2056 fi
    2057 
    2058  if test "$Speed" = "yes"; then
    2059   CppAD_SPEED_TRUE=
    2060   CppAD_SPEED_FALSE='#'
    2061 else
    2062   CppAD_SPEED_TRUE='#'
    2063   CppAD_SPEED_FALSE=
    2064 fi
    2065 
    2066 { $as_echo "$as_me:$LINENO: result: $Speed" >&5
    2067 $as_echo "$Speed" >&6; }
    2068 
    2069 { $as_echo "$as_me:$LINENO: checking --with-PrintFor" >&5
    2070 $as_echo_n "checking --with-PrintFor... " >&6; }
    2071 
    2072 # Check whether --with-PrintFor was given.
    2073 if test "${with_PrintFor+set}" = set; then
    2074   withval=$with_PrintFor; PrintFor="yes"
    2075 else
    2076   PrintFor="no"
    2077 
    2078 fi
    2079 
    2080  if test "$PrintFor" = "yes"; then
    2081   CppAD_PRINTFOR_TRUE=
    2082   CppAD_PRINTFOR_FALSE='#'
    2083 else
    2084   CppAD_PRINTFOR_TRUE='#'
    2085   CppAD_PRINTFOR_FALSE=
    2086 fi
    2087 
    2088 { $as_echo "$as_me:$LINENO: result: $PrintFor" >&5
    2089 $as_echo "$PrintFor" >&6; }
    20902040
    20912041{ $as_echo "$as_me:$LINENO: checking --with-stdvector" >&5
     
    38523802# Define the identity of the package.
    38533803 PACKAGE='cppad'
    3854  VERSION='20100123'
     3804 VERSION='20100206'
    38553805
    38563806
     
    58085758   { (exit 1); exit 1; }; }
    58095759fi
    5810 if test -z "${CppAD_INTRODUCTION_TRUE}" && test -z "${CppAD_INTRODUCTION_FALSE}"; then
    5811   { { $as_echo "$as_me:$LINENO: error: conditional \"CppAD_INTRODUCTION\" was never defined.
    5812 Usually this means the macro was only invoked conditionally." >&5
    5813 $as_echo "$as_me: error: conditional \"CppAD_INTRODUCTION\" was never defined.
    5814 Usually this means the macro was only invoked conditionally." >&2;}
    5815    { (exit 1); exit 1; }; }
    5816 fi
    5817 if test -z "${CppAD_EXAMPLE_TRUE}" && test -z "${CppAD_EXAMPLE_FALSE}"; then
    5818   { { $as_echo "$as_me:$LINENO: error: conditional \"CppAD_EXAMPLE\" was never defined.
    5819 Usually this means the macro was only invoked conditionally." >&5
    5820 $as_echo "$as_me: error: conditional \"CppAD_EXAMPLE\" was never defined.
    5821 Usually this means the macro was only invoked conditionally." >&2;}
    5822    { (exit 1); exit 1; }; }
    5823 fi
    5824 if test -z "${CppAD_TEST_MORE_TRUE}" && test -z "${CppAD_TEST_MORE_FALSE}"; then
    5825   { { $as_echo "$as_me:$LINENO: error: conditional \"CppAD_TEST_MORE\" was never defined.
    5826 Usually this means the macro was only invoked conditionally." >&5
    5827 $as_echo "$as_me: error: conditional \"CppAD_TEST_MORE\" was never defined.
    5828 Usually this means the macro was only invoked conditionally." >&2;}
    5829    { (exit 1); exit 1; }; }
    5830 fi
    5831 if test -z "${CppAD_SPEED_TRUE}" && test -z "${CppAD_SPEED_FALSE}"; then
    5832   { { $as_echo "$as_me:$LINENO: error: conditional \"CppAD_SPEED\" was never defined.
    5833 Usually this means the macro was only invoked conditionally." >&5
    5834 $as_echo "$as_me: error: conditional \"CppAD_SPEED\" was never defined.
    5835 Usually this means the macro was only invoked conditionally." >&2;}
    5836    { (exit 1); exit 1; }; }
    5837 fi
    5838 if test -z "${CppAD_PRINTFOR_TRUE}" && test -z "${CppAD_PRINTFOR_FALSE}"; then
    5839   { { $as_echo "$as_me:$LINENO: error: conditional \"CppAD_PRINTFOR\" was never defined.
    5840 Usually this means the macro was only invoked conditionally." >&5
    5841 $as_echo "$as_me: error: conditional \"CppAD_PRINTFOR\" was never defined.
    5842 Usually this means the macro was only invoked conditionally." >&2;}
    5843    { (exit 1); exit 1; }; }
    5844 fi
    58455760if test -z "${CppAD_POSTFIX_TRUE}" && test -z "${CppAD_POSTFIX_FALSE}"; then
    58465761  { { $as_echo "$as_me:$LINENO: error: conditional \"CppAD_POSTFIX\" was never defined.
     
    62436158# values after options handling.
    62446159ac_log="
    6245 This file was extended by CppAD $as_me 20100123, which was
     6160This file was extended by CppAD $as_me 20100206, which was
    62466161generated by GNU Autoconf 2.63.  Invocation command line was
    62476162
     
    63066221cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
    63076222ac_cs_version="\\
    6308 CppAD config.status 20100123
     6223CppAD config.status 20100206
    63096224configured by $0, generated by GNU Autoconf 2.63,
    63106225  with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
  • trunk/configure.ac

    r1638 r1644  
    1313dnl Process this file with autoconf to produce a configure script.
    1414dnl   package   version              bug-report
    15 AC_INIT(CppAD, 20100128, cppad@list.coin-or.org)
     15AC_INIT(CppAD, 20100206, cppad@list.coin-or.org)
    1616
    1717dnl By defalut disable maintainer mode when running configure;
     
    2626dnl cygwin replace: AC_PREFIX_DEFAULT(/usr)
    2727
    28 AC_MSG_NOTICE([******** Begin Checking Command Line arguments ***************])
    29 
     28AC_MSG_NOTICE([*** Check command line arguments that are longer used ****])
     29
     30dnl ---------------- Check for arugments that have been removed ----------
    3031if test "$CPP_ERROR_WARN" != "" ; then
    3132    AC_MSG_ERROR([The CPP_ERROR_WARN configure option is now CXX_FLAGS])
    3233fi
     34dnl
    3335AC_ARG_WITH(SpeedExample, AC_HELP_STRING(
    34         [--with-SpeedExample], [is now part of the --with-Speed option]),
     36        [--with-SpeedExample], [is not necessary, see install instructions.]),
    3537        [SpeedExample="yes"], [SpeedExample="no"]
    3638)
    3739if test "$SpeedExample" = "yes" ; then
    38     AC_MSG_ERROR([--with-SpeedExample is now part of --with-Speed option])
    39 fi
     40    AC_MSG_ERROR([--with-SpeedExample not necessary, see install instructions.])
     41fi
     42dnl
    4043AC_ARG_WITH(profiling, AC_HELP_STRING(
    41         [--with-profiling], [is now part of the --with-Speed option]),
     44        [--with-profiling], [is not necessary, see install instructions.]),
    4245        [profiling="yes"], [profiling="no"]
    4346)
    4447if test "$profiling" = "yes" ; then
    45     AC_MSG_ERROR([--with-profiling is now part of --with-Speed option])
    46 fi
    47 
     48    AC_MSG_ERROR([--with-profiling not necessary, see install instructions.])
     49fi
     50dnl
     51AC_ARG_WITH(Speed, AC_HELP_STRING(
     52        [--with-Speed], [is not necessary, see install instructions.]),
     53        [Speed="yes"], [Speed="no"]
     54)
     55if test "$Speed" = "yes" ; then
     56    AC_MSG_ERROR([--with-Speed not necessary, see install instructions.])
     57fi
     58dnl
     59AC_ARG_WITH(Introduction, AC_HELP_STRING(
     60        [--with-Introduction], [is not necessary, see install instructions.]),
     61        [Introduction="yes"], [Introduction="no"]
     62)
     63if test "$Introduction" = "yes" ; then
     64    AC_MSG_ERROR([--with-Introduction not necessary, see install instructions.])
     65fi
     66dnl
     67AC_ARG_WITH(Example, AC_HELP_STRING(
     68        [--with-Example], [is not necessary, see install instructions.]),
     69        [Example="yes"], [Example="no"]
     70)
     71if test "$Example" = "yes" ; then
     72    AC_MSG_ERROR([--with-Example not necessary, see install instructions.])
     73fi
     74dnl
     75AC_ARG_WITH(TestMore, AC_HELP_STRING(
     76        [--with-TestMore], [is not necessary, see install instructions.]),
     77        [TestMore="yes"], [TestMore="no"]
     78)
     79if test "$TestMore" = "yes" ; then
     80    AC_MSG_ERROR([--with-TestMore not necessary, see install instructions.])
     81fi
     82dnl
     83AC_ARG_WITH(PrintFor, AC_HELP_STRING(
     84        [--with-PrintFor], [is not necessary, see install instructions.]),
     85        [PrintFor="yes"], [PrintFor="no"]
     86)
     87if test "$PrintFor" = "yes" ; then
     88    AC_MSG_ERROR([--with-PrintFor not necessary, see install instructions.])
     89fi
     90AC_MSG_NOTICE([******  Check command line arguments that are used ***********])
    4891dnl the prefix directory corresponding to CppAD -------------------------
    4992dnl The following seems to work but NONE is not in autoconf specifications
     
    67110dnl cygwin end delete:
    68111dnl cygwin replace: AM_CONDITIONAL(CppAD_DOCUMENTATION, test "yes" = "yes")
    69 
    70 
    71 dnl Are we building the Introduction directory ---------------------------
    72 AC_MSG_CHECKING([--with-Introduction])
    73 AC_ARG_WITH(Introduction,
    74         AC_HELP_STRING([--with-Introduction], [default is no]),
    75         [Introduction="yes"],
    76         [Introduction="no"]
    77 )
    78 AM_CONDITIONAL(CppAD_INTRODUCTION, test "$Introduction" = "yes")
    79 AC_MSG_RESULT([$Introduction])
    80 
    81 dnl Are we building the Example directory --------------------------------
    82 AC_MSG_CHECKING([--with-Example])
    83 AC_ARG_WITH(Example,
    84         AC_HELP_STRING([--with-Example], [default is no]),
    85         [Example="yes"],
    86         [Example="no"]
    87 )
    88 AM_CONDITIONAL(CppAD_EXAMPLE, test "$Example" = "yes")
    89 AC_MSG_RESULT([$Example])
    90 
    91 dnl Are we building the TestMore directory -------------------------------
    92 AC_MSG_CHECKING([--with-TestMore])
    93 AC_ARG_WITH(TestMore,
    94         AC_HELP_STRING([--with-TestMore], [default is no]),
    95         [TestMore="yes"],
    96         [TestMore="no"]
    97 )
    98 AM_CONDITIONAL(CppAD_TEST_MORE, test "$TestMore" = "yes")
    99 AC_MSG_RESULT([$TestMore])
    100 
    101 dnl Are we building the Speed directory ----------------------------------
    102 AC_MSG_CHECKING([--with-Speed])
    103 AC_ARG_WITH(Speed,
    104         AC_HELP_STRING([--with-Speed], [default is no]),
    105         [Speed="yes"],
    106         [Speed="no"]
    107 )
    108 AM_CONDITIONAL(CppAD_SPEED, test "$Speed" = "yes")
    109 AC_MSG_RESULT([$Speed])
    110 
    111 dnl Are we building the PrintFor directory --------------------------------
    112 AC_MSG_CHECKING([--with-PrintFor])
    113 AC_ARG_WITH(PrintFor,
    114         AC_HELP_STRING([--with-PrintFor], [default is no]),
    115         [PrintFor="yes"],
    116         [PrintFor="no"]
    117 )
    118 AM_CONDITIONAL(CppAD_PRINTFOR, test "$PrintFor" = "yes")
    119 AC_MSG_RESULT([$PrintFor])
    120112
    121113dnl Are we using standard vectors ----------------------------------------
  • trunk/cppad/config.h

    r1638 r1644  
    2424
    2525/* Define to the full name and version of this package. */
    26 #define PACKAGE_STRING "CppAD 20100128"
     26#define PACKAGE_STRING "CppAD 20100206"
    2727
    2828/* Define to the one symbol short name of this package. */
     
    3030
    3131/* Define to the version of this package. */
    32 #define PACKAGE_VERSION "20100128"
     32#define PACKAGE_VERSION "20100206"
    3333
    3434/* Version number of package */
    35 #define VERSION "20100128"
     35#define VERSION "20100206"
    3636
    3737/* Define to `__inline__' or `__inline' if that's what the C compiler
  • trunk/cppad/local/op_code.hpp

    r1641 r1644  
    534534                case PripOp:
    535535                CPPAD_ASSERT_UNKNOWN( NumArg(op) == 2 );
    536                 printOpField(os, "txt=", *(Rec->GetTxt(ind[0])), ncol);
    537                 printOpField(os, "  p=", Rec->GetPar(ind[1]), ncol);
     536                os << "txt=\"" << Rec->GetTxt(ind[0]);
     537                os << "\"  p=" << Rec->GetPar(ind[1]);
    538538                break;
    539539
    540540                case PrivOp:
    541541                CPPAD_ASSERT_UNKNOWN( NumArg(op) == 2 );
    542                 printOpField(os, "txt=", *(Rec->GetTxt(ind[0])), ncol);
    543                 printOpField(os, "  v=", ind[1], ncol);
     542                os << "txt=\"" << Rec->GetTxt(ind[0]);
     543                os << "\"  v=" << ind[1];
    544544                break;
    545545
  • trunk/cppad/local/optimize.hpp

    r1641 r1644  
    6161You can run the CppAD $cref/speed/speed_main/$$ tests and see
    6262the corresponding changes in number of variables and execution time.
    63 This will require that you specify the
    64 $cref/--with-Speed/InstallUnix/--with-Speed/$$ option when you
    65 configure CppAD.
    66 In this case, you can run the speed tests with optimization
     63After the $cref/make test/InstallUnix/make test/$$ command
     64is run in the $code speed/cppad$$ directory,
     65you can run the speed tests with optimization
    6766using the command
    6867$codep
     
    326325        {       size_t k = tape[i].arg[0];
    327326                CPPAD_ASSERT_UNKNOWN( k < i );
    328                 if (new_arg[0] == tape[k].new_var );
     327                if (new_arg[0] == tape[k].new_var )
    329328                        return tape[i].new_var;
    330329        }
  • trunk/cppad/local/print_op.hpp

    r1641 r1644  
    9898
    9999/*!
    100 Print operation for parameters; i.e., op = PrivOp.
     100Print operation for variables; i.e., op = PrivOp.
    101101
    102102The C++ source code corresponding to this operation is
     
    152152\li NumRes(PrivOp) == 0
    153153\li arg[0] < num_test
    154 \li arg[1] < i_z
     154\li arg[1] <= i_z
    155155*/
    156156template <class Base>
     
    168168        CPPAD_ASSERT_UNKNOWN( NumRes(PripOp) == 0 );
    169169        CPPAD_ASSERT_UNKNOWN( arg[0] < num_text );
    170         CPPAD_ASSERT_UNKNOWN( arg[1] < i_z );
     170        CPPAD_ASSERT_UNKNOWN( arg[1] <= i_z );
    171171
    172172        std::cout << text + arg[0];
  • trunk/cppad_ipopt/example/makefile.am

    r1640 r1644  
    2929        ode2.omh
    3030#
    31 noinst_PROGRAMS   = example
     31check_PROGRAMS    = example
    3232#
    3333AM_CXXFLAGS       = -g $(CXX_FLAGS)
  • trunk/cppad_ipopt/example/makefile.in

    r1641 r1644  
    1515
    1616@SET_MAKE@
    17 
    1817VPATH = @srcdir@
    1918pkgdatadir = $(datadir)/@PACKAGE@
     
    3332PRE_UNINSTALL = :
    3433POST_UNINSTALL = :
    35 noinst_PROGRAMS = example$(EXEEXT)
     34check_PROGRAMS = example$(EXEEXT)
    3635subdir = cppad_ipopt/example
    3736DIST_COMMON = $(srcdir)/makefile.am $(srcdir)/makefile.in
     
    4443CONFIG_CLEAN_FILES =
    4544CONFIG_CLEAN_VPATH_FILES =
    46 PROGRAMS = $(noinst_PROGRAMS)
    4745am_example_OBJECTS = example.$(OBJEXT) get_started.$(OBJEXT) \
    4846        ode_check.$(OBJEXT) ode_fast_check.$(OBJEXT) \
     
    259257$(am__aclocal_m4_deps):
    260258
    261 clean-noinstPROGRAMS:
    262         -test -z "$(noinst_PROGRAMS)" || rm -f $(noinst_PROGRAMS)
     259clean-checkPROGRAMS:
     260        -test -z "$(check_PROGRAMS)" || rm -f $(check_PROGRAMS)
    263261example$(EXEEXT): $(example_OBJECTS) $(example_DEPENDENCIES)
    264262        @rm -f example$(EXEEXT)
     
    374372        done
    375373check-am: all-am
     374        $(MAKE) $(AM_MAKEFLAGS) $(check_PROGRAMS)
    376375check: check-am
    377 all-am: makefile $(PROGRAMS)
     376all-am: makefile
    378377installdirs:
    379378install: install-am
     
    404403clean: clean-am
    405404
    406 clean-am: clean-generic clean-noinstPROGRAMS mostlyclean-am
     405clean-am: clean-checkPROGRAMS clean-generic mostlyclean-am
    407406
    408407distclean: distclean-am
     
    471470uninstall-am:
    472471
    473 .MAKE: install-am install-strip
    474 
    475 .PHONY: CTAGS GTAGS all all-am check check-am clean clean-generic \
    476         clean-noinstPROGRAMS ctags distclean distclean-compile \
    477         distclean-generic distclean-tags distdir dvi dvi-am html \
    478         html-am info info-am install install-am install-data \
    479         install-data-am install-dvi install-dvi-am install-exec \
    480         install-exec-am install-html install-html-am install-info \
    481         install-info-am install-man install-pdf install-pdf-am \
    482         install-ps install-ps-am install-strip installcheck \
    483         installcheck-am installdirs maintainer-clean \
     472.MAKE: check-am install-am install-strip
     473
     474.PHONY: CTAGS GTAGS all all-am check check-am clean \
     475        clean-checkPROGRAMS clean-generic ctags distclean \
     476        distclean-compile distclean-generic distclean-tags distdir dvi \
     477        dvi-am html html-am info info-am install install-am \
     478        install-data install-data-am install-dvi install-dvi-am \
     479        install-exec install-exec-am install-html install-html-am \
     480        install-info install-info-am install-man install-pdf \
     481        install-pdf-am install-ps install-ps-am install-strip \
     482        installcheck installcheck-am installdirs maintainer-clean \
    484483        maintainer-clean-generic mostlyclean mostlyclean-compile \
    485484        mostlyclean-generic pdf pdf-am ps ps-am tags uninstall \
  • trunk/cppad_ipopt/speed/makefile.am

    r1640 r1644  
    2121endif
    2222#
    23 noinst_PROGRAMS   = speed
     23check_PROGRAMS    = speed
    2424#
    2525AM_CXXFLAGS       = -O2 -DNDEBUG $(CXX_FLAGS)
  • trunk/cppad_ipopt/speed/makefile.in

    r1641 r1644  
    1515
    1616@SET_MAKE@
    17 
    1817VPATH = @srcdir@
    1918pkgdatadir = $(datadir)/@PACKAGE@
     
    3332PRE_UNINSTALL = :
    3433POST_UNINSTALL = :
    35 noinst_PROGRAMS = speed$(EXEEXT)
     34check_PROGRAMS = speed$(EXEEXT)
    3635subdir = cppad_ipopt/speed
    3736DIST_COMMON = $(srcdir)/makefile.am $(srcdir)/makefile.in
     
    4443CONFIG_CLEAN_FILES =
    4544CONFIG_CLEAN_VPATH_FILES =
    46 PROGRAMS = $(noinst_PROGRAMS)
    4745am_speed_OBJECTS = speed.$(OBJEXT) cppad_ipopt_nlp.$(OBJEXT) \
    4846        hes_fg_map.$(OBJEXT) jac_g_map.$(OBJEXT) \
     
    251249$(am__aclocal_m4_deps):
    252250
    253 clean-noinstPROGRAMS:
    254         -test -z "$(noinst_PROGRAMS)" || rm -f $(noinst_PROGRAMS)
     251clean-checkPROGRAMS:
     252        -test -z "$(check_PROGRAMS)" || rm -f $(check_PROGRAMS)
    255253speed$(EXEEXT): $(speed_OBJECTS) $(speed_DEPENDENCIES)
    256254        @rm -f speed$(EXEEXT)
     
    438436        done
    439437check-am: all-am
     438        $(MAKE) $(AM_MAKEFLAGS) $(check_PROGRAMS)
    440439check: check-am
    441 all-am: makefile $(PROGRAMS)
     440all-am: makefile
    442441installdirs:
    443442install: install-am
     
    468467clean: clean-am
    469468
    470 clean-am: clean-generic clean-noinstPROGRAMS mostlyclean-am
     469clean-am: clean-checkPROGRAMS clean-generic mostlyclean-am
    471470
    472471distclean: distclean-am
     
    535534uninstall-am:
    536535
    537 .MAKE: install-am install-strip
    538 
    539 .PHONY: CTAGS GTAGS all all-am check check-am clean clean-generic \
    540         clean-noinstPROGRAMS ctags distclean distclean-compile \
    541         distclean-generic distclean-tags distdir dvi dvi-am html \
    542         html-am info info-am install install-am install-data \
    543         install-data-am install-dvi install-dvi-am install-exec \
    544         install-exec-am install-html install-html-am install-info \
    545         install-info-am install-man install-pdf install-pdf-am \
    546         install-ps install-ps-am install-strip installcheck \
    547         installcheck-am installdirs maintainer-clean \
     536.MAKE: check-am install-am install-strip
     537
     538.PHONY: CTAGS GTAGS all all-am check check-am clean \
     539        clean-checkPROGRAMS clean-generic ctags distclean \
     540        distclean-compile distclean-generic distclean-tags distdir dvi \
     541        dvi-am html html-am info info-am install install-am \
     542        install-data install-data-am install-dvi install-dvi-am \
     543        install-exec install-exec-am install-html install-html-am \
     544        install-info install-info-am install-man install-pdf \
     545        install-pdf-am install-ps install-ps-am install-strip \
     546        installcheck installcheck-am installdirs maintainer-clean \
    548547        maintainer-clean-generic mostlyclean mostlyclean-compile \
    549548        mostlyclean-generic pdf pdf-am ps ps-am tags uninstall \
  • trunk/cppad_ipopt/test/makefile.am

    r1640 r1644  
    2121endif
    2222#
    23 noinst_PROGRAMS   = test_more
     23check_PROGRAMS    = test_more
    2424#
    2525AM_CXXFLAGS       = -g $(CXX_FLAGS)
  • trunk/cppad_ipopt/test/makefile.in

    r1641 r1644  
    1515
    1616@SET_MAKE@
    17 
    1817VPATH = @srcdir@
    1918pkgdatadir = $(datadir)/@PACKAGE@
     
    3332PRE_UNINSTALL = :
    3433POST_UNINSTALL = :
    35 noinst_PROGRAMS = test_more$(EXEEXT)
     34check_PROGRAMS = test_more$(EXEEXT)
    3635subdir = cppad_ipopt/test
    3736DIST_COMMON = $(srcdir)/makefile.am $(srcdir)/makefile.in
     
    4443CONFIG_CLEAN_FILES =
    4544CONFIG_CLEAN_VPATH_FILES =
    46 PROGRAMS = $(noinst_PROGRAMS)
    4745am_test_more_OBJECTS = test_more.$(OBJEXT) k_gt_one.$(OBJEXT) \
    4846        multiple_solution.$(OBJEXT) retape_k1_l1.$(OBJEXT) \
     
    241239$(am__aclocal_m4_deps):
    242240
    243 clean-noinstPROGRAMS:
    244         -test -z "$(noinst_PROGRAMS)" || rm -f $(noinst_PROGRAMS)
     241clean-checkPROGRAMS:
     242        -test -z "$(check_PROGRAMS)" || rm -f $(check_PROGRAMS)
    245243test_more$(EXEEXT): $(test_more_OBJECTS) $(test_more_DEPENDENCIES)
    246244        @rm -f test_more$(EXEEXT)
     
    356354        done
    357355check-am: all-am
     356        $(MAKE) $(AM_MAKEFLAGS) $(check_PROGRAMS)
    358357check: check-am
    359 all-am: makefile $(PROGRAMS)
     358all-am: makefile
    360359installdirs:
    361360install: install-am
     
    386385clean: clean-am
    387386
    388 clean-am: clean-generic clean-noinstPROGRAMS mostlyclean-am
     387clean-am: clean-checkPROGRAMS clean-generic mostlyclean-am
    389388
    390389distclean: distclean-am
     
    453452uninstall-am:
    454453
    455 .MAKE: install-am install-strip
    456 
    457 .PHONY: CTAGS GTAGS all all-am check check-am clean clean-generic \
    458         clean-noinstPROGRAMS ctags distclean distclean-compile \
    459         distclean-generic distclean-tags distdir dvi dvi-am html \
    460         html-am info info-am install install-am install-data \
    461         install-data-am install-dvi install-dvi-am install-exec \
    462         install-exec-am install-html install-html-am install-info \
    463         install-info-am install-man install-pdf install-pdf-am \
    464         install-ps install-ps-am install-strip installcheck \
    465         installcheck-am installdirs maintainer-clean \
     454.MAKE: check-am install-am install-strip
     455
     456.PHONY: CTAGS GTAGS all all-am check check-am clean \
     457        clean-checkPROGRAMS clean-generic ctags distclean \
     458        distclean-compile distclean-generic distclean-tags distdir dvi \
     459        dvi-am html html-am info info-am install install-am \
     460        install-data install-data-am install-dvi install-dvi-am \
     461        install-exec install-exec-am install-html install-html-am \
     462        install-info install-info-am install-man install-pdf \
     463        install-pdf-am install-ps install-ps-am install-strip \
     464        installcheck installcheck-am installdirs maintainer-clean \
    466465        maintainer-clean-generic mostlyclean mostlyclean-compile \
    467466        mostlyclean-generic pdf pdf-am ps ps-am tags uninstall \
  • trunk/example/example.vcproj

    r1638 r1644  
    337337                        </File>
    338338                        <File
     339                                RelativePath=".\opt_val_hes.cpp">
     340                        </File>
     341                        <File
    339342                                RelativePath=".\optimize.cpp">
    340343                        </File>
  • trunk/example/makefile.am

    r1643 r1644  
    3737endif
    3838#
    39 # Microsoft project files
     39# Microsoft project files an script to run a single test
    4040EXTRA_DIST        = example.sln example.vcproj test_one.sh.in \
    4141        $(ADOLC_EXTRA_FILES)
    4242#
    43 noinst_PROGRAMS   = example
     43check_PROGRAMS    = example
    4444#
    4545if CppAD_MS_COMPILER
  • trunk/example/makefile.in

    r1643 r1644  
    1515
    1616@SET_MAKE@
    17 
    1817VPATH = @srcdir@
    1918pkgdatadir = $(datadir)/@PACKAGE@
     
    3332PRE_UNINSTALL = :
    3433POST_UNINSTALL = :
    35 noinst_PROGRAMS = example$(EXEEXT)
     34check_PROGRAMS = example$(EXEEXT)
    3635subdir = example
    3736DIST_COMMON = $(srcdir)/makefile.am $(srcdir)/makefile.in \
     
    4544CONFIG_CLEAN_FILES = test_one.sh
    4645CONFIG_CLEAN_VPATH_FILES =
    47 PROGRAMS = $(noinst_PROGRAMS)
    4846am__example_SOURCES_DIST = mul_level_adolc.cpp ode_taylor_adolc.cpp \
    4947        example.cpp abort_recording.cpp abs.cpp acos.cpp add.cpp \
     
    164162CYGPATH_W = @CYGPATH_W@
    165163
    166 # $Id: makefile.am 1640 2010-02-01 12:39:53Z bradbell $
     164# $Id: makefile.am 1643 2010-02-04 05:45:21Z bradbell $
    167165# -----------------------------------------------------------------------------
    168166# CppAD: C++ Algorithmic Differentiation: Copyright (C) 2003-10 Bradley M. Bell
     
    279277@CppAD_BOOSTVECTOR_TRUE@BOOST_INCLUDE = -I$(BOOST_DIR)
    280278#
    281 # Microsoft project files
     279# Microsoft project files an script to run a single test
    282280EXTRA_DIST = example.sln example.vcproj test_one.sh.in \
    283281        $(ADOLC_EXTRA_FILES)
     
    452450        cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@
    453451
    454 clean-noinstPROGRAMS:
    455         -test -z "$(noinst_PROGRAMS)" || rm -f $(noinst_PROGRAMS)
     452clean-checkPROGRAMS:
     453        -test -z "$(check_PROGRAMS)" || rm -f $(check_PROGRAMS)
    456454example$(EXEEXT): $(example_OBJECTS) $(example_DEPENDENCIES)
    457455        @rm -f example$(EXEEXT)
     
    676674        done
    677675check-am: all-am
     676        $(MAKE) $(AM_MAKEFLAGS) $(check_PROGRAMS)
    678677check: check-am
    679 all-am: makefile $(PROGRAMS)
     678all-am: makefile
    680679installdirs:
    681680install: install-am
     
    706705clean: clean-am
    707706
    708 clean-am: clean-generic clean-noinstPROGRAMS mostlyclean-am
     707clean-am: clean-checkPROGRAMS clean-generic mostlyclean-am
    709708
    710709distclean: distclean-am
     
    773772uninstall-am:
    774773
    775 .MAKE: install-am install-strip
    776 
    777 .PHONY: CTAGS GTAGS all all-am check check-am clean clean-generic \
    778         clean-noinstPROGRAMS ctags distclean distclean-compile \
    779         distclean-generic distclean-tags distdir dvi dvi-am html \
    780         html-am info info-am install install-am install-data \
    781         install-data-am install-dvi install-dvi-am install-exec \
    782         install-exec-am install-html install-html-am install-info \
    783         install-info-am install-man install-pdf install-pdf-am \
    784         install-ps install-ps-am install-strip installcheck \
    785         installcheck-am installdirs maintainer-clean \
     774.MAKE: check-am install-am install-strip
     775
     776.PHONY: CTAGS GTAGS all all-am check check-am clean \
     777        clean-checkPROGRAMS clean-generic ctags distclean \
     778        distclean-compile distclean-generic distclean-tags distdir dvi \
     779        dvi-am html html-am info info-am install install-am \
     780        install-data install-data-am install-dvi install-dvi-am \
     781        install-exec install-exec-am install-html install-html-am \
     782        install-info install-info-am install-man install-pdf \
     783        install-pdf-am install-ps install-ps-am install-strip \
     784        installcheck installcheck-am installdirs maintainer-clean \
    786785        maintainer-clean-generic mostlyclean mostlyclean-compile \
    787786        mostlyclean-generic pdf pdf-am ps ps-am tags uninstall \
  • trunk/introduction/exp_apx/main.cpp

    r1401 r1644  
    11/* $Id$ */
    22/* --------------------------------------------------------------------------
    3 CppAD: C++ Algorithmic Differentiation: Copyright (C) 2003-09 Bradley M. Bell
     3CppAD: C++ Algorithmic Differentiation: Copyright (C) 2003-10 Bradley M. Bell
    44
    55CppAD is distributed under multiple licenses. This distribution is under
     
    5656        static size_t Run_error_count = 0;
    5757        bool Run(bool TestOk(void), std::string name)
    58         {       bool ok      = true;
    59                 size_t width =  20;         
     58        {       bool ok               = true;
     59                std::streamsize width =  20;         
    6060                std::cout.width( width );
    6161                std::cout.setf( std::ios_base::left );
    62                 std::cout << name;
     62                std::cout << name.c_str();
    6363                //
    64                 ok &= name.size() < width;
     64                ok &= name.size() < size_t(width);
    6565                ok &= TestOk();
    6666                if( ok )
  • trunk/introduction/exp_apx/makefile.am

    r1640 r1644  
    2828        exp_eps.omh
    2929#
    30 noinst_PROGRAMS   = exp_apx
     30check_PROGRAMS    = exp_apx
    3131#
    3232AM_CPPFLAGS       = -I. -I$(top_srcdir) $(BOOST_INCLUDE)
  • trunk/introduction/exp_apx/makefile.in

    r1641 r1644  
    1515
    1616@SET_MAKE@
    17 
    1817VPATH = @srcdir@
    1918pkgdatadir = $(datadir)/@PACKAGE@
     
    3332PRE_UNINSTALL = :
    3433POST_UNINSTALL = :
    35 noinst_PROGRAMS = exp_apx$(EXEEXT)
     34check_PROGRAMS = exp_apx$(EXEEXT)
    3635subdir = introduction/exp_apx
    3736DIST_COMMON = $(srcdir)/makefile.am $(srcdir)/makefile.in
     
    4443CONFIG_CLEAN_FILES =
    4544CONFIG_CLEAN_VPATH_FILES =
    46 PROGRAMS = $(noinst_PROGRAMS)
    4745am_exp_apx_OBJECTS = main.$(OBJEXT) exp_2.$(OBJEXT) \
    4846        exp_2_cppad.$(OBJEXT) exp_2_for1.$(OBJEXT) \
     
    258256$(am__aclocal_m4_deps):
    259257
    260 clean-noinstPROGRAMS:
    261         -test -z "$(noinst_PROGRAMS)" || rm -f $(noinst_PROGRAMS)
     258clean-checkPROGRAMS:
     259        -test -z "$(check_PROGRAMS)" || rm -f $(check_PROGRAMS)
    262260exp_apx$(EXEEXT): $(exp_apx_OBJECTS) $(exp_apx_DEPENDENCIES)
    263261        @rm -f exp_apx$(EXEEXT)
     
    383381        done
    384382check-am: all-am
     383        $(MAKE) $(AM_MAKEFLAGS) $(check_PROGRAMS)
    385384check: check-am
    386 all-am: makefile $(PROGRAMS)
     385all-am: makefile
    387386installdirs:
    388387install: install-am
     
    413412clean: clean-am
    414413
    415 clean-am: clean-generic clean-noinstPROGRAMS mostlyclean-am
     414clean-am: clean-checkPROGRAMS clean-generic mostlyclean-am
    416415
    417416distclean: distclean-am
     
    480479uninstall-am:
    481480
    482 .MAKE: install-am install-strip
    483 
    484 .PHONY: CTAGS GTAGS all all-am check check-am clean clean-generic \
    485         clean-noinstPROGRAMS ctags distclean distclean-compile \
    486         distclean-generic distclean-tags distdir dvi dvi-am html \
    487         html-am info info-am install install-am install-data \
    488         install-data-am install-dvi install-dvi-am install-exec \
    489         install-exec-am install-html install-html-am install-info \
    490         install-info-am install-man install-pdf install-pdf-am \
    491         install-ps install-ps-am install-strip installcheck \
    492         installcheck-am installdirs maintainer-clean \
     481.MAKE: check-am install-am install-strip
     482
     483.PHONY: CTAGS GTAGS all all-am check check-am clean \
     484        clean-checkPROGRAMS clean-generic ctags distclean \
     485        distclean-compile distclean-generic distclean-tags distdir dvi \
     486        dvi-am html html-am info info-am install install-am \
     487        install-data install-data-am install-dvi install-dvi-am \
     488        install-exec install-exec-am install-html install-html-am \
     489        install-info install-info-am install-man install-pdf \
     490        install-pdf-am install-ps install-ps-am install-strip \
     491        installcheck installcheck-am installdirs maintainer-clean \
    493492        maintainer-clean-generic mostlyclean mostlyclean-compile \
    494493        mostlyclean-generic pdf pdf-am ps ps-am tags uninstall \
  • trunk/introduction/get_started/makefile.am

    r1640 r1644  
    2525EXTRA_DIST          = get_started.sln get_started.vcproj
    2626#
    27 noinst_PROGRAMS     = get_started
     27check_PROGRAMS      = get_started
    2828#
    2929AM_CPPFLAGS         = -I. -I$(top_srcdir) $(BOOST_INCLUDE)
  • trunk/introduction/get_started/makefile.in

    r1641 r1644  
    1515
    1616@SET_MAKE@
    17 
    1817VPATH = @srcdir@
    1918pkgdatadir = $(datadir)/@PACKAGE@
     
    3332PRE_UNINSTALL = :
    3433POST_UNINSTALL = :
    35 noinst_PROGRAMS = get_started$(EXEEXT)
     34check_PROGRAMS = get_started$(EXEEXT)
    3635subdir = introduction/get_started
    3736DIST_COMMON = $(srcdir)/makefile.am $(srcdir)/makefile.in
     
    4443CONFIG_CLEAN_FILES =
    4544CONFIG_CLEAN_VPATH_FILES =
    46 PROGRAMS = $(noinst_PROGRAMS)
    4745am_get_started_OBJECTS = get_started.$(OBJEXT)
    4846get_started_OBJECTS = $(am_get_started_OBJECTS)
     
    226224$(am__aclocal_m4_deps):
    227225
    228 clean-noinstPROGRAMS:
    229         -test -z "$(noinst_PROGRAMS)" || rm -f $(noinst_PROGRAMS)
     226clean-checkPROGRAMS:
     227        -test -z "$(check_PROGRAMS)" || rm -f $(check_PROGRAMS)
    230228get_started$(EXEEXT): $(get_started_OBJECTS) $(get_started_DEPENDENCIES)
    231229        @rm -f get_started$(EXEEXT)
     
    337335        done
    338336check-am: all-am
     337        $(MAKE) $(AM_MAKEFLAGS) $(check_PROGRAMS)
    339338check: check-am
    340 all-am: makefile $(PROGRAMS)
     339all-am: makefile
    341340installdirs:
    342341install: install-am
     
    367366clean: clean-am
    368367
    369 clean-am: clean-generic clean-noinstPROGRAMS mostlyclean-am
     368clean-am: clean-checkPROGRAMS clean-generic mostlyclean-am
    370369
    371370distclean: distclean-am
     
    434433uninstall-am:
    435434
    436 .MAKE: install-am install-strip
    437 
    438 .PHONY: CTAGS GTAGS all all-am check check-am clean clean-generic \
    439         clean-noinstPROGRAMS ctags distclean distclean-compile \
    440         distclean-generic distclean-tags distdir dvi dvi-am html \
    441         html-am info info-am install install-am install-data \
    442         install-data-am install-dvi install-dvi-am install-exec \
    443         install-exec-am install-html install-html-am install-info \
    444         install-info-am install-man install-pdf install-pdf-am \
    445         install-ps install-ps-am install-strip installcheck \
    446         installcheck-am installdirs maintainer-clean \
     435.MAKE: check-am install-am install-strip
     436
     437.PHONY: CTAGS GTAGS all all-am check check-am clean \
     438        clean-checkPROGRAMS clean-generic ctags distclean \
     439        distclean-compile distclean-generic distclean-tags distdir dvi \
     440        dvi-am html html-am info info-am install install-am \
     441        install-data install-data-am install-dvi install-dvi-am \
     442        install-exec install-exec-am install-html install-html-am \
     443        install-info install-info-am install-man install-pdf \
     444        install-pdf-am install-ps install-ps-am install-strip \
     445        installcheck installcheck-am installdirs maintainer-clean \
    447446        maintainer-clean-generic mostlyclean mostlyclean-compile \
    448447        mostlyclean-generic pdf pdf-am ps ps-am tags uninstall \
  • trunk/makefile.am

    r1643 r1644  
    196196# End nobase_myinclude_HEADERS (check_makefile.sh uses this comment)
    197197#
    198 #
    199 # Did user specify --with-Introduction
    200 if CppAD_INTRODUCTION
    201 INTRODUCTION = \
    202         introduction/get_started \
    203         introduction/exp_apx
    204 else
    205 INTRODUCTION =
    206 endif
    207 #
    208 # Did user specify --with-Example
    209 if CppAD_EXAMPLE
    210 EXAMPLE = example
    211 else
    212 EXAMPLE =
    213 endif
    214 #
    215 # Did user specify --with-TestMore
    216 if CppAD_TEST_MORE
    217 TEST_MORE = test_more
    218 else
    219 TEST_MORE =
    220 endif
    221 #
    222 if CppAD_SPEED
    223 # user specified --with-Speed -------------------------------------
    224 SPEED_CPPAD = speed/cppad speed/double speed/example speed/profile
    225 #
    226198if CppAD_ADOLC
    227199# Did user specify a value for ADOLC_DIR in configure command line
     
    238210SPEED_SACADO = speed/sacado
    239211endif
    240 # ----------------------------------------------------------------------
    241 # user did not specify --with-Speed
    242 else
    243 SPEED_CPPAD  =
    244 SPEED_ADOLC  =
    245 SPEED_FADBAD =
    246 SPEED_SACADO =
    247 endif
    248 # ----------------------------------------------------------------------
    249 # Did user specify --with-PrintFor
    250 if CppAD_PRINTFOR
    251 PRINTFOR = print_for
    252 else
    253 PRINTFOR =
    254 endif
    255 #
    256 # ---------------------------------------------------------------
    257 # Did user specify a value for IPOPT_DIR in configure command line
    258 #
    259212# ---------------------------------------------------------------
    260213# Did user specify a value for IPOPT_DIR in configure command line
     
    269222endif
    270223#
    271 SUBDIRS = \
    272         $(IPOPT_CPPAD) \
    273         $(EXAMPLE) \
    274         $(INTRODUCTION) \
    275         $(PRINTFOR) \
    276         $(SPEED_CPPAD) \
    277         $(SPEED_ADOLC) \
    278         $(SPEED_FADBAD) \
    279         $(SPEED_SACADO) \
    280         $(TEST_MORE)
     224# No objects or executables are required to install CppAD.
     225# See 'make test' below for building the tests.
     226SUBDIRS =  \
     227        cppad_ipopt/src \
     228        cppad_ipopt/example \
     229        cppad_ipopt/speed \
     230        cppad_ipopt/test \
     231        example \
     232        introduction/get_started \
     233        introduction/exp_apx \
     234        print_for \
     235        speed/adolc \
     236        speed/cppad \
     237        speed/double \
     238        speed/example \
     239        speed/fadbad \
     240        speed/profile \
     241        speed/sacado \
     242        test_more
    281243#
    282244# Note that doc.omh, omh/install_unix.omh, and omh/install_windows.omh
     
    311273
    312274test_directory_list = \
    313         $(INTRODUCTION) \
     275        example \
     276        introduction/get_started \
     277        introduction/exp_apx \
     278        print_for \
     279        speed/cppad \
     280        speed/double \
     281        speed/example \
     282        speed/profile \
     283        test_more \
    314284        $(IPOPT_CPPAD) \
    315         $(SPEED_CPPAD) \
    316285        $(SPEED_ADOLC) \
    317286        $(SPEED_FADBAD) \
    318         $(SPEED_SACADO) \
    319         $(EXAMPLE) \
    320         $(TEST_MORE)
     287        $(SPEED_SACADO)
    321288
    322289test:
     
    331298                echo "popd ; echo >> test.log"                       >> test.sh ; \
    332299        ) done
     300        echo "exit 0"                                             >> test.sh
    333301        chmod +x test.sh
    334302        ./test.sh
  • trunk/makefile.in

    r1643 r1644  
    9292ETAGS = etags
    9393CTAGS = ctags
    94 DIST_SUBDIRS = cppad_ipopt/src cppad_ipopt/example cppad_ipopt/speed \
    95         cppad_ipopt/test example introduction/get_started \
    96         introduction/exp_apx print_for speed/cppad speed/double \
    97         speed/example speed/profile speed/adolc speed/fadbad \
    98         speed/sacado test_more
     94DIST_SUBDIRS = $(SUBDIRS)
    9995DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
    10096distdir = $(PACKAGE)-$(VERSION)
     
    237233@CppAD_POSTFIX_FALSE@postfix_dir = .
    238234
    239 # $Id: makefile.am 1642 2010-02-02 10:44:13Z bradbell $
     235# $Id: makefile.am 1643 2010-02-04 05:45:21Z bradbell $
    240236# -----------------------------------------------------------------------------
    241237# CppAD: C++ Algorithmic Differentiation: Copyright (C) 2003-10 Bradley M. Bell
     
    429425        cppad/speed/uniform_01.hpp
    430426
    431 @CppAD_INTRODUCTION_FALSE@INTRODUCTION =
    432427# End nobase_myinclude_HEADERS (check_makefile.sh uses this comment)
    433428#
    434 #
    435 # Did user specify --with-Introduction
    436 @CppAD_INTRODUCTION_TRUE@INTRODUCTION = \
    437 @CppAD_INTRODUCTION_TRUE@       introduction/get_started \
    438 @CppAD_INTRODUCTION_TRUE@       introduction/exp_apx
    439 
    440 @CppAD_EXAMPLE_FALSE@EXAMPLE =
    441 #
    442 # Did user specify --with-Example
    443 @CppAD_EXAMPLE_TRUE@EXAMPLE = example
    444 @CppAD_TEST_MORE_FALSE@TEST_MORE =
    445 #
    446 # Did user specify --with-TestMore
    447 @CppAD_TEST_MORE_TRUE@TEST_MORE = test_more
    448 # ----------------------------------------------------------------------
    449 # user did not specify --with-Speed
    450 @CppAD_SPEED_FALSE@SPEED_CPPAD =
    451 #
    452 # user specified --with-Speed -------------------------------------
    453 @CppAD_SPEED_TRUE@SPEED_CPPAD = speed/cppad speed/double speed/example speed/profile
    454 #
    455429# Did user specify a value for ADOLC_DIR in configure command line
    456 @CppAD_ADOLC_TRUE@@CppAD_SPEED_TRUE@SPEED_ADOLC = speed/adolc
    457 @CppAD_SPEED_FALSE@SPEED_ADOLC =
     430@CppAD_ADOLC_TRUE@SPEED_ADOLC = speed/adolc
    458431#
    459432# Did user specify a value for FADBAD_DIR in configure command line
    460 @CppAD_FADBAD_TRUE@@CppAD_SPEED_TRUE@SPEED_FADBAD = speed/fadbad
    461 @CppAD_SPEED_FALSE@SPEED_FADBAD =
     433@CppAD_FADBAD_TRUE@SPEED_FADBAD = speed/fadbad
    462434#
    463435# Did user specify a value for SACADO_DIR in configure command line
    464 @CppAD_SACADO_TRUE@@CppAD_SPEED_TRUE@SPEED_SACADO = speed/sacado
    465 @CppAD_SPEED_FALSE@SPEED_SACADO =
    466 @CppAD_PRINTFOR_FALSE@PRINTFOR =
    467 # ----------------------------------------------------------------------
    468 # Did user specify --with-PrintFor
    469 @CppAD_PRINTFOR_TRUE@PRINTFOR = print_for
     436@CppAD_SACADO_TRUE@SPEED_SACADO = speed/sacado
    470437@CppAD_IPOPT_CPPAD_FALSE@IPOPT_CPPAD =
    471 #
    472 # ---------------------------------------------------------------
    473 # Did user specify a value for IPOPT_DIR in configure command line
    474 #
    475438# ---------------------------------------------------------------
    476439# Did user specify a value for IPOPT_DIR in configure command line
     
    482445
    483446#
     447# No objects or executables are required to install CppAD.
     448# See 'make test' below for building the tests.
    484449SUBDIRS = \
    485         $(IPOPT_CPPAD) \
    486         $(EXAMPLE) \
    487         $(INTRODUCTION) \
    488         $(PRINTFOR) \
    489         $(SPEED_CPPAD) \
    490         $(SPEED_ADOLC) \
    491         $(SPEED_FADBAD) \
    492         $(SPEED_SACADO) \
    493         $(TEST_MORE)
     450        cppad_ipopt/src \
     451        cppad_ipopt/example \
     452        cppad_ipopt/speed \
     453        cppad_ipopt/test \
     454        example \
     455        introduction/get_started \
     456        introduction/exp_apx \
     457        print_for \
     458        speed/adolc \
     459        speed/cppad \
     460        speed/double \
     461        speed/example \
     462        speed/fadbad \
     463        speed/profile \
     464        speed/sacado \
     465        test_more
    494466
    495467#
     
    525497
    526498test_directory_list = \
    527         $(INTRODUCTION) \
     499        example \
     500        introduction/get_started \
     501        introduction/exp_apx \
     502        print_for \
     503        speed/cppad \
     504        speed/double \
     505        speed/example \
     506        speed/profile \
     507        test_more \
    528508        $(IPOPT_CPPAD) \
    529         $(SPEED_CPPAD) \
    530509        $(SPEED_ADOLC) \
    531510        $(SPEED_FADBAD) \
    532         $(SPEED_SACADO) \
    533         $(EXAMPLE) \
    534         $(TEST_MORE)
     511        $(SPEED_SACADO)
    535512
    536513#
     
    10741051                echo "popd ; echo >> test.log"                       >> test.sh ; \
    10751052        ) done
     1053        echo "exit 0"                                             >> test.sh
    10761054        chmod +x test.sh
    10771055        ./test.sh
  • trunk/omh/install_unix.omh.in

    r1628 r1644  
    11$Id$
    22/* --------------------------------------------------------------------------
    3 CppAD: C++ Algorithmic Differentiation: Copyright (C) 2003-09 Bradley M. Bell
     3CppAD: C++ Algorithmic Differentiation: Copyright (C) 2003-10 Bradley M. Bell
    44
    55CppAD is distributed under multiple licenses. This distribution is under
     
    128128$subhead Tar File Extraction$$
    129129Use the unix command
    130 $syntax%
     130$codei%
    131131        tar -xvzf cppad-@VERSION@.%license%.tgz
    132132%$$
    133 (where $italic license$$ is $code cpl$$ or $code gpl$$)
     133(where $icode license$$ is $code cpl$$ or $code gpl$$)
    134134to decompress and extract the unix format version
    135135into the distribution directory
    136 $syntax%
     136$codei%
    137137        cppad-@VERSION@
    138138%$$
    139139To see if this has been done correctly, check for the following file:
    140 $syntax%
     140$codei%
    141141        cppad-@VERSION@/cppad/cppad.hpp
    142142%$$
     
    144144$head Configure$$
    145145$index configure$$
    146 Enter the directory created by the extraction and execute the command:
    147 $syntax%
     146Enter the $icode distribution_directory$$
     147(the directory created by the extraction) and execute the command:
     148$codei%
    148149        ./configure                            \
    149150        --prefix=%PrefixDir%                     \
    150151        --with-Documentation                   \
    151         --with-Introduction                    \
    152         --with-Example                         \
    153         --with-TestMore                        \
    154         --with-Speed                           \
    155         --with-PrintFor                        \
    156152        --with-stdvector                       \ 
    157153        POSTFIX_DIR=%PostfixDir%                 \
     
    167163and the text in italic is replaced values that you choose.
    168164
    169 $head Testing Return Status$$
    170 $index status, test return$$
    171 $index test, return status$$
    172 All of the test programs mentioned below
    173 (with the exception of $cref/print_for/InstallUnix/--with-PrintFor/$$)
    174 return a status of zero, if all correctness tests pass, and one for an error.
    175 For example,
    176 if $cref/--with-Example/InstallUnix/--with-Example/$$
    177 is included in the $code configure$$ command,
    178 $codep
    179         if ! example/example
    180         then
    181                 echo "example failed its test"
    182                 echo exit 1
    183         fi
    184 $$
    185 could be used abort the a bash shell script when the test failed.
     165$head make test$$
     166You can run all of the CppAD correctness tests by executing the
     167command $code make test$$ in the $icode distribution_directory$$.
     168A description of the tests, and instructions for running individual tests,
     169are described below.
     170
     171$head Introduction$$
     172
     173$subhead Getting Started$$
     174$index get_started, run$$
     175$index run, get_started$$
     176You can run the CppAD getting started example / test
     177by executing the command $code make test$$ in the directory
     178$codei%
     179        %distribution_directory%/introduction/get_started
     180%$$
     181
     182$subhead exp_apx$$
     183$index exp_apx, run$$
     184$index run, exp_apx$$
     185$index introduction, AD$$
     186$index AD, introduction$$
     187You can run the examples / tests for the $code exp_apx$$ function
     188(used in the $cref/Introduction/$$)
     189by executing the command $code make test$$ in the directory
     190$codei%
     191        %distribution_directory%/introduction/exp_apx
     192%$$
     193
     194$head CppAD Examples$$
     195$index example, CppAD$$
     196$index CppAD, example$$
     197You can run a large number of the examples / tests showing how to use CppAD
     198by executing the command $code make test$$ in the directory
     199$codei%
     200        %distribution_directory%/example
     201%$$
     202See $cref/ListAllExamples/$$ for a list of all the CppAD examples.
     203
     204$head More Testing$$
     205$index test, more$$
     206$index more, testing$$
     207You can run a large number of tests (that are not intended to be examples)
     208by executing the command $code make test$$ in the directory
     209$codei%
     210        %distribution_directory%/test_more
     211%$$
     212
     213$head Speed Testing$$
     214
     215$subhead CppAD Derivative Speed Tests$$
     216$index speed, CppAD check test$$
     217$index check, CppAD speed test$$
     218A set of CppAD derivative value $cref/speed/speed_cppad/$$ tests
     219are included with this distribution.
     220You can test that the results computed during these tests are correct
     221by executing the command $code make test$$ in the directory
     222$codei%
     223        %distribution_directory%/speed/cppad
     224%$$
     225After executing $code make test$$, you can run the CppAD derivative speed tests
     226by executing the command $code ./cppad$$ (see $cref/speed_main/$$).
     227
     228$subhead Function Speed Tests$$
     229$index speed, function check test$$
     230$index check, function speed test$$
     231A set of functions value $cref/speed/speed_double/$$ tests
     232are included (to compare with derivative values speeds).
     233You can test that the results computed during these tests are correct
     234by executing the command $code make test$$ in the directory
     235$codei%
     236        %distribution_directory%/speed/double
     237%$$
     238After executing $code make test$$, you can run the function value speed tests
     239by executing the command $code ./double$$ (see $cref/speed_main/$$).
     240
     241$subhead Examples For Speed Tests$$
     242$index speed, utility example$$
     243$index example, speed utility$$
     244$index utility, speed example$$
     245The speed tests use some utilities that have their own set of
     246examples / tests.
     247You can test that the results computed by this utilities are correct
     248by executing the command $code make test$$ in the directory
     249$codei%
     250        %distribution_directory%/speed/example
     251%$$
     252
     253$head Profiling CppAD$$
     254$index speed, profile cppad$$
     255$index profile, cppad speed$$
     256$index cppad, profile speed$$
     257The CppAD derivative speed tests mentioned above can be profiled.
     258You can test that the results computed during this profiling are correct
     259by executing the command $code make test$$ in the directory
     260$codei%
     261        %distribution_directory%/speed/profile
     262%$$
     263After executing $code make test$$, you can run the profile tests
     264by executing the command $code ./profile$$ (see $cref/speed_main/$$).
     265You can then obtain the profiling results with
     266$codei%
     267        gprof -b speed/profile/profile
     268%$$
     269If you are using a windows operating system with Cygwin or MinGW,
     270you may have to replace $code profile$$ by $code profile.exe$$
     271in the $code gprof$$ command above; i.e.,
     272$codep
     273        gprof -b speed/profile/profile.exe
     274$$
     275In C++, template parameters and argument types become part of a
     276routines's name.
     277This can make the $code gprof$$ output hard to read
     278(the routine names can be very long).
     279You can remove the template parameters and argument types from the
     280routine names by executing the following command
     281$codep
     282        gprof -b speed/profile/profile | sed -f speed/profile/gprof.sed
     283$$
     284If you are using a windows operating system with Cygwin or MinGW,
     285you would need to use
     286$codep
     287        gprof -b speed/profile/profile.exe | sed -f speed/profile/gprof.sed
     288$$
     289
     290$head PrintFor$$
     291$index print, forward mode$$
     292$index forward, print$$
     293You can test the $cref/PrintFor/$$ command
     294by executing the command $code make test$$ in the directory
     295$codei%
     296        %distribution_directory%/print_for
     297%$$
    186298
    187299$head PrefixDir$$
     
    193305will $cref/install/InstallUnix/make install/$$ below $code ^HOME$$.
    194306If you want to install elsewhere, you will have to use this option.
    195 As an example of using the $syntax%--prefix=%PrefixDir%$$ option,
     307As an example of using the $codei%--prefix=%PrefixDir%$$ option,
    196308if you specify
    197309$codep
     
    199311$$
    200312the CppAD include files will be installed in the directory
    201 $syntax%
     313$codei%
    202314        /usr/local/include/cppad
    203315%$$
    204316If $cref/--with-Documentation/InstallUnix/--with-Documentation/$$
    205317is specified, the CppAD documentation files will be installed in the directory
    206 $syntax%
     318$codei%
    207319        /usr/local/share/doc/cppad-@VERSION@
    208320%$$
     
    213325If the command line argument $code --with-Documentation$$ is specified,
    214326the CppAD documentation HTML and XML files are copied to the directory
    215 $syntax%
     327$codei%
    216328        %PrefixDir%/share/doc/%PostfixDir%/cppad-@VERSION@
    217329%$$
     
    219331The top of the CppAD HTML documentation tree
    220332(with mathematics displayed as LaTex command) will be located at
    221 $syntax%
     333$codei%
    222334        %PrefixDir%/share/doc/%PostfixDir%/cppad-@VERSION@/cppad.htm
    223335%$$
    224336and the top of the XML documentation tree
    225337(with mathematics displayed as MathML) will be located at
    226 $syntax%
     338$codei%
    227339        %PrefixDir%/share/doc/%PostfixDir%/cppad-@VERSION@/cppad.xml
    228340%$$
    229 
    230 $head --with-Introduction$$
    231 $index introduction, unix$$
    232 $index unix, introduction$$
    233 
    234 $subhead get_started$$
    235 $index get_started, unix$$
    236 $index unix, get_started$$
    237 If the command line argument $code --with-Introduction$$ is specified,
    238 the $xref/get_started.cpp/$$ example will be built.
    239 Once the $code make$$ command
    240 has been executed, you can run this example by executing the command
    241 $codep
    242         introduction/get_started/get_started
    243 $$
    244 
    245 $subhead exp_apx$$
    246 $index exp_apx, unix$$
    247 $index unix, exp_apx$$
    248 If the command line argument $code --with-Introduction$$ is specified,
    249 the $cref/exp_apx_main.cpp/$$ program
    250 (verifies calculations in the $cref/Introduction/$$ $code exp_apx$$ example)
    251 will be built.
    252 Once the $code make$$ command
    253 has been executed, you can run these examples by executing the command
    254 $codep
    255         introduction/exp_apx/exp_apx
    256 $$
    257 
    258 $head --with-Example$$
    259 $index example, unix$$
    260 $index test, unix$$
    261 If the command line argument $code --with-Example$$ is specified,
    262 the $xref/Example.cpp/$$ program
    263 (an extensive set of examples and correctness tests) will be built.
    264 Once the $code make$$ command
    265 has been executed, you can run these examples by executing the command
    266 $codep
    267         example/example
    268 $$
    269 
    270 $head --with-TestMore$$
    271 $index test more, unix$$
    272 $index unix, test more$$
    273 If the command line argument $code --with-TestMore$$ is specified,
    274 another extensive set of correctness tests will be compiled by the
    275 $xref/InstallUnix/make/make/$$ command. Once the $code make$$ command
    276 has been executed, you can run these tests by executing the command
    277 $codep
    278         test_more/test_more
    279 $$
    280 
    281 $head --with-Speed$$
    282 $index speed, test unix$$
    283 $index test, unix speed$$
    284 $index unix, speed test$$
    285 If the command line argument $code --with-Speed$$ is specified,
    286 a set of speed tests will built.
    287 
    288 $subhead cppad$$
    289 $index speed, cppad test$$
    290 $index cppad, test speed$$
    291 $index test, cppad speed$$
    292 After you execute the $xref/InstallUnix/make/make/$$ command,
    293 you can run the $cref/speed_main/$$ program with the command
    294 $syntax%
    295         speed/cppad/cppad %option% %seed%
    296 %$$
    297 
    298 $subhead double$$
    299 $index speed, double test$$
    300 $index double, test speed$$
    301 $index test, double speed$$
    302 After you execute the $xref/InstallUnix/make/make/$$ command,
    303 you can run the $cref/speed_main/$$ program with the command
    304 $syntax%
    305         speed/double/double %option% %seed%
    306 %$$
    307 
    308 $subhead profile$$
    309 $index speed, profile cppad$$
    310 $index profile, cppad speed$$
    311 $index cppad, profile speed$$
    312 The C++ compiler flags used to build the profile speed tests are
    313 $code
    314 $verbatim%speed/profile/makefile.am%5%# BEGIN OPTIMIZE%# END OPTIMIZE%$$
    315 $$
    316 After you execute the $xref/InstallUnix/make/make/$$ command,
    317 you can run the $cref/speed_main/$$ program with the command
    318 $syntax%
    319         speed/profile/profile %option% %seed%
    320 %$$
    321 You can then obtain the profiling results with
    322 $syntax%
    323         gprof -b speed/profile/profile
    324 %$$
    325 If you are using a windows operating system with Cygwin or MinGW,
    326 you may have to replace $code profile$$ by $code profile.exe$$
    327 in the $code gprof$$ command above; i.e.,
    328 $codep
    329         gprof -b speed/profile/profile.exe
    330 $$
    331 In C++, template parameters and argument types become part of a
    332 routines's name.
    333 This can make the $code gprof$$ output hard to read
    334 (the routine names can be very long).
    335 You can remove the template parameters and argument types from the
    336 routine names by executing the following command
    337 $codep
    338         gprof -b speed/profile/profile | sed -f speed/profile/gprof.sed
    339 $$
    340 If you are using a windows operating system with Cygwin or MinGW,
    341 you would need to use
    342 $codep
    343         gprof -b speed/profile/profile.exe | sed -f speed/profile/gprof.sed
    344 $$
    345 
    346 $subhead example$$
    347 $index speed, utility example$$
    348 $index example, speed utility$$
    349 $index utility, speed example$$
    350 After you execute the $xref/InstallUnix/make/make/$$ command,
    351 you can run the $cref/speed_utility/$$ examples with the command
    352 $syntax%
    353         speed/example/example
    354 %$$
    355 
    356 $head --with-PrintFor$$
    357 $index print, forward mode$$
    358 $index forward, print$$
    359 If the command line argument $code --with-PrintFor$$ is specified,
    360 the $xref/PrintFor.cpp/$$ example will be built.
    361 Once the $code make$$ command
    362 has been executed, you can run this example by executing the command
    363 $codep
    364         print_for/print_for
    365 $$
    366 Unlike the other programs listed in this section,
    367 $code print_for$$ does not automatically check for correctness
    368 and return a corresponding
    369 $cref/status/InstallUnix/Testing Return Status/$$.
    370 Instead, it displays what it's output should be.
    371341
    372342$head --with-stdvector$$
     
    380350        std::vector
    381351$$
    382 (In this case $italic BoostDir$$ must not also be specified.)
     352(In this case $icode BoostDir$$ must not also be specified.)
    383353
    384354$head PostfixDir$$
     
    388358By default, the postfix directory is empty; i.e., there
    389359is no postfix directory.
    390 As an example of using the $syntax%POSTFIX_DIR=%PostfixDir%$$ option,
     360As an example of using the $codei%POSTFIX_DIR=%PostfixDir%$$ option,
    391361if you specify
    392362$codep
     
    395365the CppAD include files will be
    396366$cref/installed/InstallUnix/make install/$$ in the directory
    397 $syntax%
     367$codei%
    398368        /usr/local/include/coin/cppad
    399369%$$
    400370If $cref/--with-Documentation/InstallUnix/--with-Documentation/$$
    401371is specified, the CppAD documentation files will be installed in the directory
    402 $syntax%
     372$codei%
    403373        /usr/local/share/doc/coin/cppad-@VERSION@
    404374%$$
    405 
    406375
    407376$head AdolcDir$$
     
    413382%$$
    414383installed on your system, you can
    415 specify a value for $italic AdolcDir$$ in the
     384specify a value for $icode AdolcDir$$ in the
    416385$xref/InstallUnix/Configure/configure/$$ command line.
    417 The value of $italic AdolcDir$$ must be such that
    418 $syntax%
     386The value of $icode AdolcDir$$ must be such that
     387$codei%
    419388        %AdolcDir%/include/adolc/adouble.h
    420389%$$
    421390is a valid way to reference $code adouble.h$$.
    422 If $cref/--with-Speed/InstallUnix/--with-Speed/$$ is also specified,
    423 after you execute the $xref/InstallUnix/make/make/$$ command,
    424 you can run the $cref/speed_main/$$ program with the command
    425 $syntax%
    426         speed/%package%/%package% %option% %seed%
    427 %$$
    428 where $italic package$$ is equal to $code adolc$$.
    429 
    430 $subhead Fix Adolc$$
    431 Some compilers will complain about Adolc use for a $code const char*$$
    432 as a $code char*$$. This can be fixed by changing the following
    433 routine in the file $code adolc/avector.h$$:
    434 $codep
    435         class ADOLC_DLL_EXPORT err_retu {
    436         char* message;
    437         public:
    438                 err_retu(char* x) {
    439                 printf("%s \n",x);
    440                 };
    441         };
    442 $$
    443 to be as follows
    444 $codep
    445         class ADOLC_DLL_EXPORT err_retu {
    446         char* message;
    447         public:
    448                 err_retu(const char* x) {
    449                 printf("%s \n",x);
    450                 };
    451         };
    452 $$
    453 
     391In this case, you can run the Adolc speed correctness tests by
     392executing the command $code make test$$ in the directory
     393$codei%
     394        %distribution_directory%/speed/adolc
     395%$$
     396After executing $code make test$$, you can run the Adolc speed tests
     397by executing the command $code ./adolc$$ (see $cref/speed_main/$$).
    454398
    455399$subhead Linux$$
     
    457401you will have to add to following lines to the file
    458402$code .bash_profile$$ in your home directory:
    459 $syntax%
     403$codei%
    460404        LD_LIBRARY_PATH=%AdolcDir%/lib:^{LD_LIBRARY_PATH}
    461405        export LD_LIBRARY_PATH
     
    467411you will have to add to following lines to the file
    468412$code .bash_profile$$ in your home directory:
    469 $syntax%
     413$codei%
    470414        PATH=%AdolcDir%/bin:^{PATH}
    471415        export PATH
    472416%$$
    473417in order for Adolc to run properly.
    474 If $italic AdolcDir$$ begins with a disk specification,
     418If $icode AdolcDir$$ begins with a disk specification,
    475419you must use the Cygwin format for the disk specification.
    476420For example,
    477421if $code d:/adolc_base$$ is the proper directory,
    478 $code /cygdrive/d/adolc_base$$ should be used for $italic AdolcDir$$.
     422$code /cygdrive/d/adolc_base$$ should be used for $icode AdolcDir$$.
    479423
    480424$head FadbadDir$$
     
    486430%$$
    487431installed on your system, you can
    488 specify a value for $italic FadbadDir$$.
     432specify a value for $icode FadbadDir$$.
    489433It must be such that
    490 $syntax%
     434$codei%
    491435        %FadbadDir%/FADBAD++/badiff.h
    492436%$$
    493437is a valid reference to $code badiff.h$$.
    494 If $cref/--with-Speed/InstallUnix/--with-Speed/$$ is also specified,
    495 after you execute the $xref/InstallUnix/make/make/$$ command,
    496 you can run the $cref/speed_main/$$ program with the command
    497 $syntax%
    498         speed/%package%/%package% %option% %seed%
    499 %$$
    500 where $italic package$$ is equal to $code fadbad$$.
     438
     439In this case, you can run the Fadbad speed correctness tests by
     440executing the command $code make test$$ in the directory
     441$codei%
     442        %distribution_directory%/speed/fadbad
     443%$$
     444After executing $code make test$$, you can run the Fadbad speed tests
     445by executing the command $code ./fadbad$$ (see $cref/speed_main/$$).
     446
    501447
    502448$head SacadoDir$$
     
    508454%$$
    509455installed on your system, you can
    510 specify a value for $italic SacadoDir$$.
     456specify a value for $icode SacadoDir$$.
    511457It must be such that
    512 $syntax%
     458$codei%
    513459        %SacadoDir%/include/Sacado.hpp
    514460%$$
    515461is a valid reference to $code Sacado.hpp$$.
    516 If $cref/--with-Speed/InstallUnix/--with-Speed/$$ is also specified,
    517 after you execute the $xref/InstallUnix/make/make/$$ command,
    518 you can run the $cref/speed_main/$$ program with the command
    519 $syntax%
    520         speed/%package%/%package% %option% %seed%
    521 %$$
    522 where $italic package$$ is equal to $code sacado$$.
     462
     463In this case, you can run the Sacado speed correctness tests by
     464executing the command $code make test$$ in the directory
     465$codei%
     466        %distribution_directory%/speed/sacado
     467%$$
     468After executing $code make test$$, you can run the Sacado speed tests
     469by executing the command $code ./sacado$$ (see $cref/speed_main/$$).
     470
    523471
    524472$head BoostDir$$
     
    530478$xref/CppAD_vector//CppAD::vector/$$.
    531479If the command line argument
    532 $syntax%
     480$codei%
    533481        BOOST_DIR=%BoostDir%
    534482%$$
    535483is present, it must be such that
    536 $syntax%
     484$codei%
    537485        %BoostDir%/boost/numeric/ublas/vector.hpp
    538486%$$
     
    544492$$
    545493(see $href%http://www.boost.org%boost%$$).
    546 If $italic BoostDir$$ is present, the argument $code --with-stdvector$$
     494If $icode BoostDir$$ is present, the argument $code --with-stdvector$$
    547495must not be present.
    548496
     
    555503%$$
    556504installed on your system, you can
    557 specify a value for $italic IpoptDir$$.
     505specify a value for $icode IpoptDir$$.
    558506It must be such that
    559 $syntax%
     507$codei%
    560508        %IpoptDir%/include/coin/IpIpoptApplication.hpp
    561509%$$
    562510is a valid reference to $code IpIpoptApplication.hpp$$.
    563511In this case, the CppAD interface to Ipopt
    564 $cref/examples/cppad_ipopt_nlp/Example/$$
    565 will be built.
    566 Once the $code make$$ command
    567 has been executed, you can run these examples by executing the command
    568 $codep
    569         cppad_ipopt/cppad_ipopt
    570 $$
     512$cref/examples/cppad_ipopt_nlp/Example/$$ can be built and tested
     513by executing the command $code make test$$ in the directory
     514$codei%
     515        %distribution_directory%/cppad_ipopt/example
     516%$$
     517You can do more testing of this interface by executing $code make test$$
     518in the directories
     519$codei%
     520        %distribution_directory%/cppad_ipopt/test
     521        %distribution_directory%/cppad_ipopt/speed
     522%$$
     523Once this has been done, you can execute the program
     524$codei%
     525        %distribution_directory%/cppad_ipopt/speed/speed
     526%$$
     527see $cref/ipopt_ode_speed.cpp/$$.
    571528
    572529$head CompilerFlags$$
    573530$index compile, unix flags$$
    574531$index flags, unix compile$$
    575 If the command line argument $italic CompilerFlags$$ is present,
     532If the command line argument $icode CompilerFlags$$ is present,
    576533it specifies compiler flags.
    577534For example,
    578 $syntax%
     535$codei%
    579536        CXX_FLAGS="-Wall -ansi"
    580537%$$
     
    584541The error and warning flags chosen must be valid options
    585542for the C++ compiler.
    586 The default value for $italic CompilerFlags$$ is the
     543The default value for $icode CompilerFlags$$ is the
    587544empty string.
    588545
    589 
    590 $head make$$
    591 The command
    592 $codep
    593         make
    594 $$
    595 will compile all of the examples and tests. 
    596 An extensive set of examples and tests can be run as described under
    597 the headings
    598 $xref/InstallUnix/--with-Introduction/--with-Introduction/$$,
    599 $xref/InstallUnix/--with-Example/--with-Example/$$,
    600 $xref/InstallUnix/--with-TestMore/--with-TestMore/$$,
    601 $xref/InstallUnix/--with-Speed/--with-Speed/$$,
    602 $xref/InstallUnix/--with-PrintFor/--with-PrintFor/$$,
    603 $xref/InstallUnix/AdolcDir/AdolcDir/$$,
    604 $xref/InstallUnix/FadbadDir/FadbadDir/$$,
    605 $xref/InstallUnix/SacadoDir/SacadoDir/$$,
    606 and $xref/InstallUnix/IpoptDir/IpoptDir/$$ above.
    607546
    608547$head make install$$
     
    614553This will install CppAD in the location specified by
    615554$cref/PrefixDir/InstallUnix/PrefixDir/$$.
    616 You must have permission to write in the $italic PrefixDir$$
     555You must have permission to write in the $icode PrefixDir$$
    617556directory to execute this command.
    618557You may optionally specify a destination directory for the install; i.e.,
    619 $syntax%
     558$codei%
    620559        make install DESTDIR=%DestinationDirectory%
    621560%$$
  • trunk/omh/speed_adolc.omh

    r1537 r1644  
    11$Id$
    22/* --------------------------------------------------------------------------
    3 CppAD: C++ Algorithmic Differentiation: Copyright (C) 2003-09 Bradley M. Bell
     3CppAD: C++ Algorithmic Differentiation: Copyright (C) 2003-10 Bradley M. Bell
    44
    55CppAD is distributed under multiple licenses. This distribution is under
     
    3636%$$
    3737during $cref/installation/InstallUnix/AdolcDir/$$.
    38 After the Unix install $cref/make/InstallUnix/make/$$ command,
     38After the $cref/make test/InstallUnix/make test/$$ command
     39had been run in the $code speed/adolc$$ directory,
    3940you can then run the Adolc speed tests
    4041with the following commands (relative to the distribution directory):
  • trunk/omh/speed_cppad.omh

    r1537 r1644  
    11$Id$
    22/* --------------------------------------------------------------------------
    3 CppAD: C++ Algorithmic Differentiation: Copyright (C) 2003-09 Bradley M. Bell
     3CppAD: C++ Algorithmic Differentiation: Copyright (C) 2003-10 Bradley M. Bell
    44
    55CppAD is distributed under multiple licenses. This distribution is under
     
    4242$code --with-Speed$$ command line option during the
    4343$cref/install configure/InstallUnix/Configure/$$ command.
    44 After the Unix install $cref/make/InstallUnix/make/$$ command,
     44After the $cref/make test/InstallUnix/make test/$$ command
     45has been execute in the $code speed/cppad$$ directory,
    4546you can then run the CppAD speed tests
    4647with the following commands (relative to the distribution directory):
  • trunk/omh/speed_double.omh

    r1537 r1644  
    11$Id$
    22/* --------------------------------------------------------------------------
    3 CppAD: C++ Algorithmic Differentiation: Copyright (C) 2003-09 Bradley M. Bell
     3CppAD: C++ Algorithmic Differentiation: Copyright (C) 2003-10 Bradley M. Bell
    44
    55CppAD is distributed under multiple licenses. This distribution is under
     
    4040$code --with-Speed$$ command line option during the
    4141$cref/install configure/InstallUnix/Configure/$$ command.
    42 After the Unix install $cref/make/InstallUnix/make/$$ command,
     42After the $cref/make test/InstallUnix/make test/$$ command
     43is run in the $code speed/double$$ directory,
    4344you can then run the function value speed tests
    4445with the following commands (relative to the distribution directory):
  • trunk/omh/speed_fadbad.omh

    r1537 r1644  
    11$Id$
    22/* --------------------------------------------------------------------------
    3 CppAD: C++ Algorithmic Differentiation: Copyright (C) 2003-09 Bradley M. Bell
     3CppAD: C++ Algorithmic Differentiation: Copyright (C) 2003-10 Bradley M. Bell
    44
    55CppAD is distributed under multiple licenses. This distribution is under
     
    3636%$$
    3737during $cref/installation/InstallUnix/FadbadDir/$$.
    38 After the Unix install $cref/make/InstallUnix/make/$$ command,
     38After the $cref/make test/InstallUnix/make test/$$ command
     39has been run in the $code speed/fadbad$$ directory,
    3940you can then run the Fadbad speed tests
    4041with the following commands (relative to the distribution directory):
  • trunk/omh/speed_sacado.omh

    r1537 r1644  
    11$Id$
    22/* --------------------------------------------------------------------------
    3 CppAD: C++ Algorithmic Differentiation: Copyright (C) 2003-09 Bradley M. Bell
     3CppAD: C++ Algorithmic Differentiation: Copyright (C) 2003-10 Bradley M. Bell
    44
    55CppAD is distributed under multiple licenses. This distribution is under
     
    3636%$$
    3737during $cref/installation/InstallUnix/SacadoDir/$$.
    38 After the Unix install $cref/make/InstallUnix/make/$$ command,
     38After the $cref/make test/InstallUnix/make test/$$ command
     39has been run in the $code speed/sacado$$ directory,
    3940you can then run the Sacado speed tests
    4041with the following commands (relative to the distribution directory):
  • trunk/omh/whats_new_05.omh

    r1457 r1644  
    11$Id$
    22/* --------------------------------------------------------------------------
    3 CppAD: C++ Algorithmic Differentiation: Copyright (C) 2003-09 Bradley M. Bell
     3CppAD: C++ Algorithmic Differentiation: Copyright (C) 2003-10 Bradley M. Bell
    44
    55CppAD is distributed under multiple licenses. This distribution is under
     
    562562In addition, more correctness testing
    563563(
    564 $xref/InstallUnix/--with-TestMore/unix/$$ ,
     564$cref/More Testing/InstallUnix/More Testing/$$ ,
    565565$xref/InstallWindows/More Correctness Testing/windows/$$
    566566)
     
    865865
    866866$head 04-20$$
    867 Add $cref/profiling/InstallUnix/--with-Speed/profile/$$
     867Add $cref/profiling/InstallUnix/Profiling CppAD/$$
    868868to the speed tests.
    869869
  • trunk/omh/whats_new_06.omh

    r1598 r1644  
    11$Id$
    22/* --------------------------------------------------------------------------
    3 CppAD: C++ Algorithmic Differentiation: Copyright (C) 2003-09 Bradley M. Bell
     3CppAD: C++ Algorithmic Differentiation: Copyright (C) 2003-10 Bradley M. Bell
    44
    55CppAD is distributed under multiple licenses. This distribution is under
     
    100100Move the exponential example to the subdirectory
    101101$code introduction/exp_apx$$ and change the
    102 $cref/--with-Introduction/InstallUnix/--with-Introduction/$$
     102$code --with-Introduction$$
    103103unix configure option
    104104to build both the $cref/get_started.cpp/$$ and $cref/exp_apx_main.cpp/$$
     
    200200$cref|speed/fadbad|speed_fadbad|$$
    201201        $cnext Fadbad drivers for the template functions $rnext
    202 $cref|speed/profile|InstallUnix|--with-Speed|profile|$$
     202$cref|speed/profile|InstallUnix|Profiling CppAD|$$
    203203        $cnext profiling version of CppAD drivers       
    204204$tend
     
    364364$head 11-12$$
    365365The
    366 $cref/example/InstallUnix/--with-Example/$$ and
    367 $cref/test_more/InstallUnix/--with-TestMore/$$
     366$cref/example/InstallUnix/CppAD Examples/$$ and
     367$cref/test_more/InstallUnix/More Testing/$$
    368368programs were
    369369changed to print out the number of tests that passed or failed instead
     
    11841184$head 01-02$$
    11851185Add the sed script $code Speed/gprof.sed$$ to aid in the display of the
    1186 $cref/profiling/InstallUnix/--with-Speed/profile/$$ output.
     1186$cref/profiling/InstallUnix/Profiling CppAD/$$ output.
    11871187$pre
    11881188
  • trunk/omh/whats_new_07.omh

    r1370 r1644  
    11$Id$
    22/* --------------------------------------------------------------------------
    3 CppAD: C++ Algorithmic Differentiation: Copyright (C) 2003-08 Bradley M. Bell
     3CppAD: C++ Algorithmic Differentiation: Copyright (C) 2003-10 Bradley M. Bell
    44
    55CppAD is distributed under multiple licenses. This distribution is under
     
    181181The $cref/unix install/InstallUnix/$$ procedure has been modified
    182182so that the one configure flag
    183 $cref/--with-Speed/InstallUnix/--with-Speed/$$
     183$code --with-Speed$$
    184184builds all the possible executables related to the speed testing.
    185185
     
    226226
    227227$$
    228 Add the correctness tests
    229 $cref/return status/InstallUnix/Testing Return Status/$$
    230 to the documentation.
    231 
     228Add the return status for all the correctness tests
     229to the documentation; see $cref/make test/InstallUnix/make test/$$.
    232230
    233231$head 10-30$$
     
    538536
    539537$$
    540 The $cref/get_started/InstallUnix/--with-Introduction/get_started/$$
     538The $cref/get_started/InstallUnix/Introduction/Getting Started/$$
    541539example did not build when
    542 the $code -with-Introduction$$ and
     540the $code --with-Introduction$$ and
    543541$code BOOST_DIR$$ options were included on the
    544542$cref/configure/InstallUnix/Configure/$$ command line.
     
    949947$head 02-02$$
    950948Fix minor errors and improve
    951 $cref/profiling/InstallUnix/--with-Speed/profile/$$ documentation.
     949$cref/profiling/InstallUnix/Profiling CppAD/$$ documentation.
    952950Also change the problem sizes used for the $cref/speed/$$ tests.
    953951
  • trunk/omh/whats_new_08.omh

    r1628 r1644  
    425425than $code 1e-13$$. A test for this has been added to the
    426426$code test_more/test_more$$ program; see
    427 $cref/--with-Testing/InstallUnix/--with-TestMore/$$
     427$cref/--with-Testing/InstallUnix/More Testing/$$
    428428in Unix install instructions or
    429429$cref/more correctness testing/InstallWindows/More Correctness Testing/$$
  • trunk/print_for/makefile.am

    r1370 r1644  
    11# $Id$
    22# -----------------------------------------------------------------------------
    3 # CppAD: C++ Algorithmic Differentiation: Copyright (C) 2003-07 Bradley M. Bell
     3# CppAD: C++ Algorithmic Differentiation: Copyright (C) 2003-10 Bradley M. Bell
    44#
    55# CppAD is distributed under multiple licenses. This distribution is under
     
    2424EXTRA_DIST        = print_for.sln print_for.vcproj
    2525#
    26 noinst_PROGRAMS   = print_for
     26check_PROGRAMS    = print_for
    2727#
    2828AM_CPPFLAGS       = -I. -I$(top_srcdir) $(BOOST_INCLUDE)
     
    3131#
    3232print_for_SOURCES = print_for.cpp
     33
     34test: print_for$(EXEEXT)
     35        rm -f test.log
     36        ./print_for  > test.log
     37        echo "#! /bin/sh"                                        > test.sh
     38        echo "sed -e '/^Test passes/,\$$d' < test.log > test.1" >> test.sh
     39        echo "sed -e '1,/^Test passes/d'   < test.log > test.2" >> test.sh
     40        echo "if ! diff test.1 test.2 ; then exit 1 ; fi"       >> test.sh
     41        echo "exit 0"                                           >> test.sh
     42        chmod +x test.sh
     43        ./test.sh
     44        cat test.log
  • trunk/print_for/makefile.in

    r1630 r1644  
    1515
    1616@SET_MAKE@
    17 
    1817VPATH = @srcdir@
    1918pkgdatadir = $(datadir)/@PACKAGE@
     
    3332PRE_UNINSTALL = :
    3433POST_UNINSTALL = :
    35 noinst_PROGRAMS = print_for$(EXEEXT)
     34check_PROGRAMS = print_for$(EXEEXT)
    3635subdir = print_for
    3736DIST_COMMON = $(srcdir)/makefile.am $(srcdir)/makefile.in
     
    4443CONFIG_CLEAN_FILES =
    4544CONFIG_CLEAN_VPATH_FILES =
    46 PROGRAMS = $(noinst_PROGRAMS)
    4745am_print_for_OBJECTS = print_for.$(OBJEXT)
    4846print_for_OBJECTS = $(am_print_for_OBJECTS)
     
    226224$(am__aclocal_m4_deps):
    227225
    228 clean-noinstPROGRAMS:
    229         -test -z "$(noinst_PROGRAMS)" || rm -f $(noinst_PROGRAMS)
     226clean-checkPROGRAMS:
     227        -test -z "$(check_PROGRAMS)" || rm -f $(check_PROGRAMS)
    230228print_for$(EXEEXT): $(print_for_OBJECTS) $(print_for_DEPENDENCIES)
    231229        @rm -f print_for$(EXEEXT)
     
    337335        done
    338336check-am: all-am
     337        $(MAKE) $(AM_MAKEFLAGS) $(check_PROGRAMS)
    339338check: check-am
    340 all-am: makefile $(PROGRAMS)
     339all-am: makefile
    341340installdirs:
    342341install: install-am
     
    367366clean: clean-am
    368367
    369 clean-am: clean-generic clean-noinstPROGRAMS mostlyclean-am
     368clean-am: clean-checkPROGRAMS clean-generic mostlyclean-am
    370369
    371370distclean: distclean-am
     
    434433uninstall-am:
    435434
    436 .MAKE: install-am install-strip
    437 
    438 .PHONY: CTAGS GTAGS all all-am check check-am clean clean-generic \
    439         clean-noinstPROGRAMS ctags distclean distclean-compile \
    440         distclean-generic distclean-tags distdir dvi dvi-am html \
    441         html-am info info-am install install-am install-data \
    442         install-data-am install-dvi install-dvi-am install-exec \
    443         install-exec-am install-html install-html-am install-info \
    444         install-info-am install-man install-pdf install-pdf-am \
    445         install-ps install-ps-am install-strip installcheck \
    446         installcheck-am installdirs maintainer-clean \
     435.MAKE: check-am install-am install-strip
     436
     437.PHONY: CTAGS GTAGS all all-am check check-am clean \
     438        clean-checkPROGRAMS clean-generic ctags distclean \
     439        distclean-compile distclean-generic distclean-tags distdir dvi \
     440        dvi-am html html-am info info-am install install-am \
     441        install-data install-data-am install-dvi install-dvi-am \
     442        install-exec install-exec-am install-html install-html-am \
     443        install-info install-info-am install-man install-pdf \
     444        install-pdf-am install-ps install-ps-am install-strip \
     445        installcheck installcheck-am installdirs maintainer-clean \
    447446        maintainer-clean-generic mostlyclean mostlyclean-compile \
    448447        mostlyclean-generic pdf pdf-am ps ps-am tags uninstall \
     
    450449
    451450
     451test: print_for$(EXEEXT)
     452        rm -f test.log
     453        ./print_for  > test.log
     454        echo "#! /bin/sh"                                        > test.sh
     455        echo "sed -e '/^Test passes/,\$$d' < test.log > test.1" >> test.sh
     456        echo "sed -e '1,/^Test passes/d'   < test.log > test.2" >> test.sh
     457        echo "if ! diff test.1 test.2 ; then exit 1 ; fi"       >> test.sh
     458        echo "exit 0"                                           >> test.sh
     459        chmod +x test.sh
     460        ./test.sh
     461        cat test.log
     462
    452463# Tell versions [3.59,3.63) of GNU make to not export all variables.
    453464# Otherwise a system limit (for SysV at least) may be exceeded.
  • trunk/print_for/print_for.cpp

    r1458 r1644  
    11/* $Id$ */
    22/* --------------------------------------------------------------------------
    3 CppAD: C++ Algorithmic Differentiation: Copyright (C) 2003-09 Bradley M. Bell
     3CppAD: C++ Algorithmic Differentiation: Copyright (C) 2003-10 Bradley M. Bell
    44
    55CppAD is distributed under multiple licenses. This distribution is under
     
    1414$begin PrintFor.cpp$$
    1515$spell
     16        makefile
    1617        CppAD
    1718        cppad.hpp
     
    7172        cout << "v[0] = 0" << endl;
    7273        cout << "v[0] + x[0] = 2" << endl;
     74        // Developer Note: ./makefile.am "Test passes" to begin next output line
    7375        cout << "Test passes if two lines above repeat below:" << endl;
    7476        f.Forward(0, x);       
  • trunk/speed/adolc/makefile.am

    r1640 r1644  
    2222endif
    2323#
    24 noinst_PROGRAMS  = adolc
     24check_PROGRAMS   = adolc
    2525#
    2626AM_CPPFLAGS   = -I$(top_srcdir) -I$(ADOLC_DIR)/include $(BOOST_INCLUDE)
  • trunk/speed/adolc/makefile.in

    r1641 r1644  
    1515
    1616@SET_MAKE@
    17 
    1817VPATH = @srcdir@
    1918pkgdatadir = $(datadir)/@PACKAGE@
     
    3332PRE_UNINSTALL = :
    3433POST_UNINSTALL = :
    35 noinst_PROGRAMS = adolc$(EXEEXT)
     34check_PROGRAMS = adolc$(EXEEXT)
    3635subdir = speed/adolc
    3736DIST_COMMON = $(srcdir)/makefile.am $(srcdir)/makefile.in
     
    4443CONFIG_CLEAN_FILES =
    4544CONFIG_CLEAN_VPATH_FILES =
    46 PROGRAMS = $(noinst_PROGRAMS)
    4745am_adolc_OBJECTS = main.$(OBJEXT) link_ode.$(OBJEXT) ode.$(OBJEXT) \
    4846        link_det_lu.$(OBJEXT) link_det_minor.$(OBJEXT) \
     
    253251$(am__aclocal_m4_deps):
    254252
    255 clean-noinstPROGRAMS:
    256         -test -z "$(noinst_PROGRAMS)" || rm -f $(noinst_PROGRAMS)
     253clean-checkPROGRAMS:
     254        -test -z "$(check_PROGRAMS)" || rm -f $(check_PROGRAMS)
    257255adolc$(EXEEXT): $(adolc_OBJECTS) $(adolc_DEPENDENCIES)
    258256        @rm -f adolc$(EXEEXT)
     
    474472        done
    475473check-am: all-am
     474        $(MAKE) $(AM_MAKEFLAGS) $(check_PROGRAMS)
    476475check: check-am
    477 all-am: makefile $(PROGRAMS)
     476all-am: makefile
    478477installdirs:
    479478install: install-am
     
    504503clean: clean-am
    505504
    506 clean-am: clean-generic clean-noinstPROGRAMS mostlyclean-am
     505clean-am: clean-checkPROGRAMS clean-generic mostlyclean-am
    507506
    508507distclean: distclean-am
     
    571570uninstall-am:
    572571
    573 .MAKE: install-am install-strip
    574 
    575 .PHONY: CTAGS GTAGS all all-am check check-am clean clean-generic \
    576         clean-noinstPROGRAMS ctags distclean distclean-compile \
    577         distclean-generic distclean-tags distdir dvi dvi-am html \
    578         html-am info info-am install install-am install-data \
    579         install-data-am install-dvi install-dvi-am install-exec \
    580         install-exec-am install-html install-html-am install-info \
    581         install-info-am install-man install-pdf install-pdf-am \
    582         install-ps install-ps-am install-strip installcheck \
    583         installcheck-am installdirs maintainer-clean \
     572.MAKE: check-am install-am install-strip
     573
     574.PHONY: CTAGS GTAGS all all-am check check-am clean \
     575        clean-checkPROGRAMS clean-generic ctags distclean \
     576        distclean-compile distclean-generic distclean-tags distdir dvi \
     577        dvi-am html html-am info info-am install install-am \
     578        install-data install-data-am install-dvi install-dvi-am \
     579        install-exec install-exec-am install-html install-html-am \
     580        install-info install-info-am install-man install-pdf \
     581        install-pdf-am install-ps install-ps-am install-strip \
     582        installcheck installcheck-am installdirs maintainer-clean \
    584583        maintainer-clean-generic mostlyclean mostlyclean-compile \
    585584        mostlyclean-generic pdf pdf-am ps ps-am tags uninstall \
  • trunk/speed/cppad/cppad.vcproj

    r1638 r1644  
    121121                        </File>
    122122                        <File
     123                                RelativePath="..\link_det_lu.cpp">
     124                        </File>
     125                        <File
     126                                RelativePath="..\link_det_minor.cpp">
     127                        </File>
     128                        <File
     129                                RelativePath="..\link_ode.cpp">
     130                        </File>
     131                        <File
     132                                RelativePath="..\link_poly.cpp">
     133                        </File>
     134                        <File
     135                                RelativePath="..\link_sparse_hessian.cpp">
     136                        </File>
     137                        <File
     138                                RelativePath="..\link_sparse_jacobian.cpp">
     139                        </File>
     140                        <File
    123141                                RelativePath="..\main.cpp">
    124142                                <FileConfiguration
     
    131149                        </File>
    132150                        <File
     151                                RelativePath=".\ode.cpp">
     152                        </File>
     153                        <File
    133154                                RelativePath=".\poly.cpp">
    134155                        </File>
    135156                        <File
    136157                                RelativePath=".\sparse_hessian.cpp">
     158                        </File>
     159                        <File
     160                                RelativePath=".\sparse_jacobian.cpp">
    137161                        </File>
    138162                </Filter>
  • trunk/speed/cppad/det_lu.cpp

    r1497 r1644  
    11/* $Id$ */
    22/* --------------------------------------------------------------------------
    3 CppAD: C++ Algorithmic Differentiation: Copyright (C) 2003-09 Bradley M. Bell
     3CppAD: C++ Algorithmic Differentiation: Copyright (C) 2003-10 Bradley M. Bell
    44
    55CppAD is distributed under multiple licenses. This distribution is under
     
    9494                        if( print_this_time )
    9595                        {       after = f.size_var();
    96                                 std::cout << "optimize: size = " << size
    97                                           << ": size_var() = "
    98                                           << before << "(before) "
    99                                           << after << "(after) "
    100                                           << std::endl;
     96                                std::cout << "cppad_det_lu_optimize_size_"
     97                                          << int(size) << " = [ " << int(before)
     98                                          << ", " << int(after) << "]" << std::endl;
    10199                                printed         = true;
    102100                                print_this_time = false;
  • trunk/speed/cppad/det_minor.cpp

    r1497 r1644  
    11/* $Id$ */
    22/* --------------------------------------------------------------------------
    3 CppAD: C++ Algorithmic Differentiation: Copyright (C) 2003-09 Bradley M. Bell
     3CppAD: C++ Algorithmic Differentiation: Copyright (C) 2003-10 Bradley M. Bell
    44
    55CppAD is distributed under multiple licenses. This distribution is under
     
    9898                        if( print_this_time )
    9999                        {       after = f.size_var();
    100                                 std::cout << "optimize: size = " << size
    101                                           << ": size_var() = "
    102                                           << before << "(before) "
    103                                           << after << "(after) "
    104                                           << std::endl;
     100                                std::cout << "cppad_det_minor_optimize_size_"
     101                                          << int(size) << " = [ " << int(before)
     102                                          << ", " << int(after) << "]" << std::endl;
    105103                                printed         = true;
    106104                                print_this_time = false;
  • trunk/speed/cppad/makefile.am

    r1640 r1644  
    2424EXTRA_DIST       = cppad.sln cppad.vcproj
    2525#
    26 noinst_PROGRAMS  = cppad
     26check_PROGRAMS   = cppad
    2727#
    2828AM_CPPFLAGS   = -I$(top_srcdir) $(BOOST_INCLUDE)
  • trunk/speed/cppad/makefile.in

    r1641 r1644  
    1515
    1616@SET_MAKE@
    17 
    1817VPATH = @srcdir@
    1918pkgdatadir = $(datadir)/@PACKAGE@
     
    3332PRE_UNINSTALL = :
    3433POST_UNINSTALL = :
    35 noinst_PROGRAMS = cppad$(EXEEXT)
     34check_PROGRAMS = cppad$(EXEEXT)
    3635subdir = speed/cppad
    3736DIST_COMMON = $(srcdir)/makefile.am $(srcdir)/makefile.in
     
    4443CONFIG_CLEAN_FILES =
    4544CONFIG_CLEAN_VPATH_FILES =
    46 PROGRAMS = $(noinst_PROGRAMS)
    4745am_cppad_OBJECTS = main.$(OBJEXT) link_ode.$(OBJEXT) ode.$(OBJEXT) \
    4846        link_det_lu.$(OBJEXT) link_det_minor.$(OBJEXT) \
     
    251249$(am__aclocal_m4_deps):
    252250
    253 clean-noinstPROGRAMS:
    254         -test -z "$(noinst_PROGRAMS)" || rm -f $(noinst_PROGRAMS)
     251clean-checkPROGRAMS:
     252        -test -z "$(check_PROGRAMS)" || rm -f $(check_PROGRAMS)
    255253cppad$(EXEEXT): $(cppad_OBJECTS) $(cppad_DEPENDENCIES)
    256254        @rm -f cppad$(EXEEXT)
     
    472470        done
    473471check-am: all-am
     472        $(MAKE) $(AM_MAKEFLAGS) $(check_PROGRAMS)
    474473check: check-am
    475 all-am: makefile $(PROGRAMS)
     474all-am: makefile
    476475installdirs:
    477476install: install-am
     
    502501clean: clean-am
    503502
    504 clean-am: clean-generic clean-noinstPROGRAMS mostlyclean-am
     503clean-am: clean-checkPROGRAMS clean-generic mostlyclean-am
    505504
    506505distclean: distclean-am
     
    569568uninstall-am:
    570569
    571 .MAKE: install-am install-strip
    572 
    573 .PHONY: CTAGS GTAGS all all-am check check-am clean clean-generic \
    574         clean-noinstPROGRAMS ctags distclean distclean-compile \
    575         distclean-generic distclean-tags distdir dvi dvi-am html \
    576         html-am info info-am install install-am install-data \
    577         install-data-am install-dvi install-dvi-am install-exec \
    578         install-exec-am install-html install-html-am install-info \
    579         install-info-am install-man install-pdf install-pdf-am \
    580         install-ps install-ps-am install-strip installcheck \
    581         installcheck-am installdirs maintainer-clean \
     570.MAKE: check-am install-am install-strip
     571
     572.PHONY: CTAGS GTAGS all all-am check check-am clean \
     573        clean-checkPROGRAMS clean-generic ctags distclean \
     574        distclean-compile distclean-generic distclean-tags distdir dvi \
     575        dvi-am html html-am info info-am install install-am \
     576        install-data install-data-am install-dvi install-dvi-am \
     577        install-exec install-exec-am install-html install-html-am \
     578        install-info install-info-am install-man install-pdf \
     579        install-pdf-am install-ps install-ps-am install-strip \
     580        installcheck installcheck-am installdirs maintainer-clean \
    582581        maintainer-clean-generic mostlyclean mostlyclean-compile \
    583582        mostlyclean-generic pdf pdf-am ps ps-am tags uninstall \
  • trunk/speed/cppad/ode.cpp

    r1497 r1644  
    11/* $Id$ */
    22/* --------------------------------------------------------------------------
    3 CppAD: C++ Algorithmic Differentiation: Copyright (C) 2003-09 Bradley M. Bell
     3CppAD: C++ Algorithmic Differentiation: Copyright (C) 2003-10 Bradley M. Bell
    44
    55CppAD is distributed under multiple licenses. This distribution is under
     
    9292                        if( print_this_time )
    9393                        {       after = F.size_var();
    94                                 std::cout << "optimize: size = " << size
    95                                           << ": size_var() = "
    96                                           << before << "(before) "
    97                                           << after << "(after) "
    98                                           << std::endl;
     94                                std::cout << "cppad_ode_optimize_size_"
     95                                          << int(size) << " = [ " << int(before)
     96                                          << ", " << int(after) << "]" << std::endl;
    9997                                printed         = true;
    10098                                print_this_time = false;
  • trunk/speed/cppad/poly.cpp

    r1497 r1644  
    11/* $Id$ */
    22/* --------------------------------------------------------------------------
    3 CppAD: C++ Algorithmic Differentiation: Copyright (C) 2003-09 Bradley M. Bell
     3CppAD: C++ Algorithmic Differentiation: Copyright (C) 2003-10 Bradley M. Bell
    44
    55CppAD is distributed under multiple licenses. This distribution is under
     
    108108                        if( print_this_time )
    109109                        {       after = f.size_var();
    110                                 std::cout << "optimize: size = " << size
    111                                           << ": size_var() = "
    112                                           << before << "(before) "
    113                                           << after << "(after) "
    114                                           << std::endl;
     110                                std::cout << "cppad_poly_optimize_size_"
     111                                          << int(size) << " = [ " << int(before)
     112                                          << ", " << int(after) << "]" << std::endl;
    115113                                printed         = true;
    116114                                print_this_time = false;
  • trunk/speed/cppad/sparse_hessian.cpp

    r1537 r1644  
    11/* $Id$ */
    22/* --------------------------------------------------------------------------
    3 CppAD: C++ Algorithmic Differentiation: Copyright (C) 2003-09 Bradley M. Bell
     3CppAD: C++ Algorithmic Differentiation: Copyright (C) 2003-10 Bradley M. Bell
    44
    55CppAD is distributed under multiple licenses. This distribution is under
     
    123123                        if( print_this_time )
    124124                        {       after = f.size_var();
    125                                 std::cout << "optimize: size = " << n
    126                                           << ": size_var() = "
    127                                           << before << "(before) "
    128                                           << after << "(after) "
    129                                           << std::endl;
     125                                std::cout << "cppad_sparse_hessian_optimize_size_"
     126                                          << int(n) << " = [ " << int(before)
     127                                          << ", " << int(after) << "]" << std::endl;
    130128                                printed         = true;
    131129                                print_this_time = false;
  • trunk/speed/cppad/sparse_jacobian.cpp

    r1537 r1644  
    11/* $Id$ */
    22/* --------------------------------------------------------------------------
    3 CppAD: C++ Algorithmic Differentiation: Copyright (C) 2003-09 Bradley M. Bell
     3CppAD: C++ Algorithmic Differentiation: Copyright (C) 2003-10 Bradley M. Bell
    44
    55CppAD is distributed under multiple licenses. This distribution is under
     
    123123                        if( print_this_time )
    124124                        {       after = g.size_var();
    125                                 std::cout << "optimize: size = " << n
    126                                           << ": size_var() = "
    127                                           << before << "(before) "
    128                                           << after << "(after) "
    129                                           << std::endl;
     125                                std::cout << "cppad_sparse_jacobian_optimize_size_"
     126                                          << int(n) << " = [ " << int(before)
     127                                          << ", " << int(after) << "]" << std::endl;
    130128                                printed         = true;
    131129                                print_this_time = false;
  • trunk/speed/double/double.vcproj

    r1638 r1644  
    122122                        </File>
    123123                        <File
     124                                RelativePath="..\link_det_lu.cpp">
     125                        </File>
     126                        <File
     127                                RelativePath="..\link_det_minor.cpp">
     128                        </File>
     129                        <File
     130                                RelativePath="..\link_ode.cpp">
     131                        </File>
     132                        <File
     133                                RelativePath="..\link_poly.cpp">
     134                        </File>
     135                        <File
     136                                RelativePath="..\link_sparse_hessian.cpp">
     137                        </File>
     138                        <File
     139                                RelativePath="..\link_sparse_jacobian.cpp">
     140                        </File>
     141                        <File
    124142                                RelativePath="..\main.cpp">
     143                        </File>
     144                        <File
     145                                RelativePath=".\ode.cpp">
    125146                        </File>
    126147                        <File
     
    129150                        <File
    130151                                RelativePath=".\sparse_hessian.cpp">
     152                        </File>
     153                        <File
     154                                RelativePath=".\sparse_jacobian.cpp">
    131155                        </File>
    132156                </Filter>
  • trunk/speed/double/makefile.am

    r1640 r1644  
    2424EXTRA_DIST       = double.sln double.vcproj
    2525#
    26 noinst_PROGRAMS  = double
     26check_PROGRAMS   = double
    2727#
    2828AM_CPPFLAGS   = -I$(top_srcdir) $(BOOST_INCLUDE)
  • trunk/speed/double/makefile.in

    r1641 r1644  
    1515
    1616@SET_MAKE@
    17 
    1817VPATH = @srcdir@
    1918pkgdatadir = $(datadir)/@PACKAGE@
     
    3332PRE_UNINSTALL = :
    3433POST_UNINSTALL = :
    35 noinst_PROGRAMS = double$(EXEEXT)
     34check_PROGRAMS = double$(EXEEXT)
    3635subdir = speed/double
    3736DIST_COMMON = $(srcdir)/makefile.am $(srcdir)/makefile.in
     
    4443CONFIG_CLEAN_FILES =
    4544CONFIG_CLEAN_VPATH_FILES =
    46 PROGRAMS = $(noinst_PROGRAMS)
    4745am_double_OBJECTS = main.$(OBJEXT) link_ode.$(OBJEXT) ode.$(OBJEXT) \
    4846        link_det_lu.$(OBJEXT) link_det_minor.$(OBJEXT) \
     
    251249$(am__aclocal_m4_deps):
    252250
    253 clean-noinstPROGRAMS:
    254         -test -z "$(noinst_PROGRAMS)" || rm -f $(noinst_PROGRAMS)
     251clean-checkPROGRAMS:
     252        -test -z "$(check_PROGRAMS)" || rm -f $(check_PROGRAMS)
    255253double$(EXEEXT): $(double_OBJECTS) $(double_DEPENDENCIES)
    256254        @rm -f double$(EXEEXT)
     
    472470        done
    473471check-am: all-am
     472        $(MAKE) $(AM_MAKEFLAGS) $(check_PROGRAMS)
    474473check: check-am
    475 all-am: makefile $(PROGRAMS)
     474all-am: makefile
    476475installdirs:
    477476install: install-am
     
    502501clean: clean-am
    503502
    504 clean-am: clean-generic clean-noinstPROGRAMS mostlyclean-am
     503clean-am: clean-checkPROGRAMS clean-generic mostlyclean-am
    505504
    506505distclean: distclean-am
     
    569568uninstall-am:
    570569
    571 .MAKE: install-am install-strip
    572 
    573 .PHONY: CTAGS GTAGS all all-am check check-am clean clean-generic \
    574         clean-noinstPROGRAMS ctags distclean distclean-compile \
    575         distclean-generic distclean-tags distdir dvi dvi-am html \
    576         html-am info info-am install install-am install-data \
    577         install-data-am install-dvi install-dvi-am install-exec \
    578         install-exec-am install-html install-html-am install-info \
    579         install-info-am install-man install-pdf install-pdf-am \
    580         install-ps install-ps-am install-strip installcheck \
    581         installcheck-am installdirs maintainer-clean \
     570.MAKE: check-am install-am install-strip
     571
     572.PHONY: CTAGS GTAGS all all-am check check-am clean \
     573        clean-checkPROGRAMS clean-generic ctags distclean \
     574        distclean-compile distclean-generic distclean-tags distdir dvi \
     575        dvi-am html html-am info info-am install install-am \
     576        install-data install-data-am install-dvi install-dvi-am \
     577        install-exec install-exec-am install-html install-html-am \
     578        install-info install-info-am install-man install-pdf \
     579        install-pdf-am install-ps install-ps-am install-strip \
     580        installcheck installcheck-am installdirs maintainer-clean \
    582581        maintainer-clean-generic mostlyclean mostlyclean-compile \
    583582        mostlyclean-generic pdf pdf-am ps ps-am tags uninstall \
  • trunk/speed/example/example.cpp

    r1640 r1644  
    4646        static size_t Run_error_count = 0;
    4747        bool Run(bool TestOk(void), std::string name)
    48         {       bool ok      = true;
    49                 size_t width =  20;         
     48        {       bool ok               = true;
     49                std::streamsize width =  20;         
    5050                std::cout.width( width );
    5151                std::cout.setf( std::ios_base::left );
    5252                std::cout << name;
    5353                //
    54                 ok &= name.size() < width;
     54                ok &= name.size() < size_t(width);
    5555                ok &= TestOk();
    5656                if( ok )
  • trunk/speed/example/example.vcproj

    r1638 r1644  
    133133                        </File>
    134134                        <File
     135                                RelativePath=".\ode_evaluate.cpp">
     136                        </File>
     137                        <File
     138                                RelativePath=".\sparse_evaluate.cpp">
     139                        </File>
     140                        <File
    135141                                RelativePath=".\speed_test.cpp">
    136142                        </File>
  • trunk/speed/example/makefile.am

    r1640 r1644  
    2323EXTRA_DIST        = example.sln example.vcproj speed_program.cpp
    2424#
    25 noinst_PROGRAMS   = example
     25check_PROGRAMS    = example
    2626#
    2727AM_CPPFLAGS       = -I. -I$(top_srcdir) $(BOOST_INCLUDE)
  • trunk/speed/example/makefile.in

    r1641 r1644  
    1515
    1616@SET_MAKE@
    17 
    1817VPATH = @srcdir@
    1918pkgdatadir = $(datadir)/@PACKAGE@
     
    3332PRE_UNINSTALL = :
    3433POST_UNINSTALL = :
    35 noinst_PROGRAMS = example$(EXEEXT)
     34check_PROGRAMS = example$(EXEEXT)
    3635subdir = speed/example
    3736DIST_COMMON = $(srcdir)/makefile.am $(srcdir)/makefile.in
     
    4443CONFIG_CLEAN_FILES =
    4544CONFIG_CLEAN_VPATH_FILES =
    46 PROGRAMS = $(noinst_PROGRAMS)
    4745am_example_OBJECTS = example.$(OBJEXT) det_by_lu.$(OBJEXT) \
    4846        det_by_minor.$(OBJEXT) det_of_minor.$(OBJEXT) \
     
    236234$(am__aclocal_m4_deps):
    237235
    238 clean-noinstPROGRAMS:
    239         -test -z "$(noinst_PROGRAMS)" || rm -f $(noinst_PROGRAMS)
     236clean-checkPROGRAMS:
     237        -test -z "$(check_PROGRAMS)" || rm -f $(check_PROGRAMS)
    240238example$(EXEEXT): $(example_OBJECTS) $(example_DEPENDENCIES)
    241239        @rm -f example$(EXEEXT)
     
    353351        done
    354352check-am: all-am
     353        $(MAKE) $(AM_MAKEFLAGS) $(check_PROGRAMS)
    355354check: check-am
    356 all-am: makefile $(PROGRAMS)
     355all-am: makefile
    357356installdirs:
    358357install: install-am
     
    383382clean: clean-am
    384383
    385 clean-am: clean-generic clean-noinstPROGRAMS mostlyclean-am
     384clean-am: clean-checkPROGRAMS clean-generic mostlyclean-am
    386385
    387386distclean: distclean-am
     
    450449uninstall-am:
    451450
    452 .MAKE: install-am install-strip
    453 
    454 .PHONY: CTAGS GTAGS all all-am check check-am clean clean-generic \
    455         clean-noinstPROGRAMS ctags distclean distclean-compile \
    456         distclean-generic distclean-tags distdir dvi dvi-am html \
    457         html-am info info-am install install-am install-data \
    458         install-data-am install-dvi install-dvi-am install-exec \
    459         install-exec-am install-html install-html-am install-info \
    460         install-info-am install-man install-pdf install-pdf-am \
    461         install-ps install-ps-am install-strip installcheck \
    462         installcheck-am installdirs maintainer-clean \
     451.MAKE: check-am install-am install-strip
     452
     453.PHONY: CTAGS GTAGS all all-am check check-am clean \
     454        clean-checkPROGRAMS clean-generic ctags distclean \
     455        distclean-compile distclean-generic distclean-tags distdir dvi \
     456        dvi-am html html-am info info-am install install-am \
     457        install-data install-data-am install-dvi install-dvi-am \
     458        install-exec install-exec-am install-html install-html-am \
     459        install-info install-info-am install-man install-pdf \
     460        install-pdf-am install-ps install-ps-am install-strip \
     461        installcheck installcheck-am installdirs maintainer-clean \
    463462        maintainer-clean-generic mostlyclean mostlyclean-compile \
    464463        mostlyclean-generic pdf pdf-am ps ps-am tags uninstall \
  • trunk/speed/fadbad/makefile.am

    r1640 r1644  
    2222endif
    2323#
    24 noinst_PROGRAMS  = fadbad
     24check_PROGRAMS   = fadbad
    2525#
    2626AM_CPPFLAGS   = -I$(top_srcdir) -I$(FADBAD_DIR) $(BOOST_INCLUDE)
  • trunk/speed/fadbad/makefile.in

    r1641 r1644  
    1515
    1616@SET_MAKE@
    17 
    1817VPATH = @srcdir@
    1918pkgdatadir = $(datadir)/@PACKAGE@
     
    3332PRE_UNINSTALL = :
    3433POST_UNINSTALL = :
    35 noinst_PROGRAMS = fadbad$(EXEEXT)
     34check_PROGRAMS = fadbad$(EXEEXT)
    3635subdir = speed/fadbad
    3736DIST_COMMON = $(srcdir)/makefile.am $(srcdir)/makefile.in
     
    4443CONFIG_CLEAN_FILES =
    4544CONFIG_CLEAN_VPATH_FILES =
    46 PROGRAMS = $(noinst_PROGRAMS)
    4745am_fadbad_OBJECTS = main.$(OBJEXT) link_ode.$(OBJEXT) ode.$(OBJEXT) \
    4846        link_det_lu.$(OBJEXT) link_det_minor.$(OBJEXT) \
     
    251249$(am__aclocal_m4_deps):
    252250
    253 clean-noinstPROGRAMS:
    254         -test -z "$(noinst_PROGRAMS)" || rm -f $(noinst_PROGRAMS)
     251clean-checkPROGRAMS:
     252        -test -z "$(check_PROGRAMS)" || rm -f $(check_PROGRAMS)
    255253fadbad$(EXEEXT): $(fadbad_OBJECTS) $(fadbad_DEPENDENCIES)
    256254        @rm -f fadbad$(EXEEXT)
     
    472470        done
    473471check-am: all-am
     472        $(MAKE) $(AM_MAKEFLAGS) $(check_PROGRAMS)
    474473check: check-am
    475 all-am: makefile $(PROGRAMS)
     474all-am: makefile
    476475installdirs:
    477476install: install-am
     
    502501clean: clean-am
    503502
    504 clean-am: clean-generic clean-noinstPROGRAMS mostlyclean-am
     503clean-am: clean-checkPROGRAMS clean-generic mostlyclean-am
    505504
    506505distclean: distclean-am
     
    569568uninstall-am:
    570569
    571 .MAKE: install-am install-strip
    572 
    573 .PHONY: CTAGS GTAGS all all-am check check-am clean clean-generic \
    574         clean-noinstPROGRAMS ctags distclean distclean-compile \
    575         distclean-generic distclean-tags distdir dvi dvi-am html \
    576         html-am info info-am install install-am install-data \
    577         install-data-am install-dvi install-dvi-am install-exec \
    578         install-exec-am install-html install-html-am install-info \
    579         install-info-am install-man install-pdf install-pdf-am \
    580         install-ps install-ps-am install-strip installcheck \
    581         installcheck-am installdirs maintainer-clean \
     570.MAKE: check-am install-am install-strip
     571
     572.PHONY: CTAGS GTAGS all all-am check check-am clean \
     573        clean-checkPROGRAMS clean-generic ctags distclean \
     574        distclean-compile distclean-generic distclean-tags distdir dvi \
     575        dvi-am html html-am info info-am install install-am \
     576        install-data install-data-am install-dvi install-dvi-am \
     577        install-exec install-exec-am install-html install-html-am \
     578        install-info install-info-am install-man install-pdf \
     579        install-pdf-am install-ps install-ps-am install-strip \
     580        installcheck installcheck-am installdirs maintainer-clean \
    582581        maintainer-clean-generic mostlyclean mostlyclean-compile \
    583582        mostlyclean-generic pdf pdf-am ps ps-am tags uninstall \
  • trunk/speed/profile/makefile.am

    r1640 r1644  
    2424EXTRA_DIST       = gprof.sed
    2525#
    26 noinst_PROGRAMS  = profile
     26check_PROGRAMS   = profile
    2727#
    2828AM_CPPFLAGS   = -I$(top_srcdir) $(BOOST_INCLUDE)
  • trunk/speed/profile/makefile.in

    r1641 r1644  
    1515
    1616@SET_MAKE@
    17 
    1817VPATH = @srcdir@
    1918pkgdatadir = $(datadir)/@PACKAGE@
     
    3332PRE_UNINSTALL = :
    3433POST_UNINSTALL = :
    35 noinst_PROGRAMS = profile$(EXEEXT)
     34check_PROGRAMS = profile$(EXEEXT)
    3635subdir = speed/profile
    3736DIST_COMMON = $(srcdir)/makefile.am $(srcdir)/makefile.in
     
    4443CONFIG_CLEAN_FILES =
    4544CONFIG_CLEAN_VPATH_FILES =
    46 PROGRAMS = $(noinst_PROGRAMS)
    4745am_profile_OBJECTS = main.$(OBJEXT) link_ode.$(OBJEXT) ode.$(OBJEXT) \
    4846        link_det_lu.$(OBJEXT) link_det_minor.$(OBJEXT) \
     
    253251$(am__aclocal_m4_deps):
    254252
    255 clean-noinstPROGRAMS:
    256         -test -z "$(noinst_PROGRAMS)" || rm -f $(noinst_PROGRAMS)
     253clean-checkPROGRAMS:
     254        -test -z "$(check_PROGRAMS)" || rm -f $(check_PROGRAMS)
    257255profile$(EXEEXT): $(profile_OBJECTS) $(profile_DEPENDENCIES)
    258256        @rm -f profile$(EXEEXT)
     
    558556        done
    559557check-am: all-am
     558        $(MAKE) $(AM_MAKEFLAGS) $(check_PROGRAMS)
    560559check: check-am
    561 all-am: makefile $(PROGRAMS)
     560all-am: makefile
    562561installdirs:
    563562install: install-am
     
    588587clean: clean-am
    589588
    590 clean-am: clean-generic clean-noinstPROGRAMS mostlyclean-am
     589clean-am: clean-checkPROGRAMS clean-generic mostlyclean-am
    591590
    592591distclean: distclean-am
     
    655654uninstall-am:
    656655
    657 .MAKE: install-am install-strip
    658 
    659 .PHONY: CTAGS GTAGS all all-am check check-am clean clean-generic \
    660         clean-noinstPROGRAMS ctags distclean distclean-compile \
    661         distclean-generic distclean-tags distdir dvi dvi-am html \
    662         html-am info info-am install install-am install-data \
    663         install-data-am install-dvi install-dvi-am install-exec \
    664         install-exec-am install-html install-html-am install-info \
    665         install-info-am install-man install-pdf install-pdf-am \
    666         install-ps install-ps-am install-strip installcheck \
    667         installcheck-am installdirs maintainer-clean \
     656.MAKE: check-am install-am install-strip
     657
     658.PHONY: CTAGS GTAGS all all-am check check-am clean \
     659        clean-checkPROGRAMS clean-generic ctags distclean \
     660        distclean-compile distclean-generic distclean-tags distdir dvi \
     661        dvi-am html html-am info info-am install install-am \
     662        install-data install-data-am install-dvi install-dvi-am \
     663        install-exec install-exec-am install-html install-html-am \
     664        install-info install-info-am install-man install-pdf \
     665        install-pdf-am install-ps install-ps-am install-strip \
     666        installcheck installcheck-am installdirs maintainer-clean \
    668667        maintainer-clean-generic mostlyclean mostlyclean-compile \
    669668        mostlyclean-generic pdf pdf-am ps ps-am tags uninstall \
  • trunk/speed/sacado/makefile.am

    r1640 r1644  
    2222endif
    2323#
    24 noinst_PROGRAMS  = sacado
     24check_PROGRAMS   = sacado
    2525#
    2626AM_CPPFLAGS   = -I$(top_srcdir) -I$(SACADO_DIR)/include $(BOOST_INCLUDE)
  • trunk/speed/sacado/makefile.in

    r1641 r1644  
    1515
    1616@SET_MAKE@
    17 
    1817VPATH = @srcdir@
    1918pkgdatadir = $(datadir)/@PACKAGE@
     
    3332PRE_UNINSTALL = :
    3433POST_UNINSTALL = :
    35 noinst_PROGRAMS = sacado$(EXEEXT)
     34check_PROGRAMS = sacado$(EXEEXT)
    3635subdir = speed/sacado
    3736DIST_COMMON = $(srcdir)/makefile.am $(srcdir)/makefile.in
     
    4443CONFIG_CLEAN_FILES =
    4544CONFIG_CLEAN_VPATH_FILES =
    46 PROGRAMS = $(noinst_PROGRAMS)
    4745am_sacado_OBJECTS = main.$(OBJEXT) link_ode.$(OBJEXT) ode.$(OBJEXT) \
    4846        link_det_lu.$(OBJEXT) link_det_minor.$(OBJEXT) \
     
    255253$(am__aclocal_m4_deps):
    256254
    257 clean-noinstPROGRAMS:
    258         -test -z "$(noinst_PROGRAMS)" || rm -f $(noinst_PROGRAMS)
     255clean-checkPROGRAMS:
     256        -test -z "$(check_PROGRAMS)" || rm -f $(check_PROGRAMS)
    259257sacado$(EXEEXT): $(sacado_OBJECTS) $(sacado_DEPENDENCIES)
    260258        @rm -f sacado$(EXEEXT)
     
    476474        done
    477475check-am: all-am
     476        $(MAKE) $(AM_MAKEFLAGS) $(check_PROGRAMS)
    478477check: check-am
    479 all-am: makefile $(PROGRAMS)
     478all-am: makefile
    480479installdirs:
    481480install: install-am
     
    506505clean: clean-am
    507506
    508 clean-am: clean-generic clean-noinstPROGRAMS mostlyclean-am
     507clean-am: clean-checkPROGRAMS clean-generic mostlyclean-am
    509508
    510509distclean: distclean-am
     
    573572uninstall-am:
    574573
    575 .MAKE: install-am install-strip
    576 
    577 .PHONY: CTAGS GTAGS all all-am check check-am clean clean-generic \
    578         clean-noinstPROGRAMS ctags distclean distclean-compile \
    579         distclean-generic distclean-tags distdir dvi dvi-am html \
    580         html-am info info-am install install-am install-data \
    581         install-data-am install-dvi install-dvi-am install-exec \
    582         install-exec-am install-html install-html-am install-info \
    583         install-info-am install-man install-pdf install-pdf-am \
    584         install-ps install-ps-am install-strip installcheck \
    585         installcheck-am installdirs maintainer-clean \
     574.MAKE: check-am install-am install-strip
     575
     576.PHONY: CTAGS GTAGS all all-am check check-am clean \
     577        clean-checkPROGRAMS clean-generic ctags distclean \
     578        distclean-compile distclean-generic distclean-tags distdir dvi \
     579        dvi-am html html-am info info-am install install-am \
     580        install-data install-data-am install-dvi install-dvi-am \
     581        install-exec install-exec-am install-html install-html-am \
     582        install-info install-info-am install-man install-pdf \
     583        install-pdf-am install-ps install-ps-am install-strip \
     584        installcheck installcheck-am installdirs maintainer-clean \
    586585        maintainer-clean-generic mostlyclean mostlyclean-compile \
    587586        mostlyclean-generic pdf pdf-am ps ps-am tags uninstall \
  • trunk/speed_cppad/makefile.am

    r1370 r1644  
    11# $Id$
    22# -----------------------------------------------------------------------------
    3 # CppAD: C++ Algorithmic Differentiation: Copyright (C) 2003-07 Bradley M. Bell
     3# CppAD: C++ Algorithmic Differentiation: Copyright (C) 2003-10 Bradley M. Bell
    44#
    55# CppAD is distributed under multiple licenses. This distribution is under
     
    2626# speed
    2727#
    28 noinst_PROGRAMS  = speed_cppad
     28check_PROGRAMS   = speed_cppad
    2929speed_cppad_CXXFLAGS   = -O2 $(CXX_FLAGS)
    3030speed_cppad_SOURCES    = \
     
    3939#
    4040if CppAD_PROFILING
    41 noinst_PROGRAMS  += speed_cppad_p
     41check_PROGRAMS  += speed_cppad_p
    4242speed_cppad_p_CXXFLAGS = -O2 -pg $(CXX_FLAGS)
    4343speed_cppad_p_LDFLAGS  = -pg
  • trunk/svn_status.sh

    r1640 r1644  
    7272        -e '/^[?] *introduction\/get_started\/get_started$/d' \
    7373        -e '/^[?] *print_for\/print_for$/d'                   \
     74        -e '/^[?] *print_for\/test.sh$/d'                     \
    7475        -e '/^[?] *speed\/adolc\/adolc$/d'                    \
    7576        -e '/^[?] *speed\/cppad\/cppad$/d'                    \
  • trunk/test_more/makefile.am

    r1640 r1644  
    3434endif
    3535#
    36 # Microsoft project files
     36# Microsoft project files and script to run a single test
    3737EXTRA_DIST        = test_more.sln test_more.vcproj test_one.sh.in
    3838#
    39 noinst_PROGRAMS   = test_more
     39check_PROGRAMS    = test_more
    4040#
    4141AM_CPPFLAGS       = -I. \
  • trunk/test_more/makefile.in

    r1641 r1644  
    1515
    1616@SET_MAKE@
    17 
    1817VPATH = @srcdir@
    1918pkgdatadir = $(datadir)/@PACKAGE@
     
    3332PRE_UNINSTALL = :
    3433POST_UNINSTALL = :
    35 noinst_PROGRAMS = test_more$(EXEEXT)
     34check_PROGRAMS = test_more$(EXEEXT)
    3635subdir = test_more
    3736DIST_COMMON = $(srcdir)/makefile.am $(srcdir)/makefile.in \
     
    4544CONFIG_CLEAN_FILES = test_one.sh
    4645CONFIG_CLEAN_VPATH_FILES =
    47 PROGRAMS = $(noinst_PROGRAMS)
    4846am__test_more_SOURCES_DIST = base_adolc.cpp test_more.cpp abs.cpp \
    4947        acos.cpp asin.cpp add.cpp add_eq.cpp add_zero.cpp atan.cpp \
     
    235233@CppAD_BOOSTVECTOR_TRUE@BOOST_INCLUDE = -I$(BOOST_DIR)
    236234#
    237 # Microsoft project files
     235# Microsoft project files and script to run a single test
    238236EXTRA_DIST = test_more.sln test_more.vcproj test_one.sh.in
    239237#
     
    354352        cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@
    355353
    356 clean-noinstPROGRAMS:
    357         -test -z "$(noinst_PROGRAMS)" || rm -f $(noinst_PROGRAMS)
     354clean-checkPROGRAMS:
     355        -test -z "$(check_PROGRAMS)" || rm -f $(check_PROGRAMS)
    358356test_more$(EXEEXT): $(test_more_OBJECTS) $(test_more_DEPENDENCIES)
    359357        @rm -f test_more$(EXEEXT)
     
    530528        done
    531529check-am: all-am
     530        $(MAKE) $(AM_MAKEFLAGS) $(check_PROGRAMS)
    532531check: check-am
    533 all-am: makefile $(PROGRAMS)
     532all-am: makefile
    534533installdirs:
    535534install: install-am
     
    560559clean: clean-am
    561560
    562 clean-am: clean-generic clean-noinstPROGRAMS mostlyclean-am
     561clean-am: clean-checkPROGRAMS clean-generic mostlyclean-am
    563562
    564563distclean: distclean-am
     
    627626uninstall-am:
    628627
    629 .MAKE: install-am install-strip
    630 
    631 .PHONY: CTAGS GTAGS all all-am check check-am clean clean-generic \
    632         clean-noinstPROGRAMS ctags distclean distclean-compile \
    633         distclean-generic distclean-tags distdir dvi dvi-am html \
    634         html-am info info-am install install-am install-data \
    635         install-data-am install-dvi install-dvi-am install-exec \
    636         install-exec-am install-html install-html-am install-info \
    637         install-info-am install-man install-pdf install-pdf-am \
    638         install-ps install-ps-am install-strip installcheck \
    639         installcheck-am installdirs maintainer-clean \
     628.MAKE: check-am install-am install-strip
     629
     630.PHONY: CTAGS GTAGS all all-am check check-am clean \
     631        clean-checkPROGRAMS clean-generic ctags distclean \
     632        distclean-compile distclean-generic distclean-tags distdir dvi \
     633        dvi-am html html-am info info-am install install-am \
     634        install-data install-data-am install-dvi install-dvi-am \
     635        install-exec install-exec-am install-html install-html-am \
     636        install-info install-info-am install-man install-pdf \
     637        install-pdf-am install-ps install-ps-am install-strip \
     638        installcheck installcheck-am installdirs maintainer-clean \
    640639        maintainer-clean-generic mostlyclean mostlyclean-compile \
    641640        mostlyclean-generic pdf pdf-am ps ps-am tags uninstall \
Note: See TracChangeset for help on using the changeset viewer.