dnl Process this file with autoconf to produce a configure script. AC_INIT(src/ossimConfig.h.in) AC_CONFIG_HEADER(src/ossimConfig.h) OSSIM_TOP=`pwd` TOP=${OSSIM_TOP} top_builddir=${TOP} AC_SUBST(top_builddir) # ___________________________________________________________________ dnl Start with blank compiler flags and base defines. CFLAGS="" CXXFLAGS="" BASE_DEFINES="" dnl Export them. Not sure if we need this(drb). export CFLAGS export CXXFLAGS export BASE_DEFINES dnl Check for mpi package. AC_DEFUN(OSSIM_CHECK_MPI, [ AC_ARG_WITH(mpi,[ --with-mpi[=ARG] Include mpi support (ARG=no or full_path_to_mpi)],,) MPI_TOP= MPI_SETTING= MPI_INCLUDES= MPI_LIBS= MPI_LIB_PATH= MPI_DEFINES=-DMPI_SETTING=0 dnl If an mpi directory was not specified try looking parallel to dnl the ossim (this) package. if test "$with_mpi" = "" ; then current_dir=`pwd` if test -d "$current_dir/../mpi" ; then MPI_TOP="$current_dir/../mpi" elif test -d "/usr/share/mpich" ; then current_dir="/usr/share/mpich" MPI_TOP="/usr/share/mpich" elif test -d "/usr/share/mpi" ; then current_dir="/usr/share/mpi" MPI_TOP="/usr/share/mpi" elif test -f "/usr/local/include/mpi.h" ; then MPI_TOP="/usr/local" elif test -f "/usr/include/mpi.h" ; then MPI_TOP="/usr" fi elif test "$with_mpi" = "no" ; then MPI_SETTING=0 else MPI_TOP=$with_mpi fi dnl Currently I only test for MPICH version of the MPI implementation dnl We could add others later. if test "$MPI_TOP" = "/usr/local" ; then MPI_INCLUDES="-I/usr/local/include" MPI_DEFINES=-DMPI_SETTING=1 MPI_LIBS="-lmpich -lpmpich" elif test "$MPI_TOP" = "/usr" ; then MPI_INCLUDES="-I/usr/include" MPI_DEFINES=-DMPI_SETTING=1 MPI_LIBS="-lmpich -lpmpich" elif test -e "$MPI_TOP/lib/libmpich.a" ; then MPI_INCLUDES="-I$MPI_TOP/include -I$MPI_TOP/include/mpi2c++" MPI_LIB_PATH=-L$MPI_TOP/lib MPI_LIBS="-lmpich -lpmpich" MPI_DEFINES=-DMPI_SETTING=1 else MPI_DEFINES=-DMPI_SETTING=0 fi echo "MPI_INCLUDES = $MPI_INCLUDES" echo "MPI_LIB_PATH = $MPI_LIB_PATH" echo "MPI_LIBS = $MPI_LIBS" echo "MPI_DEFINES = $MPI_DEFINES" AC_SUBST(MPI_INCLUDES, $MPI_INCLUDES) AC_SUBST(MPI_LIB_PATH, $MPI_LIB_PATH) AC_SUBST(MPI_LIBS, $MPI_LIBS) AC_SUBST(MPI_DEFINES, $MPI_DEFINES) dnl Added to base defines. BASE_DEFINES="${BASE_DEFINES} ${MPI_DEFINES}" ]) dnl End of MPI package... dnl Check for OpenThreads package. AC_DEFUN(OSSIM_CHECK_OPEN_THREADS, [ AC_ARG_WITH(open_threads,[ --with-open_threads[=ARG] Include open threads support (ARG=no or full_path_to_open_threads)],,) OPEN_THREADS_INCLUDES= OPEN_THREADS_LIBS= OPEN_THREADS_LIB_PATH= OPEN_THREADS_DEFINES=-DHAS_OPEN_THREADS=0 if test "$with_open_threads" = "no" ; then dnl User does not want to use OpenThreads so do nothing... echo "OpenThreads support disabled." elif test "$with_open_threads" = "" ; then dnl No args, look in standard intall location as default. if test -d "/usr/local/include/OpenThreads" ; then echo "Found OpenThreads in a standard location." OPEN_THREADS_LIBS=-lOpenThreads OPEN_THREADS_DEFINES=-DHAS_OPEN_THREADS=1 fi else dnl User passed in OpenThreads top. OPEN_THREADS_TOP=$with_open_threads if test -d $OPEN_THREADS_TOP ; then OPEN_THREADS_INCLUDES=-I$OPEN_THREADS_TOP/include OPEN_THREADS_LIBS=-lOpenThreads OPEN_THREADS_LIB_PATH=-L$OPEN_THREADS_TOP/lib OPEN_THREADS_DEFINES=-DHAS_OPEN_THREADS=1 fi fi echo "OPEN_THREADS_INCLUDES = $OPEN_THREADS_INCLUDES" echo "OPEN_THREADS_LIB_PATH = $OPEN_THREADS_LIB_PATH" echo "OPEN_THREADS_LIBS = $OPEN_THREADS_LIBS" echo "OPEN_THREADS_DEFINES = $OPEN_THREADS_DEFINES" AC_SUBST(OPEN_THREADS_INCLUDES, $OPEN_THREADS_INCLUDES) AC_SUBST(OPEN_THREADS_LIB_PATH, $OPEN_THREADS_LIB_PATH) AC_SUBST(OPEN_THREADS_LIBS, $OPEN_THREADS_LIBS) AC_SUBST(OPEN_THREADS_DEFINES, $OPEN_THREADS_DEFINES) dnl Added to base defines. BASE_DEFINES="${BASE_DEFINES} ${OPEN_THREADS_DEFINES}" ]) dnl End of OpenThread package... dnl Check for freetype package. AC_DEFUN(OSSIM_CHECK_FREETYPE, [ AC_ARG_WITH(freetype,[ --with-freetype[=ARG] Include freetype support (ARG=no or full_path_to_free)],,) FREETYPE_TOP="" FREETYPE_SETTING=0 FREETYPE_INCLUDES= FREETYPE_LIBS= FREETYPE_LIB_PATH= FREETYPE_DEFINES= if test "$with_freetype" = "" ; then if test -f "/usr/bin/freetype-config" ; then FREETYPE_CONFIG_FOUND=1 FREETYPE_SETTING=1 FREETYPE_INCLUDES=`freetype-config --cflags` FREETYPE_LIBS=`freetype-config --libs` FREETYPE_LIB_PATH=-L`freetype-config --prefix`/lib FREETYPE_DEFINES="-DFREETYPE_SETTING=1" elif test -d "/usr/include/freetype2" ; then FREETYPE_TOP="/usr" elif test -d "/usr/local/include/freetype2" ; then FREETYPE_TOP="/usr/local" elif test -d "/usr/X11R6/include/freetype2" ; then FREETYPE_TOP="/usr/X11R6" fi elif test "$with_freetype" = "no" ; then FREETYPE_SETTING=0 else FREETYPE_TOP=$with_freetype fi if test "$FREETYPE_TOP" != "" ; then if test -d "$FREETYPE_TOP/include/freetype2" ; then FREETYPE_INCLUDES="-I$FREETYPE_TOP/include/freetype2 -I$FREETYPE_TOP/include/freetype2/freetype" FREETYPE_LIB_PATH="-L$FREETYPE_TOP/lib" FREETYPE_LIBS="-lfreetype" FREETYPE_DEFINES="-DFREETYPE_SETTING=1" FREETYPE_SETTING=1 else FREETYPE_DEFINES="-DFREETYPE_SETTING=0" FREETYPE_SETTING=0 fi fi if test "$FREETYPE_LIB_PATH" = "-L/usr/lib" ; then FREETYPE_LIB_PATH="" fi echo "FREETYPE_INCLUDES = $FREETYPE_INCLUDES" echo "FREETYPE_LIB_PATH = $FREETYPE_LIB_PATH" echo "FREETYPE_LIBS = $FREETYPE_LIBS" echo "FREETYPE_DEFINES = $FREETYPE_DEFINES" echo "FREETYPE_SETTING = $FREETYPE_SETTING" AC_SUBST(FREETYPE_INCLUDES, $FREETYPE_INCLUDES) AC_SUBST(FREETYPE_LIB_PATH, $FREETYPE_LIB_PATH) AC_SUBST(FREETYPE_LIBS, $FREETYPE_LIBS) AC_SUBST(FREETYPE_DEFINES, $FREETYPE_DEFINES) AC_SUBST(FREETYPE_SETTING, $FREETYPE_SETTING) dnl Added to base defines. BASE_DEFINES="${BASE_DEFINES} ${FREETYPE_DEFINES}" ]) dnl Check for gdal package. dnl AC_DEFUN(OSSIM_CHECK_GDAL, dnl [ dnl AC_ARG_WITH(gdal,[ --with-gdal[=ARG] Include gdal support (ARG=no or full_path_to_gdal)],,) dnl GDAL_TOP= dnl GDAL_SETTING=1 dnl GDAL_INCLUDES="-I${TOP}/src/packages/gdal/gcore -I${TOP}/src/packages/gdal/frmts/gtiff/libgeotiff -I${TOP}/src/packages/gdal/frmts/iso8211 -I${TOP}/src/packages/gdal/frmts/gtiff/libtiff -I${TOP}/src/packages/gdal/frmts/shapelib" dnl GDAL_LIBS= dnl GDAL_LIB_PATH= dnl GDAL_DEFINES="-DGDAL_SETTING=1" dnl CPL_INCLUDES= dnl echo "GDAL_SETTING = $GDAL_SETTING" dnl echo "USING INTERNAL PACKAGE GDAL" dnl export GDAL_INCLUDES dnl export GDAL_LIB_PATH dnl export GDAL_LIBS dnl export GDAL_DEFINES dnl export GDAL_SETTING dnl export CPL_INCLUDES dnl AC_SUBST(GDAL_INCLUDES, $GDAL_INCLUDES) dnl AC_SUBST(GDAL_LIB_PATH, $GDAL_LIB_PATH) dnl AC_SUBST(GDAL_LIBS, $GDAL_LIBS) dnl AC_SUBST(GDAL_DEFINES, $GDAL_DEFINES) dnl AC_SUBST(GDAL_SETTING, $GDAL_SETTING) dnl AC_SUBST(CPL_INCLUDES, $CPL_INCLUDES) dnl ]) dnl this macro checks for a three-valued command line --with argument: dnl possible arguments are 'yes', 'no', 'sys', or 'internal' dnl usage: OSSIM_ARG_SYS_WITH(option, helpmessage, variable-name) AC_DEFUN([OSSIM_ARG_SYS_WITH], [ AC_MSG_CHECKING([for --with-$1]) no_cache=0 AC_ARG_WITH($1, [$2], [ if test "$withval" = yes; then ac_cv_use_$1='$3=yes' elif test "$withval" = no; then ac_cv_use_$1='$3=no' elif test "$withval" = sys; then ac_cv_use_$1='$3=sys' elif test "$withval" = internal; then ac_cv_use_$1='$3=internal' else AC_MSG_ERROR([Invalid value for --with-$1: should be yes, no, sys, or internal]) fi ], [ LINE=`grep "$3" ${wx_arg_cache_file}` if test "x$LINE" != x ; then eval "DEFAULT_$LINE" else no_cache=1 fi ac_cv_use_$1='$3='$DEFAULT_$3 ]) eval "$ac_cv_use_$1" if test "$no_cache" != 1; then echo $ac_cv_use_$1 >> ${wx_arg_cache_file}.tmp fi if test "$$3" = yes; then AC_MSG_RESULT(yes) elif test "$$3" = no; then AC_MSG_RESULT(no) elif test "$$3" = sys; then AC_MSG_RESULT([system version]) elif test "$$3" = internal; then AC_MSG_RESULT([internal version]) else AC_MSG_ERROR([Invalid value for --with-$1: should be yes, no, sys, or builtin]) fi ]) dnl this macro checks for a command line argument and caches the result dnl usage: OSSIM_ARG_WITH(option, helpmessage, variable-name) AC_DEFUN([OSSIM_ARG_WITH], [ AC_MSG_CHECKING([for --with-$1]) no_cache=0 AC_ARG_WITH($1, [$2], [ if test "$withval" = yes; then ac_cv_use_$1='$3=yes' elif test "$withval" = "" ; then ac_cv_use_$1='$3=no' else ac_cv_use_$1='$3=$withval' fi ], [ ac_cv_use_$1='$3=no' dnl LINE=`grep "$3" ${wx_arg_cache_file}` dnl if test "x$LINE" != x ; then dnl eval "DEFAULT_$LINE" dnl else dnl no_cache=1 dnl fi dnl ac_cv_use_$1='$3='$DEFAULT_$3 ]) eval "$ac_cv_use_$1" dnl if test "$no_cache" != 1; then dnl echo $ac_cv_use_$1 >> ${wx_arg_cache_file}.tmp dnl fi if test "$$3" = yes; then AC_MSG_RESULT(yes) else AC_MSG_RESULT(no) fi ]) dnl like OSSIM_ARG_WITH but uses AC_ARG_ENABLE instead of AC_ARG_WITH dnl usage: OSSIM_ARG_ENABLE(option, helpmessage, variable-name, enablestring) dnl dnl enablestring is a hack and allows to show "checking for --disable-foo" dnl message when running configure instead of the default "checking for dnl --enable-foo" one whih is useful for the options enabled by default AC_DEFUN([OSSIM_ARG_ENABLE], [ enablestring=$4 AC_MSG_CHECKING([for --${enablestring:-enable}-$1]) no_cache=0 AC_ARG_ENABLE($1, [$2], [ if test "$enableval" = yes; then ac_cv_use_$1='$3=yes' else ac_cv_use_$1='$3=no' fi ], [ ac_cv_use_$1='$3=$$3' dnl LINE=`grep "$3" ${wx_arg_cache_file}` dnl if test "x$LINE" != x ; then dnl eval "DEFAULT_$LINE" dnl else dnl no_cache=1 dnl fi dnl ac_cv_use_$1='$3='$DEFAULT_$3 ]) eval "$ac_cv_use_$1" dnl if test "$no_cache" != 1; then dnl echo $ac_cv_use_$1 >> ${wx_arg_cache_file}.tmp dnl fi if test "$$3" = yes; then AC_MSG_RESULT(yes) else AC_MSG_RESULT(no) fi ]) define(OSSIM_SYS_LARGEFILE_TEST, [typedef struct { unsigned int field: sizeof(off_t) == 8; } wxlf; ]) dnl OSSIM_SYS_LARGEFILE_MACRO_VALUE(C-MACRO, VALUE, CACHE-VAR) define(OSSIM_SYS_LARGEFILE_MACRO_VALUE, [ AC_CACHE_CHECK([for $1 value needed for large files], [$3], [ AC_TRY_COMPILE([#define $1 $2 #include ], OSSIM_SYS_LARGEFILE_TEST, [$3=$2], [$3=no]) ] ) if test "$$3" != no; then ossim_largefile=yes AC_DEFINE_UNQUOTED([$1], [$$3]) fi ]) dnl AC_SYS_LARGEFILE dnl ---------------- dnl By default, many hosts won't let programs access large files; dnl one must use special compiler options to get large-file access to work. dnl For more details about this brain damage please see: dnl http://www.sas.com/standards/large.file/x_open.20Mar96.html AC_DEFUN([AC_SYS_LARGEFILE], [AC_ARG_ENABLE(largefile, [ --disable-largefile omit support for large files]) if test "$enable_largefile" != no; then dnl _FILE_OFFSET_BITS==64 is needed for Linux, Solaris, ... dnl _LARGE_FILES -- for AIX ossim_largefile=no OSSIM_SYS_LARGEFILE_MACRO_VALUE(_FILE_OFFSET_BITS, 64, ac_cv_sys_file_offset_bits) if test "x$ossim_largefile" != "xyes"; then OSSIM_SYS_LARGEFILE_MACRO_VALUE(_LARGE_FILES, 1, ac_cv_sys_large_files) fi AC_MSG_CHECKING(if large file support is available) if test "x$ossim_largefile" = "xyes"; then AC_DEFINE(HAVE_LARGEFILE_SUPPORT) fi AC_MSG_RESULT($ossim_largefile) fi ]) # _____________________________________________________________________________ dnl Checks for header files. AC_CONFIG_AUX_DIR("${TOP}") AC_HEADER_STDC AC_CHECK_HEADERS(fcntl.h unistd.h dbmalloc.h dlfcn.h malloc.h getopt.h dirent.h) dnl check and setup defines for different compiler checks dnl and specific output extensions. AC_CANONICAL_SYSTEM AC_EXEEXT AC_OBJEXT OSSIM_MAJOR_VERSION_NUMBER=1 OSSIM_MINOR_VERSION_NUMBER=5 OSSIM_RELEASE_NUMBER=5 export OSSIM_MAJOR_VERSION_NUMBER export OSSIM_MINOR_VERSION_NUMBER export OSSIM_RELEASE_NUMBER OSSIM_USE_UNIX=0 OSSIM_USE_WIN32=0 OSSIM_USE_MAC=0 OSSIM_USE_CYGWIN=0 OSSIM_USE_LINUX=0 OSSIM_USE_SGI= OSSIM_USE_HPUX= OSSIM_USE_SYSV= OSSIM_USE_SVR4= OSSIM_USE_AIX= OSSIM_USE_SUN= OSSIM_USE_SOLARIS= OSSIM_USE_SUNOS= OSSIM_USE_ALPHA= OSSIM_USE_OSF= OSSIM_USE_BSD= OSSIM_USE_DARWIN= OSSIM_USE_MAC= OSSIM_USE_FREEBSD= OSSIM_USE_OPENBSD= OSSIM_USE_NETBSD= OSSIM_USE_VMS= OSSIM_USE_ULTRIX= TOOLKIT_VERSION= WIDGET_SET= HOST_RESULT=linux lib_unicode_suffix= lib_debug_suffix= OSSIM_HOST_INCLUDE= OSSIM_HOST_LIB= CARBON= VERSION=${OSSIM_MAJOR_VERSION_NUMBER}.${OSSIM_MINOR_VERSION_NUMBER}.${OSSIM_RELEASE_NUMBER} LDFLAGS_EXE="" SO_EXT=so LD_SHARED="g++ -shared" LDFLAGS="" PIC_FLAG="-fPIC" ossimGFIVEOPT="no" OSSIM_ARG_ENABLE(gfiveopt, [ --enable-gfiveopt enable g5 optimization flags], ossimGFIVEOPT) dnl to support a new system, you need to add its canonical name (as determined dnl by config.sub or specified by the configure command line) to this "case" dnl and also define the shared library flags below - search for dnl SHARED_LIB_SETUP to find the exact place case "${host}" in *-hp-hpux* ) OSSIM_USE_HPUX=1 NEEDS_D_REENTRANT_FOR_R_FUNCS=1 SO_SUFFIX=sl AC_DEFINE(__OSSIM_HPUX__) HOST_RESULT=hpux SO_SUFFIX=sl ;; *-*-linux* ) OSSIM_USE_LINUX=1 AC_DEFINE(__OSSIM_LINUX__) TMP=`uname -m` if test "x$TMP" = "xalpha"; then OSSIM_USE_ALPHA=1 AC_DEFINE(__OSSIM_ALPHA__) fi HOST_RESULT=linux ;; *-*-irix5* | *-*-irix6* ) OSSIM_USE_SGI=1 OSSIM_USE_SVR4=1 AC_DEFINE(__OSSIM_SGI__) AC_DEFINE(__OSSIM_SVR4__) HOST_RESULT=irix ;; *-*-solaris2* ) OSSIM_USE_SUN=1 OSSIM_USE_SOLARIS=1 OSSIM_USE_SVR4=1 AC_DEFINE(__OSSIM_SUN__) AC_DEFINE(__OSSIM_SOLARIS__) AC_DEFINE(__OSSIM_SVR4__) NEEDS_D_REENTRANT_FOR_R_FUNCS=1 HOST_RESULT=solaris ;; *-*-sunos4* ) OSSIM_USE_SUN=1 OSSIM_USE_SUNOS=1 OSSIM_USE_BSD=1 AC_DEFINE(__OSSIM_SUN__) AC_DEFINE(__OSSIM_SUNOS__) AC_DEFINE(__OSSIM_BSD__) HOST_RESULT=sunos ;; *-*-freebsd*) OSSIM_USE_BSD=1 OSSIM_USE_FREEBSD=1 AC_DEFINE(__OSSIM_FREEBSD__) AC_DEFINE(__OSSIM_BSD__) HOST_RESULT=freebsd ;; *-*-openbsd*) OSSIM_USE_BSD=1 OSSIM_USE_OPENBSD=1 AC_DEFINE(__OSSIM_FREEBSD__) AC_DEFINE(__OSSIM_OPENBSD__) HOST_RESULT=openbsd ;; *-*-netbsd*) OSSIM_USE_BSD=1 OSSIM_USE_NETBSD=1 AC_DEFINE(__OSSIM_FREEBSD__) AC_DEFINE(__OSSIM_NETBSD__) HOST_RESULT=netbsd ;; *-*-osf* ) OSSIM_USE_ALPHA=1 OSSIM_USE_OSF=1 AC_DEFINE(__OSSIM_ALPHA__) AC_DEFINE(__OSSIM_OSF__) NEEDS_D_REENTRANT_FOR_R_FUNCS=1 HOST_RESULT=osf ;; *-*-dgux5* ) OSSIM_USE_ALPHA=1 OSSIM_USE_SVR4=1 AC_DEFINE(__OSSIM_ALPHA__) AC_DEFINE(__OSSIM_SVR4__) HOST_RESULT=dgux5 ;; *-*-sysv5* ) OSSIM_USE_SYSV=1 OSSIM_USE_SVR4=1 AC_DEFINE(__OSSIM_SYSV__) AC_DEFINE(__OSSIM_SVR4__) HOST_RESULT=sysv5 ;; *-*-aix* ) OSSIM_USE_AIX=1 OSSIM_USE_SYSV=1 OSSIM_USE_SVR4=1 dnl Irvin Probst reports that the shared dnl libraries under AIX have the same suffix as the normal ones SO_SUFFIX=a AC_DEFINE(__OSSIM_AIX__) AC_DEFINE(__OSSIM_SYSV__) AC_DEFINE(__OSSIM_SVR4__) HOST_RESULT=aix ;; *-*-cygwin* ) SO_SUFFIX=dll PROGRAM_EXT=".exe" RESCOMP=windres AC_DEFINE(__OSSIM_CYGWIN__) OSSIM_USE_CYGWIN=1 HOST_RESULT=cygwin PIC_FLAG="" ;; *-*-mingw32* ) SO_SUFFIX=dll PROGRAM_EXT=".exe" RESCOMP=windres AC_DEFINE(__OSSIM_CYGWIN__) OSSIM_USE_CYGWIN=1 HOST_RESULT=mingw32 LDFLAGS="$LDFLAGS -Wl,--subsystem,windows -mwindows" PIC_FLAG="" ;; *-pc-msdosdjgpp ) OSSIM_USE_UNIX=0 OSSIM_USE_DOS=1 AC_DEFINE(__OSSIM_DOS__) PROGRAM_EXT=".exe" dnl DJGPP needs explicit -lstdc++ for some reason (VS: mayb some versions only?) LIBS="$LIBS -lstdc++" HOST_RESULT=msdosdjgpp ;; *-pc-os2_emx | *-pc-os2-emx ) AC_DEFINE(__OSSIM_EMX__) PROGRAM_EXT=".exe" LIBS="$LIBS -lstdcpp" HOST_RESULT=os2_emx ;; powerpc-*-darwin* ) dnl PowerPC Darwin based distributions (including Mac OS X) OSSIM_USE_BSD=1 OSSIM_USE_DARWIN=1 OSSIM_USE_MAC=1 TOOLKIT=MAC SO_SUFFIX=dylib AC_DEFINE(__OSSIM_BSD__) AC_DEFINE(__OSSIM_DARWIN__) AC_DEFINE(__OSSIM_POWERPC__) CARBON="-DCARBON" CFLAGS="${CFLAGS} -Wno-long-double -DDARWIN -DMACOSX -no-cpp-precomp" CXXFLAGS="${CXXFLAGS} -Wno-long-double -DDARWIN -DMACOSX -no-cpp-precomp" OSSIM_HOST_INCLUDE="${OSSIM_HOST_INCLUDE} -I/sw/include" OSSIM_HOST_LIB="${OSSIM_HOST_LIB} -L/sw/lib" dnl SO_EXT="dylib" HOST_RESULT=darwin ;; *-*-beos* ) dnl leave OSSIM_USE_UNIX on - BeOS is sufficiently Unix-like for this OSSIM_USE_BEOS=1 AC_DEFINE(__OSSIM_BEOS__) HOST_RESULT=beos ;; *) AC_MSG_ERROR(unknown system type ${host}.) esac if test "$ossimGFIVEOPT" = "yes" ; then CFLAGS="${CFLAGS} -faltivec -fPIC -Wno-long-double " CXXFLAGS="${CXXFLAGS} -faltivec -fast -mcpu=G4 -fPIC " fi TOOLKIT_DIR=`echo ${TOOLKIT} | tr "[[A-Z]]" "[[a-z]]"` dnl Checks for programs. AC_PROG_CXX AC_PROG_LIBTOOL dnl AC_ENABLE_SHARED(yes) if test -f "${TOP}/libtool" ; then LIBTOOL="${TOP}/libtool" else LIBTOOL="libtool" fi LIBTOOL_COMPILE="${LIBTOOL} --mode=compile" LIBTOOL_INSTALL="${LIBTOOL} --mode=install" LIBTOOL_LINK="${LIBTOOL} --mode=link" LIBTOOL_PROGRAM="${LIBTOOL} --mode=link" LIBTOOL_OBJEXT="lo" dnl AC_PROG_CC AC_PROG_INSTALL AC_PROG_RANLIB AC_CHECK_PROG(AR, ar, ar, ar) AC_CHECK_PROG(ECHO, echo, echo, echo) AC_CHECK_PROG(RM, rm, rm, rm) AC_CHECK_PROG(STRIP, strip, strip, strip) AC_CHECK_PROG(DIRNAME, dirname, dirname) AC_CHECK_PROG(CC, gcc, gcc) AC_CHECK_PROG(SED, sed, sed) AC_CHECK_PROG(CHMOD, chmod, chmod) AC_CHECK_PROG(RANLIB, ranlib, ranlib) dnl We will define a standard system lib variable dnl that will check all standard libraries # This library may be required by Python 2.0 AC_CHECK_LIB(util, openpty) AC_CHECK_LIB(dl, dlopen) AC_CHECK_LIB(m, sin) AC_CHECK_LIB(z, main) AC_CHECK_LIB(png, main) AC_CHECK_LIB(gif, main) AC_CHECK_LIB(jpeg, main) dnl Now check the Size support AC_CHECK_SIZEOF(float, 4) AC_CHECK_SIZEOF(double, 8) AC_CHECK_SIZEOF(long long, 8) AC_CHECK_SIZEOF(long int, 4) AC_CHECK_SIZEOF(int, 4) AC_CHECK_SIZEOF(short int, 2) if test "$ac_cv_sizeof_float" = "4" ; then AC_DEFINE(OSSIM_SIZEOF_FLOAT, 4) else echo "WARNING: float is not 4 bytes setting to 0 bytes" AC_DEFINE(OSSIM_SIZEOF_FLOAT, 0) fi if test "$ac_cv_sizeof_double" = "8" ; then AC_DEFINE(OSSIM_SIZEOF_DOUBLE, 8) else echo "WARNING: double is not 8 bytes setting to 0 bytes" AC_DEFINE(OSSIM_SIZEOF_DOUBLE, 0) fi if test "$ac_cv_sizeof_long_int" = "4" ; then AC_DEFINE(OSSIM_SIZEOF_LONG_INT, 4) elif test "$ac_cv_sizeof_long_int" = "8" ; then AC_DEFINE(OSSIM_SIZEOF_LONG_INT, 8) else echo "WARNING: long int is not 4 or 8 bytes setting to 0 bytes" AC_DEFINE(OSSIM_SIZEOF_DOUBLE, 0) fi if test "$ac_cv_sizeof_long_long" = "4" ; then AC_DEFINE(OSSIM_SIZEOF_LONG_LONG, 4) elif test "$ac_cv_sizeof_long_long" = "8" ; then AC_DEFINE(OSSIM_SIZEOF_LONG_LONG, 8) else echo "WARNING: long long is not 4 or 8 bytes setting to 0 bytes" AC_DEFINE(OSSIM_SIZEOF_DOUBLE, 0) fi if test "$ac_cv_sizeof_short_int" = "2" ; then AC_DEFINE(OSSIM_SIZEOF_SHORT_INT, 2) else echo "WARNING: long int is not 4 or 8 bytes setting to 0 bytes" AC_DEFINE(OSSIM_SIZEOF_SHORT_INT, 0) fi if test "$ac_cv_sizeof_int" = "4" ; then AC_DEFINE(OSSIM_SIZEOF_INT, 4) else echo "WARNING: int is not 4 bytes setting to 0 bytes" AC_DEFINE(OSSIM_SIZEOF_INT, 0) fi dnl We really need a relatively recent libtiff, at least a 3.5.x version. dnl AC_CHECK_LIB(tiff, TIFFReadRGBATile) dnl Checks for typedefs, structures, and compiler characteristics. AC_C_CONST AC_C_INLINE AC_TYPE_SIZE_T export OSSIM_TOP export TOP dnl OSSIM_CHECK_WXGUI AC_SYS_LARGEFILE if test "x$ossim_largefile" = "xyes"; then if test "x$ac_cv_sys_file_offset_bits" = "x64"; then OSSIM_LARGEFILE_FLAGS="-D_FILE_OFFSET_BITS=64 -D_LARGE_FILES" else OSSIM_LARGEFILE_FLAGS="-D_LARGE_FILES" fi dnl Added to base defines. BASE_DEFINES="${BASE_DEFINES} ${OSSIM_LARGEFILE_FLAGS}" fi dnl CXXFLAG getting wiped slick up above somewhere so set this again... if test "$OSSIM_USE_AIX" = "1"; then CXXFLAGS="${CXXFLAGS}" dnl Use the native compiler over gcc... CXX="xlC" CC="xlc" fi dnl WX_RELEASE=2.4 dnl TOOLCHAIN_NAME="${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}-${WX_RELEASE}" dnl if test "$cross_compiling" = "yes"; then dnl TOOLCHAIN_NAME="${TOOLCHAIN_NAME}-${host_alias}" dnl fi dnl WX_LIBRARY="wx_${TOOLCHAIN_NAME}" dnl MACOSX_BUNDLE= dnl LIBOSSIMMACRESCOMP= dnl LIBOSSIMMACRESWXCONFIG= dnl if test "$OSSIM_USE_MAC" = 1; then dnl OSSIM_RESOURCES_MACOSX_ASCII="lib${WX_LIBRARY}.r" dnl OSSIM_RESOURCES_MACOSX_DATA="lib${WX_LIBRARY}.rsrc" dnl MACOSX_BUNDLE="bundle" dnl LIBOSSIMMACRES="\$(WX_PREFIX)/lib/${OSSIM_RESOURCES_MACOSX_ASCII}" dnl AC_CHECK_PROG(RESCOMP, Rez, Rez, /Developer/Tools/Rez) dnl AC_CHECK_PROG(DEREZ, DeRez, DeRez, /Developer/Tools/DeRez) dnl dnl resources are bundled both with shared library and applications dnl dnl since the carb resource *must* be included in the application dnl LIBOSSIMMACRESCOMP="\$(RESCOMP) -t APPL Carbon.r ${LIBOSSIMMACRES} -o \$(BIN_PROGRAM)" dnl LIBOSSIMMACRESWXCONFIG="\${RESCOMP} -t APPL Carbon.r ${WX_PREFIX}/lib/${OSSIM_RESOURCES_MACOSX_ASCII} -o" dnl fi ossimSHARED_LIBRARY="yes" ossimSTATIC_APPS="no" ossimDEBUG_FLAG="no" ossimOPTIMIZATION_FLAG="yes" ossimWARN_ALL_FLAG="no" KAKADU_PACKAGE="" ossimADDITIONAL_GDAL_CONFIG_OPTIONS="" dnl OSSIM_ARG_ENABLE(shared, [ --enable-shared generate shared libraries], ossimSHARED_LIBRARY) OSSIM_ARG_ENABLE(appstatic, [ --enable-appstatic generate static apps], ossimSTATIC_APPS) OSSIM_ARG_ENABLE(debug, [ --enable-debug add debug flag], ossimDEBUG_FLAG) dnl If debug is set above default the ossimOPTIMIZATION_FLAG to no... dnl They can still turn optimization on with the next line. if test "$ossimDEBUG_FLAG" = "yes" ; then ossimOPTIMIZATION_FLAG="no" fi OSSIM_ARG_ENABLE(optimization,[ --enable-optimization add optimization], ossimOPTIMIZATION_FLAG) OSSIM_ARG_ENABLE(warn_all, [ --enable-warn_all enable -Wall compiler option], ossimWARN_ALL_FLAG) OSSIM_ARG_WITH(gdalconf, [ --with-gdalconf[=config flags] additional gdal config options that are passed to gdal configure], ossimADDITIONAL_GDAL_CONFIG_OPTIONS) OSSIM_ARG_WITH(kakadu, [ --with-kakadu[=ARG] location of the kakadu package], KAKADU_PACKAGE) if test "$KAKADU_PACKAGE" = "no" -o "$KAKADU_PACKAGE" = "yes" ; then KAKADU_PACKAGE="" fi if test "$KAKADU_PACKAGE" != "" ; then LIBS="$LIBS -lkdu" fi AC_SUBST(KAKADU_PACKAGE) DEBUG_FLAG="" OPTIMIZATION_FLAG="" WARN_OPTION="" LIBOSSIMGUI="" STATIC_APP_FLAG="" ADDITIONAL_GDAL_CONFIG_OPTIONS="" if test "$ossimADDITIONAL_GDAL_CONFIG_OPTIONS" != "no" \ -a "$ossimADDITIONAL_GDAL_CONFIG_OPTIONS" != "yes" \ -a "$ossimADDITIONAL_GDAL_CONFIG_OPTIONS" != "" ; then ADDITIONAL_GDAL_CONFIG_OPTIONS="$ossimADDITIONAL_GDAL_CONFIG_OPTIONS" fi if test "$ossimDEBUG_FLAG" = "yes" ; then DEBUG_FLAG="-g" else DEBUG_FLAG="" fi if test "$ossimOPTIMIZATION_FLAG" = "yes" ; then OPTIMIZATION_FLAG="-O2" case "${host}" in powerpc-*-darwin* ) OPTIMIZATION_FLAG="-Os" ;; esac else OPTIMIZATION_FLAG="" fi if test "$ossimWARN_ALL_FLAG" = "yes" ; then WARN_OPTION="-Wall" fi CFLAGS="${CFLAGS} ${WARN_OPTION}" CXXFLAGS="${CXXFLAGS} ${WARN_OPTION}" CDEBUGFLAGS="${DEBUG_FLAG} ${OPTIMIZATION_FLAG}" if test "$ossimSTATIC_APPS" = "yes" ; then # LIBTOOL_PROGRAM="${LIBTOOL_PROGRAM} --all-static" # if test "$OSSIM_USE_AIX" = "1"; then # STATIC_APP_FLAG="-bstatic" # LDFLAGS_EXE="${LDFLAGS_EXE} -bstatic" # else # STATIC_APP_FLAG="--static" # LDFLAGS_EXE="${LDFLAGS_EXE} --static" # fi STATIC_APP_FLAG="-all-static" fi dnl if test "$WX_SETTING" = "1" ; then dnl LIBOSSIMGUI="-lossim_wxgui" dnl fi dnl -------------------------------- dnl Check for the mpi package... dnl -------------------------------- OSSIM_CHECK_MPI dnl -------------------------------- dnl Check for the OpenThreads package... dnl -------------------------------- OSSIM_CHECK_OPEN_THREADS dnl -------------------------------- dnl Geotiff package is internal and uses GDAL's dnl -------------------------------- GEOTIFF_TOP= GEOTIFF_INCLUDE_PATH= GEOTIFF_LIB_PATH= GEOTIFF_LIBS= GEOTIFF_DEFINES=-DGEOTIFF_ENABLED dnl Added to base defines. BASE_DEFINES="${BASE_DEFINES} ${GEOTIFF_DEFINES}" echo "USING geotifffrom internal package GDAL" dnl ---------------------------- dnl JPEG support. dnl Can use the system jpeg or gdal's internal... dnl ---------------------------- JPEG_INCLUDES="" GDAL_JPEG_OPTION="" AC_ARG_WITH(jpeg,[ --with-jpeg[=ARG] Include JPEG support (ARG=internal, no or path)],,) if test "$with_jpeg" = "internal" ; then ADDITIONAL_GDAL_CONFIG_OPTIONS="${ADDITIONAL_GDAL_CONFIG_OPTIONS} --with-jpeg=internal" JPEG_INCLUDES="-I${TOP}/src/packages/gdal/frmts/jpeg/libjpeg" echo "USING INTERNAL JPEG" echo "JPEG_INCLUDE = $JPEG_INCLUDES" fi dnl End of JPEG support... dnl OSSIM_CONFIGURE_PACKAGES echo "ADDITIONAL_GDAL_CONFIG_OPTIONS: $ADDITIONAL_GDAL_CONFIG_OPTIONS" AC_SUBST(ADDITIONAL_GDAL_CONFIG_OPTIONS) export ADDITIONAL_GDAL_CONFIG_OPTIONS dnl -------------------------------- dnl GDAL package is internal dnl -------------------------------- cd ${OSSIM_TOP} GDAL_TOP= GDAL_SETTING=1 GDAL_INCLUDES="-I${TOP}/src/packages/gdal/gcore -I${TOP}/src/packages/gdal/port -I${TOP}/src/packages/gdal/ogr -I${TOP}/src/packages/gdal/ogr/ogrsf_frmts -I${TOP}/src/packages/gdal/ogr/ogrsf_frmts/shape -I${TOP}/src/packages/gdal/frmts/gtiff/libgeotiff -I${TOP}/src/packages/gdal/frmts/iso8211 -I${TOP}/src/packages/gdal/frmts/gtiff/libtiff -I${TOP}/src/packages/gdal/frmts/shapelib ${JPEG_INCLUDES}" #GDAL_LIBS=`${OSSIM_TOP}/src/packages/gdal/apps/gdal-config --libs` GDAL_LIBS="-lgdal" GDAL_LIB_PATH="-L${TOP}/src/packages/gdal" GDAL_DEFINES="-DGDAL_SETTING=1" dnl Added to base defines. BASE_DEFINES="${BASE_DEFINES} ${GDAL_DEFINES}" OSSIM_CHECK_FREETYPE dnl _________________________________________ dnl Setup shared library support dnl _________________________________________ if test "$ossimSHARED_LIBRARY" = "yes" ; then case "${host}" in *-hp-hpux* ) ;; *-*-linux* ) ;; *-*-solaris2* ) ;; *-*-darwin* ) ;; *-*-aix* ) ;; *-*-cygwin* | *-*-mingw32* ) LD_SHARED="${CXX} -shared -Wl,--out-implib,lib/\$\{OSSIM_LIBRARY_IMPORTLIB\}.a -o" PIC_FLAG="-UOSSIMUSINGDLL -DOSSIMMAKINGDLL=1 -D_DLL=1 -D_WINDLL=1" ;; *-*-beos* ) LD_SHARED="${LD} -shared -o" ;; *-*-freebsd* | *-*-openbsd* | *-*-netbsd* | \ *-*-sunos4* | \ *-*-irix5* | *-*-irix6* | \ *-*-osf* | \ *-*-dgux5* | \ *-*-sysv5* ) dnl defaults are ok ;; *) AC_MSG_ERROR(unknown system type $host.) esac fi dnl Added to base defines. This should be a check maybe(drb)??? BASE_DEFINES="${BASE_DEFINES} -DHAVE_CONFIG_H" dnl --- dnl Add pthread needed by static build right now. dnl We should add a test for this perhaps(drb). dnl --- LIBS="${LIBS} -lpthread" echo "BASE_DEFINES from configure: ${BASE_DEFINES}" echo "LIBS from configure: ${LIBS}" dnl _____________________ START DOING SOME SUBSTITUTIONS _________________ dnl dnl CFLAGS="${CFLAGS} ${DEFS}" CXXFLAGS="${CXXFLAGS} ${DEFS}" AC_SUBST(LIBTOOL_OBJEXT) AC_SUBST(LIBTOOL) AC_SUBST(LIBTOOL_COMPILE) AC_SUBST(LIBTOOL_LINK) AC_SUBST(LIBTOOL_PROGRAM) AC_SUBST(LIBTOOL_INSTALL) AC_SUBST(DEREZ) AC_SUBST(RESCOMP) AC_SUBST(RESFLAGS) AC_SUBST(MACOSX_BUNDLE) AC_SUBST(TOOLKIT_DIR) AC_SUBST(LIBOSSIMMACRES) AC_SUBST(LIBOSSIMMACRESCOMP) dnl AC_SUBST(LIBOSSIMMACRESWXCONFIG) AC_SUBST(OSSIM_RESOURCES_MACOSX_DATA) AC_SUBST(OSSIM_RESOURCES_MACOSX_TEXT) AC_SUBST(VERSION,$VERSION) AC_SUBST(CFLAGS, $CFLAGS) AC_SUBST(CXXFLAGS, $CXXFLAGS) AC_SUBST(CPPFLAGS, $CPPFLAGS) AC_SUBST(BASE_DEFINES, $BASE_DEFINES) AC_SUBST(OSSIM_MAJOR_VERSION_NUMBER, $OSSIM_MAJOR_VERSION_NUMBER) AC_SUBST(OSSIM_MINOR_VERSION_NUMBER, $OSSIM_MINOR_VERSION_NUMBER) AC_SUBST(OSSIM_RELEASE_NUMBER, $OSSIM_RELEASE_NUMBER) AC_SUBST(HOST_RESULT, $HOST_RESULT ) AC_SUBST(CARBON) AC_SUBST(SO_EXT, ${SO_SUFFIX}) AC_SUBST(OSSIM_TOP,$OSSIM_TOP) AC_SUBST(STATIC_APP_FLAG, $STATIC_APP_FLAG) AC_SUBST(PIC_FLAG, $PIC_FLAG) AC_SUBST(CDEBUGFLAGS, $CDEBUGFLAGS) AC_SUBST(STATIC_APP_FLAG, $STATIC_APP_FLAG) AC_SUBST(SHARED_LIB_FLAG, $SHARED_LIB_FLAG) AC_SUBST(STATIC_APP_FLAG, $STATIC_APP_FLAG) AC_SUBST(LIBOSSIMGUI, $LIBOSSIMGUI) AC_SUBST(OPTIMIZATION_FLAG, $OPTIMIZATION_FLAG) AC_SUBST(LD_SHARED, $LD_SHARED) AC_SUBST(LDFLAGS, $LDFLAGS) AC_SUBST(LDFLAGS_GL, $LDFLAGS_GL) AC_SUBST(LDFLAGS_VERSIONING, LDFLAGS_VERSIONING) AC_SUBST(LDFLAGS_EXE, $LDFLAGS_EXE) AC_SUBST(GEOTIFF_INCLUDE_PATH, $GEOTIFF_INCLUDE_PATH) AC_SUBST(GEOTIFF_LIB_PATH, $GEOTIFF_LIB_PATH) AC_SUBST(GEOTIFF_LIBS, $GEOTIFF_LIBS) AC_SUBST(GEOTIFF_DEFINES, $GEOTIFF_DEFINES) AC_SUBST(GDAL_INCLUDES, $GDAL_INCLUDES) AC_SUBST(GDAL_LIB_PATH, $GDAL_LIB_PATH) AC_SUBST(GDAL_LIBS, $GDAL_LIBS) AC_SUBST(GDAL_DEFINES, $GDAL_DEFINES) AC_SUBST(GDAL_SETTING, $GDAL_SETTING) dnl dnl Now setup the ossim-config file for install locations dnl OSSIM_CORE_LIBS="-lossim_init -lossim_plugin -lossim_visualsim -lossim_parallel -lossim_vec -lossim_imaging -lossim_projections -lossim_elevation -lossim_support_data -lossim_vec -lossim_vpfutil -lossim_font -lossim_base -lossim_polyclip -lossim_matrix" OSSIM_LIBTOOL_CORE_LIBS="ossim_init.la -lossim_plugin.la -lossim_visualsim.la -lossim_parallel.la -lossim_vec.la -lossim_imaging.la -lossim_projections.la -lossim_elevation.la -lossim_support_data.la -lossim_vec.la -lossim_vpfutil.la -lossim_font.la -lossim_base.la -lossim_polyclip.la -lossim_matrix.la" OSSIM_GUI_LIBS="-lossim_wx -lossim_wxogl" ADDITIONAL_GUI_LIBS= if test "$OSSIM_USE_CYGWIN" = "1" ; then ADDITIONAL_GUI_LIBS="-lrpcrt4 -loleaut32 -lole32 -luuid -lwinspool -lwinmm -lshell32 -lcomctl32 -lctl3d32 -ladvapi32 -lwsock32 -lkernel32 -luser32 -lgdi32 -lcomdlg32" fi AC_SUBST(OSSIM_LIBTOOL_CORE_LIBS) AC_SUBST(OSSIM_CORE_LIBS, $OSSIM_CORE_LIBS) AC_SUBST(OSSIM_GUI_LIBS, $OSSIM_GUI_LIBS) AC_SUBST(ADDITIONAL_GUI_LIBS) INSTALL_OSSIM_LIBS="$OSSIM_INIT_LIB $MPI_LIB_PATH $FREETYPE_LIB_PATH $OPEN_THREADS_LIB_PATH $OSSIM_HOST_LIB -L\${prefix}/lib -lossim_init -lossim_plugin -lossim_visualsim -lossim_parallel -lossim_vec -lossim_imaging -lossim_projections -lossim_elevation -lossim_support_data -lossim_vpfutil -lossim_font -lossim_base -lossim_polyclip -lossim_matrix -lossim_vec $GDAL_LIBS $MPI_LIBS $FREETYPE_LIBS $OPEN_THREADS_LIBS $LIBS" INSTALL_OSSIM_NO_GUI_LIBS=${INSTALL_OSSIM_LIBS} INSTALL_OSSIM_INCLUDES="$OSSIM_HOST_INCLUDE $FREETYPE_INCLUDES $MPI_INCLUDES -I\${prefix}/include/ossim" dnl INSTALL_OSSIM_GUI_LIBS="-L\${prefix}/lib/ossim -lossim_wx -lossim_wxogl $WX_LIBS $ADDITIONAL_GUI_LIBS" dnl INSTALL_OSSIM_GUI_INCLUDES="-I\${prefix}/include/ossim/ogl $WX_INCLUDES" INSTALL_OSSIM_CFLAGS="$DEFS $WARN_OPTION -Wno-deprecated -pipe -fPIC $MPI_DEFINES $FREETYPE_DEFINES -DGDAL_SETTING=1 ${OPEN_THREADS_DEFINES}" INSTALL_OSSIM_NO_GUI_CFLAGS="$DEFS $WARN_OPTION -Wno-deprecated -pipe -fPIC $MPI_DEFINES $FREETYPE_DEFINES -DGDAL_SETTING=1 ${OPEN_THREADS_DEFINES}" INSTALL_OSSIM_CPP_FLAGS="" dnl if test $WX_SETTING = 1 ; then dnl INSTALL_OSSIM_LIBS="$INSTALL_OSSIM_GUI_LIBS $INSTALL_OSSIM_LIBS" dnl INSTALL_OSSIM_INCLUDES="$INSTALL_OSSIM_GUI_INCLUDES $INSTALL_OSSIM_INCLUDES" dnl fi INSTALL_OSSIM_NO_GUI_INCLUDES="$INSTALL_OSSIM_INCLUDES" AC_SUBST(OSSIM_VERSION) AC_SUBST(INSTALL_OSSIM_CFLAGS) AC_SUBST(INSTALL_OSSIM_NO_GUI_CFLAGS) AC_SUBST(INSTALL_OSSIM_CPP_FLAGS) AC_SUBST(INSTALL_OSSIM_NO_GUI_CPP_FLAGS) AC_SUBST(INSTALL_OSSIM_LIBS) AC_SUBST(INSTALL_OSSIM_NO_GUI_LIBS) AC_SUBST(INSTALL_OSSIM_INCLUDES) AC_SUBST(INSTALL_OSSIM_NO_GUI_INCLUDES) INCLUDE_COMMON="include ${TOP}/Makefile.common" AC_SUBST(INCLUDE_COMMON) dnl dnl Output all files dnl AC_OUTPUT( ossim.spec Makefile.common Makefile:makefiles/unx/makeroot.unx makelib.mak:makefiles/unx/makelib.unx makeprog.mak:makefiles/unx/makeprog.unx src/apps/ossim-config src/apps/Makefile:makefiles/unx/makeapps.unx src/Makefile:makefiles/unx/makesrc.unx src/packages/package_install/Makefile:makefiles/unx/makelibpackagesinstall.unx src/ossim_core/plugin/Makefile:makefiles/unx/makelibplugin.unx src/ossim_core/init/Makefile:makefiles/unx/makelibinit.unx src/ossim_core/Makefile:makefiles/unx/makelibcore.unx src/ossim_core/base/Makefile:makefiles/unx/makelibbase.unx src/ossim_core/base/common/Makefile:makefiles/unx/makelibbase.unx src/ossim_core/base/common/events/Makefile:makefiles/unx/makelibbase.unx src/ossim_core/base/context/Makefile:makefiles/unx/makelibbase.unx src/ossim_core/base/data_types/Makefile:makefiles/unx/makelibbase.unx src/ossim_core/base/data_types/color_space/Makefile:makefiles/unx/makelibbase.unx src/ossim_core/base/data_types/datum/Makefile:makefiles/unx/makelibbase.unx src/ossim_core/base/data_types/ellipse/Makefile:makefiles/unx/makelibbase.unx src/ossim_core/base/data_types/geoid/Makefile:makefiles/unx/makelibbase.unx src/ossim_core/base/factory/Makefile:makefiles/unx/makelibbase.unx src/ossim_core/base/misc/Makefile:makefiles/unx/makelibbase.unx src/ossim_core/base/misc/lookup_tables/Makefile:makefiles/unx/makelibbase.unx src/ossim_core/base/misc/hash/Makefile:makefiles/unx/makelibbase.unx src/ossim_core/base/property/Makefile:makefiles/unx/makelibbase.unx src/ossim_core/elevation/Makefile:makefiles/unx/makelibelevation.unx src/ossim_core/elevation/formats/Makefile:makefiles/unx/makelibelevation.unx src/ossim_core/elevation/formats/dted_cell/Makefile:makefiles/unx/makelibelevation.unx src/ossim_core/elevation/formats/usgs_dem_cell/Makefile:makefiles/unx/makelibelevation.unx src/ossim_core/fonts/Makefile:makefiles/unx/makelibfonts.unx src/ossim_core/fonts/factory/Makefile:makefiles/unx/makelibfonts.unx src/ossim_core/imaging/Makefile:makefiles/unx/makelibimaging.unx src/ossim_core/imaging/annotation/Makefile:makefiles/unx/makelibimaging.unx src/ossim_core/imaging/atmospheric_correction/Makefile:makefiles/unx/makelibimaging.unx src/ossim_core/imaging/cache/Makefile:makefiles/unx/makelibimaging.unx src/ossim_core/imaging/classification/Makefile:makefiles/unx/makelibimaging.unx src/ossim_core/imaging/elevation/Makefile:makefiles/unx/makelibimaging.unx src/ossim_core/imaging/factory/Makefile:makefiles/unx/makelibimaging.unx src/ossim_core/imaging/filters/Makefile:makefiles/unx/makelibimaging.unx src/ossim_core/imaging/formats/Makefile:makefiles/unx/makelibimaging.unx src/ossim_core/imaging/formats/adrg/Makefile:makefiles/unx/makelibimaging.unx src/ossim_core/imaging/formats/aigrid/Makefile:makefiles/unx/makelibimaging.unx src/ossim_core/imaging/formats/ccf/Makefile:makefiles/unx/makelibimaging.unx src/ossim_core/imaging/formats/cibcadrg/Makefile:makefiles/unx/makelibimaging.unx src/ossim_core/imaging/formats/doqq/Makefile:makefiles/unx/makelibimaging.unx src/ossim_core/imaging/formats/dted/Makefile:makefiles/unx/makelibimaging.unx src/ossim_core/imaging/formats/gdal/Makefile:makefiles/unx/makelibimaging.unx src/ossim_core/imaging/formats/general_raster/Makefile:makefiles/unx/makelibimaging.unx src/ossim_core/imaging/formats/grass/Makefile:makefiles/unx/makelibimaging.unx src/ossim_core/imaging/formats/jpeg/Makefile:makefiles/unx/makelibimaging.unx src/ossim_core/imaging/formats/landsat/Makefile:makefiles/unx/makelibimaging.unx src/ossim_core/imaging/formats/nitf/Makefile:makefiles/unx/makelibimaging.unx src/ossim_core/imaging/formats/tiff/Makefile:makefiles/unx/makelibimaging.unx src/ossim_core/imaging/formats/usgs_dem/Makefile:makefiles/unx/makelibimaging.unx src/ossim_core/imaging/formats/ers/Makefile:makefiles/unx/makelibimaging.unx src/ossim_core/imaging/formats/vpf/Makefile:makefiles/unx/makelibimaging.unx src/ossim_core/imaging/metadata/Makefile:makefiles/unx/makelibimaging.unx src/ossim_core/imaging/histogram/Makefile:makefiles/unx/makelibimaging.unx src/ossim_core/imaging/misc/Makefile:makefiles/unx/makelibimaging.unx src/ossim_core/imaging/patch/Makefile:makefiles/unx/makelibimaging.unx src/ossim_core/imaging/property/Makefile:makefiles/unx/makelibimaging.unx src/ossim_core/imaging/reconstruction/Makefile:makefiles/unx/makelibimaging.unx src/ossim_core/imaging/remap_tables/Makefile:makefiles/unx/makelibimaging.unx src/ossim_core/imaging/resample/Makefile:makefiles/unx/makelibimaging.unx src/ossim_core/imaging/tile_sources/Makefile:makefiles/unx/makelibimaging.unx src/ossim_core/imaging/tonal_balance/Makefile:makefiles/unx/makelibimaging.unx src/ossim_core/matrix/Makefile:makefiles/unx/makelibmatrix.unx src/ossim_core/libpolyclip/Makefile:makefiles/unx/makelibpolyclip.unx src/ossim_core/parallel/Makefile:makefiles/unx/makelibparallel.unx src/ossim_core/projections/Makefile:makefiles/unx/makelibprojections.unx src/ossim_core/projections/property/Makefile:makefiles/unx/makelibprojections.unx src/ossim_core/projections/factory/Makefile:makefiles/unx/makelibprojections.unx src/ossim_core/projections/map_projections/Makefile:makefiles/unx/makelibprojections.unx src/ossim_core/projections/sensor_modeling/Makefile:makefiles/unx/makelibprojections.unx src/ossim_core/projections/sensor_modeling/coarse_grid/Makefile:makefiles/unx/makelibprojections.unx src/ossim_core/projections/sensor_modeling/landsat/Makefile:makefiles/unx/makelibprojections.unx src/ossim_core/projections/sensor_modeling/rpc/Makefile:makefiles/unx/makelibprojections.unx src/ossim_core/projections/sensor_modeling/fcsi/Makefile:makefiles/unx/makelibprojections.unx src/ossim_core/projections/sensor_modeling/spot/Makefile:makefiles/unx/makelibprojections.unx src/ossim_core/support_data/Makefile:makefiles/unx/makelibsupportdata.unx src/ossim_core/support_data/esri/Makefile:makefiles/unx/makelibsupportdata.unx src/ossim_core/support_data/ff_l7/Makefile:makefiles/unx/makelibsupportdata.unx src/ossim_core/support_data/ff_revb/Makefile:makefiles/unx/makelibsupportdata.unx src/ossim_core/support_data/ff_revc/Makefile:makefiles/unx/makelibsupportdata.unx src/ossim_core/support_data/ers/Makefile:makefiles/unx/makelibsupportdata.unx src/ossim_core/support_data/ikonos/Makefile:makefiles/unx/makelibsupportdata.unx src/ossim_core/support_data/nitf/Makefile:makefiles/unx/makelibsupportdata.unx src/ossim_core/support_data/rpf/Makefile:makefiles/unx/makelibsupportdata.unx src/ossim_core/support_data/tiff/Makefile:makefiles/unx/makelibsupportdata.unx src/ossim_core/support_data/qb/Makefile:makefiles/unx/makelibsupportdata.unx src/ossim_core/support_data/spot/Makefile:makefiles/unx/makelibsupportdata.unx src/ossim_core/vec/Makefile:makefiles/unx/makelibvec.unx src/ossim_core/vec/shape/Makefile:makefiles/unx/makelibvec.unx src/ossim_core/vec/vpf/Makefile:makefiles/unx/makelibvec.unx src/ossim_core/visual_sim/Makefile:makefiles/unx/makelibvisualsim.unx src/ossim_core/visual_sim/formats/Makefile:makefiles/unx/makelibvisualsim.unx src/ossim_core/visual_sim/formats/multiflight/Makefile:makefiles/unx/makelibvisualsim.unx src/ossim_core/vpf_util/Makefile:makefiles/unx/makelibvpfutil.unx src/packages/Makefile:makefiles/unx/makelibpackages.unx )