Changeset 3651
- Timestamp:
- Apr 4, 2005, 12:21:18 PM (21 years ago)
- Location:
- trunk/psModules
- Files:
-
- 3 added
- 1 deleted
- 5 edited
-
. (modified) (1 prop)
-
.cvsignore (modified) (1 diff)
-
Doxyfile.in (added)
-
Makefile.am (modified) (1 diff)
-
configure.ac (modified) (2 diffs)
-
psmodule-config.in (added)
-
psmodule.pc.in (added)
-
src/Doxyfile (deleted)
-
src/mainpage.dox (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/psModules
- Property svn:ignore
-
old new 7 7 aclocal.m4 8 8 configure 9 Doxyfile 10 DoxygenLog 11 docs 12 man 13 psmodule-config 14 psmodule.pc 15 bin 16 include 17 lib
-
- Property svn:ignore
-
trunk/psModules/.cvsignore
r3633 r3651 7 7 aclocal.m4 8 8 configure 9 Doxyfile 10 DoxygenLog 11 docs 12 man 13 psmodule-config 14 psmodule.pc 15 bin 16 include 17 lib 9 18 -
trunk/psModules/Makefile.am
r3623 r3651 1 AUTOMAKE_OPTIONS = foreign 1.42 1 3 2 SUBDIRS = src test 4 3 4 bin_SCRIPTS = psmodule-config 5 6 pkgconfigdir = $(libdir)/pkgconfig 7 pkgconfig_DATA= psmodule.pc 8 9 EXTRA_DIST = Doxyfile.in psmodule-config.in psmodule.pc.in 10 11 docs: 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 22 uninstall-hook: 23 rm -rf $(prefix)/docs/psmodule/* 24 25 CLEANFILES = $(prefix)/docs/psmodule/* 26 5 27 test: check -
trunk/psModules/configure.ac
r3636 r3651 10 10 AC_SUBST(CFLAGS) 11 11 12 CFLAGS="${CFLAGS=} -Wall -Werror -std=c99 -D_GNU_SOURCE" 12 AC_MSG_CHECKING([C99 flag]) 13 if test "$GCC" == "yes" 14 then 15 CFLAGS="${CFLAGS=} -std=gnu99" 16 AC_MSG_RESULT([-std=gnu99]) 17 else 18 CFLAGS="${CFLAGS=} -std=c99" 19 AC_MSG_RESULT([-std=c99]) 20 fi 21 22 AC_GNU_SOURCE 13 23 14 24 AC_PROG_INSTALL 15 25 AM_PROG_LIBTOOL 26 27 AC_PREFIX_DEFAULT([`pwd`]) 28 test "$prefix" = NONE && prefix=`pwd` 29 30 DOXYGEN="doxygen Doxyfile" 31 AC_CHECK_PROG(DOXYGEN,doxygen,[echo Doxygen not detected in configure stage.]) 32 AC_SUBST(DOXYGEN,$DOXYGEN) 16 33 17 34 AC_ARG_WITH(pslib-config, … … 33 50 AC_CHECK_LIB(pslib,main,,AC_MSG_ERROR(psLib library required)) 34 51 35 AC_OUTPUT(Makefile src/Makefile test/Makefile) 52 CFLAGS="${CFLAGS=} -Wall -Werror" 53 54 AC_CONFIG_FILES([Makefile]) 55 AC_CONFIG_FILES([src/Makefile]) 56 AC_CONFIG_FILES([test/Makefile]) 57 AC_CONFIG_FILES([Doxyfile]) 58 AC_CONFIG_FILES([psmodule-config]) 59 AC_CONFIG_FILES([psmodule.pc]) 60 61 AC_OUTPUT -
trunk/psModules/src/mainpage.dox
r3049 r3651 17 17 - Combine readouts (pmReadoutCombine) 18 18 - Subtract sky (pmSubtractSky) 19 - Object detection (pmObjects) 19 20 21 The installed code for psModule consists of header files and a binary library. 20 22 21 The installed code for psModule consists of header files and a static binary library (libpsmodule.a). 23 @section extinstall Required external Libraries 22 24 23 @section extinstall Required 3rd Party Libraries 24 25 Before building psLib from source, several 3rd party software libraries must 25 Before building psLib from source, several external software libraries must 26 26 be installed. These include: 27 27 - Pan-STARRS Library (psLib) 28 28 - 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. 40 31 - Doxygen Documentation System 32 - Only needed if code documentation is to be made 41 33 - Available at http://www.doxygen.org 42 34 - Compatibility tested with version 1.3.6 43 35 - The optional companion package, GraphViz (a.k.a., the 'dot' command), is recommended to enable header-file dependency diagrams 44 - SLALIB45 - Available at http://star-www.rl.ac.uk/46 - Compatibility tested with package version number 2.4-1247 - Gnome XML C parser and toolkit (libxml2)48 - Available at http://www.xmlsoft.org49 - Compatibility tested with version 2-2.6.16-350 36 51 37 We recommend using the particular versions listed as compatibility tested, as … … 81 67 where: 82 68 - USERNAME is your login name on the server 83 - RELEASEBRANCH is the desired release branch, e.g. rel 1.69 - RELEASEBRANCH is the desired release branch, e.g. rel5. 84 70 85 71 86 @section build How to Build the psModule library.72 @section build How to Build and Test the psModule Library. 87 73 88 74 The psModule library and associated tests are made via the GNU autoconf/automake system. … … 92 78 <pre> 93 79 $ cd psModule 94 $ configure --with-psLib=/home/kaiser/psLib (NB: Directory for psLib will vary)80 $ ./configure 95 81 $ make 82 $ make check 83 $ make install 96 84 </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> 98 86 99 Other configuration options, such as location of other 3rd partylibraries, are also available.87 Other configuration options, such as location of external libraries, are also available. 100 88 To get a list of options, type the following in the top psModule directory. 101 89 <pre> 102 90 $ configure --help 103 91 </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> 92 A likely option needed is '--with-pslib-config', which specifies the location of 93 the configuration script for psLib. By default, iconfigure searches for it using PATH, but that 94 is often not sufficient. 114 95 115 96 @section doc How to Create Code Documentation … … 118 99 documentation embedded in the code using the following commands: 119 100 <pre> 120 $ cd psModule /src121 $ doxygen101 $ cd psModule 102 $ make docs 122 103 </pre> 123 <i>This places documentation in psModule/docs.</i>104 <i>This places documentation in PREFIX/docs.</i> 124 105 125 106 Also, a prebuilt set of code documentation for both the releases and last
Note:
See TracChangeset
for help on using the changeset viewer.
