IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Jul 12, 2005, 9:27:28 AM (21 years ago)
Author:
desonia
Message:

Massive code restructuring.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/psLib/configure.ac

    r4209 r4541  
    1313
    1414SUBDIR="etc src test" dnl don't include 'swig', as it is optional
     15
     16SRCDIRS="sys astro db fft fits imageops math mathtypes types xml"
    1517
    1618AC_DISABLE_STATIC
     
    7072AC_FUNC_VPRINTF
    7173AC_CHECK_FUNCS([floor gethostname gettimeofday memmove memset mkdir pow regcomp sqrt strchr strcspn strerror strrchr strstr strtol strtoul strtoull])
     74
     75dnl Add the src directories to the include path
     76SRCPATH="`pwd`/src"
     77SRCINC=`echo "${SRCDIRS=}" | sed "s|\(\\w\+\)|-I\${SRCPATH=}/\1|g"`
     78SRCSUBLIBS=`echo "${SRCDIRS=}" | sed "s|\(\\w\+\)|\1/libpslib\1.la|g"`
     79AC_SUBST(SRCSUBLIBS,${SRCSUBLIBS=})
     80CFLAGS="${CFLAGS=} -I${SRCPATH=} ${SRCINC=}"
     81AC_SUBST(SRCINC,${SRCINC=})
     82
    7283
    7384dnl ----------------- MYSQL options --------------------
     
    238249
    239250AC_SUBST(SUBDIR,[$SUBDIR])
     251AC_SUBST(SRCDIRS,[$SRCDIRS])
    240252AC_SUBST(PSLIB_LIBS,[$PSLIB_LIBS])
    241253AC_SUBST(PSLIB_CFLAGS,[$PSLIB_CFLAGS])
     254
     255AC_SUBST(LANG,[en])
    242256
    243257AC_CONFIG_FILES([
    244258  Makefile
    245259  src/Makefile
    246   src/astronomy/Makefile
    247   src/collections/Makefile
    248   src/dataManip/Makefile
    249   src/dataIO/Makefile
    250   src/image/Makefile
    251   src/sysUtils/Makefile
     260  src/astro/Makefile
     261  src/db/Makefile
     262  src/fft/Makefile
     263  src/fits/Makefile
     264  src/imageops/Makefile
     265  src/math/Makefile
     266  src/mathtypes/Makefile
     267  src/sys/Makefile
     268  src/types/Makefile
     269  src/xml/Makefile
    252270  test/FullUnitTest
    253271  test/Makefile
Note: See TracChangeset for help on using the changeset viewer.