IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 3651


Ignore:
Timestamp:
Apr 4, 2005, 12:21:18 PM (21 years ago)
Author:
desonia
Message:

merged changes from rel5.

Location:
trunk/psModules
Files:
3 added
1 deleted
5 edited

Legend:

Unmodified
Added
Removed
  • trunk/psModules

    • Property svn:ignore
      •  

        old new  
        77aclocal.m4
        88configure
         9Doxyfile
         10DoxygenLog
         11docs
         12man
         13psmodule-config
         14psmodule.pc
         15bin
         16include
         17lib
  • trunk/psModules/.cvsignore

    r3633 r3651  
    77aclocal.m4
    88configure
     9Doxyfile
     10DoxygenLog
     11docs
     12man
     13psmodule-config
     14psmodule.pc
     15bin
     16include
     17lib
    918
  • trunk/psModules/Makefile.am

    r3623 r3651  
    1 AUTOMAKE_OPTIONS = foreign 1.4
    21
    32SUBDIRS = src test
    43
     4bin_SCRIPTS = psmodule-config
     5
     6pkgconfigdir = $(libdir)/pkgconfig
     7pkgconfig_DATA= psmodule.pc
     8
     9EXTRA_DIST = Doxyfile.in psmodule-config.in psmodule.pc.in
     10
     11docs: Doxyfile $(prefix)/docs/psmodule $(mandir)/man3
     12        $(DOXYGEN)
     13        mv -f $(prefix)/docs/psmodule/man/man3/* $(mandir)/man3
     14        rm -rf $(prefix)/docs/psmodule/man
     15
     16$(prefix)/docs/psmodule:
     17        mkdir -p $(prefix)/docs/psmodule
     18
     19$(mandir)/man3:
     20        mkdir -p $(mandir)/man3
     21
     22uninstall-hook:
     23        rm -rf $(prefix)/docs/psmodule/*
     24
     25CLEANFILES = $(prefix)/docs/psmodule/*
     26
    527test: check
  • trunk/psModules/configure.ac

    r3636 r3651  
    1010AC_SUBST(CFLAGS)
    1111
    12 CFLAGS="${CFLAGS=} -Wall -Werror -std=c99 -D_GNU_SOURCE"
     12AC_MSG_CHECKING([C99 flag])
     13if test "$GCC" == "yes"
     14then
     15CFLAGS="${CFLAGS=} -std=gnu99"
     16AC_MSG_RESULT([-std=gnu99])
     17else
     18CFLAGS="${CFLAGS=} -std=c99"
     19AC_MSG_RESULT([-std=c99])
     20fi
     21
     22AC_GNU_SOURCE
    1323
    1424AC_PROG_INSTALL
    1525AM_PROG_LIBTOOL
     26
     27AC_PREFIX_DEFAULT([`pwd`])
     28test "$prefix" = NONE && prefix=`pwd`
     29
     30DOXYGEN="doxygen Doxyfile"
     31AC_CHECK_PROG(DOXYGEN,doxygen,[echo Doxygen not detected in configure stage.])
     32AC_SUBST(DOXYGEN,$DOXYGEN)
    1633
    1734AC_ARG_WITH(pslib-config,
     
    3350AC_CHECK_LIB(pslib,main,,AC_MSG_ERROR(psLib library required))
    3451
    35 AC_OUTPUT(Makefile src/Makefile test/Makefile)
     52CFLAGS="${CFLAGS=} -Wall -Werror"
     53
     54AC_CONFIG_FILES([Makefile])
     55AC_CONFIG_FILES([src/Makefile])
     56AC_CONFIG_FILES([test/Makefile])
     57AC_CONFIG_FILES([Doxyfile])
     58AC_CONFIG_FILES([psmodule-config])
     59AC_CONFIG_FILES([psmodule.pc])
     60
     61AC_OUTPUT
  • trunk/psModules/src/mainpage.dox

    r3049 r3651  
    1717 - Combine readouts (pmReadoutCombine)
    1818 - Subtract sky (pmSubtractSky)
     19 - Object detection (pmObjects)
    1920
     21The installed code for psModule consists of header files and a binary library.
    2022
    21 The installed code for psModule consists of header files and a static binary library (libpsmodule.a).
     23@section extinstall Required external Libraries
    2224
    23 @section extinstall Required 3rd Party Libraries
    24 
    25 Before building psLib from source, several 3rd party software libraries must
     25Before building psLib from source, several external software libraries must
    2626be installed. These include:
    2727 - Pan-STARRS Library (psLib)
    2828     - Available from the Maui High Performance Computiong Center (MHPCC) at https://mhpcc.pan-starrs.org/code/releases
    29      - Compatibility tested with rel3
    30  - GNU Scientific Library (GSL)
    31      - Available at http://www.gnu.org/software/gsl
    32      - Compatibility tested with version is 1.4
    33  - Fastest Fourier Transform in the West (FFTW), version 3
    34      - Available at http://www.fftw.org
    35      - Compatibility tested with version is 3.0.1
    36  - C Flexible Image Transport System Input output (CFITSIO), version 2.480 or later
    37      - Available at http://heasarc.gsfc.nasa.gov/docs/software/fitsio
    38      - Compatibility tested with version is 2.490
    39      - Versions earlier than 2.480 will not work as new functionality introduced in 2.480 is exercised
     29     - Compatibility tested with rel5
     30     - Note, psLib itself has many external library dependencies.
    4031 - Doxygen Documentation System
     32     - Only needed if code documentation is to be made
    4133     - Available at http://www.doxygen.org
    4234     - Compatibility tested with version 1.3.6
    4335     - The optional companion package, GraphViz (a.k.a., the 'dot' command), is recommended to enable header-file dependency diagrams
    44  - SLALIB
    45      - Available at http://star-www.rl.ac.uk/
    46      - Compatibility tested with package version number 2.4-12
    47  - Gnome XML C parser and toolkit (libxml2)
    48      - Available at http://www.xmlsoft.org
    49      - Compatibility tested with version 2-2.6.16-3
    5036
    5137We recommend using the particular versions listed as compatibility tested, as
     
    8167where:
    8268  - USERNAME is your login name on the server
    83   - RELEASEBRANCH is the desired release branch, e.g. rel1.
     69  - RELEASEBRANCH is the desired release branch, e.g. rel5.
    8470
    8571
    86 @section build How to Build the psModule library.
     72@section build How to Build and Test the psModule Library.
    8773
    8874The psModule library and associated tests are made via the GNU autoconf/automake system.
     
    9278<pre>
    9379$ cd psModule
    94 $ configure --with-psLib=/home/kaiser/psLib (NB: Directory for psLib will vary)
     80$ ./configure
    9581$ make
     82$ make check
     83$ make install
    9684</pre>
    97 <i>This builds files in psModule/src and psModule/test.</i>
     85<i>Unless otherwise specified, the library is installed with PREFIX of the current directory.</i>
    9886
    99 Other configuration options, such as location of other 3rd party libraries, are also available.
     87Other configuration options, such as location of external libraries, are also available.
    10088To get a list of options, type the following in the top psModule directory.
    10189<pre>
    10290$ configure --help
    10391</pre>
    104 
    105 @section run How to Build and Run Tests
    106 
    107 To test the installation, users may execute the unit tests which was automatically built
    108 when the user performs a make from the psModule directory.
    109 <pre>
    110 $ cd psModule/test
    111 $ ./FullUnitTest
    112 </pre>
    113 <i>This executes all test drivers in psModule/test.</i>
     92A likely option needed is '--with-pslib-config', which specifies the location of
     93the configuration script for psLib.  By default, iconfigure searches for it using PATH, but that
     94is often not sufficient.
    11495
    11596@section doc How to Create Code Documentation
     
    11899documentation embedded in the code using the following commands:
    119100<pre>
    120 $ cd psModule/src
    121 $ doxygen
     101$ cd psModule
     102$ make docs
    122103</pre>
    123 <i>This places documentation in psModule/docs.</i>
     104<i>This places documentation in PREFIX/docs.</i>
    124105
    125106Also, a prebuilt set of code documentation for both the releases and last
Note: See TracChangeset for help on using the changeset viewer.