IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 4549


Ignore:
Timestamp:
Jul 13, 2005, 12:49:31 AM (21 years ago)
Author:
desonia
Message:

code reorganization.

Location:
trunk/psLib
Files:
2 added
6 edited

Legend:

Unmodified
Added
Removed
  • trunk/psLib/configure.ac

    r4541 r4549  
    1414SUBDIR="etc src test" dnl don't include 'swig', as it is optional
    1515
     16SRCPATH="`pwd`/src"
    1617SRCDIRS="sys astro db fft fits imageops math mathtypes types xml"
     18SRCINC=`echo "${SRCDIRS=}" | sed "s|\(\\w\+\)|-I\${SRCPATH=}/\1|g"`
     19
     20SRCSUBLIBS=`echo "${SRCDIRS=}" | sed "s|\(\\w\+\)|\1/libpslib\1.la|g"`
     21AC_SUBST(SRCSUBLIBS,${SRCSUBLIBS=})
     22CFLAGS="${CFLAGS=} -I${SRCPATH=} ${SRCINC=}"
     23AC_SUBST(SRCINC,${SRCINC=})
    1724
    1825AC_DISABLE_STATIC
     
    7481
    7582dnl Add the src directories to the include path
    76 SRCPATH="`pwd`/src"
    77 SRCINC=`echo "${SRCDIRS=}" | sed "s|\(\\w\+\)|-I\${SRCPATH=}/\1|g"`
    78 SRCSUBLIBS=`echo "${SRCDIRS=}" | sed "s|\(\\w\+\)|\1/libpslib\1.la|g"`
    79 AC_SUBST(SRCSUBLIBS,${SRCSUBLIBS=})
    80 CFLAGS="${CFLAGS=} -I${SRCPATH=} ${SRCINC=}"
    81 AC_SUBST(SRCINC,${SRCINC=})
    8283
    8384
     
    253254AC_SUBST(PSLIB_CFLAGS,[$PSLIB_CFLAGS])
    254255
    255 AC_SUBST(LANG,[en])
     256AC_SUBST(PS_LANG,[en])
    256257
    257258AC_CONFIG_FILES([
    258259  Makefile
    259260  src/Makefile
     261  src/sys/Makefile
    260262  src/astro/Makefile
    261263  src/db/Makefile
     
    265267  src/math/Makefile
    266268  src/mathtypes/Makefile
    267   src/sys/Makefile
    268269  src/types/Makefile
    269270  src/xml/Makefile
     271  test/Makefile
     272  test/sys/Makefile
     273  test/astro/Makefile
     274  test/db/Makefile
     275  test/fft/Makefile
     276  test/fits/Makefile
     277  test/imageops/Makefile
     278  test/math/Makefile
     279  test/mathtypes/Makefile
     280  test/types/Makefile
     281  test/xml/Makefile
    270282  test/FullUnitTest
    271   test/Makefile
    272   test/astronomy/Makefile
    273   test/collections/Makefile
    274   test/dataManip/Makefile
    275   test/dataIO/Makefile
    276   test/image/Makefile
    277   test/sysUtils/Makefile
    278283  etc/pslib/Makefile
    279284  etc/Makefile
  • trunk/psLib/src/Makefile.am

    r4540 r4549  
    1212
    1313BUILT_SOURCES = psErrorText.h
    14 psErrorText.h: psErrorText_$(LANG).dat
     14psErrorText.h: psErrorText_$(PS_LANG).dat
    1515        $(top_srcdir)/psParseErrorCodes --data=$? $@
    1616
  • trunk/psLib/src/sys/Makefile.am

    r4540 r4549  
    1717BUILT_SOURCES = psErrorCodes.c
    1818
    19 psErrorCodes.c: ../psErrorCodes_$(LANG).dat psErrorCodes.c.in psErrorCodes.h
    20         $(top_srcdir)/psParseErrorCodes --data=../psErrorCodes_$(LANG).dat $@
     19psErrorCodes.c: ../psErrorCodes_$(PS_LANG).dat psErrorCodes.c.in psErrorCodes.h
     20        $(top_srcdir)/psParseErrorCodes --data=../psErrorCodes_$(PS_LANG).dat $@
    2121
    2222psError.h: psErrorCodes.h
    2323
    24 psErrorCodes.h: ../psErrorCodes_$(LANG).dat psErrorCodes.h.in
    25         $(top_srcdir)/psParseErrorCodes --data=../psErrorCodes_$(LANG).dat $@
     24psErrorCodes.h: ../psErrorCodes_$(PS_LANG).dat psErrorCodes.h.in
     25        $(top_srcdir)/psParseErrorCodes --data=../psErrorCodes_$(PS_LANG).dat $@
    2626
    2727pslibincludedir = $(includedir)
  • trunk/psLib/src/sys/psErrorCodes.c

    r4545 r4549  
    77 *  @author Robert DeSonia, MHPCC
    88 *
    9  *  @version $Revision: 1.22 $ $Name: not supported by cvs2svn $
    10  *  @date $Date: 2005-07-12 19:35:15 $
     9 *  @version $Revision: 1.23 $ $Name: not supported by cvs2svn $
     10 *  @date $Date: 2005-07-13 10:49:30 $
    1111 *
    1212 *  Copyright 2004-2005 Maui High Performance Computing Center, University of Hawaii
  • trunk/psLib/test/sys/Makefile.am

    r4547 r4549  
    1 #Makefile for mathtypes tests
     1#Makefile for sys tests
    22#
    33AM_LDFLAGS = -L$(top_builddir)/src -lpslib $(PSLIB_LIBS)
     
    1212        tst_psTrace
    1313
    14 tst_psImage_SOURCES =  tst_psImage.c
    15 tst_psScalar_SOURCES =  tst_psScalar.c
    16 tst_psVector_SOURCES =  tst_psVector.c
    17 tst_psVectorSort_01_SOURCES =  tst_psVectorSort_01.c
    18 tst_psVectorSort_02_SOURCES =  tst_psVectorSort_02.c
    19 tst_psVectorSort_03_SOURCES =  tst_psVectorSort_03.c
    20 tst_psVectorSort_04_SOURCES =  tst_psVectorSort_04.c
     14tst_psAbort_SOURCES =  tst_psAbort.c
     15tst_psConfigure_SOURCES =  tst_psConfigure.c
     16tst_psError_SOURCES =  tst_psError.c
     17tst_psLogMsg_SOURCES =  tst_psLogMsg.c
     18tst_psMemory_SOURCES =  tst_psMemory.c
     19tst_psString_SOURCES =  tst_psString.c
     20tst_psTrace_SOURCES =  tst_psTrace.c
    2121
    2222check_DATA =
  • trunk/psLib/test/types/Makefile.am

    r4547 r4549  
    44
    55TESTS = \
    6         tst_psImage \
    7         tst_psScalar \
    8         tst_psVector \
    9         tst_psVectorSort_01 \
    10         tst_psVectorSort_02 \
    11         tst_psVectorSort_03 \
    12         tst_psVectorSort_04
     6        tst_psArray \
     7        tst_psBitSet \
     8        tst_psHash00          \
     9        tst_psHash01          \
     10        tst_psHash02          \
     11        tst_psHash03          \
     12        tst_psHash04          \
     13        tst_psHash05          \
     14        tst_psList            \
     15        tst_psLookupTable_01  \
     16        tst_psMetadata_01 \
     17        tst_psMetadata_02 \
     18        tst_psMetadata_03 \
     19        tst_psMetadata_04 \
     20        tst_psMetadata_05 \
     21        tst_psMetadata_06 \
     22        tst_psMetadata_07 \
     23        tst_psMetadataIO  \
     24        tst_psPixels
    1325
    14 tst_psImage_SOURCES =  tst_psImage.c
    15 tst_psScalar_SOURCES =  tst_psScalar.c
    16 tst_psVector_SOURCES =  tst_psVector.c
    17 tst_psVectorSort_01_SOURCES =  tst_psVectorSort_01.c
    18 tst_psVectorSort_02_SOURCES =  tst_psVectorSort_02.c
    19 tst_psVectorSort_03_SOURCES =  tst_psVectorSort_03.c
    20 tst_psVectorSort_04_SOURCES =  tst_psVectorSort_04.c
     26
     27tst_psArray_SOURCES = tst_psArray.c
     28tst_psBitSet_SOURCES = tst_psBitSet.c
     29tst_psHash00_SOURCES = tst_psHash00.c
     30tst_psHash01_SOURCES = tst_psHash01.c
     31tst_psHash02_SOURCES = tst_psHash02.c
     32tst_psHash03_SOURCES = tst_psHash03.c
     33tst_psHash04_SOURCES = tst_psHash04.c
     34tst_psHash05_SOURCES = tst_psHash05.c
     35tst_psList_SOURCES = tst_psList.c
     36tst_psLookupTable_01_SOURCES = tst_psLookupTable_01.c
     37tst_psMetadata_01_SOURCES = tst_psMetadata_01.c
     38tst_psMetadata_02_SOURCES = tst_psMetadata_02.c
     39tst_psMetadata_03_SOURCES = tst_psMetadata_03.c
     40tst_psMetadata_04_SOURCES = tst_psMetadata_04.c
     41tst_psMetadata_05_SOURCES = tst_psMetadata_05.c
     42tst_psMetadata_06_SOURCES = tst_psMetadata_06.c
     43tst_psMetadata_07_SOURCES = tst_psMetadata_07.c
     44tst_psMetadataIO_SOURCES = tst_psMetadataIO.c
     45tst_psPixels_SOURCES = tst_psPixels.c
    2146
    2247check_DATA =
Note: See TracChangeset for help on using the changeset viewer.