Changeset 3231
- Timestamp:
- Feb 15, 2005, 1:59:06 PM (21 years ago)
- Location:
- trunk
- Files:
-
- 3 edited
-
psLib/configure.ac (modified) (8 diffs)
-
psModules/src/pmObjects.c (modified) (8 diffs)
-
psModules/test/Makefile.am (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/psLib/configure.ac
r3220 r3231 1 AC_INIT([pslib],[1.4] )1 AC_INIT([pslib],[1.4],[robert.desonia@mhpcc.hpc.mil]) 2 2 AM_CONFIG_HEADER(src/config.h) 3 3 AM_INIT_AUTOMAKE(pslib, 1.4) … … 7 7 8 8 dnl Setup CFLAGS with project-particulars 9 CFLAGS="${CFLAGS=} -std=c99 - D_GNU_SOURCE"9 CFLAGS="${CFLAGS=} -std=c99 -Wall" 10 10 SUBDIR="etc src test" dnl don't include 'swig', as it is optional 11 11 AH_VERBATIM([_GNU_SOURCE], … … 30 30 AC_LANG(C) 31 31 AC_PROG_CC 32 AC_LANG_WERROR 33 AC_GNU_SOURCE 34 35 AC_LANG_PUSH(Fortran 77) 32 36 AC_PROG_F77 33 37 AC_F77_WRAPPERS 34 AC_F77_LIBRARY_LDFLAGS 38 AC_LANG_POP(Fortran 77) 39 35 40 AC_PROG_INSTALL 36 41 AC_PROG_LIBTOOL … … 55 60 [CFITSIO_LDFLAGS="-L$withval"]) 56 61 CFLAGS="${CFLAGS=} $CFITSIO_CFLAGS" 62 LDFLAGS="${LDFLAGS} $CFITSIO_LDFLAGS -lcfitsio" 57 63 PSLIB_LIBS="${PSLIB_LIBS=} $CFITSIO_LDFLAGS -lcfitsio" 58 64 AC_CHECK_HEADERS([fitsio.h],[], … … 71 77 [FFTW3_LDFLAGS="-L$withval"]) 72 78 CFLAGS="${CFLAGS=} $FFTW3_CFLAGS" 79 LDFLAGS="${LDFLAGS=} $FFTW3_LDFLAGS -lfftw3f" 73 80 PSLIB_LIBS="${PSLIB_LIBS=} $FFTW3_LDFLAGS -lfftw3f" 74 81 AC_MSG_CHECKING([FFTW header files]) … … 87 94 AC_MSG_RESULT([${GSL_CFLAGS}]) 88 95 CFLAGS="${CFLAGS=} ${GSL_CFLAGS}" 96 LDFLAGS="${LDFLAGS=} `${GSL_CONFIG} --libs`" 89 97 PSLIB_LIBS="${PSLIB_LIBS=} `${GSL_CONFIG} --libs`" 90 98 … … 100 108 AC_MSG_RESULT([${XML_CFLAGS}]) 101 109 CFLAGS="${CFLAGS=} ${XML_CFLAGS}" 110 LDFLAGS="${LDFLAGS=} `${XML_CONFIG} --libs`" 102 111 PSLIB_LIBS="${PSLIB_LIBS=} `${XML_CONFIG} --libs`" 103 112 … … 149 158 AC_SUBST(DOXYGEN,$DOXYGEN) 150 159 151 CFLAGS="${CFLAGS=} -Wall -Werror"152 160 CFLAGS="${CFLAGS=} -DPS_CONFIG_FILE_DEFAULT=\\\"$sysconfdir/pslib/psTime.config\\\"" 153 161 -
trunk/psModules/src/pmObjects.c
r3089 r3231 5 5 * @author GLG, MHPCC 6 6 * 7 * @version $Revision: 1. 4$ $Name: not supported by cvs2svn $8 * @date $Date: 2005-0 1-25 02:45:43$7 * @version $Revision: 1.5 $ $Name: not supported by cvs2svn $ 8 * @date $Date: 2005-02-15 23:59:05 $ 9 9 * 10 10 * Copyright 2004 Maui High Performance Computing Center, University of Hawaii … … 114 114 (image->data.F32[row][col] > image->data.F32[row+1][col]) && 115 115 (image->data.F32[row][col] >= image->data.F32[row+1][col+1])) { 116 if (image->data.F32[row][col] > thre ashold) {116 if (image->data.F32[row][col] > threshold) { 117 117 // Add peak at location (row, col) 118 118 } … … 124 124 (image->data.F32[row][col] > image->data.F32[row+1][col]) && 125 125 (image->data.F32[row][col] >= image->data.F32[row+1][col+1])) { 126 if (image->data.F32[row][col] > thre ashold) {126 if (image->data.F32[row][col] > threshold) { 127 127 // Add peak at location (row, col) 128 128 } … … 133 133 (image->data.F32[row][col] > image->data.F32[row+1][col]) && 134 134 (image->data.F32[row][col] >= image->data.F32[row+1][col-1])) { 135 if (image->data.F32[row][col] > thre ashold) {135 if (image->data.F32[row][col] > threshold) { 136 136 // Add peak at location (row, col) 137 137 } … … 159 159 (image->data.F32[row][col] >= image->data.F32[row+1][col]) && 160 160 (image->data.F32[row][col] >= image->data.F32[row+1][col+1])) { 161 if (image->data.F32[row][col] > thre ashold) {161 if (image->data.F32[row][col] > threshold) { 162 162 // Add peak at location (row, col) 163 163 } … … 175 175 (image->data.F32[row][col] >= image->data.F32[row-1][col+1]) && 176 176 (image->data.F32[row][col] > image->data.F32[row][col+1])) { 177 if (image->data.F32[row][col] > thre ashold) {177 if (image->data.F32[row][col] > threshold) { 178 178 // Add peak at location (row, col) 179 179 } … … 185 185 (image->data.F32[row][col] > image->data.F32[row][col-1]) && 186 186 (image->data.F32[row][col] >= image->data.F32[row][col+1])) { 187 if (image->data.F32[row][col] > thre ashold) {187 if (image->data.F32[row][col] > threshold) { 188 188 // Add peak at location (row, col) 189 189 } … … 194 194 (image->data.F32[row][col] > image->data.F32[row-1][col]) && 195 195 (image->data.F32[row][col] > image->data.F32[row][col-1])) { 196 if (image->data.F32[row][col] > thre ashold) {196 if (image->data.F32[row][col] > threshold) { 197 197 // Add peak at location (row, col) 198 198 } -
trunk/psModules/test/Makefile.am
r2756 r3231 1 1 bin_PROGRAMS = tst_pmFlatField tst_pmMaskBadPixels tst_pmNonLinear tst_pmSubtractBias tst_pmReadoutCombine tst_pmSubtractSky 2 2 3 AM_LDFLAGS = -L../src -lpsmodule $(LDFLAGS) 4 3 5 tst_pmFlatField_SOURCES = tst_pmFlatField.c 4 tst_pmFlatField_LDFLAGS = -L../src -lpsmodule5 6 6 7 tst_pmMaskBadPixels_SOURCES = tst_pmMaskBadPixels.c 7 tst_pmMaskBadPixels_LDFLAGS = -L../src -lpsmodule8 8 9 9 tst_pmNonLinear_SOURCES = tst_pmNonLinear.c 10 tst_pmNonLinear_LDFLAGS = -L../src -lpsmodule11 10 12 11 tst_pmSubtractBias_SOURCES = tst_pmSubtractBias.c 13 tst_pmSubtractBias_LDFLAGS = -L../src -lpsmodule14 12 15 13 tst_pmReadoutCombine_SOURCES = tst_pmReadoutCombine.c 16 tst_pmReadoutCombine_LDFLAGS = -L../src -lpsmodule17 14 18 15 tst_pmSubtractSky_SOURCES = tst_pmSubtractSky.c 19 tst_pmSubtractSky_LDFLAGS = -L../src -lpsmodule
Note:
See TracChangeset
for help on using the changeset viewer.
