Changeset 8569
- Timestamp:
- Aug 24, 2006, 1:13:37 PM (20 years ago)
- Location:
- trunk/psModules
- Files:
-
- 2 added
- 2 deleted
- 22 edited
-
Doxyfile.in (modified) (1 diff)
-
Makefile.am (modified) (2 diffs)
-
autogen.sh (modified) (1 diff)
-
configure.ac (modified) (4 diffs)
-
psmodule-config.in (deleted)
-
psmodule.pc.in (deleted)
-
psmodules-config.in (added)
-
psmodules.pc.in (added)
-
src/Makefile.am (modified) (1 diff)
-
src/astrom/Makefile.am (modified) (1 diff)
-
src/camera/Makefile.am (modified) (2 diffs)
-
src/concepts/Makefile.am (modified) (2 diffs)
-
src/config/Makefile.am (modified) (1 diff)
-
src/detrend/Makefile.am (modified) (2 diffs)
-
src/imcombine/Makefile.am (modified) (1 diff)
-
src/mainpage.dox (modified) (9 diffs)
-
src/objects/Makefile.am (modified) (2 diffs)
-
test/Makefile.am (modified) (1 diff)
-
test/astrom/Makefile.am (modified) (1 diff)
-
test/camera/Makefile.am (modified) (1 diff)
-
test/concepts/Makefile.am (modified) (1 diff)
-
test/config/Makefile.am (modified) (1 diff)
-
test/detrend/Makefile.am (modified) (1 diff)
-
test/imcombine/Makefile.am (modified) (1 diff)
-
test/objects/Makefile.am (modified) (1 diff)
-
test/pslib/Makefile.am (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/psModules/Doxyfile.in
r5067 r8569 31 31 # where doxygen was started. If left blank the current directory will be used. 32 32 33 OUTPUT_DIRECTORY = @prefix@/docs/psmodule 33 OUTPUT_DIRECTORY = @prefix@/docs/psmodules 34 34 35 35 # The OUTPUT_LANGUAGE tag is used to specify the language in which all -
trunk/psModules/Makefile.am
r7215 r8569 1 1 SUBDIRS = src test 2 2 3 bin_SCRIPTS = psmodule -config3 bin_SCRIPTS = psmodules-config 4 4 5 5 pkgconfigdir = $(libdir)/pkgconfig 6 pkgconfig_DATA= psmodule .pc6 pkgconfig_DATA= psmodules.pc 7 7 8 8 EXTRA_DIST = \ 9 9 Doxyfile.in \ 10 psmodule -config.in \11 psmodule .pc.in \10 psmodules-config.in \ 11 psmodules.pc.in \ 12 12 autogen.sh 13 13 14 14 if DOXYGEN 15 15 16 docs: Doxyfile $(prefix)/docs/psmodule $(mandir)/man316 docs: Doxyfile $(prefix)/docs/psmodules $(mandir)/man3 17 17 doxygen Doxyfile 18 mv -f $(prefix)/docs/psmodule /man/man3/* $(mandir)/man319 rm -rf $(prefix)/docs/psmodule /man18 mv -f $(prefix)/docs/psmodules/man/man3/* $(mandir)/man3 19 rm -rf $(prefix)/docs/psmodules/man 20 20 21 $(prefix)/docs/psmodule :22 mkdir -p $(prefix)/docs/psmodule 21 $(prefix)/docs/psmodules: 22 mkdir -p $(prefix)/docs/psmodules 23 23 24 24 $(mandir)/man3: … … 26 26 27 27 uninstall-hook: 28 rm -rf $(prefix)/docs/psmodule /*28 rm -rf $(prefix)/docs/psmodules/* 29 29 30 CLEANFILES = $(prefix)/docs/psmodule /* *~30 CLEANFILES = $(prefix)/docs/psmodules/* *~ 31 31 32 32 endif -
trunk/psModules/autogen.sh
r3858 r8569 8 8 cd $srcdir 9 9 10 PROJECT=psmodule 10 PROJECT=psmodules 11 11 TEST_TYPE=-f 12 FILE=psmodule .pc.in12 FILE=psmodules.pc.in 13 13 14 14 DIE=0 -
trunk/psModules/configure.ac
r7871 r8569 1 1 AC_PREREQ(2.59) 2 2 3 AC_INIT([psmodule ],[0.12.99],[http://pan-starrs.ifa.hawaii.edu/bugzilla])4 AC_CONFIG_SRCDIR([psmodule .pc.in])3 AC_INIT([psmodules],[0.12.99],[http://pan-starrs.ifa.hawaii.edu/bugzilla]) 4 AC_CONFIG_SRCDIR([psmodules.pc.in]) 5 5 6 6 AM_INIT_AUTOMAKE([1.7 foreign dist-bzip2]) … … 53 53 SRCINC=`echo "${SRCDIRS=}" | ${PERL} -pe "s|(\w+)|-I\\\\${SRCPATH=}/\1|g"` 54 54 SRCINC="-I${SRCPATH=} ${SRCINC=}" 55 SRCSUBLIBS=`echo "${SRCDIRS=}" | ${PERL} -pe "s|(\w+)|\1/libpsmodule \1.la|g"`55 SRCSUBLIBS=`echo "${SRCDIRS=}" | ${PERL} -pe "s|(\w+)|\1/libpsmodules\1.la|g"` 56 56 AC_SUBST(SRCSUBLIBS,${SRCSUBLIBS=}) 57 57 AC_SUBST(SRCINC,${SRCINC=}) … … 107 107 fi 108 108 109 PSMODULE _CFLAGS="${PSMODULE_CFLAGS=} ${PSLIB_CFLAGS}"110 PSMODULE _LIBS="${PSMODULE_LIBS=} ${PSLIB_LIBS}"109 PSMODULES_CFLAGS="${PSMODULES_CFLAGS=} ${PSLIB_CFLAGS}" 110 PSMODULES_LIBS="${PSMODULES_LIBS=} ${PSLIB_LIBS}" 111 111 dnl --------------------------------------------------------------------------- 112 112 113 AC_SUBST([PSMODULE _CFLAGS])114 AC_SUBST([PSMODULE _LIBS])113 AC_SUBST([PSMODULES_CFLAGS]) 114 AC_SUBST([PSMODULES_LIBS]) 115 115 116 116 AC_CONFIG_FILES([ … … 133 133 test/objects/Makefile 134 134 Doxyfile 135 psmodule -config136 psmodule .pc135 psmodules-config 136 psmodules.pc 137 137 ]) 138 138 -
trunk/psModules/src/Makefile.am
r7215 r8569 1 1 SUBDIRS = $(SRCDIRS) 2 lib_LTLIBRARIES = libpsmodule .la2 lib_LTLIBRARIES = libpsmodules.la 3 3 4 libpsmodule _la_SOURCES = dummy.c5 libpsmodule _la_CPPFLAGS = $(SRCINC)6 libpsmodule _la_LIBADD = $(SRCSUBLIBS)7 libpsmodule _la_DEPENDENCIES = $(SRCSUBLIBS)4 libpsmodules_la_SOURCES = dummy.c 5 libpsmodules_la_CPPFLAGS = $(SRCINC) 6 libpsmodules_la_LIBADD = $(SRCSUBLIBS) 7 libpsmodules_la_DEPENDENCIES = $(SRCSUBLIBS) 8 8 9 9 include_HEADERS = \ -
trunk/psModules/src/astrom/Makefile.am
r7215 r8569 1 noinst_LTLIBRARIES = libpsmodule astrom.la1 noinst_LTLIBRARIES = libpsmodulesastrom.la 2 2 3 libpsmodule astrom_la_CPPFLAGS = $(SRCINC) $(PSMODULE_CFLAGS) -I../pslib/4 libpsmodule astrom_la_LDFLAGS = -release $(PACKAGE_VERSION)5 libpsmodule astrom_la_SOURCES = \3 libpsmodulesastrom_la_CPPFLAGS = $(SRCINC) $(PSMODULES_CFLAGS) -I../pslib/ 4 libpsmodulesastrom_la_LDFLAGS = -release $(PACKAGE_VERSION) 5 libpsmodulesastrom_la_SOURCES = \ 6 6 pmAstrometryObjects.c \ 7 7 pmAstrometryDistortion.c 8 8 9 psmodule includedir = $(includedir)10 psmodule include_HEADERS = \9 psmodulesincludedir = $(includedir) 10 psmodulesinclude_HEADERS = \ 11 11 pmAstrometryObjects.h \ 12 12 pmAstrometryDistortion.h -
trunk/psModules/src/camera/Makefile.am
r7589 r8569 1 noinst_LTLIBRARIES = libpsmodule camera.la1 noinst_LTLIBRARIES = libpsmodulescamera.la 2 2 3 libpsmodule camera_la_CPPFLAGS = $(SRCINC) $(PSMODULE_CFLAGS)4 libpsmodule camera_la_LDFLAGS = -release $(PACKAGE_VERSION)5 libpsmodule camera_la_SOURCES = \3 libpsmodulescamera_la_CPPFLAGS = $(SRCINC) $(PSMODULES_CFLAGS) 4 libpsmodulescamera_la_LDFLAGS = -release $(PACKAGE_VERSION) 5 libpsmodulescamera_la_SOURCES = \ 6 6 pmFPA.c \ 7 7 pmFPAConstruct.c \ … … 23 23 pmFPAfileFitsIO.c 24 24 25 psmodule includedir = $(includedir)26 psmodule include_HEADERS = \25 psmodulesincludedir = $(includedir) 26 psmodulesinclude_HEADERS = \ 27 27 pmFPA.h \ 28 28 pmFPAConstruct.h \ -
trunk/psModules/src/concepts/Makefile.am
r7849 r8569 1 noinst_LTLIBRARIES = libpsmodule concepts.la1 noinst_LTLIBRARIES = libpsmodulesconcepts.la 2 2 3 libpsmodule concepts_la_CPPFLAGS = $(SRCINC) $(PSMODULE_CFLAGS)4 libpsmodule concepts_la_LDFLAGS = -release $(PACKAGE_VERSION)5 libpsmodule concepts_la_SOURCES = \3 libpsmodulesconcepts_la_CPPFLAGS = $(SRCINC) $(PSMODULES_CFLAGS) 4 libpsmodulesconcepts_la_LDFLAGS = -release $(PACKAGE_VERSION) 5 libpsmodulesconcepts_la_SOURCES = \ 6 6 pmConcepts.c \ 7 7 pmConceptsAverage.c \ … … 11 11 pmConceptsPhotcode.c 12 12 13 psmodule includedir = $(includedir)14 psmodule include_HEADERS = \13 psmodulesincludedir = $(includedir) 14 psmodulesinclude_HEADERS = \ 15 15 pmConcepts.h \ 16 16 pmConceptsAverage.h \ -
trunk/psModules/src/config/Makefile.am
r7215 r8569 1 noinst_LTLIBRARIES = libpsmodule config.la1 noinst_LTLIBRARIES = libpsmodulesconfig.la 2 2 3 libpsmodule config_la_CPPFLAGS = $(SRCINC) $(PSMODULE_CFLAGS)4 libpsmodule config_la_LDFLAGS = -release $(PACKAGE_VERSION)5 libpsmodule config_la_SOURCES = \3 libpsmodulesconfig_la_CPPFLAGS = $(SRCINC) $(PSMODULES_CFLAGS) 4 libpsmodulesconfig_la_LDFLAGS = -release $(PACKAGE_VERSION) 5 libpsmodulesconfig_la_SOURCES = \ 6 6 pmConfig.c 7 7 8 psmodule includedir = $(includedir)9 psmodule include_HEADERS = \8 psmodulesincludedir = $(includedir) 9 psmodulesinclude_HEADERS = \ 10 10 pmConfig.h 11 11 -
trunk/psModules/src/detrend/Makefile.am
r7770 r8569 1 noinst_LTLIBRARIES = libpsmodule detrend.la1 noinst_LTLIBRARIES = libpsmodulesdetrend.la 2 2 3 libpsmodule detrend_la_CPPFLAGS = $(SRCINC) $(PSMODULE_CFLAGS)4 libpsmodule detrend_la_LDFLAGS = -release $(PACKAGE_VERSION)5 libpsmodule detrend_la_SOURCES = \3 libpsmodulesdetrend_la_CPPFLAGS = $(SRCINC) $(PSMODULES_CFLAGS) 4 libpsmodulesdetrend_la_LDFLAGS = -release $(PACKAGE_VERSION) 5 libpsmodulesdetrend_la_SOURCES = \ 6 6 pmFlatField.c \ 7 7 pmFlatNormalize.c \ … … 16 16 # pmSubtractSky.c 17 17 18 psmodule includedir = $(includedir)19 psmodule include_HEADERS = \18 psmodulesincludedir = $(includedir) 19 psmodulesinclude_HEADERS = \ 20 20 pmFlatField.h \ 21 21 pmFlatFieldErrors.h \ -
trunk/psModules/src/imcombine/Makefile.am
r7215 r8569 1 noinst_LTLIBRARIES = libpsmodule imcombine.la1 noinst_LTLIBRARIES = libpsmodulesimcombine.la 2 2 3 libpsmodule imcombine_la_CPPFLAGS = $(SRCINC) $(PSMODULE_CFLAGS)4 libpsmodule imcombine_la_LDFLAGS = -release $(PACKAGE_VERSION)3 libpsmodulesimcombine_la_CPPFLAGS = $(SRCINC) $(PSMODULES_CFLAGS) 4 libpsmodulesimcombine_la_LDFLAGS = -release $(PACKAGE_VERSION) 5 5 6 libpsmodule imcombine_la_SOURCES = \6 libpsmodulesimcombine_la_SOURCES = \ 7 7 pmImageCombine.c \ 8 8 pmImageSubtract.c \ 9 9 pmReadoutCombine.c 10 10 11 psmodule includedir = $(includedir)12 psmodule include_HEADERS = \11 psmodulesincludedir = $(includedir) 12 psmodulesinclude_HEADERS = \ 13 13 pmImageCombine.h \ 14 14 pmImageSubtract.h \ -
trunk/psModules/src/mainpage.dox
r5710 r8569 1 /** @mainpage psModule Image Processing Library1 /** @mainpage psModules Image Processing Library 2 2 3 3 4 4 @section intro Introduction 5 This library contains the Pan-STARRS Image Processing Pipeline (IPP) modules (psModule ). These modules5 This library contains the Pan-STARRS Image Processing Pipeline (IPP) modules (psModules). These modules 6 6 use the functionality of the Pan-STARRS Library (psLib) to perform more complex tasks associated with image 7 7 processing. Modules were constructed to support each of the required processing stages and are listed according … … 9 9 structures and functions are prefixed with pm, an abbreviation for Pan-STARRS Modules. 10 10 11 The capabilities provided by psModule are grouped into the following areas which are11 The capabilities provided by psModules are grouped into the following areas which are 12 12 also reflected in the file system directory structure: 13 13 - Configuration … … 19 19 - Image Subtraction 20 20 21 The installed code for psModule consists of header files and a binary library.21 The installed code for psModules consists of header files and a binary library. 22 22 23 23 @section extinstall Required external Libraries … … 37 37 We recommend using the particular versions listed as compatibility tested, as 38 38 that is the only versions of the external libraries tested to work well with psLib 39 and psModule . Though it is quite possible that later versions of the libraries39 and psModules. Though it is quite possible that later versions of the libraries 40 40 listed will also work, care must be taken when upgrading these libraries to verify 41 41 that its functionality is compatible with the tested version. … … 43 43 @section install How to Build from Source 44 44 45 Tested versions of psModule are put into a tar file and can be downloaded from:45 Tested versions of psModules are put into a tar file and can be downloaded from: 46 46 47 47 https://mhpcc.pan-starrs.org/code/releases … … 58 58 59 59 60 @section build How to Build and Test the psModule Library.60 @section build How to Build and Test the psModules Library. 61 61 62 The psModule library and associated tests are made via the GNU autoconf/automake system.62 The psModules library and associated tests are made via the GNU autoconf/automake system. 63 63 64 The source should build using the configure script in the psModule directory. The64 The source should build using the configure script in the psModules directory. The 65 65 recommended steps are: 66 66 <pre> 67 $ cd ps Module67 $ cd psmodules 68 68 $ ./configure 69 69 $ make … … 77 77 78 78 Other configuration options, such as location of external libraries, are also available. 79 To get a list of options, type the following in the top psModule directory.79 To get a list of options, type the following in the top psModules directory. 80 80 <pre> 81 81 $ configure --help … … 94 94 95 95 96 @section usage Building and Linking your code to the psModule library96 @section usage Building and Linking your code to the psModules library 97 97 98 98 To assist the use of the library with your own code, a configuration tool is part 99 of the psModule library package. This tool, psmodule-config, is installed in the BIN99 of the psModules library package. This tool, psmodules-config, is installed in the BIN 100 100 directory, according to the options given to the configure script. 101 101 102 The required CFLAG options for the compiler stage of code that uses psModule can be103 obtained via 'psmodule -config --cflags'. This outputs the cc options that supplies104 include path(s) required to find the psModule headers.102 The required CFLAG options for the compiler stage of code that uses psModules can be 103 obtained via 'psmodules-config --cflags'. This outputs the cc options that supplies 104 include path(s) required to find the psModules headers. 105 105 106 The required linking options, can be obtained via 'psmodule -config --libs'. This106 The required linking options, can be obtained via 'psmodules-config --libs'. This 107 107 outputs the ld options that supplies the library paths and files required to 108 link to the psModule library.108 link to the psModules library. 109 109 110 Note: psmodule -config usage above refers to the install locations of the library.110 Note: psmodules-config usage above refers to the install locations of the library. 111 111 112 112 @section doc How to Create Code Documentation … … 115 115 documentation embedded in the code using the following commands: 116 116 <pre> 117 $ cd ps Module117 $ cd psmodules 118 118 $ make docs 119 119 </pre> -
trunk/psModules/src/objects/Makefile.am
r7215 r8569 1 noinst_LTLIBRARIES = libpsmodule objects.la1 noinst_LTLIBRARIES = libpsmodulesobjects.la 2 2 3 libpsmodule objects_la_CPPFLAGS = $(SRCINC) $(PSMODULE_CFLAGS) -I../pslib/4 libpsmodule objects_la_LDFLAGS = -release $(PACKAGE_VERSION)5 libpsmodule objects_la_SOURCES = \3 libpsmodulesobjects_la_CPPFLAGS = $(SRCINC) $(PSMODULES_CFLAGS) -I../pslib/ 4 libpsmodulesobjects_la_LDFLAGS = -release $(PACKAGE_VERSION) 5 libpsmodulesobjects_la_SOURCES = \ 6 6 pmPeaks.c \ 7 7 pmMoments.c \ … … 30 30 models/pmModel_SGAUSS.c 31 31 32 psmodule includedir = $(includedir)33 psmodule include_HEADERS = \32 psmodulesincludedir = $(includedir) 33 psmodulesinclude_HEADERS = \ 34 34 pmPeaks.h \ 35 35 pmMoments.h \ -
trunk/psModules/test/Makefile.am
r7215 r8569 1 # Makefile for psModule tests2 3 1 SUBDIRS = $(SRCDIRS) 4 2 -
trunk/psModules/test/astrom/Makefile.am
r7215 r8569 1 # Makefile for psModule tests 2 3 AM_LDFLAGS = -L$(top_builddir)/src -lpsmodule $(PSMODULE_LIBS) 4 AM_CFLAGS = @AM_CFLAGS@ $(PSMODULE_CFLAGS) $(SRCINC) 1 AM_LDFLAGS = -L$(top_builddir)/src -lpsmodules $(PSMODULES_LIBS) 2 AM_CFLAGS = @AM_CFLAGS@ $(PSMODULES_CFLAGS) $(SRCINC) 5 3 AM_CPPFLAGS = $(SRCINC) $(PSLIB_CFLAGS) 6 4 -
trunk/psModules/test/camera/Makefile.am
r7215 r8569 1 # Makefile for psModule tests 2 3 AM_LDFLAGS = -L$(top_builddir)/src -lpsmodule $(PSMODULE_LIBS) 4 AM_CFLAGS = @AM_CFLAGS@ $(PSMODULE_CFLAGS) $(SRCINC) 1 AM_LDFLAGS = -L$(top_builddir)/src -lpsmodules $(PSMODULES_LIBS) 2 AM_CFLAGS = @AM_CFLAGS@ $(PSMODULES_CFLAGS) $(SRCINC) 5 3 AM_CPPFLAGS = $(SRCINC) $(PSLIB_CFLAGS) 6 4 -
trunk/psModules/test/concepts/Makefile.am
r7215 r8569 1 # Makefile for psModule tests 2 3 AM_LDFLAGS = -L$(top_builddir)/src -lpsmodule $(PSMODULE_LIBS) 4 AM_CFLAGS = @AM_CFLAGS@ $(PSMODULE_CFLAGS) $(SRCINC) 1 AM_LDFLAGS = -L$(top_builddir)/src -lpsmodules $(PSMODULES_LIBS) 2 AM_CFLAGS = @AM_CFLAGS@ $(PSMODULES_CFLAGS) $(SRCINC) 5 3 AM_CPPFLAGS = $(SRCINC) $(PSLIB_CFLAGS) 6 4 -
trunk/psModules/test/config/Makefile.am
r7215 r8569 1 # Makefile for psModule tests 2 3 AM_LDFLAGS = -L$(top_builddir)/src -lpsmodule $(PSMODULE_LIBS) 4 AM_CFLAGS = @AM_CFLAGS@ $(PSMODULE_CFLAGS) $(SRCINC) 1 AM_LDFLAGS = -L$(top_builddir)/src -lpsmodules $(PSMODULES_LIBS) 2 AM_CFLAGS = @AM_CFLAGS@ $(PSMODULES_CFLAGS) $(SRCINC) 5 3 6 4 TESTS = \ -
trunk/psModules/test/detrend/Makefile.am
r7212 r8569 1 # Makefile for psModule tests 2 3 AM_LDFLAGS = -L$(top_builddir)/src -lpsmodule $(PSMODULE_LIBS) 4 AM_CFLAGS = @AM_CFLAGS@ $(PSMODULE_CFLAGS) $(SRCINC) 1 AM_LDFLAGS = -L$(top_builddir)/src -lpsmodules $(PSMODULES_LIBS) 2 AM_CFLAGS = @AM_CFLAGS@ $(PSMODULES_CFLAGS) $(SRCINC) 5 3 AM_CPPFLAGS = $(SRCINC) $(PSLIB_CFLAGS) 6 4 -
trunk/psModules/test/imcombine/Makefile.am
r7212 r8569 1 # Makefile for psModule tests 2 3 AM_LDFLAGS = -L$(top_builddir)/src -lpsmodule $(PSMODULE_LIBS) 4 AM_CFLAGS = @AM_CFLAGS@ $(PSMODULE_CFLAGS) $(SRCINC) 1 AM_LDFLAGS = -L$(top_builddir)/src -lpsmodules $(PSMODULES_LIBS) 2 AM_CFLAGS = @AM_CFLAGS@ $(PSMODULES_CFLAGS) $(SRCINC) 5 3 6 4 TESTS = \ -
trunk/psModules/test/objects/Makefile.am
r7215 r8569 1 # Makefile for psModule tests 2 3 AM_LDFLAGS = -L$(top_builddir)/src -lpsmodule $(PSMODULE_LIBS) 4 AM_CFLAGS = @AM_CFLAGS@ $(PSMODULE_CFLAGS) $(SRCINC) 1 AM_LDFLAGS = -L$(top_builddir)/src -lpsmodules $(PSMODULES_LIBS) 2 AM_CFLAGS = @AM_CFLAGS@ $(PSMODULES_CFLAGS) $(SRCINC) 5 3 6 4 TESTS = \ -
trunk/psModules/test/pslib/Makefile.am
r7215 r8569 1 # Makefile for psModule tests 2 3 AM_LDFLAGS = -L$(top_builddir)/src -lpsmodule $(PSMODULE_LIBS) 4 AM_CFLAGS = @AM_CFLAGS@ $(PSMODULE_CFLAGS) $(SRCINC) 1 AM_LDFLAGS = -L$(top_builddir)/src -lpsmodules $(PSMODULES_LIBS) 2 AM_CFLAGS = @AM_CFLAGS@ $(PSMODULES_CFLAGS) $(SRCINC) 5 3 6 4 TESTS =
Note:
See TracChangeset
for help on using the changeset viewer.
