pal-0.5.0/000755 000765 000024 00000000000 12366012530 012374 5ustar00timjstaff000000 000000 pal-0.5.0/aclocal.m4000644 000765 000024 00001502156 12366007531 014253 0ustar00timjstaff000000 000000 # generated automatically by aclocal 1.14.1-starlink -*- Autoconf -*- # Copyright (C) 1996-2013 Free Software Foundation, Inc. # This file is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY, to the extent permitted by law; without # even the implied warranty of MERCHANTABILITY or FITNESS FOR A # PARTICULAR PURPOSE. m4_ifndef([AC_CONFIG_MACRO_DIRS], [m4_defun([_AM_CONFIG_MACRO_DIRS], [])m4_defun([AC_CONFIG_MACRO_DIRS], [_AM_CONFIG_MACRO_DIRS($@)])]) m4_ifndef([AC_AUTOCONF_VERSION], [m4_copy([m4_PACKAGE_VERSION], [AC_AUTOCONF_VERSION])])dnl m4_if(m4_defn([AC_AUTOCONF_VERSION]), [2.69],, [m4_warning([this file was generated for autoconf 2.69. You have another version of autoconf. It may work, but is not guaranteed to. If you have problems, you may need to regenerate the build system entirely. To do so, use the procedure documented by the package, typically 'autoreconf'.])]) # libtool.m4 - Configure libtool for the host system. -*-Autoconf-*- # # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005, # 2006, 2007, 2008, 2009, 2010, 2011 Free Software # Foundation, Inc. # Written by Gordon Matzigkeit, 1996 # # This file is free software; the Free Software Foundation gives # unlimited permission to copy and/or distribute it, with or without # modifications, as long as this notice is preserved. m4_define([_LT_COPYING], [dnl # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005, # 2006, 2007, 2008, 2009, 2010, 2011 Free Software # Foundation, Inc. # Written by Gordon Matzigkeit, 1996 # # This file is part of GNU Libtool. # # GNU Libtool is free software; you can redistribute it and/or # modify it under the terms of the GNU General Public License as # published by the Free Software Foundation; either version 2 of # the License, or (at your option) any later version. # # As a special exception to the GNU General Public License, # if you distribute this file as part of a program or library that # is built using GNU Libtool, you may include this file under the # same distribution terms that you use for the rest of that program. # # GNU Libtool is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU General Public License for more details. # # You should have received a copy of the GNU General Public License # along with GNU Libtool; see the file COPYING. If not, a copy # can be downloaded from http://www.gnu.org/licenses/gpl.html, or # obtained by writing to the Free Software Foundation, Inc., # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. ]) # serial 57 LT_INIT # LT_PREREQ(VERSION) # ------------------ # Complain and exit if this libtool version is less that VERSION. m4_defun([LT_PREREQ], [m4_if(m4_version_compare(m4_defn([LT_PACKAGE_VERSION]), [$1]), -1, [m4_default([$3], [m4_fatal([Libtool version $1 or higher is required], 63)])], [$2])]) # _LT_CHECK_BUILDDIR # ------------------ # Complain if the absolute build directory name contains unusual characters m4_defun([_LT_CHECK_BUILDDIR], [case `pwd` in *\ * | *\ *) AC_MSG_WARN([Libtool does not cope well with whitespace in `pwd`]) ;; esac ]) # LT_INIT([OPTIONS]) # ------------------ AC_DEFUN([LT_INIT], [AC_PREREQ([2.58])dnl We use AC_INCLUDES_DEFAULT AC_REQUIRE([AC_CONFIG_AUX_DIR_DEFAULT])dnl AC_BEFORE([$0], [LT_LANG])dnl AC_BEFORE([$0], [LT_OUTPUT])dnl AC_BEFORE([$0], [LTDL_INIT])dnl m4_require([_LT_CHECK_BUILDDIR])dnl dnl Autoconf doesn't catch unexpanded LT_ macros by default: m4_pattern_forbid([^_?LT_[A-Z_]+$])dnl m4_pattern_allow([^(_LT_EOF|LT_DLGLOBAL|LT_DLLAZY_OR_NOW|LT_MULTI_MODULE)$])dnl dnl aclocal doesn't pull ltoptions.m4, ltsugar.m4, or ltversion.m4 dnl unless we require an AC_DEFUNed macro: AC_REQUIRE([LTOPTIONS_VERSION])dnl AC_REQUIRE([LTSUGAR_VERSION])dnl AC_REQUIRE([LTVERSION_VERSION])dnl AC_REQUIRE([LTOBSOLETE_VERSION])dnl m4_require([_LT_PROG_LTMAIN])dnl _LT_SHELL_INIT([SHELL=${CONFIG_SHELL-/bin/sh}]) dnl Parse OPTIONS _LT_SET_OPTIONS([$0], [$1]) # This can be used to rebuild libtool when needed LIBTOOL_DEPS="$ltmain" # Always use our own libtool. LIBTOOL='$(SHELL) $(top_builddir)/libtool' AC_SUBST(LIBTOOL)dnl _LT_SETUP # Only expand once: m4_define([LT_INIT]) ])# LT_INIT # Old names: AU_ALIAS([AC_PROG_LIBTOOL], [LT_INIT]) AU_ALIAS([AM_PROG_LIBTOOL], [LT_INIT]) dnl aclocal-1.4 backwards compatibility: dnl AC_DEFUN([AC_PROG_LIBTOOL], []) dnl AC_DEFUN([AM_PROG_LIBTOOL], []) # _LT_CC_BASENAME(CC) # ------------------- # Calculate cc_basename. Skip known compiler wrappers and cross-prefix. m4_defun([_LT_CC_BASENAME], [for cc_temp in $1""; do case $cc_temp in compile | *[[\\/]]compile | ccache | *[[\\/]]ccache ) ;; distcc | *[[\\/]]distcc | purify | *[[\\/]]purify ) ;; \-*) ;; *) break;; esac done cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"` ]) # _LT_FILEUTILS_DEFAULTS # ---------------------- # It is okay to use these file commands and assume they have been set # sensibly after `m4_require([_LT_FILEUTILS_DEFAULTS])'. m4_defun([_LT_FILEUTILS_DEFAULTS], [: ${CP="cp -f"} : ${MV="mv -f"} : ${RM="rm -f"} ])# _LT_FILEUTILS_DEFAULTS # _LT_SETUP # --------- m4_defun([_LT_SETUP], [AC_REQUIRE([AC_CANONICAL_HOST])dnl AC_REQUIRE([AC_CANONICAL_BUILD])dnl AC_REQUIRE([_LT_PREPARE_SED_QUOTE_VARS])dnl AC_REQUIRE([_LT_PROG_ECHO_BACKSLASH])dnl _LT_DECL([], [PATH_SEPARATOR], [1], [The PATH separator for the build system])dnl dnl _LT_DECL([], [host_alias], [0], [The host system])dnl _LT_DECL([], [host], [0])dnl _LT_DECL([], [host_os], [0])dnl dnl _LT_DECL([], [build_alias], [0], [The build system])dnl _LT_DECL([], [build], [0])dnl _LT_DECL([], [build_os], [0])dnl dnl AC_REQUIRE([AC_PROG_CC])dnl AC_REQUIRE([LT_PATH_LD])dnl AC_REQUIRE([LT_PATH_NM])dnl dnl AC_REQUIRE([AC_PROG_LN_S])dnl test -z "$LN_S" && LN_S="ln -s" _LT_DECL([], [LN_S], [1], [Whether we need soft or hard links])dnl dnl AC_REQUIRE([LT_CMD_MAX_LEN])dnl _LT_DECL([objext], [ac_objext], [0], [Object file suffix (normally "o")])dnl _LT_DECL([], [exeext], [0], [Executable file suffix (normally "")])dnl dnl m4_require([_LT_FILEUTILS_DEFAULTS])dnl m4_require([_LT_CHECK_SHELL_FEATURES])dnl m4_require([_LT_PATH_CONVERSION_FUNCTIONS])dnl m4_require([_LT_CMD_RELOAD])dnl m4_require([_LT_CHECK_MAGIC_METHOD])dnl m4_require([_LT_CHECK_SHAREDLIB_FROM_LINKLIB])dnl m4_require([_LT_CMD_OLD_ARCHIVE])dnl m4_require([_LT_CMD_GLOBAL_SYMBOLS])dnl m4_require([_LT_WITH_SYSROOT])dnl _LT_CONFIG_LIBTOOL_INIT([ # See if we are running on zsh, and set the options which allow our # commands through without removal of \ escapes INIT. if test -n "\${ZSH_VERSION+set}" ; then setopt NO_GLOB_SUBST fi ]) if test -n "${ZSH_VERSION+set}" ; then setopt NO_GLOB_SUBST fi _LT_CHECK_OBJDIR m4_require([_LT_TAG_COMPILER])dnl case $host_os in aix3*) # AIX sometimes has problems with the GCC collect2 program. For some # reason, if we set the COLLECT_NAMES environment variable, the problems # vanish in a puff of smoke. if test "X${COLLECT_NAMES+set}" != Xset; then COLLECT_NAMES= export COLLECT_NAMES fi ;; esac # Global variables: ofile=libtool can_build_shared=yes # All known linkers require a `.a' archive for static linking (except MSVC, # which needs '.lib'). libext=a with_gnu_ld="$lt_cv_prog_gnu_ld" old_CC="$CC" old_CFLAGS="$CFLAGS" # Set sane defaults for various variables test -z "$CC" && CC=cc test -z "$LTCC" && LTCC=$CC test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS test -z "$LD" && LD=ld test -z "$ac_objext" && ac_objext=o _LT_CC_BASENAME([$compiler]) # Only perform the check for file, if the check method requires it test -z "$MAGIC_CMD" && MAGIC_CMD=file case $deplibs_check_method in file_magic*) if test "$file_magic_cmd" = '$MAGIC_CMD'; then _LT_PATH_MAGIC fi ;; esac # Use C for the default configuration in the libtool script LT_SUPPORTED_TAG([CC]) _LT_LANG_C_CONFIG _LT_LANG_DEFAULT_CONFIG _LT_CONFIG_COMMANDS ])# _LT_SETUP # _LT_PREPARE_SED_QUOTE_VARS # -------------------------- # Define a few sed substitution that help us do robust quoting. m4_defun([_LT_PREPARE_SED_QUOTE_VARS], [# Backslashify metacharacters that are still active within # double-quoted strings. sed_quote_subst='s/\([["`$\\]]\)/\\\1/g' # Same as above, but do not quote variable references. double_quote_subst='s/\([["`\\]]\)/\\\1/g' # Sed substitution to delay expansion of an escaped shell variable in a # double_quote_subst'ed string. delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g' # Sed substitution to delay expansion of an escaped single quote. delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g' # Sed substitution to avoid accidental globbing in evaled expressions no_glob_subst='s/\*/\\\*/g' ]) # _LT_PROG_LTMAIN # --------------- # Note that this code is called both from `configure', and `config.status' # now that we use AC_CONFIG_COMMANDS to generate libtool. Notably, # `config.status' has no value for ac_aux_dir unless we are using Automake, # so we pass a copy along to make sure it has a sensible value anyway. m4_defun([_LT_PROG_LTMAIN], [m4_ifdef([AC_REQUIRE_AUX_FILE], [AC_REQUIRE_AUX_FILE([ltmain.sh])])dnl _LT_CONFIG_LIBTOOL_INIT([ac_aux_dir='$ac_aux_dir']) ltmain="$ac_aux_dir/ltmain.sh" ])# _LT_PROG_LTMAIN # So that we can recreate a full libtool script including additional # tags, we accumulate the chunks of code to send to AC_CONFIG_COMMANDS # in macros and then make a single call at the end using the `libtool' # label. # _LT_CONFIG_LIBTOOL_INIT([INIT-COMMANDS]) # ---------------------------------------- # Register INIT-COMMANDS to be passed to AC_CONFIG_COMMANDS later. m4_define([_LT_CONFIG_LIBTOOL_INIT], [m4_ifval([$1], [m4_append([_LT_OUTPUT_LIBTOOL_INIT], [$1 ])])]) # Initialize. m4_define([_LT_OUTPUT_LIBTOOL_INIT]) # _LT_CONFIG_LIBTOOL([COMMANDS]) # ------------------------------ # Register COMMANDS to be passed to AC_CONFIG_COMMANDS later. m4_define([_LT_CONFIG_LIBTOOL], [m4_ifval([$1], [m4_append([_LT_OUTPUT_LIBTOOL_COMMANDS], [$1 ])])]) # Initialize. m4_define([_LT_OUTPUT_LIBTOOL_COMMANDS]) # _LT_CONFIG_SAVE_COMMANDS([COMMANDS], [INIT_COMMANDS]) # ----------------------------------------------------- m4_defun([_LT_CONFIG_SAVE_COMMANDS], [_LT_CONFIG_LIBTOOL([$1]) _LT_CONFIG_LIBTOOL_INIT([$2]) ]) # _LT_FORMAT_COMMENT([COMMENT]) # ----------------------------- # Add leading comment marks to the start of each line, and a trailing # full-stop to the whole comment if one is not present already. m4_define([_LT_FORMAT_COMMENT], [m4_ifval([$1], [ m4_bpatsubst([m4_bpatsubst([$1], [^ *], [# ])], [['`$\]], [\\\&])]m4_bmatch([$1], [[!?.]$], [], [.]) )]) # _LT_DECL([CONFIGNAME], VARNAME, VALUE, [DESCRIPTION], [IS-TAGGED?]) # ------------------------------------------------------------------- # CONFIGNAME is the name given to the value in the libtool script. # VARNAME is the (base) name used in the configure script. # VALUE may be 0, 1 or 2 for a computed quote escaped value based on # VARNAME. Any other value will be used directly. m4_define([_LT_DECL], [lt_if_append_uniq([lt_decl_varnames], [$2], [, ], [lt_dict_add_subkey([lt_decl_dict], [$2], [libtool_name], [m4_ifval([$1], [$1], [$2])]) lt_dict_add_subkey([lt_decl_dict], [$2], [value], [$3]) m4_ifval([$4], [lt_dict_add_subkey([lt_decl_dict], [$2], [description], [$4])]) lt_dict_add_subkey([lt_decl_dict], [$2], [tagged?], [m4_ifval([$5], [yes], [no])])]) ]) # _LT_TAGDECL([CONFIGNAME], VARNAME, VALUE, [DESCRIPTION]) # -------------------------------------------------------- m4_define([_LT_TAGDECL], [_LT_DECL([$1], [$2], [$3], [$4], [yes])]) # lt_decl_tag_varnames([SEPARATOR], [VARNAME1...]) # ------------------------------------------------ m4_define([lt_decl_tag_varnames], [_lt_decl_filter([tagged?], [yes], $@)]) # _lt_decl_filter(SUBKEY, VALUE, [SEPARATOR], [VARNAME1..]) # --------------------------------------------------------- m4_define([_lt_decl_filter], [m4_case([$#], [0], [m4_fatal([$0: too few arguments: $#])], [1], [m4_fatal([$0: too few arguments: $#: $1])], [2], [lt_dict_filter([lt_decl_dict], [$1], [$2], [], lt_decl_varnames)], [3], [lt_dict_filter([lt_decl_dict], [$1], [$2], [$3], lt_decl_varnames)], [lt_dict_filter([lt_decl_dict], $@)])[]dnl ]) # lt_decl_quote_varnames([SEPARATOR], [VARNAME1...]) # -------------------------------------------------- m4_define([lt_decl_quote_varnames], [_lt_decl_filter([value], [1], $@)]) # lt_decl_dquote_varnames([SEPARATOR], [VARNAME1...]) # --------------------------------------------------- m4_define([lt_decl_dquote_varnames], [_lt_decl_filter([value], [2], $@)]) # lt_decl_varnames_tagged([SEPARATOR], [VARNAME1...]) # --------------------------------------------------- m4_define([lt_decl_varnames_tagged], [m4_assert([$# <= 2])dnl _$0(m4_quote(m4_default([$1], [[, ]])), m4_ifval([$2], [[$2]], [m4_dquote(lt_decl_tag_varnames)]), m4_split(m4_normalize(m4_quote(_LT_TAGS)), [ ]))]) m4_define([_lt_decl_varnames_tagged], [m4_ifval([$3], [lt_combine([$1], [$2], [_], $3)])]) # lt_decl_all_varnames([SEPARATOR], [VARNAME1...]) # ------------------------------------------------ m4_define([lt_decl_all_varnames], [_$0(m4_quote(m4_default([$1], [[, ]])), m4_if([$2], [], m4_quote(lt_decl_varnames), m4_quote(m4_shift($@))))[]dnl ]) m4_define([_lt_decl_all_varnames], [lt_join($@, lt_decl_varnames_tagged([$1], lt_decl_tag_varnames([[, ]], m4_shift($@))))dnl ]) # _LT_CONFIG_STATUS_DECLARE([VARNAME]) # ------------------------------------ # Quote a variable value, and forward it to `config.status' so that its # declaration there will have the same value as in `configure'. VARNAME # must have a single quote delimited value for this to work. m4_define([_LT_CONFIG_STATUS_DECLARE], [$1='`$ECHO "$][$1" | $SED "$delay_single_quote_subst"`']) # _LT_CONFIG_STATUS_DECLARATIONS # ------------------------------ # We delimit libtool config variables with single quotes, so when # we write them to config.status, we have to be sure to quote all # embedded single quotes properly. In configure, this macro expands # each variable declared with _LT_DECL (and _LT_TAGDECL) into: # # ='`$ECHO "$" | $SED "$delay_single_quote_subst"`' m4_defun([_LT_CONFIG_STATUS_DECLARATIONS], [m4_foreach([_lt_var], m4_quote(lt_decl_all_varnames), [m4_n([_LT_CONFIG_STATUS_DECLARE(_lt_var)])])]) # _LT_LIBTOOL_TAGS # ---------------- # Output comment and list of tags supported by the script m4_defun([_LT_LIBTOOL_TAGS], [_LT_FORMAT_COMMENT([The names of the tagged configurations supported by this script])dnl available_tags="_LT_TAGS"dnl ]) # _LT_LIBTOOL_DECLARE(VARNAME, [TAG]) # ----------------------------------- # Extract the dictionary values for VARNAME (optionally with TAG) and # expand to a commented shell variable setting: # # # Some comment about what VAR is for. # visible_name=$lt_internal_name m4_define([_LT_LIBTOOL_DECLARE], [_LT_FORMAT_COMMENT(m4_quote(lt_dict_fetch([lt_decl_dict], [$1], [description])))[]dnl m4_pushdef([_libtool_name], m4_quote(lt_dict_fetch([lt_decl_dict], [$1], [libtool_name])))[]dnl m4_case(m4_quote(lt_dict_fetch([lt_decl_dict], [$1], [value])), [0], [_libtool_name=[$]$1], [1], [_libtool_name=$lt_[]$1], [2], [_libtool_name=$lt_[]$1], [_libtool_name=lt_dict_fetch([lt_decl_dict], [$1], [value])])[]dnl m4_ifval([$2], [_$2])[]m4_popdef([_libtool_name])[]dnl ]) # _LT_LIBTOOL_CONFIG_VARS # ----------------------- # Produce commented declarations of non-tagged libtool config variables # suitable for insertion in the LIBTOOL CONFIG section of the `libtool' # script. Tagged libtool config variables (even for the LIBTOOL CONFIG # section) are produced by _LT_LIBTOOL_TAG_VARS. m4_defun([_LT_LIBTOOL_CONFIG_VARS], [m4_foreach([_lt_var], m4_quote(_lt_decl_filter([tagged?], [no], [], lt_decl_varnames)), [m4_n([_LT_LIBTOOL_DECLARE(_lt_var)])])]) # _LT_LIBTOOL_TAG_VARS(TAG) # ------------------------- m4_define([_LT_LIBTOOL_TAG_VARS], [m4_foreach([_lt_var], m4_quote(lt_decl_tag_varnames), [m4_n([_LT_LIBTOOL_DECLARE(_lt_var, [$1])])])]) # _LT_TAGVAR(VARNAME, [TAGNAME]) # ------------------------------ m4_define([_LT_TAGVAR], [m4_ifval([$2], [$1_$2], [$1])]) # _LT_CONFIG_COMMANDS # ------------------- # Send accumulated output to $CONFIG_STATUS. Thanks to the lists of # variables for single and double quote escaping we saved from calls # to _LT_DECL, we can put quote escaped variables declarations # into `config.status', and then the shell code to quote escape them in # for loops in `config.status'. Finally, any additional code accumulated # from calls to _LT_CONFIG_LIBTOOL_INIT is expanded. m4_defun([_LT_CONFIG_COMMANDS], [AC_PROVIDE_IFELSE([LT_OUTPUT], dnl If the libtool generation code has been placed in $CONFIG_LT, dnl instead of duplicating it all over again into config.status, dnl then we will have config.status run $CONFIG_LT later, so it dnl needs to know what name is stored there: [AC_CONFIG_COMMANDS([libtool], [$SHELL $CONFIG_LT || AS_EXIT(1)], [CONFIG_LT='$CONFIG_LT'])], dnl If the libtool generation code is destined for config.status, dnl expand the accumulated commands and init code now: [AC_CONFIG_COMMANDS([libtool], [_LT_OUTPUT_LIBTOOL_COMMANDS], [_LT_OUTPUT_LIBTOOL_COMMANDS_INIT])]) ])#_LT_CONFIG_COMMANDS # Initialize. m4_define([_LT_OUTPUT_LIBTOOL_COMMANDS_INIT], [ # The HP-UX ksh and POSIX shell print the target directory to stdout # if CDPATH is set. (unset CDPATH) >/dev/null 2>&1 && unset CDPATH sed_quote_subst='$sed_quote_subst' double_quote_subst='$double_quote_subst' delay_variable_subst='$delay_variable_subst' _LT_CONFIG_STATUS_DECLARATIONS LTCC='$LTCC' LTCFLAGS='$LTCFLAGS' compiler='$compiler_DEFAULT' # A function that is used when there is no print builtin or printf. func_fallback_echo () { eval 'cat <<_LTECHO_EOF \$[]1 _LTECHO_EOF' } # Quote evaled strings. for var in lt_decl_all_varnames([[ \ ]], lt_decl_quote_varnames); do case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in *[[\\\\\\\`\\"\\\$]]*) eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\"" ;; *) eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\"" ;; esac done # Double-quote double-evaled strings. for var in lt_decl_all_varnames([[ \ ]], lt_decl_dquote_varnames); do case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in *[[\\\\\\\`\\"\\\$]]*) eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\"" ;; *) eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\"" ;; esac done _LT_OUTPUT_LIBTOOL_INIT ]) # _LT_GENERATED_FILE_INIT(FILE, [COMMENT]) # ------------------------------------ # Generate a child script FILE with all initialization necessary to # reuse the environment learned by the parent script, and make the # file executable. If COMMENT is supplied, it is inserted after the # `#!' sequence but before initialization text begins. After this # macro, additional text can be appended to FILE to form the body of # the child script. The macro ends with non-zero status if the # file could not be fully written (such as if the disk is full). m4_ifdef([AS_INIT_GENERATED], [m4_defun([_LT_GENERATED_FILE_INIT],[AS_INIT_GENERATED($@)])], [m4_defun([_LT_GENERATED_FILE_INIT], [m4_require([AS_PREPARE])]dnl [m4_pushdef([AS_MESSAGE_LOG_FD])]dnl [lt_write_fail=0 cat >$1 <<_ASEOF || lt_write_fail=1 #! $SHELL # Generated by $as_me. $2 SHELL=\${CONFIG_SHELL-$SHELL} export SHELL _ASEOF cat >>$1 <<\_ASEOF || lt_write_fail=1 AS_SHELL_SANITIZE _AS_PREPARE exec AS_MESSAGE_FD>&1 _ASEOF test $lt_write_fail = 0 && chmod +x $1[]dnl m4_popdef([AS_MESSAGE_LOG_FD])])])# _LT_GENERATED_FILE_INIT # LT_OUTPUT # --------- # This macro allows early generation of the libtool script (before # AC_OUTPUT is called), incase it is used in configure for compilation # tests. AC_DEFUN([LT_OUTPUT], [: ${CONFIG_LT=./config.lt} AC_MSG_NOTICE([creating $CONFIG_LT]) _LT_GENERATED_FILE_INIT(["$CONFIG_LT"], [# Run this file to recreate a libtool stub with the current configuration.]) cat >>"$CONFIG_LT" <<\_LTEOF lt_cl_silent=false exec AS_MESSAGE_LOG_FD>>config.log { echo AS_BOX([Running $as_me.]) } >&AS_MESSAGE_LOG_FD lt_cl_help="\ \`$as_me' creates a local libtool stub from the current configuration, for use in further configure time tests before the real libtool is generated. Usage: $[0] [[OPTIONS]] -h, --help print this help, then exit -V, --version print version number, then exit -q, --quiet do not print progress messages -d, --debug don't remove temporary files Report bugs to ." lt_cl_version="\ m4_ifset([AC_PACKAGE_NAME], [AC_PACKAGE_NAME ])config.lt[]dnl m4_ifset([AC_PACKAGE_VERSION], [ AC_PACKAGE_VERSION]) configured by $[0], generated by m4_PACKAGE_STRING. Copyright (C) 2011 Free Software Foundation, Inc. This config.lt script is free software; the Free Software Foundation gives unlimited permision to copy, distribute and modify it." while test $[#] != 0 do case $[1] in --version | --v* | -V ) echo "$lt_cl_version"; exit 0 ;; --help | --h* | -h ) echo "$lt_cl_help"; exit 0 ;; --debug | --d* | -d ) debug=: ;; --quiet | --q* | --silent | --s* | -q ) lt_cl_silent=: ;; -*) AC_MSG_ERROR([unrecognized option: $[1] Try \`$[0] --help' for more information.]) ;; *) AC_MSG_ERROR([unrecognized argument: $[1] Try \`$[0] --help' for more information.]) ;; esac shift done if $lt_cl_silent; then exec AS_MESSAGE_FD>/dev/null fi _LTEOF cat >>"$CONFIG_LT" <<_LTEOF _LT_OUTPUT_LIBTOOL_COMMANDS_INIT _LTEOF cat >>"$CONFIG_LT" <<\_LTEOF AC_MSG_NOTICE([creating $ofile]) _LT_OUTPUT_LIBTOOL_COMMANDS AS_EXIT(0) _LTEOF chmod +x "$CONFIG_LT" # configure is writing to config.log, but config.lt does its own redirection, # appending to config.log, which fails on DOS, as config.log is still kept # open by configure. Here we exec the FD to /dev/null, effectively closing # config.log, so it can be properly (re)opened and appended to by config.lt. lt_cl_success=: test "$silent" = yes && lt_config_lt_args="$lt_config_lt_args --quiet" exec AS_MESSAGE_LOG_FD>/dev/null $SHELL "$CONFIG_LT" $lt_config_lt_args || lt_cl_success=false exec AS_MESSAGE_LOG_FD>>config.log $lt_cl_success || AS_EXIT(1) ])# LT_OUTPUT # _LT_CONFIG(TAG) # --------------- # If TAG is the built-in tag, create an initial libtool script with a # default configuration from the untagged config vars. Otherwise add code # to config.status for appending the configuration named by TAG from the # matching tagged config vars. m4_defun([_LT_CONFIG], [m4_require([_LT_FILEUTILS_DEFAULTS])dnl _LT_CONFIG_SAVE_COMMANDS([ m4_define([_LT_TAG], m4_if([$1], [], [C], [$1]))dnl m4_if(_LT_TAG, [C], [ # See if we are running on zsh, and set the options which allow our # commands through without removal of \ escapes. if test -n "${ZSH_VERSION+set}" ; then setopt NO_GLOB_SUBST fi cfgfile="${ofile}T" trap "$RM \"$cfgfile\"; exit 1" 1 2 15 $RM "$cfgfile" cat <<_LT_EOF >> "$cfgfile" #! $SHELL # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services. # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`: # NOTE: Changes made to this file will be lost: look at ltmain.sh. # _LT_COPYING _LT_LIBTOOL_TAGS # ### BEGIN LIBTOOL CONFIG _LT_LIBTOOL_CONFIG_VARS _LT_LIBTOOL_TAG_VARS # ### END LIBTOOL CONFIG _LT_EOF case $host_os in aix3*) cat <<\_LT_EOF >> "$cfgfile" # AIX sometimes has problems with the GCC collect2 program. For some # reason, if we set the COLLECT_NAMES environment variable, the problems # vanish in a puff of smoke. if test "X${COLLECT_NAMES+set}" != Xset; then COLLECT_NAMES= export COLLECT_NAMES fi _LT_EOF ;; esac _LT_PROG_LTMAIN # We use sed instead of cat because bash on DJGPP gets confused if # if finds mixed CR/LF and LF-only lines. Since sed operates in # text mode, it properly converts lines to CR/LF. This bash problem # is reportedly fixed, but why not run on old versions too? sed '$q' "$ltmain" >> "$cfgfile" \ || (rm -f "$cfgfile"; exit 1) _LT_PROG_REPLACE_SHELLFNS mv -f "$cfgfile" "$ofile" || (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile") chmod +x "$ofile" ], [cat <<_LT_EOF >> "$ofile" dnl Unfortunately we have to use $1 here, since _LT_TAG is not expanded dnl in a comment (ie after a #). # ### BEGIN LIBTOOL TAG CONFIG: $1 _LT_LIBTOOL_TAG_VARS(_LT_TAG) # ### END LIBTOOL TAG CONFIG: $1 _LT_EOF ])dnl /m4_if ], [m4_if([$1], [], [ PACKAGE='$PACKAGE' VERSION='$VERSION' TIMESTAMP='$TIMESTAMP' RM='$RM' ofile='$ofile'], []) ])dnl /_LT_CONFIG_SAVE_COMMANDS ])# _LT_CONFIG # LT_SUPPORTED_TAG(TAG) # --------------------- # Trace this macro to discover what tags are supported by the libtool # --tag option, using: # autoconf --trace 'LT_SUPPORTED_TAG:$1' AC_DEFUN([LT_SUPPORTED_TAG], []) # C support is built-in for now m4_define([_LT_LANG_C_enabled], []) m4_define([_LT_TAGS], []) # LT_LANG(LANG) # ------------- # Enable libtool support for the given language if not already enabled. AC_DEFUN([LT_LANG], [AC_BEFORE([$0], [LT_OUTPUT])dnl m4_case([$1], [C], [_LT_LANG(C)], [C++], [_LT_LANG(CXX)], [Go], [_LT_LANG(GO)], [Java], [_LT_LANG(GCJ)], [Fortran 77], [_LT_LANG(F77)], [Fortran], [_LT_LANG(FC)], [Windows Resource], [_LT_LANG(RC)], [m4_ifdef([_LT_LANG_]$1[_CONFIG], [_LT_LANG($1)], [m4_fatal([$0: unsupported language: "$1"])])])dnl ])# LT_LANG # _LT_LANG(LANGNAME) # ------------------ m4_defun([_LT_LANG], [m4_ifdef([_LT_LANG_]$1[_enabled], [], [LT_SUPPORTED_TAG([$1])dnl m4_append([_LT_TAGS], [$1 ])dnl m4_define([_LT_LANG_]$1[_enabled], [])dnl _LT_LANG_$1_CONFIG($1)])dnl ])# _LT_LANG m4_ifndef([AC_PROG_GO], [ # NOTE: This macro has been submitted for inclusion into # # GNU Autoconf as AC_PROG_GO. When it is available in # # a released version of Autoconf we should remove this # # macro and use it instead. # m4_defun([AC_PROG_GO], [AC_LANG_PUSH(Go)dnl AC_ARG_VAR([GOC], [Go compiler command])dnl AC_ARG_VAR([GOFLAGS], [Go compiler flags])dnl _AC_ARG_VAR_LDFLAGS()dnl AC_CHECK_TOOL(GOC, gccgo) if test -z "$GOC"; then if test -n "$ac_tool_prefix"; then AC_CHECK_PROG(GOC, [${ac_tool_prefix}gccgo], [${ac_tool_prefix}gccgo]) fi fi if test -z "$GOC"; then AC_CHECK_PROG(GOC, gccgo, gccgo, false) fi ])#m4_defun ])#m4_ifndef # _LT_LANG_DEFAULT_CONFIG # ----------------------- m4_defun([_LT_LANG_DEFAULT_CONFIG], [AC_PROVIDE_IFELSE([AC_PROG_CXX], [LT_LANG(CXX)], [m4_define([AC_PROG_CXX], defn([AC_PROG_CXX])[LT_LANG(CXX)])]) AC_PROVIDE_IFELSE([AC_PROG_F77], [LT_LANG(F77)], [m4_define([AC_PROG_F77], defn([AC_PROG_F77])[LT_LANG(F77)])]) AC_PROVIDE_IFELSE([AC_PROG_FC], [LT_LANG(FC)], [m4_define([AC_PROG_FC], defn([AC_PROG_FC])[LT_LANG(FC)])]) dnl The call to [A][M_PROG_GCJ] is quoted like that to stop aclocal dnl pulling things in needlessly. AC_PROVIDE_IFELSE([AC_PROG_GCJ], [LT_LANG(GCJ)], [AC_PROVIDE_IFELSE([A][M_PROG_GCJ], [LT_LANG(GCJ)], [AC_PROVIDE_IFELSE([LT_PROG_GCJ], [LT_LANG(GCJ)], [m4_ifdef([AC_PROG_GCJ], [m4_define([AC_PROG_GCJ], defn([AC_PROG_GCJ])[LT_LANG(GCJ)])]) m4_ifdef([A][M_PROG_GCJ], [m4_define([A][M_PROG_GCJ], defn([A][M_PROG_GCJ])[LT_LANG(GCJ)])]) m4_ifdef([LT_PROG_GCJ], [m4_define([LT_PROG_GCJ], defn([LT_PROG_GCJ])[LT_LANG(GCJ)])])])])]) AC_PROVIDE_IFELSE([AC_PROG_GO], [LT_LANG(GO)], [m4_define([AC_PROG_GO], defn([AC_PROG_GO])[LT_LANG(GO)])]) AC_PROVIDE_IFELSE([LT_PROG_RC], [LT_LANG(RC)], [m4_define([LT_PROG_RC], defn([LT_PROG_RC])[LT_LANG(RC)])]) ])# _LT_LANG_DEFAULT_CONFIG # Obsolete macros: AU_DEFUN([AC_LIBTOOL_CXX], [LT_LANG(C++)]) AU_DEFUN([AC_LIBTOOL_F77], [LT_LANG(Fortran 77)]) AU_DEFUN([AC_LIBTOOL_FC], [LT_LANG(Fortran)]) AU_DEFUN([AC_LIBTOOL_GCJ], [LT_LANG(Java)]) AU_DEFUN([AC_LIBTOOL_RC], [LT_LANG(Windows Resource)]) dnl aclocal-1.4 backwards compatibility: dnl AC_DEFUN([AC_LIBTOOL_CXX], []) dnl AC_DEFUN([AC_LIBTOOL_F77], []) dnl AC_DEFUN([AC_LIBTOOL_FC], []) dnl AC_DEFUN([AC_LIBTOOL_GCJ], []) dnl AC_DEFUN([AC_LIBTOOL_RC], []) # _LT_TAG_COMPILER # ---------------- m4_defun([_LT_TAG_COMPILER], [AC_REQUIRE([AC_PROG_CC])dnl _LT_DECL([LTCC], [CC], [1], [A C compiler])dnl _LT_DECL([LTCFLAGS], [CFLAGS], [1], [LTCC compiler flags])dnl _LT_TAGDECL([CC], [compiler], [1], [A language specific compiler])dnl _LT_TAGDECL([with_gcc], [GCC], [0], [Is the compiler the GNU compiler?])dnl # If no C compiler was specified, use CC. LTCC=${LTCC-"$CC"} # If no C compiler flags were specified, use CFLAGS. LTCFLAGS=${LTCFLAGS-"$CFLAGS"} # Allow CC to be a program name with arguments. compiler=$CC ])# _LT_TAG_COMPILER # _LT_COMPILER_BOILERPLATE # ------------------------ # Check for compiler boilerplate output or warnings with # the simple compiler test code. m4_defun([_LT_COMPILER_BOILERPLATE], [m4_require([_LT_DECL_SED])dnl ac_outfile=conftest.$ac_objext echo "$lt_simple_compile_test_code" >conftest.$ac_ext eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err _lt_compiler_boilerplate=`cat conftest.err` $RM conftest* ])# _LT_COMPILER_BOILERPLATE # _LT_LINKER_BOILERPLATE # ---------------------- # Check for linker boilerplate output or warnings with # the simple link test code. m4_defun([_LT_LINKER_BOILERPLATE], [m4_require([_LT_DECL_SED])dnl ac_outfile=conftest.$ac_objext echo "$lt_simple_link_test_code" >conftest.$ac_ext eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err _lt_linker_boilerplate=`cat conftest.err` $RM -r conftest* ])# _LT_LINKER_BOILERPLATE # _LT_REQUIRED_DARWIN_CHECKS # ------------------------- m4_defun_once([_LT_REQUIRED_DARWIN_CHECKS],[ case $host_os in rhapsody* | darwin*) AC_CHECK_TOOL([DSYMUTIL], [dsymutil], [:]) AC_CHECK_TOOL([NMEDIT], [nmedit], [:]) AC_CHECK_TOOL([LIPO], [lipo], [:]) AC_CHECK_TOOL([OTOOL], [otool], [:]) AC_CHECK_TOOL([OTOOL64], [otool64], [:]) _LT_DECL([], [DSYMUTIL], [1], [Tool to manipulate archived DWARF debug symbol files on Mac OS X]) _LT_DECL([], [NMEDIT], [1], [Tool to change global to local symbols on Mac OS X]) _LT_DECL([], [LIPO], [1], [Tool to manipulate fat objects and archives on Mac OS X]) _LT_DECL([], [OTOOL], [1], [ldd/readelf like tool for Mach-O binaries on Mac OS X]) _LT_DECL([], [OTOOL64], [1], [ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4]) AC_CACHE_CHECK([for -single_module linker flag],[lt_cv_apple_cc_single_mod], [lt_cv_apple_cc_single_mod=no if test -z "${LT_MULTI_MODULE}"; then # By default we will add the -single_module flag. You can override # by either setting the environment variable LT_MULTI_MODULE # non-empty at configure time, or by adding -multi_module to the # link flags. rm -rf libconftest.dylib* echo "int foo(void){return 1;}" > conftest.c echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \ -dynamiclib -Wl,-single_module conftest.c" >&AS_MESSAGE_LOG_FD $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \ -dynamiclib -Wl,-single_module conftest.c 2>conftest.err _lt_result=$? # If there is a non-empty error log, and "single_module" # appears in it, assume the flag caused a linker warning if test -s conftest.err && $GREP single_module conftest.err; then cat conftest.err >&AS_MESSAGE_LOG_FD # Otherwise, if the output was created with a 0 exit code from # the compiler, it worked. elif test -f libconftest.dylib && test $_lt_result -eq 0; then lt_cv_apple_cc_single_mod=yes else cat conftest.err >&AS_MESSAGE_LOG_FD fi rm -rf libconftest.dylib* rm -f conftest.* fi]) AC_CACHE_CHECK([for -exported_symbols_list linker flag], [lt_cv_ld_exported_symbols_list], [lt_cv_ld_exported_symbols_list=no save_LDFLAGS=$LDFLAGS echo "_main" > conftest.sym LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym" AC_LINK_IFELSE([AC_LANG_PROGRAM([],[])], [lt_cv_ld_exported_symbols_list=yes], [lt_cv_ld_exported_symbols_list=no]) LDFLAGS="$save_LDFLAGS" ]) AC_CACHE_CHECK([for -force_load linker flag],[lt_cv_ld_force_load], [lt_cv_ld_force_load=no cat > conftest.c << _LT_EOF int forced_loaded() { return 2;} _LT_EOF echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&AS_MESSAGE_LOG_FD $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&AS_MESSAGE_LOG_FD echo "$AR cru libconftest.a conftest.o" >&AS_MESSAGE_LOG_FD $AR cru libconftest.a conftest.o 2>&AS_MESSAGE_LOG_FD echo "$RANLIB libconftest.a" >&AS_MESSAGE_LOG_FD $RANLIB libconftest.a 2>&AS_MESSAGE_LOG_FD cat > conftest.c << _LT_EOF int main() { return 0;} _LT_EOF echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&AS_MESSAGE_LOG_FD $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err _lt_result=$? if test -s conftest.err && $GREP force_load conftest.err; then cat conftest.err >&AS_MESSAGE_LOG_FD elif test -f conftest && test $_lt_result -eq 0 && $GREP forced_load conftest >/dev/null 2>&1 ; then lt_cv_ld_force_load=yes else cat conftest.err >&AS_MESSAGE_LOG_FD fi rm -f conftest.err libconftest.a conftest conftest.c rm -rf conftest.dSYM ]) case $host_os in rhapsody* | darwin1.[[012]]) _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;; darwin1.*) _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;; darwin*) # darwin 5.x on # if running on 10.5 or later, the deployment target defaults # to the OS version, if on x86, and 10.4, the deployment # target defaults to 10.4. Don't you love it? case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in 10.0,*86*-darwin8*|10.0,*-darwin[[91]]*) _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;; 10.[[012]]*) _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;; 10.*) _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;; esac ;; esac if test "$lt_cv_apple_cc_single_mod" = "yes"; then _lt_dar_single_mod='$single_module' fi if test "$lt_cv_ld_exported_symbols_list" = "yes"; then _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym' else _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}' fi if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no"; then _lt_dsymutil='~$DSYMUTIL $lib || :' else _lt_dsymutil= fi ;; esac ]) # _LT_DARWIN_LINKER_FEATURES([TAG]) # --------------------------------- # Checks for linker and compiler features on darwin m4_defun([_LT_DARWIN_LINKER_FEATURES], [ m4_require([_LT_REQUIRED_DARWIN_CHECKS]) _LT_TAGVAR(archive_cmds_need_lc, $1)=no _LT_TAGVAR(hardcode_direct, $1)=no _LT_TAGVAR(hardcode_automatic, $1)=yes _LT_TAGVAR(hardcode_shlibpath_var, $1)=unsupported if test "$lt_cv_ld_force_load" = "yes"; then _LT_TAGVAR(whole_archive_flag_spec, $1)='`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience ${wl}-force_load,$conv\"; done; func_echo_all \"$new_convenience\"`' m4_case([$1], [F77], [_LT_TAGVAR(compiler_needs_object, $1)=yes], [FC], [_LT_TAGVAR(compiler_needs_object, $1)=yes]) else _LT_TAGVAR(whole_archive_flag_spec, $1)='' fi _LT_TAGVAR(link_all_deplibs, $1)=yes _LT_TAGVAR(allow_undefined_flag, $1)="$_lt_dar_allow_undefined" case $cc_basename in ifort*) _lt_dar_can_shared=yes ;; *) _lt_dar_can_shared=$GCC ;; esac if test "$_lt_dar_can_shared" = "yes"; then output_verbose_link_cmd=func_echo_all _LT_TAGVAR(archive_cmds, $1)="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}" _LT_TAGVAR(module_cmds, $1)="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}" _LT_TAGVAR(archive_expsym_cmds, $1)="sed 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring ${_lt_dar_single_mod}${_lt_dar_export_syms}${_lt_dsymutil}" _LT_TAGVAR(module_expsym_cmds, $1)="sed -e 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dar_export_syms}${_lt_dsymutil}" m4_if([$1], [CXX], [ if test "$lt_cv_apple_cc_single_mod" != "yes"; then _LT_TAGVAR(archive_cmds, $1)="\$CC -r -keep_private_externs -nostdlib -o \${lib}-master.o \$libobjs~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \${lib}-master.o \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring${_lt_dsymutil}" _LT_TAGVAR(archive_expsym_cmds, $1)="sed 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC -r -keep_private_externs -nostdlib -o \${lib}-master.o \$libobjs~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \${lib}-master.o \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring${_lt_dar_export_syms}${_lt_dsymutil}" fi ],[]) else _LT_TAGVAR(ld_shlibs, $1)=no fi ]) # _LT_SYS_MODULE_PATH_AIX([TAGNAME]) # ---------------------------------- # Links a minimal program and checks the executable # for the system default hardcoded library path. In most cases, # this is /usr/lib:/lib, but when the MPI compilers are used # the location of the communication and MPI libs are included too. # If we don't find anything, use the default library path according # to the aix ld manual. # Store the results from the different compilers for each TAGNAME. # Allow to override them for all tags through lt_cv_aix_libpath. m4_defun([_LT_SYS_MODULE_PATH_AIX], [m4_require([_LT_DECL_SED])dnl if test "${lt_cv_aix_libpath+set}" = set; then aix_libpath=$lt_cv_aix_libpath else AC_CACHE_VAL([_LT_TAGVAR([lt_cv_aix_libpath_], [$1])], [AC_LINK_IFELSE([AC_LANG_PROGRAM],[ lt_aix_libpath_sed='[ /Import File Strings/,/^$/ { /^0/ { s/^0 *\([^ ]*\) *$/\1/ p } }]' _LT_TAGVAR([lt_cv_aix_libpath_], [$1])=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` # Check for a 64-bit object if we didn't find anything. if test -z "$_LT_TAGVAR([lt_cv_aix_libpath_], [$1])"; then _LT_TAGVAR([lt_cv_aix_libpath_], [$1])=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` fi],[]) if test -z "$_LT_TAGVAR([lt_cv_aix_libpath_], [$1])"; then _LT_TAGVAR([lt_cv_aix_libpath_], [$1])="/usr/lib:/lib" fi ]) aix_libpath=$_LT_TAGVAR([lt_cv_aix_libpath_], [$1]) fi ])# _LT_SYS_MODULE_PATH_AIX # _LT_SHELL_INIT(ARG) # ------------------- m4_define([_LT_SHELL_INIT], [m4_divert_text([M4SH-INIT], [$1 ])])# _LT_SHELL_INIT # _LT_PROG_ECHO_BACKSLASH # ----------------------- # Find how we can fake an echo command that does not interpret backslash. # In particular, with Autoconf 2.60 or later we add some code to the start # of the generated configure script which will find a shell with a builtin # printf (which we can use as an echo command). m4_defun([_LT_PROG_ECHO_BACKSLASH], [ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO AC_MSG_CHECKING([how to print strings]) # Test print first, because it will be a builtin if present. if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \ test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then ECHO='print -r --' elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then ECHO='printf %s\n' else # Use this function as a fallback that always works. func_fallback_echo () { eval 'cat <<_LTECHO_EOF $[]1 _LTECHO_EOF' } ECHO='func_fallback_echo' fi # func_echo_all arg... # Invoke $ECHO with all args, space-separated. func_echo_all () { $ECHO "$*" } case "$ECHO" in printf*) AC_MSG_RESULT([printf]) ;; print*) AC_MSG_RESULT([print -r]) ;; *) AC_MSG_RESULT([cat]) ;; esac m4_ifdef([_AS_DETECT_SUGGESTED], [_AS_DETECT_SUGGESTED([ test -n "${ZSH_VERSION+set}${BASH_VERSION+set}" || ( ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO PATH=/empty FPATH=/empty; export PATH FPATH test "X`printf %s $ECHO`" = "X$ECHO" \ || test "X`print -r -- $ECHO`" = "X$ECHO" )])]) _LT_DECL([], [SHELL], [1], [Shell to use when invoking shell scripts]) _LT_DECL([], [ECHO], [1], [An echo program that protects backslashes]) ])# _LT_PROG_ECHO_BACKSLASH # _LT_WITH_SYSROOT # ---------------- AC_DEFUN([_LT_WITH_SYSROOT], [AC_MSG_CHECKING([for sysroot]) AC_ARG_WITH([sysroot], [ --with-sysroot[=DIR] Search for dependent libraries within DIR (or the compiler's sysroot if not specified).], [], [with_sysroot=no]) dnl lt_sysroot will always be passed unquoted. We quote it here dnl in case the user passed a directory name. lt_sysroot= case ${with_sysroot} in #( yes) if test "$GCC" = yes; then lt_sysroot=`$CC --print-sysroot 2>/dev/null` fi ;; #( /*) lt_sysroot=`echo "$with_sysroot" | sed -e "$sed_quote_subst"` ;; #( no|'') ;; #( *) AC_MSG_RESULT([${with_sysroot}]) AC_MSG_ERROR([The sysroot must be an absolute path.]) ;; esac AC_MSG_RESULT([${lt_sysroot:-no}]) _LT_DECL([], [lt_sysroot], [0], [The root where to search for ]dnl [dependent libraries, and in which our libraries should be installed.])]) # _LT_ENABLE_LOCK # --------------- m4_defun([_LT_ENABLE_LOCK], [AC_ARG_ENABLE([libtool-lock], [AS_HELP_STRING([--disable-libtool-lock], [avoid locking (might break parallel builds)])]) test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes # Some flags need to be propagated to the compiler or linker for good # libtool support. case $host in ia64-*-hpux*) # Find out which ABI we are using. echo 'int i;' > conftest.$ac_ext if AC_TRY_EVAL(ac_compile); then case `/usr/bin/file conftest.$ac_objext` in *ELF-32*) HPUX_IA64_MODE="32" ;; *ELF-64*) HPUX_IA64_MODE="64" ;; esac fi rm -rf conftest* ;; *-*-irix6*) # Find out which ABI we are using. echo '[#]line '$LINENO' "configure"' > conftest.$ac_ext if AC_TRY_EVAL(ac_compile); then if test "$lt_cv_prog_gnu_ld" = yes; then case `/usr/bin/file conftest.$ac_objext` in *32-bit*) LD="${LD-ld} -melf32bsmip" ;; *N32*) LD="${LD-ld} -melf32bmipn32" ;; *64-bit*) LD="${LD-ld} -melf64bmip" ;; esac else case `/usr/bin/file conftest.$ac_objext` in *32-bit*) LD="${LD-ld} -32" ;; *N32*) LD="${LD-ld} -n32" ;; *64-bit*) LD="${LD-ld} -64" ;; esac fi fi rm -rf conftest* ;; x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \ s390*-*linux*|s390*-*tpf*|sparc*-*linux*) # Find out which ABI we are using. echo 'int i;' > conftest.$ac_ext if AC_TRY_EVAL(ac_compile); then case `/usr/bin/file conftest.o` in *32-bit*) case $host in x86_64-*kfreebsd*-gnu) LD="${LD-ld} -m elf_i386_fbsd" ;; x86_64-*linux*) LD="${LD-ld} -m elf_i386" ;; ppc64-*linux*|powerpc64-*linux*) LD="${LD-ld} -m elf32ppclinux" ;; s390x-*linux*) LD="${LD-ld} -m elf_s390" ;; sparc64-*linux*) LD="${LD-ld} -m elf32_sparc" ;; esac ;; *64-bit*) case $host in x86_64-*kfreebsd*-gnu) LD="${LD-ld} -m elf_x86_64_fbsd" ;; x86_64-*linux*) LD="${LD-ld} -m elf_x86_64" ;; ppc*-*linux*|powerpc*-*linux*) LD="${LD-ld} -m elf64ppc" ;; s390*-*linux*|s390*-*tpf*) LD="${LD-ld} -m elf64_s390" ;; sparc*-*linux*) LD="${LD-ld} -m elf64_sparc" ;; esac ;; esac fi rm -rf conftest* ;; *-*-sco3.2v5*) # On SCO OpenServer 5, we need -belf to get full-featured binaries. SAVE_CFLAGS="$CFLAGS" CFLAGS="$CFLAGS -belf" AC_CACHE_CHECK([whether the C compiler needs -belf], lt_cv_cc_needs_belf, [AC_LANG_PUSH(C) AC_LINK_IFELSE([AC_LANG_PROGRAM([[]],[[]])],[lt_cv_cc_needs_belf=yes],[lt_cv_cc_needs_belf=no]) AC_LANG_POP]) if test x"$lt_cv_cc_needs_belf" != x"yes"; then # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf CFLAGS="$SAVE_CFLAGS" fi ;; *-*solaris*) # Find out which ABI we are using. echo 'int i;' > conftest.$ac_ext if AC_TRY_EVAL(ac_compile); then case `/usr/bin/file conftest.o` in *64-bit*) case $lt_cv_prog_gnu_ld in yes*) case $host in i?86-*-solaris*) LD="${LD-ld} -m elf_x86_64" ;; sparc*-*-solaris*) LD="${LD-ld} -m elf64_sparc" ;; esac # GNU ld 2.21 introduced _sol2 emulations. Use them if available. if ${LD-ld} -V | grep _sol2 >/dev/null 2>&1; then LD="${LD-ld}_sol2" fi ;; *) if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then LD="${LD-ld} -64" fi ;; esac ;; esac fi rm -rf conftest* ;; esac need_locks="$enable_libtool_lock" ])# _LT_ENABLE_LOCK # _LT_PROG_AR # ----------- m4_defun([_LT_PROG_AR], [AC_CHECK_TOOLS(AR, [ar], false) : ${AR=ar} : ${AR_FLAGS=cru} _LT_DECL([], [AR], [1], [The archiver]) _LT_DECL([], [AR_FLAGS], [1], [Flags to create an archive]) AC_CACHE_CHECK([for archiver @FILE support], [lt_cv_ar_at_file], [lt_cv_ar_at_file=no AC_COMPILE_IFELSE([AC_LANG_PROGRAM], [echo conftest.$ac_objext > conftest.lst lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&AS_MESSAGE_LOG_FD' AC_TRY_EVAL([lt_ar_try]) if test "$ac_status" -eq 0; then # Ensure the archiver fails upon bogus file names. rm -f conftest.$ac_objext libconftest.a AC_TRY_EVAL([lt_ar_try]) if test "$ac_status" -ne 0; then lt_cv_ar_at_file=@ fi fi rm -f conftest.* libconftest.a ]) ]) if test "x$lt_cv_ar_at_file" = xno; then archiver_list_spec= else archiver_list_spec=$lt_cv_ar_at_file fi _LT_DECL([], [archiver_list_spec], [1], [How to feed a file listing to the archiver]) ])# _LT_PROG_AR # _LT_CMD_OLD_ARCHIVE # ------------------- m4_defun([_LT_CMD_OLD_ARCHIVE], [_LT_PROG_AR AC_CHECK_TOOL(STRIP, strip, :) test -z "$STRIP" && STRIP=: _LT_DECL([], [STRIP], [1], [A symbol stripping program]) AC_CHECK_TOOL(RANLIB, ranlib, :) test -z "$RANLIB" && RANLIB=: _LT_DECL([], [RANLIB], [1], [Commands used to install an old-style archive]) # Determine commands to create old-style static archives. old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs' old_postinstall_cmds='chmod 644 $oldlib' old_postuninstall_cmds= if test -n "$RANLIB"; then case $host_os in openbsd*) old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$tool_oldlib" ;; *) old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$tool_oldlib" ;; esac old_archive_cmds="$old_archive_cmds~\$RANLIB \$tool_oldlib" fi case $host_os in darwin*) lock_old_archive_extraction=yes ;; *) lock_old_archive_extraction=no ;; esac _LT_DECL([], [old_postinstall_cmds], [2]) _LT_DECL([], [old_postuninstall_cmds], [2]) _LT_TAGDECL([], [old_archive_cmds], [2], [Commands used to build an old-style archive]) _LT_DECL([], [lock_old_archive_extraction], [0], [Whether to use a lock for old archive extraction]) ])# _LT_CMD_OLD_ARCHIVE # _LT_COMPILER_OPTION(MESSAGE, VARIABLE-NAME, FLAGS, # [OUTPUT-FILE], [ACTION-SUCCESS], [ACTION-FAILURE]) # ---------------------------------------------------------------- # Check whether the given compiler option works AC_DEFUN([_LT_COMPILER_OPTION], [m4_require([_LT_FILEUTILS_DEFAULTS])dnl m4_require([_LT_DECL_SED])dnl AC_CACHE_CHECK([$1], [$2], [$2=no m4_if([$4], , [ac_outfile=conftest.$ac_objext], [ac_outfile=$4]) echo "$lt_simple_compile_test_code" > conftest.$ac_ext lt_compiler_flag="$3" # Insert the option either (1) after the last *FLAGS variable, or # (2) before a word containing "conftest.", or (3) at the end. # Note that $ac_compile itself does not contain backslashes and begins # with a dollar sign (not a hyphen), so the echo should work correctly. # The option is referenced via a variable to avoid confusing sed. lt_compile=`echo "$ac_compile" | $SED \ -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ -e 's: [[^ ]]*conftest\.: $lt_compiler_flag&:; t' \ -e 's:$: $lt_compiler_flag:'` (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&AS_MESSAGE_LOG_FD) (eval "$lt_compile" 2>conftest.err) ac_status=$? cat conftest.err >&AS_MESSAGE_LOG_FD echo "$as_me:$LINENO: \$? = $ac_status" >&AS_MESSAGE_LOG_FD if (exit $ac_status) && test -s "$ac_outfile"; then # The compiler can only warn and ignore the option if not recognized # So say no if there are warnings other than the usual output. $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then $2=yes fi fi $RM conftest* ]) if test x"[$]$2" = xyes; then m4_if([$5], , :, [$5]) else m4_if([$6], , :, [$6]) fi ])# _LT_COMPILER_OPTION # Old name: AU_ALIAS([AC_LIBTOOL_COMPILER_OPTION], [_LT_COMPILER_OPTION]) dnl aclocal-1.4 backwards compatibility: dnl AC_DEFUN([AC_LIBTOOL_COMPILER_OPTION], []) # _LT_LINKER_OPTION(MESSAGE, VARIABLE-NAME, FLAGS, # [ACTION-SUCCESS], [ACTION-FAILURE]) # ---------------------------------------------------- # Check whether the given linker option works AC_DEFUN([_LT_LINKER_OPTION], [m4_require([_LT_FILEUTILS_DEFAULTS])dnl m4_require([_LT_DECL_SED])dnl AC_CACHE_CHECK([$1], [$2], [$2=no save_LDFLAGS="$LDFLAGS" LDFLAGS="$LDFLAGS $3" echo "$lt_simple_link_test_code" > conftest.$ac_ext if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then # The linker can only warn and ignore the option if not recognized # So say no if there are warnings if test -s conftest.err; then # Append any errors to the config.log. cat conftest.err 1>&AS_MESSAGE_LOG_FD $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 if diff conftest.exp conftest.er2 >/dev/null; then $2=yes fi else $2=yes fi fi $RM -r conftest* LDFLAGS="$save_LDFLAGS" ]) if test x"[$]$2" = xyes; then m4_if([$4], , :, [$4]) else m4_if([$5], , :, [$5]) fi ])# _LT_LINKER_OPTION # Old name: AU_ALIAS([AC_LIBTOOL_LINKER_OPTION], [_LT_LINKER_OPTION]) dnl aclocal-1.4 backwards compatibility: dnl AC_DEFUN([AC_LIBTOOL_LINKER_OPTION], []) # LT_CMD_MAX_LEN #--------------- AC_DEFUN([LT_CMD_MAX_LEN], [AC_REQUIRE([AC_CANONICAL_HOST])dnl # find the maximum length of command line arguments AC_MSG_CHECKING([the maximum length of command line arguments]) AC_CACHE_VAL([lt_cv_sys_max_cmd_len], [dnl i=0 teststring="ABCD" case $build_os in msdosdjgpp*) # On DJGPP, this test can blow up pretty badly due to problems in libc # (any single argument exceeding 2000 bytes causes a buffer overrun # during glob expansion). Even if it were fixed, the result of this # check would be larger than it should be. lt_cv_sys_max_cmd_len=12288; # 12K is about right ;; gnu*) # Under GNU Hurd, this test is not required because there is # no limit to the length of command line arguments. # Libtool will interpret -1 as no limit whatsoever lt_cv_sys_max_cmd_len=-1; ;; cygwin* | mingw* | cegcc*) # On Win9x/ME, this test blows up -- it succeeds, but takes # about 5 minutes as the teststring grows exponentially. # Worse, since 9x/ME are not pre-emptively multitasking, # you end up with a "frozen" computer, even though with patience # the test eventually succeeds (with a max line length of 256k). # Instead, let's just punt: use the minimum linelength reported by # all of the supported platforms: 8192 (on NT/2K/XP). lt_cv_sys_max_cmd_len=8192; ;; mint*) # On MiNT this can take a long time and run out of memory. lt_cv_sys_max_cmd_len=8192; ;; amigaos*) # On AmigaOS with pdksh, this test takes hours, literally. # So we just punt and use a minimum line length of 8192. lt_cv_sys_max_cmd_len=8192; ;; netbsd* | freebsd* | openbsd* | darwin* | dragonfly*) # This has been around since 386BSD, at least. Likely further. if test -x /sbin/sysctl; then lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax` elif test -x /usr/sbin/sysctl; then lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax` else lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs fi # And add a safety zone lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4` lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3` ;; interix*) # We know the value 262144 and hardcode it with a safety zone (like BSD) lt_cv_sys_max_cmd_len=196608 ;; os2*) # The test takes a long time on OS/2. lt_cv_sys_max_cmd_len=8192 ;; osf*) # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not # nice to cause kernel panics so lets avoid the loop below. # First set a reasonable default. lt_cv_sys_max_cmd_len=16384 # if test -x /sbin/sysconfig; then case `/sbin/sysconfig -q proc exec_disable_arg_limit` in *1*) lt_cv_sys_max_cmd_len=-1 ;; esac fi ;; sco3.2v5*) lt_cv_sys_max_cmd_len=102400 ;; sysv5* | sco5v6* | sysv4.2uw2*) kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null` if test -n "$kargmax"; then lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[[ ]]//'` else lt_cv_sys_max_cmd_len=32768 fi ;; *) lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null` if test -n "$lt_cv_sys_max_cmd_len"; then lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4` lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3` else # Make teststring a little bigger before we do anything with it. # a 1K string should be a reasonable start. for i in 1 2 3 4 5 6 7 8 ; do teststring=$teststring$teststring done SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}} # If test is not a shell built-in, we'll probably end up computing a # maximum length that is only half of the actual maximum length, but # we can't tell. while { test "X"`env echo "$teststring$teststring" 2>/dev/null` \ = "X$teststring$teststring"; } >/dev/null 2>&1 && test $i != 17 # 1/2 MB should be enough do i=`expr $i + 1` teststring=$teststring$teststring done # Only check the string length outside the loop. lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1` teststring= # Add a significant safety factor because C++ compilers can tack on # massive amounts of additional arguments before passing them to the # linker. It appears as though 1/2 is a usable value. lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2` fi ;; esac ]) if test -n $lt_cv_sys_max_cmd_len ; then AC_MSG_RESULT($lt_cv_sys_max_cmd_len) else AC_MSG_RESULT(none) fi max_cmd_len=$lt_cv_sys_max_cmd_len _LT_DECL([], [max_cmd_len], [0], [What is the maximum length of a command?]) ])# LT_CMD_MAX_LEN # Old name: AU_ALIAS([AC_LIBTOOL_SYS_MAX_CMD_LEN], [LT_CMD_MAX_LEN]) dnl aclocal-1.4 backwards compatibility: dnl AC_DEFUN([AC_LIBTOOL_SYS_MAX_CMD_LEN], []) # _LT_HEADER_DLFCN # ---------------- m4_defun([_LT_HEADER_DLFCN], [AC_CHECK_HEADERS([dlfcn.h], [], [], [AC_INCLUDES_DEFAULT])dnl ])# _LT_HEADER_DLFCN # _LT_TRY_DLOPEN_SELF (ACTION-IF-TRUE, ACTION-IF-TRUE-W-USCORE, # ACTION-IF-FALSE, ACTION-IF-CROSS-COMPILING) # ---------------------------------------------------------------- m4_defun([_LT_TRY_DLOPEN_SELF], [m4_require([_LT_HEADER_DLFCN])dnl if test "$cross_compiling" = yes; then : [$4] else lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 lt_status=$lt_dlunknown cat > conftest.$ac_ext <<_LT_EOF [#line $LINENO "configure" #include "confdefs.h" #if HAVE_DLFCN_H #include #endif #include #ifdef RTLD_GLOBAL # define LT_DLGLOBAL RTLD_GLOBAL #else # ifdef DL_GLOBAL # define LT_DLGLOBAL DL_GLOBAL # else # define LT_DLGLOBAL 0 # endif #endif /* We may have to define LT_DLLAZY_OR_NOW in the command line if we find out it does not work in some platform. */ #ifndef LT_DLLAZY_OR_NOW # ifdef RTLD_LAZY # define LT_DLLAZY_OR_NOW RTLD_LAZY # else # ifdef DL_LAZY # define LT_DLLAZY_OR_NOW DL_LAZY # else # ifdef RTLD_NOW # define LT_DLLAZY_OR_NOW RTLD_NOW # else # ifdef DL_NOW # define LT_DLLAZY_OR_NOW DL_NOW # else # define LT_DLLAZY_OR_NOW 0 # endif # endif # endif # endif #endif /* When -fvisbility=hidden is used, assume the code has been annotated correspondingly for the symbols needed. */ #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3)) int fnord () __attribute__((visibility("default"))); #endif int fnord () { return 42; } int main () { void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW); int status = $lt_dlunknown; if (self) { if (dlsym (self,"fnord")) status = $lt_dlno_uscore; else { if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore; else puts (dlerror ()); } /* dlclose (self); */ } else puts (dlerror ()); return status; }] _LT_EOF if AC_TRY_EVAL(ac_link) && test -s conftest${ac_exeext} 2>/dev/null; then (./conftest; exit; ) >&AS_MESSAGE_LOG_FD 2>/dev/null lt_status=$? case x$lt_status in x$lt_dlno_uscore) $1 ;; x$lt_dlneed_uscore) $2 ;; x$lt_dlunknown|x*) $3 ;; esac else : # compilation failed $3 fi fi rm -fr conftest* ])# _LT_TRY_DLOPEN_SELF # LT_SYS_DLOPEN_SELF # ------------------ AC_DEFUN([LT_SYS_DLOPEN_SELF], [m4_require([_LT_HEADER_DLFCN])dnl if test "x$enable_dlopen" != xyes; then enable_dlopen=unknown enable_dlopen_self=unknown enable_dlopen_self_static=unknown else lt_cv_dlopen=no lt_cv_dlopen_libs= case $host_os in beos*) lt_cv_dlopen="load_add_on" lt_cv_dlopen_libs= lt_cv_dlopen_self=yes ;; mingw* | pw32* | cegcc*) lt_cv_dlopen="LoadLibrary" lt_cv_dlopen_libs= ;; cygwin*) lt_cv_dlopen="dlopen" lt_cv_dlopen_libs= ;; darwin*) # if libdl is installed we need to link against it AC_CHECK_LIB([dl], [dlopen], [lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"],[ lt_cv_dlopen="dyld" lt_cv_dlopen_libs= lt_cv_dlopen_self=yes ]) ;; *) AC_CHECK_FUNC([shl_load], [lt_cv_dlopen="shl_load"], [AC_CHECK_LIB([dld], [shl_load], [lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"], [AC_CHECK_FUNC([dlopen], [lt_cv_dlopen="dlopen"], [AC_CHECK_LIB([dl], [dlopen], [lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"], [AC_CHECK_LIB([svld], [dlopen], [lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"], [AC_CHECK_LIB([dld], [dld_link], [lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"]) ]) ]) ]) ]) ]) ;; esac if test "x$lt_cv_dlopen" != xno; then enable_dlopen=yes else enable_dlopen=no fi case $lt_cv_dlopen in dlopen) save_CPPFLAGS="$CPPFLAGS" test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H" save_LDFLAGS="$LDFLAGS" wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\" save_LIBS="$LIBS" LIBS="$lt_cv_dlopen_libs $LIBS" AC_CACHE_CHECK([whether a program can dlopen itself], lt_cv_dlopen_self, [dnl _LT_TRY_DLOPEN_SELF( lt_cv_dlopen_self=yes, lt_cv_dlopen_self=yes, lt_cv_dlopen_self=no, lt_cv_dlopen_self=cross) ]) if test "x$lt_cv_dlopen_self" = xyes; then wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\" AC_CACHE_CHECK([whether a statically linked program can dlopen itself], lt_cv_dlopen_self_static, [dnl _LT_TRY_DLOPEN_SELF( lt_cv_dlopen_self_static=yes, lt_cv_dlopen_self_static=yes, lt_cv_dlopen_self_static=no, lt_cv_dlopen_self_static=cross) ]) fi CPPFLAGS="$save_CPPFLAGS" LDFLAGS="$save_LDFLAGS" LIBS="$save_LIBS" ;; esac case $lt_cv_dlopen_self in yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;; *) enable_dlopen_self=unknown ;; esac case $lt_cv_dlopen_self_static in yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;; *) enable_dlopen_self_static=unknown ;; esac fi _LT_DECL([dlopen_support], [enable_dlopen], [0], [Whether dlopen is supported]) _LT_DECL([dlopen_self], [enable_dlopen_self], [0], [Whether dlopen of programs is supported]) _LT_DECL([dlopen_self_static], [enable_dlopen_self_static], [0], [Whether dlopen of statically linked programs is supported]) ])# LT_SYS_DLOPEN_SELF # Old name: AU_ALIAS([AC_LIBTOOL_DLOPEN_SELF], [LT_SYS_DLOPEN_SELF]) dnl aclocal-1.4 backwards compatibility: dnl AC_DEFUN([AC_LIBTOOL_DLOPEN_SELF], []) # _LT_COMPILER_C_O([TAGNAME]) # --------------------------- # Check to see if options -c and -o are simultaneously supported by compiler. # This macro does not hard code the compiler like AC_PROG_CC_C_O. m4_defun([_LT_COMPILER_C_O], [m4_require([_LT_DECL_SED])dnl m4_require([_LT_FILEUTILS_DEFAULTS])dnl m4_require([_LT_TAG_COMPILER])dnl AC_CACHE_CHECK([if $compiler supports -c -o file.$ac_objext], [_LT_TAGVAR(lt_cv_prog_compiler_c_o, $1)], [_LT_TAGVAR(lt_cv_prog_compiler_c_o, $1)=no $RM -r conftest 2>/dev/null mkdir conftest cd conftest mkdir out echo "$lt_simple_compile_test_code" > conftest.$ac_ext lt_compiler_flag="-o out/conftest2.$ac_objext" # Insert the option either (1) after the last *FLAGS variable, or # (2) before a word containing "conftest.", or (3) at the end. # Note that $ac_compile itself does not contain backslashes and begins # with a dollar sign (not a hyphen), so the echo should work correctly. lt_compile=`echo "$ac_compile" | $SED \ -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ -e 's: [[^ ]]*conftest\.: $lt_compiler_flag&:; t' \ -e 's:$: $lt_compiler_flag:'` (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&AS_MESSAGE_LOG_FD) (eval "$lt_compile" 2>out/conftest.err) ac_status=$? cat out/conftest.err >&AS_MESSAGE_LOG_FD echo "$as_me:$LINENO: \$? = $ac_status" >&AS_MESSAGE_LOG_FD if (exit $ac_status) && test -s out/conftest2.$ac_objext then # The compiler can only warn and ignore the option if not recognized # So say no if there are warnings $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then _LT_TAGVAR(lt_cv_prog_compiler_c_o, $1)=yes fi fi chmod u+w . 2>&AS_MESSAGE_LOG_FD $RM conftest* # SGI C++ compiler will create directory out/ii_files/ for # template instantiation test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files $RM out/* && rmdir out cd .. $RM -r conftest $RM conftest* ]) _LT_TAGDECL([compiler_c_o], [lt_cv_prog_compiler_c_o], [1], [Does compiler simultaneously support -c and -o options?]) ])# _LT_COMPILER_C_O # _LT_COMPILER_FILE_LOCKS([TAGNAME]) # ---------------------------------- # Check to see if we can do hard links to lock some files if needed m4_defun([_LT_COMPILER_FILE_LOCKS], [m4_require([_LT_ENABLE_LOCK])dnl m4_require([_LT_FILEUTILS_DEFAULTS])dnl _LT_COMPILER_C_O([$1]) hard_links="nottested" if test "$_LT_TAGVAR(lt_cv_prog_compiler_c_o, $1)" = no && test "$need_locks" != no; then # do not overwrite the value of need_locks provided by the user AC_MSG_CHECKING([if we can lock with hard links]) hard_links=yes $RM conftest* ln conftest.a conftest.b 2>/dev/null && hard_links=no touch conftest.a ln conftest.a conftest.b 2>&5 || hard_links=no ln conftest.a conftest.b 2>/dev/null && hard_links=no AC_MSG_RESULT([$hard_links]) if test "$hard_links" = no; then AC_MSG_WARN([`$CC' does not support `-c -o', so `make -j' may be unsafe]) need_locks=warn fi else need_locks=no fi _LT_DECL([], [need_locks], [1], [Must we lock files when doing compilation?]) ])# _LT_COMPILER_FILE_LOCKS # _LT_CHECK_OBJDIR # ---------------- m4_defun([_LT_CHECK_OBJDIR], [AC_CACHE_CHECK([for objdir], [lt_cv_objdir], [rm -f .libs 2>/dev/null mkdir .libs 2>/dev/null if test -d .libs; then lt_cv_objdir=.libs else # MS-DOS does not allow filenames that begin with a dot. lt_cv_objdir=_libs fi rmdir .libs 2>/dev/null]) objdir=$lt_cv_objdir _LT_DECL([], [objdir], [0], [The name of the directory that contains temporary libtool files])dnl m4_pattern_allow([LT_OBJDIR])dnl AC_DEFINE_UNQUOTED(LT_OBJDIR, "$lt_cv_objdir/", [Define to the sub-directory in which libtool stores uninstalled libraries.]) ])# _LT_CHECK_OBJDIR # _LT_LINKER_HARDCODE_LIBPATH([TAGNAME]) # -------------------------------------- # Check hardcoding attributes. m4_defun([_LT_LINKER_HARDCODE_LIBPATH], [AC_MSG_CHECKING([how to hardcode library paths into programs]) _LT_TAGVAR(hardcode_action, $1)= if test -n "$_LT_TAGVAR(hardcode_libdir_flag_spec, $1)" || test -n "$_LT_TAGVAR(runpath_var, $1)" || test "X$_LT_TAGVAR(hardcode_automatic, $1)" = "Xyes" ; then # We can hardcode non-existent directories. if test "$_LT_TAGVAR(hardcode_direct, $1)" != no && # If the only mechanism to avoid hardcoding is shlibpath_var, we # have to relink, otherwise we might link with an installed library # when we should be linking with a yet-to-be-installed one ## test "$_LT_TAGVAR(hardcode_shlibpath_var, $1)" != no && test "$_LT_TAGVAR(hardcode_minus_L, $1)" != no; then # Linking always hardcodes the temporary library directory. _LT_TAGVAR(hardcode_action, $1)=relink else # We can link without hardcoding, and we can hardcode nonexisting dirs. _LT_TAGVAR(hardcode_action, $1)=immediate fi else # We cannot hardcode anything, or else we can only hardcode existing # directories. _LT_TAGVAR(hardcode_action, $1)=unsupported fi AC_MSG_RESULT([$_LT_TAGVAR(hardcode_action, $1)]) if test "$_LT_TAGVAR(hardcode_action, $1)" = relink || test "$_LT_TAGVAR(inherit_rpath, $1)" = yes; then # Fast installation is not supported enable_fast_install=no elif test "$shlibpath_overrides_runpath" = yes || test "$enable_shared" = no; then # Fast installation is not necessary enable_fast_install=needless fi _LT_TAGDECL([], [hardcode_action], [0], [How to hardcode a shared library path into an executable]) ])# _LT_LINKER_HARDCODE_LIBPATH # _LT_CMD_STRIPLIB # ---------------- m4_defun([_LT_CMD_STRIPLIB], [m4_require([_LT_DECL_EGREP]) striplib= old_striplib= AC_MSG_CHECKING([whether stripping libraries is possible]) if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then test -z "$old_striplib" && old_striplib="$STRIP --strip-debug" test -z "$striplib" && striplib="$STRIP --strip-unneeded" AC_MSG_RESULT([yes]) else # FIXME - insert some real tests, host_os isn't really good enough case $host_os in darwin*) if test -n "$STRIP" ; then striplib="$STRIP -x" old_striplib="$STRIP -S" AC_MSG_RESULT([yes]) else AC_MSG_RESULT([no]) fi ;; *) AC_MSG_RESULT([no]) ;; esac fi _LT_DECL([], [old_striplib], [1], [Commands to strip libraries]) _LT_DECL([], [striplib], [1]) ])# _LT_CMD_STRIPLIB # _LT_SYS_DYNAMIC_LINKER([TAG]) # ----------------------------- # PORTME Fill in your ld.so characteristics m4_defun([_LT_SYS_DYNAMIC_LINKER], [AC_REQUIRE([AC_CANONICAL_HOST])dnl m4_require([_LT_DECL_EGREP])dnl m4_require([_LT_FILEUTILS_DEFAULTS])dnl m4_require([_LT_DECL_OBJDUMP])dnl m4_require([_LT_DECL_SED])dnl m4_require([_LT_CHECK_SHELL_FEATURES])dnl AC_MSG_CHECKING([dynamic linker characteristics]) m4_if([$1], [], [ if test "$GCC" = yes; then case $host_os in darwin*) lt_awk_arg="/^libraries:/,/LR/" ;; *) lt_awk_arg="/^libraries:/" ;; esac case $host_os in mingw* | cegcc*) lt_sed_strip_eq="s,=\([[A-Za-z]]:\),\1,g" ;; *) lt_sed_strip_eq="s,=/,/,g" ;; esac lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq` case $lt_search_path_spec in *\;*) # if the path contains ";" then we assume it to be the separator # otherwise default to the standard path separator (i.e. ":") - it is # assumed that no part of a normal pathname contains ";" but that should # okay in the real world where ";" in dirpaths is itself problematic. lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'` ;; *) lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"` ;; esac # Ok, now we have the path, separated by spaces, we can step through it # and add multilib dir if necessary. lt_tmp_lt_search_path_spec= lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null` for lt_sys_path in $lt_search_path_spec; do if test -d "$lt_sys_path/$lt_multi_os_dir"; then lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir" else test -d "$lt_sys_path" && \ lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path" fi done lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk ' BEGIN {RS=" "; FS="/|\n";} { lt_foo=""; lt_count=0; for (lt_i = NF; lt_i > 0; lt_i--) { if ($lt_i != "" && $lt_i != ".") { if ($lt_i == "..") { lt_count++; } else { if (lt_count == 0) { lt_foo="/" $lt_i lt_foo; } else { lt_count--; } } } } if (lt_foo != "") { lt_freq[[lt_foo]]++; } if (lt_freq[[lt_foo]] == 1) { print lt_foo; } }'` # AWK program above erroneously prepends '/' to C:/dos/paths # for these hosts. case $host_os in mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\ $SED 's,/\([[A-Za-z]]:\),\1,g'` ;; esac sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP` else sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib" fi]) library_names_spec= libname_spec='lib$name' soname_spec= shrext_cmds=".so" postinstall_cmds= postuninstall_cmds= finish_cmds= finish_eval= shlibpath_var= shlibpath_overrides_runpath=unknown version_type=none dynamic_linker="$host_os ld.so" sys_lib_dlsearch_path_spec="/lib /usr/lib" need_lib_prefix=unknown hardcode_into_libs=no # when you set need_version to no, make sure it does not cause -set_version # flags to be left without arguments need_version=unknown case $host_os in aix3*) version_type=linux # correct to gnu/linux during the next big refactor library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a' shlibpath_var=LIBPATH # AIX 3 has no versioning support, so we append a major version to the name. soname_spec='${libname}${release}${shared_ext}$major' ;; aix[[4-9]]*) version_type=linux # correct to gnu/linux during the next big refactor need_lib_prefix=no need_version=no hardcode_into_libs=yes if test "$host_cpu" = ia64; then # AIX 5 supports IA64 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}' shlibpath_var=LD_LIBRARY_PATH else # With GCC up to 2.95.x, collect2 would create an import file # for dependence libraries. The import file would start with # the line `#! .'. This would cause the generated library to # depend on `.', always an invalid library. This was fixed in # development snapshots of GCC prior to 3.0. case $host_os in aix4 | aix4.[[01]] | aix4.[[01]].*) if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)' echo ' yes ' echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then : else can_build_shared=no fi ;; esac # AIX (on Power*) has no versioning support, so currently we can not hardcode correct # soname into executable. Probably we can add versioning support to # collect2, so additional links can be useful in future. if test "$aix_use_runtimelinking" = yes; then # If using run time linking (on AIX 4.2 or later) use lib.so # instead of lib.a to let people know that these are not # typical AIX shared libraries. library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' else # We preserve .a as extension for shared libraries through AIX4.2 # and later when we are not doing run time linking. library_names_spec='${libname}${release}.a $libname.a' soname_spec='${libname}${release}${shared_ext}$major' fi shlibpath_var=LIBPATH fi ;; amigaos*) case $host_cpu in powerpc) # Since July 2007 AmigaOS4 officially supports .so libraries. # When compiling the executable, add -use-dynld -Lsobjs: to the compileline. library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' ;; m68k) library_names_spec='$libname.ixlibrary $libname.a' # Create ${libname}_ixlibrary.a entries in /sys/libs. finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`func_echo_all "$lib" | $SED '\''s%^.*/\([[^/]]*\)\.ixlibrary$%\1%'\''`; test $RM /sys/libs/${libname}_ixlibrary.a; $show "cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a"; cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a || exit 1; done' ;; esac ;; beos*) library_names_spec='${libname}${shared_ext}' dynamic_linker="$host_os ld.so" shlibpath_var=LIBRARY_PATH ;; bsdi[[45]]*) version_type=linux # correct to gnu/linux during the next big refactor need_version=no library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' soname_spec='${libname}${release}${shared_ext}$major' finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir' shlibpath_var=LD_LIBRARY_PATH sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib" sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib" # the default ld.so.conf also contains /usr/contrib/lib and # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow # libtool to hard-code these into programs ;; cygwin* | mingw* | pw32* | cegcc*) version_type=windows shrext_cmds=".dll" need_version=no need_lib_prefix=no case $GCC,$cc_basename in yes,*) # gcc library_names_spec='$libname.dll.a' # DLL is installed to $(libdir)/../bin by postinstall_cmds postinstall_cmds='base_file=`basename \${file}`~ dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~ dldir=$destdir/`dirname \$dlpath`~ test -d \$dldir || mkdir -p \$dldir~ $install_prog $dir/$dlname \$dldir/$dlname~ chmod a+x \$dldir/$dlname~ if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then eval '\''$striplib \$dldir/$dlname'\'' || exit \$?; fi' postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~ dlpath=$dir/\$dldll~ $RM \$dlpath' shlibpath_overrides_runpath=yes case $host_os in cygwin*) # Cygwin DLLs use 'cyg' prefix rather than 'lib' soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[[.]]/-/g'`${versuffix}${shared_ext}' m4_if([$1], [],[ sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"]) ;; mingw* | cegcc*) # MinGW DLLs use traditional 'lib' prefix soname_spec='${libname}`echo ${release} | $SED -e 's/[[.]]/-/g'`${versuffix}${shared_ext}' ;; pw32*) # pw32 DLLs use 'pw' prefix rather than 'lib' library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[[.]]/-/g'`${versuffix}${shared_ext}' ;; esac dynamic_linker='Win32 ld.exe' ;; *,cl*) # Native MSVC libname_spec='$name' soname_spec='${libname}`echo ${release} | $SED -e 's/[[.]]/-/g'`${versuffix}${shared_ext}' library_names_spec='${libname}.dll.lib' case $build_os in mingw*) sys_lib_search_path_spec= lt_save_ifs=$IFS IFS=';' for lt_path in $LIB do IFS=$lt_save_ifs # Let DOS variable expansion print the short 8.3 style file name. lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"` sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path" done IFS=$lt_save_ifs # Convert to MSYS style. sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([[a-zA-Z]]\\):| /\\1|g' -e 's|^ ||'` ;; cygwin*) # Convert to unix form, then to dos form, then back to unix form # but this time dos style (no spaces!) so that the unix form looks # like /cygdrive/c/PROGRA~1:/cygdr... sys_lib_search_path_spec=`cygpath --path --unix "$LIB"` sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null` sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"` ;; *) sys_lib_search_path_spec="$LIB" if $ECHO "$sys_lib_search_path_spec" | [$GREP ';[c-zC-Z]:/' >/dev/null]; then # It is most probably a Windows format PATH. sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'` else sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"` fi # FIXME: find the short name or the path components, as spaces are # common. (e.g. "Program Files" -> "PROGRA~1") ;; esac # DLL is installed to $(libdir)/../bin by postinstall_cmds postinstall_cmds='base_file=`basename \${file}`~ dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~ dldir=$destdir/`dirname \$dlpath`~ test -d \$dldir || mkdir -p \$dldir~ $install_prog $dir/$dlname \$dldir/$dlname' postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~ dlpath=$dir/\$dldll~ $RM \$dlpath' shlibpath_overrides_runpath=yes dynamic_linker='Win32 link.exe' ;; *) # Assume MSVC wrapper library_names_spec='${libname}`echo ${release} | $SED -e 's/[[.]]/-/g'`${versuffix}${shared_ext} $libname.lib' dynamic_linker='Win32 ld.exe' ;; esac # FIXME: first we should search . and the directory the executable is in shlibpath_var=PATH ;; darwin* | rhapsody*) dynamic_linker="$host_os dyld" version_type=darwin need_lib_prefix=no need_version=no library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext' soname_spec='${libname}${release}${major}$shared_ext' shlibpath_overrides_runpath=yes shlibpath_var=DYLD_LIBRARY_PATH shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`' m4_if([$1], [],[ sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"]) sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib' ;; dgux*) version_type=linux # correct to gnu/linux during the next big refactor need_lib_prefix=no need_version=no library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext' soname_spec='${libname}${release}${shared_ext}$major' shlibpath_var=LD_LIBRARY_PATH ;; freebsd* | dragonfly*) # DragonFly does not have aout. When/if they implement a new # versioning mechanism, adjust this. if test -x /usr/bin/objformat; then objformat=`/usr/bin/objformat` else case $host_os in freebsd[[23]].*) objformat=aout ;; *) objformat=elf ;; esac fi version_type=freebsd-$objformat case $version_type in freebsd-elf*) library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}' need_version=no need_lib_prefix=no ;; freebsd-*) library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix' need_version=yes ;; esac shlibpath_var=LD_LIBRARY_PATH case $host_os in freebsd2.*) shlibpath_overrides_runpath=yes ;; freebsd3.[[01]]* | freebsdelf3.[[01]]*) shlibpath_overrides_runpath=yes hardcode_into_libs=yes ;; freebsd3.[[2-9]]* | freebsdelf3.[[2-9]]* | \ freebsd4.[[0-5]] | freebsdelf4.[[0-5]] | freebsd4.1.1 | freebsdelf4.1.1) shlibpath_overrides_runpath=no hardcode_into_libs=yes ;; *) # from 4.6 on, and DragonFly shlibpath_overrides_runpath=yes hardcode_into_libs=yes ;; esac ;; gnu*) version_type=linux # correct to gnu/linux during the next big refactor need_lib_prefix=no need_version=no library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}' soname_spec='${libname}${release}${shared_ext}$major' shlibpath_var=LD_LIBRARY_PATH shlibpath_overrides_runpath=no hardcode_into_libs=yes ;; haiku*) version_type=linux # correct to gnu/linux during the next big refactor need_lib_prefix=no need_version=no dynamic_linker="$host_os runtime_loader" library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}' soname_spec='${libname}${release}${shared_ext}$major' shlibpath_var=LIBRARY_PATH shlibpath_overrides_runpath=yes sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib' hardcode_into_libs=yes ;; hpux9* | hpux10* | hpux11*) # Give a soname corresponding to the major version so that dld.sl refuses to # link against other versions. version_type=sunos need_lib_prefix=no need_version=no case $host_cpu in ia64*) shrext_cmds='.so' hardcode_into_libs=yes dynamic_linker="$host_os dld.so" shlibpath_var=LD_LIBRARY_PATH shlibpath_overrides_runpath=yes # Unless +noenvvar is specified. library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' soname_spec='${libname}${release}${shared_ext}$major' if test "X$HPUX_IA64_MODE" = X32; then sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib" else sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64" fi sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec ;; hppa*64*) shrext_cmds='.sl' hardcode_into_libs=yes dynamic_linker="$host_os dld.sl" shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH shlibpath_overrides_runpath=yes # Unless +noenvvar is specified. library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' soname_spec='${libname}${release}${shared_ext}$major' sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64" sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec ;; *) shrext_cmds='.sl' dynamic_linker="$host_os dld.sl" shlibpath_var=SHLIB_PATH shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' soname_spec='${libname}${release}${shared_ext}$major' ;; esac # HP-UX runs *really* slowly unless shared libraries are mode 555, ... postinstall_cmds='chmod 555 $lib' # or fails outright, so override atomically: install_override_mode=555 ;; interix[[3-9]]*) version_type=linux # correct to gnu/linux during the next big refactor need_lib_prefix=no need_version=no library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}' soname_spec='${libname}${release}${shared_ext}$major' dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)' shlibpath_var=LD_LIBRARY_PATH shlibpath_overrides_runpath=no hardcode_into_libs=yes ;; irix5* | irix6* | nonstopux*) case $host_os in nonstopux*) version_type=nonstopux ;; *) if test "$lt_cv_prog_gnu_ld" = yes; then version_type=linux # correct to gnu/linux during the next big refactor else version_type=irix fi ;; esac need_lib_prefix=no need_version=no soname_spec='${libname}${release}${shared_ext}$major' library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}' case $host_os in irix5* | nonstopux*) libsuff= shlibsuff= ;; *) case $LD in # libtool.m4 will add one of these switches to LD *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ") libsuff= shlibsuff= libmagic=32-bit;; *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ") libsuff=32 shlibsuff=N32 libmagic=N32;; *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ") libsuff=64 shlibsuff=64 libmagic=64-bit;; *) libsuff= shlibsuff= libmagic=never-match;; esac ;; esac shlibpath_var=LD_LIBRARY${shlibsuff}_PATH shlibpath_overrides_runpath=no sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}" sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}" hardcode_into_libs=yes ;; # No shared lib support for Linux oldld, aout, or coff. linux*oldld* | linux*aout* | linux*coff*) dynamic_linker=no ;; # This must be glibc/ELF. linux* | k*bsd*-gnu | kopensolaris*-gnu) version_type=linux # correct to gnu/linux during the next big refactor need_lib_prefix=no need_version=no library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' soname_spec='${libname}${release}${shared_ext}$major' finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir' shlibpath_var=LD_LIBRARY_PATH shlibpath_overrides_runpath=no # Some binutils ld are patched to set DT_RUNPATH AC_CACHE_VAL([lt_cv_shlibpath_overrides_runpath], [lt_cv_shlibpath_overrides_runpath=no save_LDFLAGS=$LDFLAGS save_libdir=$libdir eval "libdir=/foo; wl=\"$_LT_TAGVAR(lt_prog_compiler_wl, $1)\"; \ LDFLAGS=\"\$LDFLAGS $_LT_TAGVAR(hardcode_libdir_flag_spec, $1)\"" AC_LINK_IFELSE([AC_LANG_PROGRAM([],[])], [AS_IF([ ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null], [lt_cv_shlibpath_overrides_runpath=yes])]) LDFLAGS=$save_LDFLAGS libdir=$save_libdir ]) shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath # This implies no fast_install, which is unacceptable. # Some rework will be needed to allow for fast_install # before this can be enabled. hardcode_into_libs=yes # Append ld.so.conf contents to the search path if test -f /etc/ld.so.conf; then lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \[$]2)); skip = 1; } { if (!skip) print \[$]0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;/^[ ]*hwcap[ ]/d;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;s/"//g;/^$/d' | tr '\n' ' '` sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra" fi # We used to test for /lib/ld.so.1 and disable shared libraries on # powerpc, because MkLinux only supported shared libraries with the # GNU dynamic linker. Since this was broken with cross compilers, # most powerpc-linux boxes support dynamic linking these days and # people can always --disable-shared, the test was removed, and we # assume the GNU/Linux dynamic linker is in use. dynamic_linker='GNU/Linux ld.so' ;; netbsd*) version_type=sunos need_lib_prefix=no need_version=no if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix' finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir' dynamic_linker='NetBSD (a.out) ld.so' else library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}' soname_spec='${libname}${release}${shared_ext}$major' dynamic_linker='NetBSD ld.elf_so' fi shlibpath_var=LD_LIBRARY_PATH shlibpath_overrides_runpath=yes hardcode_into_libs=yes ;; newsos6) version_type=linux # correct to gnu/linux during the next big refactor library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' shlibpath_var=LD_LIBRARY_PATH shlibpath_overrides_runpath=yes ;; *nto* | *qnx*) version_type=qnx need_lib_prefix=no need_version=no library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' soname_spec='${libname}${release}${shared_ext}$major' shlibpath_var=LD_LIBRARY_PATH shlibpath_overrides_runpath=no hardcode_into_libs=yes dynamic_linker='ldqnx.so' ;; openbsd*) version_type=sunos sys_lib_dlsearch_path_spec="/usr/lib" need_lib_prefix=no # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs. case $host_os in openbsd3.3 | openbsd3.3.*) need_version=yes ;; *) need_version=no ;; esac library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix' finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir' shlibpath_var=LD_LIBRARY_PATH if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then case $host_os in openbsd2.[[89]] | openbsd2.[[89]].*) shlibpath_overrides_runpath=no ;; *) shlibpath_overrides_runpath=yes ;; esac else shlibpath_overrides_runpath=yes fi ;; os2*) libname_spec='$name' shrext_cmds=".dll" need_lib_prefix=no library_names_spec='$libname${shared_ext} $libname.a' dynamic_linker='OS/2 ld.exe' shlibpath_var=LIBPATH ;; osf3* | osf4* | osf5*) version_type=osf need_lib_prefix=no need_version=no soname_spec='${libname}${release}${shared_ext}$major' library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' shlibpath_var=LD_LIBRARY_PATH sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib" sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec" ;; rdos*) dynamic_linker=no ;; solaris*) version_type=linux # correct to gnu/linux during the next big refactor need_lib_prefix=no need_version=no library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' soname_spec='${libname}${release}${shared_ext}$major' shlibpath_var=LD_LIBRARY_PATH shlibpath_overrides_runpath=yes hardcode_into_libs=yes # ldd complains unless libraries are executable postinstall_cmds='chmod +x $lib' ;; sunos4*) version_type=sunos library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix' finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir' shlibpath_var=LD_LIBRARY_PATH shlibpath_overrides_runpath=yes if test "$with_gnu_ld" = yes; then need_lib_prefix=no fi need_version=yes ;; sysv4 | sysv4.3*) version_type=linux # correct to gnu/linux during the next big refactor library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' soname_spec='${libname}${release}${shared_ext}$major' shlibpath_var=LD_LIBRARY_PATH case $host_vendor in sni) shlibpath_overrides_runpath=no need_lib_prefix=no runpath_var=LD_RUN_PATH ;; siemens) need_lib_prefix=no ;; motorola) need_lib_prefix=no need_version=no shlibpath_overrides_runpath=no sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib' ;; esac ;; sysv4*MP*) if test -d /usr/nec ;then version_type=linux # correct to gnu/linux during the next big refactor library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}' soname_spec='$libname${shared_ext}.$major' shlibpath_var=LD_LIBRARY_PATH fi ;; sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*) version_type=freebsd-elf need_lib_prefix=no need_version=no library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}' soname_spec='${libname}${release}${shared_ext}$major' shlibpath_var=LD_LIBRARY_PATH shlibpath_overrides_runpath=yes hardcode_into_libs=yes if test "$with_gnu_ld" = yes; then sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib' else sys_lib_search_path_spec='/usr/ccs/lib /usr/lib' case $host_os in sco3.2v5*) sys_lib_search_path_spec="$sys_lib_search_path_spec /lib" ;; esac fi sys_lib_dlsearch_path_spec='/usr/lib' ;; tpf*) # TPF is a cross-target only. Preferred cross-host = GNU/Linux. version_type=linux # correct to gnu/linux during the next big refactor need_lib_prefix=no need_version=no library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' shlibpath_var=LD_LIBRARY_PATH shlibpath_overrides_runpath=no hardcode_into_libs=yes ;; uts4*) version_type=linux # correct to gnu/linux during the next big refactor library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' soname_spec='${libname}${release}${shared_ext}$major' shlibpath_var=LD_LIBRARY_PATH ;; *) dynamic_linker=no ;; esac AC_MSG_RESULT([$dynamic_linker]) test "$dynamic_linker" = no && can_build_shared=no variables_saved_for_relink="PATH $shlibpath_var $runpath_var" if test "$GCC" = yes; then variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH" fi if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec" fi if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec" fi _LT_DECL([], [variables_saved_for_relink], [1], [Variables whose values should be saved in libtool wrapper scripts and restored at link time]) _LT_DECL([], [need_lib_prefix], [0], [Do we need the "lib" prefix for modules?]) _LT_DECL([], [need_version], [0], [Do we need a version for libraries?]) _LT_DECL([], [version_type], [0], [Library versioning type]) _LT_DECL([], [runpath_var], [0], [Shared library runtime path variable]) _LT_DECL([], [shlibpath_var], [0],[Shared library path variable]) _LT_DECL([], [shlibpath_overrides_runpath], [0], [Is shlibpath searched before the hard-coded library search path?]) _LT_DECL([], [libname_spec], [1], [Format of library name prefix]) _LT_DECL([], [library_names_spec], [1], [[List of archive names. First name is the real one, the rest are links. The last name is the one that the linker finds with -lNAME]]) _LT_DECL([], [soname_spec], [1], [[The coded name of the library, if different from the real name]]) _LT_DECL([], [install_override_mode], [1], [Permission mode override for installation of shared libraries]) _LT_DECL([], [postinstall_cmds], [2], [Command to use after installation of a shared archive]) _LT_DECL([], [postuninstall_cmds], [2], [Command to use after uninstallation of a shared archive]) _LT_DECL([], [finish_cmds], [2], [Commands used to finish a libtool library installation in a directory]) _LT_DECL([], [finish_eval], [1], [[As "finish_cmds", except a single script fragment to be evaled but not shown]]) _LT_DECL([], [hardcode_into_libs], [0], [Whether we should hardcode library paths into libraries]) _LT_DECL([], [sys_lib_search_path_spec], [2], [Compile-time system search path for libraries]) _LT_DECL([], [sys_lib_dlsearch_path_spec], [2], [Run-time system search path for libraries]) ])# _LT_SYS_DYNAMIC_LINKER # _LT_PATH_TOOL_PREFIX(TOOL) # -------------------------- # find a file program which can recognize shared library AC_DEFUN([_LT_PATH_TOOL_PREFIX], [m4_require([_LT_DECL_EGREP])dnl AC_MSG_CHECKING([for $1]) AC_CACHE_VAL(lt_cv_path_MAGIC_CMD, [case $MAGIC_CMD in [[\\/*] | ?:[\\/]*]) lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path. ;; *) lt_save_MAGIC_CMD="$MAGIC_CMD" lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR dnl $ac_dummy forces splitting on constant user-supplied paths. dnl POSIX.2 word splitting is done only on the output of word expansions, dnl not every word. This closes a longstanding sh security hole. ac_dummy="m4_if([$2], , $PATH, [$2])" for ac_dir in $ac_dummy; do IFS="$lt_save_ifs" test -z "$ac_dir" && ac_dir=. if test -f $ac_dir/$1; then lt_cv_path_MAGIC_CMD="$ac_dir/$1" if test -n "$file_magic_test_file"; then case $deplibs_check_method in "file_magic "*) file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"` MAGIC_CMD="$lt_cv_path_MAGIC_CMD" if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null | $EGREP "$file_magic_regex" > /dev/null; then : else cat <<_LT_EOF 1>&2 *** Warning: the command libtool uses to detect shared libraries, *** $file_magic_cmd, produces output that libtool cannot recognize. *** The result is that libtool may fail to recognize shared libraries *** as such. This will affect the creation of libtool libraries that *** depend on shared libraries, but programs linked with such libtool *** libraries will work regardless of this problem. Nevertheless, you *** may want to report the problem to your system manager and/or to *** bug-libtool@gnu.org _LT_EOF fi ;; esac fi break fi done IFS="$lt_save_ifs" MAGIC_CMD="$lt_save_MAGIC_CMD" ;; esac]) MAGIC_CMD="$lt_cv_path_MAGIC_CMD" if test -n "$MAGIC_CMD"; then AC_MSG_RESULT($MAGIC_CMD) else AC_MSG_RESULT(no) fi _LT_DECL([], [MAGIC_CMD], [0], [Used to examine libraries when file_magic_cmd begins with "file"])dnl ])# _LT_PATH_TOOL_PREFIX # Old name: AU_ALIAS([AC_PATH_TOOL_PREFIX], [_LT_PATH_TOOL_PREFIX]) dnl aclocal-1.4 backwards compatibility: dnl AC_DEFUN([AC_PATH_TOOL_PREFIX], []) # _LT_PATH_MAGIC # -------------- # find a file program which can recognize a shared library m4_defun([_LT_PATH_MAGIC], [_LT_PATH_TOOL_PREFIX(${ac_tool_prefix}file, /usr/bin$PATH_SEPARATOR$PATH) if test -z "$lt_cv_path_MAGIC_CMD"; then if test -n "$ac_tool_prefix"; then _LT_PATH_TOOL_PREFIX(file, /usr/bin$PATH_SEPARATOR$PATH) else MAGIC_CMD=: fi fi ])# _LT_PATH_MAGIC # LT_PATH_LD # ---------- # find the pathname to the GNU or non-GNU linker AC_DEFUN([LT_PATH_LD], [AC_REQUIRE([AC_PROG_CC])dnl AC_REQUIRE([AC_CANONICAL_HOST])dnl AC_REQUIRE([AC_CANONICAL_BUILD])dnl m4_require([_LT_DECL_SED])dnl m4_require([_LT_DECL_EGREP])dnl m4_require([_LT_PROG_ECHO_BACKSLASH])dnl AC_ARG_WITH([gnu-ld], [AS_HELP_STRING([--with-gnu-ld], [assume the C compiler uses GNU ld @<:@default=no@:>@])], [test "$withval" = no || with_gnu_ld=yes], [with_gnu_ld=no])dnl ac_prog=ld if test "$GCC" = yes; then # Check if gcc -print-prog-name=ld gives a path. AC_MSG_CHECKING([for ld used by $CC]) case $host in *-*-mingw*) # gcc leaves a trailing carriage return which upsets mingw ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;; *) ac_prog=`($CC -print-prog-name=ld) 2>&5` ;; esac case $ac_prog in # Accept absolute paths. [[\\/]]* | ?:[[\\/]]*) re_direlt='/[[^/]][[^/]]*/\.\./' # Canonicalize the pathname of ld ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'` while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"` done test -z "$LD" && LD="$ac_prog" ;; "") # If it fails, then pretend we aren't using GCC. ac_prog=ld ;; *) # If it is relative, then search for the first ld in PATH. with_gnu_ld=unknown ;; esac elif test "$with_gnu_ld" = yes; then AC_MSG_CHECKING([for GNU ld]) else AC_MSG_CHECKING([for non-GNU ld]) fi AC_CACHE_VAL(lt_cv_path_LD, [if test -z "$LD"; then lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR for ac_dir in $PATH; do IFS="$lt_save_ifs" test -z "$ac_dir" && ac_dir=. if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then lt_cv_path_LD="$ac_dir/$ac_prog" # Check to see if the program is GNU ld. I'd rather use --version, # but apparently some variants of GNU ld only accept -v. # Break only if it was the GNU/non-GNU ld that we prefer. case `"$lt_cv_path_LD" -v 2>&1 &1 /dev/null 2>&1; then lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL' lt_cv_file_magic_cmd='func_win32_libid' else # Keep this pattern in sync with the one in func_win32_libid. lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)' lt_cv_file_magic_cmd='$OBJDUMP -f' fi ;; cegcc*) # use the weaker test based on 'objdump'. See mingw*. lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?' lt_cv_file_magic_cmd='$OBJDUMP -f' ;; darwin* | rhapsody*) lt_cv_deplibs_check_method=pass_all ;; freebsd* | dragonfly*) if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then case $host_cpu in i*86 ) # Not sure whether the presence of OpenBSD here was a mistake. # Let's accept both of them until this is cleared up. lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[[3-9]]86 (compact )?demand paged shared library' lt_cv_file_magic_cmd=/usr/bin/file lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*` ;; esac else lt_cv_deplibs_check_method=pass_all fi ;; gnu*) lt_cv_deplibs_check_method=pass_all ;; haiku*) lt_cv_deplibs_check_method=pass_all ;; hpux10.20* | hpux11*) lt_cv_file_magic_cmd=/usr/bin/file case $host_cpu in ia64*) lt_cv_deplibs_check_method='file_magic (s[[0-9]][[0-9]][[0-9]]|ELF-[[0-9]][[0-9]]) shared object file - IA64' lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so ;; hppa*64*) [lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF[ -][0-9][0-9])(-bit)?( [LM]SB)? shared object( file)?[, -]* PA-RISC [0-9]\.[0-9]'] lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl ;; *) lt_cv_deplibs_check_method='file_magic (s[[0-9]][[0-9]][[0-9]]|PA-RISC[[0-9]]\.[[0-9]]) shared library' lt_cv_file_magic_test_file=/usr/lib/libc.sl ;; esac ;; interix[[3-9]]*) # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here lt_cv_deplibs_check_method='match_pattern /lib[[^/]]+(\.so|\.a)$' ;; irix5* | irix6* | nonstopux*) case $LD in *-32|*"-32 ") libmagic=32-bit;; *-n32|*"-n32 ") libmagic=N32;; *-64|*"-64 ") libmagic=64-bit;; *) libmagic=never-match;; esac lt_cv_deplibs_check_method=pass_all ;; # This must be glibc/ELF. linux* | k*bsd*-gnu | kopensolaris*-gnu) lt_cv_deplibs_check_method=pass_all ;; netbsd*) if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then lt_cv_deplibs_check_method='match_pattern /lib[[^/]]+(\.so\.[[0-9]]+\.[[0-9]]+|_pic\.a)$' else lt_cv_deplibs_check_method='match_pattern /lib[[^/]]+(\.so|_pic\.a)$' fi ;; newos6*) lt_cv_deplibs_check_method='file_magic ELF [[0-9]][[0-9]]*-bit [[ML]]SB (executable|dynamic lib)' lt_cv_file_magic_cmd=/usr/bin/file lt_cv_file_magic_test_file=/usr/lib/libnls.so ;; *nto* | *qnx*) lt_cv_deplibs_check_method=pass_all ;; openbsd*) if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then lt_cv_deplibs_check_method='match_pattern /lib[[^/]]+(\.so\.[[0-9]]+\.[[0-9]]+|\.so|_pic\.a)$' else lt_cv_deplibs_check_method='match_pattern /lib[[^/]]+(\.so\.[[0-9]]+\.[[0-9]]+|_pic\.a)$' fi ;; osf3* | osf4* | osf5*) lt_cv_deplibs_check_method=pass_all ;; rdos*) lt_cv_deplibs_check_method=pass_all ;; solaris*) lt_cv_deplibs_check_method=pass_all ;; sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*) lt_cv_deplibs_check_method=pass_all ;; sysv4 | sysv4.3*) case $host_vendor in motorola) lt_cv_deplibs_check_method='file_magic ELF [[0-9]][[0-9]]*-bit [[ML]]SB (shared object|dynamic lib) M[[0-9]][[0-9]]* Version [[0-9]]' lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*` ;; ncr) lt_cv_deplibs_check_method=pass_all ;; sequent) lt_cv_file_magic_cmd='/bin/file' lt_cv_deplibs_check_method='file_magic ELF [[0-9]][[0-9]]*-bit [[LM]]SB (shared object|dynamic lib )' ;; sni) lt_cv_file_magic_cmd='/bin/file' lt_cv_deplibs_check_method="file_magic ELF [[0-9]][[0-9]]*-bit [[LM]]SB dynamic lib" lt_cv_file_magic_test_file=/lib/libc.so ;; siemens) lt_cv_deplibs_check_method=pass_all ;; pc) lt_cv_deplibs_check_method=pass_all ;; esac ;; tpf*) lt_cv_deplibs_check_method=pass_all ;; esac ]) file_magic_glob= want_nocaseglob=no if test "$build" = "$host"; then case $host_os in mingw* | pw32*) if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then want_nocaseglob=yes else file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s/\(..\)/s\/[[\1]]\/[[\1]]\/g;/g"` fi ;; esac fi file_magic_cmd=$lt_cv_file_magic_cmd deplibs_check_method=$lt_cv_deplibs_check_method test -z "$deplibs_check_method" && deplibs_check_method=unknown _LT_DECL([], [deplibs_check_method], [1], [Method to check whether dependent libraries are shared objects]) _LT_DECL([], [file_magic_cmd], [1], [Command to use when deplibs_check_method = "file_magic"]) _LT_DECL([], [file_magic_glob], [1], [How to find potential files when deplibs_check_method = "file_magic"]) _LT_DECL([], [want_nocaseglob], [1], [Find potential files using nocaseglob when deplibs_check_method = "file_magic"]) ])# _LT_CHECK_MAGIC_METHOD # LT_PATH_NM # ---------- # find the pathname to a BSD- or MS-compatible name lister AC_DEFUN([LT_PATH_NM], [AC_REQUIRE([AC_PROG_CC])dnl AC_CACHE_CHECK([for BSD- or MS-compatible name lister (nm)], lt_cv_path_NM, [if test -n "$NM"; then # Let the user override the test. lt_cv_path_NM="$NM" else lt_nm_to_check="${ac_tool_prefix}nm" if test -n "$ac_tool_prefix" && test "$build" = "$host"; then lt_nm_to_check="$lt_nm_to_check nm" fi for lt_tmp_nm in $lt_nm_to_check; do lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do IFS="$lt_save_ifs" test -z "$ac_dir" && ac_dir=. tmp_nm="$ac_dir/$lt_tmp_nm" if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then # Check to see if the nm accepts a BSD-compat flag. # Adding the `sed 1q' prevents false positives on HP-UX, which says: # nm: unknown option "B" ignored # Tru64's nm complains that /dev/null is an invalid object file case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in */dev/null* | *'Invalid file or object type'*) lt_cv_path_NM="$tmp_nm -B" break ;; *) case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in */dev/null*) lt_cv_path_NM="$tmp_nm -p" break ;; *) lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but continue # so that we can try to find one that supports BSD flags ;; esac ;; esac fi done IFS="$lt_save_ifs" done : ${lt_cv_path_NM=no} fi]) if test "$lt_cv_path_NM" != "no"; then NM="$lt_cv_path_NM" else # Didn't find any BSD compatible name lister, look for dumpbin. if test -n "$DUMPBIN"; then : # Let the user override the test. else AC_CHECK_TOOLS(DUMPBIN, [dumpbin "link -dump"], :) case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in *COFF*) DUMPBIN="$DUMPBIN -symbols" ;; *) DUMPBIN=: ;; esac fi AC_SUBST([DUMPBIN]) if test "$DUMPBIN" != ":"; then NM="$DUMPBIN" fi fi test -z "$NM" && NM=nm AC_SUBST([NM]) _LT_DECL([], [NM], [1], [A BSD- or MS-compatible name lister])dnl AC_CACHE_CHECK([the name lister ($NM) interface], [lt_cv_nm_interface], [lt_cv_nm_interface="BSD nm" echo "int some_variable = 0;" > conftest.$ac_ext (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&AS_MESSAGE_LOG_FD) (eval "$ac_compile" 2>conftest.err) cat conftest.err >&AS_MESSAGE_LOG_FD (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&AS_MESSAGE_LOG_FD) (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out) cat conftest.err >&AS_MESSAGE_LOG_FD (eval echo "\"\$as_me:$LINENO: output\"" >&AS_MESSAGE_LOG_FD) cat conftest.out >&AS_MESSAGE_LOG_FD if $GREP 'External.*some_variable' conftest.out > /dev/null; then lt_cv_nm_interface="MS dumpbin" fi rm -f conftest*]) ])# LT_PATH_NM # Old names: AU_ALIAS([AM_PROG_NM], [LT_PATH_NM]) AU_ALIAS([AC_PROG_NM], [LT_PATH_NM]) dnl aclocal-1.4 backwards compatibility: dnl AC_DEFUN([AM_PROG_NM], []) dnl AC_DEFUN([AC_PROG_NM], []) # _LT_CHECK_SHAREDLIB_FROM_LINKLIB # -------------------------------- # how to determine the name of the shared library # associated with a specific link library. # -- PORTME fill in with the dynamic library characteristics m4_defun([_LT_CHECK_SHAREDLIB_FROM_LINKLIB], [m4_require([_LT_DECL_EGREP]) m4_require([_LT_DECL_OBJDUMP]) m4_require([_LT_DECL_DLLTOOL]) AC_CACHE_CHECK([how to associate runtime and link libraries], lt_cv_sharedlib_from_linklib_cmd, [lt_cv_sharedlib_from_linklib_cmd='unknown' case $host_os in cygwin* | mingw* | pw32* | cegcc*) # two different shell functions defined in ltmain.sh # decide which to use based on capabilities of $DLLTOOL case `$DLLTOOL --help 2>&1` in *--identify-strict*) lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib ;; *) lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback ;; esac ;; *) # fallback: assume linklib IS sharedlib lt_cv_sharedlib_from_linklib_cmd="$ECHO" ;; esac ]) sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO _LT_DECL([], [sharedlib_from_linklib_cmd], [1], [Command to associate shared and link libraries]) ])# _LT_CHECK_SHAREDLIB_FROM_LINKLIB # _LT_PATH_MANIFEST_TOOL # ---------------------- # locate the manifest tool m4_defun([_LT_PATH_MANIFEST_TOOL], [AC_CHECK_TOOL(MANIFEST_TOOL, mt, :) test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt AC_CACHE_CHECK([if $MANIFEST_TOOL is a manifest tool], [lt_cv_path_mainfest_tool], [lt_cv_path_mainfest_tool=no echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&AS_MESSAGE_LOG_FD $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out cat conftest.err >&AS_MESSAGE_LOG_FD if $GREP 'Manifest Tool' conftest.out > /dev/null; then lt_cv_path_mainfest_tool=yes fi rm -f conftest*]) if test "x$lt_cv_path_mainfest_tool" != xyes; then MANIFEST_TOOL=: fi _LT_DECL([], [MANIFEST_TOOL], [1], [Manifest tool])dnl ])# _LT_PATH_MANIFEST_TOOL # LT_LIB_M # -------- # check for math library AC_DEFUN([LT_LIB_M], [AC_REQUIRE([AC_CANONICAL_HOST])dnl LIBM= case $host in *-*-beos* | *-*-cegcc* | *-*-cygwin* | *-*-haiku* | *-*-pw32* | *-*-darwin*) # These system don't have libm, or don't need it ;; *-ncr-sysv4.3*) AC_CHECK_LIB(mw, _mwvalidcheckl, LIBM="-lmw") AC_CHECK_LIB(m, cos, LIBM="$LIBM -lm") ;; *) AC_CHECK_LIB(m, cos, LIBM="-lm") ;; esac AC_SUBST([LIBM]) ])# LT_LIB_M # Old name: AU_ALIAS([AC_CHECK_LIBM], [LT_LIB_M]) dnl aclocal-1.4 backwards compatibility: dnl AC_DEFUN([AC_CHECK_LIBM], []) # _LT_COMPILER_NO_RTTI([TAGNAME]) # ------------------------------- m4_defun([_LT_COMPILER_NO_RTTI], [m4_require([_LT_TAG_COMPILER])dnl _LT_TAGVAR(lt_prog_compiler_no_builtin_flag, $1)= if test "$GCC" = yes; then case $cc_basename in nvcc*) _LT_TAGVAR(lt_prog_compiler_no_builtin_flag, $1)=' -Xcompiler -fno-builtin' ;; *) _LT_TAGVAR(lt_prog_compiler_no_builtin_flag, $1)=' -fno-builtin' ;; esac _LT_COMPILER_OPTION([if $compiler supports -fno-rtti -fno-exceptions], lt_cv_prog_compiler_rtti_exceptions, [-fno-rtti -fno-exceptions], [], [_LT_TAGVAR(lt_prog_compiler_no_builtin_flag, $1)="$_LT_TAGVAR(lt_prog_compiler_no_builtin_flag, $1) -fno-rtti -fno-exceptions"]) fi _LT_TAGDECL([no_builtin_flag], [lt_prog_compiler_no_builtin_flag], [1], [Compiler flag to turn off builtin functions]) ])# _LT_COMPILER_NO_RTTI # _LT_CMD_GLOBAL_SYMBOLS # ---------------------- m4_defun([_LT_CMD_GLOBAL_SYMBOLS], [AC_REQUIRE([AC_CANONICAL_HOST])dnl AC_REQUIRE([AC_PROG_CC])dnl AC_REQUIRE([AC_PROG_AWK])dnl AC_REQUIRE([LT_PATH_NM])dnl AC_REQUIRE([LT_PATH_LD])dnl m4_require([_LT_DECL_SED])dnl m4_require([_LT_DECL_EGREP])dnl m4_require([_LT_TAG_COMPILER])dnl # Check for command to grab the raw symbol name followed by C symbol from nm. AC_MSG_CHECKING([command to parse $NM output from $compiler object]) AC_CACHE_VAL([lt_cv_sys_global_symbol_pipe], [ # These are sane defaults that work on at least a few old systems. # [They come from Ultrix. What could be older than Ultrix?!! ;)] # Character class describing NM global symbol codes. symcode='[[BCDEGRST]]' # Regexp to match symbols that can be accessed directly from C. sympat='\([[_A-Za-z]][[_A-Za-z0-9]]*\)' # Define system-specific variables. case $host_os in aix*) symcode='[[BCDT]]' ;; cygwin* | mingw* | pw32* | cegcc*) symcode='[[ABCDGISTW]]' ;; hpux*) if test "$host_cpu" = ia64; then symcode='[[ABCDEGRST]]' fi ;; irix* | nonstopux*) symcode='[[BCDEGRST]]' ;; osf*) symcode='[[BCDEGQRST]]' ;; solaris*) symcode='[[BDRT]]' ;; sco3.2v5*) symcode='[[DT]]' ;; sysv4.2uw2*) symcode='[[DT]]' ;; sysv5* | sco5v6* | unixware* | OpenUNIX*) symcode='[[ABDT]]' ;; sysv4) symcode='[[DFNSTU]]' ;; esac # If we're using GNU nm, then use its standard symbol codes. case `$NM -V 2>&1` in *GNU* | *'with BFD'*) symcode='[[ABCDGIRSTW]]' ;; esac # Transform an extracted symbol line into a proper C declaration. # Some systems (esp. on ia64) link data and code symbols differently, # so use this general approach. lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'" # Transform an extracted symbol line into symbol name and symbol address lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([[^ ]]*\)[[ ]]*$/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([[^ ]]*\) \([[^ ]]*\)$/ {\"\2\", (void *) \&\2},/p'" lt_cv_sys_global_symbol_to_c_name_address_lib_prefix="sed -n -e 's/^: \([[^ ]]*\)[[ ]]*$/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([[^ ]]*\) \(lib[[^ ]]*\)$/ {\"\2\", (void *) \&\2},/p' -e 's/^$symcode* \([[^ ]]*\) \([[^ ]]*\)$/ {\"lib\2\", (void *) \&\2},/p'" # Handle CRLF in mingw tool chain opt_cr= case $build_os in mingw*) opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp ;; esac # Try without a prefix underscore, then with it. for ac_symprfx in "" "_"; do # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol. symxfrm="\\1 $ac_symprfx\\2 \\2" # Write the raw and C identifiers. if test "$lt_cv_nm_interface" = "MS dumpbin"; then # Fake it for dumpbin and say T for any non-static function # and D for any global variable. # Also find C++ and __fastcall symbols from MSVC++, # which start with @ or ?. lt_cv_sys_global_symbol_pipe="$AWK ['"\ " {last_section=section; section=\$ 3};"\ " /^COFF SYMBOL TABLE/{for(i in hide) delete hide[i]};"\ " /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\ " \$ 0!~/External *\|/{next};"\ " / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\ " {if(hide[section]) next};"\ " {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\ " {split(\$ 0, a, /\||\r/); split(a[2], s)};"\ " s[1]~/^[@?]/{print s[1], s[1]; next};"\ " s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\ " ' prfx=^$ac_symprfx]" else lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[[ ]]\($symcode$symcode*\)[[ ]][[ ]]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'" fi lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe | sed '/ __gnu_lto/d'" # Check to see that the pipe works correctly. pipe_works=no rm -f conftest* cat > conftest.$ac_ext <<_LT_EOF #ifdef __cplusplus extern "C" { #endif char nm_test_var; void nm_test_func(void); void nm_test_func(void){} #ifdef __cplusplus } #endif int main(){nm_test_var='a';nm_test_func();return(0);} _LT_EOF if AC_TRY_EVAL(ac_compile); then # Now try to grab the symbols. nlist=conftest.nm if AC_TRY_EVAL(NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) && test -s "$nlist"; then # Try sorting and uniquifying the output. if sort "$nlist" | uniq > "$nlist"T; then mv -f "$nlist"T "$nlist" else rm -f "$nlist"T fi # Make sure that we snagged all the symbols we need. if $GREP ' nm_test_var$' "$nlist" >/dev/null; then if $GREP ' nm_test_func$' "$nlist" >/dev/null; then cat <<_LT_EOF > conftest.$ac_ext /* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests. */ #if defined(_WIN32) || defined(__CYGWIN__) || defined(_WIN32_WCE) /* DATA imports from DLLs on WIN32 con't be const, because runtime relocations are performed -- see ld's documentation on pseudo-relocs. */ # define LT@&t@_DLSYM_CONST #elif defined(__osf__) /* This system does not cope well with relocations in const data. */ # define LT@&t@_DLSYM_CONST #else # define LT@&t@_DLSYM_CONST const #endif #ifdef __cplusplus extern "C" { #endif _LT_EOF # Now generate the symbol file. eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext' cat <<_LT_EOF >> conftest.$ac_ext /* The mapping between symbol names and symbols. */ LT@&t@_DLSYM_CONST struct { const char *name; void *address; } lt__PROGRAM__LTX_preloaded_symbols[[]] = { { "@PROGRAM@", (void *) 0 }, _LT_EOF $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext cat <<\_LT_EOF >> conftest.$ac_ext {0, (void *) 0} }; /* This works around a problem in FreeBSD linker */ #ifdef FREEBSD_WORKAROUND static const void *lt_preloaded_setup() { return lt__PROGRAM__LTX_preloaded_symbols; } #endif #ifdef __cplusplus } #endif _LT_EOF # Now try linking the two files. mv conftest.$ac_objext conftstm.$ac_objext lt_globsym_save_LIBS=$LIBS lt_globsym_save_CFLAGS=$CFLAGS LIBS="conftstm.$ac_objext" CFLAGS="$CFLAGS$_LT_TAGVAR(lt_prog_compiler_no_builtin_flag, $1)" if AC_TRY_EVAL(ac_link) && test -s conftest${ac_exeext}; then pipe_works=yes fi LIBS=$lt_globsym_save_LIBS CFLAGS=$lt_globsym_save_CFLAGS else echo "cannot find nm_test_func in $nlist" >&AS_MESSAGE_LOG_FD fi else echo "cannot find nm_test_var in $nlist" >&AS_MESSAGE_LOG_FD fi else echo "cannot run $lt_cv_sys_global_symbol_pipe" >&AS_MESSAGE_LOG_FD fi else echo "$progname: failed program was:" >&AS_MESSAGE_LOG_FD cat conftest.$ac_ext >&5 fi rm -rf conftest* conftst* # Do not use the global_symbol_pipe unless it works. if test "$pipe_works" = yes; then break else lt_cv_sys_global_symbol_pipe= fi done ]) if test -z "$lt_cv_sys_global_symbol_pipe"; then lt_cv_sys_global_symbol_to_cdecl= fi if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then AC_MSG_RESULT(failed) else AC_MSG_RESULT(ok) fi # Response file support. if test "$lt_cv_nm_interface" = "MS dumpbin"; then nm_file_list_spec='@' elif $NM --help 2>/dev/null | grep '[[@]]FILE' >/dev/null; then nm_file_list_spec='@' fi _LT_DECL([global_symbol_pipe], [lt_cv_sys_global_symbol_pipe], [1], [Take the output of nm and produce a listing of raw symbols and C names]) _LT_DECL([global_symbol_to_cdecl], [lt_cv_sys_global_symbol_to_cdecl], [1], [Transform the output of nm in a proper C declaration]) _LT_DECL([global_symbol_to_c_name_address], [lt_cv_sys_global_symbol_to_c_name_address], [1], [Transform the output of nm in a C name address pair]) _LT_DECL([global_symbol_to_c_name_address_lib_prefix], [lt_cv_sys_global_symbol_to_c_name_address_lib_prefix], [1], [Transform the output of nm in a C name address pair when lib prefix is needed]) _LT_DECL([], [nm_file_list_spec], [1], [Specify filename containing input files for $NM]) ]) # _LT_CMD_GLOBAL_SYMBOLS # _LT_COMPILER_PIC([TAGNAME]) # --------------------------- m4_defun([_LT_COMPILER_PIC], [m4_require([_LT_TAG_COMPILER])dnl _LT_TAGVAR(lt_prog_compiler_wl, $1)= _LT_TAGVAR(lt_prog_compiler_pic, $1)= _LT_TAGVAR(lt_prog_compiler_static, $1)= m4_if([$1], [CXX], [ # C++ specific cases for pic, static, wl, etc. if test "$GXX" = yes; then _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' _LT_TAGVAR(lt_prog_compiler_static, $1)='-static' case $host_os in aix*) # All AIX code is PIC. if test "$host_cpu" = ia64; then # AIX 5 now supports IA64 processor _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic' fi ;; amigaos*) case $host_cpu in powerpc) # see comment about AmigaOS4 .so support _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC' ;; m68k) # FIXME: we need at least 68020 code to build shared libraries, but # adding the `-m68020' flag to GCC prevents building anything better, # like `-m68040'. _LT_TAGVAR(lt_prog_compiler_pic, $1)='-m68020 -resident32 -malways-restore-a4' ;; esac ;; beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*) # PIC is the default for these OSes. ;; mingw* | cygwin* | os2* | pw32* | cegcc*) # This hack is so that the source file can tell whether it is being # built for inclusion in a dll (and should export symbols for example). # Although the cygwin gcc ignores -fPIC, still need this for old-style # (--disable-auto-import) libraries m4_if([$1], [GCJ], [], [_LT_TAGVAR(lt_prog_compiler_pic, $1)='-DDLL_EXPORT']) ;; darwin* | rhapsody*) # PIC is the default on this platform # Common symbols not allowed in MH_DYLIB files _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fno-common' ;; *djgpp*) # DJGPP does not support shared libraries at all _LT_TAGVAR(lt_prog_compiler_pic, $1)= ;; haiku*) # PIC is the default for Haiku. # The "-static" flag exists, but is broken. _LT_TAGVAR(lt_prog_compiler_static, $1)= ;; interix[[3-9]]*) # Interix 3.x gcc -fpic/-fPIC options generate broken code. # Instead, we relocate shared libraries at runtime. ;; sysv4*MP*) if test -d /usr/nec; then _LT_TAGVAR(lt_prog_compiler_pic, $1)=-Kconform_pic fi ;; hpux*) # PIC is the default for 64-bit PA HP-UX, but not for 32-bit # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag # sets the default TLS model and affects inlining. case $host_cpu in hppa*64*) ;; *) _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC' ;; esac ;; *qnx* | *nto*) # QNX uses GNU C++, but need to define -shared option too, otherwise # it will coredump. _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC -shared' ;; *) _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC' ;; esac else case $host_os in aix[[4-9]]*) # All AIX code is PIC. if test "$host_cpu" = ia64; then # AIX 5 now supports IA64 processor _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic' else _LT_TAGVAR(lt_prog_compiler_static, $1)='-bnso -bI:/lib/syscalls.exp' fi ;; chorus*) case $cc_basename in cxch68*) # Green Hills C++ Compiler # _LT_TAGVAR(lt_prog_compiler_static, $1)="--no_auto_instantiation -u __main -u __premain -u _abort -r $COOL_DIR/lib/libOrb.a $MVME_DIR/lib/CC/libC.a $MVME_DIR/lib/classix/libcx.s.a" ;; esac ;; mingw* | cygwin* | os2* | pw32* | cegcc*) # This hack is so that the source file can tell whether it is being # built for inclusion in a dll (and should export symbols for example). m4_if([$1], [GCJ], [], [_LT_TAGVAR(lt_prog_compiler_pic, $1)='-DDLL_EXPORT']) ;; dgux*) case $cc_basename in ec++*) _LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC' ;; ghcx*) # Green Hills C++ Compiler _LT_TAGVAR(lt_prog_compiler_pic, $1)='-pic' ;; *) ;; esac ;; freebsd* | dragonfly*) # FreeBSD uses GNU C++ ;; hpux9* | hpux10* | hpux11*) case $cc_basename in CC*) _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' _LT_TAGVAR(lt_prog_compiler_static, $1)='${wl}-a ${wl}archive' if test "$host_cpu" != ia64; then _LT_TAGVAR(lt_prog_compiler_pic, $1)='+Z' fi ;; aCC*) _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' _LT_TAGVAR(lt_prog_compiler_static, $1)='${wl}-a ${wl}archive' case $host_cpu in hppa*64*|ia64*) # +Z the default ;; *) _LT_TAGVAR(lt_prog_compiler_pic, $1)='+Z' ;; esac ;; *) ;; esac ;; interix*) # This is c89, which is MS Visual C++ (no shared libs) # Anyone wants to do a port? ;; irix5* | irix6* | nonstopux*) case $cc_basename in CC*) _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' _LT_TAGVAR(lt_prog_compiler_static, $1)='-non_shared' # CC pic flag -KPIC is the default. ;; *) ;; esac ;; linux* | k*bsd*-gnu | kopensolaris*-gnu) case $cc_basename in KCC*) # KAI C++ Compiler _LT_TAGVAR(lt_prog_compiler_wl, $1)='--backend -Wl,' _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC' ;; ecpc* ) # old Intel C++ for x86_64 which still supported -KPIC. _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' _LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC' _LT_TAGVAR(lt_prog_compiler_static, $1)='-static' ;; icpc* ) # Intel C++, used to be incompatible with GCC. # ICC 10 doesn't accept -KPIC any more. _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC' _LT_TAGVAR(lt_prog_compiler_static, $1)='-static' ;; pgCC* | pgcpp*) # Portland Group C++ compiler _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fpic' _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic' ;; cxx*) # Compaq C++ # Make sure the PIC flag is empty. It appears that all Alpha # Linux and Compaq Tru64 Unix objects are PIC. _LT_TAGVAR(lt_prog_compiler_pic, $1)= _LT_TAGVAR(lt_prog_compiler_static, $1)='-non_shared' ;; xlc* | xlC* | bgxl[[cC]]* | mpixl[[cC]]*) # IBM XL 8.0, 9.0 on PPC and BlueGene _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' _LT_TAGVAR(lt_prog_compiler_pic, $1)='-qpic' _LT_TAGVAR(lt_prog_compiler_static, $1)='-qstaticlink' ;; *) case `$CC -V 2>&1 | sed 5q` in *Sun\ C*) # Sun C++ 5.9 _LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC' _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic' _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Qoption ld ' ;; esac ;; esac ;; lynxos*) ;; m88k*) ;; mvs*) case $cc_basename in cxx*) _LT_TAGVAR(lt_prog_compiler_pic, $1)='-W c,exportall' ;; *) ;; esac ;; netbsd*) ;; *qnx* | *nto*) # QNX uses GNU C++, but need to define -shared option too, otherwise # it will coredump. _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC -shared' ;; osf3* | osf4* | osf5*) case $cc_basename in KCC*) _LT_TAGVAR(lt_prog_compiler_wl, $1)='--backend -Wl,' ;; RCC*) # Rational C++ 2.4.1 _LT_TAGVAR(lt_prog_compiler_pic, $1)='-pic' ;; cxx*) # Digital/Compaq C++ _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' # Make sure the PIC flag is empty. It appears that all Alpha # Linux and Compaq Tru64 Unix objects are PIC. _LT_TAGVAR(lt_prog_compiler_pic, $1)= _LT_TAGVAR(lt_prog_compiler_static, $1)='-non_shared' ;; *) ;; esac ;; psos*) ;; solaris*) case $cc_basename in CC* | sunCC*) # Sun C++ 4.2, 5.x and Centerline C++ _LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC' _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic' _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Qoption ld ' ;; gcx*) # Green Hills C++ Compiler _LT_TAGVAR(lt_prog_compiler_pic, $1)='-PIC' ;; *) ;; esac ;; sunos4*) case $cc_basename in CC*) # Sun C++ 4.x _LT_TAGVAR(lt_prog_compiler_pic, $1)='-pic' _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic' ;; lcc*) # Lucid _LT_TAGVAR(lt_prog_compiler_pic, $1)='-pic' ;; *) ;; esac ;; sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*) case $cc_basename in CC*) _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' _LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC' _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic' ;; esac ;; tandem*) case $cc_basename in NCC*) # NonStop-UX NCC 3.20 _LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC' ;; *) ;; esac ;; vxworks*) ;; *) _LT_TAGVAR(lt_prog_compiler_can_build_shared, $1)=no ;; esac fi ], [ if test "$GCC" = yes; then _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' _LT_TAGVAR(lt_prog_compiler_static, $1)='-static' case $host_os in aix*) # All AIX code is PIC. if test "$host_cpu" = ia64; then # AIX 5 now supports IA64 processor _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic' fi ;; amigaos*) case $host_cpu in powerpc) # see comment about AmigaOS4 .so support _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC' ;; m68k) # FIXME: we need at least 68020 code to build shared libraries, but # adding the `-m68020' flag to GCC prevents building anything better, # like `-m68040'. _LT_TAGVAR(lt_prog_compiler_pic, $1)='-m68020 -resident32 -malways-restore-a4' ;; esac ;; beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*) # PIC is the default for these OSes. ;; mingw* | cygwin* | pw32* | os2* | cegcc*) # This hack is so that the source file can tell whether it is being # built for inclusion in a dll (and should export symbols for example). # Although the cygwin gcc ignores -fPIC, still need this for old-style # (--disable-auto-import) libraries m4_if([$1], [GCJ], [], [_LT_TAGVAR(lt_prog_compiler_pic, $1)='-DDLL_EXPORT']) ;; darwin* | rhapsody*) # PIC is the default on this platform # Common symbols not allowed in MH_DYLIB files _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fno-common' ;; haiku*) # PIC is the default for Haiku. # The "-static" flag exists, but is broken. _LT_TAGVAR(lt_prog_compiler_static, $1)= ;; hpux*) # PIC is the default for 64-bit PA HP-UX, but not for 32-bit # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag # sets the default TLS model and affects inlining. case $host_cpu in hppa*64*) # +Z the default ;; *) _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC' ;; esac ;; interix[[3-9]]*) # Interix 3.x gcc -fpic/-fPIC options generate broken code. # Instead, we relocate shared libraries at runtime. ;; msdosdjgpp*) # Just because we use GCC doesn't mean we suddenly get shared libraries # on systems that don't support them. _LT_TAGVAR(lt_prog_compiler_can_build_shared, $1)=no enable_shared=no ;; *nto* | *qnx*) # QNX uses GNU C++, but need to define -shared option too, otherwise # it will coredump. _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC -shared' ;; sysv4*MP*) if test -d /usr/nec; then _LT_TAGVAR(lt_prog_compiler_pic, $1)=-Kconform_pic fi ;; *) _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC' ;; esac case $cc_basename in nvcc*) # Cuda Compiler Driver 2.2 _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Xlinker ' if test -n "$_LT_TAGVAR(lt_prog_compiler_pic, $1)"; then _LT_TAGVAR(lt_prog_compiler_pic, $1)="-Xcompiler $_LT_TAGVAR(lt_prog_compiler_pic, $1)" fi ;; esac else # PORTME Check for flag to pass linker flags through the system compiler. case $host_os in aix*) _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' if test "$host_cpu" = ia64; then # AIX 5 now supports IA64 processor _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic' else _LT_TAGVAR(lt_prog_compiler_static, $1)='-bnso -bI:/lib/syscalls.exp' fi ;; mingw* | cygwin* | pw32* | os2* | cegcc*) # This hack is so that the source file can tell whether it is being # built for inclusion in a dll (and should export symbols for example). m4_if([$1], [GCJ], [], [_LT_TAGVAR(lt_prog_compiler_pic, $1)='-DDLL_EXPORT']) ;; hpux9* | hpux10* | hpux11*) _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but # not for PA HP-UX. case $host_cpu in hppa*64*|ia64*) # +Z the default ;; *) _LT_TAGVAR(lt_prog_compiler_pic, $1)='+Z' ;; esac # Is there a better lt_prog_compiler_static that works with the bundled CC? _LT_TAGVAR(lt_prog_compiler_static, $1)='${wl}-a ${wl}archive' ;; irix5* | irix6* | nonstopux*) _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' # PIC (with -KPIC) is the default. _LT_TAGVAR(lt_prog_compiler_static, $1)='-non_shared' ;; linux* | k*bsd*-gnu | kopensolaris*-gnu) case $cc_basename in # old Intel for x86_64 which still supported -KPIC. ecc*) _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' _LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC' _LT_TAGVAR(lt_prog_compiler_static, $1)='-static' ;; # icc used to be incompatible with GCC. # ICC 10 doesn't accept -KPIC any more. icc* | ifort*) _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC' _LT_TAGVAR(lt_prog_compiler_static, $1)='-static' ;; # Lahey Fortran 8.1. lf95*) _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' _LT_TAGVAR(lt_prog_compiler_pic, $1)='--shared' _LT_TAGVAR(lt_prog_compiler_static, $1)='--static' ;; nagfor*) # NAG Fortran compiler _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,-Wl,,' _LT_TAGVAR(lt_prog_compiler_pic, $1)='-PIC' _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic' ;; pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*) # Portland Group compilers (*not* the Pentium gcc compiler, # which looks to be a dead project) _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fpic' _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic' ;; ccc*) _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' # All Alpha code is PIC. _LT_TAGVAR(lt_prog_compiler_static, $1)='-non_shared' ;; xl* | bgxl* | bgf* | mpixl*) # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' _LT_TAGVAR(lt_prog_compiler_pic, $1)='-qpic' _LT_TAGVAR(lt_prog_compiler_static, $1)='-qstaticlink' ;; *) case `$CC -V 2>&1 | sed 5q` in *Sun\ Ceres\ Fortran* | *Sun*Fortran*\ [[1-7]].* | *Sun*Fortran*\ 8.[[0-3]]*) # Sun Fortran 8.3 passes all unrecognized flags to the linker _LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC' _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic' _LT_TAGVAR(lt_prog_compiler_wl, $1)='' ;; *Sun\ F* | *Sun*Fortran*) _LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC' _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic' _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Qoption ld ' ;; *Sun\ C*) # Sun C 5.9 _LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC' _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic' _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' ;; *Intel*\ [[CF]]*Compiler*) _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC' _LT_TAGVAR(lt_prog_compiler_static, $1)='-static' ;; *Portland\ Group*) _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fpic' _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic' ;; esac ;; esac ;; newsos6) _LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC' _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic' ;; *nto* | *qnx*) # QNX uses GNU C++, but need to define -shared option too, otherwise # it will coredump. _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC -shared' ;; osf3* | osf4* | osf5*) _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' # All OSF/1 code is PIC. _LT_TAGVAR(lt_prog_compiler_static, $1)='-non_shared' ;; rdos*) _LT_TAGVAR(lt_prog_compiler_static, $1)='-non_shared' ;; solaris*) _LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC' _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic' case $cc_basename in f77* | f90* | f95* | sunf77* | sunf90* | sunf95*) _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Qoption ld ';; *) _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,';; esac ;; sunos4*) _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Qoption ld ' _LT_TAGVAR(lt_prog_compiler_pic, $1)='-PIC' _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic' ;; sysv4 | sysv4.2uw2* | sysv4.3*) _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' _LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC' _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic' ;; sysv4*MP*) if test -d /usr/nec ;then _LT_TAGVAR(lt_prog_compiler_pic, $1)='-Kconform_pic' _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic' fi ;; sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*) _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' _LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC' _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic' ;; unicos*) _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' _LT_TAGVAR(lt_prog_compiler_can_build_shared, $1)=no ;; uts4*) _LT_TAGVAR(lt_prog_compiler_pic, $1)='-pic' _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic' ;; *) _LT_TAGVAR(lt_prog_compiler_can_build_shared, $1)=no ;; esac fi ]) case $host_os in # For platforms which do not support PIC, -DPIC is meaningless: *djgpp*) _LT_TAGVAR(lt_prog_compiler_pic, $1)= ;; *) _LT_TAGVAR(lt_prog_compiler_pic, $1)="$_LT_TAGVAR(lt_prog_compiler_pic, $1)@&t@m4_if([$1],[],[ -DPIC],[m4_if([$1],[CXX],[ -DPIC],[])])" ;; esac AC_CACHE_CHECK([for $compiler option to produce PIC], [_LT_TAGVAR(lt_cv_prog_compiler_pic, $1)], [_LT_TAGVAR(lt_cv_prog_compiler_pic, $1)=$_LT_TAGVAR(lt_prog_compiler_pic, $1)]) _LT_TAGVAR(lt_prog_compiler_pic, $1)=$_LT_TAGVAR(lt_cv_prog_compiler_pic, $1) # # Check to make sure the PIC flag actually works. # if test -n "$_LT_TAGVAR(lt_prog_compiler_pic, $1)"; then _LT_COMPILER_OPTION([if $compiler PIC flag $_LT_TAGVAR(lt_prog_compiler_pic, $1) works], [_LT_TAGVAR(lt_cv_prog_compiler_pic_works, $1)], [$_LT_TAGVAR(lt_prog_compiler_pic, $1)@&t@m4_if([$1],[],[ -DPIC],[m4_if([$1],[CXX],[ -DPIC],[])])], [], [case $_LT_TAGVAR(lt_prog_compiler_pic, $1) in "" | " "*) ;; *) _LT_TAGVAR(lt_prog_compiler_pic, $1)=" $_LT_TAGVAR(lt_prog_compiler_pic, $1)" ;; esac], [_LT_TAGVAR(lt_prog_compiler_pic, $1)= _LT_TAGVAR(lt_prog_compiler_can_build_shared, $1)=no]) fi _LT_TAGDECL([pic_flag], [lt_prog_compiler_pic], [1], [Additional compiler flags for building library objects]) _LT_TAGDECL([wl], [lt_prog_compiler_wl], [1], [How to pass a linker flag through the compiler]) # # Check to make sure the static flag actually works. # wl=$_LT_TAGVAR(lt_prog_compiler_wl, $1) eval lt_tmp_static_flag=\"$_LT_TAGVAR(lt_prog_compiler_static, $1)\" _LT_LINKER_OPTION([if $compiler static flag $lt_tmp_static_flag works], _LT_TAGVAR(lt_cv_prog_compiler_static_works, $1), $lt_tmp_static_flag, [], [_LT_TAGVAR(lt_prog_compiler_static, $1)=]) _LT_TAGDECL([link_static_flag], [lt_prog_compiler_static], [1], [Compiler flag to prevent dynamic linking]) ])# _LT_COMPILER_PIC # _LT_LINKER_SHLIBS([TAGNAME]) # ---------------------------- # See if the linker supports building shared libraries. m4_defun([_LT_LINKER_SHLIBS], [AC_REQUIRE([LT_PATH_LD])dnl AC_REQUIRE([LT_PATH_NM])dnl m4_require([_LT_PATH_MANIFEST_TOOL])dnl m4_require([_LT_FILEUTILS_DEFAULTS])dnl m4_require([_LT_DECL_EGREP])dnl m4_require([_LT_DECL_SED])dnl m4_require([_LT_CMD_GLOBAL_SYMBOLS])dnl m4_require([_LT_TAG_COMPILER])dnl AC_MSG_CHECKING([whether the $compiler linker ($LD) supports shared libraries]) m4_if([$1], [CXX], [ _LT_TAGVAR(export_symbols_cmds, $1)='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols' _LT_TAGVAR(exclude_expsyms, $1)=['_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'] case $host_os in aix[[4-9]]*) # If we're using GNU nm, then we don't want the "-C" option. # -C means demangle to AIX nm, but means don't demangle with GNU nm # Also, AIX nm treats weak defined symbols like other global defined # symbols, whereas GNU nm marks them as "W". if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then _LT_TAGVAR(export_symbols_cmds, $1)='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W")) && ([substr](\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols' else _LT_TAGVAR(export_symbols_cmds, $1)='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B")) && ([substr](\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols' fi ;; pw32*) _LT_TAGVAR(export_symbols_cmds, $1)="$ltdll_cmds" ;; cygwin* | mingw* | cegcc*) case $cc_basename in cl*) _LT_TAGVAR(exclude_expsyms, $1)='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*' ;; *) _LT_TAGVAR(export_symbols_cmds, $1)='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[[BCDGRS]][[ ]]/s/.*[[ ]]\([[^ ]]*\)/\1 DATA/;s/^.*[[ ]]__nm__\([[^ ]]*\)[[ ]][[^ ]]*/\1 DATA/;/^I[[ ]]/d;/^[[AITW]][[ ]]/s/.* //'\'' | sort | uniq > $export_symbols' _LT_TAGVAR(exclude_expsyms, $1)=['[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'] ;; esac ;; *) _LT_TAGVAR(export_symbols_cmds, $1)='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols' ;; esac ], [ runpath_var= _LT_TAGVAR(allow_undefined_flag, $1)= _LT_TAGVAR(always_export_symbols, $1)=no _LT_TAGVAR(archive_cmds, $1)= _LT_TAGVAR(archive_expsym_cmds, $1)= _LT_TAGVAR(compiler_needs_object, $1)=no _LT_TAGVAR(enable_shared_with_static_runtimes, $1)=no _LT_TAGVAR(export_dynamic_flag_spec, $1)= _LT_TAGVAR(export_symbols_cmds, $1)='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols' _LT_TAGVAR(hardcode_automatic, $1)=no _LT_TAGVAR(hardcode_direct, $1)=no _LT_TAGVAR(hardcode_direct_absolute, $1)=no _LT_TAGVAR(hardcode_libdir_flag_spec, $1)= _LT_TAGVAR(hardcode_libdir_separator, $1)= _LT_TAGVAR(hardcode_minus_L, $1)=no _LT_TAGVAR(hardcode_shlibpath_var, $1)=unsupported _LT_TAGVAR(inherit_rpath, $1)=no _LT_TAGVAR(link_all_deplibs, $1)=unknown _LT_TAGVAR(module_cmds, $1)= _LT_TAGVAR(module_expsym_cmds, $1)= _LT_TAGVAR(old_archive_from_new_cmds, $1)= _LT_TAGVAR(old_archive_from_expsyms_cmds, $1)= _LT_TAGVAR(thread_safe_flag_spec, $1)= _LT_TAGVAR(whole_archive_flag_spec, $1)= # include_expsyms should be a list of space-separated symbols to be *always* # included in the symbol list _LT_TAGVAR(include_expsyms, $1)= # exclude_expsyms can be an extended regexp of symbols to exclude # it will be wrapped by ` (' and `)$', so one must not match beginning or # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc', # as well as any symbol that contains `d'. _LT_TAGVAR(exclude_expsyms, $1)=['_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'] # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out # platforms (ab)use it in PIC code, but their linkers get confused if # the symbol is explicitly referenced. Since portable code cannot # rely on this symbol name, it's probably fine to never include it in # preloaded symbol tables. # Exclude shared library initialization/finalization symbols. dnl Note also adjust exclude_expsyms for C++ above. extract_expsyms_cmds= case $host_os in cygwin* | mingw* | pw32* | cegcc*) # FIXME: the MSVC++ port hasn't been tested in a loooong time # When not using gcc, we currently assume that we are using # Microsoft Visual C++. if test "$GCC" != yes; then with_gnu_ld=no fi ;; interix*) # we just hope/assume this is gcc and not c89 (= MSVC++) with_gnu_ld=yes ;; openbsd*) with_gnu_ld=no ;; esac _LT_TAGVAR(ld_shlibs, $1)=yes # On some targets, GNU ld is compatible enough with the native linker # that we're better off using the native interface for both. lt_use_gnu_ld_interface=no if test "$with_gnu_ld" = yes; then case $host_os in aix*) # The AIX port of GNU ld has always aspired to compatibility # with the native linker. However, as the warning in the GNU ld # block says, versions before 2.19.5* couldn't really create working # shared libraries, regardless of the interface used. case `$LD -v 2>&1` in *\ \(GNU\ Binutils\)\ 2.19.5*) ;; *\ \(GNU\ Binutils\)\ 2.[[2-9]]*) ;; *\ \(GNU\ Binutils\)\ [[3-9]]*) ;; *) lt_use_gnu_ld_interface=yes ;; esac ;; *) lt_use_gnu_ld_interface=yes ;; esac fi if test "$lt_use_gnu_ld_interface" = yes; then # If archive_cmds runs LD, not CC, wlarc should be empty wlarc='${wl}' # Set some defaults for GNU ld with shared library support. These # are reset later if shared libraries are not supported. Putting them # here allows them to be overridden if necessary. runpath_var=LD_RUN_PATH _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir' _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}--export-dynamic' # ancient GNU ld didn't support --whole-archive et. al. if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then _LT_TAGVAR(whole_archive_flag_spec, $1)="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive' else _LT_TAGVAR(whole_archive_flag_spec, $1)= fi supports_anon_versioning=no case `$LD -v 2>&1` in *GNU\ gold*) supports_anon_versioning=yes ;; *\ [[01]].* | *\ 2.[[0-9]].* | *\ 2.10.*) ;; # catch versions < 2.11 *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ... *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ... *\ 2.11.*) ;; # other 2.11 versions *) supports_anon_versioning=yes ;; esac # See if GNU ld supports shared libraries. case $host_os in aix[[3-9]]*) # On AIX/PPC, the GNU linker is very broken if test "$host_cpu" != ia64; then _LT_TAGVAR(ld_shlibs, $1)=no cat <<_LT_EOF 1>&2 *** Warning: the GNU linker, at least up to release 2.19, is reported *** to be unable to reliably create shared libraries on AIX. *** Therefore, libtool is disabling shared libraries support. If you *** really care for shared libraries, you may want to install binutils *** 2.20 or above, or modify your PATH so that a non-GNU linker is found. *** You will then need to restart the configuration process. _LT_EOF fi ;; amigaos*) case $host_cpu in powerpc) # see comment about AmigaOS4 .so support _LT_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' _LT_TAGVAR(archive_expsym_cmds, $1)='' ;; m68k) _LT_TAGVAR(archive_cmds, $1)='$RM $output_objdir/a2ixlibrary.data~$ECHO "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$ECHO "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$ECHO "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$ECHO "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)' _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir' _LT_TAGVAR(hardcode_minus_L, $1)=yes ;; esac ;; beos*) if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then _LT_TAGVAR(allow_undefined_flag, $1)=unsupported # Joseph Beckenbach says some releases of gcc # support --undefined. This deserves some investigation. FIXME _LT_TAGVAR(archive_cmds, $1)='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' else _LT_TAGVAR(ld_shlibs, $1)=no fi ;; cygwin* | mingw* | pw32* | cegcc*) # _LT_TAGVAR(hardcode_libdir_flag_spec, $1) is actually meaningless, # as there is no search path for DLLs. _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir' _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}--export-all-symbols' _LT_TAGVAR(allow_undefined_flag, $1)=unsupported _LT_TAGVAR(always_export_symbols, $1)=no _LT_TAGVAR(enable_shared_with_static_runtimes, $1)=yes _LT_TAGVAR(export_symbols_cmds, $1)='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[[BCDGRS]][[ ]]/s/.*[[ ]]\([[^ ]]*\)/\1 DATA/;s/^.*[[ ]]__nm__\([[^ ]]*\)[[ ]][[^ ]]*/\1 DATA/;/^I[[ ]]/d;/^[[AITW]][[ ]]/s/.* //'\'' | sort | uniq > $export_symbols' _LT_TAGVAR(exclude_expsyms, $1)=['[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'] if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then _LT_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib' # If the export-symbols file already is a .def file (1st line # is EXPORTS), use it as is; otherwise, prepend... _LT_TAGVAR(archive_expsym_cmds, $1)='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then cp $export_symbols $output_objdir/$soname.def; else echo EXPORTS > $output_objdir/$soname.def; cat $export_symbols >> $output_objdir/$soname.def; fi~ $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib' else _LT_TAGVAR(ld_shlibs, $1)=no fi ;; haiku*) _LT_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' _LT_TAGVAR(link_all_deplibs, $1)=yes ;; interix[[3-9]]*) _LT_TAGVAR(hardcode_direct, $1)=no _LT_TAGVAR(hardcode_shlibpath_var, $1)=no _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath,$libdir' _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E' # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc. # Instead, shared libraries are loaded at an image base (0x10000000 by # default) and relocated if they conflict, which is a slow very memory # consuming and fragmenting process. To avoid this, we pick a random, # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link # time. Moving up from 0x10000000 also allows more sbrk(2) space. _LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib' _LT_TAGVAR(archive_expsym_cmds, $1)='sed "s,^,_," $export_symbols >$output_objdir/$soname.expsym~$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--retain-symbols-file,$output_objdir/$soname.expsym ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib' ;; gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu) tmp_diet=no if test "$host_os" = linux-dietlibc; then case $cc_basename in diet\ *) tmp_diet=yes;; # linux-dietlibc with static linking (!diet-dyn) esac fi if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \ && test "$tmp_diet" = no then tmp_addflag=' $pic_flag' tmp_sharedflag='-shared' case $cc_basename,$host_cpu in pgcc*) # Portland Group C compiler _LT_TAGVAR(whole_archive_flag_spec, $1)='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive' tmp_addflag=' $pic_flag' ;; pgf77* | pgf90* | pgf95* | pgfortran*) # Portland Group f77 and f90 compilers _LT_TAGVAR(whole_archive_flag_spec, $1)='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive' tmp_addflag=' $pic_flag -Mnomain' ;; ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64 tmp_addflag=' -i_dynamic' ;; efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64 tmp_addflag=' -i_dynamic -nofor_main' ;; ifc* | ifort*) # Intel Fortran compiler tmp_addflag=' -nofor_main' ;; lf95*) # Lahey Fortran 8.1 _LT_TAGVAR(whole_archive_flag_spec, $1)= tmp_sharedflag='--shared' ;; xl[[cC]]* | bgxl[[cC]]* | mpixl[[cC]]*) # IBM XL C 8.0 on PPC (deal with xlf below) tmp_sharedflag='-qmkshrobj' tmp_addflag= ;; nvcc*) # Cuda Compiler Driver 2.2 _LT_TAGVAR(whole_archive_flag_spec, $1)='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive' _LT_TAGVAR(compiler_needs_object, $1)=yes ;; esac case `$CC -V 2>&1 | sed 5q` in *Sun\ C*) # Sun C 5.9 _LT_TAGVAR(whole_archive_flag_spec, $1)='${wl}--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive' _LT_TAGVAR(compiler_needs_object, $1)=yes tmp_sharedflag='-G' ;; *Sun\ F*) # Sun Fortran 8.3 tmp_sharedflag='-G' ;; esac _LT_TAGVAR(archive_cmds, $1)='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' if test "x$supports_anon_versioning" = xyes; then _LT_TAGVAR(archive_expsym_cmds, $1)='echo "{ global:" > $output_objdir/$libname.ver~ cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~ echo "local: *; };" >> $output_objdir/$libname.ver~ $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib' fi case $cc_basename in xlf* | bgf* | bgxlf* | mpixlf*) # IBM XL Fortran 10.1 on PPC cannot create shared libs itself _LT_TAGVAR(whole_archive_flag_spec, $1)='--whole-archive$convenience --no-whole-archive' _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir' _LT_TAGVAR(archive_cmds, $1)='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib' if test "x$supports_anon_versioning" = xyes; then _LT_TAGVAR(archive_expsym_cmds, $1)='echo "{ global:" > $output_objdir/$libname.ver~ cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~ echo "local: *; };" >> $output_objdir/$libname.ver~ $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib' fi ;; esac else _LT_TAGVAR(ld_shlibs, $1)=no fi ;; netbsd*) if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then _LT_TAGVAR(archive_cmds, $1)='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib' wlarc= else _LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' fi ;; solaris*) if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then _LT_TAGVAR(ld_shlibs, $1)=no cat <<_LT_EOF 1>&2 *** Warning: The releases 2.8.* of the GNU linker cannot reliably *** create shared libraries on Solaris systems. Therefore, libtool *** is disabling shared libraries support. We urge you to upgrade GNU *** binutils to release 2.9.1 or newer. Another option is to modify *** your PATH or compiler configuration so that the native linker is *** used, and then restart. _LT_EOF elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then _LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' else _LT_TAGVAR(ld_shlibs, $1)=no fi ;; sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*) case `$LD -v 2>&1` in *\ [[01]].* | *\ 2.[[0-9]].* | *\ 2.1[[0-5]].*) _LT_TAGVAR(ld_shlibs, $1)=no cat <<_LT_EOF 1>&2 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not *** reliably create shared libraries on SCO systems. Therefore, libtool *** is disabling shared libraries support. We urge you to upgrade GNU *** binutils to release 2.16.91.0.3 or newer. Another option is to modify *** your PATH or compiler configuration so that the native linker is *** used, and then restart. _LT_EOF ;; *) # For security reasons, it is highly recommended that you always # use absolute paths for naming shared libraries, and exclude the # DT_RUNPATH tag from executables and libraries. But doing so # requires that you compile everything twice, which is a pain. if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir' _LT_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' else _LT_TAGVAR(ld_shlibs, $1)=no fi ;; esac ;; sunos4*) _LT_TAGVAR(archive_cmds, $1)='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags' wlarc= _LT_TAGVAR(hardcode_direct, $1)=yes _LT_TAGVAR(hardcode_shlibpath_var, $1)=no ;; *) if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then _LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' else _LT_TAGVAR(ld_shlibs, $1)=no fi ;; esac if test "$_LT_TAGVAR(ld_shlibs, $1)" = no; then runpath_var= _LT_TAGVAR(hardcode_libdir_flag_spec, $1)= _LT_TAGVAR(export_dynamic_flag_spec, $1)= _LT_TAGVAR(whole_archive_flag_spec, $1)= fi else # PORTME fill in a description of your system's linker (not GNU ld) case $host_os in aix3*) _LT_TAGVAR(allow_undefined_flag, $1)=unsupported _LT_TAGVAR(always_export_symbols, $1)=yes _LT_TAGVAR(archive_expsym_cmds, $1)='$LD -o $output_objdir/$soname $libobjs $deplibs $linker_flags -bE:$export_symbols -T512 -H512 -bM:SRE~$AR $AR_FLAGS $lib $output_objdir/$soname' # Note: this linker hardcodes the directories in LIBPATH if there # are no directories specified by -L. _LT_TAGVAR(hardcode_minus_L, $1)=yes if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then # Neither direct hardcoding nor static linking is supported with a # broken collect2. _LT_TAGVAR(hardcode_direct, $1)=unsupported fi ;; aix[[4-9]]*) if test "$host_cpu" = ia64; then # On IA64, the linker does run time linking by default, so we don't # have to do anything special. aix_use_runtimelinking=no exp_sym_flag='-Bexport' no_entry_flag="" else # If we're using GNU nm, then we don't want the "-C" option. # -C means demangle to AIX nm, but means don't demangle with GNU nm # Also, AIX nm treats weak defined symbols like other global # defined symbols, whereas GNU nm marks them as "W". if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then _LT_TAGVAR(export_symbols_cmds, $1)='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W")) && ([substr](\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols' else _LT_TAGVAR(export_symbols_cmds, $1)='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B")) && ([substr](\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols' fi aix_use_runtimelinking=no # Test if we are trying to use run time linking or normal # AIX style linking. If -brtl is somewhere in LDFLAGS, we # need to do runtime linking. case $host_os in aix4.[[23]]|aix4.[[23]].*|aix[[5-9]]*) for ld_flag in $LDFLAGS; do if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then aix_use_runtimelinking=yes break fi done ;; esac exp_sym_flag='-bexport' no_entry_flag='-bnoentry' fi # When large executables or shared objects are built, AIX ld can # have problems creating the table of contents. If linking a library # or program results in "error TOC overflow" add -mminimal-toc to # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS. _LT_TAGVAR(archive_cmds, $1)='' _LT_TAGVAR(hardcode_direct, $1)=yes _LT_TAGVAR(hardcode_direct_absolute, $1)=yes _LT_TAGVAR(hardcode_libdir_separator, $1)=':' _LT_TAGVAR(link_all_deplibs, $1)=yes _LT_TAGVAR(file_list_spec, $1)='${wl}-f,' if test "$GCC" = yes; then case $host_os in aix4.[[012]]|aix4.[[012]].*) # We only want to do this on AIX 4.2 and lower, the check # below for broken collect2 doesn't work under 4.3+ collect2name=`${CC} -print-prog-name=collect2` if test -f "$collect2name" && strings "$collect2name" | $GREP resolve_lib_name >/dev/null then # We have reworked collect2 : else # We have old collect2 _LT_TAGVAR(hardcode_direct, $1)=unsupported # It fails to find uninstalled libraries when the uninstalled # path is not listed in the libpath. Setting hardcode_minus_L # to unsupported forces relinking _LT_TAGVAR(hardcode_minus_L, $1)=yes _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir' _LT_TAGVAR(hardcode_libdir_separator, $1)= fi ;; esac shared_flag='-shared' if test "$aix_use_runtimelinking" = yes; then shared_flag="$shared_flag "'${wl}-G' fi else # not using gcc if test "$host_cpu" = ia64; then # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release # chokes on -Wl,-G. The following line is correct: shared_flag='-G' else if test "$aix_use_runtimelinking" = yes; then shared_flag='${wl}-G' else shared_flag='${wl}-bM:SRE' fi fi fi _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-bexpall' # It seems that -bexpall does not export symbols beginning with # underscore (_), so it is better to generate a list of symbols to export. _LT_TAGVAR(always_export_symbols, $1)=yes if test "$aix_use_runtimelinking" = yes; then # Warning - without using the other runtime loading flags (-brtl), # -berok will link without error, but may produce a broken library. _LT_TAGVAR(allow_undefined_flag, $1)='-berok' # Determine the default libpath from the value encoded in an # empty executable. _LT_SYS_MODULE_PATH_AIX([$1]) _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-blibpath:$libdir:'"$aix_libpath" _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then func_echo_all "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag" else if test "$host_cpu" = ia64; then _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-R $libdir:/usr/lib:/lib' _LT_TAGVAR(allow_undefined_flag, $1)="-z nodefs" _LT_TAGVAR(archive_expsym_cmds, $1)="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags ${wl}${allow_undefined_flag} '"\${wl}$exp_sym_flag:\$export_symbols" else # Determine the default libpath from the value encoded in an # empty executable. _LT_SYS_MODULE_PATH_AIX([$1]) _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-blibpath:$libdir:'"$aix_libpath" # Warning - without using the other run time loading flags, # -berok will link without error, but may produce a broken library. _LT_TAGVAR(no_undefined_flag, $1)=' ${wl}-bernotok' _LT_TAGVAR(allow_undefined_flag, $1)=' ${wl}-berok' if test "$with_gnu_ld" = yes; then # We only use this code for GNU lds that support --whole-archive. _LT_TAGVAR(whole_archive_flag_spec, $1)='${wl}--whole-archive$convenience ${wl}--no-whole-archive' else # Exported symbols can be pulled into shared objects from archives _LT_TAGVAR(whole_archive_flag_spec, $1)='$convenience' fi _LT_TAGVAR(archive_cmds_need_lc, $1)=yes # This is similar to how AIX traditionally builds its shared libraries. _LT_TAGVAR(archive_expsym_cmds, $1)="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs ${wl}-bnoentry $compiler_flags ${wl}-bE:$export_symbols${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname' fi fi ;; amigaos*) case $host_cpu in powerpc) # see comment about AmigaOS4 .so support _LT_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' _LT_TAGVAR(archive_expsym_cmds, $1)='' ;; m68k) _LT_TAGVAR(archive_cmds, $1)='$RM $output_objdir/a2ixlibrary.data~$ECHO "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$ECHO "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$ECHO "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$ECHO "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)' _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir' _LT_TAGVAR(hardcode_minus_L, $1)=yes ;; esac ;; bsdi[[45]]*) _LT_TAGVAR(export_dynamic_flag_spec, $1)=-rdynamic ;; cygwin* | mingw* | pw32* | cegcc*) # When not using gcc, we currently assume that we are using # Microsoft Visual C++. # hardcode_libdir_flag_spec is actually meaningless, as there is # no search path for DLLs. case $cc_basename in cl*) # Native MSVC _LT_TAGVAR(hardcode_libdir_flag_spec, $1)=' ' _LT_TAGVAR(allow_undefined_flag, $1)=unsupported _LT_TAGVAR(always_export_symbols, $1)=yes _LT_TAGVAR(file_list_spec, $1)='@' # Tell ltmain to make .lib files, not .a files. libext=lib # Tell ltmain to make .dll files, not .so files. shrext_cmds=".dll" # FIXME: Setting linknames here is a bad hack. _LT_TAGVAR(archive_cmds, $1)='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-dll~linknames=' _LT_TAGVAR(archive_expsym_cmds, $1)='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then sed -n -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' -e '1\\\!p' < $export_symbols > $output_objdir/$soname.exp; else sed -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' < $export_symbols > $output_objdir/$soname.exp; fi~ $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~ linknames=' # The linker will not automatically build a static lib if we build a DLL. # _LT_TAGVAR(old_archive_from_new_cmds, $1)='true' _LT_TAGVAR(enable_shared_with_static_runtimes, $1)=yes _LT_TAGVAR(exclude_expsyms, $1)='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*' _LT_TAGVAR(export_symbols_cmds, $1)='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[[BCDGRS]][[ ]]/s/.*[[ ]]\([[^ ]]*\)/\1,DATA/'\'' | $SED -e '\''/^[[AITW]][[ ]]/s/.*[[ ]]//'\'' | sort | uniq > $export_symbols' # Don't use ranlib _LT_TAGVAR(old_postinstall_cmds, $1)='chmod 644 $oldlib' _LT_TAGVAR(postlink_cmds, $1)='lt_outputfile="@OUTPUT@"~ lt_tool_outputfile="@TOOL_OUTPUT@"~ case $lt_outputfile in *.exe|*.EXE) ;; *) lt_outputfile="$lt_outputfile.exe" lt_tool_outputfile="$lt_tool_outputfile.exe" ;; esac~ if test "$MANIFEST_TOOL" != ":" && test -f "$lt_outputfile.manifest"; then $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1; $RM "$lt_outputfile.manifest"; fi' ;; *) # Assume MSVC wrapper _LT_TAGVAR(hardcode_libdir_flag_spec, $1)=' ' _LT_TAGVAR(allow_undefined_flag, $1)=unsupported # Tell ltmain to make .lib files, not .a files. libext=lib # Tell ltmain to make .dll files, not .so files. shrext_cmds=".dll" # FIXME: Setting linknames here is a bad hack. _LT_TAGVAR(archive_cmds, $1)='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames=' # The linker will automatically build a .lib file if we build a DLL. _LT_TAGVAR(old_archive_from_new_cmds, $1)='true' # FIXME: Should let the user specify the lib program. _LT_TAGVAR(old_archive_cmds, $1)='lib -OUT:$oldlib$oldobjs$old_deplibs' _LT_TAGVAR(enable_shared_with_static_runtimes, $1)=yes ;; esac ;; darwin* | rhapsody*) _LT_DARWIN_LINKER_FEATURES($1) ;; dgux*) _LT_TAGVAR(archive_cmds, $1)='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir' _LT_TAGVAR(hardcode_shlibpath_var, $1)=no ;; # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor # support. Future versions do this automatically, but an explicit c++rt0.o # does not break anything, and helps significantly (at the cost of a little # extra space). freebsd2.2*) _LT_TAGVAR(archive_cmds, $1)='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o' _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir' _LT_TAGVAR(hardcode_direct, $1)=yes _LT_TAGVAR(hardcode_shlibpath_var, $1)=no ;; # Unfortunately, older versions of FreeBSD 2 do not have this feature. freebsd2.*) _LT_TAGVAR(archive_cmds, $1)='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' _LT_TAGVAR(hardcode_direct, $1)=yes _LT_TAGVAR(hardcode_minus_L, $1)=yes _LT_TAGVAR(hardcode_shlibpath_var, $1)=no ;; # FreeBSD 3 and greater uses gcc -shared to do shared libraries. freebsd* | dragonfly*) _LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags' _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir' _LT_TAGVAR(hardcode_direct, $1)=yes _LT_TAGVAR(hardcode_shlibpath_var, $1)=no ;; hpux9*) if test "$GCC" = yes; then _LT_TAGVAR(archive_cmds, $1)='$RM $output_objdir/$soname~$CC -shared $pic_flag ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $libobjs $deplibs $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib' else _LT_TAGVAR(archive_cmds, $1)='$RM $output_objdir/$soname~$LD -b +b $install_libdir -o $output_objdir/$soname $libobjs $deplibs $linker_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib' fi _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}+b ${wl}$libdir' _LT_TAGVAR(hardcode_libdir_separator, $1)=: _LT_TAGVAR(hardcode_direct, $1)=yes # hardcode_minus_L: Not really in the search PATH, # but as the default location of the library. _LT_TAGVAR(hardcode_minus_L, $1)=yes _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E' ;; hpux10*) if test "$GCC" = yes && test "$with_gnu_ld" = no; then _LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags' else _LT_TAGVAR(archive_cmds, $1)='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags' fi if test "$with_gnu_ld" = no; then _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}+b ${wl}$libdir' _LT_TAGVAR(hardcode_libdir_separator, $1)=: _LT_TAGVAR(hardcode_direct, $1)=yes _LT_TAGVAR(hardcode_direct_absolute, $1)=yes _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E' # hardcode_minus_L: Not really in the search PATH, # but as the default location of the library. _LT_TAGVAR(hardcode_minus_L, $1)=yes fi ;; hpux11*) if test "$GCC" = yes && test "$with_gnu_ld" = no; then case $host_cpu in hppa*64*) _LT_TAGVAR(archive_cmds, $1)='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags' ;; ia64*) _LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags' ;; *) _LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags' ;; esac else case $host_cpu in hppa*64*) _LT_TAGVAR(archive_cmds, $1)='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags' ;; ia64*) _LT_TAGVAR(archive_cmds, $1)='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags' ;; *) m4_if($1, [], [ # Older versions of the 11.00 compiler do not understand -b yet # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does) _LT_LINKER_OPTION([if $CC understands -b], _LT_TAGVAR(lt_cv_prog_compiler__b, $1), [-b], [_LT_TAGVAR(archive_cmds, $1)='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'], [_LT_TAGVAR(archive_cmds, $1)='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'])], [_LT_TAGVAR(archive_cmds, $1)='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags']) ;; esac fi if test "$with_gnu_ld" = no; then _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}+b ${wl}$libdir' _LT_TAGVAR(hardcode_libdir_separator, $1)=: case $host_cpu in hppa*64*|ia64*) _LT_TAGVAR(hardcode_direct, $1)=no _LT_TAGVAR(hardcode_shlibpath_var, $1)=no ;; *) _LT_TAGVAR(hardcode_direct, $1)=yes _LT_TAGVAR(hardcode_direct_absolute, $1)=yes _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E' # hardcode_minus_L: Not really in the search PATH, # but as the default location of the library. _LT_TAGVAR(hardcode_minus_L, $1)=yes ;; esac fi ;; irix5* | irix6* | nonstopux*) if test "$GCC" = yes; then _LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib' # Try to use the -exported_symbol ld option, if it does not # work, assume that -exports_file does not work either and # implicitly export all symbols. # This should be the same for all languages, so no per-tag cache variable. AC_CACHE_CHECK([whether the $host_os linker accepts -exported_symbol], [lt_cv_irix_exported_symbol], [save_LDFLAGS="$LDFLAGS" LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null" AC_LINK_IFELSE( [AC_LANG_SOURCE( [AC_LANG_CASE([C], [[int foo (void) { return 0; }]], [C++], [[int foo (void) { return 0; }]], [Fortran 77], [[ subroutine foo end]], [Fortran], [[ subroutine foo end]])])], [lt_cv_irix_exported_symbol=yes], [lt_cv_irix_exported_symbol=no]) LDFLAGS="$save_LDFLAGS"]) if test "$lt_cv_irix_exported_symbol" = yes; then _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations ${wl}-exports_file ${wl}$export_symbols -o $lib' fi else _LT_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib' _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -exports_file $export_symbols -o $lib' fi _LT_TAGVAR(archive_cmds_need_lc, $1)='no' _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir' _LT_TAGVAR(hardcode_libdir_separator, $1)=: _LT_TAGVAR(inherit_rpath, $1)=yes _LT_TAGVAR(link_all_deplibs, $1)=yes ;; netbsd*) if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then _LT_TAGVAR(archive_cmds, $1)='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out else _LT_TAGVAR(archive_cmds, $1)='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF fi _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir' _LT_TAGVAR(hardcode_direct, $1)=yes _LT_TAGVAR(hardcode_shlibpath_var, $1)=no ;; newsos6) _LT_TAGVAR(archive_cmds, $1)='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' _LT_TAGVAR(hardcode_direct, $1)=yes _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir' _LT_TAGVAR(hardcode_libdir_separator, $1)=: _LT_TAGVAR(hardcode_shlibpath_var, $1)=no ;; *nto* | *qnx*) ;; openbsd*) if test -f /usr/libexec/ld.so; then _LT_TAGVAR(hardcode_direct, $1)=yes _LT_TAGVAR(hardcode_shlibpath_var, $1)=no _LT_TAGVAR(hardcode_direct_absolute, $1)=yes if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then _LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags' _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols' _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath,$libdir' _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E' else case $host_os in openbsd[[01]].* | openbsd2.[[0-7]] | openbsd2.[[0-7]].*) _LT_TAGVAR(archive_cmds, $1)='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir' ;; *) _LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags' _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath,$libdir' ;; esac fi else _LT_TAGVAR(ld_shlibs, $1)=no fi ;; os2*) _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir' _LT_TAGVAR(hardcode_minus_L, $1)=yes _LT_TAGVAR(allow_undefined_flag, $1)=unsupported _LT_TAGVAR(archive_cmds, $1)='$ECHO "LIBRARY $libname INITINSTANCE" > $output_objdir/$libname.def~$ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~echo DATA >> $output_objdir/$libname.def~echo " SINGLE NONSHARED" >> $output_objdir/$libname.def~echo EXPORTS >> $output_objdir/$libname.def~emxexp $libobjs >> $output_objdir/$libname.def~$CC -Zdll -Zcrtdll -o $lib $libobjs $deplibs $compiler_flags $output_objdir/$libname.def' _LT_TAGVAR(old_archive_from_new_cmds, $1)='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def' ;; osf3*) if test "$GCC" = yes; then _LT_TAGVAR(allow_undefined_flag, $1)=' ${wl}-expect_unresolved ${wl}\*' _LT_TAGVAR(archive_cmds, $1)='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib' else _LT_TAGVAR(allow_undefined_flag, $1)=' -expect_unresolved \*' _LT_TAGVAR(archive_cmds, $1)='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib' fi _LT_TAGVAR(archive_cmds_need_lc, $1)='no' _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir' _LT_TAGVAR(hardcode_libdir_separator, $1)=: ;; osf4* | osf5*) # as osf3* with the addition of -msym flag if test "$GCC" = yes; then _LT_TAGVAR(allow_undefined_flag, $1)=' ${wl}-expect_unresolved ${wl}\*' _LT_TAGVAR(archive_cmds, $1)='$CC -shared${allow_undefined_flag} $pic_flag $libobjs $deplibs $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib' _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir' else _LT_TAGVAR(allow_undefined_flag, $1)=' -expect_unresolved \*' _LT_TAGVAR(archive_cmds, $1)='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags -msym -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib' _LT_TAGVAR(archive_expsym_cmds, $1)='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done; printf "%s\\n" "-hidden">> $lib.exp~ $CC -shared${allow_undefined_flag} ${wl}-input ${wl}$lib.exp $compiler_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && $ECHO "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib~$RM $lib.exp' # Both c and cxx compiler support -rpath directly _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-rpath $libdir' fi _LT_TAGVAR(archive_cmds_need_lc, $1)='no' _LT_TAGVAR(hardcode_libdir_separator, $1)=: ;; solaris*) _LT_TAGVAR(no_undefined_flag, $1)=' -z defs' if test "$GCC" = yes; then wlarc='${wl}' _LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags' _LT_TAGVAR(archive_expsym_cmds, $1)='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~ $CC -shared $pic_flag ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp' else case `$CC -V 2>&1` in *"Compilers 5.0"*) wlarc='' _LT_TAGVAR(archive_cmds, $1)='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags' _LT_TAGVAR(archive_expsym_cmds, $1)='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~ $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp' ;; *) wlarc='${wl}' _LT_TAGVAR(archive_cmds, $1)='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags' _LT_TAGVAR(archive_expsym_cmds, $1)='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~ $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp' ;; esac fi _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir' _LT_TAGVAR(hardcode_shlibpath_var, $1)=no case $host_os in solaris2.[[0-5]] | solaris2.[[0-5]].*) ;; *) # The compiler driver will combine and reorder linker options, # but understands `-z linker_flag'. GCC discards it without `$wl', # but is careful enough not to reorder. # Supported since Solaris 2.6 (maybe 2.5.1?) if test "$GCC" = yes; then _LT_TAGVAR(whole_archive_flag_spec, $1)='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract' else _LT_TAGVAR(whole_archive_flag_spec, $1)='-z allextract$convenience -z defaultextract' fi ;; esac _LT_TAGVAR(link_all_deplibs, $1)=yes ;; sunos4*) if test "x$host_vendor" = xsequent; then # Use $CC to link under sequent, because it throws in some extra .o # files that make .init and .fini sections work. _LT_TAGVAR(archive_cmds, $1)='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags' else _LT_TAGVAR(archive_cmds, $1)='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags' fi _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir' _LT_TAGVAR(hardcode_direct, $1)=yes _LT_TAGVAR(hardcode_minus_L, $1)=yes _LT_TAGVAR(hardcode_shlibpath_var, $1)=no ;; sysv4) case $host_vendor in sni) _LT_TAGVAR(archive_cmds, $1)='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' _LT_TAGVAR(hardcode_direct, $1)=yes # is this really true??? ;; siemens) ## LD is ld it makes a PLAMLIB ## CC just makes a GrossModule. _LT_TAGVAR(archive_cmds, $1)='$LD -G -o $lib $libobjs $deplibs $linker_flags' _LT_TAGVAR(reload_cmds, $1)='$CC -r -o $output$reload_objs' _LT_TAGVAR(hardcode_direct, $1)=no ;; motorola) _LT_TAGVAR(archive_cmds, $1)='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' _LT_TAGVAR(hardcode_direct, $1)=no #Motorola manual says yes, but my tests say they lie ;; esac runpath_var='LD_RUN_PATH' _LT_TAGVAR(hardcode_shlibpath_var, $1)=no ;; sysv4.3*) _LT_TAGVAR(archive_cmds, $1)='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' _LT_TAGVAR(hardcode_shlibpath_var, $1)=no _LT_TAGVAR(export_dynamic_flag_spec, $1)='-Bexport' ;; sysv4*MP*) if test -d /usr/nec; then _LT_TAGVAR(archive_cmds, $1)='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' _LT_TAGVAR(hardcode_shlibpath_var, $1)=no runpath_var=LD_RUN_PATH hardcode_runpath_var=yes _LT_TAGVAR(ld_shlibs, $1)=yes fi ;; sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[[01]].[[10]]* | unixware7* | sco3.2v5.0.[[024]]*) _LT_TAGVAR(no_undefined_flag, $1)='${wl}-z,text' _LT_TAGVAR(archive_cmds_need_lc, $1)=no _LT_TAGVAR(hardcode_shlibpath_var, $1)=no runpath_var='LD_RUN_PATH' if test "$GCC" = yes; then _LT_TAGVAR(archive_cmds, $1)='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' else _LT_TAGVAR(archive_cmds, $1)='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' fi ;; sysv5* | sco3.2v5* | sco5v6*) # Note: We can NOT use -z defs as we might desire, because we do not # link with -lc, and that would cause any symbols used from libc to # always be unresolved, which means just about no library would # ever link correctly. If we're not using GNU ld we use -z text # though, which does catch some bad symbols but isn't as heavy-handed # as -z defs. _LT_TAGVAR(no_undefined_flag, $1)='${wl}-z,text' _LT_TAGVAR(allow_undefined_flag, $1)='${wl}-z,nodefs' _LT_TAGVAR(archive_cmds_need_lc, $1)=no _LT_TAGVAR(hardcode_shlibpath_var, $1)=no _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-R,$libdir' _LT_TAGVAR(hardcode_libdir_separator, $1)=':' _LT_TAGVAR(link_all_deplibs, $1)=yes _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-Bexport' runpath_var='LD_RUN_PATH' if test "$GCC" = yes; then _LT_TAGVAR(archive_cmds, $1)='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' else _LT_TAGVAR(archive_cmds, $1)='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' fi ;; uts4*) _LT_TAGVAR(archive_cmds, $1)='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir' _LT_TAGVAR(hardcode_shlibpath_var, $1)=no ;; *) _LT_TAGVAR(ld_shlibs, $1)=no ;; esac if test x$host_vendor = xsni; then case $host in sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*) _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-Blargedynsym' ;; esac fi fi ]) AC_MSG_RESULT([$_LT_TAGVAR(ld_shlibs, $1)]) test "$_LT_TAGVAR(ld_shlibs, $1)" = no && can_build_shared=no _LT_TAGVAR(with_gnu_ld, $1)=$with_gnu_ld _LT_DECL([], [libext], [0], [Old archive suffix (normally "a")])dnl _LT_DECL([], [shrext_cmds], [1], [Shared library suffix (normally ".so")])dnl _LT_DECL([], [extract_expsyms_cmds], [2], [The commands to extract the exported symbol list from a shared archive]) # # Do we need to explicitly link libc? # case "x$_LT_TAGVAR(archive_cmds_need_lc, $1)" in x|xyes) # Assume -lc should be added _LT_TAGVAR(archive_cmds_need_lc, $1)=yes if test "$enable_shared" = yes && test "$GCC" = yes; then case $_LT_TAGVAR(archive_cmds, $1) in *'~'*) # FIXME: we may have to deal with multi-command sequences. ;; '$CC '*) # Test whether the compiler implicitly links with -lc since on some # systems, -lgcc has to come before -lc. If gcc already passes -lc # to ld, don't add -lc before -lgcc. AC_CACHE_CHECK([whether -lc should be explicitly linked in], [lt_cv_]_LT_TAGVAR(archive_cmds_need_lc, $1), [$RM conftest* echo "$lt_simple_compile_test_code" > conftest.$ac_ext if AC_TRY_EVAL(ac_compile) 2>conftest.err; then soname=conftest lib=conftest libobjs=conftest.$ac_objext deplibs= wl=$_LT_TAGVAR(lt_prog_compiler_wl, $1) pic_flag=$_LT_TAGVAR(lt_prog_compiler_pic, $1) compiler_flags=-v linker_flags=-v verstring= output_objdir=. libname=conftest lt_save_allow_undefined_flag=$_LT_TAGVAR(allow_undefined_flag, $1) _LT_TAGVAR(allow_undefined_flag, $1)= if AC_TRY_EVAL(_LT_TAGVAR(archive_cmds, $1) 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) then lt_cv_[]_LT_TAGVAR(archive_cmds_need_lc, $1)=no else lt_cv_[]_LT_TAGVAR(archive_cmds_need_lc, $1)=yes fi _LT_TAGVAR(allow_undefined_flag, $1)=$lt_save_allow_undefined_flag else cat conftest.err 1>&5 fi $RM conftest* ]) _LT_TAGVAR(archive_cmds_need_lc, $1)=$lt_cv_[]_LT_TAGVAR(archive_cmds_need_lc, $1) ;; esac fi ;; esac _LT_TAGDECL([build_libtool_need_lc], [archive_cmds_need_lc], [0], [Whether or not to add -lc for building shared libraries]) _LT_TAGDECL([allow_libtool_libs_with_static_runtimes], [enable_shared_with_static_runtimes], [0], [Whether or not to disallow shared libs when runtime libs are static]) _LT_TAGDECL([], [export_dynamic_flag_spec], [1], [Compiler flag to allow reflexive dlopens]) _LT_TAGDECL([], [whole_archive_flag_spec], [1], [Compiler flag to generate shared objects directly from archives]) _LT_TAGDECL([], [compiler_needs_object], [1], [Whether the compiler copes with passing no objects directly]) _LT_TAGDECL([], [old_archive_from_new_cmds], [2], [Create an old-style archive from a shared archive]) _LT_TAGDECL([], [old_archive_from_expsyms_cmds], [2], [Create a temporary old-style archive to link instead of a shared archive]) _LT_TAGDECL([], [archive_cmds], [2], [Commands used to build a shared archive]) _LT_TAGDECL([], [archive_expsym_cmds], [2]) _LT_TAGDECL([], [module_cmds], [2], [Commands used to build a loadable module if different from building a shared archive.]) _LT_TAGDECL([], [module_expsym_cmds], [2]) _LT_TAGDECL([], [with_gnu_ld], [1], [Whether we are building with GNU ld or not]) _LT_TAGDECL([], [allow_undefined_flag], [1], [Flag that allows shared libraries with undefined symbols to be built]) _LT_TAGDECL([], [no_undefined_flag], [1], [Flag that enforces no undefined symbols]) _LT_TAGDECL([], [hardcode_libdir_flag_spec], [1], [Flag to hardcode $libdir into a binary during linking. This must work even if $libdir does not exist]) _LT_TAGDECL([], [hardcode_libdir_separator], [1], [Whether we need a single "-rpath" flag with a separated argument]) _LT_TAGDECL([], [hardcode_direct], [0], [Set to "yes" if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the resulting binary]) _LT_TAGDECL([], [hardcode_direct_absolute], [0], [Set to "yes" if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the resulting binary and the resulting library dependency is "absolute", i.e impossible to change by setting ${shlibpath_var} if the library is relocated]) _LT_TAGDECL([], [hardcode_minus_L], [0], [Set to "yes" if using the -LDIR flag during linking hardcodes DIR into the resulting binary]) _LT_TAGDECL([], [hardcode_shlibpath_var], [0], [Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into the resulting binary]) _LT_TAGDECL([], [hardcode_automatic], [0], [Set to "yes" if building a shared library automatically hardcodes DIR into the library and all subsequent libraries and executables linked against it]) _LT_TAGDECL([], [inherit_rpath], [0], [Set to yes if linker adds runtime paths of dependent libraries to runtime path list]) _LT_TAGDECL([], [link_all_deplibs], [0], [Whether libtool must link a program against all its dependency libraries]) _LT_TAGDECL([], [always_export_symbols], [0], [Set to "yes" if exported symbols are required]) _LT_TAGDECL([], [export_symbols_cmds], [2], [The commands to list exported symbols]) _LT_TAGDECL([], [exclude_expsyms], [1], [Symbols that should not be listed in the preloaded symbols]) _LT_TAGDECL([], [include_expsyms], [1], [Symbols that must always be exported]) _LT_TAGDECL([], [prelink_cmds], [2], [Commands necessary for linking programs (against libraries) with templates]) _LT_TAGDECL([], [postlink_cmds], [2], [Commands necessary for finishing linking programs]) _LT_TAGDECL([], [file_list_spec], [1], [Specify filename containing input files]) dnl FIXME: Not yet implemented dnl _LT_TAGDECL([], [thread_safe_flag_spec], [1], dnl [Compiler flag to generate thread safe objects]) ])# _LT_LINKER_SHLIBS # _LT_LANG_C_CONFIG([TAG]) # ------------------------ # Ensure that the configuration variables for a C compiler are suitably # defined. These variables are subsequently used by _LT_CONFIG to write # the compiler configuration to `libtool'. m4_defun([_LT_LANG_C_CONFIG], [m4_require([_LT_DECL_EGREP])dnl lt_save_CC="$CC" AC_LANG_PUSH(C) # Source file extension for C test sources. ac_ext=c # Object file extension for compiled C test sources. objext=o _LT_TAGVAR(objext, $1)=$objext # Code to be used in simple compile tests lt_simple_compile_test_code="int some_variable = 0;" # Code to be used in simple link tests lt_simple_link_test_code='int main(){return(0);}' _LT_TAG_COMPILER # Save the default compiler, since it gets overwritten when the other # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP. compiler_DEFAULT=$CC # save warnings/boilerplate of simple test code _LT_COMPILER_BOILERPLATE _LT_LINKER_BOILERPLATE if test -n "$compiler"; then _LT_COMPILER_NO_RTTI($1) _LT_COMPILER_PIC($1) _LT_COMPILER_C_O($1) _LT_COMPILER_FILE_LOCKS($1) _LT_LINKER_SHLIBS($1) _LT_SYS_DYNAMIC_LINKER($1) _LT_LINKER_HARDCODE_LIBPATH($1) LT_SYS_DLOPEN_SELF _LT_CMD_STRIPLIB # Report which library types will actually be built AC_MSG_CHECKING([if libtool supports shared libraries]) AC_MSG_RESULT([$can_build_shared]) AC_MSG_CHECKING([whether to build shared libraries]) test "$can_build_shared" = "no" && enable_shared=no # On AIX, shared libraries and static libraries use the same namespace, and # are all built from PIC. case $host_os in aix3*) test "$enable_shared" = yes && enable_static=no if test -n "$RANLIB"; then archive_cmds="$archive_cmds~\$RANLIB \$lib" postinstall_cmds='$RANLIB $lib' fi ;; aix[[4-9]]*) if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then test "$enable_shared" = yes && enable_static=no fi ;; esac AC_MSG_RESULT([$enable_shared]) AC_MSG_CHECKING([whether to build static libraries]) # Make sure either enable_shared or enable_static is yes. test "$enable_shared" = yes || enable_static=yes AC_MSG_RESULT([$enable_static]) _LT_CONFIG($1) fi AC_LANG_POP CC="$lt_save_CC" ])# _LT_LANG_C_CONFIG # _LT_LANG_CXX_CONFIG([TAG]) # -------------------------- # Ensure that the configuration variables for a C++ compiler are suitably # defined. These variables are subsequently used by _LT_CONFIG to write # the compiler configuration to `libtool'. m4_defun([_LT_LANG_CXX_CONFIG], [m4_require([_LT_FILEUTILS_DEFAULTS])dnl m4_require([_LT_DECL_EGREP])dnl m4_require([_LT_PATH_MANIFEST_TOOL])dnl if test -n "$CXX" && ( test "X$CXX" != "Xno" && ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) || (test "X$CXX" != "Xg++"))) ; then AC_PROG_CXXCPP else _lt_caught_CXX_error=yes fi AC_LANG_PUSH(C++) _LT_TAGVAR(archive_cmds_need_lc, $1)=no _LT_TAGVAR(allow_undefined_flag, $1)= _LT_TAGVAR(always_export_symbols, $1)=no _LT_TAGVAR(archive_expsym_cmds, $1)= _LT_TAGVAR(compiler_needs_object, $1)=no _LT_TAGVAR(export_dynamic_flag_spec, $1)= _LT_TAGVAR(hardcode_direct, $1)=no _LT_TAGVAR(hardcode_direct_absolute, $1)=no _LT_TAGVAR(hardcode_libdir_flag_spec, $1)= _LT_TAGVAR(hardcode_libdir_separator, $1)= _LT_TAGVAR(hardcode_minus_L, $1)=no _LT_TAGVAR(hardcode_shlibpath_var, $1)=unsupported _LT_TAGVAR(hardcode_automatic, $1)=no _LT_TAGVAR(inherit_rpath, $1)=no _LT_TAGVAR(module_cmds, $1)= _LT_TAGVAR(module_expsym_cmds, $1)= _LT_TAGVAR(link_all_deplibs, $1)=unknown _LT_TAGVAR(old_archive_cmds, $1)=$old_archive_cmds _LT_TAGVAR(reload_flag, $1)=$reload_flag _LT_TAGVAR(reload_cmds, $1)=$reload_cmds _LT_TAGVAR(no_undefined_flag, $1)= _LT_TAGVAR(whole_archive_flag_spec, $1)= _LT_TAGVAR(enable_shared_with_static_runtimes, $1)=no # Source file extension for C++ test sources. ac_ext=cpp # Object file extension for compiled C++ test sources. objext=o _LT_TAGVAR(objext, $1)=$objext # No sense in running all these tests if we already determined that # the CXX compiler isn't working. Some variables (like enable_shared) # are currently assumed to apply to all compilers on this platform, # and will be corrupted by setting them based on a non-working compiler. if test "$_lt_caught_CXX_error" != yes; then # Code to be used in simple compile tests lt_simple_compile_test_code="int some_variable = 0;" # Code to be used in simple link tests lt_simple_link_test_code='int main(int, char *[[]]) { return(0); }' # ltmain only uses $CC for tagged configurations so make sure $CC is set. _LT_TAG_COMPILER # save warnings/boilerplate of simple test code _LT_COMPILER_BOILERPLATE _LT_LINKER_BOILERPLATE # Allow CC to be a program name with arguments. lt_save_CC=$CC lt_save_CFLAGS=$CFLAGS lt_save_LD=$LD lt_save_GCC=$GCC GCC=$GXX lt_save_with_gnu_ld=$with_gnu_ld lt_save_path_LD=$lt_cv_path_LD if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then lt_cv_prog_gnu_ld=$lt_cv_prog_gnu_ldcxx else $as_unset lt_cv_prog_gnu_ld fi if test -n "${lt_cv_path_LDCXX+set}"; then lt_cv_path_LD=$lt_cv_path_LDCXX else $as_unset lt_cv_path_LD fi test -z "${LDCXX+set}" || LD=$LDCXX CC=${CXX-"c++"} CFLAGS=$CXXFLAGS compiler=$CC _LT_TAGVAR(compiler, $1)=$CC _LT_CC_BASENAME([$compiler]) if test -n "$compiler"; then # We don't want -fno-exception when compiling C++ code, so set the # no_builtin_flag separately if test "$GXX" = yes; then _LT_TAGVAR(lt_prog_compiler_no_builtin_flag, $1)=' -fno-builtin' else _LT_TAGVAR(lt_prog_compiler_no_builtin_flag, $1)= fi if test "$GXX" = yes; then # Set up default GNU C++ configuration LT_PATH_LD # Check if GNU C++ uses GNU ld as the underlying linker, since the # archiving commands below assume that GNU ld is being used. if test "$with_gnu_ld" = yes; then _LT_TAGVAR(archive_cmds, $1)='$CC $pic_flag -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib' _LT_TAGVAR(archive_expsym_cmds, $1)='$CC $pic_flag -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir' _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}--export-dynamic' # If archive_cmds runs LD, not CC, wlarc should be empty # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to # investigate it a little bit more. (MM) wlarc='${wl}' # ancient GNU ld didn't support --whole-archive et. al. if eval "`$CC -print-prog-name=ld` --help 2>&1" | $GREP 'no-whole-archive' > /dev/null; then _LT_TAGVAR(whole_archive_flag_spec, $1)="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive' else _LT_TAGVAR(whole_archive_flag_spec, $1)= fi else with_gnu_ld=no wlarc= # A generic and very simple default shared library creation # command for GNU C++ for the case where it uses the native # linker, instead of GNU ld. If possible, this setting should # overridden to take advantage of the native linker features on # the platform it is being used on. _LT_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib' fi # Commands to make compiler produce verbose output that lists # what "hidden" libraries, object files and flags are used when # linking a shared library. output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"' else GXX=no with_gnu_ld=no wlarc= fi # PORTME: fill in a description of your system's C++ link characteristics AC_MSG_CHECKING([whether the $compiler linker ($LD) supports shared libraries]) _LT_TAGVAR(ld_shlibs, $1)=yes case $host_os in aix3*) # FIXME: insert proper C++ library support _LT_TAGVAR(ld_shlibs, $1)=no ;; aix[[4-9]]*) if test "$host_cpu" = ia64; then # On IA64, the linker does run time linking by default, so we don't # have to do anything special. aix_use_runtimelinking=no exp_sym_flag='-Bexport' no_entry_flag="" else aix_use_runtimelinking=no # Test if we are trying to use run time linking or normal # AIX style linking. If -brtl is somewhere in LDFLAGS, we # need to do runtime linking. case $host_os in aix4.[[23]]|aix4.[[23]].*|aix[[5-9]]*) for ld_flag in $LDFLAGS; do case $ld_flag in *-brtl*) aix_use_runtimelinking=yes break ;; esac done ;; esac exp_sym_flag='-bexport' no_entry_flag='-bnoentry' fi # When large executables or shared objects are built, AIX ld can # have problems creating the table of contents. If linking a library # or program results in "error TOC overflow" add -mminimal-toc to # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS. _LT_TAGVAR(archive_cmds, $1)='' _LT_TAGVAR(hardcode_direct, $1)=yes _LT_TAGVAR(hardcode_direct_absolute, $1)=yes _LT_TAGVAR(hardcode_libdir_separator, $1)=':' _LT_TAGVAR(link_all_deplibs, $1)=yes _LT_TAGVAR(file_list_spec, $1)='${wl}-f,' if test "$GXX" = yes; then case $host_os in aix4.[[012]]|aix4.[[012]].*) # We only want to do this on AIX 4.2 and lower, the check # below for broken collect2 doesn't work under 4.3+ collect2name=`${CC} -print-prog-name=collect2` if test -f "$collect2name" && strings "$collect2name" | $GREP resolve_lib_name >/dev/null then # We have reworked collect2 : else # We have old collect2 _LT_TAGVAR(hardcode_direct, $1)=unsupported # It fails to find uninstalled libraries when the uninstalled # path is not listed in the libpath. Setting hardcode_minus_L # to unsupported forces relinking _LT_TAGVAR(hardcode_minus_L, $1)=yes _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir' _LT_TAGVAR(hardcode_libdir_separator, $1)= fi esac shared_flag='-shared' if test "$aix_use_runtimelinking" = yes; then shared_flag="$shared_flag "'${wl}-G' fi else # not using gcc if test "$host_cpu" = ia64; then # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release # chokes on -Wl,-G. The following line is correct: shared_flag='-G' else if test "$aix_use_runtimelinking" = yes; then shared_flag='${wl}-G' else shared_flag='${wl}-bM:SRE' fi fi fi _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-bexpall' # It seems that -bexpall does not export symbols beginning with # underscore (_), so it is better to generate a list of symbols to # export. _LT_TAGVAR(always_export_symbols, $1)=yes if test "$aix_use_runtimelinking" = yes; then # Warning - without using the other runtime loading flags (-brtl), # -berok will link without error, but may produce a broken library. _LT_TAGVAR(allow_undefined_flag, $1)='-berok' # Determine the default libpath from the value encoded in an empty # executable. _LT_SYS_MODULE_PATH_AIX([$1]) _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-blibpath:$libdir:'"$aix_libpath" _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then func_echo_all "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag" else if test "$host_cpu" = ia64; then _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-R $libdir:/usr/lib:/lib' _LT_TAGVAR(allow_undefined_flag, $1)="-z nodefs" _LT_TAGVAR(archive_expsym_cmds, $1)="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags ${wl}${allow_undefined_flag} '"\${wl}$exp_sym_flag:\$export_symbols" else # Determine the default libpath from the value encoded in an # empty executable. _LT_SYS_MODULE_PATH_AIX([$1]) _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-blibpath:$libdir:'"$aix_libpath" # Warning - without using the other run time loading flags, # -berok will link without error, but may produce a broken library. _LT_TAGVAR(no_undefined_flag, $1)=' ${wl}-bernotok' _LT_TAGVAR(allow_undefined_flag, $1)=' ${wl}-berok' if test "$with_gnu_ld" = yes; then # We only use this code for GNU lds that support --whole-archive. _LT_TAGVAR(whole_archive_flag_spec, $1)='${wl}--whole-archive$convenience ${wl}--no-whole-archive' else # Exported symbols can be pulled into shared objects from archives _LT_TAGVAR(whole_archive_flag_spec, $1)='$convenience' fi _LT_TAGVAR(archive_cmds_need_lc, $1)=yes # This is similar to how AIX traditionally builds its shared # libraries. _LT_TAGVAR(archive_expsym_cmds, $1)="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs ${wl}-bnoentry $compiler_flags ${wl}-bE:$export_symbols${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname' fi fi ;; beos*) if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then _LT_TAGVAR(allow_undefined_flag, $1)=unsupported # Joseph Beckenbach says some releases of gcc # support --undefined. This deserves some investigation. FIXME _LT_TAGVAR(archive_cmds, $1)='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' else _LT_TAGVAR(ld_shlibs, $1)=no fi ;; chorus*) case $cc_basename in *) # FIXME: insert proper C++ library support _LT_TAGVAR(ld_shlibs, $1)=no ;; esac ;; cygwin* | mingw* | pw32* | cegcc*) case $GXX,$cc_basename in ,cl* | no,cl*) # Native MSVC # hardcode_libdir_flag_spec is actually meaningless, as there is # no search path for DLLs. _LT_TAGVAR(hardcode_libdir_flag_spec, $1)=' ' _LT_TAGVAR(allow_undefined_flag, $1)=unsupported _LT_TAGVAR(always_export_symbols, $1)=yes _LT_TAGVAR(file_list_spec, $1)='@' # Tell ltmain to make .lib files, not .a files. libext=lib # Tell ltmain to make .dll files, not .so files. shrext_cmds=".dll" # FIXME: Setting linknames here is a bad hack. _LT_TAGVAR(archive_cmds, $1)='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-dll~linknames=' _LT_TAGVAR(archive_expsym_cmds, $1)='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then $SED -n -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' -e '1\\\!p' < $export_symbols > $output_objdir/$soname.exp; else $SED -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' < $export_symbols > $output_objdir/$soname.exp; fi~ $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~ linknames=' # The linker will not automatically build a static lib if we build a DLL. # _LT_TAGVAR(old_archive_from_new_cmds, $1)='true' _LT_TAGVAR(enable_shared_with_static_runtimes, $1)=yes # Don't use ranlib _LT_TAGVAR(old_postinstall_cmds, $1)='chmod 644 $oldlib' _LT_TAGVAR(postlink_cmds, $1)='lt_outputfile="@OUTPUT@"~ lt_tool_outputfile="@TOOL_OUTPUT@"~ case $lt_outputfile in *.exe|*.EXE) ;; *) lt_outputfile="$lt_outputfile.exe" lt_tool_outputfile="$lt_tool_outputfile.exe" ;; esac~ func_to_tool_file "$lt_outputfile"~ if test "$MANIFEST_TOOL" != ":" && test -f "$lt_outputfile.manifest"; then $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1; $RM "$lt_outputfile.manifest"; fi' ;; *) # g++ # _LT_TAGVAR(hardcode_libdir_flag_spec, $1) is actually meaningless, # as there is no search path for DLLs. _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir' _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}--export-all-symbols' _LT_TAGVAR(allow_undefined_flag, $1)=unsupported _LT_TAGVAR(always_export_symbols, $1)=no _LT_TAGVAR(enable_shared_with_static_runtimes, $1)=yes if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then _LT_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib' # If the export-symbols file already is a .def file (1st line # is EXPORTS), use it as is; otherwise, prepend... _LT_TAGVAR(archive_expsym_cmds, $1)='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then cp $export_symbols $output_objdir/$soname.def; else echo EXPORTS > $output_objdir/$soname.def; cat $export_symbols >> $output_objdir/$soname.def; fi~ $CC -shared -nostdlib $output_objdir/$soname.def $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib' else _LT_TAGVAR(ld_shlibs, $1)=no fi ;; esac ;; darwin* | rhapsody*) _LT_DARWIN_LINKER_FEATURES($1) ;; dgux*) case $cc_basename in ec++*) # FIXME: insert proper C++ library support _LT_TAGVAR(ld_shlibs, $1)=no ;; ghcx*) # Green Hills C++ Compiler # FIXME: insert proper C++ library support _LT_TAGVAR(ld_shlibs, $1)=no ;; *) # FIXME: insert proper C++ library support _LT_TAGVAR(ld_shlibs, $1)=no ;; esac ;; freebsd2.*) # C++ shared libraries reported to be fairly broken before # switch to ELF _LT_TAGVAR(ld_shlibs, $1)=no ;; freebsd-elf*) _LT_TAGVAR(archive_cmds_need_lc, $1)=no ;; freebsd* | dragonfly*) # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF # conventions _LT_TAGVAR(ld_shlibs, $1)=yes ;; gnu*) ;; haiku*) _LT_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' _LT_TAGVAR(link_all_deplibs, $1)=yes ;; hpux9*) _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}+b ${wl}$libdir' _LT_TAGVAR(hardcode_libdir_separator, $1)=: _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E' _LT_TAGVAR(hardcode_direct, $1)=yes _LT_TAGVAR(hardcode_minus_L, $1)=yes # Not in the search PATH, # but as the default # location of the library. case $cc_basename in CC*) # FIXME: insert proper C++ library support _LT_TAGVAR(ld_shlibs, $1)=no ;; aCC*) _LT_TAGVAR(archive_cmds, $1)='$RM $output_objdir/$soname~$CC -b ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib' # Commands to make compiler produce verbose output that lists # what "hidden" libraries, object files and flags are used when # linking a shared library. # # There doesn't appear to be a way to prevent this compiler from # explicitly linking system object files so we need to strip them # from the output so that they don't get included in the library # dependencies. output_verbose_link_cmd='templist=`($CC -b $CFLAGS -v conftest.$objext 2>&1) | $EGREP "\-L"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; func_echo_all "$list"' ;; *) if test "$GXX" = yes; then _LT_TAGVAR(archive_cmds, $1)='$RM $output_objdir/$soname~$CC -shared -nostdlib $pic_flag ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib' else # FIXME: insert proper C++ library support _LT_TAGVAR(ld_shlibs, $1)=no fi ;; esac ;; hpux10*|hpux11*) if test $with_gnu_ld = no; then _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}+b ${wl}$libdir' _LT_TAGVAR(hardcode_libdir_separator, $1)=: case $host_cpu in hppa*64*|ia64*) ;; *) _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E' ;; esac fi case $host_cpu in hppa*64*|ia64*) _LT_TAGVAR(hardcode_direct, $1)=no _LT_TAGVAR(hardcode_shlibpath_var, $1)=no ;; *) _LT_TAGVAR(hardcode_direct, $1)=yes _LT_TAGVAR(hardcode_direct_absolute, $1)=yes _LT_TAGVAR(hardcode_minus_L, $1)=yes # Not in the search PATH, # but as the default # location of the library. ;; esac case $cc_basename in CC*) # FIXME: insert proper C++ library support _LT_TAGVAR(ld_shlibs, $1)=no ;; aCC*) case $host_cpu in hppa*64*) _LT_TAGVAR(archive_cmds, $1)='$CC -b ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags' ;; ia64*) _LT_TAGVAR(archive_cmds, $1)='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags' ;; *) _LT_TAGVAR(archive_cmds, $1)='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags' ;; esac # Commands to make compiler produce verbose output that lists # what "hidden" libraries, object files and flags are used when # linking a shared library. # # There doesn't appear to be a way to prevent this compiler from # explicitly linking system object files so we need to strip them # from the output so that they don't get included in the library # dependencies. output_verbose_link_cmd='templist=`($CC -b $CFLAGS -v conftest.$objext 2>&1) | $GREP "\-L"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; func_echo_all "$list"' ;; *) if test "$GXX" = yes; then if test $with_gnu_ld = no; then case $host_cpu in hppa*64*) _LT_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags' ;; ia64*) _LT_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib $pic_flag ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags' ;; *) _LT_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags' ;; esac fi else # FIXME: insert proper C++ library support _LT_TAGVAR(ld_shlibs, $1)=no fi ;; esac ;; interix[[3-9]]*) _LT_TAGVAR(hardcode_direct, $1)=no _LT_TAGVAR(hardcode_shlibpath_var, $1)=no _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath,$libdir' _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E' # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc. # Instead, shared libraries are loaded at an image base (0x10000000 by # default) and relocated if they conflict, which is a slow very memory # consuming and fragmenting process. To avoid this, we pick a random, # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link # time. Moving up from 0x10000000 also allows more sbrk(2) space. _LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib' _LT_TAGVAR(archive_expsym_cmds, $1)='sed "s,^,_," $export_symbols >$output_objdir/$soname.expsym~$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--retain-symbols-file,$output_objdir/$soname.expsym ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib' ;; irix5* | irix6*) case $cc_basename in CC*) # SGI C++ _LT_TAGVAR(archive_cmds, $1)='$CC -shared -all -multigot $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib' # Archives containing C++ object files must be created using # "CC -ar", where "CC" is the IRIX C++ compiler. This is # necessary to make sure instantiated templates are included # in the archive. _LT_TAGVAR(old_archive_cmds, $1)='$CC -ar -WR,-u -o $oldlib $oldobjs' ;; *) if test "$GXX" = yes; then if test "$with_gnu_ld" = no; then _LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib' else _LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` -o $lib' fi fi _LT_TAGVAR(link_all_deplibs, $1)=yes ;; esac _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir' _LT_TAGVAR(hardcode_libdir_separator, $1)=: _LT_TAGVAR(inherit_rpath, $1)=yes ;; linux* | k*bsd*-gnu | kopensolaris*-gnu) case $cc_basename in KCC*) # Kuck and Associates, Inc. (KAI) C++ Compiler # KCC will only create a shared library if the output file # ends with ".so" (or ".sl" for HP-UX), so rename the library # to its proper name (with version) after linking. _LT_TAGVAR(archive_cmds, $1)='tempext=`echo $shared_ext | $SED -e '\''s/\([[^()0-9A-Za-z{}]]\)/\\\\\1/g'\''`; templib=`echo $lib | $SED -e "s/\${tempext}\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib; mv \$templib $lib' _LT_TAGVAR(archive_expsym_cmds, $1)='tempext=`echo $shared_ext | $SED -e '\''s/\([[^()0-9A-Za-z{}]]\)/\\\\\1/g'\''`; templib=`echo $lib | $SED -e "s/\${tempext}\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib ${wl}-retain-symbols-file,$export_symbols; mv \$templib $lib' # Commands to make compiler produce verbose output that lists # what "hidden" libraries, object files and flags are used when # linking a shared library. # # There doesn't appear to be a way to prevent this compiler from # explicitly linking system object files so we need to strip them # from the output so that they don't get included in the library # dependencies. output_verbose_link_cmd='templist=`$CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1 | $GREP "ld"`; rm -f libconftest$shared_ext; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; func_echo_all "$list"' _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath,$libdir' _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}--export-dynamic' # Archives containing C++ object files must be created using # "CC -Bstatic", where "CC" is the KAI C++ compiler. _LT_TAGVAR(old_archive_cmds, $1)='$CC -Bstatic -o $oldlib $oldobjs' ;; icpc* | ecpc* ) # Intel C++ with_gnu_ld=yes # version 8.0 and above of icpc choke on multiply defined symbols # if we add $predep_objects and $postdep_objects, however 7.1 and # earlier do not add the objects themselves. case `$CC -V 2>&1` in *"Version 7."*) _LT_TAGVAR(archive_cmds, $1)='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib' _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' ;; *) # Version 8.0 or newer tmp_idyn= case $host_cpu in ia64*) tmp_idyn=' -i_dynamic';; esac _LT_TAGVAR(archive_cmds, $1)='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' ;; esac _LT_TAGVAR(archive_cmds_need_lc, $1)=no _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath,$libdir' _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}--export-dynamic' _LT_TAGVAR(whole_archive_flag_spec, $1)='${wl}--whole-archive$convenience ${wl}--no-whole-archive' ;; pgCC* | pgcpp*) # Portland Group C++ compiler case `$CC -V` in *pgCC\ [[1-5]].* | *pgcpp\ [[1-5]].*) _LT_TAGVAR(prelink_cmds, $1)='tpldir=Template.dir~ rm -rf $tpldir~ $CC --prelink_objects --instantiation_dir $tpldir $objs $libobjs $compile_deplibs~ compile_command="$compile_command `find $tpldir -name \*.o | sort | $NL2SP`"' _LT_TAGVAR(old_archive_cmds, $1)='tpldir=Template.dir~ rm -rf $tpldir~ $CC --prelink_objects --instantiation_dir $tpldir $oldobjs$old_deplibs~ $AR $AR_FLAGS $oldlib$oldobjs$old_deplibs `find $tpldir -name \*.o | sort | $NL2SP`~ $RANLIB $oldlib' _LT_TAGVAR(archive_cmds, $1)='tpldir=Template.dir~ rm -rf $tpldir~ $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~ $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | sort | $NL2SP` $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib' _LT_TAGVAR(archive_expsym_cmds, $1)='tpldir=Template.dir~ rm -rf $tpldir~ $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~ $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | sort | $NL2SP` $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname ${wl}-retain-symbols-file ${wl}$export_symbols -o $lib' ;; *) # Version 6 and above use weak symbols _LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib' _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname ${wl}-retain-symbols-file ${wl}$export_symbols -o $lib' ;; esac _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}--rpath ${wl}$libdir' _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}--export-dynamic' _LT_TAGVAR(whole_archive_flag_spec, $1)='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive' ;; cxx*) # Compaq C++ _LT_TAGVAR(archive_cmds, $1)='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib' _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib ${wl}-retain-symbols-file $wl$export_symbols' runpath_var=LD_RUN_PATH _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-rpath $libdir' _LT_TAGVAR(hardcode_libdir_separator, $1)=: # Commands to make compiler produce verbose output that lists # what "hidden" libraries, object files and flags are used when # linking a shared library. # # There doesn't appear to be a way to prevent this compiler from # explicitly linking system object files so we need to strip them # from the output so that they don't get included in the library # dependencies. output_verbose_link_cmd='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "ld"`; templist=`func_echo_all "$templist" | $SED "s/\(^.*ld.*\)\( .*ld .*$\)/\1/"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; func_echo_all "X$list" | $Xsed' ;; xl* | mpixl* | bgxl*) # IBM XL 8.0 on PPC, with GNU ld _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir' _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}--export-dynamic' _LT_TAGVAR(archive_cmds, $1)='$CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' if test "x$supports_anon_versioning" = xyes; then _LT_TAGVAR(archive_expsym_cmds, $1)='echo "{ global:" > $output_objdir/$libname.ver~ cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~ echo "local: *; };" >> $output_objdir/$libname.ver~ $CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib' fi ;; *) case `$CC -V 2>&1 | sed 5q` in *Sun\ C*) # Sun C++ 5.9 _LT_TAGVAR(no_undefined_flag, $1)=' -zdefs' _LT_TAGVAR(archive_cmds, $1)='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags' _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file ${wl}$export_symbols' _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir' _LT_TAGVAR(whole_archive_flag_spec, $1)='${wl}--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive' _LT_TAGVAR(compiler_needs_object, $1)=yes # Not sure whether something based on # $CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1 # would be better. output_verbose_link_cmd='func_echo_all' # Archives containing C++ object files must be created using # "CC -xar", where "CC" is the Sun C++ compiler. This is # necessary to make sure instantiated templates are included # in the archive. _LT_TAGVAR(old_archive_cmds, $1)='$CC -xar -o $oldlib $oldobjs' ;; esac ;; esac ;; lynxos*) # FIXME: insert proper C++ library support _LT_TAGVAR(ld_shlibs, $1)=no ;; m88k*) # FIXME: insert proper C++ library support _LT_TAGVAR(ld_shlibs, $1)=no ;; mvs*) case $cc_basename in cxx*) # FIXME: insert proper C++ library support _LT_TAGVAR(ld_shlibs, $1)=no ;; *) # FIXME: insert proper C++ library support _LT_TAGVAR(ld_shlibs, $1)=no ;; esac ;; netbsd*) if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then _LT_TAGVAR(archive_cmds, $1)='$LD -Bshareable -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags' wlarc= _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir' _LT_TAGVAR(hardcode_direct, $1)=yes _LT_TAGVAR(hardcode_shlibpath_var, $1)=no fi # Workaround some broken pre-1.5 toolchains output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"' ;; *nto* | *qnx*) _LT_TAGVAR(ld_shlibs, $1)=yes ;; openbsd2*) # C++ shared libraries are fairly broken _LT_TAGVAR(ld_shlibs, $1)=no ;; openbsd*) if test -f /usr/libexec/ld.so; then _LT_TAGVAR(hardcode_direct, $1)=yes _LT_TAGVAR(hardcode_shlibpath_var, $1)=no _LT_TAGVAR(hardcode_direct_absolute, $1)=yes _LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib' _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath,$libdir' if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file,$export_symbols -o $lib' _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E' _LT_TAGVAR(whole_archive_flag_spec, $1)="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive' fi output_verbose_link_cmd=func_echo_all else _LT_TAGVAR(ld_shlibs, $1)=no fi ;; osf3* | osf4* | osf5*) case $cc_basename in KCC*) # Kuck and Associates, Inc. (KAI) C++ Compiler # KCC will only create a shared library if the output file # ends with ".so" (or ".sl" for HP-UX), so rename the library # to its proper name (with version) after linking. _LT_TAGVAR(archive_cmds, $1)='tempext=`echo $shared_ext | $SED -e '\''s/\([[^()0-9A-Za-z{}]]\)/\\\\\1/g'\''`; templib=`echo "$lib" | $SED -e "s/\${tempext}\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib; mv \$templib $lib' _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath,$libdir' _LT_TAGVAR(hardcode_libdir_separator, $1)=: # Archives containing C++ object files must be created using # the KAI C++ compiler. case $host in osf3*) _LT_TAGVAR(old_archive_cmds, $1)='$CC -Bstatic -o $oldlib $oldobjs' ;; *) _LT_TAGVAR(old_archive_cmds, $1)='$CC -o $oldlib $oldobjs' ;; esac ;; RCC*) # Rational C++ 2.4.1 # FIXME: insert proper C++ library support _LT_TAGVAR(ld_shlibs, $1)=no ;; cxx*) case $host in osf3*) _LT_TAGVAR(allow_undefined_flag, $1)=' ${wl}-expect_unresolved ${wl}\*' _LT_TAGVAR(archive_cmds, $1)='$CC -shared${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $soname `test -n "$verstring" && func_echo_all "${wl}-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib' _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir' ;; *) _LT_TAGVAR(allow_undefined_flag, $1)=' -expect_unresolved \*' _LT_TAGVAR(archive_cmds, $1)='$CC -shared${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -msym -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib' _LT_TAGVAR(archive_expsym_cmds, $1)='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~ echo "-hidden">> $lib.exp~ $CC -shared$allow_undefined_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -msym -soname $soname ${wl}-input ${wl}$lib.exp `test -n "$verstring" && $ECHO "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib~ $RM $lib.exp' _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-rpath $libdir' ;; esac _LT_TAGVAR(hardcode_libdir_separator, $1)=: # Commands to make compiler produce verbose output that lists # what "hidden" libraries, object files and flags are used when # linking a shared library. # # There doesn't appear to be a way to prevent this compiler from # explicitly linking system object files so we need to strip them # from the output so that they don't get included in the library # dependencies. output_verbose_link_cmd='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "ld" | $GREP -v "ld:"`; templist=`func_echo_all "$templist" | $SED "s/\(^.*ld.*\)\( .*ld.*$\)/\1/"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; func_echo_all "$list"' ;; *) if test "$GXX" = yes && test "$with_gnu_ld" = no; then _LT_TAGVAR(allow_undefined_flag, $1)=' ${wl}-expect_unresolved ${wl}\*' case $host in osf3*) _LT_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib ${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib' ;; *) _LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag -nostdlib ${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib' ;; esac _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir' _LT_TAGVAR(hardcode_libdir_separator, $1)=: # Commands to make compiler produce verbose output that lists # what "hidden" libraries, object files and flags are used when # linking a shared library. output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"' else # FIXME: insert proper C++ library support _LT_TAGVAR(ld_shlibs, $1)=no fi ;; esac ;; psos*) # FIXME: insert proper C++ library support _LT_TAGVAR(ld_shlibs, $1)=no ;; sunos4*) case $cc_basename in CC*) # Sun C++ 4.x # FIXME: insert proper C++ library support _LT_TAGVAR(ld_shlibs, $1)=no ;; lcc*) # Lucid # FIXME: insert proper C++ library support _LT_TAGVAR(ld_shlibs, $1)=no ;; *) # FIXME: insert proper C++ library support _LT_TAGVAR(ld_shlibs, $1)=no ;; esac ;; solaris*) case $cc_basename in CC* | sunCC*) # Sun C++ 4.2, 5.x and Centerline C++ _LT_TAGVAR(archive_cmds_need_lc,$1)=yes _LT_TAGVAR(no_undefined_flag, $1)=' -zdefs' _LT_TAGVAR(archive_cmds, $1)='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags' _LT_TAGVAR(archive_expsym_cmds, $1)='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~ $CC -G${allow_undefined_flag} ${wl}-M ${wl}$lib.exp -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp' _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir' _LT_TAGVAR(hardcode_shlibpath_var, $1)=no case $host_os in solaris2.[[0-5]] | solaris2.[[0-5]].*) ;; *) # The compiler driver will combine and reorder linker options, # but understands `-z linker_flag'. # Supported since Solaris 2.6 (maybe 2.5.1?) _LT_TAGVAR(whole_archive_flag_spec, $1)='-z allextract$convenience -z defaultextract' ;; esac _LT_TAGVAR(link_all_deplibs, $1)=yes output_verbose_link_cmd='func_echo_all' # Archives containing C++ object files must be created using # "CC -xar", where "CC" is the Sun C++ compiler. This is # necessary to make sure instantiated templates are included # in the archive. _LT_TAGVAR(old_archive_cmds, $1)='$CC -xar -o $oldlib $oldobjs' ;; gcx*) # Green Hills C++ Compiler _LT_TAGVAR(archive_cmds, $1)='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib' # The C++ compiler must be used to create the archive. _LT_TAGVAR(old_archive_cmds, $1)='$CC $LDFLAGS -archive -o $oldlib $oldobjs' ;; *) # GNU C++ compiler with Solaris linker if test "$GXX" = yes && test "$with_gnu_ld" = no; then _LT_TAGVAR(no_undefined_flag, $1)=' ${wl}-z ${wl}defs' if $CC --version | $GREP -v '^2\.7' > /dev/null; then _LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib' _LT_TAGVAR(archive_expsym_cmds, $1)='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~ $CC -shared $pic_flag -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp' # Commands to make compiler produce verbose output that lists # what "hidden" libraries, object files and flags are used when # linking a shared library. output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"' else # g++ 2.7 appears to require `-G' NOT `-shared' on this # platform. _LT_TAGVAR(archive_cmds, $1)='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib' _LT_TAGVAR(archive_expsym_cmds, $1)='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~ $CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp' # Commands to make compiler produce verbose output that lists # what "hidden" libraries, object files and flags are used when # linking a shared library. output_verbose_link_cmd='$CC -G $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"' fi _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-R $wl$libdir' case $host_os in solaris2.[[0-5]] | solaris2.[[0-5]].*) ;; *) _LT_TAGVAR(whole_archive_flag_spec, $1)='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract' ;; esac fi ;; esac ;; sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[[01]].[[10]]* | unixware7* | sco3.2v5.0.[[024]]*) _LT_TAGVAR(no_undefined_flag, $1)='${wl}-z,text' _LT_TAGVAR(archive_cmds_need_lc, $1)=no _LT_TAGVAR(hardcode_shlibpath_var, $1)=no runpath_var='LD_RUN_PATH' case $cc_basename in CC*) _LT_TAGVAR(archive_cmds, $1)='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' ;; *) _LT_TAGVAR(archive_cmds, $1)='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' ;; esac ;; sysv5* | sco3.2v5* | sco5v6*) # Note: We can NOT use -z defs as we might desire, because we do not # link with -lc, and that would cause any symbols used from libc to # always be unresolved, which means just about no library would # ever link correctly. If we're not using GNU ld we use -z text # though, which does catch some bad symbols but isn't as heavy-handed # as -z defs. _LT_TAGVAR(no_undefined_flag, $1)='${wl}-z,text' _LT_TAGVAR(allow_undefined_flag, $1)='${wl}-z,nodefs' _LT_TAGVAR(archive_cmds_need_lc, $1)=no _LT_TAGVAR(hardcode_shlibpath_var, $1)=no _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-R,$libdir' _LT_TAGVAR(hardcode_libdir_separator, $1)=':' _LT_TAGVAR(link_all_deplibs, $1)=yes _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-Bexport' runpath_var='LD_RUN_PATH' case $cc_basename in CC*) _LT_TAGVAR(archive_cmds, $1)='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' _LT_TAGVAR(old_archive_cmds, $1)='$CC -Tprelink_objects $oldobjs~ '"$_LT_TAGVAR(old_archive_cmds, $1)" _LT_TAGVAR(reload_cmds, $1)='$CC -Tprelink_objects $reload_objs~ '"$_LT_TAGVAR(reload_cmds, $1)" ;; *) _LT_TAGVAR(archive_cmds, $1)='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' ;; esac ;; tandem*) case $cc_basename in NCC*) # NonStop-UX NCC 3.20 # FIXME: insert proper C++ library support _LT_TAGVAR(ld_shlibs, $1)=no ;; *) # FIXME: insert proper C++ library support _LT_TAGVAR(ld_shlibs, $1)=no ;; esac ;; vxworks*) # FIXME: insert proper C++ library support _LT_TAGVAR(ld_shlibs, $1)=no ;; *) # FIXME: insert proper C++ library support _LT_TAGVAR(ld_shlibs, $1)=no ;; esac AC_MSG_RESULT([$_LT_TAGVAR(ld_shlibs, $1)]) test "$_LT_TAGVAR(ld_shlibs, $1)" = no && can_build_shared=no _LT_TAGVAR(GCC, $1)="$GXX" _LT_TAGVAR(LD, $1)="$LD" ## CAVEAT EMPTOR: ## There is no encapsulation within the following macros, do not change ## the running order or otherwise move them around unless you know exactly ## what you are doing... _LT_SYS_HIDDEN_LIBDEPS($1) _LT_COMPILER_PIC($1) _LT_COMPILER_C_O($1) _LT_COMPILER_FILE_LOCKS($1) _LT_LINKER_SHLIBS($1) _LT_SYS_DYNAMIC_LINKER($1) _LT_LINKER_HARDCODE_LIBPATH($1) _LT_CONFIG($1) fi # test -n "$compiler" CC=$lt_save_CC CFLAGS=$lt_save_CFLAGS LDCXX=$LD LD=$lt_save_LD GCC=$lt_save_GCC with_gnu_ld=$lt_save_with_gnu_ld lt_cv_path_LDCXX=$lt_cv_path_LD lt_cv_path_LD=$lt_save_path_LD lt_cv_prog_gnu_ldcxx=$lt_cv_prog_gnu_ld lt_cv_prog_gnu_ld=$lt_save_with_gnu_ld fi # test "$_lt_caught_CXX_error" != yes AC_LANG_POP ])# _LT_LANG_CXX_CONFIG # _LT_FUNC_STRIPNAME_CNF # ---------------------- # func_stripname_cnf prefix suffix name # strip PREFIX and SUFFIX off of NAME. # PREFIX and SUFFIX must not contain globbing or regex special # characters, hashes, percent signs, but SUFFIX may contain a leading # dot (in which case that matches only a dot). # # This function is identical to the (non-XSI) version of func_stripname, # except this one can be used by m4 code that may be executed by configure, # rather than the libtool script. m4_defun([_LT_FUNC_STRIPNAME_CNF],[dnl AC_REQUIRE([_LT_DECL_SED]) AC_REQUIRE([_LT_PROG_ECHO_BACKSLASH]) func_stripname_cnf () { case ${2} in .*) func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%\\\\${2}\$%%"`;; *) func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%${2}\$%%"`;; esac } # func_stripname_cnf ])# _LT_FUNC_STRIPNAME_CNF # _LT_SYS_HIDDEN_LIBDEPS([TAGNAME]) # --------------------------------- # Figure out "hidden" library dependencies from verbose # compiler output when linking a shared library. # Parse the compiler output and extract the necessary # objects, libraries and library flags. m4_defun([_LT_SYS_HIDDEN_LIBDEPS], [m4_require([_LT_FILEUTILS_DEFAULTS])dnl AC_REQUIRE([_LT_FUNC_STRIPNAME_CNF])dnl # Dependencies to place before and after the object being linked: _LT_TAGVAR(predep_objects, $1)= _LT_TAGVAR(postdep_objects, $1)= _LT_TAGVAR(predeps, $1)= _LT_TAGVAR(postdeps, $1)= _LT_TAGVAR(compiler_lib_search_path, $1)= dnl we can't use the lt_simple_compile_test_code here, dnl because it contains code intended for an executable, dnl not a library. It's possible we should let each dnl tag define a new lt_????_link_test_code variable, dnl but it's only used here... m4_if([$1], [], [cat > conftest.$ac_ext <<_LT_EOF int a; void foo (void) { a = 0; } _LT_EOF ], [$1], [CXX], [cat > conftest.$ac_ext <<_LT_EOF class Foo { public: Foo (void) { a = 0; } private: int a; }; _LT_EOF ], [$1], [F77], [cat > conftest.$ac_ext <<_LT_EOF subroutine foo implicit none integer*4 a a=0 return end _LT_EOF ], [$1], [FC], [cat > conftest.$ac_ext <<_LT_EOF subroutine foo implicit none integer a a=0 return end _LT_EOF ], [$1], [GCJ], [cat > conftest.$ac_ext <<_LT_EOF public class foo { private int a; public void bar (void) { a = 0; } }; _LT_EOF ], [$1], [GO], [cat > conftest.$ac_ext <<_LT_EOF package foo func foo() { } _LT_EOF ]) _lt_libdeps_save_CFLAGS=$CFLAGS case "$CC $CFLAGS " in #( *\ -flto*\ *) CFLAGS="$CFLAGS -fno-lto" ;; *\ -fwhopr*\ *) CFLAGS="$CFLAGS -fno-whopr" ;; *\ -fuse-linker-plugin*\ *) CFLAGS="$CFLAGS -fno-use-linker-plugin" ;; esac dnl Parse the compiler output and extract the necessary dnl objects, libraries and library flags. if AC_TRY_EVAL(ac_compile); then # Parse the compiler output and extract the necessary # objects, libraries and library flags. # Sentinel used to keep track of whether or not we are before # the conftest object file. pre_test_object_deps_done=no for p in `eval "$output_verbose_link_cmd"`; do case ${prev}${p} in -L* | -R* | -l*) # Some compilers place space between "-{L,R}" and the path. # Remove the space. if test $p = "-L" || test $p = "-R"; then prev=$p continue fi # Expand the sysroot to ease extracting the directories later. if test -z "$prev"; then case $p in -L*) func_stripname_cnf '-L' '' "$p"; prev=-L; p=$func_stripname_result ;; -R*) func_stripname_cnf '-R' '' "$p"; prev=-R; p=$func_stripname_result ;; -l*) func_stripname_cnf '-l' '' "$p"; prev=-l; p=$func_stripname_result ;; esac fi case $p in =*) func_stripname_cnf '=' '' "$p"; p=$lt_sysroot$func_stripname_result ;; esac if test "$pre_test_object_deps_done" = no; then case ${prev} in -L | -R) # Internal compiler library paths should come after those # provided the user. The postdeps already come after the # user supplied libs so there is no need to process them. if test -z "$_LT_TAGVAR(compiler_lib_search_path, $1)"; then _LT_TAGVAR(compiler_lib_search_path, $1)="${prev}${p}" else _LT_TAGVAR(compiler_lib_search_path, $1)="${_LT_TAGVAR(compiler_lib_search_path, $1)} ${prev}${p}" fi ;; # The "-l" case would never come before the object being # linked, so don't bother handling this case. esac else if test -z "$_LT_TAGVAR(postdeps, $1)"; then _LT_TAGVAR(postdeps, $1)="${prev}${p}" else _LT_TAGVAR(postdeps, $1)="${_LT_TAGVAR(postdeps, $1)} ${prev}${p}" fi fi prev= ;; *.lto.$objext) ;; # Ignore GCC LTO objects *.$objext) # This assumes that the test object file only shows up # once in the compiler output. if test "$p" = "conftest.$objext"; then pre_test_object_deps_done=yes continue fi if test "$pre_test_object_deps_done" = no; then if test -z "$_LT_TAGVAR(predep_objects, $1)"; then _LT_TAGVAR(predep_objects, $1)="$p" else _LT_TAGVAR(predep_objects, $1)="$_LT_TAGVAR(predep_objects, $1) $p" fi else if test -z "$_LT_TAGVAR(postdep_objects, $1)"; then _LT_TAGVAR(postdep_objects, $1)="$p" else _LT_TAGVAR(postdep_objects, $1)="$_LT_TAGVAR(postdep_objects, $1) $p" fi fi ;; *) ;; # Ignore the rest. esac done # Clean up. rm -f a.out a.exe else echo "libtool.m4: error: problem compiling $1 test program" fi $RM -f confest.$objext CFLAGS=$_lt_libdeps_save_CFLAGS # PORTME: override above test on systems where it is broken m4_if([$1], [CXX], [case $host_os in interix[[3-9]]*) # Interix 3.5 installs completely hosed .la files for C++, so rather than # hack all around it, let's just trust "g++" to DTRT. _LT_TAGVAR(predep_objects,$1)= _LT_TAGVAR(postdep_objects,$1)= _LT_TAGVAR(postdeps,$1)= ;; linux*) case `$CC -V 2>&1 | sed 5q` in *Sun\ C*) # Sun C++ 5.9 # The more standards-conforming stlport4 library is # incompatible with the Cstd library. Avoid specifying # it if it's in CXXFLAGS. Ignore libCrun as # -library=stlport4 depends on it. case " $CXX $CXXFLAGS " in *" -library=stlport4 "*) solaris_use_stlport4=yes ;; esac if test "$solaris_use_stlport4" != yes; then _LT_TAGVAR(postdeps,$1)='-library=Cstd -library=Crun' fi ;; esac ;; solaris*) case $cc_basename in CC* | sunCC*) # The more standards-conforming stlport4 library is # incompatible with the Cstd library. Avoid specifying # it if it's in CXXFLAGS. Ignore libCrun as # -library=stlport4 depends on it. case " $CXX $CXXFLAGS " in *" -library=stlport4 "*) solaris_use_stlport4=yes ;; esac # Adding this requires a known-good setup of shared libraries for # Sun compiler versions before 5.6, else PIC objects from an old # archive will be linked into the output, leading to subtle bugs. if test "$solaris_use_stlport4" != yes; then _LT_TAGVAR(postdeps,$1)='-library=Cstd -library=Crun' fi ;; esac ;; esac ]) case " $_LT_TAGVAR(postdeps, $1) " in *" -lc "*) _LT_TAGVAR(archive_cmds_need_lc, $1)=no ;; esac _LT_TAGVAR(compiler_lib_search_dirs, $1)= if test -n "${_LT_TAGVAR(compiler_lib_search_path, $1)}"; then _LT_TAGVAR(compiler_lib_search_dirs, $1)=`echo " ${_LT_TAGVAR(compiler_lib_search_path, $1)}" | ${SED} -e 's! -L! !g' -e 's!^ !!'` fi _LT_TAGDECL([], [compiler_lib_search_dirs], [1], [The directories searched by this compiler when creating a shared library]) _LT_TAGDECL([], [predep_objects], [1], [Dependencies to place before and after the objects being linked to create a shared library]) _LT_TAGDECL([], [postdep_objects], [1]) _LT_TAGDECL([], [predeps], [1]) _LT_TAGDECL([], [postdeps], [1]) _LT_TAGDECL([], [compiler_lib_search_path], [1], [The library search path used internally by the compiler when linking a shared library]) ])# _LT_SYS_HIDDEN_LIBDEPS # _LT_LANG_F77_CONFIG([TAG]) # -------------------------- # Ensure that the configuration variables for a Fortran 77 compiler are # suitably defined. These variables are subsequently used by _LT_CONFIG # to write the compiler configuration to `libtool'. m4_defun([_LT_LANG_F77_CONFIG], [AC_LANG_PUSH(Fortran 77) if test -z "$F77" || test "X$F77" = "Xno"; then _lt_disable_F77=yes fi _LT_TAGVAR(archive_cmds_need_lc, $1)=no _LT_TAGVAR(allow_undefined_flag, $1)= _LT_TAGVAR(always_export_symbols, $1)=no _LT_TAGVAR(archive_expsym_cmds, $1)= _LT_TAGVAR(export_dynamic_flag_spec, $1)= _LT_TAGVAR(hardcode_direct, $1)=no _LT_TAGVAR(hardcode_direct_absolute, $1)=no _LT_TAGVAR(hardcode_libdir_flag_spec, $1)= _LT_TAGVAR(hardcode_libdir_separator, $1)= _LT_TAGVAR(hardcode_minus_L, $1)=no _LT_TAGVAR(hardcode_automatic, $1)=no _LT_TAGVAR(inherit_rpath, $1)=no _LT_TAGVAR(module_cmds, $1)= _LT_TAGVAR(module_expsym_cmds, $1)= _LT_TAGVAR(link_all_deplibs, $1)=unknown _LT_TAGVAR(old_archive_cmds, $1)=$old_archive_cmds _LT_TAGVAR(reload_flag, $1)=$reload_flag _LT_TAGVAR(reload_cmds, $1)=$reload_cmds _LT_TAGVAR(no_undefined_flag, $1)= _LT_TAGVAR(whole_archive_flag_spec, $1)= _LT_TAGVAR(enable_shared_with_static_runtimes, $1)=no # Source file extension for f77 test sources. ac_ext=f # Object file extension for compiled f77 test sources. objext=o _LT_TAGVAR(objext, $1)=$objext # No sense in running all these tests if we already determined that # the F77 compiler isn't working. Some variables (like enable_shared) # are currently assumed to apply to all compilers on this platform, # and will be corrupted by setting them based on a non-working compiler. if test "$_lt_disable_F77" != yes; then # Code to be used in simple compile tests lt_simple_compile_test_code="\ subroutine t return end " # Code to be used in simple link tests lt_simple_link_test_code="\ program t end " # ltmain only uses $CC for tagged configurations so make sure $CC is set. _LT_TAG_COMPILER # save warnings/boilerplate of simple test code _LT_COMPILER_BOILERPLATE _LT_LINKER_BOILERPLATE # Allow CC to be a program name with arguments. lt_save_CC="$CC" lt_save_GCC=$GCC lt_save_CFLAGS=$CFLAGS CC=${F77-"f77"} CFLAGS=$FFLAGS compiler=$CC _LT_TAGVAR(compiler, $1)=$CC _LT_CC_BASENAME([$compiler]) GCC=$G77 if test -n "$compiler"; then AC_MSG_CHECKING([if libtool supports shared libraries]) AC_MSG_RESULT([$can_build_shared]) AC_MSG_CHECKING([whether to build shared libraries]) test "$can_build_shared" = "no" && enable_shared=no # On AIX, shared libraries and static libraries use the same namespace, and # are all built from PIC. case $host_os in aix3*) test "$enable_shared" = yes && enable_static=no if test -n "$RANLIB"; then archive_cmds="$archive_cmds~\$RANLIB \$lib" postinstall_cmds='$RANLIB $lib' fi ;; aix[[4-9]]*) if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then test "$enable_shared" = yes && enable_static=no fi ;; esac AC_MSG_RESULT([$enable_shared]) AC_MSG_CHECKING([whether to build static libraries]) # Make sure either enable_shared or enable_static is yes. test "$enable_shared" = yes || enable_static=yes AC_MSG_RESULT([$enable_static]) _LT_TAGVAR(GCC, $1)="$G77" _LT_TAGVAR(LD, $1)="$LD" ## CAVEAT EMPTOR: ## There is no encapsulation within the following macros, do not change ## the running order or otherwise move them around unless you know exactly ## what you are doing... _LT_COMPILER_PIC($1) _LT_COMPILER_C_O($1) _LT_COMPILER_FILE_LOCKS($1) _LT_LINKER_SHLIBS($1) _LT_SYS_DYNAMIC_LINKER($1) _LT_LINKER_HARDCODE_LIBPATH($1) _LT_CONFIG($1) fi # test -n "$compiler" GCC=$lt_save_GCC CC="$lt_save_CC" CFLAGS="$lt_save_CFLAGS" fi # test "$_lt_disable_F77" != yes AC_LANG_POP ])# _LT_LANG_F77_CONFIG # _LT_LANG_FC_CONFIG([TAG]) # ------------------------- # Ensure that the configuration variables for a Fortran compiler are # suitably defined. These variables are subsequently used by _LT_CONFIG # to write the compiler configuration to `libtool'. m4_defun([_LT_LANG_FC_CONFIG], [AC_LANG_PUSH(Fortran) if test -z "$FC" || test "X$FC" = "Xno"; then _lt_disable_FC=yes fi _LT_TAGVAR(archive_cmds_need_lc, $1)=no _LT_TAGVAR(allow_undefined_flag, $1)= _LT_TAGVAR(always_export_symbols, $1)=no _LT_TAGVAR(archive_expsym_cmds, $1)= _LT_TAGVAR(export_dynamic_flag_spec, $1)= _LT_TAGVAR(hardcode_direct, $1)=no _LT_TAGVAR(hardcode_direct_absolute, $1)=no _LT_TAGVAR(hardcode_libdir_flag_spec, $1)= _LT_TAGVAR(hardcode_libdir_separator, $1)= _LT_TAGVAR(hardcode_minus_L, $1)=no _LT_TAGVAR(hardcode_automatic, $1)=no _LT_TAGVAR(inherit_rpath, $1)=no _LT_TAGVAR(module_cmds, $1)= _LT_TAGVAR(module_expsym_cmds, $1)= _LT_TAGVAR(link_all_deplibs, $1)=unknown _LT_TAGVAR(old_archive_cmds, $1)=$old_archive_cmds _LT_TAGVAR(reload_flag, $1)=$reload_flag _LT_TAGVAR(reload_cmds, $1)=$reload_cmds _LT_TAGVAR(no_undefined_flag, $1)= _LT_TAGVAR(whole_archive_flag_spec, $1)= _LT_TAGVAR(enable_shared_with_static_runtimes, $1)=no # Source file extension for fc test sources. ac_ext=${ac_fc_srcext-f} # Object file extension for compiled fc test sources. objext=o _LT_TAGVAR(objext, $1)=$objext # No sense in running all these tests if we already determined that # the FC compiler isn't working. Some variables (like enable_shared) # are currently assumed to apply to all compilers on this platform, # and will be corrupted by setting them based on a non-working compiler. if test "$_lt_disable_FC" != yes; then # Code to be used in simple compile tests lt_simple_compile_test_code="\ subroutine t return end " # Code to be used in simple link tests lt_simple_link_test_code="\ program t end " # ltmain only uses $CC for tagged configurations so make sure $CC is set. _LT_TAG_COMPILER # save warnings/boilerplate of simple test code _LT_COMPILER_BOILERPLATE _LT_LINKER_BOILERPLATE # Allow CC to be a program name with arguments. lt_save_CC="$CC" lt_save_GCC=$GCC lt_save_CFLAGS=$CFLAGS CC=${FC-"f95"} CFLAGS=$FCFLAGS compiler=$CC GCC=$ac_cv_fc_compiler_gnu _LT_TAGVAR(compiler, $1)=$CC _LT_CC_BASENAME([$compiler]) if test -n "$compiler"; then AC_MSG_CHECKING([if libtool supports shared libraries]) AC_MSG_RESULT([$can_build_shared]) AC_MSG_CHECKING([whether to build shared libraries]) test "$can_build_shared" = "no" && enable_shared=no # On AIX, shared libraries and static libraries use the same namespace, and # are all built from PIC. case $host_os in aix3*) test "$enable_shared" = yes && enable_static=no if test -n "$RANLIB"; then archive_cmds="$archive_cmds~\$RANLIB \$lib" postinstall_cmds='$RANLIB $lib' fi ;; aix[[4-9]]*) if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then test "$enable_shared" = yes && enable_static=no fi ;; esac AC_MSG_RESULT([$enable_shared]) AC_MSG_CHECKING([whether to build static libraries]) # Make sure either enable_shared or enable_static is yes. test "$enable_shared" = yes || enable_static=yes AC_MSG_RESULT([$enable_static]) _LT_TAGVAR(GCC, $1)="$ac_cv_fc_compiler_gnu" _LT_TAGVAR(LD, $1)="$LD" ## CAVEAT EMPTOR: ## There is no encapsulation within the following macros, do not change ## the running order or otherwise move them around unless you know exactly ## what you are doing... _LT_SYS_HIDDEN_LIBDEPS($1) _LT_COMPILER_PIC($1) _LT_COMPILER_C_O($1) _LT_COMPILER_FILE_LOCKS($1) _LT_LINKER_SHLIBS($1) _LT_SYS_DYNAMIC_LINKER($1) _LT_LINKER_HARDCODE_LIBPATH($1) _LT_CONFIG($1) fi # test -n "$compiler" GCC=$lt_save_GCC CC=$lt_save_CC CFLAGS=$lt_save_CFLAGS fi # test "$_lt_disable_FC" != yes AC_LANG_POP ])# _LT_LANG_FC_CONFIG # _LT_LANG_GCJ_CONFIG([TAG]) # -------------------------- # Ensure that the configuration variables for the GNU Java Compiler compiler # are suitably defined. These variables are subsequently used by _LT_CONFIG # to write the compiler configuration to `libtool'. m4_defun([_LT_LANG_GCJ_CONFIG], [AC_REQUIRE([LT_PROG_GCJ])dnl AC_LANG_SAVE # Source file extension for Java test sources. ac_ext=java # Object file extension for compiled Java test sources. objext=o _LT_TAGVAR(objext, $1)=$objext # Code to be used in simple compile tests lt_simple_compile_test_code="class foo {}" # Code to be used in simple link tests lt_simple_link_test_code='public class conftest { public static void main(String[[]] argv) {}; }' # ltmain only uses $CC for tagged configurations so make sure $CC is set. _LT_TAG_COMPILER # save warnings/boilerplate of simple test code _LT_COMPILER_BOILERPLATE _LT_LINKER_BOILERPLATE # Allow CC to be a program name with arguments. lt_save_CC=$CC lt_save_CFLAGS=$CFLAGS lt_save_GCC=$GCC GCC=yes CC=${GCJ-"gcj"} CFLAGS=$GCJFLAGS compiler=$CC _LT_TAGVAR(compiler, $1)=$CC _LT_TAGVAR(LD, $1)="$LD" _LT_CC_BASENAME([$compiler]) # GCJ did not exist at the time GCC didn't implicitly link libc in. _LT_TAGVAR(archive_cmds_need_lc, $1)=no _LT_TAGVAR(old_archive_cmds, $1)=$old_archive_cmds _LT_TAGVAR(reload_flag, $1)=$reload_flag _LT_TAGVAR(reload_cmds, $1)=$reload_cmds if test -n "$compiler"; then _LT_COMPILER_NO_RTTI($1) _LT_COMPILER_PIC($1) _LT_COMPILER_C_O($1) _LT_COMPILER_FILE_LOCKS($1) _LT_LINKER_SHLIBS($1) _LT_LINKER_HARDCODE_LIBPATH($1) _LT_CONFIG($1) fi AC_LANG_RESTORE GCC=$lt_save_GCC CC=$lt_save_CC CFLAGS=$lt_save_CFLAGS ])# _LT_LANG_GCJ_CONFIG # _LT_LANG_GO_CONFIG([TAG]) # -------------------------- # Ensure that the configuration variables for the GNU Go compiler # are suitably defined. These variables are subsequently used by _LT_CONFIG # to write the compiler configuration to `libtool'. m4_defun([_LT_LANG_GO_CONFIG], [AC_REQUIRE([LT_PROG_GO])dnl AC_LANG_SAVE # Source file extension for Go test sources. ac_ext=go # Object file extension for compiled Go test sources. objext=o _LT_TAGVAR(objext, $1)=$objext # Code to be used in simple compile tests lt_simple_compile_test_code="package main; func main() { }" # Code to be used in simple link tests lt_simple_link_test_code='package main; func main() { }' # ltmain only uses $CC for tagged configurations so make sure $CC is set. _LT_TAG_COMPILER # save warnings/boilerplate of simple test code _LT_COMPILER_BOILERPLATE _LT_LINKER_BOILERPLATE # Allow CC to be a program name with arguments. lt_save_CC=$CC lt_save_CFLAGS=$CFLAGS lt_save_GCC=$GCC GCC=yes CC=${GOC-"gccgo"} CFLAGS=$GOFLAGS compiler=$CC _LT_TAGVAR(compiler, $1)=$CC _LT_TAGVAR(LD, $1)="$LD" _LT_CC_BASENAME([$compiler]) # Go did not exist at the time GCC didn't implicitly link libc in. _LT_TAGVAR(archive_cmds_need_lc, $1)=no _LT_TAGVAR(old_archive_cmds, $1)=$old_archive_cmds _LT_TAGVAR(reload_flag, $1)=$reload_flag _LT_TAGVAR(reload_cmds, $1)=$reload_cmds if test -n "$compiler"; then _LT_COMPILER_NO_RTTI($1) _LT_COMPILER_PIC($1) _LT_COMPILER_C_O($1) _LT_COMPILER_FILE_LOCKS($1) _LT_LINKER_SHLIBS($1) _LT_LINKER_HARDCODE_LIBPATH($1) _LT_CONFIG($1) fi AC_LANG_RESTORE GCC=$lt_save_GCC CC=$lt_save_CC CFLAGS=$lt_save_CFLAGS ])# _LT_LANG_GO_CONFIG # _LT_LANG_RC_CONFIG([TAG]) # ------------------------- # Ensure that the configuration variables for the Windows resource compiler # are suitably defined. These variables are subsequently used by _LT_CONFIG # to write the compiler configuration to `libtool'. m4_defun([_LT_LANG_RC_CONFIG], [AC_REQUIRE([LT_PROG_RC])dnl AC_LANG_SAVE # Source file extension for RC test sources. ac_ext=rc # Object file extension for compiled RC test sources. objext=o _LT_TAGVAR(objext, $1)=$objext # Code to be used in simple compile tests lt_simple_compile_test_code='sample MENU { MENUITEM "&Soup", 100, CHECKED }' # Code to be used in simple link tests lt_simple_link_test_code="$lt_simple_compile_test_code" # ltmain only uses $CC for tagged configurations so make sure $CC is set. _LT_TAG_COMPILER # save warnings/boilerplate of simple test code _LT_COMPILER_BOILERPLATE _LT_LINKER_BOILERPLATE # Allow CC to be a program name with arguments. lt_save_CC="$CC" lt_save_CFLAGS=$CFLAGS lt_save_GCC=$GCC GCC= CC=${RC-"windres"} CFLAGS= compiler=$CC _LT_TAGVAR(compiler, $1)=$CC _LT_CC_BASENAME([$compiler]) _LT_TAGVAR(lt_cv_prog_compiler_c_o, $1)=yes if test -n "$compiler"; then : _LT_CONFIG($1) fi GCC=$lt_save_GCC AC_LANG_RESTORE CC=$lt_save_CC CFLAGS=$lt_save_CFLAGS ])# _LT_LANG_RC_CONFIG # LT_PROG_GCJ # ----------- AC_DEFUN([LT_PROG_GCJ], [m4_ifdef([AC_PROG_GCJ], [AC_PROG_GCJ], [m4_ifdef([A][M_PROG_GCJ], [A][M_PROG_GCJ], [AC_CHECK_TOOL(GCJ, gcj,) test "x${GCJFLAGS+set}" = xset || GCJFLAGS="-g -O2" AC_SUBST(GCJFLAGS)])])[]dnl ]) # Old name: AU_ALIAS([LT_AC_PROG_GCJ], [LT_PROG_GCJ]) dnl aclocal-1.4 backwards compatibility: dnl AC_DEFUN([LT_AC_PROG_GCJ], []) # LT_PROG_GO # ---------- AC_DEFUN([LT_PROG_GO], [AC_CHECK_TOOL(GOC, gccgo,) ]) # LT_PROG_RC # ---------- AC_DEFUN([LT_PROG_RC], [AC_CHECK_TOOL(RC, windres,) ]) # Old name: AU_ALIAS([LT_AC_PROG_RC], [LT_PROG_RC]) dnl aclocal-1.4 backwards compatibility: dnl AC_DEFUN([LT_AC_PROG_RC], []) # _LT_DECL_EGREP # -------------- # If we don't have a new enough Autoconf to choose the best grep # available, choose the one first in the user's PATH. m4_defun([_LT_DECL_EGREP], [AC_REQUIRE([AC_PROG_EGREP])dnl AC_REQUIRE([AC_PROG_FGREP])dnl test -z "$GREP" && GREP=grep _LT_DECL([], [GREP], [1], [A grep program that handles long lines]) _LT_DECL([], [EGREP], [1], [An ERE matcher]) _LT_DECL([], [FGREP], [1], [A literal string matcher]) dnl Non-bleeding-edge autoconf doesn't subst GREP, so do it here too AC_SUBST([GREP]) ]) # _LT_DECL_OBJDUMP # -------------- # If we don't have a new enough Autoconf to choose the best objdump # available, choose the one first in the user's PATH. m4_defun([_LT_DECL_OBJDUMP], [AC_CHECK_TOOL(OBJDUMP, objdump, false) test -z "$OBJDUMP" && OBJDUMP=objdump _LT_DECL([], [OBJDUMP], [1], [An object symbol dumper]) AC_SUBST([OBJDUMP]) ]) # _LT_DECL_DLLTOOL # ---------------- # Ensure DLLTOOL variable is set. m4_defun([_LT_DECL_DLLTOOL], [AC_CHECK_TOOL(DLLTOOL, dlltool, false) test -z "$DLLTOOL" && DLLTOOL=dlltool _LT_DECL([], [DLLTOOL], [1], [DLL creation program]) AC_SUBST([DLLTOOL]) ]) # _LT_DECL_SED # ------------ # Check for a fully-functional sed program, that truncates # as few characters as possible. Prefer GNU sed if found. m4_defun([_LT_DECL_SED], [AC_PROG_SED test -z "$SED" && SED=sed Xsed="$SED -e 1s/^X//" _LT_DECL([], [SED], [1], [A sed program that does not truncate output]) _LT_DECL([], [Xsed], ["\$SED -e 1s/^X//"], [Sed that helps us avoid accidentally triggering echo(1) options like -n]) ])# _LT_DECL_SED m4_ifndef([AC_PROG_SED], [ # NOTE: This macro has been submitted for inclusion into # # GNU Autoconf as AC_PROG_SED. When it is available in # # a released version of Autoconf we should remove this # # macro and use it instead. # m4_defun([AC_PROG_SED], [AC_MSG_CHECKING([for a sed that does not truncate output]) AC_CACHE_VAL(lt_cv_path_SED, [# Loop through the user's path and test for sed and gsed. # Then use that list of sed's as ones to test for truncation. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for lt_ac_prog in sed gsed; do for ac_exec_ext in '' $ac_executable_extensions; do if $as_executable_p "$as_dir/$lt_ac_prog$ac_exec_ext"; then lt_ac_sed_list="$lt_ac_sed_list $as_dir/$lt_ac_prog$ac_exec_ext" fi done done done IFS=$as_save_IFS lt_ac_max=0 lt_ac_count=0 # Add /usr/xpg4/bin/sed as it is typically found on Solaris # along with /bin/sed that truncates output. for lt_ac_sed in $lt_ac_sed_list /usr/xpg4/bin/sed; do test ! -f $lt_ac_sed && continue cat /dev/null > conftest.in lt_ac_count=0 echo $ECHO_N "0123456789$ECHO_C" >conftest.in # Check for GNU sed and select it if it is found. if "$lt_ac_sed" --version 2>&1 < /dev/null | grep 'GNU' > /dev/null; then lt_cv_path_SED=$lt_ac_sed break fi while true; do cat conftest.in conftest.in >conftest.tmp mv conftest.tmp conftest.in cp conftest.in conftest.nl echo >>conftest.nl $lt_ac_sed -e 's/a$//' < conftest.nl >conftest.out || break cmp -s conftest.out conftest.nl || break # 10000 chars as input seems more than enough test $lt_ac_count -gt 10 && break lt_ac_count=`expr $lt_ac_count + 1` if test $lt_ac_count -gt $lt_ac_max; then lt_ac_max=$lt_ac_count lt_cv_path_SED=$lt_ac_sed fi done done ]) SED=$lt_cv_path_SED AC_SUBST([SED]) AC_MSG_RESULT([$SED]) ])#AC_PROG_SED ])#m4_ifndef # Old name: AU_ALIAS([LT_AC_PROG_SED], [AC_PROG_SED]) dnl aclocal-1.4 backwards compatibility: dnl AC_DEFUN([LT_AC_PROG_SED], []) # _LT_CHECK_SHELL_FEATURES # ------------------------ # Find out whether the shell is Bourne or XSI compatible, # or has some other useful features. m4_defun([_LT_CHECK_SHELL_FEATURES], [AC_MSG_CHECKING([whether the shell understands some XSI constructs]) # Try some XSI features xsi_shell=no ( _lt_dummy="a/b/c" test "${_lt_dummy##*/},${_lt_dummy%/*},${_lt_dummy#??}"${_lt_dummy%"$_lt_dummy"}, \ = c,a/b,b/c, \ && eval 'test $(( 1 + 1 )) -eq 2 \ && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \ && xsi_shell=yes AC_MSG_RESULT([$xsi_shell]) _LT_CONFIG_LIBTOOL_INIT([xsi_shell='$xsi_shell']) AC_MSG_CHECKING([whether the shell understands "+="]) lt_shell_append=no ( foo=bar; set foo baz; eval "$[1]+=\$[2]" && test "$foo" = barbaz ) \ >/dev/null 2>&1 \ && lt_shell_append=yes AC_MSG_RESULT([$lt_shell_append]) _LT_CONFIG_LIBTOOL_INIT([lt_shell_append='$lt_shell_append']) if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then lt_unset=unset else lt_unset=false fi _LT_DECL([], [lt_unset], [0], [whether the shell understands "unset"])dnl # test EBCDIC or ASCII case `echo X|tr X '\101'` in A) # ASCII based system # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr lt_SP2NL='tr \040 \012' lt_NL2SP='tr \015\012 \040\040' ;; *) # EBCDIC based system lt_SP2NL='tr \100 \n' lt_NL2SP='tr \r\n \100\100' ;; esac _LT_DECL([SP2NL], [lt_SP2NL], [1], [turn spaces into newlines])dnl _LT_DECL([NL2SP], [lt_NL2SP], [1], [turn newlines into spaces])dnl ])# _LT_CHECK_SHELL_FEATURES # _LT_PROG_FUNCTION_REPLACE (FUNCNAME, REPLACEMENT-BODY) # ------------------------------------------------------ # In `$cfgfile', look for function FUNCNAME delimited by `^FUNCNAME ()$' and # '^} FUNCNAME ', and replace its body with REPLACEMENT-BODY. m4_defun([_LT_PROG_FUNCTION_REPLACE], [dnl { sed -e '/^$1 ()$/,/^} # $1 /c\ $1 ()\ {\ m4_bpatsubsts([$2], [$], [\\], [^\([ ]\)], [\\\1]) } # Extended-shell $1 implementation' "$cfgfile" > $cfgfile.tmp \ && mv -f "$cfgfile.tmp" "$cfgfile" \ || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp") test 0 -eq $? || _lt_function_replace_fail=: ]) # _LT_PROG_REPLACE_SHELLFNS # ------------------------- # Replace existing portable implementations of several shell functions with # equivalent extended shell implementations where those features are available.. m4_defun([_LT_PROG_REPLACE_SHELLFNS], [if test x"$xsi_shell" = xyes; then _LT_PROG_FUNCTION_REPLACE([func_dirname], [dnl case ${1} in */*) func_dirname_result="${1%/*}${2}" ;; * ) func_dirname_result="${3}" ;; esac]) _LT_PROG_FUNCTION_REPLACE([func_basename], [dnl func_basename_result="${1##*/}"]) _LT_PROG_FUNCTION_REPLACE([func_dirname_and_basename], [dnl case ${1} in */*) func_dirname_result="${1%/*}${2}" ;; * ) func_dirname_result="${3}" ;; esac func_basename_result="${1##*/}"]) _LT_PROG_FUNCTION_REPLACE([func_stripname], [dnl # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are # positional parameters, so assign one to ordinary parameter first. func_stripname_result=${3} func_stripname_result=${func_stripname_result#"${1}"} func_stripname_result=${func_stripname_result%"${2}"}]) _LT_PROG_FUNCTION_REPLACE([func_split_long_opt], [dnl func_split_long_opt_name=${1%%=*} func_split_long_opt_arg=${1#*=}]) _LT_PROG_FUNCTION_REPLACE([func_split_short_opt], [dnl func_split_short_opt_arg=${1#??} func_split_short_opt_name=${1%"$func_split_short_opt_arg"}]) _LT_PROG_FUNCTION_REPLACE([func_lo2o], [dnl case ${1} in *.lo) func_lo2o_result=${1%.lo}.${objext} ;; *) func_lo2o_result=${1} ;; esac]) _LT_PROG_FUNCTION_REPLACE([func_xform], [ func_xform_result=${1%.*}.lo]) _LT_PROG_FUNCTION_REPLACE([func_arith], [ func_arith_result=$(( $[*] ))]) _LT_PROG_FUNCTION_REPLACE([func_len], [ func_len_result=${#1}]) fi if test x"$lt_shell_append" = xyes; then _LT_PROG_FUNCTION_REPLACE([func_append], [ eval "${1}+=\\${2}"]) _LT_PROG_FUNCTION_REPLACE([func_append_quoted], [dnl func_quote_for_eval "${2}" dnl m4 expansion turns \\\\ into \\, and then the shell eval turns that into \ eval "${1}+=\\\\ \\$func_quote_for_eval_result"]) # Save a `func_append' function call where possible by direct use of '+=' sed -e 's%func_append \([[a-zA-Z_]]\{1,\}\) "%\1+="%g' $cfgfile > $cfgfile.tmp \ && mv -f "$cfgfile.tmp" "$cfgfile" \ || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp") test 0 -eq $? || _lt_function_replace_fail=: else # Save a `func_append' function call even when '+=' is not available sed -e 's%func_append \([[a-zA-Z_]]\{1,\}\) "%\1="$\1%g' $cfgfile > $cfgfile.tmp \ && mv -f "$cfgfile.tmp" "$cfgfile" \ || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp") test 0 -eq $? || _lt_function_replace_fail=: fi if test x"$_lt_function_replace_fail" = x":"; then AC_MSG_WARN([Unable to substitute extended shell functions in $ofile]) fi ]) # _LT_PATH_CONVERSION_FUNCTIONS # ----------------------------- # Determine which file name conversion functions should be used by # func_to_host_file (and, implicitly, by func_to_host_path). These are needed # for certain cross-compile configurations and native mingw. m4_defun([_LT_PATH_CONVERSION_FUNCTIONS], [AC_REQUIRE([AC_CANONICAL_HOST])dnl AC_REQUIRE([AC_CANONICAL_BUILD])dnl AC_MSG_CHECKING([how to convert $build file names to $host format]) AC_CACHE_VAL(lt_cv_to_host_file_cmd, [case $host in *-*-mingw* ) case $build in *-*-mingw* ) # actually msys lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32 ;; *-*-cygwin* ) lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32 ;; * ) # otherwise, assume *nix lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32 ;; esac ;; *-*-cygwin* ) case $build in *-*-mingw* ) # actually msys lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin ;; *-*-cygwin* ) lt_cv_to_host_file_cmd=func_convert_file_noop ;; * ) # otherwise, assume *nix lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin ;; esac ;; * ) # unhandled hosts (and "normal" native builds) lt_cv_to_host_file_cmd=func_convert_file_noop ;; esac ]) to_host_file_cmd=$lt_cv_to_host_file_cmd AC_MSG_RESULT([$lt_cv_to_host_file_cmd]) _LT_DECL([to_host_file_cmd], [lt_cv_to_host_file_cmd], [0], [convert $build file names to $host format])dnl AC_MSG_CHECKING([how to convert $build file names to toolchain format]) AC_CACHE_VAL(lt_cv_to_tool_file_cmd, [#assume ordinary cross tools, or native build. lt_cv_to_tool_file_cmd=func_convert_file_noop case $host in *-*-mingw* ) case $build in *-*-mingw* ) # actually msys lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32 ;; esac ;; esac ]) to_tool_file_cmd=$lt_cv_to_tool_file_cmd AC_MSG_RESULT([$lt_cv_to_tool_file_cmd]) _LT_DECL([to_tool_file_cmd], [lt_cv_to_tool_file_cmd], [0], [convert $build files to toolchain format])dnl ])# _LT_PATH_CONVERSION_FUNCTIONS # Helper functions for option handling. -*- Autoconf -*- # # Copyright (C) 2004, 2005, 2007, 2008, 2009 Free Software Foundation, # Inc. # Written by Gary V. Vaughan, 2004 # # This file is free software; the Free Software Foundation gives # unlimited permission to copy and/or distribute it, with or without # modifications, as long as this notice is preserved. # serial 7 ltoptions.m4 # This is to help aclocal find these macros, as it can't see m4_define. AC_DEFUN([LTOPTIONS_VERSION], [m4_if([1])]) # _LT_MANGLE_OPTION(MACRO-NAME, OPTION-NAME) # ------------------------------------------ m4_define([_LT_MANGLE_OPTION], [[_LT_OPTION_]m4_bpatsubst($1__$2, [[^a-zA-Z0-9_]], [_])]) # _LT_SET_OPTION(MACRO-NAME, OPTION-NAME) # --------------------------------------- # Set option OPTION-NAME for macro MACRO-NAME, and if there is a # matching handler defined, dispatch to it. Other OPTION-NAMEs are # saved as a flag. m4_define([_LT_SET_OPTION], [m4_define(_LT_MANGLE_OPTION([$1], [$2]))dnl m4_ifdef(_LT_MANGLE_DEFUN([$1], [$2]), _LT_MANGLE_DEFUN([$1], [$2]), [m4_warning([Unknown $1 option `$2'])])[]dnl ]) # _LT_IF_OPTION(MACRO-NAME, OPTION-NAME, IF-SET, [IF-NOT-SET]) # ------------------------------------------------------------ # Execute IF-SET if OPTION is set, IF-NOT-SET otherwise. m4_define([_LT_IF_OPTION], [m4_ifdef(_LT_MANGLE_OPTION([$1], [$2]), [$3], [$4])]) # _LT_UNLESS_OPTIONS(MACRO-NAME, OPTION-LIST, IF-NOT-SET) # ------------------------------------------------------- # Execute IF-NOT-SET unless all options in OPTION-LIST for MACRO-NAME # are set. m4_define([_LT_UNLESS_OPTIONS], [m4_foreach([_LT_Option], m4_split(m4_normalize([$2])), [m4_ifdef(_LT_MANGLE_OPTION([$1], _LT_Option), [m4_define([$0_found])])])[]dnl m4_ifdef([$0_found], [m4_undefine([$0_found])], [$3 ])[]dnl ]) # _LT_SET_OPTIONS(MACRO-NAME, OPTION-LIST) # ---------------------------------------- # OPTION-LIST is a space-separated list of Libtool options associated # with MACRO-NAME. If any OPTION has a matching handler declared with # LT_OPTION_DEFINE, dispatch to that macro; otherwise complain about # the unknown option and exit. m4_defun([_LT_SET_OPTIONS], [# Set options m4_foreach([_LT_Option], m4_split(m4_normalize([$2])), [_LT_SET_OPTION([$1], _LT_Option)]) m4_if([$1],[LT_INIT],[ dnl dnl Simply set some default values (i.e off) if boolean options were not dnl specified: _LT_UNLESS_OPTIONS([LT_INIT], [dlopen], [enable_dlopen=no ]) _LT_UNLESS_OPTIONS([LT_INIT], [win32-dll], [enable_win32_dll=no ]) dnl dnl If no reference was made to various pairs of opposing options, then dnl we run the default mode handler for the pair. For example, if neither dnl `shared' nor `disable-shared' was passed, we enable building of shared dnl archives by default: _LT_UNLESS_OPTIONS([LT_INIT], [shared disable-shared], [_LT_ENABLE_SHARED]) _LT_UNLESS_OPTIONS([LT_INIT], [static disable-static], [_LT_ENABLE_STATIC]) _LT_UNLESS_OPTIONS([LT_INIT], [pic-only no-pic], [_LT_WITH_PIC]) _LT_UNLESS_OPTIONS([LT_INIT], [fast-install disable-fast-install], [_LT_ENABLE_FAST_INSTALL]) ]) ])# _LT_SET_OPTIONS # _LT_MANGLE_DEFUN(MACRO-NAME, OPTION-NAME) # ----------------------------------------- m4_define([_LT_MANGLE_DEFUN], [[_LT_OPTION_DEFUN_]m4_bpatsubst(m4_toupper([$1__$2]), [[^A-Z0-9_]], [_])]) # LT_OPTION_DEFINE(MACRO-NAME, OPTION-NAME, CODE) # ----------------------------------------------- m4_define([LT_OPTION_DEFINE], [m4_define(_LT_MANGLE_DEFUN([$1], [$2]), [$3])[]dnl ])# LT_OPTION_DEFINE # dlopen # ------ LT_OPTION_DEFINE([LT_INIT], [dlopen], [enable_dlopen=yes ]) AU_DEFUN([AC_LIBTOOL_DLOPEN], [_LT_SET_OPTION([LT_INIT], [dlopen]) AC_DIAGNOSE([obsolete], [$0: Remove this warning and the call to _LT_SET_OPTION when you put the `dlopen' option into LT_INIT's first parameter.]) ]) dnl aclocal-1.4 backwards compatibility: dnl AC_DEFUN([AC_LIBTOOL_DLOPEN], []) # win32-dll # --------- # Declare package support for building win32 dll's. LT_OPTION_DEFINE([LT_INIT], [win32-dll], [enable_win32_dll=yes case $host in *-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-cegcc*) AC_CHECK_TOOL(AS, as, false) AC_CHECK_TOOL(DLLTOOL, dlltool, false) AC_CHECK_TOOL(OBJDUMP, objdump, false) ;; esac test -z "$AS" && AS=as _LT_DECL([], [AS], [1], [Assembler program])dnl test -z "$DLLTOOL" && DLLTOOL=dlltool _LT_DECL([], [DLLTOOL], [1], [DLL creation program])dnl test -z "$OBJDUMP" && OBJDUMP=objdump _LT_DECL([], [OBJDUMP], [1], [Object dumper program])dnl ])# win32-dll AU_DEFUN([AC_LIBTOOL_WIN32_DLL], [AC_REQUIRE([AC_CANONICAL_HOST])dnl _LT_SET_OPTION([LT_INIT], [win32-dll]) AC_DIAGNOSE([obsolete], [$0: Remove this warning and the call to _LT_SET_OPTION when you put the `win32-dll' option into LT_INIT's first parameter.]) ]) dnl aclocal-1.4 backwards compatibility: dnl AC_DEFUN([AC_LIBTOOL_WIN32_DLL], []) # _LT_ENABLE_SHARED([DEFAULT]) # ---------------------------- # implement the --enable-shared flag, and supports the `shared' and # `disable-shared' LT_INIT options. # DEFAULT is either `yes' or `no'. If omitted, it defaults to `yes'. m4_define([_LT_ENABLE_SHARED], [m4_define([_LT_ENABLE_SHARED_DEFAULT], [m4_if($1, no, no, yes)])dnl AC_ARG_ENABLE([shared], [AS_HELP_STRING([--enable-shared@<:@=PKGS@:>@], [build shared libraries @<:@default=]_LT_ENABLE_SHARED_DEFAULT[@:>@])], [p=${PACKAGE-default} case $enableval in yes) enable_shared=yes ;; no) enable_shared=no ;; *) enable_shared=no # Look at the argument we got. We use all the common list separators. lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR," for pkg in $enableval; do IFS="$lt_save_ifs" if test "X$pkg" = "X$p"; then enable_shared=yes fi done IFS="$lt_save_ifs" ;; esac], [enable_shared=]_LT_ENABLE_SHARED_DEFAULT) _LT_DECL([build_libtool_libs], [enable_shared], [0], [Whether or not to build shared libraries]) ])# _LT_ENABLE_SHARED LT_OPTION_DEFINE([LT_INIT], [shared], [_LT_ENABLE_SHARED([yes])]) LT_OPTION_DEFINE([LT_INIT], [disable-shared], [_LT_ENABLE_SHARED([no])]) # Old names: AC_DEFUN([AC_ENABLE_SHARED], [_LT_SET_OPTION([LT_INIT], m4_if([$1], [no], [disable-])[shared]) ]) AC_DEFUN([AC_DISABLE_SHARED], [_LT_SET_OPTION([LT_INIT], [disable-shared]) ]) AU_DEFUN([AM_ENABLE_SHARED], [AC_ENABLE_SHARED($@)]) AU_DEFUN([AM_DISABLE_SHARED], [AC_DISABLE_SHARED($@)]) dnl aclocal-1.4 backwards compatibility: dnl AC_DEFUN([AM_ENABLE_SHARED], []) dnl AC_DEFUN([AM_DISABLE_SHARED], []) # _LT_ENABLE_STATIC([DEFAULT]) # ---------------------------- # implement the --enable-static flag, and support the `static' and # `disable-static' LT_INIT options. # DEFAULT is either `yes' or `no'. If omitted, it defaults to `yes'. m4_define([_LT_ENABLE_STATIC], [m4_define([_LT_ENABLE_STATIC_DEFAULT], [m4_if($1, no, no, yes)])dnl AC_ARG_ENABLE([static], [AS_HELP_STRING([--enable-static@<:@=PKGS@:>@], [build static libraries @<:@default=]_LT_ENABLE_STATIC_DEFAULT[@:>@])], [p=${PACKAGE-default} case $enableval in yes) enable_static=yes ;; no) enable_static=no ;; *) enable_static=no # Look at the argument we got. We use all the common list separators. lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR," for pkg in $enableval; do IFS="$lt_save_ifs" if test "X$pkg" = "X$p"; then enable_static=yes fi done IFS="$lt_save_ifs" ;; esac], [enable_static=]_LT_ENABLE_STATIC_DEFAULT) _LT_DECL([build_old_libs], [enable_static], [0], [Whether or not to build static libraries]) ])# _LT_ENABLE_STATIC LT_OPTION_DEFINE([LT_INIT], [static], [_LT_ENABLE_STATIC([yes])]) LT_OPTION_DEFINE([LT_INIT], [disable-static], [_LT_ENABLE_STATIC([no])]) # Old names: AC_DEFUN([AC_ENABLE_STATIC], [_LT_SET_OPTION([LT_INIT], m4_if([$1], [no], [disable-])[static]) ]) AC_DEFUN([AC_DISABLE_STATIC], [_LT_SET_OPTION([LT_INIT], [disable-static]) ]) AU_DEFUN([AM_ENABLE_STATIC], [AC_ENABLE_STATIC($@)]) AU_DEFUN([AM_DISABLE_STATIC], [AC_DISABLE_STATIC($@)]) dnl aclocal-1.4 backwards compatibility: dnl AC_DEFUN([AM_ENABLE_STATIC], []) dnl AC_DEFUN([AM_DISABLE_STATIC], []) # _LT_ENABLE_FAST_INSTALL([DEFAULT]) # ---------------------------------- # implement the --enable-fast-install flag, and support the `fast-install' # and `disable-fast-install' LT_INIT options. # DEFAULT is either `yes' or `no'. If omitted, it defaults to `yes'. m4_define([_LT_ENABLE_FAST_INSTALL], [m4_define([_LT_ENABLE_FAST_INSTALL_DEFAULT], [m4_if($1, no, no, yes)])dnl AC_ARG_ENABLE([fast-install], [AS_HELP_STRING([--enable-fast-install@<:@=PKGS@:>@], [optimize for fast installation @<:@default=]_LT_ENABLE_FAST_INSTALL_DEFAULT[@:>@])], [p=${PACKAGE-default} case $enableval in yes) enable_fast_install=yes ;; no) enable_fast_install=no ;; *) enable_fast_install=no # Look at the argument we got. We use all the common list separators. lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR," for pkg in $enableval; do IFS="$lt_save_ifs" if test "X$pkg" = "X$p"; then enable_fast_install=yes fi done IFS="$lt_save_ifs" ;; esac], [enable_fast_install=]_LT_ENABLE_FAST_INSTALL_DEFAULT) _LT_DECL([fast_install], [enable_fast_install], [0], [Whether or not to optimize for fast installation])dnl ])# _LT_ENABLE_FAST_INSTALL LT_OPTION_DEFINE([LT_INIT], [fast-install], [_LT_ENABLE_FAST_INSTALL([yes])]) LT_OPTION_DEFINE([LT_INIT], [disable-fast-install], [_LT_ENABLE_FAST_INSTALL([no])]) # Old names: AU_DEFUN([AC_ENABLE_FAST_INSTALL], [_LT_SET_OPTION([LT_INIT], m4_if([$1], [no], [disable-])[fast-install]) AC_DIAGNOSE([obsolete], [$0: Remove this warning and the call to _LT_SET_OPTION when you put the `fast-install' option into LT_INIT's first parameter.]) ]) AU_DEFUN([AC_DISABLE_FAST_INSTALL], [_LT_SET_OPTION([LT_INIT], [disable-fast-install]) AC_DIAGNOSE([obsolete], [$0: Remove this warning and the call to _LT_SET_OPTION when you put the `disable-fast-install' option into LT_INIT's first parameter.]) ]) dnl aclocal-1.4 backwards compatibility: dnl AC_DEFUN([AC_ENABLE_FAST_INSTALL], []) dnl AC_DEFUN([AM_DISABLE_FAST_INSTALL], []) # _LT_WITH_PIC([MODE]) # -------------------- # implement the --with-pic flag, and support the `pic-only' and `no-pic' # LT_INIT options. # MODE is either `yes' or `no'. If omitted, it defaults to `both'. m4_define([_LT_WITH_PIC], [AC_ARG_WITH([pic], [AS_HELP_STRING([--with-pic@<:@=PKGS@:>@], [try to use only PIC/non-PIC objects @<:@default=use both@:>@])], [lt_p=${PACKAGE-default} case $withval in yes|no) pic_mode=$withval ;; *) pic_mode=default # Look at the argument we got. We use all the common list separators. lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR," for lt_pkg in $withval; do IFS="$lt_save_ifs" if test "X$lt_pkg" = "X$lt_p"; then pic_mode=yes fi done IFS="$lt_save_ifs" ;; esac], [pic_mode=default]) test -z "$pic_mode" && pic_mode=m4_default([$1], [default]) _LT_DECL([], [pic_mode], [0], [What type of objects to build])dnl ])# _LT_WITH_PIC LT_OPTION_DEFINE([LT_INIT], [pic-only], [_LT_WITH_PIC([yes])]) LT_OPTION_DEFINE([LT_INIT], [no-pic], [_LT_WITH_PIC([no])]) # Old name: AU_DEFUN([AC_LIBTOOL_PICMODE], [_LT_SET_OPTION([LT_INIT], [pic-only]) AC_DIAGNOSE([obsolete], [$0: Remove this warning and the call to _LT_SET_OPTION when you put the `pic-only' option into LT_INIT's first parameter.]) ]) dnl aclocal-1.4 backwards compatibility: dnl AC_DEFUN([AC_LIBTOOL_PICMODE], []) m4_define([_LTDL_MODE], []) LT_OPTION_DEFINE([LTDL_INIT], [nonrecursive], [m4_define([_LTDL_MODE], [nonrecursive])]) LT_OPTION_DEFINE([LTDL_INIT], [recursive], [m4_define([_LTDL_MODE], [recursive])]) LT_OPTION_DEFINE([LTDL_INIT], [subproject], [m4_define([_LTDL_MODE], [subproject])]) m4_define([_LTDL_TYPE], []) LT_OPTION_DEFINE([LTDL_INIT], [installable], [m4_define([_LTDL_TYPE], [installable])]) LT_OPTION_DEFINE([LTDL_INIT], [convenience], [m4_define([_LTDL_TYPE], [convenience])]) # ltsugar.m4 -- libtool m4 base layer. -*-Autoconf-*- # # Copyright (C) 2004, 2005, 2007, 2008 Free Software Foundation, Inc. # Written by Gary V. Vaughan, 2004 # # This file is free software; the Free Software Foundation gives # unlimited permission to copy and/or distribute it, with or without # modifications, as long as this notice is preserved. # serial 6 ltsugar.m4 # This is to help aclocal find these macros, as it can't see m4_define. AC_DEFUN([LTSUGAR_VERSION], [m4_if([0.1])]) # lt_join(SEP, ARG1, [ARG2...]) # ----------------------------- # Produce ARG1SEPARG2...SEPARGn, omitting [] arguments and their # associated separator. # Needed until we can rely on m4_join from Autoconf 2.62, since all earlier # versions in m4sugar had bugs. m4_define([lt_join], [m4_if([$#], [1], [], [$#], [2], [[$2]], [m4_if([$2], [], [], [[$2]_])$0([$1], m4_shift(m4_shift($@)))])]) m4_define([_lt_join], [m4_if([$#$2], [2], [], [m4_if([$2], [], [], [[$1$2]])$0([$1], m4_shift(m4_shift($@)))])]) # lt_car(LIST) # lt_cdr(LIST) # ------------ # Manipulate m4 lists. # These macros are necessary as long as will still need to support # Autoconf-2.59 which quotes differently. m4_define([lt_car], [[$1]]) m4_define([lt_cdr], [m4_if([$#], 0, [m4_fatal([$0: cannot be called without arguments])], [$#], 1, [], [m4_dquote(m4_shift($@))])]) m4_define([lt_unquote], $1) # lt_append(MACRO-NAME, STRING, [SEPARATOR]) # ------------------------------------------ # Redefine MACRO-NAME to hold its former content plus `SEPARATOR'`STRING'. # Note that neither SEPARATOR nor STRING are expanded; they are appended # to MACRO-NAME as is (leaving the expansion for when MACRO-NAME is invoked). # No SEPARATOR is output if MACRO-NAME was previously undefined (different # than defined and empty). # # This macro is needed until we can rely on Autoconf 2.62, since earlier # versions of m4sugar mistakenly expanded SEPARATOR but not STRING. m4_define([lt_append], [m4_define([$1], m4_ifdef([$1], [m4_defn([$1])[$3]])[$2])]) # lt_combine(SEP, PREFIX-LIST, INFIX, SUFFIX1, [SUFFIX2...]) # ---------------------------------------------------------- # Produce a SEP delimited list of all paired combinations of elements of # PREFIX-LIST with SUFFIX1 through SUFFIXn. Each element of the list # has the form PREFIXmINFIXSUFFIXn. # Needed until we can rely on m4_combine added in Autoconf 2.62. m4_define([lt_combine], [m4_if(m4_eval([$# > 3]), [1], [m4_pushdef([_Lt_sep], [m4_define([_Lt_sep], m4_defn([lt_car]))])]]dnl [[m4_foreach([_Lt_prefix], [$2], [m4_foreach([_Lt_suffix], ]m4_dquote(m4_dquote(m4_shift(m4_shift(m4_shift($@)))))[, [_Lt_sep([$1])[]m4_defn([_Lt_prefix])[$3]m4_defn([_Lt_suffix])])])])]) # lt_if_append_uniq(MACRO-NAME, VARNAME, [SEPARATOR], [UNIQ], [NOT-UNIQ]) # ----------------------------------------------------------------------- # Iff MACRO-NAME does not yet contain VARNAME, then append it (delimited # by SEPARATOR if supplied) and expand UNIQ, else NOT-UNIQ. m4_define([lt_if_append_uniq], [m4_ifdef([$1], [m4_if(m4_index([$3]m4_defn([$1])[$3], [$3$2$3]), [-1], [lt_append([$1], [$2], [$3])$4], [$5])], [lt_append([$1], [$2], [$3])$4])]) # lt_dict_add(DICT, KEY, VALUE) # ----------------------------- m4_define([lt_dict_add], [m4_define([$1($2)], [$3])]) # lt_dict_add_subkey(DICT, KEY, SUBKEY, VALUE) # -------------------------------------------- m4_define([lt_dict_add_subkey], [m4_define([$1($2:$3)], [$4])]) # lt_dict_fetch(DICT, KEY, [SUBKEY]) # ---------------------------------- m4_define([lt_dict_fetch], [m4_ifval([$3], m4_ifdef([$1($2:$3)], [m4_defn([$1($2:$3)])]), m4_ifdef([$1($2)], [m4_defn([$1($2)])]))]) # lt_if_dict_fetch(DICT, KEY, [SUBKEY], VALUE, IF-TRUE, [IF-FALSE]) # ----------------------------------------------------------------- m4_define([lt_if_dict_fetch], [m4_if(lt_dict_fetch([$1], [$2], [$3]), [$4], [$5], [$6])]) # lt_dict_filter(DICT, [SUBKEY], VALUE, [SEPARATOR], KEY, [...]) # -------------------------------------------------------------- m4_define([lt_dict_filter], [m4_if([$5], [], [], [lt_join(m4_quote(m4_default([$4], [[, ]])), lt_unquote(m4_split(m4_normalize(m4_foreach(_Lt_key, lt_car([m4_shiftn(4, $@)]), [lt_if_dict_fetch([$1], _Lt_key, [$2], [$3], [_Lt_key ])])))))])[]dnl ]) # ltversion.m4 -- version numbers -*- Autoconf -*- # # Copyright (C) 2004 Free Software Foundation, Inc. # Written by Scott James Remnant, 2004 # # This file is free software; the Free Software Foundation gives # unlimited permission to copy and/or distribute it, with or without # modifications, as long as this notice is preserved. # @configure_input@ # serial 3337 ltversion.m4 # This file is part of GNU Libtool m4_define([LT_PACKAGE_VERSION], [2.4.2]) m4_define([LT_PACKAGE_REVISION], [1.3337]) AC_DEFUN([LTVERSION_VERSION], [macro_version='2.4.2' macro_revision='1.3337' _LT_DECL(, macro_version, 0, [Which release of libtool.m4 was used?]) _LT_DECL(, macro_revision, 0) ]) # lt~obsolete.m4 -- aclocal satisfying obsolete definitions. -*-Autoconf-*- # # Copyright (C) 2004, 2005, 2007, 2009 Free Software Foundation, Inc. # Written by Scott James Remnant, 2004. # # This file is free software; the Free Software Foundation gives # unlimited permission to copy and/or distribute it, with or without # modifications, as long as this notice is preserved. # serial 5 lt~obsolete.m4 # These exist entirely to fool aclocal when bootstrapping libtool. # # In the past libtool.m4 has provided macros via AC_DEFUN (or AU_DEFUN) # which have later been changed to m4_define as they aren't part of the # exported API, or moved to Autoconf or Automake where they belong. # # The trouble is, aclocal is a bit thick. It'll see the old AC_DEFUN # in /usr/share/aclocal/libtool.m4 and remember it, then when it sees us # using a macro with the same name in our local m4/libtool.m4 it'll # pull the old libtool.m4 in (it doesn't see our shiny new m4_define # and doesn't know about Autoconf macros at all.) # # So we provide this file, which has a silly filename so it's always # included after everything else. This provides aclocal with the # AC_DEFUNs it wants, but when m4 processes it, it doesn't do anything # because those macros already exist, or will be overwritten later. # We use AC_DEFUN over AU_DEFUN for compatibility with aclocal-1.6. # # Anytime we withdraw an AC_DEFUN or AU_DEFUN, remember to add it here. # Yes, that means every name once taken will need to remain here until # we give up compatibility with versions before 1.7, at which point # we need to keep only those names which we still refer to. # This is to help aclocal find these macros, as it can't see m4_define. AC_DEFUN([LTOBSOLETE_VERSION], [m4_if([1])]) m4_ifndef([AC_LIBTOOL_LINKER_OPTION], [AC_DEFUN([AC_LIBTOOL_LINKER_OPTION])]) m4_ifndef([AC_PROG_EGREP], [AC_DEFUN([AC_PROG_EGREP])]) m4_ifndef([_LT_AC_PROG_ECHO_BACKSLASH], [AC_DEFUN([_LT_AC_PROG_ECHO_BACKSLASH])]) m4_ifndef([_LT_AC_SHELL_INIT], [AC_DEFUN([_LT_AC_SHELL_INIT])]) m4_ifndef([_LT_AC_SYS_LIBPATH_AIX], [AC_DEFUN([_LT_AC_SYS_LIBPATH_AIX])]) m4_ifndef([_LT_PROG_LTMAIN], [AC_DEFUN([_LT_PROG_LTMAIN])]) m4_ifndef([_LT_AC_TAGVAR], [AC_DEFUN([_LT_AC_TAGVAR])]) m4_ifndef([AC_LTDL_ENABLE_INSTALL], [AC_DEFUN([AC_LTDL_ENABLE_INSTALL])]) m4_ifndef([AC_LTDL_PREOPEN], [AC_DEFUN([AC_LTDL_PREOPEN])]) m4_ifndef([_LT_AC_SYS_COMPILER], [AC_DEFUN([_LT_AC_SYS_COMPILER])]) m4_ifndef([_LT_AC_LOCK], [AC_DEFUN([_LT_AC_LOCK])]) m4_ifndef([AC_LIBTOOL_SYS_OLD_ARCHIVE], [AC_DEFUN([AC_LIBTOOL_SYS_OLD_ARCHIVE])]) m4_ifndef([_LT_AC_TRY_DLOPEN_SELF], [AC_DEFUN([_LT_AC_TRY_DLOPEN_SELF])]) m4_ifndef([AC_LIBTOOL_PROG_CC_C_O], [AC_DEFUN([AC_LIBTOOL_PROG_CC_C_O])]) m4_ifndef([AC_LIBTOOL_SYS_HARD_LINK_LOCKS], [AC_DEFUN([AC_LIBTOOL_SYS_HARD_LINK_LOCKS])]) m4_ifndef([AC_LIBTOOL_OBJDIR], [AC_DEFUN([AC_LIBTOOL_OBJDIR])]) m4_ifndef([AC_LTDL_OBJDIR], [AC_DEFUN([AC_LTDL_OBJDIR])]) m4_ifndef([AC_LIBTOOL_PROG_LD_HARDCODE_LIBPATH], [AC_DEFUN([AC_LIBTOOL_PROG_LD_HARDCODE_LIBPATH])]) m4_ifndef([AC_LIBTOOL_SYS_LIB_STRIP], [AC_DEFUN([AC_LIBTOOL_SYS_LIB_STRIP])]) m4_ifndef([AC_PATH_MAGIC], [AC_DEFUN([AC_PATH_MAGIC])]) m4_ifndef([AC_PROG_LD_GNU], [AC_DEFUN([AC_PROG_LD_GNU])]) m4_ifndef([AC_PROG_LD_RELOAD_FLAG], [AC_DEFUN([AC_PROG_LD_RELOAD_FLAG])]) m4_ifndef([AC_DEPLIBS_CHECK_METHOD], [AC_DEFUN([AC_DEPLIBS_CHECK_METHOD])]) m4_ifndef([AC_LIBTOOL_PROG_COMPILER_NO_RTTI], [AC_DEFUN([AC_LIBTOOL_PROG_COMPILER_NO_RTTI])]) m4_ifndef([AC_LIBTOOL_SYS_GLOBAL_SYMBOL_PIPE], [AC_DEFUN([AC_LIBTOOL_SYS_GLOBAL_SYMBOL_PIPE])]) m4_ifndef([AC_LIBTOOL_PROG_COMPILER_PIC], [AC_DEFUN([AC_LIBTOOL_PROG_COMPILER_PIC])]) m4_ifndef([AC_LIBTOOL_PROG_LD_SHLIBS], [AC_DEFUN([AC_LIBTOOL_PROG_LD_SHLIBS])]) m4_ifndef([AC_LIBTOOL_POSTDEP_PREDEP], [AC_DEFUN([AC_LIBTOOL_POSTDEP_PREDEP])]) m4_ifndef([LT_AC_PROG_EGREP], [AC_DEFUN([LT_AC_PROG_EGREP])]) m4_ifndef([LT_AC_PROG_SED], [AC_DEFUN([LT_AC_PROG_SED])]) m4_ifndef([_LT_CC_BASENAME], [AC_DEFUN([_LT_CC_BASENAME])]) m4_ifndef([_LT_COMPILER_BOILERPLATE], [AC_DEFUN([_LT_COMPILER_BOILERPLATE])]) m4_ifndef([_LT_LINKER_BOILERPLATE], [AC_DEFUN([_LT_LINKER_BOILERPLATE])]) m4_ifndef([_AC_PROG_LIBTOOL], [AC_DEFUN([_AC_PROG_LIBTOOL])]) m4_ifndef([AC_LIBTOOL_SETUP], [AC_DEFUN([AC_LIBTOOL_SETUP])]) m4_ifndef([_LT_AC_CHECK_DLFCN], [AC_DEFUN([_LT_AC_CHECK_DLFCN])]) m4_ifndef([AC_LIBTOOL_SYS_DYNAMIC_LINKER], [AC_DEFUN([AC_LIBTOOL_SYS_DYNAMIC_LINKER])]) m4_ifndef([_LT_AC_TAGCONFIG], [AC_DEFUN([_LT_AC_TAGCONFIG])]) m4_ifndef([AC_DISABLE_FAST_INSTALL], [AC_DEFUN([AC_DISABLE_FAST_INSTALL])]) m4_ifndef([_LT_AC_LANG_CXX], [AC_DEFUN([_LT_AC_LANG_CXX])]) m4_ifndef([_LT_AC_LANG_F77], [AC_DEFUN([_LT_AC_LANG_F77])]) m4_ifndef([_LT_AC_LANG_GCJ], [AC_DEFUN([_LT_AC_LANG_GCJ])]) m4_ifndef([AC_LIBTOOL_LANG_C_CONFIG], [AC_DEFUN([AC_LIBTOOL_LANG_C_CONFIG])]) m4_ifndef([_LT_AC_LANG_C_CONFIG], [AC_DEFUN([_LT_AC_LANG_C_CONFIG])]) m4_ifndef([AC_LIBTOOL_LANG_CXX_CONFIG], [AC_DEFUN([AC_LIBTOOL_LANG_CXX_CONFIG])]) m4_ifndef([_LT_AC_LANG_CXX_CONFIG], [AC_DEFUN([_LT_AC_LANG_CXX_CONFIG])]) m4_ifndef([AC_LIBTOOL_LANG_F77_CONFIG], [AC_DEFUN([AC_LIBTOOL_LANG_F77_CONFIG])]) m4_ifndef([_LT_AC_LANG_F77_CONFIG], [AC_DEFUN([_LT_AC_LANG_F77_CONFIG])]) m4_ifndef([AC_LIBTOOL_LANG_GCJ_CONFIG], [AC_DEFUN([AC_LIBTOOL_LANG_GCJ_CONFIG])]) m4_ifndef([_LT_AC_LANG_GCJ_CONFIG], [AC_DEFUN([_LT_AC_LANG_GCJ_CONFIG])]) m4_ifndef([AC_LIBTOOL_LANG_RC_CONFIG], [AC_DEFUN([AC_LIBTOOL_LANG_RC_CONFIG])]) m4_ifndef([_LT_AC_LANG_RC_CONFIG], [AC_DEFUN([_LT_AC_LANG_RC_CONFIG])]) m4_ifndef([AC_LIBTOOL_CONFIG], [AC_DEFUN([AC_LIBTOOL_CONFIG])]) m4_ifndef([_LT_AC_FILE_LTDLL_C], [AC_DEFUN([_LT_AC_FILE_LTDLL_C])]) m4_ifndef([_LT_REQUIRED_DARWIN_CHECKS], [AC_DEFUN([_LT_REQUIRED_DARWIN_CHECKS])]) m4_ifndef([_LT_AC_PROG_CXXCPP], [AC_DEFUN([_LT_AC_PROG_CXXCPP])]) m4_ifndef([_LT_PREPARE_SED_QUOTE_VARS], [AC_DEFUN([_LT_PREPARE_SED_QUOTE_VARS])]) m4_ifndef([_LT_PROG_ECHO_BACKSLASH], [AC_DEFUN([_LT_PROG_ECHO_BACKSLASH])]) m4_ifndef([_LT_PROG_F77], [AC_DEFUN([_LT_PROG_F77])]) m4_ifndef([_LT_PROG_FC], [AC_DEFUN([_LT_PROG_FC])]) m4_ifndef([_LT_PROG_CXX], [AC_DEFUN([_LT_PROG_CXX])]) # -*- mode: m4 -*- # Starlink M4 macros for autoconf # original starconf.m4, installed by starconf 1.3, rnum=1003000 # DO NOT EDIT: it may be overwritten when starconf is next run # Copyright: # Copyright (C) 2003-2005 Council for the Central Laboratory of the # Research Councils # # Licence: # This program is free software; you can redistribute it and/or # modify it under the terms of the GNU General Public Licence as # published by the Free Software Foundation; either version 2 of # the Licence, or (at your option) any later version. # # This program is distributed in the hope that it will be # useful,but WITHOUT ANY WARRANTY; without even the implied # warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR # PURPOSE. See the GNU General Public Licence for more details. # # You should have received a copy of the GNU General Public Licence # along with this program; if not, write to the Free Software # Foundation, Inc., 51 Franklin Street,Fifth Floor, Boston, MA # 02110-1301, USA # STAR_DEFAULTS(options='') # ------------------------- # Defaults for Starlink configure.ac files. The optional OPTIONS # argument holds a space-separated list of option keywords, of which # the only ones at present are `per-package-dirs', which causes # applications and help to be installed in a package-specific # directory, and 'docs-only', which indicates that the component contains # only documentation. # # Certain features of this macro are documented in SSN/78, in particular # - Sets STARLINK # - Sets AM_FCFLAGS, AM_FFLAGS, AM_CFLAGS, AM_LDFLAGS to appropriate values # - Sets PACKAGE_VERSION_{MAJOR,MINOR,RELEASE,INTEGER} # The behaviour of these should not be changed without changing the # documentation, or without due consideration of the packages which use # the earlier behaviour. Everything else is, in principle, private # (not that that's going to stop folk). AC_DEFUN([STAR_DEFAULTS], [## m4_ifval([$1], [AC_FOREACH([Option], [$1], [m4_case(Option, [per-package-dirs], [_star_per_package_dirs=:], [docs-only], [_star_docs_only=:], [AC_FATAL([$0: unrecognised option $1])]) ])], []) m4_define([per_dir_PREFIX], [m4_ifdef([OVERRIDE_PREFIX], [OVERRIDE_PREFIX], [/star])]) m4_define([per_dir_STARLINK], [m4_ifdef([OVERRIDE_STARLINK], [OVERRIDE_STARLINK], [/star])]) test -n "$_star_per_package_dirs" || _star_per_package_dirs=false test -n "$_star_docs_only" || _star_docs_only=false # Ensure that STARLINK has a value, defaulting to # /star. Note that this directory may be # different from /star, and reflects the value of # STARCONF_DEFAULT_STARLINK that the `starconf' package was configured # with before its installation. # # We use $STARLINK as the location of any other Starlink tools we need # to use during the building of our packages, and for the location of # any manifests we need to check. It is permissable for it to be # different from $(prefix): this is partly because we have no way of # enforcing that the two be the same, since the user can set # prefix=xxx on the `make install' command line, and partly so that it # is possible to make a test version of a new package, using tools # from an old installation, but installing in a new place. # # However, we install software in /star by # default. This is so even if $STARLINK and STARCONF_DEFAULT_STARLINK # are different, because in this case we are planning to use a # previous installation in $STARLINK or $STARCONF_DEFAULT_STARLINK, # but install the newly built tool elsewhere. # # In most cases, including the most important case where we are # building the tree from scratch, in a checked out directory, # STARLINK, STARCONF_DEFAULT_STARLINK and STARCONF_DEFAULT_PREFIX will # all be the same. That's OK because a separate aspect of the build # process, respecting the various dependencies expresses in source # directories, ensures that we don't use (and install) any Starlink # tools in one component before that component has been build and # installed. AC_PREFIX_DEFAULT(per_dir_PREFIX)dnl test -n "$STARLINK" || STARLINK=per_dir_STARLINK # Handle the --with-starlink option. If --with-starlink is present # with no argument (the default), we do nothing as this simply # indicates that this is part of a Starlink tree. If it has an # argument, then this overrides the location of the Starlink tree. # Option --without-starlink or --with-starlink=no indicates that this # is being built _not_ as part of a Starlink build (that is, it's # being distributed as something other than a Starlink package). In # this case, the variable STARLINK is unset. AC_ARG_WITH(starlink, AS_HELP_STRING([--with-starlink], [Starlink tree to use (default ${STARLINK:=per_dir_STARLINK})]), [if test -z "$withval" -o "$withval" = yes; then : nothing needs to be done elif test "X$withval" = Xno; then unset STARLINK elif test -d "$withval"; then STARLINK="$withval" else AC_MSG_WARN([--with-starlink given nonexistent directory; ignored: using default $STARLINK instead]) fi]) if test -n "$STARLINK"; then AC_MSG_NOTICE([Starlink tree located at $STARLINK]) else AC_MSG_NOTICE([Not being built as part of the Starlink tree]) fi # Handle --without-stardocs. Don't build and install documentation. # Default is --with-stardocs. _star_build_docs=: AC_ARG_WITH(stardocs, AS_HELP_STRING([--without-stardocs], [Do not install built documentation (default --with)]), [if test -z "$withval"; then _star_build_docs=: # default elif test "X$withval" = Xno; then _star_build_docs=false elif test "X$withval" = Xyes; then _star_build_docs=: else AC_MSG_WARN([bad arg to --with-stardocs: using yes]) _star_build_docs=: fi]) if $_star_docs_only; then if $_star_build_docs; then : OK else AC_MSG_WARN([Building without documentation in a docs-only directory]) fi fi # Everything depends on where /star is. Declare STARLINK as a # `precious variable'. Amongst other things, this will make # ./configure squeal if the package is re-configured with an # inconsistent value of this variable. AC_ARG_VAR(STARLINK, [Location of a current Starlink tree (used if necessary)])dnl # AC_SUBST the STARLINK variable. Macro AC_ARG_VAR does this anyway, # but automake doesn't know that (in 1.6 at least): however any # variable that automake finds has been AC_SUBSTed, it includes in # Makefile.in, and we need that. AC_SUBST(STARLINK) # Use the above information: $STARLINK indicates a preexisting # Starlink tree. # # Avoid doing anything if $STARLINK was unset above. # # Add library search paths using STAR_LDFLAGS. Do it this way, rather than # by defining LIBS (which is also a non-user variable): (a) these are # really options to the linker, rather than adjustments to the set of # libraries, so this makes sense; also (b) adding them to LIBS is too # late, since that adds -L _after_ any -l options found in *_LDADD. if test -n "$STARLINK"; then STAR_CPPFLAGS="-I$STARLINK/include" STAR_FCFLAGS="-I$STARLINK/include" STAR_FFLAGS="-I$STARLINK/include" STAR_LDFLAGS="-L$STARLINK/lib" else STAR_CPPFLAGS= STAR_FCFLAGS= STAR_FFLAGS= STAR_LDFLAGS= fi AC_SUBST(STAR_CPPFLAGS) AC_SUBST(STAR_FCFLAGS) AC_SUBST(STAR_FFLAGS) AC_SUBST(STAR_LDFLAGS) # Installation directory options (these are no longer handled # by _STAR_EXTRADIR_COMMON). There should be an entry here for each of # Starlink's special installation locations. AC_SUBST([stardocsdir], ['${prefix}/docs'])dnl documentation AC_SUBST([staretcdir], ['${prefix}/etc'])dnl AC_SUBST([starexamplesdir], ['${prefix}/examples'])dnl AC_SUBST([starfacsdir], ['${prefix}/help'])dnl facilities files AC_SUBST([starhelpdir], ['${prefix}/help'])dnl other help files AC_SUBST([starnewsdir], ['${prefix}/news'])dnl # Certain directories are affected by the $_star_per_package_dir variable; # if it's true, then add the $PACKAGE_NAME to the directory. # The directories currently adjusted by this are bin and help; # there are others: see PWD's message of 2004-02-16 # if $_star_per_package_dirs; then bindir="$bindir/$PACKAGE_NAME" starhelpdir="$starhelpdir/$PACKAGE_NAME" staretcdir="$staretcdir/$PACKAGE_NAME" AC_MSG_NOTICE([[STAR_DEFAULTS] has option per-package-dirs:]) AC_MSG_NOTICE([ bindir=$bindir starhelpdir=$starhelpdir staretcdir=$staretcdir]) # Note that starfacsdir is unaffected by per-package-dirs -- facility # files must always be installed in .../help (this also facilitates # changing this installation location in future, to somewhere with a # more logical name than .../help). fi # Dependency declarations and checks. # Everything is dependent on starconf, so we don't have to declare that # for each package separately. # STAR_DEPENDENCIES_ATTRIBUTES is currently not used. STAR_DEPENDENCIES_ATTRIBUTES='' STAR_DEPENDENCIES_CHILDREN='' AC_SUBST(STAR_DEPENDENCIES_ATTRIBUTES) AC_SUBST(STAR_DEPENDENCIES_CHILDREN) # List of documentation. See [STAR_LATEX_DOCUMENTATION]. # STAR_DOCUMENTATION is a list of document codes, STAR_DOCUMENTATION= AC_SUBST([STAR_DOCUMENTATION]) # Create a PACKAGE_VERSION_INTEGER variable, which contains the # package's version number as an integer major*1e6+minor*1e3+release. eval [`echo $VERSION | sed -e 's/\([0-9]*\)[^0-9]*\([0-9]*\)[^0-9]*\([0-9]*\).*/PACKAGE_VERSION_MAJOR=\1; PACKAGE_VERSION_MINOR=\2; PACKAGE_VERSION_RELEASE=\3;/'`] test -n "$PACKAGE_VERSION_MAJOR" || PACKAGE_VERSION_MAJOR=0 test -n "$PACKAGE_VERSION_MINOR" || PACKAGE_VERSION_MINOR=0 test -n "$PACKAGE_VERSION_RELEASE" || PACKAGE_VERSION_RELEASE=0 PACKAGE_VERSION_INTEGER=`expr $PACKAGE_VERSION_MAJOR \* 1000000 + $PACKAGE_VERSION_MINOR \* 1000 + $PACKAGE_VERSION_RELEASE` AC_SUBST(PACKAGE_VERSION_MAJOR) AC_SUBST(PACKAGE_VERSION_MINOR) AC_SUBST(PACKAGE_VERSION_RELEASE) AC_SUBST(PACKAGE_VERSION_INTEGER) dnl Don't put this into config.h -- subst a .h file if required. dnl May change this in future dnl AC_DEFINE_UNQUOTED([PACKAGE_VERSION_INTEGER], $PACKAGE_VERSION_INTEGER, dnl [Integer version number, in the form major*1e6+minor*1e3+release]) # When we do dependency checking, using the dependencies declared in # the package's configure.ac, we do so by looking at what tools have # already been installed in the Starlink tree. The tree in question # is to be found under $STARLINK (see above), so we check that a # package is installed by checking that its manifest can be found in # $STARLINK/manifests. We don't AC_SUBST this. current_MANIFESTS=$STARLINK/manifests # When we install manifests, however, they should go in the # installation directory. Allow this to be defaulted from the environment. # In particular, if it is set to null in the environment, this will # suppress the installation of manifests. : ${STAR_MANIFEST_DIR='$(prefix)/manifests'} AC_SUBST(STAR_MANIFEST_DIR) # Each package updates the "starlink.version" file installed into the # manifests directory. This tracks the last git sha1 checkin for # the current code state by running the git show on the HEAD. # Define GIT as the program to run, but allow it to be overridden # (most likely by ":" to avoid the overhead). # Also requires that STAR_SOURCE_ROOT_DIR is defined to locate the # head of the source tree. : ${GIT='git'} if test "${GIT}" = "git"; then AC_PATH_PROG(GIT, git) fi AC_SUBST(GIT) : ${STAR_SOURCE_ROOT_DIR=''} AC_SUBST(STAR_SOURCE_ROOT_DIR) # Although PACKAGE_VERSION is a default output variable, it isn't # added as a Makefile variable by default. We need it below, however, # so add it now. AC_SUBST(PACKAGE_VERSION) # Initialise state of predist/postdist flags (see STAR_PREDIST_SOURCES). # The value of _star_predist_status must be inherited by any # ./configure run in a subdirectory, so that we there avoid the predist # test of starconf.status: in a pre-distribution state, this file must # be present in the component directory (where we are running # ./configure), but must not be present in any subdirectory. _star_predist_status=unknown PREDIST='#' # safe default AC_SUBST(PREDIST) # pax and/or tar are used in some install targets. # Note: value-if-not-found should be blank, so this can be tested for. AC_PATH_PROG(PAX, pax) AC_PATH_PROGS(TAR, [gnutar tar]) ALL_TARGET=all-am-normal # Default $prefix. This is done by the standard autoconf configure, but at # a slightly later stage than this. Doing it here, as part of STAR_[]DEFAULTS # means that the defaulted value of $prefix can be used within the body of # the configure.ac, for example to pass it to a ./configure in a subdirectory. test "x$prefix" = xNONE && prefix=$ac_default_prefix # Let make expand exec_prefix. test "x$exec_prefix" = xNONE && exec_prefix='${prefix}' ])# STAR_DEFAULTS # STAR_MESSGEN([msgfile-list]) # ---------------------------- # # Handle generating message, error, and facility files. # # Declare that we will need to use the messgen utility. This macro # does not by itself cause the messgen rules to be included in the # makefile -- that is done by automake, when it sees a # 'include_MESSAGES' or 'noinst_MESSAGES' variable. # # The optional argument is a space-separated list of files, each of # which has a set of message declarations in it, in the format # prescribed by the messgen utility. If this is present, then the # named files are declared as pre-distribution files (the macro calls # STAR_PREDIST_SOURCES on them), and so the resulting configure script # should expect not to find them in an unpacked distribution. This is # useful as documentation or as a shortcut for calling the latter # macro, but recall that it is the presence of the automake # 'include_MESSAGES' variable which does the work. # # The macro may be called more than once if you have more than one # .msg file in the directory. # # The files listed in the '_MESSAGES' variable will often have to be # declared as `BUILT_SOURCES'. # # The macro also implicitly declares a `sourceset' dependency on the # messgen package. AC_DEFUN([STAR_MESSGEN], [# $_star_docs_only && AC_MSG_ERROR([STAR[]_MESSGEN in docs-only directory]) STAR_DECLARE_DEPENDENCIES([sourceset], [messgen]) m4_ifval([$1], [STAR_PREDIST_SOURCES($1)]) STAR_CHECK_PROGS(messgen) ])# STAR_MESSGEN # STAR_PREDIST_SOURCES(source-files) # ---------------------------------- # # Give a (space-separated) list of files which should exist only in # the pre-distribution (ie, repository checkout) state. If one of # these is found, then the substitution variable PREDIST is set to a # blank. We should find either all of the marker files or none of # them; if only some of the marker files are found, this is probably # an error of some type, so warn about it. This means, by the way, # that it is the presence or absence of the first marker file which # determines whether we are in the predist or postdist state, with the # rest providing consistency checks. # # The macro may be called more than once. Multiple calls are # equivalent to a single call with all the marker files in the list. # Automake checks that the files listed here are not in the list of # distributed files, and issues a warning if they are. AC_DEFUN([STAR_PREDIST_SOURCES], [m4_ifval([$1], [], [AC_FATAL([$0: called with no stamp file])])dnl _star_tmp='$1' for marker in $_star_tmp do if test -f $marker; then _star_predist_marker_present=: AC_MSG_NOTICE([found predist marker file $marker]) else _star_predist_marker_present=false fi case $_star_predist_status in unknown) if $_star_predist_marker_present; then # we do want to build sourceset files _star_predist_status=predist PREDIST= AC_MSG_NOTICE([in pre-distribution state]) else _star_predist_status=postdist PREDIST='#' AC_MSG_NOTICE([in post-distribution state]) fi ;; predist) if $_star_predist_marker_present; then : OK else AC_MSG_WARN([Building predist, but marker file $marker is not present]) fi ;; postdist) if $_star_predist_marker_present; then AC_MSG_WARN([In postdistribution state, but predist marker file $marker is present]) fi ;; *) AC_MSG_ERROR([impossible predist status $_star_predist_status]) ;; esac done ])# STAR_PREDIST_SOURCES # STAR_CNF_COMPATIBLE_SYMBOLS # --------------------------- # # Work out what is required to have the Fortran compiler produce # library symbols which are compatible with those expected by the CNF # package. If you are building a library in which C code refers to # Fortran libraries, then you should call this macro, which possibly # adjusts the AM_FCFLAGS variable. That is, if you include cnf.h, you # should have this macro in the configure.ac. # # This macro deals with the following issue. The cnf.h header # includes a macro F77_EXTERNAL_NAME which mangles a C name into the # corresponding name the Fortran compiler would generate; this # generally means no more than appending a single underscore. As the # autoconf documentation for AC_FC_WRAPPERS points out, this is less # general than it could be, as some Fortrans fold symbols to # uppercase, and some (in particular g77) add two underscores to # symbols which already contain one (thus mangling 'ab' to 'ab_', but # 'a_b' to 'a_b__'). This behaviour would break the F77_EXTERNAL_NAME # macro, which is used throughout the Starlink code in both cases, # unless we compiled all the Starlink Fortran libraries in a mode which # suppressed this second underscore. Working out how to do that -- # if it's necessary at all -- is what this macro does. # # The more restricted interface of F77_EXTERNAL_NAME is, by the way, # the reason why we cannot simply copy the FC_FUNC definition to the # cnf.h file as F77_EXTERNAL_NAME: the latter macro is used for # symbols both with and without an underscore. # # If we ever have to migrate the Starlink software to a Fortran which # does more complicated name mangling, we'll almost certainly have to # perform more serious surgery on cnf.h, using the results of # AC_FC_WRAPPERS, along with similar surgery on the code which invokes # it. # # This macro is designed to work with CNF, however it does _not_ # require the cnf.h headers to be installed, because it should remain # callable at configuration time before _anything_ has been installed. # In the test code below, we therefore emulate the definition of # F77_EXTERNAL_NAME in cnf.h, which appends a single underscore. # to the end of C symbols. # AC_DEFUN([STAR_CNF_COMPATIBLE_SYMBOLS], [$_star_docs_only && AC_MSG_ERROR([STAR[]_CNF_COMPATIBLE_SYMBOLS in docs-only dir]) AC_CACHE_CHECK([how to make Fortran and C play nicely], [star_cv_cnf_compatible_symbols], [dnl AC_REQUIRE([AC_PROG_FC])dnl dnl AC_REQUIRE([AC_PROG_CC])dnl AC_LANG_PUSH([C]) AC_LANG_CONFTEST([AC_LANG_SOURCE([ void funcone_() { return; } void func_two_() { return; } ])]) if (eval $ac_compile) 2>&5 then mv conftest.$ac_objext c-conftest.$ac_objext else AC_MSG_ERROR([cannot compile a C program!]) fi AC_LANG_POP(C) AC_LANG_PUSH([Fortran]) AC_LANG_CONFTEST([AC_LANG_SOURCE([ PROGRAM conftest CALL funcone CALL func_two END ])]) star_cv_cnf_compatible_symbols=cantlink # The only Fortran we (need to) handle at present is # g77, which has a -fno-second-underscore option for # simplifying the mangling here. Other Fortrans we've # used do only the single-underscore mangling. for opt in "" "-fno-second-underscore" do if $FC $FCFLAGS $opt -o conftest conftest.f c-conftest.$ac_objext 2>&5 then star_cv_cnf_compatible_symbols=$opt break fi done AC_LANG_POP([Fortran]) rm -f conftest* c-conftest* ]) if test "$star_cv_cnf_compatible_symbols" = cantlink then AC_MSG_ERROR([cannot work out how]) else STAR_FCFLAGS="$STAR_FCFLAGS $star_cv_cnf_compatible_symbols" STAR_FFLAGS="$STAR_FFLAGS $star_cv_cnf_compatible_symbols" fi ])# STAR_CNF_COMPATIBLE_SYMBOLS # STAR_CNF_F2C_COMPATIBLE # ----------------------- # # Work out if the compiler is using 'f2c' compatible calling conventions. # # The `f2c' calling conventions, used by GNU Fortran compilers, require # functions that return type REAL to actually return the C type 'double' # (there is also special handling of COMPLEX returns, but that's not supported # by CNF). When operating in 'non-f2c' mode such functions return the expected # C type 'float'. # # The effect of this macro is subsitute the variable REAL_FUNCTION_TYPE # to either float or double as required. # # This function is not infallable and will usually return float for GNU # compilers, as the calling convention seems to not matter on 32-bit platforms # for the test in use. A stronger test would be to attempt calling a intrinsic # function, which is supposed to fail. Non-GNU compilers should always # return float. However, this test is used as it is all that is required. # AC_DEFUN([STAR_CNF_F2C_COMPATIBLE], [$_star_docs_only && AC_MSG_ERROR([STAR[]_CNF_F2C_SYMBOLS in docs-only dir]) AC_CACHE_CHECK([if $FC is in strict f2c compatible mode], [star_cv_cnf_f2c_compatible], [AC_REQUIRE([AC_PROG_FC])dnl if test "$ac_cv_fc_compiler_gnu" = yes; then AC_REQUIRE([AC_PROG_CC])dnl AC_LANG_PUSH([C]) AC_LANG_CONFTEST([AC_LANG_SOURCE([ float fred_() { return 1.0f; } ])]) if (eval $ac_compile) 2>&5 then mv conftest.$ac_objext c-conftest.$ac_objext else AC_MSG_ERROR([cannot compile a C function!]) fi AC_LANG_POP(C) AC_LANG_PUSH([Fortran]) AC_LANG_CONFTEST([AC_LANG_SOURCE([ PROGRAM F2CTEST REAL FRED REAL R R = FRED() IF ( R .NE. 0.0 ) THEN WRITE(*,*) 'no' ELSE WRITE(*,*) 'yes' ENDIF END ])]) star_cv_cnf_f2c_compatible=yes $FC $FCFLAGS $opt -o conftest conftest.f c-conftest.$ac_objext 2>&5 if test -r conftest then star_cv_cnf_f2c_compatible=`eval ./conftest | sed 's/\ //g'` > /dev/null else AC_MSG_ERROR([failed to link program]) fi AC_LANG_POP([Fortran]) rm -f conftest* c-conftest* else # Not a GNU compiler. star_cv_cnf_f2c_compatible=no fi ]) if test "$star_cv_cnf_f2c_compatible" = "yes" then AC_SUBST(REAL_FUNCTION_TYPE, double) else AC_SUBST(REAL_FUNCTION_TYPE, float) fi ])# STAR_CNF_F2C_COMPATIBLE # STAR_CNF_BLANK_COMMON # --------------------- # Define the global symbol used to access the Fortran blank common block. # Usually under UNIX this is _BLNK__, but gfortran uses __BLNK__, so we # need to check for that. Gfortran is just detected by being a GNU compiler # and having "Fortran (GCC) 4.x[x].x[x]" as part of its --version output. # # The effect of this macro is to substitute BLANK_COMMON_SYMBOL with # the expected value. # AC_DEFUN([STAR_CNF_BLANK_COMMON], [AC_CACHE_CHECK([symbol used for blank common in Fortran], [star_cv_blank_common_symbol], [AC_REQUIRE([AC_PROG_FC]) star_cv_blank_common_symbol=_BLNK__ if test "$ac_cv_fc_compiler_gnu" = yes; then if "$FC" --version 2>&1 < /dev/null | grep 'GNU Fortran.*[[4-9]]\.[[0-9]][[0-9]]*\.[[0-9]][[0-9]]*' > /dev/null; then star_cv_blank_common_symbol=__BLNK__ fi fi]) AC_SUBST([BLANK_COMMON_SYMBOL], $star_cv_blank_common_symbol ) ])# STAR_CNF_BLANK_COMMON # STAR_PRM_COMPATIBLE_SYMBOLS # --------------------------- # # See if any special flags are required to support PRM and the use of the # PRM_PAR constants. If a typeless BOZ descriptor is available (usually 'X) # then this macro will have no effect, however, if there's no typeless BOZ # support any special Fortran compiler flags that are required when using # PRM_PAR will be defined as part of the STAR_FCFLAGS and STAR_FFLAGS # variables. # # In fact this macro is only currently used for the gfortran and Solaris f95 # compilers. Gfortran has no typeless BOZ support, so requires that the # -fno-range-check flag is set so that assigments to integers can silently # overflow (BOZ constants are replaced with their plain integer and floating # point equivalents). The Solaris f95 compiler doesn't allow assignments to # LOGICAL parameters, so we need to use the -f77 flag. # # In general this macro should be used by all packages that include PRM_PAR, # all monoliths are assumed to use this by default. # AC_DEFUN([STAR_PRM_COMPATIBLE_SYMBOLS], [$_star_docs_only && AC_MSG_ERROR([STAR[]_PRM_COMPATIBLE_SYMBOLS in docs-only dir]) AC_CACHE_CHECK([how to make compiler accept PRM constants], [star_cv_prm_compatible_symbols], [star_cv_prm_compatible_symbols="nocheck" AC_MSG_NOTICE([ ]) AC_FC_HAVE_TYPELESS_BOZ 2>&5 if test $ac_cv_fc_have_typeless_boz = no; then AC_FC_HAVE_OLD_TYPELESS_BOZ 2>&5 if test $ac_cv_fc_have_old_typeless_boz = no; then # Test if -f77 works. Note need to clear the cached variables # for these tests. unset ac_cv_fc_have_typeless_boz unset ac_cv_fc_have_old_typeless_boz old_FCFLAGS="$FCFLAGS" FCFLAGS="-f77 $FCFLAGS" AC_FC_HAVE_TYPELESS_BOZ 2>&5 if test $ac_cv_fc_have_typeless_boz = no; then AC_FC_HAVE_OLD_TYPELESS_BOZ 2>&5 if test $ac_cv_fc_have_old_typeless_boz = no; then star_cv_prm_compatible_symbols="nocheck" else star_cv_prm_compatible_symbols="-f77" fi else star_cv_prm_compatible_symbols="-f77" fi FCFLAGS="$old_FCFLAGS" if test "$star_cv_prm_compatible_symbols" = "nocheck"; then # Test if "-fno-range-check" works. AC_REQUIRE([AC_PROG_FC])dnl AC_LANG_PUSH([Fortran]) AC_LANG_CONFTEST([AC_LANG_SOURCE([ PROGRAM conftest INTEGER*2 VAL__BADUW PARAMETER ( VAL__BADUW = 65535 ) BYTE VAL__BADUB PARAMETER ( VAL__BADUB = 255 ) END ])]) if $FC -c $FCFLAGS -fno-range-check -o conftest conftest.f 2>&5 then star_cv_prm_compatible_symbols="-fno-range-check" fi AC_LANG_POP([Fortran]) rm -f conftest.f fi else star_cv_prm_compatible_symbols="" fi else star_cv_prm_compatible_symbols="" fi]) if test "$star_cv_prm_compatible_symbols" = "nocheck"; then AC_MSG_ERROR([cannot work out how]) else STAR_FCFLAGS="$STAR_FCFLAGS $star_cv_prm_compatible_symbols" STAR_FFLAGS="$STAR_FFLAGS $star_cv_prm_compatible_symbols" fi ])# STAR_PRM_COMPATIBLE_SYMBOLS # STAR_CNF_TRAIL_TYPE # ------------------- # # Work out what type to use for the trailing lengths of character strings # passed from Fortran to C. See the "TRAIL" descriptions in SUN/209. # # For most compilers the maximum length of a string is limited to a 32bit # unsigned int, but for others, this can be a 64bit unsigned long. Currently # the only compilers with 64bit strings are 64bit Intel fortran and # Solaris studio12 with -m64. # # The test is only performed for 64bit compilers, all others are assumed # to use 32bit lengths. Various attempts to trap this issue permanently # using a test program have failed (especially for the Intel compiler), so the # actual test is to check for a known 64 bit compiler first and then try a # program that has had some success. Note no GNU compilers seem to have this # problem so they are never tested. # # The side-effect of this macro is to substitute TRAIL_TYPE with # the derived value and define TRAIL_TYPE. See "f77.h" in CNF. # AC_DEFUN([STAR_CNF_TRAIL_TYPE], [AC_CHECK_SIZEOF(void*)dnl AC_FC_HAVE_PERCENTLOC dnl AC_CACHE_CHECK([type used for Fortran string lengths], [star_cv_cnf_trail_type], [if test "$ac_cv_sizeof_voidp" = 8 -a "$ac_cv_fc_compiler_gnu" = no; then if "$FC" -V 2>&1 < /dev/null | grep 'Intel.*64' > /dev/null; then star_cv_cnf_trail_type=long elif "$FC" -V 2>&1 < /dev/null | grep 'Sun.*Fortran' > /dev/null; then star_cv_cnf_trail_type=long else AC_REQUIRE([AC_PROG_FC])dnl AC_LANG_PUSH([Fortran]) if test "$ac_cv_fc_have_percentloc" = yes; then FORTRAN_GETLOC='%loc' else FORTRAN_GETLOC='loc' fi AC_LANG_CONFTEST([AC_LANG_SOURCE([ program conftest C checks passing 4 byte character string lengths on 64bit compiler. integer*8 ip1, ip2 integer*4 l1, l2 integer dummy1, dummy2 real dummy3, dummy4 double precision dummy5, dummy6 character str1*(1024) character str2*(2048) ip1 = $FORTRAN_GETLOC (str1) ip2 = $FORTRAN_GETLOC (str2) l1 = 1024 l2 = 2048 call report( dummy1, dummy2, %val(ip1), dummy3, dummy4, : %val(ip2), dummy5, dummy6, : %val(l1), %val(l2) ) end subroutine report( dummy1, dummy2, str1, dummy3, dummy4, : str2, dummy5, dummy6 ) integer dummy1, dummy2 real dummy3, dummy4 double precision dummy5, dummy6 character*(*) str1 character*(*) str2 if ( [len(str1)] .eq. 1024 .and. [len(str2)] .eq. 2048 ) then print *, 'int' else print *, 'long' endif end ])]) star_cv_cnf_trail_type=int $FC $FCFLAGS $opt -o conftest conftest.f 2>&5 if test -r conftest then star_cv_cnf_trail_type=`eval ./conftest | sed 's/\ //g'` > /dev/null else AC_MSG_ERROR([failed to link program]) fi rm -f conftest* AC_LANG_POP([Fortran]) fi else dnl sizeof(void *) != 8 or GNU so no problems. star_cv_cnf_trail_type=int fi ]) AC_SUBST([TRAIL_TYPE], $star_cv_cnf_trail_type ) AC_DEFINE_UNQUOTED([TRAIL_TYPE], $star_cv_cnf_trail_type, [Type of Fortran CNF TRAIL argument] ) ])# STAR_CNF_TRAIL_TYPE # STAR_PATH_TCLTK([minversion=0], [options='']) # --------------------------------------------- # # Finds a tclsh and wish, and the associated libraries. Sets output variable # TCL_CFLAGS to the C compiler flags necessary to compile with Tcl, TCL_LIBS # to the required library flags, and TCLSH to the full path of the tclsh # executable, TCL_PREFIX to the installation root and TCL_LD_SEARCH_FLAGS # to the default search path for loading the shareable library; if Tk is # requested, it similarly sets TK_CFLAGS, TK_LIBS and WISH. Define the # cpp variable TCL_MISSING to 1 if Tcl is not available. Similar to # macro AC_PATH_XTRA. # # If argument MINVERSION is present, it specifies the minimum Tcl/Tk # version number required. # # The macro searches first in the path, and # then in a selection of platform-specific standard locations. The # configure option --with-tcl allows you to provide a path to a tclsh # binary, which is put at the head of the list of locations to search. # Option --without-tcl suppresses the search, and results in no # variables being substituted. # # If the argument OPTIONS is present, it is a space-separated list of # the words 'tk' or 'itcl'. If one or both of these is present, then # the macro will find a Tcl location which also has Tk or itcl # installed (note that the itcl test doesn't do anything at present). AC_DEFUN([STAR_PATH_TCLTK], [_star_use_tcl=: AC_ARG_WITH([tcl], AS_HELP_STRING([--with-tcl], [give path to tclsh (dir which contains binary)]), [if test "X$withval" = Xno; then _star_use_tcl=false elif test "X$withval" = Xyes; then _star_use_tcl=: else _star_use_tcl=: _star_try_tcldir=$withval fi]) if $_star_use_tcl; then _star_searchfor=Tcl if expr "x m4_ifval([$2], [$2], []) " : 'x.* tk ' >/dev/null; then search_tk=: _star_searchfor="$_star_searchfor/Tk" else search_tk=false fi if expr "x m4_ifval([$2], [$2], []) " : 'x.* itcl ' >/dev/null; then search_itcl=: _star_searchfor="$_star_searchfor/itcl" echo "Searching for itcl does nothing so far!" else search_itcl=false fi AC_MSG_CHECKING([where to find $_star_searchfor m4_ifval([$1], [$1+], [(any version)])]) AC_CACHE_VAL([star_cv_settcldir], [star_cv_settcldir=unknown reqversint=`echo m4_ifval([$1], [$1], 0.0)-0-0 | [sed 's/\([0-9]*\)[^0-9]*\([0-9]*\)[^0-9]*\([0-9]*\).*/10000 \1* 100 \2*+ \3+p/']|dc` tclsources=`echo $PATH | sed "s/$PATH_SEPARATOR/ /g"` stdsources=' dnl Search in /usr and /usr/local at least /usr/bin /usr/local/bin dnl /opt/local and /sw are the default installation locations for OpenDarwin dnl and Fink on OSX /opt/local/bin /sw/bin' for d in $_star_try_tcldir $STARCONF_DEFAULT_STARLINK/bin $tclsources $stdsources do locok=: if test -d $d; then tcldir=`cd $d/..; pwd` test -f $d/tclsh -a -f $tcldir/include/tcl.h || locok=false else locok=false fi if $locok && $search_tk; then test -f $d/wish -a -f $tcldir/include/tk.h || locok=false fi if $locok && $search_itcl; then test -f $tcldir/lib/libitcl.aXXX || locok=false fi if $locok; then if test ! -f $tcldir/lib/tclConfig.sh; then echo "$tcldir/lib/tclConfig.sh unexpectedly missing" break fi if $search_tk && test ! -f $tcldir/lib/tkConfig.sh; then echo "$tcldir/lib/tkConfig.sh unexpectedly missing" break fi rm -f conftest.results # Run in a subshell, to isolate settings in tclConfig.sh # Send output to conftest.results, and return # 0 if all is ok ( . $tcldir/lib/tclConfig.sh if $search_tk; then . $tcldir/lib/tkConfig.sh fi tclversint=`[echo $TCL_VERSION$TCL_PATCH_LEVEL-0-0 | sed 's/\([0-9]*\)[^0-9]*\([0-9]*\)[^0-9]*\([0-9]*\).*/10000 \1* 100 \2*+ \3+p/'|dc]` if test $tclversint -gt $reqversint; then # New enough version. # Dereference the tclsh and wish links -- the "->" _is_ standard, # mandated by POSIX. lslink=`ls -l $tcldir/bin/tclsh` tclsh_loc=`expr "x$lslink" : "x.*-> *\(.*\)"` if test -n "$tclsh_loc" -a -x "$tclsh_loc"; then : OK elif test -x "$tcldir/bin/tclsh"; then # Odd: either .../bin/tclsh isn't a link, or it doesn't point to an # executable. But .../bin/tclsh is OK, so use that. tclsh_loc="$tcldir/bin/tclsh" else # This really shouldn't happen, since we checked above that # $d/tclsh was executable. Still, it clearly has happened, # so don't go mad. echo "Warning: found Tcl libraries, but not tclsh!" >&2 tclsh_loc= fi res="_star_tcldir=$tcldir;" # Make the TCL version number available. res="$res TCL_VERSION=\"$TCL_VERSION\";" # Export the TCL_PREFIX value. res="$res TCL_PREFIX=\"$TCL_PREFIX\";" # Export the TCL_LD_SEARCH_FLAGS value (need LIB_RUNTIME_DIR # which is part of the symbol). res="$res LIB_RUNTIME_DIR=\"$TCL_PREFIX/lib\";" res="$res TCL_LD_SEARCH_FLAGS=\"$TCL_LD_SEARCH_FLAGS\";" # These envs include $TCL_DBGX -- expand this out. eval "I=\"$TCL_INCLUDE_SPEC\"; L=\"$TCL_LIB_SPEC\"" res="$res TCL_CFLAGS=\"$I\"; TCL_LIBS=\"$L\"; TCLSH=\"$tclsh_loc\";" if $search_tk; then # Same for wish lslink=`ls -l $tcldir/bin/wish` wish_loc=`expr "x$lslink" : "x.*-> *\(.*\)"` if test -n "$wish_loc" -a -x "$wish_loc"; then : OK elif test -x "$tcldir/bin/wish"; then wish_loc="$tcldir/bin/wish" else echo "Warning: found Tk libraries, but not wish!" >&2 wish_loc= fi # These envs potentially include $TK_DBGX -- expand this out. eval "I=\"$TK_XINCLUDES\"; L=\"$TK_LIB_SPEC\"" res="$res TK_CFLAGS=\"$I\"; TK_LIBS=\"$L\"; WISH=\"$wish_loc\";" fi # similarly for $search_itcl echo $res >conftest.results status=0 else msg="$tcldir: found Tcl-$TCL_VERSION$TCL_PATCH_LEVEL" if $search_tk; then msg="$msg, Tk-$TK_VERSION$TK_PATCH_LEVEL" fi echo "$msg: older than required" >&2 status=1 fi exit $status ) teststat=$? if test $teststat = 0; then star_cv_settcldir=`cat conftest.results` fi if test "$star_cv_settcldir" != unknown; then break fi fi # $locok done]) if test "$star_cv_settcldir" = unknown; then AC_MSG_RESULT(unknown) else eval $star_cv_settcldir AC_MSG_RESULT($_star_tcldir) fi else # $_star_use_tcl AC_MSG_WARN(Compiling without Tcl/Tk) fi # $_star_use_tcl if $_star_use_tcl && test "$star_cv_settcldir" != unknown; then : else AC_DEFINE(TCL_MISSING, 1, [Define to 1 if no Tcl/Tk libraries can be found]) fi AC_SUBST(TCL_VERSION) AC_SUBST(TCL_PREFIX) AC_SUBST(TCL_LD_SEARCH_FLAGS) AC_SUBST(TCL_CFLAGS) AC_SUBST(TCL_LIBS) AC_SUBST(TCLSH) AC_SUBST(TK_CFLAGS) AC_SUBST(TK_LIBS) AC_SUBST(WISH) # add itcl variables here ])# STAR_PATH_TCLTK # STAR_LATEX_DOCUMENTATION(documentcode, [targets]) # ------------------------------------------------- # Generate the standard makefile targets to handle LaTeX documentation # source. The parameter documentcode should be something like # `sun123' -- it should not include any .tex extension. # # The second, optional, argument gives an explicit list of the targets # which are build. If this is _not_ specified, then a standard list # is used (.tex, .ps and .tar_htx) and corresponding rules added to # the generated makefile. If it is specified, it must be non-null, # and its value is a list of files which are to be added to the # distribution, and no extra Makefile rules are added. Thus if users need # anything complicated done, they should use this second argument and # provide rules for satisfying the given targets. # # In the latter case, the .tex -> htx_tar rule is still emitted, so # you can use it, but it requires the substitution variable # @STAR[]2HTML@, and so if you _do_ use it, you will have to make that # available, either through [STAR_CHECK_PROGS(star2html)] or otherwise. AC_DEFUN([STAR_LATEX_DOCUMENTATION], [m4_ifval([$1], [], [AC_FATAL([$0: called with no documentcode])])dnl m4_if(m4_bregexp([$1], [^ *\([a-z][a-z]*[0-9]*/? *\)*$]), [0], [], [AC_FATAL([$0: bad doccode in $1 -- must be eg sun123 or sun123/])]) STAR_DOCUMENTATION="$STAR_DOCUMENTATION m4_bpatsubst([$1],[/])" m4_ifval([$2], [dnl non-empty second argument -- just add to variable m4_if(m4_bregexp([$1], [/]), -1, [], [AC_FATAL([$0: do not mix non-null second argument and .../ syntax])]) if $_star_build_docs; then STAR@&t@_LATEX_DOCUMENTATION="$2" fi ], [dnl second arg empty -- use defaults if $_star_build_docs; then AC_FOREACH([DocCode], [$1], [m4_if(m4_bregexp(DocCode,[/]), -1, [STAR@&t@_LATEX_DOCUMENTATION="$STAR@&t@_LATEX_DOCUMENTATION DocCode.tex DocCode.pdf DocCode.htx_tar" ], [m4_define([_T], m4_bpatsubst(DocCode,[/]))dnl STAR_LATEX_DOCUMENTATION_[]_STAR_UPCASE(_T)="_T.tex _T.pdf _T.htx_tar" AC_SUBST(STAR_LATEX_DOCUMENTATION_[]_STAR_UPCASE(_T))])]) fi STAR_DECLARE_DEPENDENCIES([sourceset], [star2html]) STAR_CHECK_PROGS([star2html]) ]) if $_star_build_docs; then : ${LATEX2DVI='$$LATEX "\\batchmode\\input $$[]1" && $$LATEX "\\batchmode\\input $$[]1"'} AC_SUBST(LATEX2DVI) else AC_MSG_WARN([not installing docs $1]) fi AC_SUBST([STAR@&t@_LATEX_DOCUMENTATION])dnl ])# STAR_LATEX_DOCUMENTATION # STAR_XML_DOCUMENTATION(documentcode, [targets]) # ----------------------------------------------- # Generate the standard makefile targets to handle XML documentation # source. The parameter documentcode should be something like # `sun123' -- it should not include any .xml extension. For each of the # documentcodes which does not end with a slash, append # .{texml_tar,htx_tar,ps} to STAR_XML_DOCUMENTATION; # for each which does end with a slash, define instead the # variable STAR_XML_DOCUMENTATION_. In either case, # append the documentcode to STAR_DOCUMENTATION # # The second, optional, argument gives an explicit list of the targets # which are build. If this is _not_ specified, then a standard list # is used (.texml_tar, .ps and .htx_tar) and corresponding rules added to # the generated makefile. If it is specified, it must be non-null, # and its value is a list of files which are to be added to the # distribution, and no extra Makefile rules are added. Thus if users need # anything complicated done, they should use this second argument and # provide rules for satisfying the given targets. # # In the latter case, the .tex -> htx_tar rule is still emitted, so # you can use it, but it requires the substitution variables JADE, SGMLNORM, # and SGMLKIT_HOME. This is rather inconvenient, and it is fortunate that # you almost certainly won't need to use this. AC_DEFUN([STAR_XML_DOCUMENTATION], [m4_ifval([$1], [], [AC_FATAL([$0: called with no documentcode])])dnl m4_if(m4_bregexp([$1], [^ *\([a-z][a-z]*[0-9]*/? *\)*$]), [0], [], [AC_FATAL([$0: bad doccode in $1 -- must be eg sun123 or sun123/])]) STAR_DOCUMENTATION="$STAR_DOCUMENTATION m4_bpatsubst([$1],[/])" m4_ifval([$2], [dnl non-empty second argument -- just add to variable m4_if(m4_bregexp([$1], [/]), -1, [], [AC_FATAL([$0: do not mix non-null second argument and .../ syntax])]) if $_star_build_docs; then STAR@&t@_XML_DOCUMENTATION="$2" fi ], [dnl second arg empty -- use defaults if $_star_build_docs; then do_the_build= # blank if we're to go ahead, string expl. otherwise AC_PATH_PROGS(JADE, [openjade jade], NOJADE) AC_PATH_PROGS(SGMLNORM, [osgmlnorm sgmlnorm], NOSGMLNORM) STAR_CHECK_PROGS([sgml2docs]) if test "$JADE" = NOJADE -o "$SGMLNORM" = NOSGMLNORM -o "$SGML2DOCS" = "sgml2docs"; then if $_star_docs_only; then # Building documentation is all we're supposed to do, # and we can't, so suppress further building. do_the_build=\ "This docs-only component requires Jade, sgmlnorm and sgml2docs. All I could find were: $JADE for Jade, $SGMLNORM for sgmlnorm and $SGML2DOCS for sgml2docs (requires full path). Your system may have a way to install Jade and sgmlnorm as a package, sgml2docs is part of the SGMLKIT package." else AC_MSG_WARN([can't find (open)jade + (o)sgmlnorm + sgml2docs -- skipping XML documentation $1]) fi else # Test Jade version AC_MSG_CHECKING([version of $JADE (need 1.3.2 or better)]) $JADE -v conftest.version 2>&1 JADEVERS=[`sed -n '/:I:.*[Jj]ade.*version/{ s/.*:I:// s/[^0-9][^0-9]*/ /gp }' conftest.version`] # The following converts space-separated integers to a single # one. It's perhaps a leeettle funkier than necessary... VERSINT=[`echo "[Ss[z0conftest-d1/d/f (cd conftest-d1/d; $LN_S f l; $LN_S x broken) if test ! -h conftest-d1/d/l; then # We don't have links! So plain cp -R will do star_cv_cp_r="$CP -R" else star_cv_cp_r= for try in "$CP -R --no-dereference -p -f" "$CP -R -P -p -f" "$CP -R -P -p" "$CP -R -p" "${PAX-false} -r -w -p p" do rm -Rf conftest-d2/* if (cd conftest-d1; $try . ../conftest-d2 2>/dev/null); then if test -h conftest-d2/d/l -a -h conftest-d2/d/broken; then star_cv_cp_r="$try" break fi fi done fi rm -Rf conftest*]) if test -z "$star_cv_cp_r"; then AC_MSG_ERROR([unable to find working cp or pax]) fi AC_SUBST(CP_RECURSIVE, $star_cv_cp_r)dnl ])# STAR_SPECIAL_INSTALL_COMMAND # STAR_MONOLITHS # -------------- # Declare that we will be creating monoliths. This does whatever # configuration is necessary to handle these. # # Note that the declarations done in the Makefile.am, declaring the # name of the monolith and the names and source files of the tasks, # are slightly redundant inasmuch as some of that information could be # implied. However, this is required to be explicit for clarity and # consistency, and so accomodate the (currently unexploited) # possibility that the tasks and .ifl files longer have the # one-task-per-file relationship they have now. AC_DEFUN([STAR_MONOLITHS], [$_star_docs_only && AC_MSG_ERROR([STAR[]_MONOLITHS in docs-only directory]) dnl Installation in monoliths.am uses $(LN_S) AC_REQUIRE([AC_PROG_LN_S])dnl # To build monoliths, we need both compifl to build the .ifc # files (in the parsecon component), and alink # to link the monoliths (in dtask). Both are now part of # the pcs component. STAR_DECLARE_DEPENDENCIES(build, [pcs]) # So try to find alink and compifl. STAR_CHECK_PROGS([compifl alink]) # When we're building monoliths, we will almost certainly be # using Fortran, and so we might as well include this, # partly in case the user forgets, but also because this is # reasonably part of the default setup required for monoliths. STAR_CNF_COMPATIBLE_SYMBOLS STAR_PRM_COMPATIBLE_SYMBOLS ])# STAR_MONOLITHS # STAR_HELP_FILES(helpfiles) # -------------------------- # Declare a list of files to be installed into the Starlink help # directory. This can be used both internally and in user # configure.ac files. AC_DEFUN([STAR_HELP_FILES], [_STAR_EXTRADIR_COMMON([help], [$1])]) # STAR_ETC_FILES(etcfiles) # ------------------------ # Declare a list of files to be installed into the Starlink etc # directory. This can be used both internally and in user # configure.ac files. AC_DEFUN([STAR_ETC_FILES], [_STAR_EXTRADIR_COMMON([etc], [$1])]) # STAR_DOCS_FILES(docfiles) # ------------------------- # Declare a list of files to be installed into the Starlink # documentation directory. This can be used both internally and in # user configure.ac files. AC_DEFUN([STAR_DOCS_FILES], [_STAR_EXTRADIR_COMMON([docs], [$1])]) # STAR_EXAMPLES_FILES(examplesfiles) # ---------------------------------- # Declare a list of files to be installed into the Starlink # examples directory. This can be used both internally and in # user configure.ac files. AC_DEFUN([STAR_EXAMPLES_FILES], [_STAR_EXTRADIR_COMMON([examples], [$1])]) # STAR_DECLARE_DEPENDENCIES(type, deplist, option='') # --------------------------------------------------- # # Declare dependencies of this component. The TYPE is one of # `sourceset', `build', `link', `use', `test' or `configure', and the # DEPLIST is a space separated list of component names, which this # component depends on in the given way. # # -- Sourceset dependencies are those components which must be # installed in order to build the complete set of sources, either for # building or for distribution. This includes documentation, so it # would include star2html as well as messgen. # # -- Build dependencies are those which are required in order to build # this component. This typically means include files, but if part of # the component is an executable file (such as compifl within the # parsecon component), then that's a build dependence also (but see # the discussion of `option', below). You may not have two components # which have a build dependency on each other, since that would mean # that each would have to be built before the other, which is # impossible. # # -- Link dependencies are those required to link against the # libraries in a component. That means all the libraries that this # component's libraries use. These are not necessarily build # dependencies, since if you are building a library, any called # libraries don't have to be present in order to build this library; # you can have two components which have mutual link dependencies. If # you are building an application, however, then all its link # dependencies will actually be build dependencies and should be # declared as such. In other words, the distinction between build and # link dependencies is important only for library components. # # -- Use dependencies are those which are required in order for the # component to be used by something else, after it has been built and # installed. For example a library which called another application # as part of its functionality would have only a use dependency on the # component which contained that application. If no use dependencies # are declared, we take the use dependencies to be the same as the # link dependencies. # # -- Test dependencies are those which are required in order to run # any regression tests which come with the component. It's generally # a good idea to avoid making this a larger set than the use # dependencies, but sometimes this is unavoidable. If no test # dependencies are declared, we take the test dependencies to be the # same as the use dependencies. # # -- Configure dependencies are those which must be satisfied before # this component can be successfully configured. In this case, we # also check that the corresponding manifest files have been installed # in current_MANIFESTS, and if not exit with a message, and the suggestion # that the user runs 'make configure-deps'. # # The point of this is that different dependencies are required at # different times. The set of dependencies in the master makefile is # composed of all the `sourceset' and `build' dependencies, but not # `link' or `use' dependencies, and since the core Starlink libraries # are closely interdependent, the set of `build' dependencies needs to # be kept as small as possible in order to avoid circularities (that # is, A depending on B, which depends, possibly indirectly, on A). # # All these relationships are transitive: if A has a build dependency # on B, and B has one on C, then A has a build dependency on C. You # can augment this by using the final `option' argument: if, in # component A's declaration element you say # STAR_DECLARE_DEPENDENCIES(build, B, link), then you declare that A # has a build-time dependency on B, but that (presumably because you # are building an application within a component which is mostly # libraries) you need to link against B, so component A has a # dependency on all of B's _link_ dependencies, not just its build # dependencies. This is (I believe) the only case where this `option' # attribute is useful, though it is legal for each of the dependency types. # # You need only declare direct dependencies. If package A depends on # package B, which depends in turn on package C, then package A need # not declare a dependency on C. # # The macro may be called more than once. The results of this macro # are expressed in the file component.xml in the component directory. AC_DEFUN([STAR_DECLARE_DEPENDENCIES], [m4_ifval([$1], [], [AC_FATAL([$0: no type given])])dnl m4_if(m4_bregexp([$1], [^\(sourceset\|build\|link\|use\|test\|configure\)$]), [0], [], [AC_FATAL([$0: unrecognised dependency type: $1])])dnl m4_ifval([$2], [], [AC_FATAL([$0: no deplist given])])dnl for _star_tmp in $2 do STAR_DEPENDENCIES_CHILDREN="$STAR_DEPENDENCIES_CHILDREN<[$1]m4_ifval([$3], [ option='$3'], [])>$_star_tmp" done m4_if([$1], [configure], [# check that configure-deps ran... for _star_tmp in $2 do echo "$as_me:$LINENO: checking for configure-deps/$_star_tmp" >&5 echo $ECHO_N "checking for configure-deps/$_star_tmp... $ECHO_C" >&6 if test -f $current_MANIFESTS/$_star_tmp; then echo "$as_me:$LINENO: result: ok" >&5 echo "${ECHO_T}ok" >&6 else echo "$as_me:$LINENO: result: not found!" >&5 echo "${ECHO_T}not found" >&6 echo "*** This package has a configure dependency on $_star_tmp" >&6 echo " but that component doesn't appear to be installed." >&6 echo " (I can't find $current_MANIFESTS/$_star_tmp:" >&6 echo " have you forgotten to run 'make configure-deps'?)" >&6 echo " Giving up!" >&6 exit 1 fi done ])dnl ])# STAR_DECLARE_DEPENDENCIES # STAR_PLATFORM_SOURCES(target-file-list, platform-list) # ------------------------------------------------------ # # Generate the given target-file for each of the files in the list # TARGET-FILE-LIST, by selecting the appropriate element of the # PLATFORM-LIST based on the value of [AC_CANONICAL_BUILD]. Both # lists are space-separated lists. # # For each of the platforms,

, in platform-list, there should be a # file `

'. There should always be a file # `default', and if none of the platform-list strings # matches, this is the file which is used. If the `default' file is # listed in the `platform-list', then it is matched in the normal run # of things; if it is not listed, it still matches, but a warning is # issued. # # If you wish no match _not_ to be an error -- perhaps because there # is a platform-dependent file which is redundant on unlisted platforms # -- then end the platform-list with `NONE'. In this case, if no file # matches, then no link is made, with no error or warning. # # This macro uses the results of ./config.guess to determine the # current platform. That returns a triple consisting of # cpu-vendor-os, such as `i686-pc-linux-gnu' (OS=linux-gnu), # `sparc-sun-solaris2.9', or `alphaev6-dec-osf5.1' # # The extensions

in platform-list should all have the form # `cpu_vendor[_os]', where each of the components `cpu', `vendor' and # `os' may be blank. If not blank, they are matched as a prefix of # the corresponding part of the config.guess value. Thus # `_sun_solaris' would match `sparc-sun-solaris2.9' but not # `sparc-sun-sunos', and `_sun' would match both. For a # file foo.c, this would result in `ln -s foo.c_sun foo.c' # # Calls AC_LIBSOURCE for each of the implied platform-specific files. # AC_DEFUN([STAR_PLATFORM_SOURCES], [ $_star_docs_only && AC_MSG_ERROR([STAR_[]PLATFORM_SOURCES in docs-only dir]) AC_REQUIRE([AC_CANONICAL_BUILD])dnl m4_ifval([$1], [], [AC_FATAL([$0: no target-file-list given])])dnl m4_ifval([$2], [], [AC_FATAL([$0: no platform-list given])])dnl AC_FOREACH([TargetFile], [$1], [AC_FOREACH([Ext], [$2], [m4_if(Ext, [NONE], , [AC_LIBSOURCE(TargetFile[]Ext)])])])dnl AC_MSG_CHECKING([platform-specific source for file(s) $1]) _star_tmp= for platform in $2 do if test $platform = NONE; then # Special case -- no file required _star_tmp=NONE break; fi if test $platform = default; then _star_tmp=default break; fi if expr $build : `echo $platform | sed 's/_/.*-/g'` >/dev/null; then _star_tmp=$platform break; fi done if test -z "$_star_tmp"; then # Use default, but it wasn't listed in the platform-list # (though it should have been) AC_MSG_WARN([build platform $build does not match any of ($2): using `default']) _star_tmp=default fi if test $_star_tmp = NONE; then AC_MSG_RESULT([none required]) else AC_MSG_RESULT([using $_star_tmp]) for _t in $1 do if test -f $srcdir/$_t$_star_tmp; then (cd $srcdir; rm -f $_t; cp -p $_t$_star_tmp $_t) else AC_MSG_WARN([platform $_star_tmp matched, but no file $_t$_star_tmp found]) fi done fi ])# STAR_PLATFORM_SOURCES # STAR_INITIALISE_FORTRAN_RTL # --------------------------- # # Define a macro which can be used in a C main program to initialise the # Fortran RTL, including, for example, doing whatever work is required so that # the Fortran getarg() function works. This defines the macro # STAR_INITIALISE_FORTRAN(argc,argv). The implementation necessarily uses # functions which are specific to the Fortran implementation, and the body of # this macro is basically a switch to determine the compiler and thus the # appropriate compiler-specific magic. If no implementation is available, # then the macro should expand to nothing. # # Note that the Starlink functions wrapping getarg() are robust against # getarg() failing because this information is not available. This function # is nonetheless necessary because some platforms have link problems otherwise # (specifically OSX, on which the most readily available compiler is g77, # cannot link properly if the getarg() function is referenced by a library, # but there is a C main function, so that the Fortran main function's call of # f_setarg is omitted). Thus it is generally harmless to leave this function # unimplemented on those platforms which do not have these link problems, and # it is harmless that the test below is extremely compiler specific (though we # would probably have to add implementations for any other compilers used on # OSX). It's also generally harmless not to call the defined function, or # invoke this macro, if your application doesn't have the link problems which # makeit necessary, though of course calling it will make getarg() work where # it otherwise wouldn't, which may be an advantage. # # All was well until g95 and gfortran, these are "gnu" compilers, but use # different semantics. In the case of g95 the calling the startup code is not # optional (docs say that heap initialisation relies on the startup call). # # The test for g95 relies on the output from `g95 --version' containing the # string "G95". Gfortran requires "GNU Fortran (GCC) 4+.x[x].x[x]". Note that # this whole area probably needs rethinking as g95 also has a g95_runtime_stop() # function, that should be called. # # At gfortran 4.6 the call sequence stopped allowing a NULL argv, so a dummy # version had to be added. The argv[0] value is always de-referenced in an # an attempt to get the program name. # # Intel Fortran needs the for_rtl_init_ function, there is also a # for_rtl_finish_ to run during closedown. The intel compiler signature # is to have "IFORT" in the --version string. # # Under Solaris and the studio compilers the argc and argv values are no # longer automatically shared, so we test for "Sun Fortran" and have a # code section that copies the given argc and argv directly to the global # variable __xargc and __xargv, this may need fixing from time to time. # Doesn't seem to be a function for doing this job. # AC_DEFUN([STAR_INITIALISE_FORTRAN_RTL], [AC_CACHE_CHECK([how to initialise the Fortran RTL], [star_cv_initialise_fortran], [AC_REQUIRE([AC_PROG_FC]) if test "$ac_cv_fc_compiler_gnu" = yes; then if "$FC" --version 2>&1 < /dev/null | grep 'G95' > /dev/null; then star_cv_initialise_fortran=g95-start elif "$FC" --version 2>&1 < /dev/null | grep 'GNU Fortran.*[[4-9]]\.[[0-9]][[0-9]]*\.[[0-9]][[0-9]]*' > /dev/null; then star_cv_initialise_fortran=gfortran-setarg else star_cv_initialise_fortran=g77-setarg fi else if "$FC" --version 2>&1 < /dev/null | grep 'IFORT' > /dev/null; then star_cv_initialise_fortran=ifort-setarg elif "$FC" -V 2>&1 < /dev/null | grep 'Sun Fortran' > /dev/null; then star_cv_initialise_fortran=sunstudio-setarg else star_cv_initialise_fortran= fi fi]) AH_TEMPLATE([STAR_INITIALISE_FORTRAN], [Define to a function call which will initialise the Fortran RTL]) case "$star_cv_initialise_fortran" in g77-setarg) AC_DEFINE([STAR_INITIALISE_FORTRAN(argc,argv)], [{extern void f_setarg(int,char**); f_setarg(argc, argv);}]) ;; g95-start) AC_DEFINE([STAR_INITIALISE_FORTRAN(argc,argv)], [{extern void g95_runtime_start(int,char**); g95_runtime_start(argc, argv);}]) ;; gfortran-setarg) AC_DEFINE([STAR_INITIALISE_FORTRAN(argc,argv)], [{extern void _gfortran_set_args(int,char**); if (argv == NULL) {static char *sc_dummy[[]]={NULL};_gfortran_set_args(0,sc_dummy);} else {_gfortran_set_args(argc,argv);}}]) ;; ifort-setarg) AC_DEFINE([STAR_INITIALISE_FORTRAN(argc,argv)], [{extern void for_rtl_init_(int*,char**); for_rtl_init_(&argc, argv);}]) ;; sunstudio-setarg) AC_DEFINE([STAR_INITIALISE_FORTRAN(argc,argv)], [{extern int __xargc; extern char **__xargv;__xargc = argc;__xargv = argv;}]) ;; *) AC_DEFINE([STAR_INITIALISE_FORTRAN(argc,argv)],[]) ;; esac dnl AC_DEFINE_UNQUOTED([STAR_INITIALISE_FORTRAN(argc,argv)], dnl $star_cv_initialise_fortran) ])# STAR_INITIALISE_FORTRAN # STAR_SUPPRESS_BUILD_IF(test, message) # ------------------------------------- # Call once at the end of the configure script. # # If the given shell test evaluates to true, then suppress the build, # without having ./configure fail. The test is any command which # returns true if the build should be suppressed, and may be shell # commands `true' or `false', or might be a more complicated test, # such as `test -n "$SOMEENV"'. # # The macro communicates with the generated Makefile.in by creating a file # STAR_SUPPRESS_BUILD if the test evaluates to true. The file contains # the text of the explanation. AC_DEFUN([STAR_SUPPRESS_BUILD_IF], [m4_ifval([$1], [], [AC_FATAL([$0: needs two arguments])])dnl m4_ifval([$2], [], [AC_FATAL([$0: needs two arguments])])dnl rm -f STAR_SUPPRESS_BUILD if [$1]; then AC_MSG_WARN([Build inhibited: $2]) echo "$2" >STAR_SUPPRESS_BUILD ALL_TARGET=all-am-suppress else ALL_TARGET=all-am-normal fi AC_SUBST(ALL_TARGET) ])# STAR_SUPPRESS_BUILD_IF # starconf internal macros # _STAR_UPCASE(string) # -------------------- # Expands to STRING with all letters translated to uppercase. AC_DEFUN([_STAR_UPCASE], [m4_translit([$1], [a-z], [A-Z])]) # _STAR_EXTRADIR_COMMON(dir-type, file-list) # ------------------------------------------ # # Common handler for STAR_HELP_FILES, etc. DIR-TYPE is one of # # help, etc, docs, examples # # and `FILE-LIST' is a list of files to be installed in # the directory STAR_[DIR-TYPE]_DIR. This works by defining and # AC_SUBSTing the variables `starX_DATA for X=dir-type (eg, `stardocs_DATA'). # # This is now obsolete -- components should use star_DATA in # the Makefile.am file instead. Don't use AC_[]DIAGNOSE([obsolete],...), # since those warnings aren't turned on by default. AC_DEFUN([_STAR_EXTRADIR_COMMON], [AC_FATAL([Macro STAR_]_STAR_UPCASE($1)[_FILES($2) is obsolete -- use star$1_DATA in Makefile.am instead]) AC_FATAL([For STAR@&t@_LATEX_DOCUMENTATION, use stardocs_DATA=@STAR@&t@_LATEX_DOCUMENTATION@ instead])] )# _STAR_EXTRADIR_COMMON # STAR_LARGEFILE_SUPPORT # ---------------------- # # Set C macros for compiling C routines that want to make use of large file # support. This is a joining of AC_SYS_LARGEFILE and AC_FUNC_FSEEKO # so defines the macros _FILE_OFFSET_BITS, _LARGEFILE_SOURCE and _LARGE_FILES, # along with HAVE_FSEEKO. To use large file support you need to use fseeko and # ftello when HAVE_FSEEKO is defined (and use off_t for offsets) and compile # all C code with the other defines. # # This function also gathers the values of _FILE_OFFSET_BITS, _LARGEFILE_SOURCE # and _LARGE_FILES and sets the STAR_LARGEFILE_CFLAGS variable (this in useful # for passing to packages which are not directly part of the starconf system). # AC_DEFUN([STAR_LARGEFILE_SUPPORT], [dnl Enable autoconf largefile support. AC_SYS_LARGEFILE AC_FUNC_FSEEKO # Gather state into a single variable for passing to other packages. STAR_LARGEFILE_CFLAGS= if test "$ac_cv_sys_file_offset_bits" != "no"; then STAR_LARGEFILE_CFLAGS="-D_FILE_OFFSET_BITS=$ac_cv_sys_file_offset_bits" fi if test "$ac_cv_sys_large_files" != "no"; then STAR_LARGEFILE_CFLAGS="-D_LARGE_FILES_=$ac_cv_sys_large_files $STAR_LARGEFILE_CFLAGS" fi if test "$ac_cv_sys_largefile_source" != "no"; then STAR_LARGEFILE_CFLAGS="-D_LARGEFILE_SOURCE=$ac_cv_sys_largefile_source $STAR_LARGEFILE_CFLAGS" fi ])# STAR_LARGEFILE_SUPPORT # Obsolete macros # =============== # STAR_HAVE_FC_OPEN_READONLY # --------------------------- # # Tests if the Fortran compiler supports the READONLY option on the # OPEN command. If it does, it defines HAVE_FC_OPEN_READONLY to 1. AC_DEFUN([STAR_HAVE_FC_OPEN_READONLY], [AC_FATAL([Macro STAR_HAVE_FC_OPEN_READONLY is obsolete; use AC_FC_OPEN_SPECIFIERS(readonly) instead])]) # STAR_FC_LIBRARY_LDFLAGS # ----------------------- # # This was once a wrapper for AC_[]FC_LIBRARY_LDFLAGS which added # functionality, use AC_[]FC_LIBRARY_LDFLAGS instead. AC_DEFUN([STAR_FC_LIBRARY_LDFLAGS], [AC_FATAL([Macro STAR_FC_LIBRARY_LDFLAGS is obsolete: if necessary, use standard AC_FC_LIBRARY_LDFLAGS instead])]) # end of starconf macros # Copyright (C) 2002-2013 Free Software Foundation, Inc. # # This file is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. # AM_AUTOMAKE_VERSION(VERSION) # ---------------------------- # Automake X.Y traces this macro to ensure aclocal.m4 has been # generated from the m4 files accompanying Automake X.Y. # (This private macro should not be called outside this file.) AC_DEFUN([AM_AUTOMAKE_VERSION], [am__api_version='1.14' dnl Some users find AM_AUTOMAKE_VERSION and mistake it for a way to dnl require some minimum version. Point them to the right macro. m4_if([$1], [1.14.1-starlink], [], [AC_FATAL([Do not call $0, use AM_INIT_AUTOMAKE([$1]).])])dnl ]) # _AM_AUTOCONF_VERSION(VERSION) # ----------------------------- # aclocal traces this macro to find the Autoconf version. # This is a private macro too. Using m4_define simplifies # the logic in aclocal, which can simply ignore this definition. m4_define([_AM_AUTOCONF_VERSION], []) # AM_SET_CURRENT_AUTOMAKE_VERSION # ------------------------------- # Call AM_AUTOMAKE_VERSION and AM_AUTOMAKE_VERSION so they can be traced. # This function is AC_REQUIREd by AM_INIT_AUTOMAKE. AC_DEFUN([AM_SET_CURRENT_AUTOMAKE_VERSION], [AM_AUTOMAKE_VERSION([1.14.1-starlink])dnl m4_ifndef([AC_AUTOCONF_VERSION], [m4_copy([m4_PACKAGE_VERSION], [AC_AUTOCONF_VERSION])])dnl _AM_AUTOCONF_VERSION(m4_defn([AC_AUTOCONF_VERSION]))]) # AM_AUX_DIR_EXPAND -*- Autoconf -*- # Copyright (C) 2001-2013 Free Software Foundation, Inc. # # This file is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. # For projects using AC_CONFIG_AUX_DIR([foo]), Autoconf sets # $ac_aux_dir to '$srcdir/foo'. In other projects, it is set to # '$srcdir', '$srcdir/..', or '$srcdir/../..'. # # Of course, Automake must honor this variable whenever it calls a # tool from the auxiliary directory. The problem is that $srcdir (and # therefore $ac_aux_dir as well) can be either absolute or relative, # depending on how configure is run. This is pretty annoying, since # it makes $ac_aux_dir quite unusable in subdirectories: in the top # source directory, any form will work fine, but in subdirectories a # relative path needs to be adjusted first. # # $ac_aux_dir/missing # fails when called from a subdirectory if $ac_aux_dir is relative # $top_srcdir/$ac_aux_dir/missing # fails if $ac_aux_dir is absolute, # fails when called from a subdirectory in a VPATH build with # a relative $ac_aux_dir # # The reason of the latter failure is that $top_srcdir and $ac_aux_dir # are both prefixed by $srcdir. In an in-source build this is usually # harmless because $srcdir is '.', but things will broke when you # start a VPATH build or use an absolute $srcdir. # # So we could use something similar to $top_srcdir/$ac_aux_dir/missing, # iff we strip the leading $srcdir from $ac_aux_dir. That would be: # am_aux_dir='\$(top_srcdir)/'`expr "$ac_aux_dir" : "$srcdir//*\(.*\)"` # and then we would define $MISSING as # MISSING="\${SHELL} $am_aux_dir/missing" # This will work as long as MISSING is not called from configure, because # unfortunately $(top_srcdir) has no meaning in configure. # However there are other variables, like CC, which are often used in # configure, and could therefore not use this "fixed" $ac_aux_dir. # # Another solution, used here, is to always expand $ac_aux_dir to an # absolute PATH. The drawback is that using absolute paths prevent a # configured tree to be moved without reconfiguration. AC_DEFUN([AM_AUX_DIR_EXPAND], [dnl Rely on autoconf to set up CDPATH properly. AC_PREREQ([2.50])dnl # expand $ac_aux_dir to an absolute path am_aux_dir=`cd $ac_aux_dir && pwd` ]) # AM_CONDITIONAL -*- Autoconf -*- # Copyright (C) 1997-2013 Free Software Foundation, Inc. # # This file is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. # AM_CONDITIONAL(NAME, SHELL-CONDITION) # ------------------------------------- # Define a conditional. AC_DEFUN([AM_CONDITIONAL], [AC_PREREQ([2.52])dnl m4_if([$1], [TRUE], [AC_FATAL([$0: invalid condition: $1])], [$1], [FALSE], [AC_FATAL([$0: invalid condition: $1])])dnl AC_SUBST([$1_TRUE])dnl AC_SUBST([$1_FALSE])dnl _AM_SUBST_NOTMAKE([$1_TRUE])dnl _AM_SUBST_NOTMAKE([$1_FALSE])dnl m4_define([_AM_COND_VALUE_$1], [$2])dnl if $2; then $1_TRUE= $1_FALSE='#' else $1_TRUE='#' $1_FALSE= fi AC_CONFIG_COMMANDS_PRE( [if test -z "${$1_TRUE}" && test -z "${$1_FALSE}"; then AC_MSG_ERROR([[conditional "$1" was never defined. Usually this means the macro was only invoked conditionally.]]) fi])]) # Copyright (C) 1999-2013 Free Software Foundation, Inc. # # This file is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. # There are a few dirty hacks below to avoid letting 'AC_PROG_CC' be # written in clear, in which case automake, when reading aclocal.m4, # will think it sees a *use*, and therefore will trigger all it's # C support machinery. Also note that it means that autoscan, seeing # CC etc. in the Makefile, will ask for an AC_PROG_CC use... # _AM_DEPENDENCIES(NAME) # ---------------------- # See how the compiler implements dependency checking. # NAME is "CC", "CXX", "OBJC", "OBJCXX", "UPC", or "GJC". # We try a few techniques and use that to set a single cache variable. # # We don't AC_REQUIRE the corresponding AC_PROG_CC since the latter was # modified to invoke _AM_DEPENDENCIES(CC); we would have a circular # dependency, and given that the user is not expected to run this macro, # just rely on AC_PROG_CC. AC_DEFUN([_AM_DEPENDENCIES], [AC_REQUIRE([AM_SET_DEPDIR])dnl AC_REQUIRE([AM_OUTPUT_DEPENDENCY_COMMANDS])dnl AC_REQUIRE([AM_MAKE_INCLUDE])dnl AC_REQUIRE([AM_DEP_TRACK])dnl m4_if([$1], [CC], [depcc="$CC" am_compiler_list=], [$1], [CXX], [depcc="$CXX" am_compiler_list=], [$1], [OBJC], [depcc="$OBJC" am_compiler_list='gcc3 gcc'], [$1], [OBJCXX], [depcc="$OBJCXX" am_compiler_list='gcc3 gcc'], [$1], [UPC], [depcc="$UPC" am_compiler_list=], [$1], [GCJ], [depcc="$GCJ" am_compiler_list='gcc3 gcc'], [depcc="$$1" am_compiler_list=]) AC_CACHE_CHECK([dependency style of $depcc], [am_cv_$1_dependencies_compiler_type], [if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then # We make a subdir and do the tests there. Otherwise we can end up # making bogus files that we don't know about and never remove. For # instance it was reported that on HP-UX the gcc test will end up # making a dummy file named 'D' -- because '-MD' means "put the output # in D". rm -rf conftest.dir mkdir conftest.dir # Copy depcomp to subdir because otherwise we won't find it if we're # using a relative directory. cp "$am_depcomp" conftest.dir cd conftest.dir # We will build objects and dependencies in a subdirectory because # it helps to detect inapplicable dependency modes. For instance # both Tru64's cc and ICC support -MD to output dependencies as a # side effect of compilation, but ICC will put the dependencies in # the current directory while Tru64 will put them in the object # directory. mkdir sub am_cv_$1_dependencies_compiler_type=none if test "$am_compiler_list" = ""; then am_compiler_list=`sed -n ['s/^#*\([a-zA-Z0-9]*\))$/\1/p'] < ./depcomp` fi am__universal=false m4_case([$1], [CC], [case " $depcc " in #( *\ -arch\ *\ -arch\ *) am__universal=true ;; esac], [CXX], [case " $depcc " in #( *\ -arch\ *\ -arch\ *) am__universal=true ;; esac]) for depmode in $am_compiler_list; do # Setup a source with many dependencies, because some compilers # like to wrap large dependency lists on column 80 (with \), and # we should not choose a depcomp mode which is confused by this. # # We need to recreate these files for each test, as the compiler may # overwrite some of them when testing with obscure command lines. # This happens at least with the AIX C compiler. : > sub/conftest.c for i in 1 2 3 4 5 6; do echo '#include "conftst'$i'.h"' >> sub/conftest.c # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with # Solaris 10 /bin/sh. echo '/* dummy */' > sub/conftst$i.h done echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf # We check with '-c' and '-o' for the sake of the "dashmstdout" # mode. It turns out that the SunPro C++ compiler does not properly # handle '-M -o', and we need to detect this. Also, some Intel # versions had trouble with output in subdirs. am__obj=sub/conftest.${OBJEXT-o} am__minus_obj="-o $am__obj" case $depmode in gcc) # This depmode causes a compiler race in universal mode. test "$am__universal" = false || continue ;; nosideeffect) # After this tag, mechanisms are not by side-effect, so they'll # only be used when explicitly requested. if test "x$enable_dependency_tracking" = xyes; then continue else break fi ;; msvc7 | msvc7msys | msvisualcpp | msvcmsys) # This compiler won't grok '-c -o', but also, the minuso test has # not run yet. These depmodes are late enough in the game, and # so weak that their functioning should not be impacted. am__obj=conftest.${OBJEXT-o} am__minus_obj= ;; none) break ;; esac if depmode=$depmode \ source=sub/conftest.c object=$am__obj \ depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \ $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \ >/dev/null 2>conftest.err && grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 && grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 && grep $am__obj sub/conftest.Po > /dev/null 2>&1 && ${MAKE-make} -s -f confmf > /dev/null 2>&1; then # icc doesn't choke on unknown options, it will just issue warnings # or remarks (even with -Werror). So we grep stderr for any message # that says an option was ignored or not supported. # When given -MP, icc 7.0 and 7.1 complain thusly: # icc: Command line warning: ignoring option '-M'; no argument required # The diagnosis changed in icc 8.0: # icc: Command line remark: option '-MP' not supported if (grep 'ignoring option' conftest.err || grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else am_cv_$1_dependencies_compiler_type=$depmode break fi fi done cd .. rm -rf conftest.dir else am_cv_$1_dependencies_compiler_type=none fi ]) AC_SUBST([$1DEPMODE], [depmode=$am_cv_$1_dependencies_compiler_type]) AM_CONDITIONAL([am__fastdep$1], [ test "x$enable_dependency_tracking" != xno \ && test "$am_cv_$1_dependencies_compiler_type" = gcc3]) ]) # AM_SET_DEPDIR # ------------- # Choose a directory name for dependency files. # This macro is AC_REQUIREd in _AM_DEPENDENCIES. AC_DEFUN([AM_SET_DEPDIR], [AC_REQUIRE([AM_SET_LEADING_DOT])dnl AC_SUBST([DEPDIR], ["${am__leading_dot}deps"])dnl ]) # AM_DEP_TRACK # ------------ AC_DEFUN([AM_DEP_TRACK], [AC_ARG_ENABLE([dependency-tracking], [dnl AS_HELP_STRING( [--enable-dependency-tracking], [do not reject slow dependency extractors]) AS_HELP_STRING( [--disable-dependency-tracking], [speeds up one-time build])]) if test "x$enable_dependency_tracking" != xno; then am_depcomp="$ac_aux_dir/depcomp" AMDEPBACKSLASH='\' am__nodep='_no' fi AM_CONDITIONAL([AMDEP], [test "x$enable_dependency_tracking" != xno]) AC_SUBST([AMDEPBACKSLASH])dnl _AM_SUBST_NOTMAKE([AMDEPBACKSLASH])dnl AC_SUBST([am__nodep])dnl _AM_SUBST_NOTMAKE([am__nodep])dnl ]) # Generate code to set up dependency tracking. -*- Autoconf -*- # Copyright (C) 1999-2013 Free Software Foundation, Inc. # # This file is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. # _AM_OUTPUT_DEPENDENCY_COMMANDS # ------------------------------ AC_DEFUN([_AM_OUTPUT_DEPENDENCY_COMMANDS], [{ # Older Autoconf quotes --file arguments for eval, but not when files # are listed without --file. Let's play safe and only enable the eval # if we detect the quoting. case $CONFIG_FILES in *\'*) eval set x "$CONFIG_FILES" ;; *) set x $CONFIG_FILES ;; esac shift for mf do # Strip MF so we end up with the name of the file. mf=`echo "$mf" | sed -e 's/:.*$//'` # Check whether this is an Automake generated Makefile or not. # We used to match only the files named 'Makefile.in', but # some people rename them; so instead we look at the file content. # Grep'ing the first line is not enough: some people post-process # each Makefile.in and add a new line on top of each file to say so. # Grep'ing the whole file is not good either: AIX grep has a line # limit of 2048, but all sed's we know have understand at least 4000. if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then dirpart=`AS_DIRNAME("$mf")` else continue fi # Extract the definition of DEPDIR, am__include, and am__quote # from the Makefile without running 'make'. DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"` test -z "$DEPDIR" && continue am__include=`sed -n 's/^am__include = //p' < "$mf"` test -z "$am__include" && continue am__quote=`sed -n 's/^am__quote = //p' < "$mf"` # Find all dependency output files, they are included files with # $(DEPDIR) in their names. We invoke sed twice because it is the # simplest approach to changing $(DEPDIR) to its actual value in the # expansion. for file in `sed -n " s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \ sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g'`; do # Make sure the directory exists. test -f "$dirpart/$file" && continue fdir=`AS_DIRNAME(["$file"])` AS_MKDIR_P([$dirpart/$fdir]) # echo "creating $dirpart/$file" echo '# dummy' > "$dirpart/$file" done done } ])# _AM_OUTPUT_DEPENDENCY_COMMANDS # AM_OUTPUT_DEPENDENCY_COMMANDS # ----------------------------- # This macro should only be invoked once -- use via AC_REQUIRE. # # This code is only required when automatic dependency tracking # is enabled. FIXME. This creates each '.P' file that we will # need in order to bootstrap the dependency handling code. AC_DEFUN([AM_OUTPUT_DEPENDENCY_COMMANDS], [AC_CONFIG_COMMANDS([depfiles], [test x"$AMDEP_TRUE" != x"" || _AM_OUTPUT_DEPENDENCY_COMMANDS], [AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"]) ]) # Do all the work for Automake. -*- Autoconf -*- # Copyright (C) 1996-2013 Free Software Foundation, Inc. # # This file is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. # This macro actually does too much. Some checks are only needed if # your package does certain things. But this isn't really a big deal. dnl Redefine AC_PROG_CC to automatically invoke _AM_PROG_CC_C_O. m4_define([AC_PROG_CC], m4_defn([AC_PROG_CC]) [_AM_PROG_CC_C_O ]) # AM_INIT_AUTOMAKE(PACKAGE, VERSION, [NO-DEFINE]) # AM_INIT_AUTOMAKE([OPTIONS]) # ----------------------------------------------- # The call with PACKAGE and VERSION arguments is the old style # call (pre autoconf-2.50), which is being phased out. PACKAGE # and VERSION should now be passed to AC_INIT and removed from # the call to AM_INIT_AUTOMAKE. # We support both call styles for the transition. After # the next Automake release, Autoconf can make the AC_INIT # arguments mandatory, and then we can depend on a new Autoconf # release and drop the old call support. AC_DEFUN([AM_INIT_AUTOMAKE], [AC_PREREQ([2.65])dnl dnl Autoconf wants to disallow AM_ names. We explicitly allow dnl the ones we care about. m4_pattern_allow([^AM_[A-Z]+FLAGS$])dnl AC_REQUIRE([AM_SET_CURRENT_AUTOMAKE_VERSION])dnl AC_REQUIRE([AC_PROG_INSTALL])dnl if test "`cd $srcdir && pwd`" != "`pwd`"; then # Use -I$(srcdir) only when $(srcdir) != ., so that make's output # is not polluted with repeated "-I." AC_SUBST([am__isrc], [' -I$(srcdir)'])_AM_SUBST_NOTMAKE([am__isrc])dnl # test to see if srcdir already configured if test -f $srcdir/config.status; then AC_MSG_ERROR([source directory already configured; run "make distclean" there first]) fi fi # test whether we have cygpath if test -z "$CYGPATH_W"; then if (cygpath --version) >/dev/null 2>/dev/null; then CYGPATH_W='cygpath -w' else CYGPATH_W=echo fi fi AC_SUBST([CYGPATH_W]) # Define the identity of the package. dnl Distinguish between old-style and new-style calls. m4_ifval([$2], [AC_DIAGNOSE([obsolete], [$0: two- and three-arguments forms are deprecated.]) m4_ifval([$3], [_AM_SET_OPTION([no-define])])dnl AC_SUBST([PACKAGE], [$1])dnl AC_SUBST([VERSION], [$2])], [_AM_SET_OPTIONS([$1])dnl dnl Diagnose old-style AC_INIT with new-style AM_AUTOMAKE_INIT. m4_if( m4_ifdef([AC_PACKAGE_NAME], [ok]):m4_ifdef([AC_PACKAGE_VERSION], [ok]), [ok:ok],, [m4_fatal([AC_INIT should be called with package and version arguments])])dnl AC_SUBST([PACKAGE], ['AC_PACKAGE_TARNAME'])dnl AC_SUBST([VERSION], ['AC_PACKAGE_VERSION'])])dnl _AM_IF_OPTION([no-define],, [AC_DEFINE_UNQUOTED([PACKAGE], ["$PACKAGE"], [Name of package]) AC_DEFINE_UNQUOTED([VERSION], ["$VERSION"], [Version number of package])])dnl # Some tools Automake needs. AC_REQUIRE([AM_SANITY_CHECK])dnl AC_REQUIRE([AC_ARG_PROGRAM])dnl AM_MISSING_PROG([ACLOCAL], [aclocal-${am__api_version}]) AM_MISSING_PROG([AUTOCONF], [autoconf]) AM_MISSING_PROG([AUTOMAKE], [automake-${am__api_version}]) AM_MISSING_PROG([AUTOHEADER], [autoheader]) AM_MISSING_PROG([MAKEINFO], [makeinfo]) AC_REQUIRE([AM_PROG_INSTALL_SH])dnl AC_REQUIRE([AM_PROG_INSTALL_STRIP])dnl AC_REQUIRE([AC_PROG_MKDIR_P])dnl # For better backward compatibility. To be removed once Automake 1.9.x # dies out for good. For more background, see: # # AC_SUBST([mkdir_p], ['$(MKDIR_P)']) # We need awk for the "check" target. The system "awk" is bad on # some platforms. AC_REQUIRE([AC_PROG_AWK])dnl AC_REQUIRE([AC_PROG_MAKE_SET])dnl AC_REQUIRE([AM_SET_LEADING_DOT])dnl _AM_IF_OPTION([tar-ustar], [_AM_PROG_TAR([ustar])], [_AM_IF_OPTION([tar-pax], [_AM_PROG_TAR([pax])], [_AM_PROG_TAR([v7])])]) _AM_IF_OPTION([no-dependencies],, [AC_PROVIDE_IFELSE([AC_PROG_CC], [_AM_DEPENDENCIES([CC])], [m4_define([AC_PROG_CC], m4_defn([AC_PROG_CC])[_AM_DEPENDENCIES([CC])])])dnl AC_PROVIDE_IFELSE([AC_PROG_CXX], [_AM_DEPENDENCIES([CXX])], [m4_define([AC_PROG_CXX], m4_defn([AC_PROG_CXX])[_AM_DEPENDENCIES([CXX])])])dnl AC_PROVIDE_IFELSE([AC_PROG_OBJC], [_AM_DEPENDENCIES([OBJC])], [m4_define([AC_PROG_OBJC], m4_defn([AC_PROG_OBJC])[_AM_DEPENDENCIES([OBJC])])])dnl AC_PROVIDE_IFELSE([AC_PROG_OBJCXX], [_AM_DEPENDENCIES([OBJCXX])], [m4_define([AC_PROG_OBJCXX], m4_defn([AC_PROG_OBJCXX])[_AM_DEPENDENCIES([OBJCXX])])])dnl ]) AC_REQUIRE([AM_SILENT_RULES])dnl dnl The testsuite driver may need to know about EXEEXT, so add the dnl 'am__EXEEXT' conditional if _AM_COMPILER_EXEEXT was seen. This dnl macro is hooked onto _AC_COMPILER_EXEEXT early, see below. AC_CONFIG_COMMANDS_PRE(dnl [m4_provide_if([_AM_COMPILER_EXEEXT], [AM_CONDITIONAL([am__EXEEXT], [test -n "$EXEEXT"])])])dnl # POSIX will say in a future version that running "rm -f" with no argument # is OK; and we want to be able to make that assumption in our Makefile # recipes. So use an aggressive probe to check that the usage we want is # actually supported "in the wild" to an acceptable degree. # See automake bug#10828. # To make any issue more visible, cause the running configure to be aborted # by default if the 'rm' program in use doesn't match our expectations; the # user can still override this though. if rm -f && rm -fr && rm -rf; then : OK; else cat >&2 <<'END' Oops! Your 'rm' program seems unable to run without file operands specified on the command line, even when the '-f' option is present. This is contrary to the behaviour of most rm programs out there, and not conforming with the upcoming POSIX standard: Please tell bug-automake@gnu.org about your system, including the value of your $PATH and any error possibly output before this message. This can help us improve future automake versions. END if test x"$ACCEPT_INFERIOR_RM_PROGRAM" = x"yes"; then echo 'Configuration will proceed anyway, since you have set the' >&2 echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2 echo >&2 else cat >&2 <<'END' Aborting the configuration process, to ensure you take notice of the issue. You can download and install GNU coreutils to get an 'rm' implementation that behaves properly: . If you want to complete the configuration process using your problematic 'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM to "yes", and re-run configure. END AC_MSG_ERROR([Your 'rm' program is bad, sorry.]) fi fi]) dnl Hook into '_AC_COMPILER_EXEEXT' early to learn its expansion. Do not dnl add the conditional right here, as _AC_COMPILER_EXEEXT may be further dnl mangled by Autoconf and run in a shell conditional statement. m4_define([_AC_COMPILER_EXEEXT], m4_defn([_AC_COMPILER_EXEEXT])[m4_provide([_AM_COMPILER_EXEEXT])]) # When config.status generates a header, we must update the stamp-h file. # This file resides in the same directory as the config header # that is generated. The stamp files are numbered to have different names. # Autoconf calls _AC_AM_CONFIG_HEADER_HOOK (when defined) in the # loop where config.status creates the headers, so we can generate # our stamp files there. AC_DEFUN([_AC_AM_CONFIG_HEADER_HOOK], [# Compute $1's index in $config_headers. _am_arg=$1 _am_stamp_count=1 for _am_header in $config_headers :; do case $_am_header in $_am_arg | $_am_arg:* ) break ;; * ) _am_stamp_count=`expr $_am_stamp_count + 1` ;; esac done echo "timestamp for $_am_arg" >`AS_DIRNAME(["$_am_arg"])`/stamp-h[]$_am_stamp_count]) # Copyright (C) 2001-2013 Free Software Foundation, Inc. # # This file is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. # AM_PROG_INSTALL_SH # ------------------ # Define $install_sh. AC_DEFUN([AM_PROG_INSTALL_SH], [AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl if test x"${install_sh}" != xset; then case $am_aux_dir in *\ * | *\ *) install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;; *) install_sh="\${SHELL} $am_aux_dir/install-sh" esac fi AC_SUBST([install_sh])]) # Copyright (C) 2003-2013 Free Software Foundation, Inc. # # This file is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. # Check whether the underlying file-system supports filenames # with a leading dot. For instance MS-DOS doesn't. AC_DEFUN([AM_SET_LEADING_DOT], [rm -rf .tst 2>/dev/null mkdir .tst 2>/dev/null if test -d .tst; then am__leading_dot=. else am__leading_dot=_ fi rmdir .tst 2>/dev/null AC_SUBST([am__leading_dot])]) # Check to see how 'make' treats includes. -*- Autoconf -*- # Copyright (C) 2001-2013 Free Software Foundation, Inc. # # This file is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. # AM_MAKE_INCLUDE() # ----------------- # Check to see how make treats includes. AC_DEFUN([AM_MAKE_INCLUDE], [am_make=${MAKE-make} cat > confinc << 'END' am__doit: @echo this is the am__doit target .PHONY: am__doit END # If we don't find an include directive, just comment out the code. AC_MSG_CHECKING([for style of include used by $am_make]) am__include="#" am__quote= _am_result=none # First try GNU make style include. echo "include confinc" > confmf # Ignore all kinds of additional output from 'make'. case `$am_make -s -f confmf 2> /dev/null` in #( *the\ am__doit\ target*) am__include=include am__quote= _am_result=GNU ;; esac # Now try BSD make style include. if test "$am__include" = "#"; then echo '.include "confinc"' > confmf case `$am_make -s -f confmf 2> /dev/null` in #( *the\ am__doit\ target*) am__include=.include am__quote="\"" _am_result=BSD ;; esac fi AC_SUBST([am__include]) AC_SUBST([am__quote]) AC_MSG_RESULT([$_am_result]) rm -f confinc confmf ]) # Fake the existence of programs that GNU maintainers use. -*- Autoconf -*- # Copyright (C) 1997-2013 Free Software Foundation, Inc. # # This file is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. # AM_MISSING_PROG(NAME, PROGRAM) # ------------------------------ AC_DEFUN([AM_MISSING_PROG], [AC_REQUIRE([AM_MISSING_HAS_RUN]) $1=${$1-"${am_missing_run}$2"} AC_SUBST($1)]) # AM_MISSING_HAS_RUN # ------------------ # Define MISSING if not defined so far and test if it is modern enough. # If it is, set am_missing_run to use it, otherwise, to nothing. AC_DEFUN([AM_MISSING_HAS_RUN], [AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl AC_REQUIRE_AUX_FILE([missing])dnl if test x"${MISSING+set}" != xset; then case $am_aux_dir in *\ * | *\ *) MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;; *) MISSING="\${SHELL} $am_aux_dir/missing" ;; esac fi # Use eval to expand $SHELL if eval "$MISSING --is-lightweight"; then am_missing_run="$MISSING " else am_missing_run= AC_MSG_WARN(['missing' script is too old or missing]) fi ]) # Helper functions for option handling. -*- Autoconf -*- # Copyright (C) 2001-2013 Free Software Foundation, Inc. # # This file is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. # _AM_MANGLE_OPTION(NAME) # ----------------------- AC_DEFUN([_AM_MANGLE_OPTION], [[_AM_OPTION_]m4_bpatsubst($1, [[^a-zA-Z0-9_]], [_])]) # _AM_SET_OPTION(NAME) # -------------------- # Set option NAME. Presently that only means defining a flag for this option. AC_DEFUN([_AM_SET_OPTION], [m4_define(_AM_MANGLE_OPTION([$1]), [1])]) # _AM_SET_OPTIONS(OPTIONS) # ------------------------ # OPTIONS is a space-separated list of Automake options. AC_DEFUN([_AM_SET_OPTIONS], [m4_foreach_w([_AM_Option], [$1], [_AM_SET_OPTION(_AM_Option)])]) # _AM_IF_OPTION(OPTION, IF-SET, [IF-NOT-SET]) # ------------------------------------------- # Execute IF-SET if OPTION is set, IF-NOT-SET otherwise. AC_DEFUN([_AM_IF_OPTION], [m4_ifset(_AM_MANGLE_OPTION([$1]), [$2], [$3])]) # Copyright (C) 1999-2013 Free Software Foundation, Inc. # # This file is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. # _AM_PROG_CC_C_O # --------------- # Like AC_PROG_CC_C_O, but changed for automake. We rewrite AC_PROG_CC # to automatically call this. AC_DEFUN([_AM_PROG_CC_C_O], [AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl AC_REQUIRE_AUX_FILE([compile])dnl AC_LANG_PUSH([C])dnl AC_CACHE_CHECK( [whether $CC understands -c and -o together], [am_cv_prog_cc_c_o], [AC_LANG_CONFTEST([AC_LANG_PROGRAM([])]) # Make sure it works both with $CC and with simple cc. # Following AC_PROG_CC_C_O, we do the test twice because some # compilers refuse to overwrite an existing .o file with -o, # though they will create one. am_cv_prog_cc_c_o=yes for am_i in 1 2; do if AM_RUN_LOG([$CC -c conftest.$ac_ext -o conftest2.$ac_objext]) \ && test -f conftest2.$ac_objext; then : OK else am_cv_prog_cc_c_o=no break fi done rm -f core conftest* unset am_i]) if test "$am_cv_prog_cc_c_o" != yes; then # Losing compiler, so override with the script. # FIXME: It is wrong to rewrite CC. # But if we don't then we get into trouble of one sort or another. # A longer-term fix would be to have automake use am__CC in this case, # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)" CC="$am_aux_dir/compile $CC" fi AC_LANG_POP([C])]) # For backward compatibility. AC_DEFUN_ONCE([AM_PROG_CC_C_O], [AC_REQUIRE([AC_PROG_CC])]) # Copyright (C) 2001-2013 Free Software Foundation, Inc. # # This file is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. # AM_RUN_LOG(COMMAND) # ------------------- # Run COMMAND, save the exit status in ac_status, and log it. # (This has been adapted from Autoconf's _AC_RUN_LOG macro.) AC_DEFUN([AM_RUN_LOG], [{ echo "$as_me:$LINENO: $1" >&AS_MESSAGE_LOG_FD ($1) >&AS_MESSAGE_LOG_FD 2>&AS_MESSAGE_LOG_FD ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&AS_MESSAGE_LOG_FD (exit $ac_status); }]) # Check to make sure that the build environment is sane. -*- Autoconf -*- # Copyright (C) 1996-2013 Free Software Foundation, Inc. # # This file is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. # AM_SANITY_CHECK # --------------- AC_DEFUN([AM_SANITY_CHECK], [AC_MSG_CHECKING([whether build environment is sane]) # Reject unsafe characters in $srcdir or the absolute working directory # name. Accept space and tab only in the latter. am_lf=' ' case `pwd` in *[[\\\"\#\$\&\'\`$am_lf]]*) AC_MSG_ERROR([unsafe absolute working directory name]);; esac case $srcdir in *[[\\\"\#\$\&\'\`$am_lf\ \ ]]*) AC_MSG_ERROR([unsafe srcdir value: '$srcdir']);; esac # Do 'set' in a subshell so we don't clobber the current shell's # arguments. Must try -L first in case configure is actually a # symlink; some systems play weird games with the mod time of symlinks # (eg FreeBSD returns the mod time of the symlink's containing # directory). if ( am_has_slept=no for am_try in 1 2; do echo "timestamp, slept: $am_has_slept" > conftest.file set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null` if test "$[*]" = "X"; then # -L didn't work. set X `ls -t "$srcdir/configure" conftest.file` fi if test "$[*]" != "X $srcdir/configure conftest.file" \ && test "$[*]" != "X conftest.file $srcdir/configure"; then # If neither matched, then we have a broken ls. This can happen # if, for instance, CONFIG_SHELL is bash and it inherits a # broken ls alias from the environment. This has actually # happened. Such a system could not be considered "sane". AC_MSG_ERROR([ls -t appears to fail. Make sure there is not a broken alias in your environment]) fi if test "$[2]" = conftest.file || test $am_try -eq 2; then break fi # Just in case. sleep 1 am_has_slept=yes done test "$[2]" = conftest.file ) then # Ok. : else AC_MSG_ERROR([newly created file is older than distributed files! Check your system clock]) fi AC_MSG_RESULT([yes]) # If we didn't sleep, we still need to ensure time stamps of config.status and # generated files are strictly newer. am_sleep_pid= if grep 'slept: no' conftest.file >/dev/null 2>&1; then ( sleep 1 ) & am_sleep_pid=$! fi AC_CONFIG_COMMANDS_PRE( [AC_MSG_CHECKING([that generated files are newer than configure]) if test -n "$am_sleep_pid"; then # Hide warnings about reused PIDs. wait $am_sleep_pid 2>/dev/null fi AC_MSG_RESULT([done])]) rm -f conftest.file ]) # Copyright (C) 2009-2013 Free Software Foundation, Inc. # # This file is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. # AM_SILENT_RULES([DEFAULT]) # -------------------------- # Enable less verbose build rules; with the default set to DEFAULT # ("yes" being less verbose, "no" or empty being verbose). AC_DEFUN([AM_SILENT_RULES], [AC_ARG_ENABLE([silent-rules], [dnl AS_HELP_STRING( [--enable-silent-rules], [less verbose build output (undo: "make V=1")]) AS_HELP_STRING( [--disable-silent-rules], [verbose build output (undo: "make V=0")])dnl ]) case $enable_silent_rules in @%:@ ((( yes) AM_DEFAULT_VERBOSITY=0;; no) AM_DEFAULT_VERBOSITY=1;; *) AM_DEFAULT_VERBOSITY=m4_if([$1], [yes], [0], [1]);; esac dnl dnl A few 'make' implementations (e.g., NonStop OS and NextStep) dnl do not support nested variable expansions. dnl See automake bug#9928 and bug#10237. am_make=${MAKE-make} AC_CACHE_CHECK([whether $am_make supports nested variables], [am_cv_make_support_nested_variables], [if AS_ECHO([['TRUE=$(BAR$(V)) BAR0=false BAR1=true V=1 am__doit: @$(TRUE) .PHONY: am__doit']]) | $am_make -f - >/dev/null 2>&1; then am_cv_make_support_nested_variables=yes else am_cv_make_support_nested_variables=no fi]) if test $am_cv_make_support_nested_variables = yes; then dnl Using '$V' instead of '$(V)' breaks IRIX make. AM_V='$(V)' AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)' else AM_V=$AM_DEFAULT_VERBOSITY AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY fi AC_SUBST([AM_V])dnl AM_SUBST_NOTMAKE([AM_V])dnl AC_SUBST([AM_DEFAULT_V])dnl AM_SUBST_NOTMAKE([AM_DEFAULT_V])dnl AC_SUBST([AM_DEFAULT_VERBOSITY])dnl AM_BACKSLASH='\' AC_SUBST([AM_BACKSLASH])dnl _AM_SUBST_NOTMAKE([AM_BACKSLASH])dnl ]) # Copyright (C) 2001-2013 Free Software Foundation, Inc. # # This file is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. # AM_PROG_INSTALL_STRIP # --------------------- # One issue with vendor 'install' (even GNU) is that you can't # specify the program used to strip binaries. This is especially # annoying in cross-compiling environments, where the build's strip # is unlikely to handle the host's binaries. # Fortunately install-sh will honor a STRIPPROG variable, so we # always use install-sh in "make install-strip", and initialize # STRIPPROG with the value of the STRIP variable (set by the user). AC_DEFUN([AM_PROG_INSTALL_STRIP], [AC_REQUIRE([AM_PROG_INSTALL_SH])dnl # Installed binaries are usually stripped using 'strip' when the user # run "make install-strip". However 'strip' might not be the right # tool to use in cross-compilation environments, therefore Automake # will honor the 'STRIP' environment variable to overrule this program. dnl Don't test for $cross_compiling = yes, because it might be 'maybe'. if test "$cross_compiling" != no; then AC_CHECK_TOOL([STRIP], [strip], :) fi INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s" AC_SUBST([INSTALL_STRIP_PROGRAM])]) # Copyright (C) 2006-2013 Free Software Foundation, Inc. # # This file is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. # _AM_SUBST_NOTMAKE(VARIABLE) # --------------------------- # Prevent Automake from outputting VARIABLE = @VARIABLE@ in Makefile.in. # This macro is traced by Automake. AC_DEFUN([_AM_SUBST_NOTMAKE]) # AM_SUBST_NOTMAKE(VARIABLE) # -------------------------- # Public sister of _AM_SUBST_NOTMAKE. AC_DEFUN([AM_SUBST_NOTMAKE], [_AM_SUBST_NOTMAKE($@)]) # Check how to create a tarball. -*- Autoconf -*- # Copyright (C) 2004-2013 Free Software Foundation, Inc. # # This file is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. # _AM_PROG_TAR(FORMAT) # -------------------- # Check how to create a tarball in format FORMAT. # FORMAT should be one of 'v7', 'ustar', or 'pax'. # # Substitute a variable $(am__tar) that is a command # writing to stdout a FORMAT-tarball containing the directory # $tardir. # tardir=directory && $(am__tar) > result.tar # # Substitute a variable $(am__untar) that extract such # a tarball read from stdin. # $(am__untar) < result.tar # AC_DEFUN([_AM_PROG_TAR], [# Always define AMTAR for backward compatibility. Yes, it's still used # in the wild :-( We should find a proper way to deprecate it ... AC_SUBST([AMTAR], ['$${TAR-tar}']) # We'll loop over all known methods to create a tar archive until one works. _am_tools='gnutar m4_if([$1], [ustar], [plaintar]) pax cpio none' m4_if([$1], [v7], [am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'], [m4_case([$1], [ustar], [# The POSIX 1988 'ustar' format is defined with fixed-size fields. # There is notably a 21 bits limit for the UID and the GID. In fact, # the 'pax' utility can hang on bigger UID/GID (see automake bug#8343 # and bug#13588). am_max_uid=2097151 # 2^21 - 1 am_max_gid=$am_max_uid # The $UID and $GID variables are not portable, so we need to resort # to the POSIX-mandated id(1) utility. Errors in the 'id' calls # below are definitely unexpected, so allow the users to see them # (that is, avoid stderr redirection). am_uid=`id -u || echo unknown` am_gid=`id -g || echo unknown` AC_MSG_CHECKING([whether UID '$am_uid' is supported by ustar format]) if test $am_uid -le $am_max_uid; then AC_MSG_RESULT([yes]) else AC_MSG_RESULT([no]) _am_tools=none fi AC_MSG_CHECKING([whether GID '$am_gid' is supported by ustar format]) if test $am_gid -le $am_max_gid; then AC_MSG_RESULT([yes]) else AC_MSG_RESULT([no]) _am_tools=none fi], [pax], [], [m4_fatal([Unknown tar format])]) AC_MSG_CHECKING([how to create a $1 tar archive]) # Go ahead even if we have the value already cached. We do so because we # need to set the values for the 'am__tar' and 'am__untar' variables. _am_tools=${am_cv_prog_tar_$1-$_am_tools} for _am_tool in $_am_tools; do case $_am_tool in gnutar) for _am_tar in tar gnutar gtar; do AM_RUN_LOG([$_am_tar --version]) && break done am__tar="$_am_tar --format=m4_if([$1], [pax], [posix], [$1]) -chf - "'"$$tardir"' am__tar_="$_am_tar --format=m4_if([$1], [pax], [posix], [$1]) -chf - "'"$tardir"' am__untar="$_am_tar -xf -" ;; plaintar) # Must skip GNU tar: if it does not support --format= it doesn't create # ustar tarball either. (tar --version) >/dev/null 2>&1 && continue am__tar='tar chf - "$$tardir"' am__tar_='tar chf - "$tardir"' am__untar='tar xf -' ;; pax) am__tar='pax -L -x $1 -w "$$tardir"' am__tar_='pax -L -x $1 -w "$tardir"' am__untar='pax -r' ;; cpio) am__tar='find "$$tardir" -print | cpio -o -H $1 -L' am__tar_='find "$tardir" -print | cpio -o -H $1 -L' am__untar='cpio -i -H $1 -d' ;; none) am__tar=false am__tar_=false am__untar=false ;; esac # If the value was cached, stop now. We just wanted to have am__tar # and am__untar set. test -n "${am_cv_prog_tar_$1}" && break # tar/untar a dummy directory, and stop if the command works. rm -rf conftest.dir mkdir conftest.dir echo GrepMe > conftest.dir/file AM_RUN_LOG([tardir=conftest.dir && eval $am__tar_ >conftest.tar]) rm -rf conftest.dir if test -s conftest.tar; then AM_RUN_LOG([$am__untar /dev/null 2>&1 && break fi done rm -rf conftest.dir AC_CACHE_VAL([am_cv_prog_tar_$1], [am_cv_prog_tar_$1=$_am_tool]) AC_MSG_RESULT([$am_cv_prog_tar_$1])]) AC_SUBST([am__tar]) AC_SUBST([am__untar]) ]) # _AM_PROG_TAR pal-0.5.0/compile000755 000765 000024 00000016245 12363621607 013772 0ustar00timjstaff000000 000000 #! /bin/sh # Wrapper for compilers which do not understand '-c -o'. scriptversion=2012-10-14.11; # UTC # Copyright (C) 1999-2013 Free Software Foundation, Inc. # Written by Tom Tromey . # # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation; either version 2, or (at your option) # any later version. # # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU General Public License for more details. # # You should have received a copy of the GNU General Public License # along with this program. If not, see . # As a special exception to the GNU General Public License, if you # distribute this file as part of a program that contains a # configuration script generated by Autoconf, you may include it under # the same distribution terms that you use for the rest of that program. # This file is maintained in Automake, please report # bugs to or send patches to # . nl=' ' # We need space, tab and new line, in precisely that order. Quoting is # there to prevent tools from complaining about whitespace usage. IFS=" "" $nl" file_conv= # func_file_conv build_file lazy # Convert a $build file to $host form and store it in $file # Currently only supports Windows hosts. If the determined conversion # type is listed in (the comma separated) LAZY, no conversion will # take place. func_file_conv () { file=$1 case $file in / | /[!/]*) # absolute file, and not a UNC file if test -z "$file_conv"; then # lazily determine how to convert abs files case `uname -s` in MINGW*) file_conv=mingw ;; CYGWIN*) file_conv=cygwin ;; *) file_conv=wine ;; esac fi case $file_conv/,$2, in *,$file_conv,*) ;; mingw/*) file=`cmd //C echo "$file " | sed -e 's/"\(.*\) " *$/\1/'` ;; cygwin/*) file=`cygpath -m "$file" || echo "$file"` ;; wine/*) file=`winepath -w "$file" || echo "$file"` ;; esac ;; esac } # func_cl_dashL linkdir # Make cl look for libraries in LINKDIR func_cl_dashL () { func_file_conv "$1" if test -z "$lib_path"; then lib_path=$file else lib_path="$lib_path;$file" fi linker_opts="$linker_opts -LIBPATH:$file" } # func_cl_dashl library # Do a library search-path lookup for cl func_cl_dashl () { lib=$1 found=no save_IFS=$IFS IFS=';' for dir in $lib_path $LIB do IFS=$save_IFS if $shared && test -f "$dir/$lib.dll.lib"; then found=yes lib=$dir/$lib.dll.lib break fi if test -f "$dir/$lib.lib"; then found=yes lib=$dir/$lib.lib break fi if test -f "$dir/lib$lib.a"; then found=yes lib=$dir/lib$lib.a break fi done IFS=$save_IFS if test "$found" != yes; then lib=$lib.lib fi } # func_cl_wrapper cl arg... # Adjust compile command to suit cl func_cl_wrapper () { # Assume a capable shell lib_path= shared=: linker_opts= for arg do if test -n "$eat"; then eat= else case $1 in -o) # configure might choose to run compile as 'compile cc -o foo foo.c'. eat=1 case $2 in *.o | *.[oO][bB][jJ]) func_file_conv "$2" set x "$@" -Fo"$file" shift ;; *) func_file_conv "$2" set x "$@" -Fe"$file" shift ;; esac ;; -I) eat=1 func_file_conv "$2" mingw set x "$@" -I"$file" shift ;; -I*) func_file_conv "${1#-I}" mingw set x "$@" -I"$file" shift ;; -l) eat=1 func_cl_dashl "$2" set x "$@" "$lib" shift ;; -l*) func_cl_dashl "${1#-l}" set x "$@" "$lib" shift ;; -L) eat=1 func_cl_dashL "$2" ;; -L*) func_cl_dashL "${1#-L}" ;; -static) shared=false ;; -Wl,*) arg=${1#-Wl,} save_ifs="$IFS"; IFS=',' for flag in $arg; do IFS="$save_ifs" linker_opts="$linker_opts $flag" done IFS="$save_ifs" ;; -Xlinker) eat=1 linker_opts="$linker_opts $2" ;; -*) set x "$@" "$1" shift ;; *.cc | *.CC | *.cxx | *.CXX | *.[cC]++) func_file_conv "$1" set x "$@" -Tp"$file" shift ;; *.c | *.cpp | *.CPP | *.lib | *.LIB | *.Lib | *.OBJ | *.obj | *.[oO]) func_file_conv "$1" mingw set x "$@" "$file" shift ;; *) set x "$@" "$1" shift ;; esac fi shift done if test -n "$linker_opts"; then linker_opts="-link$linker_opts" fi exec "$@" $linker_opts exit 1 } eat= case $1 in '') echo "$0: No command. Try '$0 --help' for more information." 1>&2 exit 1; ;; -h | --h*) cat <<\EOF Usage: compile [--help] [--version] PROGRAM [ARGS] Wrapper for compilers which do not understand '-c -o'. Remove '-o dest.o' from ARGS, run PROGRAM with the remaining arguments, and rename the output as expected. If you are trying to build a whole package this is not the right script to run: please start by reading the file 'INSTALL'. Report bugs to . EOF exit $? ;; -v | --v*) echo "compile $scriptversion" exit $? ;; cl | *[/\\]cl | cl.exe | *[/\\]cl.exe ) func_cl_wrapper "$@" # Doesn't return... ;; esac ofile= cfile= for arg do if test -n "$eat"; then eat= else case $1 in -o) # configure might choose to run compile as 'compile cc -o foo foo.c'. # So we strip '-o arg' only if arg is an object. eat=1 case $2 in *.o | *.obj) ofile=$2 ;; *) set x "$@" -o "$2" shift ;; esac ;; *.c) cfile=$1 set x "$@" "$1" shift ;; *) set x "$@" "$1" shift ;; esac fi shift done if test -z "$ofile" || test -z "$cfile"; then # If no '-o' option was seen then we might have been invoked from a # pattern rule where we don't need one. That is ok -- this is a # normal compilation that the losing compiler can handle. If no # '.c' file was seen then we are probably linking. That is also # ok. exec "$@" fi # Name of file we expect compiler to create. cofile=`echo "$cfile" | sed 's|^.*[\\/]||; s|^[a-zA-Z]:||; s/\.c$/.o/'` # Create the lock directory. # Note: use '[/\\:.-]' here to ensure that we don't use the same name # that we are using for the .o file. Also, base the name on the expected # object file name, since that is what matters with a parallel build. lockdir=`echo "$cofile" | sed -e 's|[/\\:.-]|_|g'`.d while true; do if mkdir "$lockdir" >/dev/null 2>&1; then break fi sleep 1 done # FIXME: race condition here if user kills between mkdir and trap. trap "rmdir '$lockdir'; exit 1" 1 2 15 # Run the compile. "$@" ret=$? if test -f "$cofile"; then test "$cofile" = "$ofile" || mv "$cofile" "$ofile" elif test -f "${cofile}bj"; then test "${cofile}bj" = "$ofile" || mv "${cofile}bj" "$ofile" fi rmdir "$lockdir" exit $ret # Local Variables: # mode: shell-script # sh-indentation: 2 # eval: (add-hook 'write-file-hooks 'time-stamp) # time-stamp-start: "scriptversion=" # time-stamp-format: "%:y-%02m-%02d.%02H" # time-stamp-time-zone: "UTC" # time-stamp-end: "; # UTC" # End: pal-0.5.0/component.xml.in000644 000765 000024 00000001570 12360544345 015540 0ustar00timjstaff000000 000000 @PACKAGE_VERSION@ libext/pal Positional Astronomy Library

This library is a collection of code designed to aid in replacing the SLA library with code from SOFA. Where possible the API is similar to the C SLA API except for the use of a "pal" prefix.

@STAR_DEPENDENCIES_CHILDREN@ Tim Jenness t.jenness@jach.hawaii.edu @STAR_DOCUMENTATION@ @PACKAGE_BUGREPORT@ pal-0.5.0/config.guess000755 000765 000024 00000131355 12363621607 014734 0ustar00timjstaff000000 000000 #! /bin/sh # Attempt to guess a canonical system name. # Copyright 1992-2013 Free Software Foundation, Inc. timestamp='2013-11-29' # This file is free software; you can redistribute it and/or modify it # under the terms of the GNU General Public License as published by # the Free Software Foundation; either version 3 of the License, or # (at your option) any later version. # # This program is distributed in the hope that it will be useful, but # WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU # General Public License for more details. # # You should have received a copy of the GNU General Public License # along with this program; if not, see . # # As a special exception to the GNU General Public License, if you # distribute this file as part of a program that contains a # configuration script generated by Autoconf, you may include it under # the same distribution terms that you use for the rest of that # program. This Exception is an additional permission under section 7 # of the GNU General Public License, version 3 ("GPLv3"). # # Originally written by Per Bothner. # # You can get the latest version of this script from: # http://git.savannah.gnu.org/gitweb/?p=config.git;a=blob_plain;f=config.guess;hb=HEAD # # Please send patches with a ChangeLog entry to config-patches@gnu.org. me=`echo "$0" | sed -e 's,.*/,,'` usage="\ Usage: $0 [OPTION] Output the configuration name of the system \`$me' is run on. Operation modes: -h, --help print this help, then exit -t, --time-stamp print date of last modification, then exit -v, --version print version number, then exit Report bugs and patches to ." version="\ GNU config.guess ($timestamp) Originally written by Per Bothner. Copyright 1992-2013 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE." help=" Try \`$me --help' for more information." # Parse command line while test $# -gt 0 ; do case $1 in --time-stamp | --time* | -t ) echo "$timestamp" ; exit ;; --version | -v ) echo "$version" ; exit ;; --help | --h* | -h ) echo "$usage"; exit ;; -- ) # Stop option processing shift; break ;; - ) # Use stdin as input. break ;; -* ) echo "$me: invalid option $1$help" >&2 exit 1 ;; * ) break ;; esac done if test $# != 0; then echo "$me: too many arguments$help" >&2 exit 1 fi trap 'exit 1' 1 2 15 # CC_FOR_BUILD -- compiler used by this script. Note that the use of a # compiler to aid in system detection is discouraged as it requires # temporary files to be created and, as you can see below, it is a # headache to deal with in a portable fashion. # Historically, `CC_FOR_BUILD' used to be named `HOST_CC'. We still # use `HOST_CC' if defined, but it is deprecated. # Portable tmp directory creation inspired by the Autoconf team. set_cc_for_build=' trap "exitcode=\$?; (rm -f \$tmpfiles 2>/dev/null; rmdir \$tmp 2>/dev/null) && exit \$exitcode" 0 ; trap "rm -f \$tmpfiles 2>/dev/null; rmdir \$tmp 2>/dev/null; exit 1" 1 2 13 15 ; : ${TMPDIR=/tmp} ; { tmp=`(umask 077 && mktemp -d "$TMPDIR/cgXXXXXX") 2>/dev/null` && test -n "$tmp" && test -d "$tmp" ; } || { test -n "$RANDOM" && tmp=$TMPDIR/cg$$-$RANDOM && (umask 077 && mkdir $tmp) ; } || { tmp=$TMPDIR/cg-$$ && (umask 077 && mkdir $tmp) && echo "Warning: creating insecure temp directory" >&2 ; } || { echo "$me: cannot create a temporary directory in $TMPDIR" >&2 ; exit 1 ; } ; dummy=$tmp/dummy ; tmpfiles="$dummy.c $dummy.o $dummy.rel $dummy" ; case $CC_FOR_BUILD,$HOST_CC,$CC in ,,) echo "int x;" > $dummy.c ; for c in cc gcc c89 c99 ; do if ($c -c -o $dummy.o $dummy.c) >/dev/null 2>&1 ; then CC_FOR_BUILD="$c"; break ; fi ; done ; if test x"$CC_FOR_BUILD" = x ; then CC_FOR_BUILD=no_compiler_found ; fi ;; ,,*) CC_FOR_BUILD=$CC ;; ,*,*) CC_FOR_BUILD=$HOST_CC ;; esac ; set_cc_for_build= ;' # This is needed to find uname on a Pyramid OSx when run in the BSD universe. # (ghazi@noc.rutgers.edu 1994-08-24) if (test -f /.attbin/uname) >/dev/null 2>&1 ; then PATH=$PATH:/.attbin ; export PATH fi UNAME_MACHINE=`(uname -m) 2>/dev/null` || UNAME_MACHINE=unknown UNAME_RELEASE=`(uname -r) 2>/dev/null` || UNAME_RELEASE=unknown UNAME_SYSTEM=`(uname -s) 2>/dev/null` || UNAME_SYSTEM=unknown UNAME_VERSION=`(uname -v) 2>/dev/null` || UNAME_VERSION=unknown case "${UNAME_SYSTEM}" in Linux|GNU|GNU/*) # If the system lacks a compiler, then just pick glibc. # We could probably try harder. LIBC=gnu eval $set_cc_for_build cat <<-EOF > $dummy.c #include #if defined(__UCLIBC__) LIBC=uclibc #elif defined(__dietlibc__) LIBC=dietlibc #else LIBC=gnu #endif EOF eval `$CC_FOR_BUILD -E $dummy.c 2>/dev/null | grep '^LIBC'` ;; esac # Note: order is significant - the case branches are not exclusive. case "${UNAME_MACHINE}:${UNAME_SYSTEM}:${UNAME_RELEASE}:${UNAME_VERSION}" in *:NetBSD:*:*) # NetBSD (nbsd) targets should (where applicable) match one or # more of the tuples: *-*-netbsdelf*, *-*-netbsdaout*, # *-*-netbsdecoff* and *-*-netbsd*. For targets that recently # switched to ELF, *-*-netbsd* would select the old # object file format. This provides both forward # compatibility and a consistent mechanism for selecting the # object file format. # # Note: NetBSD doesn't particularly care about the vendor # portion of the name. We always set it to "unknown". sysctl="sysctl -n hw.machine_arch" UNAME_MACHINE_ARCH=`(/sbin/$sysctl 2>/dev/null || \ /usr/sbin/$sysctl 2>/dev/null || echo unknown)` case "${UNAME_MACHINE_ARCH}" in armeb) machine=armeb-unknown ;; arm*) machine=arm-unknown ;; sh3el) machine=shl-unknown ;; sh3eb) machine=sh-unknown ;; sh5el) machine=sh5le-unknown ;; *) machine=${UNAME_MACHINE_ARCH}-unknown ;; esac # The Operating System including object format, if it has switched # to ELF recently, or will in the future. case "${UNAME_MACHINE_ARCH}" in arm*|i386|m68k|ns32k|sh3*|sparc|vax) eval $set_cc_for_build if echo __ELF__ | $CC_FOR_BUILD -E - 2>/dev/null \ | grep -q __ELF__ then # Once all utilities can be ECOFF (netbsdecoff) or a.out (netbsdaout). # Return netbsd for either. FIX? os=netbsd else os=netbsdelf fi ;; *) os=netbsd ;; esac # The OS release # Debian GNU/NetBSD machines have a different userland, and # thus, need a distinct triplet. However, they do not need # kernel version information, so it can be replaced with a # suitable tag, in the style of linux-gnu. case "${UNAME_VERSION}" in Debian*) release='-gnu' ;; *) release=`echo ${UNAME_RELEASE}|sed -e 's/[-_].*/\./'` ;; esac # Since CPU_TYPE-MANUFACTURER-KERNEL-OPERATING_SYSTEM: # contains redundant information, the shorter form: # CPU_TYPE-MANUFACTURER-OPERATING_SYSTEM is used. echo "${machine}-${os}${release}" exit ;; *:Bitrig:*:*) UNAME_MACHINE_ARCH=`arch | sed 's/Bitrig.//'` echo ${UNAME_MACHINE_ARCH}-unknown-bitrig${UNAME_RELEASE} exit ;; *:OpenBSD:*:*) UNAME_MACHINE_ARCH=`arch | sed 's/OpenBSD.//'` echo ${UNAME_MACHINE_ARCH}-unknown-openbsd${UNAME_RELEASE} exit ;; *:ekkoBSD:*:*) echo ${UNAME_MACHINE}-unknown-ekkobsd${UNAME_RELEASE} exit ;; *:SolidBSD:*:*) echo ${UNAME_MACHINE}-unknown-solidbsd${UNAME_RELEASE} exit ;; macppc:MirBSD:*:*) echo powerpc-unknown-mirbsd${UNAME_RELEASE} exit ;; *:MirBSD:*:*) echo ${UNAME_MACHINE}-unknown-mirbsd${UNAME_RELEASE} exit ;; alpha:OSF1:*:*) case $UNAME_RELEASE in *4.0) UNAME_RELEASE=`/usr/sbin/sizer -v | awk '{print $3}'` ;; *5.*) UNAME_RELEASE=`/usr/sbin/sizer -v | awk '{print $4}'` ;; esac # According to Compaq, /usr/sbin/psrinfo has been available on # OSF/1 and Tru64 systems produced since 1995. I hope that # covers most systems running today. This code pipes the CPU # types through head -n 1, so we only detect the type of CPU 0. ALPHA_CPU_TYPE=`/usr/sbin/psrinfo -v | sed -n -e 's/^ The alpha \(.*\) processor.*$/\1/p' | head -n 1` case "$ALPHA_CPU_TYPE" in "EV4 (21064)") UNAME_MACHINE="alpha" ;; "EV4.5 (21064)") UNAME_MACHINE="alpha" ;; "LCA4 (21066/21068)") UNAME_MACHINE="alpha" ;; "EV5 (21164)") UNAME_MACHINE="alphaev5" ;; "EV5.6 (21164A)") UNAME_MACHINE="alphaev56" ;; "EV5.6 (21164PC)") UNAME_MACHINE="alphapca56" ;; "EV5.7 (21164PC)") UNAME_MACHINE="alphapca57" ;; "EV6 (21264)") UNAME_MACHINE="alphaev6" ;; "EV6.7 (21264A)") UNAME_MACHINE="alphaev67" ;; "EV6.8CB (21264C)") UNAME_MACHINE="alphaev68" ;; "EV6.8AL (21264B)") UNAME_MACHINE="alphaev68" ;; "EV6.8CX (21264D)") UNAME_MACHINE="alphaev68" ;; "EV6.9A (21264/EV69A)") UNAME_MACHINE="alphaev69" ;; "EV7 (21364)") UNAME_MACHINE="alphaev7" ;; "EV7.9 (21364A)") UNAME_MACHINE="alphaev79" ;; esac # A Pn.n version is a patched version. # A Vn.n version is a released version. # A Tn.n version is a released field test version. # A Xn.n version is an unreleased experimental baselevel. # 1.2 uses "1.2" for uname -r. echo ${UNAME_MACHINE}-dec-osf`echo ${UNAME_RELEASE} | sed -e 's/^[PVTX]//' | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz'` # Reset EXIT trap before exiting to avoid spurious non-zero exit code. exitcode=$? trap '' 0 exit $exitcode ;; Alpha\ *:Windows_NT*:*) # How do we know it's Interix rather than the generic POSIX subsystem? # Should we change UNAME_MACHINE based on the output of uname instead # of the specific Alpha model? echo alpha-pc-interix exit ;; 21064:Windows_NT:50:3) echo alpha-dec-winnt3.5 exit ;; Amiga*:UNIX_System_V:4.0:*) echo m68k-unknown-sysv4 exit ;; *:[Aa]miga[Oo][Ss]:*:*) echo ${UNAME_MACHINE}-unknown-amigaos exit ;; *:[Mm]orph[Oo][Ss]:*:*) echo ${UNAME_MACHINE}-unknown-morphos exit ;; *:OS/390:*:*) echo i370-ibm-openedition exit ;; *:z/VM:*:*) echo s390-ibm-zvmoe exit ;; *:OS400:*:*) echo powerpc-ibm-os400 exit ;; arm:RISC*:1.[012]*:*|arm:riscix:1.[012]*:*) echo arm-acorn-riscix${UNAME_RELEASE} exit ;; arm*:riscos:*:*|arm*:RISCOS:*:*) echo arm-unknown-riscos exit ;; SR2?01:HI-UX/MPP:*:* | SR8000:HI-UX/MPP:*:*) echo hppa1.1-hitachi-hiuxmpp exit ;; Pyramid*:OSx*:*:* | MIS*:OSx*:*:* | MIS*:SMP_DC-OSx*:*:*) # akee@wpdis03.wpafb.af.mil (Earle F. Ake) contributed MIS and NILE. if test "`(/bin/universe) 2>/dev/null`" = att ; then echo pyramid-pyramid-sysv3 else echo pyramid-pyramid-bsd fi exit ;; NILE*:*:*:dcosx) echo pyramid-pyramid-svr4 exit ;; DRS?6000:unix:4.0:6*) echo sparc-icl-nx6 exit ;; DRS?6000:UNIX_SV:4.2*:7* | DRS?6000:isis:4.2*:7*) case `/usr/bin/uname -p` in sparc) echo sparc-icl-nx7; exit ;; esac ;; s390x:SunOS:*:*) echo ${UNAME_MACHINE}-ibm-solaris2`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'` exit ;; sun4H:SunOS:5.*:*) echo sparc-hal-solaris2`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'` exit ;; sun4*:SunOS:5.*:* | tadpole*:SunOS:5.*:*) echo sparc-sun-solaris2`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'` exit ;; i86pc:AuroraUX:5.*:* | i86xen:AuroraUX:5.*:*) echo i386-pc-auroraux${UNAME_RELEASE} exit ;; i86pc:SunOS:5.*:* | i86xen:SunOS:5.*:*) eval $set_cc_for_build SUN_ARCH="i386" # If there is a compiler, see if it is configured for 64-bit objects. # Note that the Sun cc does not turn __LP64__ into 1 like gcc does. # This test works for both compilers. if [ "$CC_FOR_BUILD" != 'no_compiler_found' ]; then if (echo '#ifdef __amd64'; echo IS_64BIT_ARCH; echo '#endif') | \ (CCOPTS= $CC_FOR_BUILD -E - 2>/dev/null) | \ grep IS_64BIT_ARCH >/dev/null then SUN_ARCH="x86_64" fi fi echo ${SUN_ARCH}-pc-solaris2`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'` exit ;; sun4*:SunOS:6*:*) # According to config.sub, this is the proper way to canonicalize # SunOS6. Hard to guess exactly what SunOS6 will be like, but # it's likely to be more like Solaris than SunOS4. echo sparc-sun-solaris3`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'` exit ;; sun4*:SunOS:*:*) case "`/usr/bin/arch -k`" in Series*|S4*) UNAME_RELEASE=`uname -v` ;; esac # Japanese Language versions have a version number like `4.1.3-JL'. echo sparc-sun-sunos`echo ${UNAME_RELEASE}|sed -e 's/-/_/'` exit ;; sun3*:SunOS:*:*) echo m68k-sun-sunos${UNAME_RELEASE} exit ;; sun*:*:4.2BSD:*) UNAME_RELEASE=`(sed 1q /etc/motd | awk '{print substr($5,1,3)}') 2>/dev/null` test "x${UNAME_RELEASE}" = "x" && UNAME_RELEASE=3 case "`/bin/arch`" in sun3) echo m68k-sun-sunos${UNAME_RELEASE} ;; sun4) echo sparc-sun-sunos${UNAME_RELEASE} ;; esac exit ;; aushp:SunOS:*:*) echo sparc-auspex-sunos${UNAME_RELEASE} exit ;; # The situation for MiNT is a little confusing. The machine name # can be virtually everything (everything which is not # "atarist" or "atariste" at least should have a processor # > m68000). The system name ranges from "MiNT" over "FreeMiNT" # to the lowercase version "mint" (or "freemint"). Finally # the system name "TOS" denotes a system which is actually not # MiNT. But MiNT is downward compatible to TOS, so this should # be no problem. atarist[e]:*MiNT:*:* | atarist[e]:*mint:*:* | atarist[e]:*TOS:*:*) echo m68k-atari-mint${UNAME_RELEASE} exit ;; atari*:*MiNT:*:* | atari*:*mint:*:* | atarist[e]:*TOS:*:*) echo m68k-atari-mint${UNAME_RELEASE} exit ;; *falcon*:*MiNT:*:* | *falcon*:*mint:*:* | *falcon*:*TOS:*:*) echo m68k-atari-mint${UNAME_RELEASE} exit ;; milan*:*MiNT:*:* | milan*:*mint:*:* | *milan*:*TOS:*:*) echo m68k-milan-mint${UNAME_RELEASE} exit ;; hades*:*MiNT:*:* | hades*:*mint:*:* | *hades*:*TOS:*:*) echo m68k-hades-mint${UNAME_RELEASE} exit ;; *:*MiNT:*:* | *:*mint:*:* | *:*TOS:*:*) echo m68k-unknown-mint${UNAME_RELEASE} exit ;; m68k:machten:*:*) echo m68k-apple-machten${UNAME_RELEASE} exit ;; powerpc:machten:*:*) echo powerpc-apple-machten${UNAME_RELEASE} exit ;; RISC*:Mach:*:*) echo mips-dec-mach_bsd4.3 exit ;; RISC*:ULTRIX:*:*) echo mips-dec-ultrix${UNAME_RELEASE} exit ;; VAX*:ULTRIX*:*:*) echo vax-dec-ultrix${UNAME_RELEASE} exit ;; 2020:CLIX:*:* | 2430:CLIX:*:*) echo clipper-intergraph-clix${UNAME_RELEASE} exit ;; mips:*:*:UMIPS | mips:*:*:RISCos) eval $set_cc_for_build sed 's/^ //' << EOF >$dummy.c #ifdef __cplusplus #include /* for printf() prototype */ int main (int argc, char *argv[]) { #else int main (argc, argv) int argc; char *argv[]; { #endif #if defined (host_mips) && defined (MIPSEB) #if defined (SYSTYPE_SYSV) printf ("mips-mips-riscos%ssysv\n", argv[1]); exit (0); #endif #if defined (SYSTYPE_SVR4) printf ("mips-mips-riscos%ssvr4\n", argv[1]); exit (0); #endif #if defined (SYSTYPE_BSD43) || defined(SYSTYPE_BSD) printf ("mips-mips-riscos%sbsd\n", argv[1]); exit (0); #endif #endif exit (-1); } EOF $CC_FOR_BUILD -o $dummy $dummy.c && dummyarg=`echo "${UNAME_RELEASE}" | sed -n 's/\([0-9]*\).*/\1/p'` && SYSTEM_NAME=`$dummy $dummyarg` && { echo "$SYSTEM_NAME"; exit; } echo mips-mips-riscos${UNAME_RELEASE} exit ;; Motorola:PowerMAX_OS:*:*) echo powerpc-motorola-powermax exit ;; Motorola:*:4.3:PL8-*) echo powerpc-harris-powermax exit ;; Night_Hawk:*:*:PowerMAX_OS | Synergy:PowerMAX_OS:*:*) echo powerpc-harris-powermax exit ;; Night_Hawk:Power_UNIX:*:*) echo powerpc-harris-powerunix exit ;; m88k:CX/UX:7*:*) echo m88k-harris-cxux7 exit ;; m88k:*:4*:R4*) echo m88k-motorola-sysv4 exit ;; m88k:*:3*:R3*) echo m88k-motorola-sysv3 exit ;; AViiON:dgux:*:*) # DG/UX returns AViiON for all architectures UNAME_PROCESSOR=`/usr/bin/uname -p` if [ $UNAME_PROCESSOR = mc88100 ] || [ $UNAME_PROCESSOR = mc88110 ] then if [ ${TARGET_BINARY_INTERFACE}x = m88kdguxelfx ] || \ [ ${TARGET_BINARY_INTERFACE}x = x ] then echo m88k-dg-dgux${UNAME_RELEASE} else echo m88k-dg-dguxbcs${UNAME_RELEASE} fi else echo i586-dg-dgux${UNAME_RELEASE} fi exit ;; M88*:DolphinOS:*:*) # DolphinOS (SVR3) echo m88k-dolphin-sysv3 exit ;; M88*:*:R3*:*) # Delta 88k system running SVR3 echo m88k-motorola-sysv3 exit ;; XD88*:*:*:*) # Tektronix XD88 system running UTekV (SVR3) echo m88k-tektronix-sysv3 exit ;; Tek43[0-9][0-9]:UTek:*:*) # Tektronix 4300 system running UTek (BSD) echo m68k-tektronix-bsd exit ;; *:IRIX*:*:*) echo mips-sgi-irix`echo ${UNAME_RELEASE}|sed -e 's/-/_/g'` exit ;; ????????:AIX?:[12].1:2) # AIX 2.2.1 or AIX 2.1.1 is RT/PC AIX. echo romp-ibm-aix # uname -m gives an 8 hex-code CPU id exit ;; # Note that: echo "'`uname -s`'" gives 'AIX ' i*86:AIX:*:*) echo i386-ibm-aix exit ;; ia64:AIX:*:*) if [ -x /usr/bin/oslevel ] ; then IBM_REV=`/usr/bin/oslevel` else IBM_REV=${UNAME_VERSION}.${UNAME_RELEASE} fi echo ${UNAME_MACHINE}-ibm-aix${IBM_REV} exit ;; *:AIX:2:3) if grep bos325 /usr/include/stdio.h >/dev/null 2>&1; then eval $set_cc_for_build sed 's/^ //' << EOF >$dummy.c #include main() { if (!__power_pc()) exit(1); puts("powerpc-ibm-aix3.2.5"); exit(0); } EOF if $CC_FOR_BUILD -o $dummy $dummy.c && SYSTEM_NAME=`$dummy` then echo "$SYSTEM_NAME" else echo rs6000-ibm-aix3.2.5 fi elif grep bos324 /usr/include/stdio.h >/dev/null 2>&1; then echo rs6000-ibm-aix3.2.4 else echo rs6000-ibm-aix3.2 fi exit ;; *:AIX:*:[4567]) IBM_CPU_ID=`/usr/sbin/lsdev -C -c processor -S available | sed 1q | awk '{ print $1 }'` if /usr/sbin/lsattr -El ${IBM_CPU_ID} | grep ' POWER' >/dev/null 2>&1; then IBM_ARCH=rs6000 else IBM_ARCH=powerpc fi if [ -x /usr/bin/oslevel ] ; then IBM_REV=`/usr/bin/oslevel` else IBM_REV=${UNAME_VERSION}.${UNAME_RELEASE} fi echo ${IBM_ARCH}-ibm-aix${IBM_REV} exit ;; *:AIX:*:*) echo rs6000-ibm-aix exit ;; ibmrt:4.4BSD:*|romp-ibm:BSD:*) echo romp-ibm-bsd4.4 exit ;; ibmrt:*BSD:*|romp-ibm:BSD:*) # covers RT/PC BSD and echo romp-ibm-bsd${UNAME_RELEASE} # 4.3 with uname added to exit ;; # report: romp-ibm BSD 4.3 *:BOSX:*:*) echo rs6000-bull-bosx exit ;; DPX/2?00:B.O.S.:*:*) echo m68k-bull-sysv3 exit ;; 9000/[34]??:4.3bsd:1.*:*) echo m68k-hp-bsd exit ;; hp300:4.4BSD:*:* | 9000/[34]??:4.3bsd:2.*:*) echo m68k-hp-bsd4.4 exit ;; 9000/[34678]??:HP-UX:*:*) HPUX_REV=`echo ${UNAME_RELEASE}|sed -e 's/[^.]*.[0B]*//'` case "${UNAME_MACHINE}" in 9000/31? ) HP_ARCH=m68000 ;; 9000/[34]?? ) HP_ARCH=m68k ;; 9000/[678][0-9][0-9]) if [ -x /usr/bin/getconf ]; then sc_cpu_version=`/usr/bin/getconf SC_CPU_VERSION 2>/dev/null` sc_kernel_bits=`/usr/bin/getconf SC_KERNEL_BITS 2>/dev/null` case "${sc_cpu_version}" in 523) HP_ARCH="hppa1.0" ;; # CPU_PA_RISC1_0 528) HP_ARCH="hppa1.1" ;; # CPU_PA_RISC1_1 532) # CPU_PA_RISC2_0 case "${sc_kernel_bits}" in 32) HP_ARCH="hppa2.0n" ;; 64) HP_ARCH="hppa2.0w" ;; '') HP_ARCH="hppa2.0" ;; # HP-UX 10.20 esac ;; esac fi if [ "${HP_ARCH}" = "" ]; then eval $set_cc_for_build sed 's/^ //' << EOF >$dummy.c #define _HPUX_SOURCE #include #include int main () { #if defined(_SC_KERNEL_BITS) long bits = sysconf(_SC_KERNEL_BITS); #endif long cpu = sysconf (_SC_CPU_VERSION); switch (cpu) { case CPU_PA_RISC1_0: puts ("hppa1.0"); break; case CPU_PA_RISC1_1: puts ("hppa1.1"); break; case CPU_PA_RISC2_0: #if defined(_SC_KERNEL_BITS) switch (bits) { case 64: puts ("hppa2.0w"); break; case 32: puts ("hppa2.0n"); break; default: puts ("hppa2.0"); break; } break; #else /* !defined(_SC_KERNEL_BITS) */ puts ("hppa2.0"); break; #endif default: puts ("hppa1.0"); break; } exit (0); } EOF (CCOPTS= $CC_FOR_BUILD -o $dummy $dummy.c 2>/dev/null) && HP_ARCH=`$dummy` test -z "$HP_ARCH" && HP_ARCH=hppa fi ;; esac if [ ${HP_ARCH} = "hppa2.0w" ] then eval $set_cc_for_build # hppa2.0w-hp-hpux* has a 64-bit kernel and a compiler generating # 32-bit code. hppa64-hp-hpux* has the same kernel and a compiler # generating 64-bit code. GNU and HP use different nomenclature: # # $ CC_FOR_BUILD=cc ./config.guess # => hppa2.0w-hp-hpux11.23 # $ CC_FOR_BUILD="cc +DA2.0w" ./config.guess # => hppa64-hp-hpux11.23 if echo __LP64__ | (CCOPTS= $CC_FOR_BUILD -E - 2>/dev/null) | grep -q __LP64__ then HP_ARCH="hppa2.0w" else HP_ARCH="hppa64" fi fi echo ${HP_ARCH}-hp-hpux${HPUX_REV} exit ;; ia64:HP-UX:*:*) HPUX_REV=`echo ${UNAME_RELEASE}|sed -e 's/[^.]*.[0B]*//'` echo ia64-hp-hpux${HPUX_REV} exit ;; 3050*:HI-UX:*:*) eval $set_cc_for_build sed 's/^ //' << EOF >$dummy.c #include int main () { long cpu = sysconf (_SC_CPU_VERSION); /* The order matters, because CPU_IS_HP_MC68K erroneously returns true for CPU_PA_RISC1_0. CPU_IS_PA_RISC returns correct results, however. */ if (CPU_IS_PA_RISC (cpu)) { switch (cpu) { case CPU_PA_RISC1_0: puts ("hppa1.0-hitachi-hiuxwe2"); break; case CPU_PA_RISC1_1: puts ("hppa1.1-hitachi-hiuxwe2"); break; case CPU_PA_RISC2_0: puts ("hppa2.0-hitachi-hiuxwe2"); break; default: puts ("hppa-hitachi-hiuxwe2"); break; } } else if (CPU_IS_HP_MC68K (cpu)) puts ("m68k-hitachi-hiuxwe2"); else puts ("unknown-hitachi-hiuxwe2"); exit (0); } EOF $CC_FOR_BUILD -o $dummy $dummy.c && SYSTEM_NAME=`$dummy` && { echo "$SYSTEM_NAME"; exit; } echo unknown-hitachi-hiuxwe2 exit ;; 9000/7??:4.3bsd:*:* | 9000/8?[79]:4.3bsd:*:* ) echo hppa1.1-hp-bsd exit ;; 9000/8??:4.3bsd:*:*) echo hppa1.0-hp-bsd exit ;; *9??*:MPE/iX:*:* | *3000*:MPE/iX:*:*) echo hppa1.0-hp-mpeix exit ;; hp7??:OSF1:*:* | hp8?[79]:OSF1:*:* ) echo hppa1.1-hp-osf exit ;; hp8??:OSF1:*:*) echo hppa1.0-hp-osf exit ;; i*86:OSF1:*:*) if [ -x /usr/sbin/sysversion ] ; then echo ${UNAME_MACHINE}-unknown-osf1mk else echo ${UNAME_MACHINE}-unknown-osf1 fi exit ;; parisc*:Lites*:*:*) echo hppa1.1-hp-lites exit ;; C1*:ConvexOS:*:* | convex:ConvexOS:C1*:*) echo c1-convex-bsd exit ;; C2*:ConvexOS:*:* | convex:ConvexOS:C2*:*) if getsysinfo -f scalar_acc then echo c32-convex-bsd else echo c2-convex-bsd fi exit ;; C34*:ConvexOS:*:* | convex:ConvexOS:C34*:*) echo c34-convex-bsd exit ;; C38*:ConvexOS:*:* | convex:ConvexOS:C38*:*) echo c38-convex-bsd exit ;; C4*:ConvexOS:*:* | convex:ConvexOS:C4*:*) echo c4-convex-bsd exit ;; CRAY*Y-MP:*:*:*) echo ymp-cray-unicos${UNAME_RELEASE} | sed -e 's/\.[^.]*$/.X/' exit ;; CRAY*[A-Z]90:*:*:*) echo ${UNAME_MACHINE}-cray-unicos${UNAME_RELEASE} \ | sed -e 's/CRAY.*\([A-Z]90\)/\1/' \ -e y/ABCDEFGHIJKLMNOPQRSTUVWXYZ/abcdefghijklmnopqrstuvwxyz/ \ -e 's/\.[^.]*$/.X/' exit ;; CRAY*TS:*:*:*) echo t90-cray-unicos${UNAME_RELEASE} | sed -e 's/\.[^.]*$/.X/' exit ;; CRAY*T3E:*:*:*) echo alphaev5-cray-unicosmk${UNAME_RELEASE} | sed -e 's/\.[^.]*$/.X/' exit ;; CRAY*SV1:*:*:*) echo sv1-cray-unicos${UNAME_RELEASE} | sed -e 's/\.[^.]*$/.X/' exit ;; *:UNICOS/mp:*:*) echo craynv-cray-unicosmp${UNAME_RELEASE} | sed -e 's/\.[^.]*$/.X/' exit ;; F30[01]:UNIX_System_V:*:* | F700:UNIX_System_V:*:*) FUJITSU_PROC=`uname -m | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz'` FUJITSU_SYS=`uname -p | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz' | sed -e 's/\///'` FUJITSU_REL=`echo ${UNAME_RELEASE} | sed -e 's/ /_/'` echo "${FUJITSU_PROC}-fujitsu-${FUJITSU_SYS}${FUJITSU_REL}" exit ;; 5000:UNIX_System_V:4.*:*) FUJITSU_SYS=`uname -p | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz' | sed -e 's/\///'` FUJITSU_REL=`echo ${UNAME_RELEASE} | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz' | sed -e 's/ /_/'` echo "sparc-fujitsu-${FUJITSU_SYS}${FUJITSU_REL}" exit ;; i*86:BSD/386:*:* | i*86:BSD/OS:*:* | *:Ascend\ Embedded/OS:*:*) echo ${UNAME_MACHINE}-pc-bsdi${UNAME_RELEASE} exit ;; sparc*:BSD/OS:*:*) echo sparc-unknown-bsdi${UNAME_RELEASE} exit ;; *:BSD/OS:*:*) echo ${UNAME_MACHINE}-unknown-bsdi${UNAME_RELEASE} exit ;; *:FreeBSD:*:*) UNAME_PROCESSOR=`/usr/bin/uname -p` case ${UNAME_PROCESSOR} in amd64) echo x86_64-unknown-freebsd`echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'` ;; *) echo ${UNAME_PROCESSOR}-unknown-freebsd`echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'` ;; esac exit ;; i*:CYGWIN*:*) echo ${UNAME_MACHINE}-pc-cygwin exit ;; *:MINGW64*:*) echo ${UNAME_MACHINE}-pc-mingw64 exit ;; *:MINGW*:*) echo ${UNAME_MACHINE}-pc-mingw32 exit ;; i*:MSYS*:*) echo ${UNAME_MACHINE}-pc-msys exit ;; i*:windows32*:*) # uname -m includes "-pc" on this system. echo ${UNAME_MACHINE}-mingw32 exit ;; i*:PW*:*) echo ${UNAME_MACHINE}-pc-pw32 exit ;; *:Interix*:*) case ${UNAME_MACHINE} in x86) echo i586-pc-interix${UNAME_RELEASE} exit ;; authenticamd | genuineintel | EM64T) echo x86_64-unknown-interix${UNAME_RELEASE} exit ;; IA64) echo ia64-unknown-interix${UNAME_RELEASE} exit ;; esac ;; [345]86:Windows_95:* | [345]86:Windows_98:* | [345]86:Windows_NT:*) echo i${UNAME_MACHINE}-pc-mks exit ;; 8664:Windows_NT:*) echo x86_64-pc-mks exit ;; i*:Windows_NT*:* | Pentium*:Windows_NT*:*) # How do we know it's Interix rather than the generic POSIX subsystem? # It also conflicts with pre-2.0 versions of AT&T UWIN. Should we # UNAME_MACHINE based on the output of uname instead of i386? echo i586-pc-interix exit ;; i*:UWIN*:*) echo ${UNAME_MACHINE}-pc-uwin exit ;; amd64:CYGWIN*:*:* | x86_64:CYGWIN*:*:*) echo x86_64-unknown-cygwin exit ;; p*:CYGWIN*:*) echo powerpcle-unknown-cygwin exit ;; prep*:SunOS:5.*:*) echo powerpcle-unknown-solaris2`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'` exit ;; *:GNU:*:*) # the GNU system echo `echo ${UNAME_MACHINE}|sed -e 's,[-/].*$,,'`-unknown-${LIBC}`echo ${UNAME_RELEASE}|sed -e 's,/.*$,,'` exit ;; *:GNU/*:*:*) # other systems with GNU libc and userland echo ${UNAME_MACHINE}-unknown-`echo ${UNAME_SYSTEM} | sed 's,^[^/]*/,,' | tr '[A-Z]' '[a-z]'``echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'`-${LIBC} exit ;; i*86:Minix:*:*) echo ${UNAME_MACHINE}-pc-minix exit ;; aarch64:Linux:*:*) echo ${UNAME_MACHINE}-unknown-linux-${LIBC} exit ;; aarch64_be:Linux:*:*) UNAME_MACHINE=aarch64_be echo ${UNAME_MACHINE}-unknown-linux-${LIBC} exit ;; alpha:Linux:*:*) case `sed -n '/^cpu model/s/^.*: \(.*\)/\1/p' < /proc/cpuinfo` in EV5) UNAME_MACHINE=alphaev5 ;; EV56) UNAME_MACHINE=alphaev56 ;; PCA56) UNAME_MACHINE=alphapca56 ;; PCA57) UNAME_MACHINE=alphapca56 ;; EV6) UNAME_MACHINE=alphaev6 ;; EV67) UNAME_MACHINE=alphaev67 ;; EV68*) UNAME_MACHINE=alphaev68 ;; esac objdump --private-headers /bin/sh | grep -q ld.so.1 if test "$?" = 0 ; then LIBC="gnulibc1" ; fi echo ${UNAME_MACHINE}-unknown-linux-${LIBC} exit ;; arc:Linux:*:* | arceb:Linux:*:*) echo ${UNAME_MACHINE}-unknown-linux-${LIBC} exit ;; arm*:Linux:*:*) eval $set_cc_for_build if echo __ARM_EABI__ | $CC_FOR_BUILD -E - 2>/dev/null \ | grep -q __ARM_EABI__ then echo ${UNAME_MACHINE}-unknown-linux-${LIBC} else if echo __ARM_PCS_VFP | $CC_FOR_BUILD -E - 2>/dev/null \ | grep -q __ARM_PCS_VFP then echo ${UNAME_MACHINE}-unknown-linux-${LIBC}eabi else echo ${UNAME_MACHINE}-unknown-linux-${LIBC}eabihf fi fi exit ;; avr32*:Linux:*:*) echo ${UNAME_MACHINE}-unknown-linux-${LIBC} exit ;; cris:Linux:*:*) echo ${UNAME_MACHINE}-axis-linux-${LIBC} exit ;; crisv32:Linux:*:*) echo ${UNAME_MACHINE}-axis-linux-${LIBC} exit ;; frv:Linux:*:*) echo ${UNAME_MACHINE}-unknown-linux-${LIBC} exit ;; hexagon:Linux:*:*) echo ${UNAME_MACHINE}-unknown-linux-${LIBC} exit ;; i*86:Linux:*:*) echo ${UNAME_MACHINE}-pc-linux-${LIBC} exit ;; ia64:Linux:*:*) echo ${UNAME_MACHINE}-unknown-linux-${LIBC} exit ;; m32r*:Linux:*:*) echo ${UNAME_MACHINE}-unknown-linux-${LIBC} exit ;; m68*:Linux:*:*) echo ${UNAME_MACHINE}-unknown-linux-${LIBC} exit ;; mips:Linux:*:* | mips64:Linux:*:*) eval $set_cc_for_build sed 's/^ //' << EOF >$dummy.c #undef CPU #undef ${UNAME_MACHINE} #undef ${UNAME_MACHINE}el #if defined(__MIPSEL__) || defined(__MIPSEL) || defined(_MIPSEL) || defined(MIPSEL) CPU=${UNAME_MACHINE}el #else #if defined(__MIPSEB__) || defined(__MIPSEB) || defined(_MIPSEB) || defined(MIPSEB) CPU=${UNAME_MACHINE} #else CPU= #endif #endif EOF eval `$CC_FOR_BUILD -E $dummy.c 2>/dev/null | grep '^CPU'` test x"${CPU}" != x && { echo "${CPU}-unknown-linux-${LIBC}"; exit; } ;; or1k:Linux:*:*) echo ${UNAME_MACHINE}-unknown-linux-${LIBC} exit ;; or32:Linux:*:*) echo ${UNAME_MACHINE}-unknown-linux-${LIBC} exit ;; padre:Linux:*:*) echo sparc-unknown-linux-${LIBC} exit ;; parisc64:Linux:*:* | hppa64:Linux:*:*) echo hppa64-unknown-linux-${LIBC} exit ;; parisc:Linux:*:* | hppa:Linux:*:*) # Look for CPU level case `grep '^cpu[^a-z]*:' /proc/cpuinfo 2>/dev/null | cut -d' ' -f2` in PA7*) echo hppa1.1-unknown-linux-${LIBC} ;; PA8*) echo hppa2.0-unknown-linux-${LIBC} ;; *) echo hppa-unknown-linux-${LIBC} ;; esac exit ;; ppc64:Linux:*:*) echo powerpc64-unknown-linux-${LIBC} exit ;; ppc:Linux:*:*) echo powerpc-unknown-linux-${LIBC} exit ;; ppc64le:Linux:*:*) echo powerpc64le-unknown-linux-${LIBC} exit ;; ppcle:Linux:*:*) echo powerpcle-unknown-linux-${LIBC} exit ;; s390:Linux:*:* | s390x:Linux:*:*) echo ${UNAME_MACHINE}-ibm-linux-${LIBC} exit ;; sh64*:Linux:*:*) echo ${UNAME_MACHINE}-unknown-linux-${LIBC} exit ;; sh*:Linux:*:*) echo ${UNAME_MACHINE}-unknown-linux-${LIBC} exit ;; sparc:Linux:*:* | sparc64:Linux:*:*) echo ${UNAME_MACHINE}-unknown-linux-${LIBC} exit ;; tile*:Linux:*:*) echo ${UNAME_MACHINE}-unknown-linux-${LIBC} exit ;; vax:Linux:*:*) echo ${UNAME_MACHINE}-dec-linux-${LIBC} exit ;; x86_64:Linux:*:*) echo ${UNAME_MACHINE}-unknown-linux-${LIBC} exit ;; xtensa*:Linux:*:*) echo ${UNAME_MACHINE}-unknown-linux-${LIBC} exit ;; i*86:DYNIX/ptx:4*:*) # ptx 4.0 does uname -s correctly, with DYNIX/ptx in there. # earlier versions are messed up and put the nodename in both # sysname and nodename. echo i386-sequent-sysv4 exit ;; i*86:UNIX_SV:4.2MP:2.*) # Unixware is an offshoot of SVR4, but it has its own version # number series starting with 2... # I am not positive that other SVR4 systems won't match this, # I just have to hope. -- rms. # Use sysv4.2uw... so that sysv4* matches it. echo ${UNAME_MACHINE}-pc-sysv4.2uw${UNAME_VERSION} exit ;; i*86:OS/2:*:*) # If we were able to find `uname', then EMX Unix compatibility # is probably installed. echo ${UNAME_MACHINE}-pc-os2-emx exit ;; i*86:XTS-300:*:STOP) echo ${UNAME_MACHINE}-unknown-stop exit ;; i*86:atheos:*:*) echo ${UNAME_MACHINE}-unknown-atheos exit ;; i*86:syllable:*:*) echo ${UNAME_MACHINE}-pc-syllable exit ;; i*86:LynxOS:2.*:* | i*86:LynxOS:3.[01]*:* | i*86:LynxOS:4.[02]*:*) echo i386-unknown-lynxos${UNAME_RELEASE} exit ;; i*86:*DOS:*:*) echo ${UNAME_MACHINE}-pc-msdosdjgpp exit ;; i*86:*:4.*:* | i*86:SYSTEM_V:4.*:*) UNAME_REL=`echo ${UNAME_RELEASE} | sed 's/\/MP$//'` if grep Novell /usr/include/link.h >/dev/null 2>/dev/null; then echo ${UNAME_MACHINE}-univel-sysv${UNAME_REL} else echo ${UNAME_MACHINE}-pc-sysv${UNAME_REL} fi exit ;; i*86:*:5:[678]*) # UnixWare 7.x, OpenUNIX and OpenServer 6. case `/bin/uname -X | grep "^Machine"` in *486*) UNAME_MACHINE=i486 ;; *Pentium) UNAME_MACHINE=i586 ;; *Pent*|*Celeron) UNAME_MACHINE=i686 ;; esac echo ${UNAME_MACHINE}-unknown-sysv${UNAME_RELEASE}${UNAME_SYSTEM}${UNAME_VERSION} exit ;; i*86:*:3.2:*) if test -f /usr/options/cb.name; then UNAME_REL=`sed -n 's/.*Version //p' /dev/null >/dev/null ; then UNAME_REL=`(/bin/uname -X|grep Release|sed -e 's/.*= //')` (/bin/uname -X|grep i80486 >/dev/null) && UNAME_MACHINE=i486 (/bin/uname -X|grep '^Machine.*Pentium' >/dev/null) \ && UNAME_MACHINE=i586 (/bin/uname -X|grep '^Machine.*Pent *II' >/dev/null) \ && UNAME_MACHINE=i686 (/bin/uname -X|grep '^Machine.*Pentium Pro' >/dev/null) \ && UNAME_MACHINE=i686 echo ${UNAME_MACHINE}-pc-sco$UNAME_REL else echo ${UNAME_MACHINE}-pc-sysv32 fi exit ;; pc:*:*:*) # Left here for compatibility: # uname -m prints for DJGPP always 'pc', but it prints nothing about # the processor, so we play safe by assuming i586. # Note: whatever this is, it MUST be the same as what config.sub # prints for the "djgpp" host, or else GDB configury will decide that # this is a cross-build. echo i586-pc-msdosdjgpp exit ;; Intel:Mach:3*:*) echo i386-pc-mach3 exit ;; paragon:*:*:*) echo i860-intel-osf1 exit ;; i860:*:4.*:*) # i860-SVR4 if grep Stardent /usr/include/sys/uadmin.h >/dev/null 2>&1 ; then echo i860-stardent-sysv${UNAME_RELEASE} # Stardent Vistra i860-SVR4 else # Add other i860-SVR4 vendors below as they are discovered. echo i860-unknown-sysv${UNAME_RELEASE} # Unknown i860-SVR4 fi exit ;; mini*:CTIX:SYS*5:*) # "miniframe" echo m68010-convergent-sysv exit ;; mc68k:UNIX:SYSTEM5:3.51m) echo m68k-convergent-sysv exit ;; M680?0:D-NIX:5.3:*) echo m68k-diab-dnix exit ;; M68*:*:R3V[5678]*:*) test -r /sysV68 && { echo 'm68k-motorola-sysv'; exit; } ;; 3[345]??:*:4.0:3.0 | 3[34]??A:*:4.0:3.0 | 3[34]??,*:*:4.0:3.0 | 3[34]??/*:*:4.0:3.0 | 4400:*:4.0:3.0 | 4850:*:4.0:3.0 | SKA40:*:4.0:3.0 | SDS2:*:4.0:3.0 | SHG2:*:4.0:3.0 | S7501*:*:4.0:3.0) OS_REL='' test -r /etc/.relid \ && OS_REL=.`sed -n 's/[^ ]* [^ ]* \([0-9][0-9]\).*/\1/p' < /etc/.relid` /bin/uname -p 2>/dev/null | grep 86 >/dev/null \ && { echo i486-ncr-sysv4.3${OS_REL}; exit; } /bin/uname -p 2>/dev/null | /bin/grep entium >/dev/null \ && { echo i586-ncr-sysv4.3${OS_REL}; exit; } ;; 3[34]??:*:4.0:* | 3[34]??,*:*:4.0:*) /bin/uname -p 2>/dev/null | grep 86 >/dev/null \ && { echo i486-ncr-sysv4; exit; } ;; NCR*:*:4.2:* | MPRAS*:*:4.2:*) OS_REL='.3' test -r /etc/.relid \ && OS_REL=.`sed -n 's/[^ ]* [^ ]* \([0-9][0-9]\).*/\1/p' < /etc/.relid` /bin/uname -p 2>/dev/null | grep 86 >/dev/null \ && { echo i486-ncr-sysv4.3${OS_REL}; exit; } /bin/uname -p 2>/dev/null | /bin/grep entium >/dev/null \ && { echo i586-ncr-sysv4.3${OS_REL}; exit; } /bin/uname -p 2>/dev/null | /bin/grep pteron >/dev/null \ && { echo i586-ncr-sysv4.3${OS_REL}; exit; } ;; m68*:LynxOS:2.*:* | m68*:LynxOS:3.0*:*) echo m68k-unknown-lynxos${UNAME_RELEASE} exit ;; mc68030:UNIX_System_V:4.*:*) echo m68k-atari-sysv4 exit ;; TSUNAMI:LynxOS:2.*:*) echo sparc-unknown-lynxos${UNAME_RELEASE} exit ;; rs6000:LynxOS:2.*:*) echo rs6000-unknown-lynxos${UNAME_RELEASE} exit ;; PowerPC:LynxOS:2.*:* | PowerPC:LynxOS:3.[01]*:* | PowerPC:LynxOS:4.[02]*:*) echo powerpc-unknown-lynxos${UNAME_RELEASE} exit ;; SM[BE]S:UNIX_SV:*:*) echo mips-dde-sysv${UNAME_RELEASE} exit ;; RM*:ReliantUNIX-*:*:*) echo mips-sni-sysv4 exit ;; RM*:SINIX-*:*:*) echo mips-sni-sysv4 exit ;; *:SINIX-*:*:*) if uname -p 2>/dev/null >/dev/null ; then UNAME_MACHINE=`(uname -p) 2>/dev/null` echo ${UNAME_MACHINE}-sni-sysv4 else echo ns32k-sni-sysv fi exit ;; PENTIUM:*:4.0*:*) # Unisys `ClearPath HMP IX 4000' SVR4/MP effort # says echo i586-unisys-sysv4 exit ;; *:UNIX_System_V:4*:FTX*) # From Gerald Hewes . # How about differentiating between stratus architectures? -djm echo hppa1.1-stratus-sysv4 exit ;; *:*:*:FTX*) # From seanf@swdc.stratus.com. echo i860-stratus-sysv4 exit ;; i*86:VOS:*:*) # From Paul.Green@stratus.com. echo ${UNAME_MACHINE}-stratus-vos exit ;; *:VOS:*:*) # From Paul.Green@stratus.com. echo hppa1.1-stratus-vos exit ;; mc68*:A/UX:*:*) echo m68k-apple-aux${UNAME_RELEASE} exit ;; news*:NEWS-OS:6*:*) echo mips-sony-newsos6 exit ;; R[34]000:*System_V*:*:* | R4000:UNIX_SYSV:*:* | R*000:UNIX_SV:*:*) if [ -d /usr/nec ]; then echo mips-nec-sysv${UNAME_RELEASE} else echo mips-unknown-sysv${UNAME_RELEASE} fi exit ;; BeBox:BeOS:*:*) # BeOS running on hardware made by Be, PPC only. echo powerpc-be-beos exit ;; BeMac:BeOS:*:*) # BeOS running on Mac or Mac clone, PPC only. echo powerpc-apple-beos exit ;; BePC:BeOS:*:*) # BeOS running on Intel PC compatible. echo i586-pc-beos exit ;; BePC:Haiku:*:*) # Haiku running on Intel PC compatible. echo i586-pc-haiku exit ;; x86_64:Haiku:*:*) echo x86_64-unknown-haiku exit ;; SX-4:SUPER-UX:*:*) echo sx4-nec-superux${UNAME_RELEASE} exit ;; SX-5:SUPER-UX:*:*) echo sx5-nec-superux${UNAME_RELEASE} exit ;; SX-6:SUPER-UX:*:*) echo sx6-nec-superux${UNAME_RELEASE} exit ;; SX-7:SUPER-UX:*:*) echo sx7-nec-superux${UNAME_RELEASE} exit ;; SX-8:SUPER-UX:*:*) echo sx8-nec-superux${UNAME_RELEASE} exit ;; SX-8R:SUPER-UX:*:*) echo sx8r-nec-superux${UNAME_RELEASE} exit ;; Power*:Rhapsody:*:*) echo powerpc-apple-rhapsody${UNAME_RELEASE} exit ;; *:Rhapsody:*:*) echo ${UNAME_MACHINE}-apple-rhapsody${UNAME_RELEASE} exit ;; *:Darwin:*:*) UNAME_PROCESSOR=`uname -p` || UNAME_PROCESSOR=unknown eval $set_cc_for_build if test "$UNAME_PROCESSOR" = unknown ; then UNAME_PROCESSOR=powerpc fi if test `echo "$UNAME_RELEASE" | sed -e 's/\..*//'` -le 10 ; then if [ "$CC_FOR_BUILD" != 'no_compiler_found' ]; then if (echo '#ifdef __LP64__'; echo IS_64BIT_ARCH; echo '#endif') | \ (CCOPTS= $CC_FOR_BUILD -E - 2>/dev/null) | \ grep IS_64BIT_ARCH >/dev/null then case $UNAME_PROCESSOR in i386) UNAME_PROCESSOR=x86_64 ;; powerpc) UNAME_PROCESSOR=powerpc64 ;; esac fi fi elif test "$UNAME_PROCESSOR" = i386 ; then # Avoid executing cc on OS X 10.9, as it ships with a stub # that puts up a graphical alert prompting to install # developer tools. Any system running Mac OS X 10.7 or # later (Darwin 11 and later) is required to have a 64-bit # processor. This is not true of the ARM version of Darwin # that Apple uses in portable devices. UNAME_PROCESSOR=x86_64 fi echo ${UNAME_PROCESSOR}-apple-darwin${UNAME_RELEASE} exit ;; *:procnto*:*:* | *:QNX:[0123456789]*:*) UNAME_PROCESSOR=`uname -p` if test "$UNAME_PROCESSOR" = "x86"; then UNAME_PROCESSOR=i386 UNAME_MACHINE=pc fi echo ${UNAME_PROCESSOR}-${UNAME_MACHINE}-nto-qnx${UNAME_RELEASE} exit ;; *:QNX:*:4*) echo i386-pc-qnx exit ;; NEO-?:NONSTOP_KERNEL:*:*) echo neo-tandem-nsk${UNAME_RELEASE} exit ;; NSE-*:NONSTOP_KERNEL:*:*) echo nse-tandem-nsk${UNAME_RELEASE} exit ;; NSR-?:NONSTOP_KERNEL:*:*) echo nsr-tandem-nsk${UNAME_RELEASE} exit ;; *:NonStop-UX:*:*) echo mips-compaq-nonstopux exit ;; BS2000:POSIX*:*:*) echo bs2000-siemens-sysv exit ;; DS/*:UNIX_System_V:*:*) echo ${UNAME_MACHINE}-${UNAME_SYSTEM}-${UNAME_RELEASE} exit ;; *:Plan9:*:*) # "uname -m" is not consistent, so use $cputype instead. 386 # is converted to i386 for consistency with other x86 # operating systems. if test "$cputype" = "386"; then UNAME_MACHINE=i386 else UNAME_MACHINE="$cputype" fi echo ${UNAME_MACHINE}-unknown-plan9 exit ;; *:TOPS-10:*:*) echo pdp10-unknown-tops10 exit ;; *:TENEX:*:*) echo pdp10-unknown-tenex exit ;; KS10:TOPS-20:*:* | KL10:TOPS-20:*:* | TYPE4:TOPS-20:*:*) echo pdp10-dec-tops20 exit ;; XKL-1:TOPS-20:*:* | TYPE5:TOPS-20:*:*) echo pdp10-xkl-tops20 exit ;; *:TOPS-20:*:*) echo pdp10-unknown-tops20 exit ;; *:ITS:*:*) echo pdp10-unknown-its exit ;; SEI:*:*:SEIUX) echo mips-sei-seiux${UNAME_RELEASE} exit ;; *:DragonFly:*:*) echo ${UNAME_MACHINE}-unknown-dragonfly`echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'` exit ;; *:*VMS:*:*) UNAME_MACHINE=`(uname -p) 2>/dev/null` case "${UNAME_MACHINE}" in A*) echo alpha-dec-vms ; exit ;; I*) echo ia64-dec-vms ; exit ;; V*) echo vax-dec-vms ; exit ;; esac ;; *:XENIX:*:SysV) echo i386-pc-xenix exit ;; i*86:skyos:*:*) echo ${UNAME_MACHINE}-pc-skyos`echo ${UNAME_RELEASE}` | sed -e 's/ .*$//' exit ;; i*86:rdos:*:*) echo ${UNAME_MACHINE}-pc-rdos exit ;; i*86:AROS:*:*) echo ${UNAME_MACHINE}-pc-aros exit ;; x86_64:VMkernel:*:*) echo ${UNAME_MACHINE}-unknown-esx exit ;; esac eval $set_cc_for_build cat >$dummy.c < # include #endif main () { #if defined (sony) #if defined (MIPSEB) /* BFD wants "bsd" instead of "newsos". Perhaps BFD should be changed, I don't know.... */ printf ("mips-sony-bsd\n"); exit (0); #else #include printf ("m68k-sony-newsos%s\n", #ifdef NEWSOS4 "4" #else "" #endif ); exit (0); #endif #endif #if defined (__arm) && defined (__acorn) && defined (__unix) printf ("arm-acorn-riscix\n"); exit (0); #endif #if defined (hp300) && !defined (hpux) printf ("m68k-hp-bsd\n"); exit (0); #endif #if defined (NeXT) #if !defined (__ARCHITECTURE__) #define __ARCHITECTURE__ "m68k" #endif int version; version=`(hostinfo | sed -n 's/.*NeXT Mach \([0-9]*\).*/\1/p') 2>/dev/null`; if (version < 4) printf ("%s-next-nextstep%d\n", __ARCHITECTURE__, version); else printf ("%s-next-openstep%d\n", __ARCHITECTURE__, version); exit (0); #endif #if defined (MULTIMAX) || defined (n16) #if defined (UMAXV) printf ("ns32k-encore-sysv\n"); exit (0); #else #if defined (CMU) printf ("ns32k-encore-mach\n"); exit (0); #else printf ("ns32k-encore-bsd\n"); exit (0); #endif #endif #endif #if defined (__386BSD__) printf ("i386-pc-bsd\n"); exit (0); #endif #if defined (sequent) #if defined (i386) printf ("i386-sequent-dynix\n"); exit (0); #endif #if defined (ns32000) printf ("ns32k-sequent-dynix\n"); exit (0); #endif #endif #if defined (_SEQUENT_) struct utsname un; uname(&un); if (strncmp(un.version, "V2", 2) == 0) { printf ("i386-sequent-ptx2\n"); exit (0); } if (strncmp(un.version, "V1", 2) == 0) { /* XXX is V1 correct? */ printf ("i386-sequent-ptx1\n"); exit (0); } printf ("i386-sequent-ptx\n"); exit (0); #endif #if defined (vax) # if !defined (ultrix) # include # if defined (BSD) # if BSD == 43 printf ("vax-dec-bsd4.3\n"); exit (0); # else # if BSD == 199006 printf ("vax-dec-bsd4.3reno\n"); exit (0); # else printf ("vax-dec-bsd\n"); exit (0); # endif # endif # else printf ("vax-dec-bsd\n"); exit (0); # endif # else printf ("vax-dec-ultrix\n"); exit (0); # endif #endif #if defined (alliant) && defined (i860) printf ("i860-alliant-bsd\n"); exit (0); #endif exit (1); } EOF $CC_FOR_BUILD -o $dummy $dummy.c 2>/dev/null && SYSTEM_NAME=`$dummy` && { echo "$SYSTEM_NAME"; exit; } # Apollos put the system type in the environment. test -d /usr/apollo && { echo ${ISP}-apollo-${SYSTYPE}; exit; } # Convex versions that predate uname can use getsysinfo(1) if [ -x /usr/convex/getsysinfo ] then case `getsysinfo -f cpu_type` in c1*) echo c1-convex-bsd exit ;; c2*) if getsysinfo -f scalar_acc then echo c32-convex-bsd else echo c2-convex-bsd fi exit ;; c34*) echo c34-convex-bsd exit ;; c38*) echo c38-convex-bsd exit ;; c4*) echo c4-convex-bsd exit ;; esac fi cat >&2 < in order to provide the needed information to handle your system. config.guess timestamp = $timestamp uname -m = `(uname -m) 2>/dev/null || echo unknown` uname -r = `(uname -r) 2>/dev/null || echo unknown` uname -s = `(uname -s) 2>/dev/null || echo unknown` uname -v = `(uname -v) 2>/dev/null || echo unknown` /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null` /bin/uname -X = `(/bin/uname -X) 2>/dev/null` hostinfo = `(hostinfo) 2>/dev/null` /bin/universe = `(/bin/universe) 2>/dev/null` /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null` /bin/arch = `(/bin/arch) 2>/dev/null` /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null` /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null` UNAME_MACHINE = ${UNAME_MACHINE} UNAME_RELEASE = ${UNAME_RELEASE} UNAME_SYSTEM = ${UNAME_SYSTEM} UNAME_VERSION = ${UNAME_VERSION} EOF exit 1 # Local variables: # eval: (add-hook 'write-file-hooks 'time-stamp) # time-stamp-start: "timestamp='" # time-stamp-format: "%:y-%02m-%02d" # time-stamp-end: "'" # End: pal-0.5.0/config.h.in000644 000765 000024 00000004005 12366007540 014423 0ustar00timjstaff000000 000000 /* config.h.in. Generated from configure.ac by autoheader. */ /* Define to 1 if you have the `copysign' function. */ #undef HAVE_COPYSIGN /* Define to 1 if you have the header file. */ #undef HAVE_DLFCN_H /* Define to 1 if you have the header file. */ #undef HAVE_INTTYPES_H /* Define to 1 if you have the `isblank' function. */ #undef HAVE_ISBLANK /* Define to 1 if you have the `m' library (-lm). */ #undef HAVE_LIBM /* Define to 1 if you have the header file. */ #undef HAVE_MEMORY_H /* "Build with SOFA library" */ #undef HAVE_SOFA_H /* Define to 1 if you have the header file. */ #undef HAVE_STAR_UTIL_H /* Define to 1 if you have the header file. */ #undef HAVE_STDINT_H /* Define to 1 if you have the header file. */ #undef HAVE_STDLIB_H /* Define to 1 if you have the header file. */ #undef HAVE_STRINGS_H /* Define to 1 if you have the header file. */ #undef HAVE_STRING_H /* Define to 1 if you have the `strlcpy' function. */ #undef HAVE_STRLCPY /* Define to 1 if you have the header file. */ #undef HAVE_SYS_STAT_H /* Define to 1 if you have the header file. */ #undef HAVE_SYS_TYPES_H /* Define to 1 if you have the header file. */ #undef HAVE_UNISTD_H /* Define to the sub-directory in which libtool stores uninstalled libraries. */ #undef LT_OBJDIR /* Name of package */ #undef PACKAGE /* Define to the address where bug reports for this package should be sent. */ #undef PACKAGE_BUGREPORT /* Define to the full name of this package. */ #undef PACKAGE_NAME /* Define to the full name and version of this package. */ #undef PACKAGE_STRING /* Define to the one symbol short name of this package. */ #undef PACKAGE_TARNAME /* Define to the home page for this package. */ #undef PACKAGE_URL /* Define to the version of this package. */ #undef PACKAGE_VERSION /* Define to 1 if you have the ANSI C header files. */ #undef STDC_HEADERS /* Version number of package */ #undef VERSION pal-0.5.0/config.sub000755 000765 000024 00000105412 12363621607 014372 0ustar00timjstaff000000 000000 #! /bin/sh # Configuration validation subroutine script. # Copyright 1992-2013 Free Software Foundation, Inc. timestamp='2013-10-01' # This file is free software; you can redistribute it and/or modify it # under the terms of the GNU General Public License as published by # the Free Software Foundation; either version 3 of the License, or # (at your option) any later version. # # This program is distributed in the hope that it will be useful, but # WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU # General Public License for more details. # # You should have received a copy of the GNU General Public License # along with this program; if not, see . # # As a special exception to the GNU General Public License, if you # distribute this file as part of a program that contains a # configuration script generated by Autoconf, you may include it under # the same distribution terms that you use for the rest of that # program. This Exception is an additional permission under section 7 # of the GNU General Public License, version 3 ("GPLv3"). # Please send patches with a ChangeLog entry to config-patches@gnu.org. # # Configuration subroutine to validate and canonicalize a configuration type. # Supply the specified configuration type as an argument. # If it is invalid, we print an error message on stderr and exit with code 1. # Otherwise, we print the canonical config type on stdout and succeed. # You can get the latest version of this script from: # http://git.savannah.gnu.org/gitweb/?p=config.git;a=blob_plain;f=config.sub;hb=HEAD # This file is supposed to be the same for all GNU packages # and recognize all the CPU types, system types and aliases # that are meaningful with *any* GNU software. # Each package is responsible for reporting which valid configurations # it does not support. The user should be able to distinguish # a failure to support a valid configuration from a meaningless # configuration. # The goal of this file is to map all the various variations of a given # machine specification into a single specification in the form: # CPU_TYPE-MANUFACTURER-OPERATING_SYSTEM # or in some cases, the newer four-part form: # CPU_TYPE-MANUFACTURER-KERNEL-OPERATING_SYSTEM # It is wrong to echo any other type of specification. me=`echo "$0" | sed -e 's,.*/,,'` usage="\ Usage: $0 [OPTION] CPU-MFR-OPSYS $0 [OPTION] ALIAS Canonicalize a configuration name. Operation modes: -h, --help print this help, then exit -t, --time-stamp print date of last modification, then exit -v, --version print version number, then exit Report bugs and patches to ." version="\ GNU config.sub ($timestamp) Copyright 1992-2013 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE." help=" Try \`$me --help' for more information." # Parse command line while test $# -gt 0 ; do case $1 in --time-stamp | --time* | -t ) echo "$timestamp" ; exit ;; --version | -v ) echo "$version" ; exit ;; --help | --h* | -h ) echo "$usage"; exit ;; -- ) # Stop option processing shift; break ;; - ) # Use stdin as input. break ;; -* ) echo "$me: invalid option $1$help" exit 1 ;; *local*) # First pass through any local machine types. echo $1 exit ;; * ) break ;; esac done case $# in 0) echo "$me: missing argument$help" >&2 exit 1;; 1) ;; *) echo "$me: too many arguments$help" >&2 exit 1;; esac # Separate what the user gave into CPU-COMPANY and OS or KERNEL-OS (if any). # Here we must recognize all the valid KERNEL-OS combinations. maybe_os=`echo $1 | sed 's/^\(.*\)-\([^-]*-[^-]*\)$/\2/'` case $maybe_os in nto-qnx* | linux-gnu* | linux-android* | linux-dietlibc | linux-newlib* | \ linux-musl* | linux-uclibc* | uclinux-uclibc* | uclinux-gnu* | kfreebsd*-gnu* | \ knetbsd*-gnu* | netbsd*-gnu* | \ kopensolaris*-gnu* | \ storm-chaos* | os2-emx* | rtmk-nova*) os=-$maybe_os basic_machine=`echo $1 | sed 's/^\(.*\)-\([^-]*-[^-]*\)$/\1/'` ;; android-linux) os=-linux-android basic_machine=`echo $1 | sed 's/^\(.*\)-\([^-]*-[^-]*\)$/\1/'`-unknown ;; *) basic_machine=`echo $1 | sed 's/-[^-]*$//'` if [ $basic_machine != $1 ] then os=`echo $1 | sed 's/.*-/-/'` else os=; fi ;; esac ### Let's recognize common machines as not being operating systems so ### that things like config.sub decstation-3100 work. We also ### recognize some manufacturers as not being operating systems, so we ### can provide default operating systems below. case $os in -sun*os*) # Prevent following clause from handling this invalid input. ;; -dec* | -mips* | -sequent* | -encore* | -pc532* | -sgi* | -sony* | \ -att* | -7300* | -3300* | -delta* | -motorola* | -sun[234]* | \ -unicom* | -ibm* | -next | -hp | -isi* | -apollo | -altos* | \ -convergent* | -ncr* | -news | -32* | -3600* | -3100* | -hitachi* |\ -c[123]* | -convex* | -sun | -crds | -omron* | -dg | -ultra | -tti* | \ -harris | -dolphin | -highlevel | -gould | -cbm | -ns | -masscomp | \ -apple | -axis | -knuth | -cray | -microblaze*) os= basic_machine=$1 ;; -bluegene*) os=-cnk ;; -sim | -cisco | -oki | -wec | -winbond) os= basic_machine=$1 ;; -scout) ;; -wrs) os=-vxworks basic_machine=$1 ;; -chorusos*) os=-chorusos basic_machine=$1 ;; -chorusrdb) os=-chorusrdb basic_machine=$1 ;; -hiux*) os=-hiuxwe2 ;; -sco6) os=-sco5v6 basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'` ;; -sco5) os=-sco3.2v5 basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'` ;; -sco4) os=-sco3.2v4 basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'` ;; -sco3.2.[4-9]*) os=`echo $os | sed -e 's/sco3.2./sco3.2v/'` basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'` ;; -sco3.2v[4-9]*) # Don't forget version if it is 3.2v4 or newer. basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'` ;; -sco5v6*) # Don't forget version if it is 3.2v4 or newer. basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'` ;; -sco*) os=-sco3.2v2 basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'` ;; -udk*) basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'` ;; -isc) os=-isc2.2 basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'` ;; -clix*) basic_machine=clipper-intergraph ;; -isc*) basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'` ;; -lynx*178) os=-lynxos178 ;; -lynx*5) os=-lynxos5 ;; -lynx*) os=-lynxos ;; -ptx*) basic_machine=`echo $1 | sed -e 's/86-.*/86-sequent/'` ;; -windowsnt*) os=`echo $os | sed -e 's/windowsnt/winnt/'` ;; -psos*) os=-psos ;; -mint | -mint[0-9]*) basic_machine=m68k-atari os=-mint ;; esac # Decode aliases for certain CPU-COMPANY combinations. case $basic_machine in # Recognize the basic CPU types without company name. # Some are omitted here because they have special meanings below. 1750a | 580 \ | a29k \ | aarch64 | aarch64_be \ | alpha | alphaev[4-8] | alphaev56 | alphaev6[78] | alphapca5[67] \ | alpha64 | alpha64ev[4-8] | alpha64ev56 | alpha64ev6[78] | alpha64pca5[67] \ | am33_2.0 \ | arc | arceb \ | arm | arm[bl]e | arme[lb] | armv[2-8] | armv[3-8][lb] | armv7[arm] \ | avr | avr32 \ | be32 | be64 \ | bfin \ | c4x | c8051 | clipper \ | d10v | d30v | dlx | dsp16xx \ | epiphany \ | fido | fr30 | frv \ | h8300 | h8500 | hppa | hppa1.[01] | hppa2.0 | hppa2.0[nw] | hppa64 \ | hexagon \ | i370 | i860 | i960 | ia64 \ | ip2k | iq2000 \ | k1om \ | le32 | le64 \ | lm32 \ | m32c | m32r | m32rle | m68000 | m68k | m88k \ | maxq | mb | microblaze | microblazeel | mcore | mep | metag \ | mips | mipsbe | mipseb | mipsel | mipsle \ | mips16 \ | mips64 | mips64el \ | mips64octeon | mips64octeonel \ | mips64orion | mips64orionel \ | mips64r5900 | mips64r5900el \ | mips64vr | mips64vrel \ | mips64vr4100 | mips64vr4100el \ | mips64vr4300 | mips64vr4300el \ | mips64vr5000 | mips64vr5000el \ | mips64vr5900 | mips64vr5900el \ | mipsisa32 | mipsisa32el \ | mipsisa32r2 | mipsisa32r2el \ | mipsisa64 | mipsisa64el \ | mipsisa64r2 | mipsisa64r2el \ | mipsisa64sb1 | mipsisa64sb1el \ | mipsisa64sr71k | mipsisa64sr71kel \ | mipsr5900 | mipsr5900el \ | mipstx39 | mipstx39el \ | mn10200 | mn10300 \ | moxie \ | mt \ | msp430 \ | nds32 | nds32le | nds32be \ | nios | nios2 | nios2eb | nios2el \ | ns16k | ns32k \ | open8 \ | or1k | or32 \ | pdp10 | pdp11 | pj | pjl \ | powerpc | powerpc64 | powerpc64le | powerpcle \ | pyramid \ | rl78 | rx \ | score \ | sh | sh[1234] | sh[24]a | sh[24]aeb | sh[23]e | sh[34]eb | sheb | shbe | shle | sh[1234]le | sh3ele \ | sh64 | sh64le \ | sparc | sparc64 | sparc64b | sparc64v | sparc86x | sparclet | sparclite \ | sparcv8 | sparcv9 | sparcv9b | sparcv9v \ | spu \ | tahoe | tic4x | tic54x | tic55x | tic6x | tic80 | tron \ | ubicom32 \ | v850 | v850e | v850e1 | v850e2 | v850es | v850e2v3 \ | we32k \ | x86 | xc16x | xstormy16 | xtensa \ | z8k | z80) basic_machine=$basic_machine-unknown ;; c54x) basic_machine=tic54x-unknown ;; c55x) basic_machine=tic55x-unknown ;; c6x) basic_machine=tic6x-unknown ;; m6811 | m68hc11 | m6812 | m68hc12 | m68hcs12x | nvptx | picochip) basic_machine=$basic_machine-unknown os=-none ;; m88110 | m680[12346]0 | m683?2 | m68360 | m5200 | v70 | w65 | z8k) ;; ms1) basic_machine=mt-unknown ;; strongarm | thumb | xscale) basic_machine=arm-unknown ;; xgate) basic_machine=$basic_machine-unknown os=-none ;; xscaleeb) basic_machine=armeb-unknown ;; xscaleel) basic_machine=armel-unknown ;; # We use `pc' rather than `unknown' # because (1) that's what they normally are, and # (2) the word "unknown" tends to confuse beginning users. i*86 | x86_64) basic_machine=$basic_machine-pc ;; # Object if more than one company name word. *-*-*) echo Invalid configuration \`$1\': machine \`$basic_machine\' not recognized 1>&2 exit 1 ;; # Recognize the basic CPU types with company name. 580-* \ | a29k-* \ | aarch64-* | aarch64_be-* \ | alpha-* | alphaev[4-8]-* | alphaev56-* | alphaev6[78]-* \ | alpha64-* | alpha64ev[4-8]-* | alpha64ev56-* | alpha64ev6[78]-* \ | alphapca5[67]-* | alpha64pca5[67]-* | arc-* | arceb-* \ | arm-* | armbe-* | armle-* | armeb-* | armv*-* \ | avr-* | avr32-* \ | be32-* | be64-* \ | bfin-* | bs2000-* \ | c[123]* | c30-* | [cjt]90-* | c4x-* \ | c8051-* | clipper-* | craynv-* | cydra-* \ | d10v-* | d30v-* | dlx-* \ | elxsi-* \ | f30[01]-* | f700-* | fido-* | fr30-* | frv-* | fx80-* \ | h8300-* | h8500-* \ | hppa-* | hppa1.[01]-* | hppa2.0-* | hppa2.0[nw]-* | hppa64-* \ | hexagon-* \ | i*86-* | i860-* | i960-* | ia64-* \ | ip2k-* | iq2000-* \ | k1om-* \ | le32-* | le64-* \ | lm32-* \ | m32c-* | m32r-* | m32rle-* \ | m68000-* | m680[012346]0-* | m68360-* | m683?2-* | m68k-* \ | m88110-* | m88k-* | maxq-* | mcore-* | metag-* \ | microblaze-* | microblazeel-* \ | mips-* | mipsbe-* | mipseb-* | mipsel-* | mipsle-* \ | mips16-* \ | mips64-* | mips64el-* \ | mips64octeon-* | mips64octeonel-* \ | mips64orion-* | mips64orionel-* \ | mips64r5900-* | mips64r5900el-* \ | mips64vr-* | mips64vrel-* \ | mips64vr4100-* | mips64vr4100el-* \ | mips64vr4300-* | mips64vr4300el-* \ | mips64vr5000-* | mips64vr5000el-* \ | mips64vr5900-* | mips64vr5900el-* \ | mipsisa32-* | mipsisa32el-* \ | mipsisa32r2-* | mipsisa32r2el-* \ | mipsisa64-* | mipsisa64el-* \ | mipsisa64r2-* | mipsisa64r2el-* \ | mipsisa64sb1-* | mipsisa64sb1el-* \ | mipsisa64sr71k-* | mipsisa64sr71kel-* \ | mipsr5900-* | mipsr5900el-* \ | mipstx39-* | mipstx39el-* \ | mmix-* \ | mt-* \ | msp430-* \ | nds32-* | nds32le-* | nds32be-* \ | nios-* | nios2-* | nios2eb-* | nios2el-* \ | none-* | np1-* | ns16k-* | ns32k-* \ | open8-* \ | orion-* \ | pdp10-* | pdp11-* | pj-* | pjl-* | pn-* | power-* \ | powerpc-* | powerpc64-* | powerpc64le-* | powerpcle-* \ | pyramid-* \ | rl78-* | romp-* | rs6000-* | rx-* \ | sh-* | sh[1234]-* | sh[24]a-* | sh[24]aeb-* | sh[23]e-* | sh[34]eb-* | sheb-* | shbe-* \ | shle-* | sh[1234]le-* | sh3ele-* | sh64-* | sh64le-* \ | sparc-* | sparc64-* | sparc64b-* | sparc64v-* | sparc86x-* | sparclet-* \ | sparclite-* \ | sparcv8-* | sparcv9-* | sparcv9b-* | sparcv9v-* | sv1-* | sx?-* \ | tahoe-* \ | tic30-* | tic4x-* | tic54x-* | tic55x-* | tic6x-* | tic80-* \ | tile*-* \ | tron-* \ | ubicom32-* \ | v850-* | v850e-* | v850e1-* | v850es-* | v850e2-* | v850e2v3-* \ | vax-* \ | we32k-* \ | x86-* | x86_64-* | xc16x-* | xps100-* \ | xstormy16-* | xtensa*-* \ | ymp-* \ | z8k-* | z80-*) ;; # Recognize the basic CPU types without company name, with glob match. xtensa*) basic_machine=$basic_machine-unknown ;; # Recognize the various machine names and aliases which stand # for a CPU type and a company and sometimes even an OS. 386bsd) basic_machine=i386-unknown os=-bsd ;; 3b1 | 7300 | 7300-att | att-7300 | pc7300 | safari | unixpc) basic_machine=m68000-att ;; 3b*) basic_machine=we32k-att ;; a29khif) basic_machine=a29k-amd os=-udi ;; abacus) basic_machine=abacus-unknown ;; adobe68k) basic_machine=m68010-adobe os=-scout ;; alliant | fx80) basic_machine=fx80-alliant ;; altos | altos3068) basic_machine=m68k-altos ;; am29k) basic_machine=a29k-none os=-bsd ;; amd64) basic_machine=x86_64-pc ;; amd64-*) basic_machine=x86_64-`echo $basic_machine | sed 's/^[^-]*-//'` ;; amdahl) basic_machine=580-amdahl os=-sysv ;; amiga | amiga-*) basic_machine=m68k-unknown ;; amigaos | amigados) basic_machine=m68k-unknown os=-amigaos ;; amigaunix | amix) basic_machine=m68k-unknown os=-sysv4 ;; apollo68) basic_machine=m68k-apollo os=-sysv ;; apollo68bsd) basic_machine=m68k-apollo os=-bsd ;; aros) basic_machine=i386-pc os=-aros ;; aux) basic_machine=m68k-apple os=-aux ;; balance) basic_machine=ns32k-sequent os=-dynix ;; blackfin) basic_machine=bfin-unknown os=-linux ;; blackfin-*) basic_machine=bfin-`echo $basic_machine | sed 's/^[^-]*-//'` os=-linux ;; bluegene*) basic_machine=powerpc-ibm os=-cnk ;; c54x-*) basic_machine=tic54x-`echo $basic_machine | sed 's/^[^-]*-//'` ;; c55x-*) basic_machine=tic55x-`echo $basic_machine | sed 's/^[^-]*-//'` ;; c6x-*) basic_machine=tic6x-`echo $basic_machine | sed 's/^[^-]*-//'` ;; c90) basic_machine=c90-cray os=-unicos ;; cegcc) basic_machine=arm-unknown os=-cegcc ;; convex-c1) basic_machine=c1-convex os=-bsd ;; convex-c2) basic_machine=c2-convex os=-bsd ;; convex-c32) basic_machine=c32-convex os=-bsd ;; convex-c34) basic_machine=c34-convex os=-bsd ;; convex-c38) basic_machine=c38-convex os=-bsd ;; cray | j90) basic_machine=j90-cray os=-unicos ;; craynv) basic_machine=craynv-cray os=-unicosmp ;; cr16 | cr16-*) basic_machine=cr16-unknown os=-elf ;; crds | unos) basic_machine=m68k-crds ;; crisv32 | crisv32-* | etraxfs*) basic_machine=crisv32-axis ;; cris | cris-* | etrax*) basic_machine=cris-axis ;; crx) basic_machine=crx-unknown os=-elf ;; da30 | da30-*) basic_machine=m68k-da30 ;; decstation | decstation-3100 | pmax | pmax-* | pmin | dec3100 | decstatn) basic_machine=mips-dec ;; decsystem10* | dec10*) basic_machine=pdp10-dec os=-tops10 ;; decsystem20* | dec20*) basic_machine=pdp10-dec os=-tops20 ;; delta | 3300 | motorola-3300 | motorola-delta \ | 3300-motorola | delta-motorola) basic_machine=m68k-motorola ;; delta88) basic_machine=m88k-motorola os=-sysv3 ;; dicos) basic_machine=i686-pc os=-dicos ;; djgpp) basic_machine=i586-pc os=-msdosdjgpp ;; dpx20 | dpx20-*) basic_machine=rs6000-bull os=-bosx ;; dpx2* | dpx2*-bull) basic_machine=m68k-bull os=-sysv3 ;; ebmon29k) basic_machine=a29k-amd os=-ebmon ;; elxsi) basic_machine=elxsi-elxsi os=-bsd ;; encore | umax | mmax) basic_machine=ns32k-encore ;; es1800 | OSE68k | ose68k | ose | OSE) basic_machine=m68k-ericsson os=-ose ;; fx2800) basic_machine=i860-alliant ;; genix) basic_machine=ns32k-ns ;; gmicro) basic_machine=tron-gmicro os=-sysv ;; go32) basic_machine=i386-pc os=-go32 ;; h3050r* | hiux*) basic_machine=hppa1.1-hitachi os=-hiuxwe2 ;; h8300hms) basic_machine=h8300-hitachi os=-hms ;; h8300xray) basic_machine=h8300-hitachi os=-xray ;; h8500hms) basic_machine=h8500-hitachi os=-hms ;; harris) basic_machine=m88k-harris os=-sysv3 ;; hp300-*) basic_machine=m68k-hp ;; hp300bsd) basic_machine=m68k-hp os=-bsd ;; hp300hpux) basic_machine=m68k-hp os=-hpux ;; hp3k9[0-9][0-9] | hp9[0-9][0-9]) basic_machine=hppa1.0-hp ;; hp9k2[0-9][0-9] | hp9k31[0-9]) basic_machine=m68000-hp ;; hp9k3[2-9][0-9]) basic_machine=m68k-hp ;; hp9k6[0-9][0-9] | hp6[0-9][0-9]) basic_machine=hppa1.0-hp ;; hp9k7[0-79][0-9] | hp7[0-79][0-9]) basic_machine=hppa1.1-hp ;; hp9k78[0-9] | hp78[0-9]) # FIXME: really hppa2.0-hp basic_machine=hppa1.1-hp ;; hp9k8[67]1 | hp8[67]1 | hp9k80[24] | hp80[24] | hp9k8[78]9 | hp8[78]9 | hp9k893 | hp893) # FIXME: really hppa2.0-hp basic_machine=hppa1.1-hp ;; hp9k8[0-9][13679] | hp8[0-9][13679]) basic_machine=hppa1.1-hp ;; hp9k8[0-9][0-9] | hp8[0-9][0-9]) basic_machine=hppa1.0-hp ;; hppa-next) os=-nextstep3 ;; hppaosf) basic_machine=hppa1.1-hp os=-osf ;; hppro) basic_machine=hppa1.1-hp os=-proelf ;; i370-ibm* | ibm*) basic_machine=i370-ibm ;; i*86v32) basic_machine=`echo $1 | sed -e 's/86.*/86-pc/'` os=-sysv32 ;; i*86v4*) basic_machine=`echo $1 | sed -e 's/86.*/86-pc/'` os=-sysv4 ;; i*86v) basic_machine=`echo $1 | sed -e 's/86.*/86-pc/'` os=-sysv ;; i*86sol2) basic_machine=`echo $1 | sed -e 's/86.*/86-pc/'` os=-solaris2 ;; i386mach) basic_machine=i386-mach os=-mach ;; i386-vsta | vsta) basic_machine=i386-unknown os=-vsta ;; iris | iris4d) basic_machine=mips-sgi case $os in -irix*) ;; *) os=-irix4 ;; esac ;; isi68 | isi) basic_machine=m68k-isi os=-sysv ;; m68knommu) basic_machine=m68k-unknown os=-linux ;; m68knommu-*) basic_machine=m68k-`echo $basic_machine | sed 's/^[^-]*-//'` os=-linux ;; m88k-omron*) basic_machine=m88k-omron ;; magnum | m3230) basic_machine=mips-mips os=-sysv ;; merlin) basic_machine=ns32k-utek os=-sysv ;; microblaze*) basic_machine=microblaze-xilinx ;; mingw64) basic_machine=x86_64-pc os=-mingw64 ;; mingw32) basic_machine=i686-pc os=-mingw32 ;; mingw32ce) basic_machine=arm-unknown os=-mingw32ce ;; miniframe) basic_machine=m68000-convergent ;; *mint | -mint[0-9]* | *MiNT | *MiNT[0-9]*) basic_machine=m68k-atari os=-mint ;; mips3*-*) basic_machine=`echo $basic_machine | sed -e 's/mips3/mips64/'` ;; mips3*) basic_machine=`echo $basic_machine | sed -e 's/mips3/mips64/'`-unknown ;; monitor) basic_machine=m68k-rom68k os=-coff ;; morphos) basic_machine=powerpc-unknown os=-morphos ;; msdos) basic_machine=i386-pc os=-msdos ;; ms1-*) basic_machine=`echo $basic_machine | sed -e 's/ms1-/mt-/'` ;; msys) basic_machine=i686-pc os=-msys ;; mvs) basic_machine=i370-ibm os=-mvs ;; nacl) basic_machine=le32-unknown os=-nacl ;; ncr3000) basic_machine=i486-ncr os=-sysv4 ;; netbsd386) basic_machine=i386-unknown os=-netbsd ;; netwinder) basic_machine=armv4l-rebel os=-linux ;; news | news700 | news800 | news900) basic_machine=m68k-sony os=-newsos ;; news1000) basic_machine=m68030-sony os=-newsos ;; news-3600 | risc-news) basic_machine=mips-sony os=-newsos ;; necv70) basic_machine=v70-nec os=-sysv ;; next | m*-next ) basic_machine=m68k-next case $os in -nextstep* ) ;; -ns2*) os=-nextstep2 ;; *) os=-nextstep3 ;; esac ;; nh3000) basic_machine=m68k-harris os=-cxux ;; nh[45]000) basic_machine=m88k-harris os=-cxux ;; nindy960) basic_machine=i960-intel os=-nindy ;; mon960) basic_machine=i960-intel os=-mon960 ;; nonstopux) basic_machine=mips-compaq os=-nonstopux ;; np1) basic_machine=np1-gould ;; neo-tandem) basic_machine=neo-tandem ;; nse-tandem) basic_machine=nse-tandem ;; nsr-tandem) basic_machine=nsr-tandem ;; op50n-* | op60c-*) basic_machine=hppa1.1-oki os=-proelf ;; openrisc | openrisc-*) basic_machine=or32-unknown ;; os400) basic_machine=powerpc-ibm os=-os400 ;; OSE68000 | ose68000) basic_machine=m68000-ericsson os=-ose ;; os68k) basic_machine=m68k-none os=-os68k ;; pa-hitachi) basic_machine=hppa1.1-hitachi os=-hiuxwe2 ;; paragon) basic_machine=i860-intel os=-osf ;; parisc) basic_machine=hppa-unknown os=-linux ;; parisc-*) basic_machine=hppa-`echo $basic_machine | sed 's/^[^-]*-//'` os=-linux ;; pbd) basic_machine=sparc-tti ;; pbb) basic_machine=m68k-tti ;; pc532 | pc532-*) basic_machine=ns32k-pc532 ;; pc98) basic_machine=i386-pc ;; pc98-*) basic_machine=i386-`echo $basic_machine | sed 's/^[^-]*-//'` ;; pentium | p5 | k5 | k6 | nexgen | viac3) basic_machine=i586-pc ;; pentiumpro | p6 | 6x86 | athlon | athlon_*) basic_machine=i686-pc ;; pentiumii | pentium2 | pentiumiii | pentium3) basic_machine=i686-pc ;; pentium4) basic_machine=i786-pc ;; pentium-* | p5-* | k5-* | k6-* | nexgen-* | viac3-*) basic_machine=i586-`echo $basic_machine | sed 's/^[^-]*-//'` ;; pentiumpro-* | p6-* | 6x86-* | athlon-*) basic_machine=i686-`echo $basic_machine | sed 's/^[^-]*-//'` ;; pentiumii-* | pentium2-* | pentiumiii-* | pentium3-*) basic_machine=i686-`echo $basic_machine | sed 's/^[^-]*-//'` ;; pentium4-*) basic_machine=i786-`echo $basic_machine | sed 's/^[^-]*-//'` ;; pn) basic_machine=pn-gould ;; power) basic_machine=power-ibm ;; ppc | ppcbe) basic_machine=powerpc-unknown ;; ppc-* | ppcbe-*) basic_machine=powerpc-`echo $basic_machine | sed 's/^[^-]*-//'` ;; ppcle | powerpclittle | ppc-le | powerpc-little) basic_machine=powerpcle-unknown ;; ppcle-* | powerpclittle-*) basic_machine=powerpcle-`echo $basic_machine | sed 's/^[^-]*-//'` ;; ppc64) basic_machine=powerpc64-unknown ;; ppc64-*) basic_machine=powerpc64-`echo $basic_machine | sed 's/^[^-]*-//'` ;; ppc64le | powerpc64little | ppc64-le | powerpc64-little) basic_machine=powerpc64le-unknown ;; ppc64le-* | powerpc64little-*) basic_machine=powerpc64le-`echo $basic_machine | sed 's/^[^-]*-//'` ;; ps2) basic_machine=i386-ibm ;; pw32) basic_machine=i586-unknown os=-pw32 ;; rdos | rdos64) basic_machine=x86_64-pc os=-rdos ;; rdos32) basic_machine=i386-pc os=-rdos ;; rom68k) basic_machine=m68k-rom68k os=-coff ;; rm[46]00) basic_machine=mips-siemens ;; rtpc | rtpc-*) basic_machine=romp-ibm ;; s390 | s390-*) basic_machine=s390-ibm ;; s390x | s390x-*) basic_machine=s390x-ibm ;; sa29200) basic_machine=a29k-amd os=-udi ;; sb1) basic_machine=mipsisa64sb1-unknown ;; sb1el) basic_machine=mipsisa64sb1el-unknown ;; sde) basic_machine=mipsisa32-sde os=-elf ;; sei) basic_machine=mips-sei os=-seiux ;; sequent) basic_machine=i386-sequent ;; sh) basic_machine=sh-hitachi os=-hms ;; sh5el) basic_machine=sh5le-unknown ;; sh64) basic_machine=sh64-unknown ;; sparclite-wrs | simso-wrs) basic_machine=sparclite-wrs os=-vxworks ;; sps7) basic_machine=m68k-bull os=-sysv2 ;; spur) basic_machine=spur-unknown ;; st2000) basic_machine=m68k-tandem ;; stratus) basic_machine=i860-stratus os=-sysv4 ;; strongarm-* | thumb-*) basic_machine=arm-`echo $basic_machine | sed 's/^[^-]*-//'` ;; sun2) basic_machine=m68000-sun ;; sun2os3) basic_machine=m68000-sun os=-sunos3 ;; sun2os4) basic_machine=m68000-sun os=-sunos4 ;; sun3os3) basic_machine=m68k-sun os=-sunos3 ;; sun3os4) basic_machine=m68k-sun os=-sunos4 ;; sun4os3) basic_machine=sparc-sun os=-sunos3 ;; sun4os4) basic_machine=sparc-sun os=-sunos4 ;; sun4sol2) basic_machine=sparc-sun os=-solaris2 ;; sun3 | sun3-*) basic_machine=m68k-sun ;; sun4) basic_machine=sparc-sun ;; sun386 | sun386i | roadrunner) basic_machine=i386-sun ;; sv1) basic_machine=sv1-cray os=-unicos ;; symmetry) basic_machine=i386-sequent os=-dynix ;; t3e) basic_machine=alphaev5-cray os=-unicos ;; t90) basic_machine=t90-cray os=-unicos ;; tile*) basic_machine=$basic_machine-unknown os=-linux-gnu ;; tx39) basic_machine=mipstx39-unknown ;; tx39el) basic_machine=mipstx39el-unknown ;; toad1) basic_machine=pdp10-xkl os=-tops20 ;; tower | tower-32) basic_machine=m68k-ncr ;; tpf) basic_machine=s390x-ibm os=-tpf ;; udi29k) basic_machine=a29k-amd os=-udi ;; ultra3) basic_machine=a29k-nyu os=-sym1 ;; v810 | necv810) basic_machine=v810-nec os=-none ;; vaxv) basic_machine=vax-dec os=-sysv ;; vms) basic_machine=vax-dec os=-vms ;; vpp*|vx|vx-*) basic_machine=f301-fujitsu ;; vxworks960) basic_machine=i960-wrs os=-vxworks ;; vxworks68) basic_machine=m68k-wrs os=-vxworks ;; vxworks29k) basic_machine=a29k-wrs os=-vxworks ;; w65*) basic_machine=w65-wdc os=-none ;; w89k-*) basic_machine=hppa1.1-winbond os=-proelf ;; xbox) basic_machine=i686-pc os=-mingw32 ;; xps | xps100) basic_machine=xps100-honeywell ;; xscale-* | xscalee[bl]-*) basic_machine=`echo $basic_machine | sed 's/^xscale/arm/'` ;; ymp) basic_machine=ymp-cray os=-unicos ;; z8k-*-coff) basic_machine=z8k-unknown os=-sim ;; z80-*-coff) basic_machine=z80-unknown os=-sim ;; none) basic_machine=none-none os=-none ;; # Here we handle the default manufacturer of certain CPU types. It is in # some cases the only manufacturer, in others, it is the most popular. w89k) basic_machine=hppa1.1-winbond ;; op50n) basic_machine=hppa1.1-oki ;; op60c) basic_machine=hppa1.1-oki ;; romp) basic_machine=romp-ibm ;; mmix) basic_machine=mmix-knuth ;; rs6000) basic_machine=rs6000-ibm ;; vax) basic_machine=vax-dec ;; pdp10) # there are many clones, so DEC is not a safe bet basic_machine=pdp10-unknown ;; pdp11) basic_machine=pdp11-dec ;; we32k) basic_machine=we32k-att ;; sh[1234] | sh[24]a | sh[24]aeb | sh[34]eb | sh[1234]le | sh[23]ele) basic_machine=sh-unknown ;; sparc | sparcv8 | sparcv9 | sparcv9b | sparcv9v) basic_machine=sparc-sun ;; cydra) basic_machine=cydra-cydrome ;; orion) basic_machine=orion-highlevel ;; orion105) basic_machine=clipper-highlevel ;; mac | mpw | mac-mpw) basic_machine=m68k-apple ;; pmac | pmac-mpw) basic_machine=powerpc-apple ;; *-unknown) # Make sure to match an already-canonicalized machine name. ;; *) echo Invalid configuration \`$1\': machine \`$basic_machine\' not recognized 1>&2 exit 1 ;; esac # Here we canonicalize certain aliases for manufacturers. case $basic_machine in *-digital*) basic_machine=`echo $basic_machine | sed 's/digital.*/dec/'` ;; *-commodore*) basic_machine=`echo $basic_machine | sed 's/commodore.*/cbm/'` ;; *) ;; esac # Decode manufacturer-specific aliases for certain operating systems. if [ x"$os" != x"" ] then case $os in # First match some system type aliases # that might get confused with valid system types. # -solaris* is a basic system type, with this one exception. -auroraux) os=-auroraux ;; -solaris1 | -solaris1.*) os=`echo $os | sed -e 's|solaris1|sunos4|'` ;; -solaris) os=-solaris2 ;; -svr4*) os=-sysv4 ;; -unixware*) os=-sysv4.2uw ;; -gnu/linux*) os=`echo $os | sed -e 's|gnu/linux|linux-gnu|'` ;; # First accept the basic system types. # The portable systems comes first. # Each alternative MUST END IN A *, to match a version number. # -sysv* is not here because it comes later, after sysvr4. -gnu* | -bsd* | -mach* | -minix* | -genix* | -ultrix* | -irix* \ | -*vms* | -sco* | -esix* | -isc* | -aix* | -cnk* | -sunos | -sunos[34]*\ | -hpux* | -unos* | -osf* | -luna* | -dgux* | -auroraux* | -solaris* \ | -sym* | -kopensolaris* | -plan9* \ | -amigaos* | -amigados* | -msdos* | -newsos* | -unicos* | -aof* \ | -aos* | -aros* \ | -nindy* | -vxsim* | -vxworks* | -ebmon* | -hms* | -mvs* \ | -clix* | -riscos* | -uniplus* | -iris* | -rtu* | -xenix* \ | -hiux* | -386bsd* | -knetbsd* | -mirbsd* | -netbsd* \ | -bitrig* | -openbsd* | -solidbsd* \ | -ekkobsd* | -kfreebsd* | -freebsd* | -riscix* | -lynxos* \ | -bosx* | -nextstep* | -cxux* | -aout* | -elf* | -oabi* \ | -ptx* | -coff* | -ecoff* | -winnt* | -domain* | -vsta* \ | -udi* | -eabi* | -lites* | -ieee* | -go32* | -aux* \ | -chorusos* | -chorusrdb* | -cegcc* \ | -cygwin* | -msys* | -pe* | -psos* | -moss* | -proelf* | -rtems* \ | -mingw32* | -mingw64* | -linux-gnu* | -linux-android* \ | -linux-newlib* | -linux-musl* | -linux-uclibc* \ | -uxpv* | -beos* | -mpeix* | -udk* \ | -interix* | -uwin* | -mks* | -rhapsody* | -darwin* | -opened* \ | -openstep* | -oskit* | -conix* | -pw32* | -nonstopux* \ | -storm-chaos* | -tops10* | -tenex* | -tops20* | -its* \ | -os2* | -vos* | -palmos* | -uclinux* | -nucleus* \ | -morphos* | -superux* | -rtmk* | -rtmk-nova* | -windiss* \ | -powermax* | -dnix* | -nx6 | -nx7 | -sei* | -dragonfly* \ | -skyos* | -haiku* | -rdos* | -toppers* | -drops* | -es*) # Remember, each alternative MUST END IN *, to match a version number. ;; -qnx*) case $basic_machine in x86-* | i*86-*) ;; *) os=-nto$os ;; esac ;; -nto-qnx*) ;; -nto*) os=`echo $os | sed -e 's|nto|nto-qnx|'` ;; -sim | -es1800* | -hms* | -xray | -os68k* | -none* | -v88r* \ | -windows* | -osx | -abug | -netware* | -os9* | -beos* | -haiku* \ | -macos* | -mpw* | -magic* | -mmixware* | -mon960* | -lnews*) ;; -mac*) os=`echo $os | sed -e 's|mac|macos|'` ;; -linux-dietlibc) os=-linux-dietlibc ;; -linux*) os=`echo $os | sed -e 's|linux|linux-gnu|'` ;; -sunos5*) os=`echo $os | sed -e 's|sunos5|solaris2|'` ;; -sunos6*) os=`echo $os | sed -e 's|sunos6|solaris3|'` ;; -opened*) os=-openedition ;; -os400*) os=-os400 ;; -wince*) os=-wince ;; -osfrose*) os=-osfrose ;; -osf*) os=-osf ;; -utek*) os=-bsd ;; -dynix*) os=-bsd ;; -acis*) os=-aos ;; -atheos*) os=-atheos ;; -syllable*) os=-syllable ;; -386bsd) os=-bsd ;; -ctix* | -uts*) os=-sysv ;; -nova*) os=-rtmk-nova ;; -ns2 ) os=-nextstep2 ;; -nsk*) os=-nsk ;; # Preserve the version number of sinix5. -sinix5.*) os=`echo $os | sed -e 's|sinix|sysv|'` ;; -sinix*) os=-sysv4 ;; -tpf*) os=-tpf ;; -triton*) os=-sysv3 ;; -oss*) os=-sysv3 ;; -svr4) os=-sysv4 ;; -svr3) os=-sysv3 ;; -sysvr4) os=-sysv4 ;; # This must come after -sysvr4. -sysv*) ;; -ose*) os=-ose ;; -es1800*) os=-ose ;; -xenix) os=-xenix ;; -*mint | -mint[0-9]* | -*MiNT | -MiNT[0-9]*) os=-mint ;; -aros*) os=-aros ;; -zvmoe) os=-zvmoe ;; -dicos*) os=-dicos ;; -nacl*) ;; -none) ;; *) # Get rid of the `-' at the beginning of $os. os=`echo $os | sed 's/[^-]*-//'` echo Invalid configuration \`$1\': system \`$os\' not recognized 1>&2 exit 1 ;; esac else # Here we handle the default operating systems that come with various machines. # The value should be what the vendor currently ships out the door with their # machine or put another way, the most popular os provided with the machine. # Note that if you're going to try to match "-MANUFACTURER" here (say, # "-sun"), then you have to tell the case statement up towards the top # that MANUFACTURER isn't an operating system. Otherwise, code above # will signal an error saying that MANUFACTURER isn't an operating # system, and we'll never get to this point. case $basic_machine in score-*) os=-elf ;; spu-*) os=-elf ;; *-acorn) os=-riscix1.2 ;; arm*-rebel) os=-linux ;; arm*-semi) os=-aout ;; c4x-* | tic4x-*) os=-coff ;; c8051-*) os=-elf ;; hexagon-*) os=-elf ;; tic54x-*) os=-coff ;; tic55x-*) os=-coff ;; tic6x-*) os=-coff ;; # This must come before the *-dec entry. pdp10-*) os=-tops20 ;; pdp11-*) os=-none ;; *-dec | vax-*) os=-ultrix4.2 ;; m68*-apollo) os=-domain ;; i386-sun) os=-sunos4.0.2 ;; m68000-sun) os=-sunos3 ;; m68*-cisco) os=-aout ;; mep-*) os=-elf ;; mips*-cisco) os=-elf ;; mips*-*) os=-elf ;; or1k-*) os=-elf ;; or32-*) os=-coff ;; *-tti) # must be before sparc entry or we get the wrong os. os=-sysv3 ;; sparc-* | *-sun) os=-sunos4.1.1 ;; *-be) os=-beos ;; *-haiku) os=-haiku ;; *-ibm) os=-aix ;; *-knuth) os=-mmixware ;; *-wec) os=-proelf ;; *-winbond) os=-proelf ;; *-oki) os=-proelf ;; *-hp) os=-hpux ;; *-hitachi) os=-hiux ;; i860-* | *-att | *-ncr | *-altos | *-motorola | *-convergent) os=-sysv ;; *-cbm) os=-amigaos ;; *-dg) os=-dgux ;; *-dolphin) os=-sysv3 ;; m68k-ccur) os=-rtu ;; m88k-omron*) os=-luna ;; *-next ) os=-nextstep ;; *-sequent) os=-ptx ;; *-crds) os=-unos ;; *-ns) os=-genix ;; i370-*) os=-mvs ;; *-next) os=-nextstep3 ;; *-gould) os=-sysv ;; *-highlevel) os=-bsd ;; *-encore) os=-bsd ;; *-sgi) os=-irix ;; *-siemens) os=-sysv4 ;; *-masscomp) os=-rtu ;; f30[01]-fujitsu | f700-fujitsu) os=-uxpv ;; *-rom68k) os=-coff ;; *-*bug) os=-coff ;; *-apple) os=-macos ;; *-atari*) os=-mint ;; *) os=-none ;; esac fi # Here we handle the case where we know the os, and the CPU type, but not the # manufacturer. We pick the logical manufacturer. vendor=unknown case $basic_machine in *-unknown) case $os in -riscix*) vendor=acorn ;; -sunos*) vendor=sun ;; -cnk*|-aix*) vendor=ibm ;; -beos*) vendor=be ;; -hpux*) vendor=hp ;; -mpeix*) vendor=hp ;; -hiux*) vendor=hitachi ;; -unos*) vendor=crds ;; -dgux*) vendor=dg ;; -luna*) vendor=omron ;; -genix*) vendor=ns ;; -mvs* | -opened*) vendor=ibm ;; -os400*) vendor=ibm ;; -ptx*) vendor=sequent ;; -tpf*) vendor=ibm ;; -vxsim* | -vxworks* | -windiss*) vendor=wrs ;; -aux*) vendor=apple ;; -hms*) vendor=hitachi ;; -mpw* | -macos*) vendor=apple ;; -*mint | -mint[0-9]* | -*MiNT | -MiNT[0-9]*) vendor=atari ;; -vos*) vendor=stratus ;; esac basic_machine=`echo $basic_machine | sed "s/unknown/$vendor/"` ;; esac echo $basic_machine$os exit # Local variables: # eval: (add-hook 'write-file-hooks 'time-stamp) # time-stamp-start: "timestamp='" # time-stamp-format: "%:y-%02m-%02d" # time-stamp-end: "'" # End: pal-0.5.0/configure000755 000765 000024 00001525575 12366007533 014336 0ustar00timjstaff000000 000000 #! /bin/sh # From configure.ac Revision: 27534 . # Guess values for system-dependent variables and create Makefiles. # Generated by Starlink Autoconf 2.69 for pal 0.5.0. # # Report bugs to . # # # Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc. # # # This configure script is free software; the Free Software Foundation # gives unlimited permission to copy, distribute and modify it. ## -------------------- ## ## M4sh Initialization. ## ## -------------------- ## # Be more Bourne compatible DUALCASE=1; export DUALCASE # for MKS sh if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then : emulate sh NULLCMD=: # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which # is contrary to our usage. Disable this feature. alias -g '${1+"$@"}'='"$@"' setopt NO_GLOB_SUBST else case `(set -o) 2>/dev/null` in #( *posix*) : set -o posix ;; #( *) : ;; esac fi as_nl=' ' export as_nl # Printing a long string crashes Solaris 7 /usr/bin/printf. as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo # Prefer a ksh shell builtin over an external printf program on Solaris, # but without wasting forks for bash or zsh. if test -z "$BASH_VERSION$ZSH_VERSION" \ && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then as_echo='print -r --' as_echo_n='print -rn --' elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then as_echo='printf %s\n' as_echo_n='printf %s' else if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"' as_echo_n='/usr/ucb/echo -n' else as_echo_body='eval expr "X$1" : "X\\(.*\\)"' as_echo_n_body='eval arg=$1; case $arg in #( *"$as_nl"*) expr "X$arg" : "X\\(.*\\)$as_nl"; arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;; esac; expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl" ' export as_echo_n_body as_echo_n='sh -c $as_echo_n_body as_echo' fi export as_echo_body as_echo='sh -c $as_echo_body as_echo' fi # The user is always right. if test "${PATH_SEPARATOR+set}" != set; then PATH_SEPARATOR=: (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && { (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 || PATH_SEPARATOR=';' } fi # IFS # We need space, tab and new line, in precisely that order. Quoting is # there to prevent editors from complaining about space-tab. # (If _AS_PATH_WALK were called with IFS unset, it would disable word # splitting by setting IFS to empty value.) IFS=" "" $as_nl" # Find who we are. Look in the path if we contain no directory separator. as_myself= case $0 in #(( *[\\/]* ) as_myself=$0 ;; *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break done IFS=$as_save_IFS ;; esac # We did not find ourselves, most probably we were run as `sh COMMAND' # in which case we are not to be found in the path. if test "x$as_myself" = x; then as_myself=$0 fi if test ! -f "$as_myself"; then $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 exit 1 fi # Unset variables that we do not need and which cause bugs (e.g. in # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1" # suppresses any "Segmentation fault" message there. '((' could # trigger a bug in pdksh 5.2.14. for as_var in BASH_ENV ENV MAIL MAILPATH do eval test x\${$as_var+set} = xset \ && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || : done PS1='$ ' PS2='> ' PS4='+ ' # NLS nuisances. LC_ALL=C export LC_ALL LANGUAGE=C export LANGUAGE # CDPATH. (unset CDPATH) >/dev/null 2>&1 && unset CDPATH # Use a proper internal environment variable to ensure we don't fall # into an infinite loop, continuously re-executing ourselves. if test x"${_as_can_reexec}" != xno && test "x$CONFIG_SHELL" != x; then _as_can_reexec=no; export _as_can_reexec; # We cannot yet assume a decent shell, so we have to provide a # neutralization value for shells without unset; and this also # works around shells that cannot unset nonexistent variables. # Preserve -v and -x to the replacement shell. BASH_ENV=/dev/null ENV=/dev/null (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV case $- in # (((( *v*x* | *x*v* ) as_opts=-vx ;; *v* ) as_opts=-v ;; *x* ) as_opts=-x ;; * ) as_opts= ;; esac exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"} # Admittedly, this is quite paranoid, since all the known shells bail # out after a failed `exec'. $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2 as_fn_exit 255 fi # We don't want this to propagate to other subprocesses. { _as_can_reexec=; unset _as_can_reexec;} if test "x$CONFIG_SHELL" = x; then as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then : emulate sh NULLCMD=: # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which # is contrary to our usage. Disable this feature. alias -g '\${1+\"\$@\"}'='\"\$@\"' setopt NO_GLOB_SUBST else case \`(set -o) 2>/dev/null\` in #( *posix*) : set -o posix ;; #( *) : ;; esac fi " as_required="as_fn_return () { (exit \$1); } as_fn_success () { as_fn_return 0; } as_fn_failure () { as_fn_return 1; } as_fn_ret_success () { return 0; } as_fn_ret_failure () { return 1; } exitcode=0 as_fn_success || { exitcode=1; echo as_fn_success failed.; } as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; } as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; } as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; } if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then : else exitcode=1; echo positional parameters were not saved. fi test x\$exitcode = x0 || exit 1 test -x / || exit 1" as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" && test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1 test -n \"\${ZSH_VERSION+set}\${BASH_VERSION+set}\" || ( ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO PATH=/empty FPATH=/empty; export PATH FPATH test \"X\`printf %s \$ECHO\`\" = \"X\$ECHO\" \\ || test \"X\`print -r -- \$ECHO\`\" = \"X\$ECHO\" ) || exit 1 test \$(( 1 + 1 )) = 2 || exit 1" if (eval "$as_required") 2>/dev/null; then : as_have_required=yes else as_have_required=no fi if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then : else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR as_found=false for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. as_found=: case $as_dir in #( /*) for as_base in sh bash ksh sh5; do # Try only shells that exist, to save several forks. as_shell=$as_dir/$as_base if { test -f "$as_shell" || test -f "$as_shell.exe"; } && { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then : CONFIG_SHELL=$as_shell as_have_required=yes if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then : break 2 fi fi done;; esac as_found=false done $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } && { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then : CONFIG_SHELL=$SHELL as_have_required=yes fi; } IFS=$as_save_IFS if test "x$CONFIG_SHELL" != x; then : export CONFIG_SHELL # We cannot yet assume a decent shell, so we have to provide a # neutralization value for shells without unset; and this also # works around shells that cannot unset nonexistent variables. # Preserve -v and -x to the replacement shell. BASH_ENV=/dev/null ENV=/dev/null (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV case $- in # (((( *v*x* | *x*v* ) as_opts=-vx ;; *v* ) as_opts=-v ;; *x* ) as_opts=-x ;; * ) as_opts= ;; esac exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"} # Admittedly, this is quite paranoid, since all the known shells bail # out after a failed `exec'. $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2 exit 255 fi if test x$as_have_required = xno; then : $as_echo "$0: This script requires a shell more modern than all" $as_echo "$0: the shells that I found on your system." if test x${ZSH_VERSION+set} = xset ; then $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should" $as_echo "$0: be upgraded to zsh 4.3.4 or later." else $as_echo "$0: Please tell starlink@jiscmail.ac.uk about your system, $0: including any error possibly output before this $0: message. Then install a modern shell, or manually run $0: the script under such a shell if you do have one." fi exit 1 fi fi fi SHELL=${CONFIG_SHELL-/bin/sh} export SHELL # Unset more variables known to interfere with behavior of common tools. CLICOLOR_FORCE= GREP_OPTIONS= unset CLICOLOR_FORCE GREP_OPTIONS ## --------------------- ## ## M4sh Shell Functions. ## ## --------------------- ## # as_fn_unset VAR # --------------- # Portably unset VAR. as_fn_unset () { { eval $1=; unset $1;} } as_unset=as_fn_unset # as_fn_set_status STATUS # ----------------------- # Set $? to STATUS, without forking. as_fn_set_status () { return $1 } # as_fn_set_status # as_fn_exit STATUS # ----------------- # Exit the shell with STATUS, even in a "trap 0" or "set -e" context. as_fn_exit () { set +e as_fn_set_status $1 exit $1 } # as_fn_exit # as_fn_mkdir_p # ------------- # Create "$as_dir" as a directory, including parents if necessary. as_fn_mkdir_p () { case $as_dir in #( -*) as_dir=./$as_dir;; esac test -d "$as_dir" || eval $as_mkdir_p || { as_dirs= while :; do case $as_dir in #( *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( *) as_qdir=$as_dir;; esac as_dirs="'$as_qdir' $as_dirs" as_dir=`$as_dirname -- "$as_dir" || $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ X"$as_dir" : 'X\(//\)[^/]' \| \ X"$as_dir" : 'X\(//\)$' \| \ X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || $as_echo X"$as_dir" | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/ q } /^X\(\/\/\)[^/].*/{ s//\1/ q } /^X\(\/\/\)$/{ s//\1/ q } /^X\(\/\).*/{ s//\1/ q } s/.*/./; q'` test -d "$as_dir" && break done test -z "$as_dirs" || eval "mkdir $as_dirs" } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir" } # as_fn_mkdir_p # as_fn_executable_p FILE # ----------------------- # Test if FILE is an executable regular file. as_fn_executable_p () { test -f "$1" && test -x "$1" } # as_fn_executable_p # as_fn_append VAR VALUE # ---------------------- # Append the text in VALUE to the end of the definition contained in VAR. Take # advantage of any shell optimizations that allow amortized linear growth over # repeated appends, instead of the typical quadratic growth present in naive # implementations. if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then : eval 'as_fn_append () { eval $1+=\$2 }' else as_fn_append () { eval $1=\$$1\$2 } fi # as_fn_append # as_fn_arith ARG... # ------------------ # Perform arithmetic evaluation on the ARGs, and store the result in the # global $as_val. Take advantage of shells that can avoid forks. The arguments # must be portable across $(()) and expr. if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then : eval 'as_fn_arith () { as_val=$(( $* )) }' else as_fn_arith () { as_val=`expr "$@" || test $? -eq 1` } fi # as_fn_arith # as_fn_error STATUS ERROR [LINENO LOG_FD] # ---------------------------------------- # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are # provided, also output the error to LOG_FD, referencing LINENO. Then exit the # script with STATUS, using 1 if that was 0. as_fn_error () { as_status=$1; test $as_status -eq 0 && as_status=1 if test "$4"; then as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4 fi $as_echo "$as_me: error: $2" >&2 as_fn_exit $as_status } # as_fn_error if expr a : '\(a\)' >/dev/null 2>&1 && test "X`expr 00001 : '.*\(...\)'`" = X001; then as_expr=expr else as_expr=false fi if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then as_basename=basename else as_basename=false fi if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then as_dirname=dirname else as_dirname=false fi as_me=`$as_basename -- "$0" || $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ X"$0" : 'X\(//\)$' \| \ X"$0" : 'X\(/\)' \| . 2>/dev/null || $as_echo X/"$0" | sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/ q } /^X\/\(\/\/\)$/{ s//\1/ q } /^X\/\(\/\).*/{ s//\1/ q } s/.*/./; q'` # Avoid depending upon Character Ranges. as_cr_letters='abcdefghijklmnopqrstuvwxyz' as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' as_cr_Letters=$as_cr_letters$as_cr_LETTERS as_cr_digits='0123456789' as_cr_alnum=$as_cr_Letters$as_cr_digits as_lineno_1=$LINENO as_lineno_1a=$LINENO as_lineno_2=$LINENO as_lineno_2a=$LINENO eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" && test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || { # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-) sed -n ' p /[$]LINENO/= ' <$as_myself | sed ' s/[$]LINENO.*/&-/ t lineno b :lineno N :loop s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/ t loop s/-\n.*// ' >$as_me.lineno && chmod +x "$as_me.lineno" || { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; } # If we had to re-execute with $CONFIG_SHELL, we're ensured to have # already done that, so ensure we don't try to do so again and fall # in an infinite loop. This has already happened in practice. _as_can_reexec=no; export _as_can_reexec # Don't try to exec as it changes $[0], causing all sort of problems # (the dirname of $[0] is not the place where we might find the # original and so on. Autoconf is especially sensitive to this). . "./$as_me.lineno" # Exit status is that of the last command. exit } ECHO_C= ECHO_N= ECHO_T= case `echo -n x` in #((((( -n*) case `echo 'xy\c'` in *c*) ECHO_T=' ';; # ECHO_T is single tab character. xy) ECHO_C='\c';; *) echo `echo ksh88 bug on AIX 6.1` > /dev/null ECHO_T=' ';; esac;; *) ECHO_N='-n';; esac rm -f conf$$ conf$$.exe conf$$.file if test -d conf$$.dir; then rm -f conf$$.dir/conf$$.file else rm -f conf$$.dir mkdir conf$$.dir 2>/dev/null fi if (echo >conf$$.file) 2>/dev/null; then if ln -s conf$$.file conf$$ 2>/dev/null; then as_ln_s='ln -s' # ... but there are two gotchas: # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. # In both cases, we have to default to `cp -pR'. ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || as_ln_s='cp -pR' elif ln conf$$.file conf$$ 2>/dev/null; then as_ln_s=ln else as_ln_s='cp -pR' fi else as_ln_s='cp -pR' fi rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file rmdir conf$$.dir 2>/dev/null if mkdir -p . 2>/dev/null; then as_mkdir_p='mkdir -p "$as_dir"' else test -d ./-p && rmdir ./-p as_mkdir_p=false fi as_test_x='test -x' as_executable_p=as_fn_executable_p # Sed expression to map a string onto a valid CPP name. as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" # Sed expression to map a string onto a valid variable name. as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" SHELL=${CONFIG_SHELL-/bin/sh} test -n "$DJDIR" || exec 7<&0 &1 # Name of the host. # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status, # so uname gets run too. ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q` # # Initializations. # ac_default_prefix=/usr/local ac_clean_files= ac_config_libobj_dir=. LIBOBJS= cross_compiling=no subdirs= MFLAGS= MAKEFLAGS= # Identity of this package. PACKAGE_NAME='pal' PACKAGE_TARNAME='pal' PACKAGE_VERSION='0.5.0' PACKAGE_STRING='pal 0.5.0' PACKAGE_BUGREPORT='starlink@jiscmail.ac.uk' PACKAGE_URL='' ac_unique_file="pal.h" ac_default_prefix=/star # Factoring default headers for most tests. ac_includes_default="\ #include #ifdef HAVE_SYS_TYPES_H # include #endif #ifdef HAVE_SYS_STAT_H # include #endif #ifdef STDC_HEADERS # include # include #else # ifdef HAVE_STDLIB_H # include # endif #endif #ifdef HAVE_STRING_H # if !defined STDC_HEADERS && defined HAVE_MEMORY_H # include # endif # include #endif #ifdef HAVE_STRINGS_H # include #endif #ifdef HAVE_INTTYPES_H # include #endif #ifdef HAVE_STDINT_H # include #endif #ifdef HAVE_UNISTD_H # include #endif" ac_subst_vars='am__EXEEXT_FALSE am__EXEEXT_TRUE LTLIBOBJS LIBOBJS STAR_LATEX_DOCUMENTATION LATEX2DVI STAR2HTML ERFA_CPPFLAGS ERFA_LDFLAGS ERFA_LIBADD STARUTIL_LIBADD NOPIC_FALSE NOPIC_TRUE CPP OTOOL64 OTOOL LIPO NMEDIT DSYMUTIL MANIFEST_TOOL RANLIB ac_ct_AR AR DLLTOOL OBJDUMP LN_S NM ac_ct_DUMPBIN DUMPBIN LD FGREP EGREP GREP SED host_os host_vendor host_cpu host build_os build_vendor build_cpu build LIBTOOL am__fastdepCC_FALSE am__fastdepCC_TRUE CCDEPMODE am__nodep AMDEPBACKSLASH AMDEP_FALSE AMDEP_TRUE am__quote am__include DEPDIR OBJEXT EXEEXT ac_ct_CC CPPFLAGS LDFLAGS CFLAGS CC TAR PAX PREDIST STAR_SOURCE_ROOT_DIR GIT STAR_MANIFEST_DIR PACKAGE_VERSION_INTEGER PACKAGE_VERSION_RELEASE PACKAGE_VERSION_MINOR PACKAGE_VERSION_MAJOR STAR_DOCUMENTATION STAR_DEPENDENCIES_CHILDREN STAR_DEPENDENCIES_ATTRIBUTES starnewsdir starhelpdir starfacsdir starexamplesdir staretcdir stardocsdir STAR_LDFLAGS STAR_FFLAGS STAR_FCFLAGS STAR_CPPFLAGS STARLINK AM_BACKSLASH AM_DEFAULT_VERBOSITY AM_DEFAULT_V AM_V am__untar am__tar AMTAR am__leading_dot SET_MAKE AWK mkdir_p MKDIR_P INSTALL_STRIP_PROGRAM STRIP install_sh MAKEINFO AUTOHEADER AUTOMAKE AUTOCONF ACLOCAL VERSION PACKAGE CYGPATH_W am__isrc INSTALL_DATA INSTALL_SCRIPT INSTALL_PROGRAM target_alias host_alias build_alias LIBS ECHO_T ECHO_N ECHO_C DEFS mandir localedir libdir psdir pdfdir dvidir htmldir infodir docdir oldincludedir includedir localstatedir sharedstatedir sysconfdir datadir datarootdir libexecdir sbindir bindir program_transform_name prefix exec_prefix PACKAGE_URL PACKAGE_BUGREPORT PACKAGE_STRING PACKAGE_VERSION PACKAGE_TARNAME PACKAGE_NAME PATH_SEPARATOR SHELL' ac_subst_files='' ac_user_opts=' enable_option_checking enable_silent_rules with_starlink with_stardocs enable_dependency_tracking enable_shared enable_static with_pic enable_fast_install with_gnu_ld with_sysroot enable_libtool_lock ' ac_precious_vars='build_alias host_alias target_alias STARLINK CC CFLAGS LDFLAGS LIBS CPPFLAGS CPP STAR2HTML' # Initialize some variables set by options. ac_init_help= ac_init_version=false ac_unrecognized_opts= ac_unrecognized_sep= # The variables have the same names as the options, with # dashes changed to underlines. cache_file=/dev/null exec_prefix=NONE no_create= no_recursion= prefix=NONE program_prefix=NONE program_suffix=NONE program_transform_name=s,x,x, silent= site= srcdir= verbose= x_includes=NONE x_libraries=NONE # Installation directory options. # These are left unexpanded so users can "make install exec_prefix=/foo" # and all the variables that are supposed to be based on exec_prefix # by default will actually change. # Use braces instead of parens because sh, perl, etc. also accept them. # (The list follows the same order as the GNU Coding Standards.) bindir='${exec_prefix}/bin' sbindir='${exec_prefix}/sbin' libexecdir='${exec_prefix}/libexec' datarootdir='${prefix}/share' datadir='${datarootdir}' sysconfdir='${prefix}/etc' sharedstatedir='${prefix}/com' localstatedir='${prefix}/var' includedir='${prefix}/include' oldincludedir='/usr/include' docdir='${datarootdir}/doc/${PACKAGE_TARNAME}' infodir='${datarootdir}/info' htmldir='${docdir}' dvidir='${docdir}' pdfdir='${docdir}' psdir='${docdir}' libdir='${exec_prefix}/lib' localedir='${datarootdir}/locale' mandir='${datarootdir}/man' ac_prev= ac_dashdash= for ac_option do # If the previous option needs an argument, assign it. if test -n "$ac_prev"; then eval $ac_prev=\$ac_option ac_prev= continue fi case $ac_option in *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;; *=) ac_optarg= ;; *) ac_optarg=yes ;; esac # Accept the important Cygnus configure options, so we can diagnose typos. case $ac_dashdash$ac_option in --) ac_dashdash=yes ;; -bindir | --bindir | --bindi | --bind | --bin | --bi) ac_prev=bindir ;; -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*) bindir=$ac_optarg ;; -build | --build | --buil | --bui | --bu) ac_prev=build_alias ;; -build=* | --build=* | --buil=* | --bui=* | --bu=*) build_alias=$ac_optarg ;; -cache-file | --cache-file | --cache-fil | --cache-fi \ | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c) ac_prev=cache_file ;; -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \ | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*) cache_file=$ac_optarg ;; --config-cache | -C) cache_file=config.cache ;; -datadir | --datadir | --datadi | --datad) ac_prev=datadir ;; -datadir=* | --datadir=* | --datadi=* | --datad=*) datadir=$ac_optarg ;; -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \ | --dataroo | --dataro | --datar) ac_prev=datarootdir ;; -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \ | --dataroot=* | --dataroo=* | --dataro=* | --datar=*) datarootdir=$ac_optarg ;; -disable-* | --disable-*) ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'` # Reject names that are not valid shell variable names. expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && as_fn_error $? "invalid feature name: $ac_useropt" ac_useropt_orig=$ac_useropt ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` case $ac_user_opts in *" "enable_$ac_useropt" "*) ;; *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig" ac_unrecognized_sep=', ';; esac eval enable_$ac_useropt=no ;; -docdir | --docdir | --docdi | --doc | --do) ac_prev=docdir ;; -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*) docdir=$ac_optarg ;; -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv) ac_prev=dvidir ;; -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*) dvidir=$ac_optarg ;; -enable-* | --enable-*) ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'` # Reject names that are not valid shell variable names. expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && as_fn_error $? "invalid feature name: $ac_useropt" ac_useropt_orig=$ac_useropt ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` case $ac_user_opts in *" "enable_$ac_useropt" "*) ;; *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig" ac_unrecognized_sep=', ';; esac eval enable_$ac_useropt=\$ac_optarg ;; -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \ | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \ | --exec | --exe | --ex) ac_prev=exec_prefix ;; -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \ | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \ | --exec=* | --exe=* | --ex=*) exec_prefix=$ac_optarg ;; -gas | --gas | --ga | --g) # Obsolete; use --with-gas. with_gas=yes ;; -help | --help | --hel | --he | -h) ac_init_help=long ;; -help=r* | --help=r* | --hel=r* | --he=r* | -hr*) ac_init_help=recursive ;; -help=s* | --help=s* | --hel=s* | --he=s* | -hs*) ac_init_help=short ;; -host | --host | --hos | --ho) ac_prev=host_alias ;; -host=* | --host=* | --hos=* | --ho=*) host_alias=$ac_optarg ;; -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht) ac_prev=htmldir ;; -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \ | --ht=*) htmldir=$ac_optarg ;; -includedir | --includedir | --includedi | --included | --include \ | --includ | --inclu | --incl | --inc) ac_prev=includedir ;; -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \ | --includ=* | --inclu=* | --incl=* | --inc=*) includedir=$ac_optarg ;; -infodir | --infodir | --infodi | --infod | --info | --inf) ac_prev=infodir ;; -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*) infodir=$ac_optarg ;; -libdir | --libdir | --libdi | --libd) ac_prev=libdir ;; -libdir=* | --libdir=* | --libdi=* | --libd=*) libdir=$ac_optarg ;; -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \ | --libexe | --libex | --libe) ac_prev=libexecdir ;; -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \ | --libexe=* | --libex=* | --libe=*) libexecdir=$ac_optarg ;; -localedir | --localedir | --localedi | --localed | --locale) ac_prev=localedir ;; -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*) localedir=$ac_optarg ;; -localstatedir | --localstatedir | --localstatedi | --localstated \ | --localstate | --localstat | --localsta | --localst | --locals) ac_prev=localstatedir ;; -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \ | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*) localstatedir=$ac_optarg ;; -mandir | --mandir | --mandi | --mand | --man | --ma | --m) ac_prev=mandir ;; -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*) mandir=$ac_optarg ;; -nfp | --nfp | --nf) # Obsolete; use --without-fp. with_fp=no ;; -no-create | --no-create | --no-creat | --no-crea | --no-cre \ | --no-cr | --no-c | -n) no_create=yes ;; -no-recursion | --no-recursion | --no-recursio | --no-recursi \ | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) no_recursion=yes ;; -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \ | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \ | --oldin | --oldi | --old | --ol | --o) ac_prev=oldincludedir ;; -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \ | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \ | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*) oldincludedir=$ac_optarg ;; -prefix | --prefix | --prefi | --pref | --pre | --pr | --p) ac_prev=prefix ;; -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*) prefix=$ac_optarg ;; -program-prefix | --program-prefix | --program-prefi | --program-pref \ | --program-pre | --program-pr | --program-p) ac_prev=program_prefix ;; -program-prefix=* | --program-prefix=* | --program-prefi=* \ | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*) program_prefix=$ac_optarg ;; -program-suffix | --program-suffix | --program-suffi | --program-suff \ | --program-suf | --program-su | --program-s) ac_prev=program_suffix ;; -program-suffix=* | --program-suffix=* | --program-suffi=* \ | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*) program_suffix=$ac_optarg ;; -program-transform-name | --program-transform-name \ | --program-transform-nam | --program-transform-na \ | --program-transform-n | --program-transform- \ | --program-transform | --program-transfor \ | --program-transfo | --program-transf \ | --program-trans | --program-tran \ | --progr-tra | --program-tr | --program-t) ac_prev=program_transform_name ;; -program-transform-name=* | --program-transform-name=* \ | --program-transform-nam=* | --program-transform-na=* \ | --program-transform-n=* | --program-transform-=* \ | --program-transform=* | --program-transfor=* \ | --program-transfo=* | --program-transf=* \ | --program-trans=* | --program-tran=* \ | --progr-tra=* | --program-tr=* | --program-t=*) program_transform_name=$ac_optarg ;; -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd) ac_prev=pdfdir ;; -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*) pdfdir=$ac_optarg ;; -psdir | --psdir | --psdi | --psd | --ps) ac_prev=psdir ;; -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*) psdir=$ac_optarg ;; -q | -quiet | --quiet | --quie | --qui | --qu | --q \ | -silent | --silent | --silen | --sile | --sil) silent=yes ;; -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb) ac_prev=sbindir ;; -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \ | --sbi=* | --sb=*) sbindir=$ac_optarg ;; -sharedstatedir | --sharedstatedir | --sharedstatedi \ | --sharedstated | --sharedstate | --sharedstat | --sharedsta \ | --sharedst | --shareds | --shared | --share | --shar \ | --sha | --sh) ac_prev=sharedstatedir ;; -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \ | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \ | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \ | --sha=* | --sh=*) sharedstatedir=$ac_optarg ;; -site | --site | --sit) ac_prev=site ;; -site=* | --site=* | --sit=*) site=$ac_optarg ;; -srcdir | --srcdir | --srcdi | --srcd | --src | --sr) ac_prev=srcdir ;; -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*) srcdir=$ac_optarg ;; -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \ | --syscon | --sysco | --sysc | --sys | --sy) ac_prev=sysconfdir ;; -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \ | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*) sysconfdir=$ac_optarg ;; -target | --target | --targe | --targ | --tar | --ta | --t) ac_prev=target_alias ;; -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*) target_alias=$ac_optarg ;; -v | -verbose | --verbose | --verbos | --verbo | --verb) verbose=yes ;; -version | --version | --versio | --versi | --vers | -V) ac_init_version=: ;; -with-* | --with-*) ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'` # Reject names that are not valid shell variable names. expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && as_fn_error $? "invalid package name: $ac_useropt" ac_useropt_orig=$ac_useropt ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` case $ac_user_opts in *" "with_$ac_useropt" "*) ;; *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig" ac_unrecognized_sep=', ';; esac eval with_$ac_useropt=\$ac_optarg ;; -without-* | --without-*) ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'` # Reject names that are not valid shell variable names. expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && as_fn_error $? "invalid package name: $ac_useropt" ac_useropt_orig=$ac_useropt ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` case $ac_user_opts in *" "with_$ac_useropt" "*) ;; *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig" ac_unrecognized_sep=', ';; esac eval with_$ac_useropt=no ;; --x) # Obsolete; use --with-x. with_x=yes ;; -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \ | --x-incl | --x-inc | --x-in | --x-i) ac_prev=x_includes ;; -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \ | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*) x_includes=$ac_optarg ;; -x-libraries | --x-libraries | --x-librarie | --x-librari \ | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l) ac_prev=x_libraries ;; -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \ | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*) x_libraries=$ac_optarg ;; -*) as_fn_error $? "unrecognized option: \`$ac_option' Try \`$0 --help' for more information" ;; *=*) ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='` # Reject names that are not valid shell variable names. case $ac_envvar in #( '' | [0-9]* | *[!_$as_cr_alnum]* ) as_fn_error $? "invalid variable name: \`$ac_envvar'" ;; esac eval $ac_envvar=\$ac_optarg export $ac_envvar ;; *) # FIXME: should be removed in autoconf 3.0. $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null && $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}" ;; esac done if test -n "$ac_prev"; then ac_option=--`echo $ac_prev | sed 's/_/-/g'` as_fn_error $? "missing argument to $ac_option" fi if test -n "$ac_unrecognized_opts"; then case $enable_option_checking in no) ;; fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;; *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;; esac fi # Check all directory arguments for consistency. for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \ datadir sysconfdir sharedstatedir localstatedir includedir \ oldincludedir docdir infodir htmldir dvidir pdfdir psdir \ libdir localedir mandir do eval ac_val=\$$ac_var # Remove trailing slashes. case $ac_val in */ ) ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'` eval $ac_var=\$ac_val;; esac # Be sure to have absolute directory names. case $ac_val in [\\/$]* | ?:[\\/]* ) continue;; NONE | '' ) case $ac_var in *prefix ) continue;; esac;; esac as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val" done # There might be people who depend on the old broken behavior: `$host' # used to hold the argument of --host etc. # FIXME: To remove some day. build=$build_alias host=$host_alias target=$target_alias # FIXME: To remove some day. if test "x$host_alias" != x; then if test "x$build_alias" = x; then cross_compiling=maybe elif test "x$build_alias" != "x$host_alias"; then cross_compiling=yes fi fi ac_tool_prefix= test -n "$host_alias" && ac_tool_prefix=$host_alias- test "$silent" = yes && exec 6>/dev/null ac_pwd=`pwd` && test -n "$ac_pwd" && ac_ls_di=`ls -di .` && ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` || as_fn_error $? "working directory cannot be determined" test "X$ac_ls_di" = "X$ac_pwd_ls_di" || as_fn_error $? "pwd does not report name of working directory" # Find the source files, if location was not specified. if test -z "$srcdir"; then ac_srcdir_defaulted=yes # Try the directory containing this script, then the parent directory. ac_confdir=`$as_dirname -- "$as_myself" || $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ X"$as_myself" : 'X\(//\)[^/]' \| \ X"$as_myself" : 'X\(//\)$' \| \ X"$as_myself" : 'X\(/\)' \| . 2>/dev/null || $as_echo X"$as_myself" | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/ q } /^X\(\/\/\)[^/].*/{ s//\1/ q } /^X\(\/\/\)$/{ s//\1/ q } /^X\(\/\).*/{ s//\1/ q } s/.*/./; q'` srcdir=$ac_confdir if test ! -r "$srcdir/$ac_unique_file"; then srcdir=.. fi else ac_srcdir_defaulted=no fi if test ! -r "$srcdir/$ac_unique_file"; then test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .." as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir" fi ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work" ac_abs_confdir=`( cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg" pwd)` # When building in place, set srcdir=. if test "$ac_abs_confdir" = "$ac_pwd"; then srcdir=. fi # Remove unnecessary trailing slashes from srcdir. # Double slashes in file names in object file debugging info # mess up M-x gdb in Emacs. case $srcdir in */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;; esac for ac_var in $ac_precious_vars; do eval ac_env_${ac_var}_set=\${${ac_var}+set} eval ac_env_${ac_var}_value=\$${ac_var} eval ac_cv_env_${ac_var}_set=\${${ac_var}+set} eval ac_cv_env_${ac_var}_value=\$${ac_var} done # # Report the --help message. # if test "$ac_init_help" = "long"; then # Omit some internal or obsolete options to make the list less imposing. # This message is too long to be a string in the A/UX 3.1 sh. cat <<_ACEOF \`configure' configures pal 0.5.0 to adapt to many kinds of systems. Usage: $0 [OPTION]... [VAR=VALUE]... To assign environment variables (e.g., CC, CFLAGS...), specify them as VAR=VALUE. See below for descriptions of some of the useful variables. Defaults for the options are specified in brackets. Configuration: -h, --help display this help and exit --help=short display options specific to this package --help=recursive display the short help of all the included packages -V, --version display version information and exit -q, --quiet, --silent do not print \`checking ...' messages --cache-file=FILE cache test results in FILE [disabled] -C, --config-cache alias for \`--cache-file=config.cache' -n, --no-create do not create output files --srcdir=DIR find the sources in DIR [configure dir or \`..'] Installation directories: --prefix=PREFIX install architecture-independent files in PREFIX [$ac_default_prefix] --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX [PREFIX] By default, \`make install' will install all the files in \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify an installation prefix other than \`$ac_default_prefix' using \`--prefix', for instance \`--prefix=\$HOME'. For better control, use the options below. Fine tuning of the installation directories: --bindir=DIR user executables [EPREFIX/bin] --sbindir=DIR system admin executables [EPREFIX/sbin] --libexecdir=DIR program executables [EPREFIX/libexec] --sysconfdir=DIR read-only single-machine data [PREFIX/etc] --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com] --localstatedir=DIR modifiable single-machine data [PREFIX/var] --libdir=DIR object code libraries [EPREFIX/lib] --includedir=DIR C header files [PREFIX/include] --oldincludedir=DIR C header files for non-gcc [/usr/include] --datarootdir=DIR read-only arch.-independent data root [PREFIX/share] --datadir=DIR read-only architecture-independent data [DATAROOTDIR] --infodir=DIR info documentation [DATAROOTDIR/info] --localedir=DIR locale-dependent data [DATAROOTDIR/locale] --mandir=DIR man documentation [DATAROOTDIR/man] --docdir=DIR documentation root [DATAROOTDIR/doc/pal] --htmldir=DIR html documentation [DOCDIR] --dvidir=DIR dvi documentation [DOCDIR] --pdfdir=DIR pdf documentation [DOCDIR] --psdir=DIR ps documentation [DOCDIR] _ACEOF cat <<\_ACEOF Program names: --program-prefix=PREFIX prepend PREFIX to installed program names --program-suffix=SUFFIX append SUFFIX to installed program names --program-transform-name=PROGRAM run sed PROGRAM on installed program names System types: --build=BUILD configure for building on BUILD [guessed] --host=HOST cross-compile to build programs to run on HOST [BUILD] _ACEOF fi if test -n "$ac_init_help"; then case $ac_init_help in short | recursive ) echo "Configuration of pal 0.5.0:";; esac cat <<\_ACEOF Optional Features: --disable-option-checking ignore unrecognized --enable/--with options --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no) --enable-FEATURE[=ARG] include FEATURE [ARG=yes] --enable-silent-rules less verbose build output (undo: "make V=1") --disable-silent-rules verbose build output (undo: "make V=0") --enable-dependency-tracking do not reject slow dependency extractors --disable-dependency-tracking speeds up one-time build --enable-shared[=PKGS] build shared libraries [default=yes] --enable-static[=PKGS] build static libraries [default=yes] --enable-fast-install[=PKGS] optimize for fast installation [default=yes] --disable-libtool-lock avoid locking (might break parallel builds) Optional Packages: --with-PACKAGE[=ARG] use PACKAGE [ARG=yes] --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no) --with-starlink Starlink tree to use (default ${STARLINK:=/star}) --without-stardocs Do not install built documentation (default --with) --with-pic[=PKGS] try to use only PIC/non-PIC objects [default=use both] --with-gnu-ld assume the C compiler uses GNU ld [default=no] --with-sysroot=DIR Search for dependent libraries within DIR (or the compiler's sysroot if not specified). Some influential environment variables: STARLINK Location of a current Starlink tree (used if necessary) CC C compiler command CFLAGS C compiler flags LDFLAGS linker flags, e.g. -L if you have libraries in a nonstandard directory LIBS libraries to pass to the linker, e.g. -l CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I if you have headers in a nonstandard directory CPP C preprocessor STAR2HTML Location of the star2html application Use these variables to override the choices made by `configure' or to help it to find libraries and programs with nonstandard names/locations. Report bugs to . _ACEOF ac_status=$? fi if test "$ac_init_help" = "recursive"; then # If there are subdirs, report their specific --help. for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue test -d "$ac_dir" || { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } || continue ac_builddir=. case "$ac_dir" in .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; *) ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'` # A ".." for each directory in $ac_dir_suffix. ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` case $ac_top_builddir_sub in "") ac_top_builddir_sub=. ac_top_build_prefix= ;; *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; esac ;; esac ac_abs_top_builddir=$ac_pwd ac_abs_builddir=$ac_pwd$ac_dir_suffix # for backward compatibility: ac_top_builddir=$ac_top_build_prefix case $srcdir in .) # We are building in place. ac_srcdir=. ac_top_srcdir=$ac_top_builddir_sub ac_abs_top_srcdir=$ac_pwd ;; [\\/]* | ?:[\\/]* ) # Absolute name. ac_srcdir=$srcdir$ac_dir_suffix; ac_top_srcdir=$srcdir ac_abs_top_srcdir=$srcdir ;; *) # Relative name. ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix ac_top_srcdir=$ac_top_build_prefix$srcdir ac_abs_top_srcdir=$ac_pwd/$srcdir ;; esac ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix cd "$ac_dir" || { ac_status=$?; continue; } # Check for guested configure. if test -f "$ac_srcdir/configure.gnu"; then echo && $SHELL "$ac_srcdir/configure.gnu" --help=recursive elif test -f "$ac_srcdir/configure"; then echo && $SHELL "$ac_srcdir/configure" --help=recursive else $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2 fi || ac_status=$? cd "$ac_pwd" || { ac_status=$?; break; } done fi test -n "$ac_init_help" && exit $ac_status if $ac_init_version; then cat <<\_ACEOF pal configure 0.5.0 generated by Starlink Autoconf 2.69 Copyright (C) 2012 Free Software Foundation, Inc. This configure script is free software; the Free Software Foundation gives unlimited permission to copy, distribute and modify it. _ACEOF exit fi ## ------------------------ ## ## Autoconf initialization. ## ## ------------------------ ## # ac_fn_c_try_compile LINENO # -------------------------- # Try to compile conftest.$ac_ext, and return whether this succeeded. ac_fn_c_try_compile () { as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack rm -f conftest.$ac_objext if { { ac_try="$ac_compile" case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" $as_echo "$ac_try_echo"; } >&5 (eval "$ac_compile") 2>conftest.err ac_status=$? if test -s conftest.err; then grep -v '^ *+' conftest.err >conftest.er1 cat conftest.er1 >&5 mv -f conftest.er1 conftest.err fi $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; } && { test -z "$ac_c_werror_flag" || test ! -s conftest.err } && test -s conftest.$ac_objext; then : ac_retval=0 else $as_echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ac_retval=1 fi eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno as_fn_set_status $ac_retval } # ac_fn_c_try_compile # ac_fn_c_try_link LINENO # ----------------------- # Try to link conftest.$ac_ext, and return whether this succeeded. ac_fn_c_try_link () { as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack rm -f conftest.$ac_objext conftest$ac_exeext if { { ac_try="$ac_link" case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" $as_echo "$ac_try_echo"; } >&5 (eval "$ac_link") 2>conftest.err ac_status=$? if test -s conftest.err; then grep -v '^ *+' conftest.err >conftest.er1 cat conftest.er1 >&5 mv -f conftest.er1 conftest.err fi $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; } && { test -z "$ac_c_werror_flag" || test ! -s conftest.err } && test -s conftest$ac_exeext && { test "$cross_compiling" = yes || test -x conftest$ac_exeext }; then : ac_retval=0 else $as_echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ac_retval=1 fi # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would # interfere with the next link command; also delete a directory that is # left behind by Apple's compiler. We do this before executing the actions. rm -rf conftest.dSYM conftest_ipa8_conftest.oo eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno as_fn_set_status $ac_retval } # ac_fn_c_try_link # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES # ------------------------------------------------------- # Tests whether HEADER exists and can be compiled using the include files in # INCLUDES, setting the cache variable VAR accordingly. ac_fn_c_check_header_compile () { as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 $as_echo_n "checking for $2... " >&6; } if eval \${$3+:} false; then : $as_echo_n "(cached) " >&6 else cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ $4 #include <$2> _ACEOF if ac_fn_c_try_compile "$LINENO"; then : eval "$3=yes" else eval "$3=no" fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext fi eval ac_res=\$$3 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 $as_echo "$ac_res" >&6; } eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno } # ac_fn_c_check_header_compile # ac_fn_c_try_cpp LINENO # ---------------------- # Try to preprocess conftest.$ac_ext, and return whether this succeeded. ac_fn_c_try_cpp () { as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack if { { ac_try="$ac_cpp conftest.$ac_ext" case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" $as_echo "$ac_try_echo"; } >&5 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err ac_status=$? if test -s conftest.err; then grep -v '^ *+' conftest.err >conftest.er1 cat conftest.er1 >&5 mv -f conftest.er1 conftest.err fi $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; } > conftest.i && { test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || test ! -s conftest.err }; then : ac_retval=0 else $as_echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ac_retval=1 fi eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno as_fn_set_status $ac_retval } # ac_fn_c_try_cpp # ac_fn_c_try_run LINENO # ---------------------- # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes # that executables *can* be run. ac_fn_c_try_run () { as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack if { { ac_try="$ac_link" case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" $as_echo "$ac_try_echo"; } >&5 (eval "$ac_link") 2>&5 ac_status=$? $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext' { { case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" $as_echo "$ac_try_echo"; } >&5 (eval "$ac_try") 2>&5 ac_status=$? $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; }; then : ac_retval=0 else $as_echo "$as_me: program exited with status $ac_status" >&5 $as_echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ac_retval=$ac_status fi rm -rf conftest.dSYM conftest_ipa8_conftest.oo eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno as_fn_set_status $ac_retval } # ac_fn_c_try_run # ac_fn_c_check_func LINENO FUNC VAR # ---------------------------------- # Tests whether FUNC exists, setting the cache variable VAR accordingly ac_fn_c_check_func () { as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 $as_echo_n "checking for $2... " >&6; } if eval \${$3+:} false; then : $as_echo_n "(cached) " >&6 else cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ /* Define $2 to an innocuous variant, in case declares $2. For example, HP-UX 11i declares gettimeofday. */ #define $2 innocuous_$2 /* System header to define __stub macros and hopefully few prototypes, which can conflict with char $2 (); below. Prefer to if __STDC__ is defined, since exists even on freestanding compilers. */ #ifdef __STDC__ # include #else # include #endif #undef $2 /* Override any GCC internal prototype to avoid an error. Use char because int might match the return type of a GCC builtin and then its argument prototype would still apply. */ #ifdef __cplusplus extern "C" #endif char $2 (); /* The GNU C library defines this for functions which it implements to always fail with ENOSYS. Some functions are actually named something starting with __ and the normal name is an alias. */ #if defined __stub_$2 || defined __stub___$2 choke me #endif int main () { return $2 (); ; return 0; } _ACEOF if ac_fn_c_try_link "$LINENO"; then : eval "$3=yes" else eval "$3=no" fi rm -f core conftest.err conftest.$ac_objext \ conftest$ac_exeext conftest.$ac_ext fi eval ac_res=\$$3 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 $as_echo "$ac_res" >&6; } eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno } # ac_fn_c_check_func # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES # ------------------------------------------------------- # Tests whether HEADER exists, giving a warning if it cannot be compiled using # the include files in INCLUDES and setting the cache variable VAR # accordingly. ac_fn_c_check_header_mongrel () { as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack if eval \${$3+:} false; then : { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 $as_echo_n "checking for $2... " >&6; } if eval \${$3+:} false; then : $as_echo_n "(cached) " >&6 fi eval ac_res=\$$3 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 $as_echo "$ac_res" >&6; } else # Is the header compilable? { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5 $as_echo_n "checking $2 usability... " >&6; } cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ $4 #include <$2> _ACEOF if ac_fn_c_try_compile "$LINENO"; then : ac_header_compiler=yes else ac_header_compiler=no fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5 $as_echo "$ac_header_compiler" >&6; } # Is the header present? { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5 $as_echo_n "checking $2 presence... " >&6; } cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include <$2> _ACEOF if ac_fn_c_try_cpp "$LINENO"; then : ac_header_preproc=yes else ac_header_preproc=no fi rm -f conftest.err conftest.i conftest.$ac_ext { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5 $as_echo "$ac_header_preproc" >&6; } # So? What about this header? case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #(( yes:no: ) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;} { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;} ;; no:yes:* ) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;} { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;} { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;} { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;} { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;} ( $as_echo "## -------------------------------------- ## ## Report this to starlink@jiscmail.ac.uk ## ## -------------------------------------- ##" ) | sed "s/^/$as_me: WARNING: /" >&2 ;; esac { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 $as_echo_n "checking for $2... " >&6; } if eval \${$3+:} false; then : $as_echo_n "(cached) " >&6 else eval "$3=\$ac_header_compiler" fi eval ac_res=\$$3 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 $as_echo "$ac_res" >&6; } fi eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno } # ac_fn_c_check_header_mongrel cat >config.log <<_ACEOF This file contains any messages produced by compilers while running configure, to aid debugging if configure makes a mistake. It was created by pal $as_me 0.5.0, which was generated by Starlink Autoconf 2.69. Invocation command line was $ $0 $@ _ACEOF exec 5>>config.log { cat <<_ASUNAME ## --------- ## ## Platform. ## ## --------- ## hostname = `(hostname || uname -n) 2>/dev/null | sed 1q` uname -m = `(uname -m) 2>/dev/null || echo unknown` uname -r = `(uname -r) 2>/dev/null || echo unknown` uname -s = `(uname -s) 2>/dev/null || echo unknown` uname -v = `(uname -v) 2>/dev/null || echo unknown` /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown` /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown` /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown` /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown` /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown` /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown` /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown` /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown` /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown` _ASUNAME as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. $as_echo "PATH: $as_dir" done IFS=$as_save_IFS } >&5 cat >&5 <<_ACEOF ## ----------- ## ## Core tests. ## ## ----------- ## _ACEOF # Keep a trace of the command line. # Strip out --no-create and --no-recursion so they do not pile up. # Strip out --silent because we don't want to record it for future runs. # Also quote any args containing shell meta-characters. # Make two passes to allow for proper duplicate-argument suppression. ac_configure_args= ac_configure_args0= ac_configure_args1= ac_must_keep_next=false for ac_pass in 1 2 do for ac_arg do case $ac_arg in -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;; -q | -quiet | --quiet | --quie | --qui | --qu | --q \ | -silent | --silent | --silen | --sile | --sil) continue ;; *\'*) ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; esac case $ac_pass in 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;; 2) as_fn_append ac_configure_args1 " '$ac_arg'" if test $ac_must_keep_next = true; then ac_must_keep_next=false # Got value, back to normal. else case $ac_arg in *=* | --config-cache | -C | -disable-* | --disable-* \ | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \ | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \ | -with-* | --with-* | -without-* | --without-* | --x) case "$ac_configure_args0 " in "$ac_configure_args1"*" '$ac_arg' "* ) continue ;; esac ;; -* ) ac_must_keep_next=true ;; esac fi as_fn_append ac_configure_args " '$ac_arg'" ;; esac done done { ac_configure_args0=; unset ac_configure_args0;} { ac_configure_args1=; unset ac_configure_args1;} # When interrupted or exit'd, cleanup temporary files, and complete # config.log. We remove comments because anyway the quotes in there # would cause problems or look ugly. # WARNING: Use '\'' to represent an apostrophe within the trap. # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug. trap 'exit_status=$? # Save into config.log some information that might help in debugging. { echo $as_echo "## ---------------- ## ## Cache variables. ## ## ---------------- ##" echo # The following way of writing the cache mishandles newlines in values, ( for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do eval ac_val=\$$ac_var case $ac_val in #( *${as_nl}*) case $ac_var in #( *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; esac case $ac_var in #( _ | IFS | as_nl) ;; #( BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( *) { eval $ac_var=; unset $ac_var;} ;; esac ;; esac done (set) 2>&1 | case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #( *${as_nl}ac_space=\ *) sed -n \ "s/'\''/'\''\\\\'\'''\''/g; s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p" ;; #( *) sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p" ;; esac | sort ) echo $as_echo "## ----------------- ## ## Output variables. ## ## ----------------- ##" echo for ac_var in $ac_subst_vars do eval ac_val=\$$ac_var case $ac_val in *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; esac $as_echo "$ac_var='\''$ac_val'\''" done | sort echo if test -n "$ac_subst_files"; then $as_echo "## ------------------- ## ## File substitutions. ## ## ------------------- ##" echo for ac_var in $ac_subst_files do eval ac_val=\$$ac_var case $ac_val in *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; esac $as_echo "$ac_var='\''$ac_val'\''" done | sort echo fi if test -s confdefs.h; then $as_echo "## ----------- ## ## confdefs.h. ## ## ----------- ##" echo cat confdefs.h echo fi test "$ac_signal" != 0 && $as_echo "$as_me: caught signal $ac_signal" $as_echo "$as_me: exit $exit_status" } >&5 rm -f core *.core core.conftest.* && rm -f -r conftest* confdefs* conf$$* $ac_clean_files && exit $exit_status ' 0 for ac_signal in 1 2 13 15; do trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal done ac_signal=0 # confdefs.h avoids OS command line length limits that DEFS can exceed. rm -f -r conftest* confdefs.h $as_echo "/* confdefs.h */" > confdefs.h # Predefined preprocessor variables. cat >>confdefs.h <<_ACEOF #define PACKAGE_NAME "$PACKAGE_NAME" _ACEOF cat >>confdefs.h <<_ACEOF #define PACKAGE_TARNAME "$PACKAGE_TARNAME" _ACEOF cat >>confdefs.h <<_ACEOF #define PACKAGE_VERSION "$PACKAGE_VERSION" _ACEOF cat >>confdefs.h <<_ACEOF #define PACKAGE_STRING "$PACKAGE_STRING" _ACEOF cat >>confdefs.h <<_ACEOF #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT" _ACEOF cat >>confdefs.h <<_ACEOF #define PACKAGE_URL "$PACKAGE_URL" _ACEOF # Let the site file select an alternate cache file if it wants to. # Prefer an explicitly selected file to automatically selected ones. ac_site_file1=NONE ac_site_file2=NONE if test -n "$CONFIG_SITE"; then # We do not want a PATH search for config.site. case $CONFIG_SITE in #(( -*) ac_site_file1=./$CONFIG_SITE;; */*) ac_site_file1=$CONFIG_SITE;; *) ac_site_file1=./$CONFIG_SITE;; esac elif test "x$prefix" != xNONE; then ac_site_file1=$prefix/share/config.site ac_site_file2=$prefix/etc/config.site else ac_site_file1=$ac_default_prefix/share/config.site ac_site_file2=$ac_default_prefix/etc/config.site fi for ac_site_file in "$ac_site_file1" "$ac_site_file2" do test "x$ac_site_file" = xNONE && continue if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5 $as_echo "$as_me: loading site script $ac_site_file" >&6;} sed 's/^/| /' "$ac_site_file" >&5 . "$ac_site_file" \ || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} as_fn_error $? "failed to load site script $ac_site_file See \`config.log' for more details" "$LINENO" 5; } fi done if test -r "$cache_file"; then # Some versions of bash will fail to source /dev/null (special files # actually), so we avoid doing that. DJGPP emulates it as a regular file. if test /dev/null != "$cache_file" && test -f "$cache_file"; then { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5 $as_echo "$as_me: loading cache $cache_file" >&6;} case $cache_file in [\\/]* | ?:[\\/]* ) . "$cache_file";; *) . "./$cache_file";; esac fi else { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5 $as_echo "$as_me: creating cache $cache_file" >&6;} >$cache_file fi # Check that the precious variables saved in the cache have kept the same # value. ac_cache_corrupted=false for ac_var in $ac_precious_vars; do eval ac_old_set=\$ac_cv_env_${ac_var}_set eval ac_new_set=\$ac_env_${ac_var}_set eval ac_old_val=\$ac_cv_env_${ac_var}_value eval ac_new_val=\$ac_env_${ac_var}_value case $ac_old_set,$ac_new_set in set,) { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;} ac_cache_corrupted=: ;; ,set) { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;} ac_cache_corrupted=: ;; ,);; *) if test "x$ac_old_val" != "x$ac_new_val"; then # differences in whitespace do not lead to failure. ac_old_val_w=`echo x $ac_old_val` ac_new_val_w=`echo x $ac_new_val` if test "$ac_old_val_w" != "$ac_new_val_w"; then { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;} ac_cache_corrupted=: else { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;} eval $ac_var=\$ac_old_val fi { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;} { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;} fi;; esac # Pass precious variables to config.status. if test "$ac_new_set" = set; then case $ac_new_val in *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;; *) ac_arg=$ac_var=$ac_new_val ;; esac case " $ac_configure_args " in *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy. *) as_fn_append ac_configure_args " '$ac_arg'" ;; esac fi done if $ac_cache_corrupted; then { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;} as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5 fi ## -------------------- ## ## Main body of script. ## ## -------------------- ## ac_ext=c ac_cpp='$CPP $CPPFLAGS' ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' ac_compiler_gnu=$ac_cv_c_compiler_gnu am__api_version='1.14' ac_aux_dir= for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do if test -f "$ac_dir/install-sh"; then ac_aux_dir=$ac_dir ac_install_sh="$ac_aux_dir/install-sh -c" break elif test -f "$ac_dir/install.sh"; then ac_aux_dir=$ac_dir ac_install_sh="$ac_aux_dir/install.sh -c" break elif test -f "$ac_dir/shtool"; then ac_aux_dir=$ac_dir ac_install_sh="$ac_aux_dir/shtool install -c" break fi done if test -z "$ac_aux_dir"; then as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5 fi # These three variables are undocumented and unsupported, # and are intended to be withdrawn in a future Autoconf release. # They can cause serious problems if a builder's source tree is in a directory # whose full name contains unusual characters. ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var. ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var. ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var. # Find a good install program. We prefer a C program (faster), # so one script is as good as another. But avoid the broken or # incompatible versions: # SysV /etc/install, /usr/sbin/install # SunOS /usr/etc/install # IRIX /sbin/install # AIX /bin/install # AmigaOS /C/install, which installs bootblocks on floppy discs # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag # AFS /usr/afsws/bin/install, which mishandles nonexistent args # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" # OS/2's system install, which has a completely different semantic # ./install, which can be erroneously created by make from ./install.sh. # Reject install programs that cannot install multiple files. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5 $as_echo_n "checking for a BSD-compatible install... " >&6; } if test -z "$INSTALL"; then if ${ac_cv_path_install+:} false; then : $as_echo_n "(cached) " >&6 else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. # Account for people who put trailing slashes in PATH elements. case $as_dir/ in #(( ./ | .// | /[cC]/* | \ /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \ ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \ /usr/ucb/* ) ;; *) # OSF1 and SCO ODT 3.0 have their own names for install. # Don't use installbsd from OSF since it installs stuff as root # by default. for ac_prog in ginstall scoinst install; do for ac_exec_ext in '' $ac_executable_extensions; do if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then if test $ac_prog = install && grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then # AIX install. It has an incompatible calling convention. : elif test $ac_prog = install && grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then # program-specific install script used by HP pwplus--don't use. : else rm -rf conftest.one conftest.two conftest.dir echo one > conftest.one echo two > conftest.two mkdir conftest.dir if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" && test -s conftest.one && test -s conftest.two && test -s conftest.dir/conftest.one && test -s conftest.dir/conftest.two then ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c" break 3 fi fi fi done done ;; esac done IFS=$as_save_IFS rm -rf conftest.one conftest.two conftest.dir fi if test "${ac_cv_path_install+set}" = set; then INSTALL=$ac_cv_path_install else # As a last resort, use the slow shell script. Don't cache a # value for INSTALL within a source directory, because that will # break other packages using the cache if that directory is # removed, or if the value is a relative name. INSTALL=$ac_install_sh fi fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5 $as_echo "$INSTALL" >&6; } # Use test -z because SunOS4 sh mishandles braces in ${var-val}. # It thinks the first close brace ends the variable substitution. test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}' test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}' test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644' { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5 $as_echo_n "checking whether build environment is sane... " >&6; } # Reject unsafe characters in $srcdir or the absolute working directory # name. Accept space and tab only in the latter. am_lf=' ' case `pwd` in *[\\\"\#\$\&\'\`$am_lf]*) as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;; esac case $srcdir in *[\\\"\#\$\&\'\`$am_lf\ \ ]*) as_fn_error $? "unsafe srcdir value: '$srcdir'" "$LINENO" 5;; esac # Do 'set' in a subshell so we don't clobber the current shell's # arguments. Must try -L first in case configure is actually a # symlink; some systems play weird games with the mod time of symlinks # (eg FreeBSD returns the mod time of the symlink's containing # directory). if ( am_has_slept=no for am_try in 1 2; do echo "timestamp, slept: $am_has_slept" > conftest.file set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null` if test "$*" = "X"; then # -L didn't work. set X `ls -t "$srcdir/configure" conftest.file` fi if test "$*" != "X $srcdir/configure conftest.file" \ && test "$*" != "X conftest.file $srcdir/configure"; then # If neither matched, then we have a broken ls. This can happen # if, for instance, CONFIG_SHELL is bash and it inherits a # broken ls alias from the environment. This has actually # happened. Such a system could not be considered "sane". as_fn_error $? "ls -t appears to fail. Make sure there is not a broken alias in your environment" "$LINENO" 5 fi if test "$2" = conftest.file || test $am_try -eq 2; then break fi # Just in case. sleep 1 am_has_slept=yes done test "$2" = conftest.file ) then # Ok. : else as_fn_error $? "newly created file is older than distributed files! Check your system clock" "$LINENO" 5 fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 $as_echo "yes" >&6; } # If we didn't sleep, we still need to ensure time stamps of config.status and # generated files are strictly newer. am_sleep_pid= if grep 'slept: no' conftest.file >/dev/null 2>&1; then ( sleep 1 ) & am_sleep_pid=$! fi rm -f conftest.file test "$program_prefix" != NONE && program_transform_name="s&^&$program_prefix&;$program_transform_name" # Use a double $ so make ignores it. test "$program_suffix" != NONE && program_transform_name="s&\$&$program_suffix&;$program_transform_name" # Double any \ or $. # By default was `s,x,x', remove it if useless. ac_script='s/[\\$]/&&/g;s/;s,x,x,$//' program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"` # expand $ac_aux_dir to an absolute path am_aux_dir=`cd $ac_aux_dir && pwd` if test x"${MISSING+set}" != xset; then case $am_aux_dir in *\ * | *\ *) MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;; *) MISSING="\${SHELL} $am_aux_dir/missing" ;; esac fi # Use eval to expand $SHELL if eval "$MISSING --is-lightweight"; then am_missing_run="$MISSING " else am_missing_run= { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5 $as_echo "$as_me: WARNING: 'missing' script is too old or missing" >&2;} fi if test x"${install_sh}" != xset; then case $am_aux_dir in *\ * | *\ *) install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;; *) install_sh="\${SHELL} $am_aux_dir/install-sh" esac fi # Installed binaries are usually stripped using 'strip' when the user # run "make install-strip". However 'strip' might not be the right # tool to use in cross-compilation environments, therefore Automake # will honor the 'STRIP' environment variable to overrule this program. if test "$cross_compiling" != no; then if test -n "$ac_tool_prefix"; then # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args. set dummy ${ac_tool_prefix}strip; ac_word=$2 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } if ${ac_cv_prog_STRIP+:} false; then : $as_echo_n "(cached) " >&6 else if test -n "$STRIP"; then ac_cv_prog_STRIP="$STRIP" # Let the user override the test. else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ac_cv_prog_STRIP="${ac_tool_prefix}strip" $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done IFS=$as_save_IFS fi fi STRIP=$ac_cv_prog_STRIP if test -n "$STRIP"; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5 $as_echo "$STRIP" >&6; } else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } fi fi if test -z "$ac_cv_prog_STRIP"; then ac_ct_STRIP=$STRIP # Extract the first word of "strip", so it can be a program name with args. set dummy strip; ac_word=$2 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } if ${ac_cv_prog_ac_ct_STRIP+:} false; then : $as_echo_n "(cached) " >&6 else if test -n "$ac_ct_STRIP"; then ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test. else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ac_cv_prog_ac_ct_STRIP="strip" $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done IFS=$as_save_IFS fi fi ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP if test -n "$ac_ct_STRIP"; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5 $as_echo "$ac_ct_STRIP" >&6; } else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } fi if test "x$ac_ct_STRIP" = x; then STRIP=":" else case $cross_compiling:$ac_tool_warned in yes:) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} ac_tool_warned=yes ;; esac STRIP=$ac_ct_STRIP fi else STRIP="$ac_cv_prog_STRIP" fi fi INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s" { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; } if test -z "$MKDIR_P"; then if ${ac_cv_path_mkdir+:} false; then : $as_echo_n "(cached) " >&6 else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_prog in mkdir gmkdir; do for ac_exec_ext in '' $ac_executable_extensions; do as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext" || continue case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #( 'mkdir (GNU coreutils) '* | \ 'mkdir (coreutils) '* | \ 'mkdir (fileutils) '4.1*) ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext break 3;; esac done done done IFS=$as_save_IFS fi test -d ./--version && rmdir ./--version if test "${ac_cv_path_mkdir+set}" = set; then MKDIR_P="$ac_cv_path_mkdir -p" else # As a last resort, use the slow shell script. Don't cache a # value for MKDIR_P within a source directory, because that will # break other packages using the cache if that directory is # removed, or if the value is a relative name. MKDIR_P="$ac_install_sh -d" fi fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5 $as_echo "$MKDIR_P" >&6; } for ac_prog in gawk mawk nawk awk do # Extract the first word of "$ac_prog", so it can be a program name with args. set dummy $ac_prog; ac_word=$2 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } if ${ac_cv_prog_AWK+:} false; then : $as_echo_n "(cached) " >&6 else if test -n "$AWK"; then ac_cv_prog_AWK="$AWK" # Let the user override the test. else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ac_cv_prog_AWK="$ac_prog" $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done IFS=$as_save_IFS fi fi AWK=$ac_cv_prog_AWK if test -n "$AWK"; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5 $as_echo "$AWK" >&6; } else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } fi test -n "$AWK" && break done { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; } set x ${MAKE-make} ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'` if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then : $as_echo_n "(cached) " >&6 else cat >conftest.make <<\_ACEOF SHELL = /bin/sh all: @echo '@@@%%%=$(MAKE)=@@@%%%' _ACEOF # GNU make sometimes prints "make[1]: Entering ...", which would confuse us. case `${MAKE-make} -f conftest.make 2>/dev/null` in *@@@%%%=?*=@@@%%%*) eval ac_cv_prog_make_${ac_make}_set=yes;; *) eval ac_cv_prog_make_${ac_make}_set=no;; esac rm -f conftest.make fi if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 $as_echo "yes" >&6; } SET_MAKE= else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } SET_MAKE="MAKE=${MAKE-make}" fi rm -rf .tst 2>/dev/null mkdir .tst 2>/dev/null if test -d .tst; then am__leading_dot=. else am__leading_dot=_ fi rmdir .tst 2>/dev/null # Check whether --enable-silent-rules was given. if test "${enable_silent_rules+set}" = set; then : enableval=$enable_silent_rules; fi case $enable_silent_rules in # ((( yes) AM_DEFAULT_VERBOSITY=0;; no) AM_DEFAULT_VERBOSITY=1;; *) AM_DEFAULT_VERBOSITY=1;; esac am_make=${MAKE-make} { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5 $as_echo_n "checking whether $am_make supports nested variables... " >&6; } if ${am_cv_make_support_nested_variables+:} false; then : $as_echo_n "(cached) " >&6 else if $as_echo 'TRUE=$(BAR$(V)) BAR0=false BAR1=true V=1 am__doit: @$(TRUE) .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then am_cv_make_support_nested_variables=yes else am_cv_make_support_nested_variables=no fi fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5 $as_echo "$am_cv_make_support_nested_variables" >&6; } if test $am_cv_make_support_nested_variables = yes; then AM_V='$(V)' AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)' else AM_V=$AM_DEFAULT_VERBOSITY AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY fi AM_BACKSLASH='\' if test "`cd $srcdir && pwd`" != "`pwd`"; then # Use -I$(srcdir) only when $(srcdir) != ., so that make's output # is not polluted with repeated "-I." am__isrc=' -I$(srcdir)' # test to see if srcdir already configured if test -f $srcdir/config.status; then as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5 fi fi # test whether we have cygpath if test -z "$CYGPATH_W"; then if (cygpath --version) >/dev/null 2>/dev/null; then CYGPATH_W='cygpath -w' else CYGPATH_W=echo fi fi # Define the identity of the package. PACKAGE='pal' VERSION='0.5.0' cat >>confdefs.h <<_ACEOF #define PACKAGE "$PACKAGE" _ACEOF cat >>confdefs.h <<_ACEOF #define VERSION "$VERSION" _ACEOF # Some tools Automake needs. ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"} AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"} AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"} AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"} MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"} # For better backward compatibility. To be removed once Automake 1.9.x # dies out for good. For more background, see: # # mkdir_p='$(MKDIR_P)' # We need awk for the "check" target. The system "awk" is bad on # some platforms. # Always define AMTAR for backward compatibility. Yes, it's still used # in the wild :-( We should find a proper way to deprecate it ... AMTAR='$${TAR-tar}' # We'll loop over all known methods to create a tar archive until one works. _am_tools='gnutar pax cpio none' am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -' # POSIX will say in a future version that running "rm -f" with no argument # is OK; and we want to be able to make that assumption in our Makefile # recipes. So use an aggressive probe to check that the usage we want is # actually supported "in the wild" to an acceptable degree. # See automake bug#10828. # To make any issue more visible, cause the running configure to be aborted # by default if the 'rm' program in use doesn't match our expectations; the # user can still override this though. if rm -f && rm -fr && rm -rf; then : OK; else cat >&2 <<'END' Oops! Your 'rm' program seems unable to run without file operands specified on the command line, even when the '-f' option is present. This is contrary to the behaviour of most rm programs out there, and not conforming with the upcoming POSIX standard: Please tell bug-automake@gnu.org about your system, including the value of your $PATH and any error possibly output before this message. This can help us improve future automake versions. END if test x"$ACCEPT_INFERIOR_RM_PROGRAM" = x"yes"; then echo 'Configuration will proceed anyway, since you have set the' >&2 echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2 echo >&2 else cat >&2 <<'END' Aborting the configuration process, to ensure you take notice of the issue. You can download and install GNU coreutils to get an 'rm' implementation that behaves properly: . If you want to complete the configuration process using your problematic 'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM to "yes", and re-run configure. END as_fn_error $? "Your 'rm' program is bad, sorry." "$LINENO" 5 fi fi ## test -n "$_star_per_package_dirs" || _star_per_package_dirs=false test -n "$_star_docs_only" || _star_docs_only=false # Ensure that STARLINK has a value, defaulting to # /star. Note that this directory may be # different from /star, and reflects the value of # STARCONF_DEFAULT_STARLINK that the `starconf' package was configured # with before its installation. # # We use $STARLINK as the location of any other Starlink tools we need # to use during the building of our packages, and for the location of # any manifests we need to check. It is permissable for it to be # different from $(prefix): this is partly because we have no way of # enforcing that the two be the same, since the user can set # prefix=xxx on the `make install' command line, and partly so that it # is possible to make a test version of a new package, using tools # from an old installation, but installing in a new place. # # However, we install software in /star by # default. This is so even if $STARLINK and STARCONF_DEFAULT_STARLINK # are different, because in this case we are planning to use a # previous installation in $STARLINK or $STARCONF_DEFAULT_STARLINK, # but install the newly built tool elsewhere. # # In most cases, including the most important case where we are # building the tree from scratch, in a checked out directory, # STARLINK, STARCONF_DEFAULT_STARLINK and STARCONF_DEFAULT_PREFIX will # all be the same. That's OK because a separate aspect of the build # process, respecting the various dependencies expresses in source # directories, ensures that we don't use (and install) any Starlink # tools in one component before that component has been build and # installed. test -n "$STARLINK" || STARLINK=/star # Handle the --with-starlink option. If --with-starlink is present # with no argument (the default), we do nothing as this simply # indicates that this is part of a Starlink tree. If it has an # argument, then this overrides the location of the Starlink tree. # Option --without-starlink or --with-starlink=no indicates that this # is being built _not_ as part of a Starlink build (that is, it's # being distributed as something other than a Starlink package). In # this case, the variable STARLINK is unset. # Check whether --with-starlink was given. if test "${with_starlink+set}" = set; then : withval=$with_starlink; if test -z "$withval" -o "$withval" = yes; then : nothing needs to be done elif test "X$withval" = Xno; then unset STARLINK elif test -d "$withval"; then STARLINK="$withval" else { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: --with-starlink given nonexistent directory; ignored: using default $STARLINK instead" >&5 $as_echo "$as_me: WARNING: --with-starlink given nonexistent directory; ignored: using default $STARLINK instead" >&2;} fi fi if test -n "$STARLINK"; then { $as_echo "$as_me:${as_lineno-$LINENO}: Starlink tree located at $STARLINK" >&5 $as_echo "$as_me: Starlink tree located at $STARLINK" >&6;} else { $as_echo "$as_me:${as_lineno-$LINENO}: Not being built as part of the Starlink tree" >&5 $as_echo "$as_me: Not being built as part of the Starlink tree" >&6;} fi # Handle --without-stardocs. Don't build and install documentation. # Default is --with-stardocs. _star_build_docs=: # Check whether --with-stardocs was given. if test "${with_stardocs+set}" = set; then : withval=$with_stardocs; if test -z "$withval"; then _star_build_docs=: # default elif test "X$withval" = Xno; then _star_build_docs=false elif test "X$withval" = Xyes; then _star_build_docs=: else { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: bad arg to --with-stardocs: using yes" >&5 $as_echo "$as_me: WARNING: bad arg to --with-stardocs: using yes" >&2;} _star_build_docs=: fi fi if $_star_docs_only; then if $_star_build_docs; then : OK else { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Building without documentation in a docs-only directory" >&5 $as_echo "$as_me: WARNING: Building without documentation in a docs-only directory" >&2;} fi fi # Everything depends on where /star is. Declare STARLINK as a # `precious variable'. Amongst other things, this will make # ./configure squeal if the package is re-configured with an # inconsistent value of this variable. # AC_SUBST the STARLINK variable. Macro AC_ARG_VAR does this anyway, # but automake doesn't know that (in 1.6 at least): however any # variable that automake finds has been AC_SUBSTed, it includes in # Makefile.in, and we need that. # Use the above information: $STARLINK indicates a preexisting # Starlink tree. # # Avoid doing anything if $STARLINK was unset above. # # Add library search paths using STAR_LDFLAGS. Do it this way, rather than # by defining LIBS (which is also a non-user variable): (a) these are # really options to the linker, rather than adjustments to the set of # libraries, so this makes sense; also (b) adding them to LIBS is too # late, since that adds -L _after_ any -l options found in *_LDADD. if test -n "$STARLINK"; then STAR_CPPFLAGS="-I$STARLINK/include" STAR_FCFLAGS="-I$STARLINK/include" STAR_FFLAGS="-I$STARLINK/include" STAR_LDFLAGS="-L$STARLINK/lib" else STAR_CPPFLAGS= STAR_FCFLAGS= STAR_FFLAGS= STAR_LDFLAGS= fi # Installation directory options (these are no longer handled # by _STAR_EXTRADIR_COMMON). There should be an entry here for each of # Starlink's special installation locations. stardocsdir='${prefix}/docs' staretcdir='${prefix}/etc' starexamplesdir='${prefix}/examples' starfacsdir='${prefix}/help' starhelpdir='${prefix}/help' starnewsdir='${prefix}/news' # Certain directories are affected by the $_star_per_package_dir variable; # if it's true, then add the $PACKAGE_NAME to the directory. # The directories currently adjusted by this are bin and help; # there are others: see PWD's message of 2004-02-16 # if $_star_per_package_dirs; then bindir="$bindir/$PACKAGE_NAME" starhelpdir="$starhelpdir/$PACKAGE_NAME" staretcdir="$staretcdir/$PACKAGE_NAME" { $as_echo "$as_me:${as_lineno-$LINENO}: STAR_DEFAULTS has option per-package-dirs:" >&5 $as_echo "$as_me: STAR_DEFAULTS has option per-package-dirs:" >&6;} { $as_echo "$as_me:${as_lineno-$LINENO}: bindir=$bindir starhelpdir=$starhelpdir staretcdir=$staretcdir" >&5 $as_echo "$as_me: bindir=$bindir starhelpdir=$starhelpdir staretcdir=$staretcdir" >&6;} # Note that starfacsdir is unaffected by per-package-dirs -- facility # files must always be installed in .../help (this also facilitates # changing this installation location in future, to somewhere with a # more logical name than .../help). fi # Dependency declarations and checks. # Everything is dependent on starconf, so we don't have to declare that # for each package separately. # STAR_DEPENDENCIES_ATTRIBUTES is currently not used. STAR_DEPENDENCIES_ATTRIBUTES='' STAR_DEPENDENCIES_CHILDREN='' # List of documentation. See [STAR_LATEX_DOCUMENTATION]. # STAR_DOCUMENTATION is a list of document codes, STAR_DOCUMENTATION= # Create a PACKAGE_VERSION_INTEGER variable, which contains the # package's version number as an integer major*1e6+minor*1e3+release. eval `echo $VERSION | sed -e 's/\([0-9]*\)[^0-9]*\([0-9]*\)[^0-9]*\([0-9]*\).*/PACKAGE_VERSION_MAJOR=\1; PACKAGE_VERSION_MINOR=\2; PACKAGE_VERSION_RELEASE=\3;/'` test -n "$PACKAGE_VERSION_MAJOR" || PACKAGE_VERSION_MAJOR=0 test -n "$PACKAGE_VERSION_MINOR" || PACKAGE_VERSION_MINOR=0 test -n "$PACKAGE_VERSION_RELEASE" || PACKAGE_VERSION_RELEASE=0 PACKAGE_VERSION_INTEGER=`expr $PACKAGE_VERSION_MAJOR \* 1000000 + $PACKAGE_VERSION_MINOR \* 1000 + $PACKAGE_VERSION_RELEASE` # When we do dependency checking, using the dependencies declared in # the package's configure.ac, we do so by looking at what tools have # already been installed in the Starlink tree. The tree in question # is to be found under $STARLINK (see above), so we check that a # package is installed by checking that its manifest can be found in # $STARLINK/manifests. We don't AC_SUBST this. current_MANIFESTS=$STARLINK/manifests # When we install manifests, however, they should go in the # installation directory. Allow this to be defaulted from the environment. # In particular, if it is set to null in the environment, this will # suppress the installation of manifests. : ${STAR_MANIFEST_DIR='$(prefix)/manifests'} # Each package updates the "starlink.version" file installed into the # manifests directory. This tracks the last git sha1 checkin for # the current code state by running the git show on the HEAD. # Define GIT as the program to run, but allow it to be overridden # (most likely by ":" to avoid the overhead). # Also requires that STAR_SOURCE_ROOT_DIR is defined to locate the # head of the source tree. : ${GIT='git'} if test "${GIT}" = "git"; then # Extract the first word of "git", so it can be a program name with args. set dummy git; ac_word=$2 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } if ${ac_cv_path_GIT+:} false; then : $as_echo_n "(cached) " >&6 else case $GIT in [\\/]* | ?:[\\/]*) ac_cv_path_GIT="$GIT" # Let the user override the test with a path. ;; *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ac_cv_path_GIT="$as_dir/$ac_word$ac_exec_ext" $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done IFS=$as_save_IFS ;; esac fi GIT=$ac_cv_path_GIT if test -n "$GIT"; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GIT" >&5 $as_echo "$GIT" >&6; } else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } fi fi : ${STAR_SOURCE_ROOT_DIR=''} # Although PACKAGE_VERSION is a default output variable, it isn't # added as a Makefile variable by default. We need it below, however, # so add it now. # Initialise state of predist/postdist flags (see STAR_PREDIST_SOURCES). # The value of _star_predist_status must be inherited by any # ./configure run in a subdirectory, so that we there avoid the predist # test of starconf.status: in a pre-distribution state, this file must # be present in the component directory (where we are running # ./configure), but must not be present in any subdirectory. _star_predist_status=unknown PREDIST='#' # safe default # pax and/or tar are used in some install targets. # Note: value-if-not-found should be blank, so this can be tested for. # Extract the first word of "pax", so it can be a program name with args. set dummy pax; ac_word=$2 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } if ${ac_cv_path_PAX+:} false; then : $as_echo_n "(cached) " >&6 else case $PAX in [\\/]* | ?:[\\/]*) ac_cv_path_PAX="$PAX" # Let the user override the test with a path. ;; *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ac_cv_path_PAX="$as_dir/$ac_word$ac_exec_ext" $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done IFS=$as_save_IFS ;; esac fi PAX=$ac_cv_path_PAX if test -n "$PAX"; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PAX" >&5 $as_echo "$PAX" >&6; } else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } fi for ac_prog in gnutar tar do # Extract the first word of "$ac_prog", so it can be a program name with args. set dummy $ac_prog; ac_word=$2 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } if ${ac_cv_path_TAR+:} false; then : $as_echo_n "(cached) " >&6 else case $TAR in [\\/]* | ?:[\\/]*) ac_cv_path_TAR="$TAR" # Let the user override the test with a path. ;; *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ac_cv_path_TAR="$as_dir/$ac_word$ac_exec_ext" $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done IFS=$as_save_IFS ;; esac fi TAR=$ac_cv_path_TAR if test -n "$TAR"; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: $TAR" >&5 $as_echo "$TAR" >&6; } else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } fi test -n "$TAR" && break done ALL_TARGET=all-am-normal # Default $prefix. This is done by the standard autoconf configure, but at # a slightly later stage than this. Doing it here, as part of STAR_[]DEFAULTS # means that the defaulted value of $prefix can be used within the body of # the configure.ac, for example to pass it to a ./configure in a subdirectory. test "x$prefix" = xNONE && prefix=$ac_default_prefix # Let make expand exec_prefix. test "x$exec_prefix" = xNONE && exec_prefix='${prefix}' ac_ext=c ac_cpp='$CPP $CPPFLAGS' ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' ac_compiler_gnu=$ac_cv_c_compiler_gnu if test -n "$ac_tool_prefix"; then # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args. set dummy ${ac_tool_prefix}gcc; ac_word=$2 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } if ${ac_cv_prog_CC+:} false; then : $as_echo_n "(cached) " >&6 else if test -n "$CC"; then ac_cv_prog_CC="$CC" # Let the user override the test. else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ac_cv_prog_CC="${ac_tool_prefix}gcc" $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done IFS=$as_save_IFS fi fi CC=$ac_cv_prog_CC if test -n "$CC"; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 $as_echo "$CC" >&6; } else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } fi fi if test -z "$ac_cv_prog_CC"; then ac_ct_CC=$CC # Extract the first word of "gcc", so it can be a program name with args. set dummy gcc; ac_word=$2 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } if ${ac_cv_prog_ac_ct_CC+:} false; then : $as_echo_n "(cached) " >&6 else if test -n "$ac_ct_CC"; then ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ac_cv_prog_ac_ct_CC="gcc" $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done IFS=$as_save_IFS fi fi ac_ct_CC=$ac_cv_prog_ac_ct_CC if test -n "$ac_ct_CC"; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 $as_echo "$ac_ct_CC" >&6; } else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } fi if test "x$ac_ct_CC" = x; then CC="" else case $cross_compiling:$ac_tool_warned in yes:) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} ac_tool_warned=yes ;; esac CC=$ac_ct_CC fi else CC="$ac_cv_prog_CC" fi if test -z "$CC"; then if test -n "$ac_tool_prefix"; then # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args. set dummy ${ac_tool_prefix}cc; ac_word=$2 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } if ${ac_cv_prog_CC+:} false; then : $as_echo_n "(cached) " >&6 else if test -n "$CC"; then ac_cv_prog_CC="$CC" # Let the user override the test. else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ac_cv_prog_CC="${ac_tool_prefix}cc" $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done IFS=$as_save_IFS fi fi CC=$ac_cv_prog_CC if test -n "$CC"; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 $as_echo "$CC" >&6; } else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } fi fi fi if test -z "$CC"; then # Extract the first word of "cc", so it can be a program name with args. set dummy cc; ac_word=$2 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } if ${ac_cv_prog_CC+:} false; then : $as_echo_n "(cached) " >&6 else if test -n "$CC"; then ac_cv_prog_CC="$CC" # Let the user override the test. else ac_prog_rejected=no as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then ac_prog_rejected=yes continue fi ac_cv_prog_CC="cc" $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done IFS=$as_save_IFS if test $ac_prog_rejected = yes; then # We found a bogon in the path, so make sure we never use it. set dummy $ac_cv_prog_CC shift if test $# != 0; then # We chose a different compiler from the bogus one. # However, it has the same basename, so the bogon will be chosen # first if we set CC to just the basename; use the full file name. shift ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@" fi fi fi fi CC=$ac_cv_prog_CC if test -n "$CC"; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 $as_echo "$CC" >&6; } else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } fi fi if test -z "$CC"; then if test -n "$ac_tool_prefix"; then for ac_prog in cl.exe do # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. set dummy $ac_tool_prefix$ac_prog; ac_word=$2 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } if ${ac_cv_prog_CC+:} false; then : $as_echo_n "(cached) " >&6 else if test -n "$CC"; then ac_cv_prog_CC="$CC" # Let the user override the test. else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ac_cv_prog_CC="$ac_tool_prefix$ac_prog" $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done IFS=$as_save_IFS fi fi CC=$ac_cv_prog_CC if test -n "$CC"; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 $as_echo "$CC" >&6; } else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } fi test -n "$CC" && break done fi if test -z "$CC"; then ac_ct_CC=$CC for ac_prog in cl.exe do # Extract the first word of "$ac_prog", so it can be a program name with args. set dummy $ac_prog; ac_word=$2 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } if ${ac_cv_prog_ac_ct_CC+:} false; then : $as_echo_n "(cached) " >&6 else if test -n "$ac_ct_CC"; then ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ac_cv_prog_ac_ct_CC="$ac_prog" $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done IFS=$as_save_IFS fi fi ac_ct_CC=$ac_cv_prog_ac_ct_CC if test -n "$ac_ct_CC"; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 $as_echo "$ac_ct_CC" >&6; } else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } fi test -n "$ac_ct_CC" && break done if test "x$ac_ct_CC" = x; then CC="" else case $cross_compiling:$ac_tool_warned in yes:) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} ac_tool_warned=yes ;; esac CC=$ac_ct_CC fi fi fi test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} as_fn_error $? "no acceptable C compiler found in \$PATH See \`config.log' for more details" "$LINENO" 5; } # Provide some information about the compiler. $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5 set X $ac_compile ac_compiler=$2 for ac_option in --version -v -V -qversion; do { { ac_try="$ac_compiler $ac_option >&5" case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" $as_echo "$ac_try_echo"; } >&5 (eval "$ac_compiler $ac_option >&5") 2>conftest.err ac_status=$? if test -s conftest.err; then sed '10a\ ... rest of stderr output deleted ... 10q' conftest.err >conftest.er1 cat conftest.er1 >&5 fi rm -f conftest.er1 conftest.err $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; } done cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ int main () { ; return 0; } _ACEOF ac_clean_files_save=$ac_clean_files ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out" # Try to create an executable without -o first, disregard a.out. # It will help us diagnose broken compilers, and finding out an intuition # of exeext. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5 $as_echo_n "checking whether the C compiler works... " >&6; } ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'` # The possible output files: ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*" ac_rmfiles= for ac_file in $ac_files do case $ac_file in *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;; * ) ac_rmfiles="$ac_rmfiles $ac_file";; esac done rm -f $ac_rmfiles if { { ac_try="$ac_link_default" case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" $as_echo "$ac_try_echo"; } >&5 (eval "$ac_link_default") 2>&5 ac_status=$? $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then : # Autoconf-2.13 could set the ac_cv_exeext variable to `no'. # So ignore a value of `no', otherwise this would lead to `EXEEXT = no' # in a Makefile. We should not override ac_cv_exeext if it was cached, # so that the user can short-circuit this test for compilers unknown to # Autoconf. for ac_file in $ac_files '' do test -f "$ac_file" || continue case $ac_file in *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;; [ab].out ) # We found the default executable, but exeext='' is most # certainly right. break;; *.* ) if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no; then :; else ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` fi # We set ac_cv_exeext here because the later test for it is not # safe: cross compilers may not add the suffix if given an `-o' # argument, so we may need to know it at that point already. # Even if this section looks crufty: it has the advantage of # actually working. break;; * ) break;; esac done test "$ac_cv_exeext" = no && ac_cv_exeext= else ac_file='' fi if test -z "$ac_file"; then : { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } $as_echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} as_fn_error 77 "C compiler cannot create executables See \`config.log' for more details" "$LINENO" 5; } else { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 $as_echo "yes" >&6; } fi { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5 $as_echo_n "checking for C compiler default output file name... " >&6; } { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5 $as_echo "$ac_file" >&6; } ac_exeext=$ac_cv_exeext rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out ac_clean_files=$ac_clean_files_save { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5 $as_echo_n "checking for suffix of executables... " >&6; } if { { ac_try="$ac_link" case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" $as_echo "$ac_try_echo"; } >&5 (eval "$ac_link") 2>&5 ac_status=$? $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then : # If both `conftest.exe' and `conftest' are `present' (well, observable) # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will # work properly (i.e., refer to `conftest.exe'), while it won't with # `rm'. for ac_file in conftest.exe conftest conftest.*; do test -f "$ac_file" || continue case $ac_file in *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;; *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` break;; * ) break;; esac done else { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} as_fn_error $? "cannot compute suffix of executables: cannot compile and link See \`config.log' for more details" "$LINENO" 5; } fi rm -f conftest conftest$ac_cv_exeext { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5 $as_echo "$ac_cv_exeext" >&6; } rm -f conftest.$ac_ext EXEEXT=$ac_cv_exeext ac_exeext=$EXEEXT cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include int main () { FILE *f = fopen ("conftest.out", "w"); return ferror (f) || fclose (f) != 0; ; return 0; } _ACEOF ac_clean_files="$ac_clean_files conftest.out" # Check that the compiler produces executables we can run. If not, either # the compiler is broken, or we cross compile. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5 $as_echo_n "checking whether we are cross compiling... " >&6; } if test "$cross_compiling" != yes; then { { ac_try="$ac_link" case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" $as_echo "$ac_try_echo"; } >&5 (eval "$ac_link") 2>&5 ac_status=$? $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; } if { ac_try='./conftest$ac_cv_exeext' { { case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" $as_echo "$ac_try_echo"; } >&5 (eval "$ac_try") 2>&5 ac_status=$? $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; }; then cross_compiling=no else if test "$cross_compiling" = maybe; then cross_compiling=yes else { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} as_fn_error $? "cannot run C compiled programs. If you meant to cross compile, use \`--host'. See \`config.log' for more details" "$LINENO" 5; } fi fi fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5 $as_echo "$cross_compiling" >&6; } rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out ac_clean_files=$ac_clean_files_save { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5 $as_echo_n "checking for suffix of object files... " >&6; } if ${ac_cv_objext+:} false; then : $as_echo_n "(cached) " >&6 else cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ int main () { ; return 0; } _ACEOF rm -f conftest.o conftest.obj if { { ac_try="$ac_compile" case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" $as_echo "$ac_try_echo"; } >&5 (eval "$ac_compile") 2>&5 ac_status=$? $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then : for ac_file in conftest.o conftest.obj conftest.*; do test -f "$ac_file" || continue; case $ac_file in *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;; *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'` break;; esac done else $as_echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} as_fn_error $? "cannot compute suffix of object files: cannot compile See \`config.log' for more details" "$LINENO" 5; } fi rm -f conftest.$ac_cv_objext conftest.$ac_ext fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5 $as_echo "$ac_cv_objext" >&6; } OBJEXT=$ac_cv_objext ac_objext=$OBJEXT { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; } if ${ac_cv_c_compiler_gnu+:} false; then : $as_echo_n "(cached) " >&6 else cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ int main () { #ifndef __GNUC__ choke me #endif ; return 0; } _ACEOF if ac_fn_c_try_compile "$LINENO"; then : ac_compiler_gnu=yes else ac_compiler_gnu=no fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext ac_cv_c_compiler_gnu=$ac_compiler_gnu fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5 $as_echo "$ac_cv_c_compiler_gnu" >&6; } if test $ac_compiler_gnu = yes; then GCC=yes else GCC= fi ac_test_CFLAGS=${CFLAGS+set} ac_save_CFLAGS=$CFLAGS { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5 $as_echo_n "checking whether $CC accepts -g... " >&6; } if ${ac_cv_prog_cc_g+:} false; then : $as_echo_n "(cached) " >&6 else ac_save_c_werror_flag=$ac_c_werror_flag ac_c_werror_flag=yes ac_cv_prog_cc_g=no CFLAGS="-g" cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ int main () { ; return 0; } _ACEOF if ac_fn_c_try_compile "$LINENO"; then : ac_cv_prog_cc_g=yes else CFLAGS="" cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ int main () { ; return 0; } _ACEOF if ac_fn_c_try_compile "$LINENO"; then : else ac_c_werror_flag=$ac_save_c_werror_flag CFLAGS="-g" cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ int main () { ; return 0; } _ACEOF if ac_fn_c_try_compile "$LINENO"; then : ac_cv_prog_cc_g=yes fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext ac_c_werror_flag=$ac_save_c_werror_flag fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5 $as_echo "$ac_cv_prog_cc_g" >&6; } if test "$ac_test_CFLAGS" = set; then CFLAGS=$ac_save_CFLAGS elif test $ac_cv_prog_cc_g = yes; then if test "$GCC" = yes; then CFLAGS="-g -O2" else CFLAGS="-g" fi else if test "$GCC" = yes; then CFLAGS="-O2" else CFLAGS= fi fi { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; } if ${ac_cv_prog_cc_c89+:} false; then : $as_echo_n "(cached) " >&6 else ac_cv_prog_cc_c89=no ac_save_CC=$CC cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include #include struct stat; /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */ struct buf { int x; }; FILE * (*rcsopen) (struct buf *, struct stat *, int); static char *e (p, i) char **p; int i; { return p[i]; } static char *f (char * (*g) (char **, int), char **p, ...) { char *s; va_list v; va_start (v,p); s = g (p, va_arg (v,int)); va_end (v); return s; } /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has function prototypes and stuff, but not '\xHH' hex character constants. These don't provoke an error unfortunately, instead are silently treated as 'x'. The following induces an error, until -std is added to get proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an array size at least. It's necessary to write '\x00'==0 to get something that's true only with -std. */ int osf4_cc_array ['\x00' == 0 ? 1 : -1]; /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters inside strings and character constants. */ #define FOO(x) 'x' int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1]; int test (int i, double x); struct s1 {int (*f) (int a);}; struct s2 {int (*f) (double a);}; int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int); int argc; char **argv; int main () { return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]; ; return 0; } _ACEOF for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \ -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__" do CC="$ac_save_CC $ac_arg" if ac_fn_c_try_compile "$LINENO"; then : ac_cv_prog_cc_c89=$ac_arg fi rm -f core conftest.err conftest.$ac_objext test "x$ac_cv_prog_cc_c89" != "xno" && break done rm -f conftest.$ac_ext CC=$ac_save_CC fi # AC_CACHE_VAL case "x$ac_cv_prog_cc_c89" in x) { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5 $as_echo "none needed" >&6; } ;; xno) { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5 $as_echo "unsupported" >&6; } ;; *) CC="$CC $ac_cv_prog_cc_c89" { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;; esac if test "x$ac_cv_prog_cc_c89" != xno; then : fi ac_ext=c ac_cpp='$CPP $CPPFLAGS' ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' ac_compiler_gnu=$ac_cv_c_compiler_gnu ac_ext=c ac_cpp='$CPP $CPPFLAGS' ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' ac_compiler_gnu=$ac_cv_c_compiler_gnu { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5 $as_echo_n "checking whether $CC understands -c and -o together... " >&6; } if ${am_cv_prog_cc_c_o+:} false; then : $as_echo_n "(cached) " >&6 else cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ int main () { ; return 0; } _ACEOF # Make sure it works both with $CC and with simple cc. # Following AC_PROG_CC_C_O, we do the test twice because some # compilers refuse to overwrite an existing .o file with -o, # though they will create one. am_cv_prog_cc_c_o=yes for am_i in 1 2; do if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5 ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } \ && test -f conftest2.$ac_objext; then : OK else am_cv_prog_cc_c_o=no break fi done rm -f core conftest* unset am_i fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5 $as_echo "$am_cv_prog_cc_c_o" >&6; } if test "$am_cv_prog_cc_c_o" != yes; then # Losing compiler, so override with the script. # FIXME: It is wrong to rewrite CC. # But if we don't then we get into trouble of one sort or another. # A longer-term fix would be to have automake use am__CC in this case, # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)" CC="$am_aux_dir/compile $CC" fi ac_ext=c ac_cpp='$CPP $CPPFLAGS' ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' ac_compiler_gnu=$ac_cv_c_compiler_gnu DEPDIR="${am__leading_dot}deps" ac_config_commands="$ac_config_commands depfiles" am_make=${MAKE-make} cat > confinc << 'END' am__doit: @echo this is the am__doit target .PHONY: am__doit END # If we don't find an include directive, just comment out the code. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5 $as_echo_n "checking for style of include used by $am_make... " >&6; } am__include="#" am__quote= _am_result=none # First try GNU make style include. echo "include confinc" > confmf # Ignore all kinds of additional output from 'make'. case `$am_make -s -f confmf 2> /dev/null` in #( *the\ am__doit\ target*) am__include=include am__quote= _am_result=GNU ;; esac # Now try BSD make style include. if test "$am__include" = "#"; then echo '.include "confinc"' > confmf case `$am_make -s -f confmf 2> /dev/null` in #( *the\ am__doit\ target*) am__include=.include am__quote="\"" _am_result=BSD ;; esac fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5 $as_echo "$_am_result" >&6; } rm -f confinc confmf # Check whether --enable-dependency-tracking was given. if test "${enable_dependency_tracking+set}" = set; then : enableval=$enable_dependency_tracking; fi if test "x$enable_dependency_tracking" != xno; then am_depcomp="$ac_aux_dir/depcomp" AMDEPBACKSLASH='\' am__nodep='_no' fi if test "x$enable_dependency_tracking" != xno; then AMDEP_TRUE= AMDEP_FALSE='#' else AMDEP_TRUE='#' AMDEP_FALSE= fi depcc="$CC" am_compiler_list= { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5 $as_echo_n "checking dependency style of $depcc... " >&6; } if ${am_cv_CC_dependencies_compiler_type+:} false; then : $as_echo_n "(cached) " >&6 else if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then # We make a subdir and do the tests there. Otherwise we can end up # making bogus files that we don't know about and never remove. For # instance it was reported that on HP-UX the gcc test will end up # making a dummy file named 'D' -- because '-MD' means "put the output # in D". rm -rf conftest.dir mkdir conftest.dir # Copy depcomp to subdir because otherwise we won't find it if we're # using a relative directory. cp "$am_depcomp" conftest.dir cd conftest.dir # We will build objects and dependencies in a subdirectory because # it helps to detect inapplicable dependency modes. For instance # both Tru64's cc and ICC support -MD to output dependencies as a # side effect of compilation, but ICC will put the dependencies in # the current directory while Tru64 will put them in the object # directory. mkdir sub am_cv_CC_dependencies_compiler_type=none if test "$am_compiler_list" = ""; then am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp` fi am__universal=false case " $depcc " in #( *\ -arch\ *\ -arch\ *) am__universal=true ;; esac for depmode in $am_compiler_list; do # Setup a source with many dependencies, because some compilers # like to wrap large dependency lists on column 80 (with \), and # we should not choose a depcomp mode which is confused by this. # # We need to recreate these files for each test, as the compiler may # overwrite some of them when testing with obscure command lines. # This happens at least with the AIX C compiler. : > sub/conftest.c for i in 1 2 3 4 5 6; do echo '#include "conftst'$i'.h"' >> sub/conftest.c # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with # Solaris 10 /bin/sh. echo '/* dummy */' > sub/conftst$i.h done echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf # We check with '-c' and '-o' for the sake of the "dashmstdout" # mode. It turns out that the SunPro C++ compiler does not properly # handle '-M -o', and we need to detect this. Also, some Intel # versions had trouble with output in subdirs. am__obj=sub/conftest.${OBJEXT-o} am__minus_obj="-o $am__obj" case $depmode in gcc) # This depmode causes a compiler race in universal mode. test "$am__universal" = false || continue ;; nosideeffect) # After this tag, mechanisms are not by side-effect, so they'll # only be used when explicitly requested. if test "x$enable_dependency_tracking" = xyes; then continue else break fi ;; msvc7 | msvc7msys | msvisualcpp | msvcmsys) # This compiler won't grok '-c -o', but also, the minuso test has # not run yet. These depmodes are late enough in the game, and # so weak that their functioning should not be impacted. am__obj=conftest.${OBJEXT-o} am__minus_obj= ;; none) break ;; esac if depmode=$depmode \ source=sub/conftest.c object=$am__obj \ depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \ $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \ >/dev/null 2>conftest.err && grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 && grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 && grep $am__obj sub/conftest.Po > /dev/null 2>&1 && ${MAKE-make} -s -f confmf > /dev/null 2>&1; then # icc doesn't choke on unknown options, it will just issue warnings # or remarks (even with -Werror). So we grep stderr for any message # that says an option was ignored or not supported. # When given -MP, icc 7.0 and 7.1 complain thusly: # icc: Command line warning: ignoring option '-M'; no argument required # The diagnosis changed in icc 8.0: # icc: Command line remark: option '-MP' not supported if (grep 'ignoring option' conftest.err || grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else am_cv_CC_dependencies_compiler_type=$depmode break fi fi done cd .. rm -rf conftest.dir else am_cv_CC_dependencies_compiler_type=none fi fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; } CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type if test "x$enable_dependency_tracking" != xno \ && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then am__fastdepCC_TRUE= am__fastdepCC_FALSE='#' else am__fastdepCC_TRUE='#' am__fastdepCC_FALSE= fi case `pwd` in *\ * | *\ *) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;; esac macro_version='2.4.2' macro_revision='1.3337' ltmain="$ac_aux_dir/ltmain.sh" # Make sure we can run config.sub. $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 || as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5 $as_echo_n "checking build system type... " >&6; } if ${ac_cv_build+:} false; then : $as_echo_n "(cached) " >&6 else ac_build_alias=$build_alias test "x$ac_build_alias" = x && ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"` test "x$ac_build_alias" = x && as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` || as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5 fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5 $as_echo "$ac_cv_build" >&6; } case $ac_cv_build in *-*-*) ;; *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;; esac build=$ac_cv_build ac_save_IFS=$IFS; IFS='-' set x $ac_cv_build shift build_cpu=$1 build_vendor=$2 shift; shift # Remember, the first character of IFS is used to create $*, # except with old shells: build_os=$* IFS=$ac_save_IFS case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5 $as_echo_n "checking host system type... " >&6; } if ${ac_cv_host+:} false; then : $as_echo_n "(cached) " >&6 else if test "x$host_alias" = x; then ac_cv_host=$ac_cv_build else ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` || as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5 fi fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5 $as_echo "$ac_cv_host" >&6; } case $ac_cv_host in *-*-*) ;; *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;; esac host=$ac_cv_host ac_save_IFS=$IFS; IFS='-' set x $ac_cv_host shift host_cpu=$1 host_vendor=$2 shift; shift # Remember, the first character of IFS is used to create $*, # except with old shells: host_os=$* IFS=$ac_save_IFS case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac # Backslashify metacharacters that are still active within # double-quoted strings. sed_quote_subst='s/\(["`$\\]\)/\\\1/g' # Same as above, but do not quote variable references. double_quote_subst='s/\(["`\\]\)/\\\1/g' # Sed substitution to delay expansion of an escaped shell variable in a # double_quote_subst'ed string. delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g' # Sed substitution to delay expansion of an escaped single quote. delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g' # Sed substitution to avoid accidental globbing in evaled expressions no_glob_subst='s/\*/\\\*/g' ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5 $as_echo_n "checking how to print strings... " >&6; } # Test print first, because it will be a builtin if present. if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \ test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then ECHO='print -r --' elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then ECHO='printf %s\n' else # Use this function as a fallback that always works. func_fallback_echo () { eval 'cat <<_LTECHO_EOF $1 _LTECHO_EOF' } ECHO='func_fallback_echo' fi # func_echo_all arg... # Invoke $ECHO with all args, space-separated. func_echo_all () { $ECHO "" } case "$ECHO" in printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5 $as_echo "printf" >&6; } ;; print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5 $as_echo "print -r" >&6; } ;; *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5 $as_echo "cat" >&6; } ;; esac { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5 $as_echo_n "checking for a sed that does not truncate output... " >&6; } if ${ac_cv_path_SED+:} false; then : $as_echo_n "(cached) " >&6 else ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/ for ac_i in 1 2 3 4 5 6 7; do ac_script="$ac_script$as_nl$ac_script" done echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed { ac_script=; unset ac_script;} if test -z "$SED"; then ac_path_SED_found=false # Loop through the user's path and test for each of PROGNAME-LIST as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_prog in sed gsed; do for ac_exec_ext in '' $ac_executable_extensions; do ac_path_SED="$as_dir/$ac_prog$ac_exec_ext" as_fn_executable_p "$ac_path_SED" || continue # Check for GNU ac_path_SED and select it if it is found. # Check for GNU $ac_path_SED case `"$ac_path_SED" --version 2>&1` in *GNU*) ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;; *) ac_count=0 $as_echo_n 0123456789 >"conftest.in" while : do cat "conftest.in" "conftest.in" >"conftest.tmp" mv "conftest.tmp" "conftest.in" cp "conftest.in" "conftest.nl" $as_echo '' >> "conftest.nl" "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break as_fn_arith $ac_count + 1 && ac_count=$as_val if test $ac_count -gt ${ac_path_SED_max-0}; then # Best one so far, save it but keep looking for a better one ac_cv_path_SED="$ac_path_SED" ac_path_SED_max=$ac_count fi # 10*(2^10) chars as input seems more than enough test $ac_count -gt 10 && break done rm -f conftest.in conftest.tmp conftest.nl conftest.out;; esac $ac_path_SED_found && break 3 done done done IFS=$as_save_IFS if test -z "$ac_cv_path_SED"; then as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5 fi else ac_cv_path_SED=$SED fi fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5 $as_echo "$ac_cv_path_SED" >&6; } SED="$ac_cv_path_SED" rm -f conftest.sed test -z "$SED" && SED=sed Xsed="$SED -e 1s/^X//" { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5 $as_echo_n "checking for grep that handles long lines and -e... " >&6; } if ${ac_cv_path_GREP+:} false; then : $as_echo_n "(cached) " >&6 else if test -z "$GREP"; then ac_path_GREP_found=false # Loop through the user's path and test for each of PROGNAME-LIST as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_prog in grep ggrep; do for ac_exec_ext in '' $ac_executable_extensions; do ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext" as_fn_executable_p "$ac_path_GREP" || continue # Check for GNU ac_path_GREP and select it if it is found. # Check for GNU $ac_path_GREP case `"$ac_path_GREP" --version 2>&1` in *GNU*) ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;; *) ac_count=0 $as_echo_n 0123456789 >"conftest.in" while : do cat "conftest.in" "conftest.in" >"conftest.tmp" mv "conftest.tmp" "conftest.in" cp "conftest.in" "conftest.nl" $as_echo 'GREP' >> "conftest.nl" "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break as_fn_arith $ac_count + 1 && ac_count=$as_val if test $ac_count -gt ${ac_path_GREP_max-0}; then # Best one so far, save it but keep looking for a better one ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_max=$ac_count fi # 10*(2^10) chars as input seems more than enough test $ac_count -gt 10 && break done rm -f conftest.in conftest.tmp conftest.nl conftest.out;; esac $ac_path_GREP_found && break 3 done done done IFS=$as_save_IFS if test -z "$ac_cv_path_GREP"; then as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 fi else ac_cv_path_GREP=$GREP fi fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5 $as_echo "$ac_cv_path_GREP" >&6; } GREP="$ac_cv_path_GREP" { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5 $as_echo_n "checking for egrep... " >&6; } if ${ac_cv_path_EGREP+:} false; then : $as_echo_n "(cached) " >&6 else if echo a | $GREP -E '(a|b)' >/dev/null 2>&1 then ac_cv_path_EGREP="$GREP -E" else if test -z "$EGREP"; then ac_path_EGREP_found=false # Loop through the user's path and test for each of PROGNAME-LIST as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_prog in egrep; do for ac_exec_ext in '' $ac_executable_extensions; do ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext" as_fn_executable_p "$ac_path_EGREP" || continue # Check for GNU ac_path_EGREP and select it if it is found. # Check for GNU $ac_path_EGREP case `"$ac_path_EGREP" --version 2>&1` in *GNU*) ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;; *) ac_count=0 $as_echo_n 0123456789 >"conftest.in" while : do cat "conftest.in" "conftest.in" >"conftest.tmp" mv "conftest.tmp" "conftest.in" cp "conftest.in" "conftest.nl" $as_echo 'EGREP' >> "conftest.nl" "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break as_fn_arith $ac_count + 1 && ac_count=$as_val if test $ac_count -gt ${ac_path_EGREP_max-0}; then # Best one so far, save it but keep looking for a better one ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_max=$ac_count fi # 10*(2^10) chars as input seems more than enough test $ac_count -gt 10 && break done rm -f conftest.in conftest.tmp conftest.nl conftest.out;; esac $ac_path_EGREP_found && break 3 done done done IFS=$as_save_IFS if test -z "$ac_cv_path_EGREP"; then as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 fi else ac_cv_path_EGREP=$EGREP fi fi fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5 $as_echo "$ac_cv_path_EGREP" >&6; } EGREP="$ac_cv_path_EGREP" { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5 $as_echo_n "checking for fgrep... " >&6; } if ${ac_cv_path_FGREP+:} false; then : $as_echo_n "(cached) " >&6 else if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1 then ac_cv_path_FGREP="$GREP -F" else if test -z "$FGREP"; then ac_path_FGREP_found=false # Loop through the user's path and test for each of PROGNAME-LIST as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_prog in fgrep; do for ac_exec_ext in '' $ac_executable_extensions; do ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext" as_fn_executable_p "$ac_path_FGREP" || continue # Check for GNU ac_path_FGREP and select it if it is found. # Check for GNU $ac_path_FGREP case `"$ac_path_FGREP" --version 2>&1` in *GNU*) ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;; *) ac_count=0 $as_echo_n 0123456789 >"conftest.in" while : do cat "conftest.in" "conftest.in" >"conftest.tmp" mv "conftest.tmp" "conftest.in" cp "conftest.in" "conftest.nl" $as_echo 'FGREP' >> "conftest.nl" "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break as_fn_arith $ac_count + 1 && ac_count=$as_val if test $ac_count -gt ${ac_path_FGREP_max-0}; then # Best one so far, save it but keep looking for a better one ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_max=$ac_count fi # 10*(2^10) chars as input seems more than enough test $ac_count -gt 10 && break done rm -f conftest.in conftest.tmp conftest.nl conftest.out;; esac $ac_path_FGREP_found && break 3 done done done IFS=$as_save_IFS if test -z "$ac_cv_path_FGREP"; then as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 fi else ac_cv_path_FGREP=$FGREP fi fi fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5 $as_echo "$ac_cv_path_FGREP" >&6; } FGREP="$ac_cv_path_FGREP" test -z "$GREP" && GREP=grep # Check whether --with-gnu-ld was given. if test "${with_gnu_ld+set}" = set; then : withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes else with_gnu_ld=no fi ac_prog=ld if test "$GCC" = yes; then # Check if gcc -print-prog-name=ld gives a path. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5 $as_echo_n "checking for ld used by $CC... " >&6; } case $host in *-*-mingw*) # gcc leaves a trailing carriage return which upsets mingw ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;; *) ac_prog=`($CC -print-prog-name=ld) 2>&5` ;; esac case $ac_prog in # Accept absolute paths. [\\/]* | ?:[\\/]*) re_direlt='/[^/][^/]*/\.\./' # Canonicalize the pathname of ld ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'` while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"` done test -z "$LD" && LD="$ac_prog" ;; "") # If it fails, then pretend we aren't using GCC. ac_prog=ld ;; *) # If it is relative, then search for the first ld in PATH. with_gnu_ld=unknown ;; esac elif test "$with_gnu_ld" = yes; then { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5 $as_echo_n "checking for GNU ld... " >&6; } else { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5 $as_echo_n "checking for non-GNU ld... " >&6; } fi if ${lt_cv_path_LD+:} false; then : $as_echo_n "(cached) " >&6 else if test -z "$LD"; then lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR for ac_dir in $PATH; do IFS="$lt_save_ifs" test -z "$ac_dir" && ac_dir=. if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then lt_cv_path_LD="$ac_dir/$ac_prog" # Check to see if the program is GNU ld. I'd rather use --version, # but apparently some variants of GNU ld only accept -v. # Break only if it was the GNU/non-GNU ld that we prefer. case `"$lt_cv_path_LD" -v 2>&1 &5 $as_echo "$LD" >&6; } else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } fi test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; } if ${lt_cv_prog_gnu_ld+:} false; then : $as_echo_n "(cached) " >&6 else # I'd rather use --version here, but apparently some GNU lds only accept -v. case `$LD -v 2>&1 &5 $as_echo "$lt_cv_prog_gnu_ld" >&6; } with_gnu_ld=$lt_cv_prog_gnu_ld { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; } if ${lt_cv_path_NM+:} false; then : $as_echo_n "(cached) " >&6 else if test -n "$NM"; then # Let the user override the test. lt_cv_path_NM="$NM" else lt_nm_to_check="${ac_tool_prefix}nm" if test -n "$ac_tool_prefix" && test "$build" = "$host"; then lt_nm_to_check="$lt_nm_to_check nm" fi for lt_tmp_nm in $lt_nm_to_check; do lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do IFS="$lt_save_ifs" test -z "$ac_dir" && ac_dir=. tmp_nm="$ac_dir/$lt_tmp_nm" if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then # Check to see if the nm accepts a BSD-compat flag. # Adding the `sed 1q' prevents false positives on HP-UX, which says: # nm: unknown option "B" ignored # Tru64's nm complains that /dev/null is an invalid object file case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in */dev/null* | *'Invalid file or object type'*) lt_cv_path_NM="$tmp_nm -B" break ;; *) case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in */dev/null*) lt_cv_path_NM="$tmp_nm -p" break ;; *) lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but continue # so that we can try to find one that supports BSD flags ;; esac ;; esac fi done IFS="$lt_save_ifs" done : ${lt_cv_path_NM=no} fi fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5 $as_echo "$lt_cv_path_NM" >&6; } if test "$lt_cv_path_NM" != "no"; then NM="$lt_cv_path_NM" else # Didn't find any BSD compatible name lister, look for dumpbin. if test -n "$DUMPBIN"; then : # Let the user override the test. else if test -n "$ac_tool_prefix"; then for ac_prog in dumpbin "link -dump" do # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. set dummy $ac_tool_prefix$ac_prog; ac_word=$2 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } if ${ac_cv_prog_DUMPBIN+:} false; then : $as_echo_n "(cached) " >&6 else if test -n "$DUMPBIN"; then ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test. else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog" $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done IFS=$as_save_IFS fi fi DUMPBIN=$ac_cv_prog_DUMPBIN if test -n "$DUMPBIN"; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5 $as_echo "$DUMPBIN" >&6; } else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } fi test -n "$DUMPBIN" && break done fi if test -z "$DUMPBIN"; then ac_ct_DUMPBIN=$DUMPBIN for ac_prog in dumpbin "link -dump" do # Extract the first word of "$ac_prog", so it can be a program name with args. set dummy $ac_prog; ac_word=$2 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } if ${ac_cv_prog_ac_ct_DUMPBIN+:} false; then : $as_echo_n "(cached) " >&6 else if test -n "$ac_ct_DUMPBIN"; then ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test. else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ac_cv_prog_ac_ct_DUMPBIN="$ac_prog" $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done IFS=$as_save_IFS fi fi ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN if test -n "$ac_ct_DUMPBIN"; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5 $as_echo "$ac_ct_DUMPBIN" >&6; } else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } fi test -n "$ac_ct_DUMPBIN" && break done if test "x$ac_ct_DUMPBIN" = x; then DUMPBIN=":" else case $cross_compiling:$ac_tool_warned in yes:) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} ac_tool_warned=yes ;; esac DUMPBIN=$ac_ct_DUMPBIN fi fi case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in *COFF*) DUMPBIN="$DUMPBIN -symbols" ;; *) DUMPBIN=: ;; esac fi if test "$DUMPBIN" != ":"; then NM="$DUMPBIN" fi fi test -z "$NM" && NM=nm { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5 $as_echo_n "checking the name lister ($NM) interface... " >&6; } if ${lt_cv_nm_interface+:} false; then : $as_echo_n "(cached) " >&6 else lt_cv_nm_interface="BSD nm" echo "int some_variable = 0;" > conftest.$ac_ext (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5) (eval "$ac_compile" 2>conftest.err) cat conftest.err >&5 (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5) (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out) cat conftest.err >&5 (eval echo "\"\$as_me:$LINENO: output\"" >&5) cat conftest.out >&5 if $GREP 'External.*some_variable' conftest.out > /dev/null; then lt_cv_nm_interface="MS dumpbin" fi rm -f conftest* fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5 $as_echo "$lt_cv_nm_interface" >&6; } { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5 $as_echo_n "checking whether ln -s works... " >&6; } LN_S=$as_ln_s if test "$LN_S" = "ln -s"; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 $as_echo "yes" >&6; } else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5 $as_echo "no, using $LN_S" >&6; } fi # find the maximum length of command line arguments { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5 $as_echo_n "checking the maximum length of command line arguments... " >&6; } if ${lt_cv_sys_max_cmd_len+:} false; then : $as_echo_n "(cached) " >&6 else i=0 teststring="ABCD" case $build_os in msdosdjgpp*) # On DJGPP, this test can blow up pretty badly due to problems in libc # (any single argument exceeding 2000 bytes causes a buffer overrun # during glob expansion). Even if it were fixed, the result of this # check would be larger than it should be. lt_cv_sys_max_cmd_len=12288; # 12K is about right ;; gnu*) # Under GNU Hurd, this test is not required because there is # no limit to the length of command line arguments. # Libtool will interpret -1 as no limit whatsoever lt_cv_sys_max_cmd_len=-1; ;; cygwin* | mingw* | cegcc*) # On Win9x/ME, this test blows up -- it succeeds, but takes # about 5 minutes as the teststring grows exponentially. # Worse, since 9x/ME are not pre-emptively multitasking, # you end up with a "frozen" computer, even though with patience # the test eventually succeeds (with a max line length of 256k). # Instead, let's just punt: use the minimum linelength reported by # all of the supported platforms: 8192 (on NT/2K/XP). lt_cv_sys_max_cmd_len=8192; ;; mint*) # On MiNT this can take a long time and run out of memory. lt_cv_sys_max_cmd_len=8192; ;; amigaos*) # On AmigaOS with pdksh, this test takes hours, literally. # So we just punt and use a minimum line length of 8192. lt_cv_sys_max_cmd_len=8192; ;; netbsd* | freebsd* | openbsd* | darwin* | dragonfly*) # This has been around since 386BSD, at least. Likely further. if test -x /sbin/sysctl; then lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax` elif test -x /usr/sbin/sysctl; then lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax` else lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs fi # And add a safety zone lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4` lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3` ;; interix*) # We know the value 262144 and hardcode it with a safety zone (like BSD) lt_cv_sys_max_cmd_len=196608 ;; os2*) # The test takes a long time on OS/2. lt_cv_sys_max_cmd_len=8192 ;; osf*) # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not # nice to cause kernel panics so lets avoid the loop below. # First set a reasonable default. lt_cv_sys_max_cmd_len=16384 # if test -x /sbin/sysconfig; then case `/sbin/sysconfig -q proc exec_disable_arg_limit` in *1*) lt_cv_sys_max_cmd_len=-1 ;; esac fi ;; sco3.2v5*) lt_cv_sys_max_cmd_len=102400 ;; sysv5* | sco5v6* | sysv4.2uw2*) kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null` if test -n "$kargmax"; then lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[ ]//'` else lt_cv_sys_max_cmd_len=32768 fi ;; *) lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null` if test -n "$lt_cv_sys_max_cmd_len"; then lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4` lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3` else # Make teststring a little bigger before we do anything with it. # a 1K string should be a reasonable start. for i in 1 2 3 4 5 6 7 8 ; do teststring=$teststring$teststring done SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}} # If test is not a shell built-in, we'll probably end up computing a # maximum length that is only half of the actual maximum length, but # we can't tell. while { test "X"`env echo "$teststring$teststring" 2>/dev/null` \ = "X$teststring$teststring"; } >/dev/null 2>&1 && test $i != 17 # 1/2 MB should be enough do i=`expr $i + 1` teststring=$teststring$teststring done # Only check the string length outside the loop. lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1` teststring= # Add a significant safety factor because C++ compilers can tack on # massive amounts of additional arguments before passing them to the # linker. It appears as though 1/2 is a usable value. lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2` fi ;; esac fi if test -n $lt_cv_sys_max_cmd_len ; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5 $as_echo "$lt_cv_sys_max_cmd_len" >&6; } else { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5 $as_echo "none" >&6; } fi max_cmd_len=$lt_cv_sys_max_cmd_len : ${CP="cp -f"} : ${MV="mv -f"} : ${RM="rm -f"} { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5 $as_echo_n "checking whether the shell understands some XSI constructs... " >&6; } # Try some XSI features xsi_shell=no ( _lt_dummy="a/b/c" test "${_lt_dummy##*/},${_lt_dummy%/*},${_lt_dummy#??}"${_lt_dummy%"$_lt_dummy"}, \ = c,a/b,b/c, \ && eval 'test $(( 1 + 1 )) -eq 2 \ && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \ && xsi_shell=yes { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5 $as_echo "$xsi_shell" >&6; } { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5 $as_echo_n "checking whether the shell understands \"+=\"... " >&6; } lt_shell_append=no ( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \ >/dev/null 2>&1 \ && lt_shell_append=yes { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5 $as_echo "$lt_shell_append" >&6; } if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then lt_unset=unset else lt_unset=false fi # test EBCDIC or ASCII case `echo X|tr X '\101'` in A) # ASCII based system # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr lt_SP2NL='tr \040 \012' lt_NL2SP='tr \015\012 \040\040' ;; *) # EBCDIC based system lt_SP2NL='tr \100 \n' lt_NL2SP='tr \r\n \100\100' ;; esac { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to $host format" >&5 $as_echo_n "checking how to convert $build file names to $host format... " >&6; } if ${lt_cv_to_host_file_cmd+:} false; then : $as_echo_n "(cached) " >&6 else case $host in *-*-mingw* ) case $build in *-*-mingw* ) # actually msys lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32 ;; *-*-cygwin* ) lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32 ;; * ) # otherwise, assume *nix lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32 ;; esac ;; *-*-cygwin* ) case $build in *-*-mingw* ) # actually msys lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin ;; *-*-cygwin* ) lt_cv_to_host_file_cmd=func_convert_file_noop ;; * ) # otherwise, assume *nix lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin ;; esac ;; * ) # unhandled hosts (and "normal" native builds) lt_cv_to_host_file_cmd=func_convert_file_noop ;; esac fi to_host_file_cmd=$lt_cv_to_host_file_cmd { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_host_file_cmd" >&5 $as_echo "$lt_cv_to_host_file_cmd" >&6; } { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to toolchain format" >&5 $as_echo_n "checking how to convert $build file names to toolchain format... " >&6; } if ${lt_cv_to_tool_file_cmd+:} false; then : $as_echo_n "(cached) " >&6 else #assume ordinary cross tools, or native build. lt_cv_to_tool_file_cmd=func_convert_file_noop case $host in *-*-mingw* ) case $build in *-*-mingw* ) # actually msys lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32 ;; esac ;; esac fi to_tool_file_cmd=$lt_cv_to_tool_file_cmd { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_tool_file_cmd" >&5 $as_echo "$lt_cv_to_tool_file_cmd" >&6; } { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5 $as_echo_n "checking for $LD option to reload object files... " >&6; } if ${lt_cv_ld_reload_flag+:} false; then : $as_echo_n "(cached) " >&6 else lt_cv_ld_reload_flag='-r' fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5 $as_echo "$lt_cv_ld_reload_flag" >&6; } reload_flag=$lt_cv_ld_reload_flag case $reload_flag in "" | " "*) ;; *) reload_flag=" $reload_flag" ;; esac reload_cmds='$LD$reload_flag -o $output$reload_objs' case $host_os in cygwin* | mingw* | pw32* | cegcc*) if test "$GCC" != yes; then reload_cmds=false fi ;; darwin*) if test "$GCC" = yes; then reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs' else reload_cmds='$LD$reload_flag -o $output$reload_objs' fi ;; esac if test -n "$ac_tool_prefix"; then # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args. set dummy ${ac_tool_prefix}objdump; ac_word=$2 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } if ${ac_cv_prog_OBJDUMP+:} false; then : $as_echo_n "(cached) " >&6 else if test -n "$OBJDUMP"; then ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test. else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump" $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done IFS=$as_save_IFS fi fi OBJDUMP=$ac_cv_prog_OBJDUMP if test -n "$OBJDUMP"; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5 $as_echo "$OBJDUMP" >&6; } else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } fi fi if test -z "$ac_cv_prog_OBJDUMP"; then ac_ct_OBJDUMP=$OBJDUMP # Extract the first word of "objdump", so it can be a program name with args. set dummy objdump; ac_word=$2 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then : $as_echo_n "(cached) " >&6 else if test -n "$ac_ct_OBJDUMP"; then ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test. else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ac_cv_prog_ac_ct_OBJDUMP="objdump" $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done IFS=$as_save_IFS fi fi ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP if test -n "$ac_ct_OBJDUMP"; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5 $as_echo "$ac_ct_OBJDUMP" >&6; } else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } fi if test "x$ac_ct_OBJDUMP" = x; then OBJDUMP="false" else case $cross_compiling:$ac_tool_warned in yes:) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} ac_tool_warned=yes ;; esac OBJDUMP=$ac_ct_OBJDUMP fi else OBJDUMP="$ac_cv_prog_OBJDUMP" fi test -z "$OBJDUMP" && OBJDUMP=objdump { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5 $as_echo_n "checking how to recognize dependent libraries... " >&6; } if ${lt_cv_deplibs_check_method+:} false; then : $as_echo_n "(cached) " >&6 else lt_cv_file_magic_cmd='$MAGIC_CMD' lt_cv_file_magic_test_file= lt_cv_deplibs_check_method='unknown' # Need to set the preceding variable on all platforms that support # interlibrary dependencies. # 'none' -- dependencies not supported. # `unknown' -- same as none, but documents that we really don't know. # 'pass_all' -- all dependencies passed with no checks. # 'test_compile' -- check by making test program. # 'file_magic [[regex]]' -- check by looking for files in library path # which responds to the $file_magic_cmd with a given extended regex. # If you have `file' or equivalent on your system and you're not sure # whether `pass_all' will *always* work, you probably want this one. case $host_os in aix[4-9]*) lt_cv_deplibs_check_method=pass_all ;; beos*) lt_cv_deplibs_check_method=pass_all ;; bsdi[45]*) lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)' lt_cv_file_magic_cmd='/usr/bin/file -L' lt_cv_file_magic_test_file=/shlib/libc.so ;; cygwin*) # func_win32_libid is a shell function defined in ltmain.sh lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL' lt_cv_file_magic_cmd='func_win32_libid' ;; mingw* | pw32*) # Base MSYS/MinGW do not provide the 'file' command needed by # func_win32_libid shell function, so use a weaker test based on 'objdump', # unless we find 'file', for example because we are cross-compiling. # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin. if ( test "$lt_cv_nm_interface" = "BSD nm" && file / ) >/dev/null 2>&1; then lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL' lt_cv_file_magic_cmd='func_win32_libid' else # Keep this pattern in sync with the one in func_win32_libid. lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)' lt_cv_file_magic_cmd='$OBJDUMP -f' fi ;; cegcc*) # use the weaker test based on 'objdump'. See mingw*. lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?' lt_cv_file_magic_cmd='$OBJDUMP -f' ;; darwin* | rhapsody*) lt_cv_deplibs_check_method=pass_all ;; freebsd* | dragonfly*) if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then case $host_cpu in i*86 ) # Not sure whether the presence of OpenBSD here was a mistake. # Let's accept both of them until this is cleared up. lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library' lt_cv_file_magic_cmd=/usr/bin/file lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*` ;; esac else lt_cv_deplibs_check_method=pass_all fi ;; gnu*) lt_cv_deplibs_check_method=pass_all ;; haiku*) lt_cv_deplibs_check_method=pass_all ;; hpux10.20* | hpux11*) lt_cv_file_magic_cmd=/usr/bin/file case $host_cpu in ia64*) lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64' lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so ;; hppa*64*) lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF[ -][0-9][0-9])(-bit)?( [LM]SB)? shared object( file)?[, -]* PA-RISC [0-9]\.[0-9]' lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl ;; *) lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library' lt_cv_file_magic_test_file=/usr/lib/libc.sl ;; esac ;; interix[3-9]*) # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$' ;; irix5* | irix6* | nonstopux*) case $LD in *-32|*"-32 ") libmagic=32-bit;; *-n32|*"-n32 ") libmagic=N32;; *-64|*"-64 ") libmagic=64-bit;; *) libmagic=never-match;; esac lt_cv_deplibs_check_method=pass_all ;; # This must be glibc/ELF. linux* | k*bsd*-gnu | kopensolaris*-gnu) lt_cv_deplibs_check_method=pass_all ;; netbsd*) if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$' else lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$' fi ;; newos6*) lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)' lt_cv_file_magic_cmd=/usr/bin/file lt_cv_file_magic_test_file=/usr/lib/libnls.so ;; *nto* | *qnx*) lt_cv_deplibs_check_method=pass_all ;; openbsd*) if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$' else lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$' fi ;; osf3* | osf4* | osf5*) lt_cv_deplibs_check_method=pass_all ;; rdos*) lt_cv_deplibs_check_method=pass_all ;; solaris*) lt_cv_deplibs_check_method=pass_all ;; sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*) lt_cv_deplibs_check_method=pass_all ;; sysv4 | sysv4.3*) case $host_vendor in motorola) lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib) M[0-9][0-9]* Version [0-9]' lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*` ;; ncr) lt_cv_deplibs_check_method=pass_all ;; sequent) lt_cv_file_magic_cmd='/bin/file' lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )' ;; sni) lt_cv_file_magic_cmd='/bin/file' lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib" lt_cv_file_magic_test_file=/lib/libc.so ;; siemens) lt_cv_deplibs_check_method=pass_all ;; pc) lt_cv_deplibs_check_method=pass_all ;; esac ;; tpf*) lt_cv_deplibs_check_method=pass_all ;; esac fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5 $as_echo "$lt_cv_deplibs_check_method" >&6; } file_magic_glob= want_nocaseglob=no if test "$build" = "$host"; then case $host_os in mingw* | pw32*) if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then want_nocaseglob=yes else file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s/\(..\)/s\/[\1]\/[\1]\/g;/g"` fi ;; esac fi file_magic_cmd=$lt_cv_file_magic_cmd deplibs_check_method=$lt_cv_deplibs_check_method test -z "$deplibs_check_method" && deplibs_check_method=unknown if test -n "$ac_tool_prefix"; then # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args. set dummy ${ac_tool_prefix}dlltool; ac_word=$2 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } if ${ac_cv_prog_DLLTOOL+:} false; then : $as_echo_n "(cached) " >&6 else if test -n "$DLLTOOL"; then ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test. else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool" $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done IFS=$as_save_IFS fi fi DLLTOOL=$ac_cv_prog_DLLTOOL if test -n "$DLLTOOL"; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5 $as_echo "$DLLTOOL" >&6; } else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } fi fi if test -z "$ac_cv_prog_DLLTOOL"; then ac_ct_DLLTOOL=$DLLTOOL # Extract the first word of "dlltool", so it can be a program name with args. set dummy dlltool; ac_word=$2 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then : $as_echo_n "(cached) " >&6 else if test -n "$ac_ct_DLLTOOL"; then ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test. else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ac_cv_prog_ac_ct_DLLTOOL="dlltool" $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done IFS=$as_save_IFS fi fi ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL if test -n "$ac_ct_DLLTOOL"; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5 $as_echo "$ac_ct_DLLTOOL" >&6; } else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } fi if test "x$ac_ct_DLLTOOL" = x; then DLLTOOL="false" else case $cross_compiling:$ac_tool_warned in yes:) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} ac_tool_warned=yes ;; esac DLLTOOL=$ac_ct_DLLTOOL fi else DLLTOOL="$ac_cv_prog_DLLTOOL" fi test -z "$DLLTOOL" && DLLTOOL=dlltool { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries" >&5 $as_echo_n "checking how to associate runtime and link libraries... " >&6; } if ${lt_cv_sharedlib_from_linklib_cmd+:} false; then : $as_echo_n "(cached) " >&6 else lt_cv_sharedlib_from_linklib_cmd='unknown' case $host_os in cygwin* | mingw* | pw32* | cegcc*) # two different shell functions defined in ltmain.sh # decide which to use based on capabilities of $DLLTOOL case `$DLLTOOL --help 2>&1` in *--identify-strict*) lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib ;; *) lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback ;; esac ;; *) # fallback: assume linklib IS sharedlib lt_cv_sharedlib_from_linklib_cmd="$ECHO" ;; esac fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sharedlib_from_linklib_cmd" >&5 $as_echo "$lt_cv_sharedlib_from_linklib_cmd" >&6; } sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO if test -n "$ac_tool_prefix"; then for ac_prog in ar do # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. set dummy $ac_tool_prefix$ac_prog; ac_word=$2 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } if ${ac_cv_prog_AR+:} false; then : $as_echo_n "(cached) " >&6 else if test -n "$AR"; then ac_cv_prog_AR="$AR" # Let the user override the test. else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ac_cv_prog_AR="$ac_tool_prefix$ac_prog" $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done IFS=$as_save_IFS fi fi AR=$ac_cv_prog_AR if test -n "$AR"; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5 $as_echo "$AR" >&6; } else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } fi test -n "$AR" && break done fi if test -z "$AR"; then ac_ct_AR=$AR for ac_prog in ar do # Extract the first word of "$ac_prog", so it can be a program name with args. set dummy $ac_prog; ac_word=$2 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } if ${ac_cv_prog_ac_ct_AR+:} false; then : $as_echo_n "(cached) " >&6 else if test -n "$ac_ct_AR"; then ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test. else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ac_cv_prog_ac_ct_AR="$ac_prog" $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done IFS=$as_save_IFS fi fi ac_ct_AR=$ac_cv_prog_ac_ct_AR if test -n "$ac_ct_AR"; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5 $as_echo "$ac_ct_AR" >&6; } else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } fi test -n "$ac_ct_AR" && break done if test "x$ac_ct_AR" = x; then AR="false" else case $cross_compiling:$ac_tool_warned in yes:) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} ac_tool_warned=yes ;; esac AR=$ac_ct_AR fi fi : ${AR=ar} : ${AR_FLAGS=cru} { $as_echo "$as_me:${as_lineno-$LINENO}: checking for archiver @FILE support" >&5 $as_echo_n "checking for archiver @FILE support... " >&6; } if ${lt_cv_ar_at_file+:} false; then : $as_echo_n "(cached) " >&6 else lt_cv_ar_at_file=no cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ int main () { ; return 0; } _ACEOF if ac_fn_c_try_compile "$LINENO"; then : echo conftest.$ac_objext > conftest.lst lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&5' { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5 (eval $lt_ar_try) 2>&5 ac_status=$? $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; } if test "$ac_status" -eq 0; then # Ensure the archiver fails upon bogus file names. rm -f conftest.$ac_objext libconftest.a { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5 (eval $lt_ar_try) 2>&5 ac_status=$? $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; } if test "$ac_status" -ne 0; then lt_cv_ar_at_file=@ fi fi rm -f conftest.* libconftest.a fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ar_at_file" >&5 $as_echo "$lt_cv_ar_at_file" >&6; } if test "x$lt_cv_ar_at_file" = xno; then archiver_list_spec= else archiver_list_spec=$lt_cv_ar_at_file fi if test -n "$ac_tool_prefix"; then # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args. set dummy ${ac_tool_prefix}strip; ac_word=$2 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } if ${ac_cv_prog_STRIP+:} false; then : $as_echo_n "(cached) " >&6 else if test -n "$STRIP"; then ac_cv_prog_STRIP="$STRIP" # Let the user override the test. else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ac_cv_prog_STRIP="${ac_tool_prefix}strip" $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done IFS=$as_save_IFS fi fi STRIP=$ac_cv_prog_STRIP if test -n "$STRIP"; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5 $as_echo "$STRIP" >&6; } else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } fi fi if test -z "$ac_cv_prog_STRIP"; then ac_ct_STRIP=$STRIP # Extract the first word of "strip", so it can be a program name with args. set dummy strip; ac_word=$2 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } if ${ac_cv_prog_ac_ct_STRIP+:} false; then : $as_echo_n "(cached) " >&6 else if test -n "$ac_ct_STRIP"; then ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test. else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ac_cv_prog_ac_ct_STRIP="strip" $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done IFS=$as_save_IFS fi fi ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP if test -n "$ac_ct_STRIP"; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5 $as_echo "$ac_ct_STRIP" >&6; } else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } fi if test "x$ac_ct_STRIP" = x; then STRIP=":" else case $cross_compiling:$ac_tool_warned in yes:) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} ac_tool_warned=yes ;; esac STRIP=$ac_ct_STRIP fi else STRIP="$ac_cv_prog_STRIP" fi test -z "$STRIP" && STRIP=: if test -n "$ac_tool_prefix"; then # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args. set dummy ${ac_tool_prefix}ranlib; ac_word=$2 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } if ${ac_cv_prog_RANLIB+:} false; then : $as_echo_n "(cached) " >&6 else if test -n "$RANLIB"; then ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test. else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib" $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done IFS=$as_save_IFS fi fi RANLIB=$ac_cv_prog_RANLIB if test -n "$RANLIB"; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5 $as_echo "$RANLIB" >&6; } else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } fi fi if test -z "$ac_cv_prog_RANLIB"; then ac_ct_RANLIB=$RANLIB # Extract the first word of "ranlib", so it can be a program name with args. set dummy ranlib; ac_word=$2 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } if ${ac_cv_prog_ac_ct_RANLIB+:} false; then : $as_echo_n "(cached) " >&6 else if test -n "$ac_ct_RANLIB"; then ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test. else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ac_cv_prog_ac_ct_RANLIB="ranlib" $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done IFS=$as_save_IFS fi fi ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB if test -n "$ac_ct_RANLIB"; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5 $as_echo "$ac_ct_RANLIB" >&6; } else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } fi if test "x$ac_ct_RANLIB" = x; then RANLIB=":" else case $cross_compiling:$ac_tool_warned in yes:) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} ac_tool_warned=yes ;; esac RANLIB=$ac_ct_RANLIB fi else RANLIB="$ac_cv_prog_RANLIB" fi test -z "$RANLIB" && RANLIB=: # Determine commands to create old-style static archives. old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs' old_postinstall_cmds='chmod 644 $oldlib' old_postuninstall_cmds= if test -n "$RANLIB"; then case $host_os in openbsd*) old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$tool_oldlib" ;; *) old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$tool_oldlib" ;; esac old_archive_cmds="$old_archive_cmds~\$RANLIB \$tool_oldlib" fi case $host_os in darwin*) lock_old_archive_extraction=yes ;; *) lock_old_archive_extraction=no ;; esac # If no C compiler was specified, use CC. LTCC=${LTCC-"$CC"} # If no C compiler flags were specified, use CFLAGS. LTCFLAGS=${LTCFLAGS-"$CFLAGS"} # Allow CC to be a program name with arguments. compiler=$CC # Check for command to grab the raw symbol name followed by C symbol from nm. { $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5 $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; } if ${lt_cv_sys_global_symbol_pipe+:} false; then : $as_echo_n "(cached) " >&6 else # These are sane defaults that work on at least a few old systems. # [They come from Ultrix. What could be older than Ultrix?!! ;)] # Character class describing NM global symbol codes. symcode='[BCDEGRST]' # Regexp to match symbols that can be accessed directly from C. sympat='\([_A-Za-z][_A-Za-z0-9]*\)' # Define system-specific variables. case $host_os in aix*) symcode='[BCDT]' ;; cygwin* | mingw* | pw32* | cegcc*) symcode='[ABCDGISTW]' ;; hpux*) if test "$host_cpu" = ia64; then symcode='[ABCDEGRST]' fi ;; irix* | nonstopux*) symcode='[BCDEGRST]' ;; osf*) symcode='[BCDEGQRST]' ;; solaris*) symcode='[BDRT]' ;; sco3.2v5*) symcode='[DT]' ;; sysv4.2uw2*) symcode='[DT]' ;; sysv5* | sco5v6* | unixware* | OpenUNIX*) symcode='[ABDT]' ;; sysv4) symcode='[DFNSTU]' ;; esac # If we're using GNU nm, then use its standard symbol codes. case `$NM -V 2>&1` in *GNU* | *'with BFD'*) symcode='[ABCDGIRSTW]' ;; esac # Transform an extracted symbol line into a proper C declaration. # Some systems (esp. on ia64) link data and code symbols differently, # so use this general approach. lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'" # Transform an extracted symbol line into symbol name and symbol address lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\)[ ]*$/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'" lt_cv_sys_global_symbol_to_c_name_address_lib_prefix="sed -n -e 's/^: \([^ ]*\)[ ]*$/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \(lib[^ ]*\)$/ {\"\2\", (void *) \&\2},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"lib\2\", (void *) \&\2},/p'" # Handle CRLF in mingw tool chain opt_cr= case $build_os in mingw*) opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp ;; esac # Try without a prefix underscore, then with it. for ac_symprfx in "" "_"; do # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol. symxfrm="\\1 $ac_symprfx\\2 \\2" # Write the raw and C identifiers. if test "$lt_cv_nm_interface" = "MS dumpbin"; then # Fake it for dumpbin and say T for any non-static function # and D for any global variable. # Also find C++ and __fastcall symbols from MSVC++, # which start with @ or ?. lt_cv_sys_global_symbol_pipe="$AWK '"\ " {last_section=section; section=\$ 3};"\ " /^COFF SYMBOL TABLE/{for(i in hide) delete hide[i]};"\ " /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\ " \$ 0!~/External *\|/{next};"\ " / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\ " {if(hide[section]) next};"\ " {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\ " {split(\$ 0, a, /\||\r/); split(a[2], s)};"\ " s[1]~/^[@?]/{print s[1], s[1]; next};"\ " s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\ " ' prfx=^$ac_symprfx" else lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'" fi lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe | sed '/ __gnu_lto/d'" # Check to see that the pipe works correctly. pipe_works=no rm -f conftest* cat > conftest.$ac_ext <<_LT_EOF #ifdef __cplusplus extern "C" { #endif char nm_test_var; void nm_test_func(void); void nm_test_func(void){} #ifdef __cplusplus } #endif int main(){nm_test_var='a';nm_test_func();return(0);} _LT_EOF if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 (eval $ac_compile) 2>&5 ac_status=$? $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then # Now try to grab the symbols. nlist=conftest.nm if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5 (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5 ac_status=$? $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; } && test -s "$nlist"; then # Try sorting and uniquifying the output. if sort "$nlist" | uniq > "$nlist"T; then mv -f "$nlist"T "$nlist" else rm -f "$nlist"T fi # Make sure that we snagged all the symbols we need. if $GREP ' nm_test_var$' "$nlist" >/dev/null; then if $GREP ' nm_test_func$' "$nlist" >/dev/null; then cat <<_LT_EOF > conftest.$ac_ext /* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests. */ #if defined(_WIN32) || defined(__CYGWIN__) || defined(_WIN32_WCE) /* DATA imports from DLLs on WIN32 con't be const, because runtime relocations are performed -- see ld's documentation on pseudo-relocs. */ # define LT_DLSYM_CONST #elif defined(__osf__) /* This system does not cope well with relocations in const data. */ # define LT_DLSYM_CONST #else # define LT_DLSYM_CONST const #endif #ifdef __cplusplus extern "C" { #endif _LT_EOF # Now generate the symbol file. eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext' cat <<_LT_EOF >> conftest.$ac_ext /* The mapping between symbol names and symbols. */ LT_DLSYM_CONST struct { const char *name; void *address; } lt__PROGRAM__LTX_preloaded_symbols[] = { { "@PROGRAM@", (void *) 0 }, _LT_EOF $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext cat <<\_LT_EOF >> conftest.$ac_ext {0, (void *) 0} }; /* This works around a problem in FreeBSD linker */ #ifdef FREEBSD_WORKAROUND static const void *lt_preloaded_setup() { return lt__PROGRAM__LTX_preloaded_symbols; } #endif #ifdef __cplusplus } #endif _LT_EOF # Now try linking the two files. mv conftest.$ac_objext conftstm.$ac_objext lt_globsym_save_LIBS=$LIBS lt_globsym_save_CFLAGS=$CFLAGS LIBS="conftstm.$ac_objext" CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag" if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5 (eval $ac_link) 2>&5 ac_status=$? $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; } && test -s conftest${ac_exeext}; then pipe_works=yes fi LIBS=$lt_globsym_save_LIBS CFLAGS=$lt_globsym_save_CFLAGS else echo "cannot find nm_test_func in $nlist" >&5 fi else echo "cannot find nm_test_var in $nlist" >&5 fi else echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5 fi else echo "$progname: failed program was:" >&5 cat conftest.$ac_ext >&5 fi rm -rf conftest* conftst* # Do not use the global_symbol_pipe unless it works. if test "$pipe_works" = yes; then break else lt_cv_sys_global_symbol_pipe= fi done fi if test -z "$lt_cv_sys_global_symbol_pipe"; then lt_cv_sys_global_symbol_to_cdecl= fi if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5 $as_echo "failed" >&6; } else { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5 $as_echo "ok" >&6; } fi # Response file support. if test "$lt_cv_nm_interface" = "MS dumpbin"; then nm_file_list_spec='@' elif $NM --help 2>/dev/null | grep '[@]FILE' >/dev/null; then nm_file_list_spec='@' fi { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5 $as_echo_n "checking for sysroot... " >&6; } # Check whether --with-sysroot was given. if test "${with_sysroot+set}" = set; then : withval=$with_sysroot; else with_sysroot=no fi lt_sysroot= case ${with_sysroot} in #( yes) if test "$GCC" = yes; then lt_sysroot=`$CC --print-sysroot 2>/dev/null` fi ;; #( /*) lt_sysroot=`echo "$with_sysroot" | sed -e "$sed_quote_subst"` ;; #( no|'') ;; #( *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${with_sysroot}" >&5 $as_echo "${with_sysroot}" >&6; } as_fn_error $? "The sysroot must be an absolute path." "$LINENO" 5 ;; esac { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${lt_sysroot:-no}" >&5 $as_echo "${lt_sysroot:-no}" >&6; } # Check whether --enable-libtool-lock was given. if test "${enable_libtool_lock+set}" = set; then : enableval=$enable_libtool_lock; fi test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes # Some flags need to be propagated to the compiler or linker for good # libtool support. case $host in ia64-*-hpux*) # Find out which ABI we are using. echo 'int i;' > conftest.$ac_ext if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 (eval $ac_compile) 2>&5 ac_status=$? $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then case `/usr/bin/file conftest.$ac_objext` in *ELF-32*) HPUX_IA64_MODE="32" ;; *ELF-64*) HPUX_IA64_MODE="64" ;; esac fi rm -rf conftest* ;; *-*-irix6*) # Find out which ABI we are using. echo '#line '$LINENO' "configure"' > conftest.$ac_ext if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 (eval $ac_compile) 2>&5 ac_status=$? $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then if test "$lt_cv_prog_gnu_ld" = yes; then case `/usr/bin/file conftest.$ac_objext` in *32-bit*) LD="${LD-ld} -melf32bsmip" ;; *N32*) LD="${LD-ld} -melf32bmipn32" ;; *64-bit*) LD="${LD-ld} -melf64bmip" ;; esac else case `/usr/bin/file conftest.$ac_objext` in *32-bit*) LD="${LD-ld} -32" ;; *N32*) LD="${LD-ld} -n32" ;; *64-bit*) LD="${LD-ld} -64" ;; esac fi fi rm -rf conftest* ;; x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \ s390*-*linux*|s390*-*tpf*|sparc*-*linux*) # Find out which ABI we are using. echo 'int i;' > conftest.$ac_ext if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 (eval $ac_compile) 2>&5 ac_status=$? $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then case `/usr/bin/file conftest.o` in *32-bit*) case $host in x86_64-*kfreebsd*-gnu) LD="${LD-ld} -m elf_i386_fbsd" ;; x86_64-*linux*) LD="${LD-ld} -m elf_i386" ;; ppc64-*linux*|powerpc64-*linux*) LD="${LD-ld} -m elf32ppclinux" ;; s390x-*linux*) LD="${LD-ld} -m elf_s390" ;; sparc64-*linux*) LD="${LD-ld} -m elf32_sparc" ;; esac ;; *64-bit*) case $host in x86_64-*kfreebsd*-gnu) LD="${LD-ld} -m elf_x86_64_fbsd" ;; x86_64-*linux*) LD="${LD-ld} -m elf_x86_64" ;; ppc*-*linux*|powerpc*-*linux*) LD="${LD-ld} -m elf64ppc" ;; s390*-*linux*|s390*-*tpf*) LD="${LD-ld} -m elf64_s390" ;; sparc*-*linux*) LD="${LD-ld} -m elf64_sparc" ;; esac ;; esac fi rm -rf conftest* ;; *-*-sco3.2v5*) # On SCO OpenServer 5, we need -belf to get full-featured binaries. SAVE_CFLAGS="$CFLAGS" CFLAGS="$CFLAGS -belf" { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5 $as_echo_n "checking whether the C compiler needs -belf... " >&6; } if ${lt_cv_cc_needs_belf+:} false; then : $as_echo_n "(cached) " >&6 else ac_ext=c ac_cpp='$CPP $CPPFLAGS' ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' ac_compiler_gnu=$ac_cv_c_compiler_gnu cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ int main () { ; return 0; } _ACEOF if ac_fn_c_try_link "$LINENO"; then : lt_cv_cc_needs_belf=yes else lt_cv_cc_needs_belf=no fi rm -f core conftest.err conftest.$ac_objext \ conftest$ac_exeext conftest.$ac_ext ac_ext=c ac_cpp='$CPP $CPPFLAGS' ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' ac_compiler_gnu=$ac_cv_c_compiler_gnu fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5 $as_echo "$lt_cv_cc_needs_belf" >&6; } if test x"$lt_cv_cc_needs_belf" != x"yes"; then # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf CFLAGS="$SAVE_CFLAGS" fi ;; *-*solaris*) # Find out which ABI we are using. echo 'int i;' > conftest.$ac_ext if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 (eval $ac_compile) 2>&5 ac_status=$? $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then case `/usr/bin/file conftest.o` in *64-bit*) case $lt_cv_prog_gnu_ld in yes*) case $host in i?86-*-solaris*) LD="${LD-ld} -m elf_x86_64" ;; sparc*-*-solaris*) LD="${LD-ld} -m elf64_sparc" ;; esac # GNU ld 2.21 introduced _sol2 emulations. Use them if available. if ${LD-ld} -V | grep _sol2 >/dev/null 2>&1; then LD="${LD-ld}_sol2" fi ;; *) if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then LD="${LD-ld} -64" fi ;; esac ;; esac fi rm -rf conftest* ;; esac need_locks="$enable_libtool_lock" if test -n "$ac_tool_prefix"; then # Extract the first word of "${ac_tool_prefix}mt", so it can be a program name with args. set dummy ${ac_tool_prefix}mt; ac_word=$2 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } if ${ac_cv_prog_MANIFEST_TOOL+:} false; then : $as_echo_n "(cached) " >&6 else if test -n "$MANIFEST_TOOL"; then ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test. else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt" $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done IFS=$as_save_IFS fi fi MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL if test -n "$MANIFEST_TOOL"; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MANIFEST_TOOL" >&5 $as_echo "$MANIFEST_TOOL" >&6; } else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } fi fi if test -z "$ac_cv_prog_MANIFEST_TOOL"; then ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL # Extract the first word of "mt", so it can be a program name with args. set dummy mt; ac_word=$2 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } if ${ac_cv_prog_ac_ct_MANIFEST_TOOL+:} false; then : $as_echo_n "(cached) " >&6 else if test -n "$ac_ct_MANIFEST_TOOL"; then ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user override the test. else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ac_cv_prog_ac_ct_MANIFEST_TOOL="mt" $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done IFS=$as_save_IFS fi fi ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL if test -n "$ac_ct_MANIFEST_TOOL"; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MANIFEST_TOOL" >&5 $as_echo "$ac_ct_MANIFEST_TOOL" >&6; } else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } fi if test "x$ac_ct_MANIFEST_TOOL" = x; then MANIFEST_TOOL=":" else case $cross_compiling:$ac_tool_warned in yes:) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} ac_tool_warned=yes ;; esac MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL fi else MANIFEST_TOOL="$ac_cv_prog_MANIFEST_TOOL" fi test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $MANIFEST_TOOL is a manifest tool" >&5 $as_echo_n "checking if $MANIFEST_TOOL is a manifest tool... " >&6; } if ${lt_cv_path_mainfest_tool+:} false; then : $as_echo_n "(cached) " >&6 else lt_cv_path_mainfest_tool=no echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5 $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out cat conftest.err >&5 if $GREP 'Manifest Tool' conftest.out > /dev/null; then lt_cv_path_mainfest_tool=yes fi rm -f conftest* fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_mainfest_tool" >&5 $as_echo "$lt_cv_path_mainfest_tool" >&6; } if test "x$lt_cv_path_mainfest_tool" != xyes; then MANIFEST_TOOL=: fi case $host_os in rhapsody* | darwin*) if test -n "$ac_tool_prefix"; then # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args. set dummy ${ac_tool_prefix}dsymutil; ac_word=$2 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } if ${ac_cv_prog_DSYMUTIL+:} false; then : $as_echo_n "(cached) " >&6 else if test -n "$DSYMUTIL"; then ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test. else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil" $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done IFS=$as_save_IFS fi fi DSYMUTIL=$ac_cv_prog_DSYMUTIL if test -n "$DSYMUTIL"; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5 $as_echo "$DSYMUTIL" >&6; } else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } fi fi if test -z "$ac_cv_prog_DSYMUTIL"; then ac_ct_DSYMUTIL=$DSYMUTIL # Extract the first word of "dsymutil", so it can be a program name with args. set dummy dsymutil; ac_word=$2 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then : $as_echo_n "(cached) " >&6 else if test -n "$ac_ct_DSYMUTIL"; then ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test. else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ac_cv_prog_ac_ct_DSYMUTIL="dsymutil" $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done IFS=$as_save_IFS fi fi ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL if test -n "$ac_ct_DSYMUTIL"; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5 $as_echo "$ac_ct_DSYMUTIL" >&6; } else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } fi if test "x$ac_ct_DSYMUTIL" = x; then DSYMUTIL=":" else case $cross_compiling:$ac_tool_warned in yes:) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} ac_tool_warned=yes ;; esac DSYMUTIL=$ac_ct_DSYMUTIL fi else DSYMUTIL="$ac_cv_prog_DSYMUTIL" fi if test -n "$ac_tool_prefix"; then # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args. set dummy ${ac_tool_prefix}nmedit; ac_word=$2 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } if ${ac_cv_prog_NMEDIT+:} false; then : $as_echo_n "(cached) " >&6 else if test -n "$NMEDIT"; then ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test. else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit" $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done IFS=$as_save_IFS fi fi NMEDIT=$ac_cv_prog_NMEDIT if test -n "$NMEDIT"; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5 $as_echo "$NMEDIT" >&6; } else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } fi fi if test -z "$ac_cv_prog_NMEDIT"; then ac_ct_NMEDIT=$NMEDIT # Extract the first word of "nmedit", so it can be a program name with args. set dummy nmedit; ac_word=$2 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then : $as_echo_n "(cached) " >&6 else if test -n "$ac_ct_NMEDIT"; then ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test. else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ac_cv_prog_ac_ct_NMEDIT="nmedit" $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done IFS=$as_save_IFS fi fi ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT if test -n "$ac_ct_NMEDIT"; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5 $as_echo "$ac_ct_NMEDIT" >&6; } else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } fi if test "x$ac_ct_NMEDIT" = x; then NMEDIT=":" else case $cross_compiling:$ac_tool_warned in yes:) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} ac_tool_warned=yes ;; esac NMEDIT=$ac_ct_NMEDIT fi else NMEDIT="$ac_cv_prog_NMEDIT" fi if test -n "$ac_tool_prefix"; then # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args. set dummy ${ac_tool_prefix}lipo; ac_word=$2 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } if ${ac_cv_prog_LIPO+:} false; then : $as_echo_n "(cached) " >&6 else if test -n "$LIPO"; then ac_cv_prog_LIPO="$LIPO" # Let the user override the test. else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ac_cv_prog_LIPO="${ac_tool_prefix}lipo" $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done IFS=$as_save_IFS fi fi LIPO=$ac_cv_prog_LIPO if test -n "$LIPO"; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5 $as_echo "$LIPO" >&6; } else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } fi fi if test -z "$ac_cv_prog_LIPO"; then ac_ct_LIPO=$LIPO # Extract the first word of "lipo", so it can be a program name with args. set dummy lipo; ac_word=$2 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } if ${ac_cv_prog_ac_ct_LIPO+:} false; then : $as_echo_n "(cached) " >&6 else if test -n "$ac_ct_LIPO"; then ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test. else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ac_cv_prog_ac_ct_LIPO="lipo" $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done IFS=$as_save_IFS fi fi ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO if test -n "$ac_ct_LIPO"; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5 $as_echo "$ac_ct_LIPO" >&6; } else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } fi if test "x$ac_ct_LIPO" = x; then LIPO=":" else case $cross_compiling:$ac_tool_warned in yes:) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} ac_tool_warned=yes ;; esac LIPO=$ac_ct_LIPO fi else LIPO="$ac_cv_prog_LIPO" fi if test -n "$ac_tool_prefix"; then # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args. set dummy ${ac_tool_prefix}otool; ac_word=$2 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } if ${ac_cv_prog_OTOOL+:} false; then : $as_echo_n "(cached) " >&6 else if test -n "$OTOOL"; then ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test. else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ac_cv_prog_OTOOL="${ac_tool_prefix}otool" $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done IFS=$as_save_IFS fi fi OTOOL=$ac_cv_prog_OTOOL if test -n "$OTOOL"; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5 $as_echo "$OTOOL" >&6; } else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } fi fi if test -z "$ac_cv_prog_OTOOL"; then ac_ct_OTOOL=$OTOOL # Extract the first word of "otool", so it can be a program name with args. set dummy otool; ac_word=$2 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } if ${ac_cv_prog_ac_ct_OTOOL+:} false; then : $as_echo_n "(cached) " >&6 else if test -n "$ac_ct_OTOOL"; then ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test. else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ac_cv_prog_ac_ct_OTOOL="otool" $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done IFS=$as_save_IFS fi fi ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL if test -n "$ac_ct_OTOOL"; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5 $as_echo "$ac_ct_OTOOL" >&6; } else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } fi if test "x$ac_ct_OTOOL" = x; then OTOOL=":" else case $cross_compiling:$ac_tool_warned in yes:) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} ac_tool_warned=yes ;; esac OTOOL=$ac_ct_OTOOL fi else OTOOL="$ac_cv_prog_OTOOL" fi if test -n "$ac_tool_prefix"; then # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args. set dummy ${ac_tool_prefix}otool64; ac_word=$2 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } if ${ac_cv_prog_OTOOL64+:} false; then : $as_echo_n "(cached) " >&6 else if test -n "$OTOOL64"; then ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test. else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64" $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done IFS=$as_save_IFS fi fi OTOOL64=$ac_cv_prog_OTOOL64 if test -n "$OTOOL64"; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5 $as_echo "$OTOOL64" >&6; } else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } fi fi if test -z "$ac_cv_prog_OTOOL64"; then ac_ct_OTOOL64=$OTOOL64 # Extract the first word of "otool64", so it can be a program name with args. set dummy otool64; ac_word=$2 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then : $as_echo_n "(cached) " >&6 else if test -n "$ac_ct_OTOOL64"; then ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test. else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ac_cv_prog_ac_ct_OTOOL64="otool64" $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done IFS=$as_save_IFS fi fi ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64 if test -n "$ac_ct_OTOOL64"; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5 $as_echo "$ac_ct_OTOOL64" >&6; } else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } fi if test "x$ac_ct_OTOOL64" = x; then OTOOL64=":" else case $cross_compiling:$ac_tool_warned in yes:) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} ac_tool_warned=yes ;; esac OTOOL64=$ac_ct_OTOOL64 fi else OTOOL64="$ac_cv_prog_OTOOL64" fi { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5 $as_echo_n "checking for -single_module linker flag... " >&6; } if ${lt_cv_apple_cc_single_mod+:} false; then : $as_echo_n "(cached) " >&6 else lt_cv_apple_cc_single_mod=no if test -z "${LT_MULTI_MODULE}"; then # By default we will add the -single_module flag. You can override # by either setting the environment variable LT_MULTI_MODULE # non-empty at configure time, or by adding -multi_module to the # link flags. rm -rf libconftest.dylib* echo "int foo(void){return 1;}" > conftest.c echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \ -dynamiclib -Wl,-single_module conftest.c" >&5 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \ -dynamiclib -Wl,-single_module conftest.c 2>conftest.err _lt_result=$? # If there is a non-empty error log, and "single_module" # appears in it, assume the flag caused a linker warning if test -s conftest.err && $GREP single_module conftest.err; then cat conftest.err >&5 # Otherwise, if the output was created with a 0 exit code from # the compiler, it worked. elif test -f libconftest.dylib && test $_lt_result -eq 0; then lt_cv_apple_cc_single_mod=yes else cat conftest.err >&5 fi rm -rf libconftest.dylib* rm -f conftest.* fi fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5 $as_echo "$lt_cv_apple_cc_single_mod" >&6; } { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5 $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; } if ${lt_cv_ld_exported_symbols_list+:} false; then : $as_echo_n "(cached) " >&6 else lt_cv_ld_exported_symbols_list=no save_LDFLAGS=$LDFLAGS echo "_main" > conftest.sym LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym" cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ int main () { ; return 0; } _ACEOF if ac_fn_c_try_link "$LINENO"; then : lt_cv_ld_exported_symbols_list=yes else lt_cv_ld_exported_symbols_list=no fi rm -f core conftest.err conftest.$ac_objext \ conftest$ac_exeext conftest.$ac_ext LDFLAGS="$save_LDFLAGS" fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; } { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5 $as_echo_n "checking for -force_load linker flag... " >&6; } if ${lt_cv_ld_force_load+:} false; then : $as_echo_n "(cached) " >&6 else lt_cv_ld_force_load=no cat > conftest.c << _LT_EOF int forced_loaded() { return 2;} _LT_EOF echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5 $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5 echo "$AR cru libconftest.a conftest.o" >&5 $AR cru libconftest.a conftest.o 2>&5 echo "$RANLIB libconftest.a" >&5 $RANLIB libconftest.a 2>&5 cat > conftest.c << _LT_EOF int main() { return 0;} _LT_EOF echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5 $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err _lt_result=$? if test -s conftest.err && $GREP force_load conftest.err; then cat conftest.err >&5 elif test -f conftest && test $_lt_result -eq 0 && $GREP forced_load conftest >/dev/null 2>&1 ; then lt_cv_ld_force_load=yes else cat conftest.err >&5 fi rm -f conftest.err libconftest.a conftest conftest.c rm -rf conftest.dSYM fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5 $as_echo "$lt_cv_ld_force_load" >&6; } case $host_os in rhapsody* | darwin1.[012]) _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;; darwin1.*) _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;; darwin*) # darwin 5.x on # if running on 10.5 or later, the deployment target defaults # to the OS version, if on x86, and 10.4, the deployment # target defaults to 10.4. Don't you love it? case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in 10.0,*86*-darwin8*|10.0,*-darwin[91]*) _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;; 10.[012]*) _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;; 10.*) _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;; esac ;; esac if test "$lt_cv_apple_cc_single_mod" = "yes"; then _lt_dar_single_mod='$single_module' fi if test "$lt_cv_ld_exported_symbols_list" = "yes"; then _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym' else _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}' fi if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no"; then _lt_dsymutil='~$DSYMUTIL $lib || :' else _lt_dsymutil= fi ;; esac ac_ext=c ac_cpp='$CPP $CPPFLAGS' ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' ac_compiler_gnu=$ac_cv_c_compiler_gnu { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5 $as_echo_n "checking how to run the C preprocessor... " >&6; } # On Suns, sometimes $CPP names a directory. if test -n "$CPP" && test -d "$CPP"; then CPP= fi if test -z "$CPP"; then if ${ac_cv_prog_CPP+:} false; then : $as_echo_n "(cached) " >&6 else # Double quotes because CPP needs to be expanded for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp" do ac_preproc_ok=false for ac_c_preproc_warn_flag in '' yes do # Use a header file that comes with gcc, so configuring glibc # with a fresh cross-compiler works. # Prefer to if __STDC__ is defined, since # exists even on freestanding compilers. # On the NeXT, cc -E runs the code through the compiler's parser, # not just through cpp. "Syntax error" is here to catch this case. cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #ifdef __STDC__ # include #else # include #endif Syntax error _ACEOF if ac_fn_c_try_cpp "$LINENO"; then : else # Broken: fails on valid input. continue fi rm -f conftest.err conftest.i conftest.$ac_ext # OK, works on sane cases. Now check whether nonexistent headers # can be detected and how. cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include _ACEOF if ac_fn_c_try_cpp "$LINENO"; then : # Broken: success on invalid input. continue else # Passes both tests. ac_preproc_ok=: break fi rm -f conftest.err conftest.i conftest.$ac_ext done # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. rm -f conftest.i conftest.err conftest.$ac_ext if $ac_preproc_ok; then : break fi done ac_cv_prog_CPP=$CPP fi CPP=$ac_cv_prog_CPP else ac_cv_prog_CPP=$CPP fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5 $as_echo "$CPP" >&6; } ac_preproc_ok=false for ac_c_preproc_warn_flag in '' yes do # Use a header file that comes with gcc, so configuring glibc # with a fresh cross-compiler works. # Prefer to if __STDC__ is defined, since # exists even on freestanding compilers. # On the NeXT, cc -E runs the code through the compiler's parser, # not just through cpp. "Syntax error" is here to catch this case. cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #ifdef __STDC__ # include #else # include #endif Syntax error _ACEOF if ac_fn_c_try_cpp "$LINENO"; then : else # Broken: fails on valid input. continue fi rm -f conftest.err conftest.i conftest.$ac_ext # OK, works on sane cases. Now check whether nonexistent headers # can be detected and how. cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include _ACEOF if ac_fn_c_try_cpp "$LINENO"; then : # Broken: success on invalid input. continue else # Passes both tests. ac_preproc_ok=: break fi rm -f conftest.err conftest.i conftest.$ac_ext done # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. rm -f conftest.i conftest.err conftest.$ac_ext if $ac_preproc_ok; then : else { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} as_fn_error $? "C preprocessor \"$CPP\" fails sanity check See \`config.log' for more details" "$LINENO" 5; } fi ac_ext=c ac_cpp='$CPP $CPPFLAGS' ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' ac_compiler_gnu=$ac_cv_c_compiler_gnu { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5 $as_echo_n "checking for ANSI C header files... " >&6; } if ${ac_cv_header_stdc+:} false; then : $as_echo_n "(cached) " >&6 else cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include #include #include #include int main () { ; return 0; } _ACEOF if ac_fn_c_try_compile "$LINENO"; then : ac_cv_header_stdc=yes else ac_cv_header_stdc=no fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext if test $ac_cv_header_stdc = yes; then # SunOS 4.x string.h does not declare mem*, contrary to ANSI. cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include _ACEOF if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | $EGREP "memchr" >/dev/null 2>&1; then : else ac_cv_header_stdc=no fi rm -f conftest* fi if test $ac_cv_header_stdc = yes; then # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include _ACEOF if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | $EGREP "free" >/dev/null 2>&1; then : else ac_cv_header_stdc=no fi rm -f conftest* fi if test $ac_cv_header_stdc = yes; then # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi. if test "$cross_compiling" = yes; then : : else cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include #include #if ((' ' & 0x0FF) == 0x020) # define ISLOWER(c) ('a' <= (c) && (c) <= 'z') # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c)) #else # define ISLOWER(c) \ (('a' <= (c) && (c) <= 'i') \ || ('j' <= (c) && (c) <= 'r') \ || ('s' <= (c) && (c) <= 'z')) # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c)) #endif #define XOR(e, f) (((e) && !(f)) || (!(e) && (f))) int main () { int i; for (i = 0; i < 256; i++) if (XOR (islower (i), ISLOWER (i)) || toupper (i) != TOUPPER (i)) return 2; return 0; } _ACEOF if ac_fn_c_try_run "$LINENO"; then : else ac_cv_header_stdc=no fi rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ conftest.$ac_objext conftest.beam conftest.$ac_ext fi fi fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5 $as_echo "$ac_cv_header_stdc" >&6; } if test $ac_cv_header_stdc = yes; then $as_echo "#define STDC_HEADERS 1" >>confdefs.h fi # On IRIX 5.3, sys/types and inttypes.h are conflicting. for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \ inttypes.h stdint.h unistd.h do : as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default " if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : cat >>confdefs.h <<_ACEOF #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 _ACEOF fi done for ac_header in dlfcn.h do : ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default " if test "x$ac_cv_header_dlfcn_h" = xyes; then : cat >>confdefs.h <<_ACEOF #define HAVE_DLFCN_H 1 _ACEOF fi done # Set options enable_dlopen=no enable_win32_dll=no # Check whether --enable-shared was given. if test "${enable_shared+set}" = set; then : enableval=$enable_shared; p=${PACKAGE-default} case $enableval in yes) enable_shared=yes ;; no) enable_shared=no ;; *) enable_shared=no # Look at the argument we got. We use all the common list separators. lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR," for pkg in $enableval; do IFS="$lt_save_ifs" if test "X$pkg" = "X$p"; then enable_shared=yes fi done IFS="$lt_save_ifs" ;; esac else enable_shared=yes fi # Check whether --enable-static was given. if test "${enable_static+set}" = set; then : enableval=$enable_static; p=${PACKAGE-default} case $enableval in yes) enable_static=yes ;; no) enable_static=no ;; *) enable_static=no # Look at the argument we got. We use all the common list separators. lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR," for pkg in $enableval; do IFS="$lt_save_ifs" if test "X$pkg" = "X$p"; then enable_static=yes fi done IFS="$lt_save_ifs" ;; esac else enable_static=yes fi # Check whether --with-pic was given. if test "${with_pic+set}" = set; then : withval=$with_pic; lt_p=${PACKAGE-default} case $withval in yes|no) pic_mode=$withval ;; *) pic_mode=default # Look at the argument we got. We use all the common list separators. lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR," for lt_pkg in $withval; do IFS="$lt_save_ifs" if test "X$lt_pkg" = "X$lt_p"; then pic_mode=yes fi done IFS="$lt_save_ifs" ;; esac else pic_mode=default fi test -z "$pic_mode" && pic_mode=default # Check whether --enable-fast-install was given. if test "${enable_fast_install+set}" = set; then : enableval=$enable_fast_install; p=${PACKAGE-default} case $enableval in yes) enable_fast_install=yes ;; no) enable_fast_install=no ;; *) enable_fast_install=no # Look at the argument we got. We use all the common list separators. lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR," for pkg in $enableval; do IFS="$lt_save_ifs" if test "X$pkg" = "X$p"; then enable_fast_install=yes fi done IFS="$lt_save_ifs" ;; esac else enable_fast_install=yes fi # This can be used to rebuild libtool when needed LIBTOOL_DEPS="$ltmain" # Always use our own libtool. LIBTOOL='$(SHELL) $(top_builddir)/libtool' test -z "$LN_S" && LN_S="ln -s" if test -n "${ZSH_VERSION+set}" ; then setopt NO_GLOB_SUBST fi { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5 $as_echo_n "checking for objdir... " >&6; } if ${lt_cv_objdir+:} false; then : $as_echo_n "(cached) " >&6 else rm -f .libs 2>/dev/null mkdir .libs 2>/dev/null if test -d .libs; then lt_cv_objdir=.libs else # MS-DOS does not allow filenames that begin with a dot. lt_cv_objdir=_libs fi rmdir .libs 2>/dev/null fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5 $as_echo "$lt_cv_objdir" >&6; } objdir=$lt_cv_objdir cat >>confdefs.h <<_ACEOF #define LT_OBJDIR "$lt_cv_objdir/" _ACEOF case $host_os in aix3*) # AIX sometimes has problems with the GCC collect2 program. For some # reason, if we set the COLLECT_NAMES environment variable, the problems # vanish in a puff of smoke. if test "X${COLLECT_NAMES+set}" != Xset; then COLLECT_NAMES= export COLLECT_NAMES fi ;; esac # Global variables: ofile=libtool can_build_shared=yes # All known linkers require a `.a' archive for static linking (except MSVC, # which needs '.lib'). libext=a with_gnu_ld="$lt_cv_prog_gnu_ld" old_CC="$CC" old_CFLAGS="$CFLAGS" # Set sane defaults for various variables test -z "$CC" && CC=cc test -z "$LTCC" && LTCC=$CC test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS test -z "$LD" && LD=ld test -z "$ac_objext" && ac_objext=o for cc_temp in $compiler""; do case $cc_temp in compile | *[\\/]compile | ccache | *[\\/]ccache ) ;; distcc | *[\\/]distcc | purify | *[\\/]purify ) ;; \-*) ;; *) break;; esac done cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"` # Only perform the check for file, if the check method requires it test -z "$MAGIC_CMD" && MAGIC_CMD=file case $deplibs_check_method in file_magic*) if test "$file_magic_cmd" = '$MAGIC_CMD'; then { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; } if ${lt_cv_path_MAGIC_CMD+:} false; then : $as_echo_n "(cached) " >&6 else case $MAGIC_CMD in [\\/*] | ?:[\\/]*) lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path. ;; *) lt_save_MAGIC_CMD="$MAGIC_CMD" lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR ac_dummy="/usr/bin$PATH_SEPARATOR$PATH" for ac_dir in $ac_dummy; do IFS="$lt_save_ifs" test -z "$ac_dir" && ac_dir=. if test -f $ac_dir/${ac_tool_prefix}file; then lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file" if test -n "$file_magic_test_file"; then case $deplibs_check_method in "file_magic "*) file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"` MAGIC_CMD="$lt_cv_path_MAGIC_CMD" if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null | $EGREP "$file_magic_regex" > /dev/null; then : else cat <<_LT_EOF 1>&2 *** Warning: the command libtool uses to detect shared libraries, *** $file_magic_cmd, produces output that libtool cannot recognize. *** The result is that libtool may fail to recognize shared libraries *** as such. This will affect the creation of libtool libraries that *** depend on shared libraries, but programs linked with such libtool *** libraries will work regardless of this problem. Nevertheless, you *** may want to report the problem to your system manager and/or to *** bug-libtool@gnu.org _LT_EOF fi ;; esac fi break fi done IFS="$lt_save_ifs" MAGIC_CMD="$lt_save_MAGIC_CMD" ;; esac fi MAGIC_CMD="$lt_cv_path_MAGIC_CMD" if test -n "$MAGIC_CMD"; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5 $as_echo "$MAGIC_CMD" >&6; } else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } fi if test -z "$lt_cv_path_MAGIC_CMD"; then if test -n "$ac_tool_prefix"; then { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5 $as_echo_n "checking for file... " >&6; } if ${lt_cv_path_MAGIC_CMD+:} false; then : $as_echo_n "(cached) " >&6 else case $MAGIC_CMD in [\\/*] | ?:[\\/]*) lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path. ;; *) lt_save_MAGIC_CMD="$MAGIC_CMD" lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR ac_dummy="/usr/bin$PATH_SEPARATOR$PATH" for ac_dir in $ac_dummy; do IFS="$lt_save_ifs" test -z "$ac_dir" && ac_dir=. if test -f $ac_dir/file; then lt_cv_path_MAGIC_CMD="$ac_dir/file" if test -n "$file_magic_test_file"; then case $deplibs_check_method in "file_magic "*) file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"` MAGIC_CMD="$lt_cv_path_MAGIC_CMD" if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null | $EGREP "$file_magic_regex" > /dev/null; then : else cat <<_LT_EOF 1>&2 *** Warning: the command libtool uses to detect shared libraries, *** $file_magic_cmd, produces output that libtool cannot recognize. *** The result is that libtool may fail to recognize shared libraries *** as such. This will affect the creation of libtool libraries that *** depend on shared libraries, but programs linked with such libtool *** libraries will work regardless of this problem. Nevertheless, you *** may want to report the problem to your system manager and/or to *** bug-libtool@gnu.org _LT_EOF fi ;; esac fi break fi done IFS="$lt_save_ifs" MAGIC_CMD="$lt_save_MAGIC_CMD" ;; esac fi MAGIC_CMD="$lt_cv_path_MAGIC_CMD" if test -n "$MAGIC_CMD"; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5 $as_echo "$MAGIC_CMD" >&6; } else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } fi else MAGIC_CMD=: fi fi fi ;; esac # Use C for the default configuration in the libtool script lt_save_CC="$CC" ac_ext=c ac_cpp='$CPP $CPPFLAGS' ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' ac_compiler_gnu=$ac_cv_c_compiler_gnu # Source file extension for C test sources. ac_ext=c # Object file extension for compiled C test sources. objext=o objext=$objext # Code to be used in simple compile tests lt_simple_compile_test_code="int some_variable = 0;" # Code to be used in simple link tests lt_simple_link_test_code='int main(){return(0);}' # If no C compiler was specified, use CC. LTCC=${LTCC-"$CC"} # If no C compiler flags were specified, use CFLAGS. LTCFLAGS=${LTCFLAGS-"$CFLAGS"} # Allow CC to be a program name with arguments. compiler=$CC # Save the default compiler, since it gets overwritten when the other # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP. compiler_DEFAULT=$CC # save warnings/boilerplate of simple test code ac_outfile=conftest.$ac_objext echo "$lt_simple_compile_test_code" >conftest.$ac_ext eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err _lt_compiler_boilerplate=`cat conftest.err` $RM conftest* ac_outfile=conftest.$ac_objext echo "$lt_simple_link_test_code" >conftest.$ac_ext eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err _lt_linker_boilerplate=`cat conftest.err` $RM -r conftest* if test -n "$compiler"; then lt_prog_compiler_no_builtin_flag= if test "$GCC" = yes; then case $cc_basename in nvcc*) lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;; *) lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;; esac { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; } if ${lt_cv_prog_compiler_rtti_exceptions+:} false; then : $as_echo_n "(cached) " >&6 else lt_cv_prog_compiler_rtti_exceptions=no ac_outfile=conftest.$ac_objext echo "$lt_simple_compile_test_code" > conftest.$ac_ext lt_compiler_flag="-fno-rtti -fno-exceptions" # Insert the option either (1) after the last *FLAGS variable, or # (2) before a word containing "conftest.", or (3) at the end. # Note that $ac_compile itself does not contain backslashes and begins # with a dollar sign (not a hyphen), so the echo should work correctly. # The option is referenced via a variable to avoid confusing sed. lt_compile=`echo "$ac_compile" | $SED \ -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ -e 's:$: $lt_compiler_flag:'` (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5) (eval "$lt_compile" 2>conftest.err) ac_status=$? cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 if (exit $ac_status) && test -s "$ac_outfile"; then # The compiler can only warn and ignore the option if not recognized # So say no if there are warnings other than the usual output. $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then lt_cv_prog_compiler_rtti_exceptions=yes fi fi $RM conftest* fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; } if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions" else : fi fi lt_prog_compiler_wl= lt_prog_compiler_pic= lt_prog_compiler_static= if test "$GCC" = yes; then lt_prog_compiler_wl='-Wl,' lt_prog_compiler_static='-static' case $host_os in aix*) # All AIX code is PIC. if test "$host_cpu" = ia64; then # AIX 5 now supports IA64 processor lt_prog_compiler_static='-Bstatic' fi ;; amigaos*) case $host_cpu in powerpc) # see comment about AmigaOS4 .so support lt_prog_compiler_pic='-fPIC' ;; m68k) # FIXME: we need at least 68020 code to build shared libraries, but # adding the `-m68020' flag to GCC prevents building anything better, # like `-m68040'. lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4' ;; esac ;; beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*) # PIC is the default for these OSes. ;; mingw* | cygwin* | pw32* | os2* | cegcc*) # This hack is so that the source file can tell whether it is being # built for inclusion in a dll (and should export symbols for example). # Although the cygwin gcc ignores -fPIC, still need this for old-style # (--disable-auto-import) libraries lt_prog_compiler_pic='-DDLL_EXPORT' ;; darwin* | rhapsody*) # PIC is the default on this platform # Common symbols not allowed in MH_DYLIB files lt_prog_compiler_pic='-fno-common' ;; haiku*) # PIC is the default for Haiku. # The "-static" flag exists, but is broken. lt_prog_compiler_static= ;; hpux*) # PIC is the default for 64-bit PA HP-UX, but not for 32-bit # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag # sets the default TLS model and affects inlining. case $host_cpu in hppa*64*) # +Z the default ;; *) lt_prog_compiler_pic='-fPIC' ;; esac ;; interix[3-9]*) # Interix 3.x gcc -fpic/-fPIC options generate broken code. # Instead, we relocate shared libraries at runtime. ;; msdosdjgpp*) # Just because we use GCC doesn't mean we suddenly get shared libraries # on systems that don't support them. lt_prog_compiler_can_build_shared=no enable_shared=no ;; *nto* | *qnx*) # QNX uses GNU C++, but need to define -shared option too, otherwise # it will coredump. lt_prog_compiler_pic='-fPIC -shared' ;; sysv4*MP*) if test -d /usr/nec; then lt_prog_compiler_pic=-Kconform_pic fi ;; *) lt_prog_compiler_pic='-fPIC' ;; esac case $cc_basename in nvcc*) # Cuda Compiler Driver 2.2 lt_prog_compiler_wl='-Xlinker ' if test -n "$lt_prog_compiler_pic"; then lt_prog_compiler_pic="-Xcompiler $lt_prog_compiler_pic" fi ;; esac else # PORTME Check for flag to pass linker flags through the system compiler. case $host_os in aix*) lt_prog_compiler_wl='-Wl,' if test "$host_cpu" = ia64; then # AIX 5 now supports IA64 processor lt_prog_compiler_static='-Bstatic' else lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp' fi ;; mingw* | cygwin* | pw32* | os2* | cegcc*) # This hack is so that the source file can tell whether it is being # built for inclusion in a dll (and should export symbols for example). lt_prog_compiler_pic='-DDLL_EXPORT' ;; hpux9* | hpux10* | hpux11*) lt_prog_compiler_wl='-Wl,' # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but # not for PA HP-UX. case $host_cpu in hppa*64*|ia64*) # +Z the default ;; *) lt_prog_compiler_pic='+Z' ;; esac # Is there a better lt_prog_compiler_static that works with the bundled CC? lt_prog_compiler_static='${wl}-a ${wl}archive' ;; irix5* | irix6* | nonstopux*) lt_prog_compiler_wl='-Wl,' # PIC (with -KPIC) is the default. lt_prog_compiler_static='-non_shared' ;; linux* | k*bsd*-gnu | kopensolaris*-gnu) case $cc_basename in # old Intel for x86_64 which still supported -KPIC. ecc*) lt_prog_compiler_wl='-Wl,' lt_prog_compiler_pic='-KPIC' lt_prog_compiler_static='-static' ;; # icc used to be incompatible with GCC. # ICC 10 doesn't accept -KPIC any more. icc* | ifort*) lt_prog_compiler_wl='-Wl,' lt_prog_compiler_pic='-fPIC' lt_prog_compiler_static='-static' ;; # Lahey Fortran 8.1. lf95*) lt_prog_compiler_wl='-Wl,' lt_prog_compiler_pic='--shared' lt_prog_compiler_static='--static' ;; nagfor*) # NAG Fortran compiler lt_prog_compiler_wl='-Wl,-Wl,,' lt_prog_compiler_pic='-PIC' lt_prog_compiler_static='-Bstatic' ;; pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*) # Portland Group compilers (*not* the Pentium gcc compiler, # which looks to be a dead project) lt_prog_compiler_wl='-Wl,' lt_prog_compiler_pic='-fpic' lt_prog_compiler_static='-Bstatic' ;; ccc*) lt_prog_compiler_wl='-Wl,' # All Alpha code is PIC. lt_prog_compiler_static='-non_shared' ;; xl* | bgxl* | bgf* | mpixl*) # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene lt_prog_compiler_wl='-Wl,' lt_prog_compiler_pic='-qpic' lt_prog_compiler_static='-qstaticlink' ;; *) case `$CC -V 2>&1 | sed 5q` in *Sun\ Ceres\ Fortran* | *Sun*Fortran*\ [1-7].* | *Sun*Fortran*\ 8.[0-3]*) # Sun Fortran 8.3 passes all unrecognized flags to the linker lt_prog_compiler_pic='-KPIC' lt_prog_compiler_static='-Bstatic' lt_prog_compiler_wl='' ;; *Sun\ F* | *Sun*Fortran*) lt_prog_compiler_pic='-KPIC' lt_prog_compiler_static='-Bstatic' lt_prog_compiler_wl='-Qoption ld ' ;; *Sun\ C*) # Sun C 5.9 lt_prog_compiler_pic='-KPIC' lt_prog_compiler_static='-Bstatic' lt_prog_compiler_wl='-Wl,' ;; *Intel*\ [CF]*Compiler*) lt_prog_compiler_wl='-Wl,' lt_prog_compiler_pic='-fPIC' lt_prog_compiler_static='-static' ;; *Portland\ Group*) lt_prog_compiler_wl='-Wl,' lt_prog_compiler_pic='-fpic' lt_prog_compiler_static='-Bstatic' ;; esac ;; esac ;; newsos6) lt_prog_compiler_pic='-KPIC' lt_prog_compiler_static='-Bstatic' ;; *nto* | *qnx*) # QNX uses GNU C++, but need to define -shared option too, otherwise # it will coredump. lt_prog_compiler_pic='-fPIC -shared' ;; osf3* | osf4* | osf5*) lt_prog_compiler_wl='-Wl,' # All OSF/1 code is PIC. lt_prog_compiler_static='-non_shared' ;; rdos*) lt_prog_compiler_static='-non_shared' ;; solaris*) lt_prog_compiler_pic='-KPIC' lt_prog_compiler_static='-Bstatic' case $cc_basename in f77* | f90* | f95* | sunf77* | sunf90* | sunf95*) lt_prog_compiler_wl='-Qoption ld ';; *) lt_prog_compiler_wl='-Wl,';; esac ;; sunos4*) lt_prog_compiler_wl='-Qoption ld ' lt_prog_compiler_pic='-PIC' lt_prog_compiler_static='-Bstatic' ;; sysv4 | sysv4.2uw2* | sysv4.3*) lt_prog_compiler_wl='-Wl,' lt_prog_compiler_pic='-KPIC' lt_prog_compiler_static='-Bstatic' ;; sysv4*MP*) if test -d /usr/nec ;then lt_prog_compiler_pic='-Kconform_pic' lt_prog_compiler_static='-Bstatic' fi ;; sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*) lt_prog_compiler_wl='-Wl,' lt_prog_compiler_pic='-KPIC' lt_prog_compiler_static='-Bstatic' ;; unicos*) lt_prog_compiler_wl='-Wl,' lt_prog_compiler_can_build_shared=no ;; uts4*) lt_prog_compiler_pic='-pic' lt_prog_compiler_static='-Bstatic' ;; *) lt_prog_compiler_can_build_shared=no ;; esac fi case $host_os in # For platforms which do not support PIC, -DPIC is meaningless: *djgpp*) lt_prog_compiler_pic= ;; *) lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC" ;; esac { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5 $as_echo_n "checking for $compiler option to produce PIC... " >&6; } if ${lt_cv_prog_compiler_pic+:} false; then : $as_echo_n "(cached) " >&6 else lt_cv_prog_compiler_pic=$lt_prog_compiler_pic fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5 $as_echo "$lt_cv_prog_compiler_pic" >&6; } lt_prog_compiler_pic=$lt_cv_prog_compiler_pic # # Check to make sure the PIC flag actually works. # if test -n "$lt_prog_compiler_pic"; then { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; } if ${lt_cv_prog_compiler_pic_works+:} false; then : $as_echo_n "(cached) " >&6 else lt_cv_prog_compiler_pic_works=no ac_outfile=conftest.$ac_objext echo "$lt_simple_compile_test_code" > conftest.$ac_ext lt_compiler_flag="$lt_prog_compiler_pic -DPIC" # Insert the option either (1) after the last *FLAGS variable, or # (2) before a word containing "conftest.", or (3) at the end. # Note that $ac_compile itself does not contain backslashes and begins # with a dollar sign (not a hyphen), so the echo should work correctly. # The option is referenced via a variable to avoid confusing sed. lt_compile=`echo "$ac_compile" | $SED \ -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ -e 's:$: $lt_compiler_flag:'` (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5) (eval "$lt_compile" 2>conftest.err) ac_status=$? cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 if (exit $ac_status) && test -s "$ac_outfile"; then # The compiler can only warn and ignore the option if not recognized # So say no if there are warnings other than the usual output. $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then lt_cv_prog_compiler_pic_works=yes fi fi $RM conftest* fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; } if test x"$lt_cv_prog_compiler_pic_works" = xyes; then case $lt_prog_compiler_pic in "" | " "*) ;; *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;; esac else lt_prog_compiler_pic= lt_prog_compiler_can_build_shared=no fi fi # # Check to make sure the static flag actually works. # wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\" { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; } if ${lt_cv_prog_compiler_static_works+:} false; then : $as_echo_n "(cached) " >&6 else lt_cv_prog_compiler_static_works=no save_LDFLAGS="$LDFLAGS" LDFLAGS="$LDFLAGS $lt_tmp_static_flag" echo "$lt_simple_link_test_code" > conftest.$ac_ext if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then # The linker can only warn and ignore the option if not recognized # So say no if there are warnings if test -s conftest.err; then # Append any errors to the config.log. cat conftest.err 1>&5 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 if diff conftest.exp conftest.er2 >/dev/null; then lt_cv_prog_compiler_static_works=yes fi else lt_cv_prog_compiler_static_works=yes fi fi $RM -r conftest* LDFLAGS="$save_LDFLAGS" fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5 $as_echo "$lt_cv_prog_compiler_static_works" >&6; } if test x"$lt_cv_prog_compiler_static_works" = xyes; then : else lt_prog_compiler_static= fi { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; } if ${lt_cv_prog_compiler_c_o+:} false; then : $as_echo_n "(cached) " >&6 else lt_cv_prog_compiler_c_o=no $RM -r conftest 2>/dev/null mkdir conftest cd conftest mkdir out echo "$lt_simple_compile_test_code" > conftest.$ac_ext lt_compiler_flag="-o out/conftest2.$ac_objext" # Insert the option either (1) after the last *FLAGS variable, or # (2) before a word containing "conftest.", or (3) at the end. # Note that $ac_compile itself does not contain backslashes and begins # with a dollar sign (not a hyphen), so the echo should work correctly. lt_compile=`echo "$ac_compile" | $SED \ -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ -e 's:$: $lt_compiler_flag:'` (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5) (eval "$lt_compile" 2>out/conftest.err) ac_status=$? cat out/conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 if (exit $ac_status) && test -s out/conftest2.$ac_objext then # The compiler can only warn and ignore the option if not recognized # So say no if there are warnings $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then lt_cv_prog_compiler_c_o=yes fi fi chmod u+w . 2>&5 $RM conftest* # SGI C++ compiler will create directory out/ii_files/ for # template instantiation test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files $RM out/* && rmdir out cd .. $RM -r conftest $RM conftest* fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5 $as_echo "$lt_cv_prog_compiler_c_o" >&6; } { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; } if ${lt_cv_prog_compiler_c_o+:} false; then : $as_echo_n "(cached) " >&6 else lt_cv_prog_compiler_c_o=no $RM -r conftest 2>/dev/null mkdir conftest cd conftest mkdir out echo "$lt_simple_compile_test_code" > conftest.$ac_ext lt_compiler_flag="-o out/conftest2.$ac_objext" # Insert the option either (1) after the last *FLAGS variable, or # (2) before a word containing "conftest.", or (3) at the end. # Note that $ac_compile itself does not contain backslashes and begins # with a dollar sign (not a hyphen), so the echo should work correctly. lt_compile=`echo "$ac_compile" | $SED \ -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ -e 's:$: $lt_compiler_flag:'` (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5) (eval "$lt_compile" 2>out/conftest.err) ac_status=$? cat out/conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 if (exit $ac_status) && test -s out/conftest2.$ac_objext then # The compiler can only warn and ignore the option if not recognized # So say no if there are warnings $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then lt_cv_prog_compiler_c_o=yes fi fi chmod u+w . 2>&5 $RM conftest* # SGI C++ compiler will create directory out/ii_files/ for # template instantiation test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files $RM out/* && rmdir out cd .. $RM -r conftest $RM conftest* fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5 $as_echo "$lt_cv_prog_compiler_c_o" >&6; } hard_links="nottested" if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then # do not overwrite the value of need_locks provided by the user { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5 $as_echo_n "checking if we can lock with hard links... " >&6; } hard_links=yes $RM conftest* ln conftest.a conftest.b 2>/dev/null && hard_links=no touch conftest.a ln conftest.a conftest.b 2>&5 || hard_links=no ln conftest.a conftest.b 2>/dev/null && hard_links=no { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5 $as_echo "$hard_links" >&6; } if test "$hard_links" = no; then { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;} need_locks=warn fi else need_locks=no fi { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; } runpath_var= allow_undefined_flag= always_export_symbols=no archive_cmds= archive_expsym_cmds= compiler_needs_object=no enable_shared_with_static_runtimes=no export_dynamic_flag_spec= export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols' hardcode_automatic=no hardcode_direct=no hardcode_direct_absolute=no hardcode_libdir_flag_spec= hardcode_libdir_separator= hardcode_minus_L=no hardcode_shlibpath_var=unsupported inherit_rpath=no link_all_deplibs=unknown module_cmds= module_expsym_cmds= old_archive_from_new_cmds= old_archive_from_expsyms_cmds= thread_safe_flag_spec= whole_archive_flag_spec= # include_expsyms should be a list of space-separated symbols to be *always* # included in the symbol list include_expsyms= # exclude_expsyms can be an extended regexp of symbols to exclude # it will be wrapped by ` (' and `)$', so one must not match beginning or # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc', # as well as any symbol that contains `d'. exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*' # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out # platforms (ab)use it in PIC code, but their linkers get confused if # the symbol is explicitly referenced. Since portable code cannot # rely on this symbol name, it's probably fine to never include it in # preloaded symbol tables. # Exclude shared library initialization/finalization symbols. extract_expsyms_cmds= case $host_os in cygwin* | mingw* | pw32* | cegcc*) # FIXME: the MSVC++ port hasn't been tested in a loooong time # When not using gcc, we currently assume that we are using # Microsoft Visual C++. if test "$GCC" != yes; then with_gnu_ld=no fi ;; interix*) # we just hope/assume this is gcc and not c89 (= MSVC++) with_gnu_ld=yes ;; openbsd*) with_gnu_ld=no ;; esac ld_shlibs=yes # On some targets, GNU ld is compatible enough with the native linker # that we're better off using the native interface for both. lt_use_gnu_ld_interface=no if test "$with_gnu_ld" = yes; then case $host_os in aix*) # The AIX port of GNU ld has always aspired to compatibility # with the native linker. However, as the warning in the GNU ld # block says, versions before 2.19.5* couldn't really create working # shared libraries, regardless of the interface used. case `$LD -v 2>&1` in *\ \(GNU\ Binutils\)\ 2.19.5*) ;; *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;; *\ \(GNU\ Binutils\)\ [3-9]*) ;; *) lt_use_gnu_ld_interface=yes ;; esac ;; *) lt_use_gnu_ld_interface=yes ;; esac fi if test "$lt_use_gnu_ld_interface" = yes; then # If archive_cmds runs LD, not CC, wlarc should be empty wlarc='${wl}' # Set some defaults for GNU ld with shared library support. These # are reset later if shared libraries are not supported. Putting them # here allows them to be overridden if necessary. runpath_var=LD_RUN_PATH hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' export_dynamic_flag_spec='${wl}--export-dynamic' # ancient GNU ld didn't support --whole-archive et. al. if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive' else whole_archive_flag_spec= fi supports_anon_versioning=no case `$LD -v 2>&1` in *GNU\ gold*) supports_anon_versioning=yes ;; *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11 *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ... *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ... *\ 2.11.*) ;; # other 2.11 versions *) supports_anon_versioning=yes ;; esac # See if GNU ld supports shared libraries. case $host_os in aix[3-9]*) # On AIX/PPC, the GNU linker is very broken if test "$host_cpu" != ia64; then ld_shlibs=no cat <<_LT_EOF 1>&2 *** Warning: the GNU linker, at least up to release 2.19, is reported *** to be unable to reliably create shared libraries on AIX. *** Therefore, libtool is disabling shared libraries support. If you *** really care for shared libraries, you may want to install binutils *** 2.20 or above, or modify your PATH so that a non-GNU linker is found. *** You will then need to restart the configuration process. _LT_EOF fi ;; amigaos*) case $host_cpu in powerpc) # see comment about AmigaOS4 .so support archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' archive_expsym_cmds='' ;; m68k) archive_cmds='$RM $output_objdir/a2ixlibrary.data~$ECHO "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$ECHO "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$ECHO "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$ECHO "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)' hardcode_libdir_flag_spec='-L$libdir' hardcode_minus_L=yes ;; esac ;; beos*) if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then allow_undefined_flag=unsupported # Joseph Beckenbach says some releases of gcc # support --undefined. This deserves some investigation. FIXME archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' else ld_shlibs=no fi ;; cygwin* | mingw* | pw32* | cegcc*) # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless, # as there is no search path for DLLs. hardcode_libdir_flag_spec='-L$libdir' export_dynamic_flag_spec='${wl}--export-all-symbols' allow_undefined_flag=unsupported always_export_symbols=no enable_shared_with_static_runtimes=yes export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/;s/^.*[ ]__nm__\([^ ]*\)[ ][^ ]*/\1 DATA/;/^I[ ]/d;/^[AITW][ ]/s/.* //'\'' | sort | uniq > $export_symbols' exclude_expsyms='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname' if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib' # If the export-symbols file already is a .def file (1st line # is EXPORTS), use it as is; otherwise, prepend... archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then cp $export_symbols $output_objdir/$soname.def; else echo EXPORTS > $output_objdir/$soname.def; cat $export_symbols >> $output_objdir/$soname.def; fi~ $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib' else ld_shlibs=no fi ;; haiku*) archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' link_all_deplibs=yes ;; interix[3-9]*) hardcode_direct=no hardcode_shlibpath_var=no hardcode_libdir_flag_spec='${wl}-rpath,$libdir' export_dynamic_flag_spec='${wl}-E' # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc. # Instead, shared libraries are loaded at an image base (0x10000000 by # default) and relocated if they conflict, which is a slow very memory # consuming and fragmenting process. To avoid this, we pick a random, # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link # time. Moving up from 0x10000000 also allows more sbrk(2) space. archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib' archive_expsym_cmds='sed "s,^,_," $export_symbols >$output_objdir/$soname.expsym~$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--retain-symbols-file,$output_objdir/$soname.expsym ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib' ;; gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu) tmp_diet=no if test "$host_os" = linux-dietlibc; then case $cc_basename in diet\ *) tmp_diet=yes;; # linux-dietlibc with static linking (!diet-dyn) esac fi if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \ && test "$tmp_diet" = no then tmp_addflag=' $pic_flag' tmp_sharedflag='-shared' case $cc_basename,$host_cpu in pgcc*) # Portland Group C compiler whole_archive_flag_spec='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive' tmp_addflag=' $pic_flag' ;; pgf77* | pgf90* | pgf95* | pgfortran*) # Portland Group f77 and f90 compilers whole_archive_flag_spec='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive' tmp_addflag=' $pic_flag -Mnomain' ;; ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64 tmp_addflag=' -i_dynamic' ;; efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64 tmp_addflag=' -i_dynamic -nofor_main' ;; ifc* | ifort*) # Intel Fortran compiler tmp_addflag=' -nofor_main' ;; lf95*) # Lahey Fortran 8.1 whole_archive_flag_spec= tmp_sharedflag='--shared' ;; xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below) tmp_sharedflag='-qmkshrobj' tmp_addflag= ;; nvcc*) # Cuda Compiler Driver 2.2 whole_archive_flag_spec='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive' compiler_needs_object=yes ;; esac case `$CC -V 2>&1 | sed 5q` in *Sun\ C*) # Sun C 5.9 whole_archive_flag_spec='${wl}--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive' compiler_needs_object=yes tmp_sharedflag='-G' ;; *Sun\ F*) # Sun Fortran 8.3 tmp_sharedflag='-G' ;; esac archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' if test "x$supports_anon_versioning" = xyes; then archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~ cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~ echo "local: *; };" >> $output_objdir/$libname.ver~ $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib' fi case $cc_basename in xlf* | bgf* | bgxlf* | mpixlf*) # IBM XL Fortran 10.1 on PPC cannot create shared libs itself whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive' hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib' if test "x$supports_anon_versioning" = xyes; then archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~ cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~ echo "local: *; };" >> $output_objdir/$libname.ver~ $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib' fi ;; esac else ld_shlibs=no fi ;; netbsd*) if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib' wlarc= else archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' fi ;; solaris*) if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then ld_shlibs=no cat <<_LT_EOF 1>&2 *** Warning: The releases 2.8.* of the GNU linker cannot reliably *** create shared libraries on Solaris systems. Therefore, libtool *** is disabling shared libraries support. We urge you to upgrade GNU *** binutils to release 2.9.1 or newer. Another option is to modify *** your PATH or compiler configuration so that the native linker is *** used, and then restart. _LT_EOF elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' else ld_shlibs=no fi ;; sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*) case `$LD -v 2>&1` in *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*) ld_shlibs=no cat <<_LT_EOF 1>&2 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not *** reliably create shared libraries on SCO systems. Therefore, libtool *** is disabling shared libraries support. We urge you to upgrade GNU *** binutils to release 2.16.91.0.3 or newer. Another option is to modify *** your PATH or compiler configuration so that the native linker is *** used, and then restart. _LT_EOF ;; *) # For security reasons, it is highly recommended that you always # use absolute paths for naming shared libraries, and exclude the # DT_RUNPATH tag from executables and libraries. But doing so # requires that you compile everything twice, which is a pain. if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' else ld_shlibs=no fi ;; esac ;; sunos4*) archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags' wlarc= hardcode_direct=yes hardcode_shlibpath_var=no ;; *) if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' else ld_shlibs=no fi ;; esac if test "$ld_shlibs" = no; then runpath_var= hardcode_libdir_flag_spec= export_dynamic_flag_spec= whole_archive_flag_spec= fi else # PORTME fill in a description of your system's linker (not GNU ld) case $host_os in aix3*) allow_undefined_flag=unsupported always_export_symbols=yes archive_expsym_cmds='$LD -o $output_objdir/$soname $libobjs $deplibs $linker_flags -bE:$export_symbols -T512 -H512 -bM:SRE~$AR $AR_FLAGS $lib $output_objdir/$soname' # Note: this linker hardcodes the directories in LIBPATH if there # are no directories specified by -L. hardcode_minus_L=yes if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then # Neither direct hardcoding nor static linking is supported with a # broken collect2. hardcode_direct=unsupported fi ;; aix[4-9]*) if test "$host_cpu" = ia64; then # On IA64, the linker does run time linking by default, so we don't # have to do anything special. aix_use_runtimelinking=no exp_sym_flag='-Bexport' no_entry_flag="" else # If we're using GNU nm, then we don't want the "-C" option. # -C means demangle to AIX nm, but means don't demangle with GNU nm # Also, AIX nm treats weak defined symbols like other global # defined symbols, whereas GNU nm marks them as "W". if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then export_symbols_cmds='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols' else export_symbols_cmds='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols' fi aix_use_runtimelinking=no # Test if we are trying to use run time linking or normal # AIX style linking. If -brtl is somewhere in LDFLAGS, we # need to do runtime linking. case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*) for ld_flag in $LDFLAGS; do if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then aix_use_runtimelinking=yes break fi done ;; esac exp_sym_flag='-bexport' no_entry_flag='-bnoentry' fi # When large executables or shared objects are built, AIX ld can # have problems creating the table of contents. If linking a library # or program results in "error TOC overflow" add -mminimal-toc to # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS. archive_cmds='' hardcode_direct=yes hardcode_direct_absolute=yes hardcode_libdir_separator=':' link_all_deplibs=yes file_list_spec='${wl}-f,' if test "$GCC" = yes; then case $host_os in aix4.[012]|aix4.[012].*) # We only want to do this on AIX 4.2 and lower, the check # below for broken collect2 doesn't work under 4.3+ collect2name=`${CC} -print-prog-name=collect2` if test -f "$collect2name" && strings "$collect2name" | $GREP resolve_lib_name >/dev/null then # We have reworked collect2 : else # We have old collect2 hardcode_direct=unsupported # It fails to find uninstalled libraries when the uninstalled # path is not listed in the libpath. Setting hardcode_minus_L # to unsupported forces relinking hardcode_minus_L=yes hardcode_libdir_flag_spec='-L$libdir' hardcode_libdir_separator= fi ;; esac shared_flag='-shared' if test "$aix_use_runtimelinking" = yes; then shared_flag="$shared_flag "'${wl}-G' fi else # not using gcc if test "$host_cpu" = ia64; then # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release # chokes on -Wl,-G. The following line is correct: shared_flag='-G' else if test "$aix_use_runtimelinking" = yes; then shared_flag='${wl}-G' else shared_flag='${wl}-bM:SRE' fi fi fi export_dynamic_flag_spec='${wl}-bexpall' # It seems that -bexpall does not export symbols beginning with # underscore (_), so it is better to generate a list of symbols to export. always_export_symbols=yes if test "$aix_use_runtimelinking" = yes; then # Warning - without using the other runtime loading flags (-brtl), # -berok will link without error, but may produce a broken library. allow_undefined_flag='-berok' # Determine the default libpath from the value encoded in an # empty executable. if test "${lt_cv_aix_libpath+set}" = set; then aix_libpath=$lt_cv_aix_libpath else if ${lt_cv_aix_libpath_+:} false; then : $as_echo_n "(cached) " >&6 else cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ int main () { ; return 0; } _ACEOF if ac_fn_c_try_link "$LINENO"; then : lt_aix_libpath_sed=' /Import File Strings/,/^$/ { /^0/ { s/^0 *\([^ ]*\) *$/\1/ p } }' lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` # Check for a 64-bit object if we didn't find anything. if test -z "$lt_cv_aix_libpath_"; then lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` fi fi rm -f core conftest.err conftest.$ac_objext \ conftest$ac_exeext conftest.$ac_ext if test -z "$lt_cv_aix_libpath_"; then lt_cv_aix_libpath_="/usr/lib:/lib" fi fi aix_libpath=$lt_cv_aix_libpath_ fi hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath" archive_expsym_cmds='$CC -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then func_echo_all "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag" else if test "$host_cpu" = ia64; then hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib' allow_undefined_flag="-z nodefs" archive_expsym_cmds="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags ${wl}${allow_undefined_flag} '"\${wl}$exp_sym_flag:\$export_symbols" else # Determine the default libpath from the value encoded in an # empty executable. if test "${lt_cv_aix_libpath+set}" = set; then aix_libpath=$lt_cv_aix_libpath else if ${lt_cv_aix_libpath_+:} false; then : $as_echo_n "(cached) " >&6 else cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ int main () { ; return 0; } _ACEOF if ac_fn_c_try_link "$LINENO"; then : lt_aix_libpath_sed=' /Import File Strings/,/^$/ { /^0/ { s/^0 *\([^ ]*\) *$/\1/ p } }' lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` # Check for a 64-bit object if we didn't find anything. if test -z "$lt_cv_aix_libpath_"; then lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` fi fi rm -f core conftest.err conftest.$ac_objext \ conftest$ac_exeext conftest.$ac_ext if test -z "$lt_cv_aix_libpath_"; then lt_cv_aix_libpath_="/usr/lib:/lib" fi fi aix_libpath=$lt_cv_aix_libpath_ fi hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath" # Warning - without using the other run time loading flags, # -berok will link without error, but may produce a broken library. no_undefined_flag=' ${wl}-bernotok' allow_undefined_flag=' ${wl}-berok' if test "$with_gnu_ld" = yes; then # We only use this code for GNU lds that support --whole-archive. whole_archive_flag_spec='${wl}--whole-archive$convenience ${wl}--no-whole-archive' else # Exported symbols can be pulled into shared objects from archives whole_archive_flag_spec='$convenience' fi archive_cmds_need_lc=yes # This is similar to how AIX traditionally builds its shared libraries. archive_expsym_cmds="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs ${wl}-bnoentry $compiler_flags ${wl}-bE:$export_symbols${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname' fi fi ;; amigaos*) case $host_cpu in powerpc) # see comment about AmigaOS4 .so support archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' archive_expsym_cmds='' ;; m68k) archive_cmds='$RM $output_objdir/a2ixlibrary.data~$ECHO "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$ECHO "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$ECHO "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$ECHO "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)' hardcode_libdir_flag_spec='-L$libdir' hardcode_minus_L=yes ;; esac ;; bsdi[45]*) export_dynamic_flag_spec=-rdynamic ;; cygwin* | mingw* | pw32* | cegcc*) # When not using gcc, we currently assume that we are using # Microsoft Visual C++. # hardcode_libdir_flag_spec is actually meaningless, as there is # no search path for DLLs. case $cc_basename in cl*) # Native MSVC hardcode_libdir_flag_spec=' ' allow_undefined_flag=unsupported always_export_symbols=yes file_list_spec='@' # Tell ltmain to make .lib files, not .a files. libext=lib # Tell ltmain to make .dll files, not .so files. shrext_cmds=".dll" # FIXME: Setting linknames here is a bad hack. archive_cmds='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-dll~linknames=' archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then sed -n -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' -e '1\\\!p' < $export_symbols > $output_objdir/$soname.exp; else sed -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' < $export_symbols > $output_objdir/$soname.exp; fi~ $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~ linknames=' # The linker will not automatically build a static lib if we build a DLL. # _LT_TAGVAR(old_archive_from_new_cmds, )='true' enable_shared_with_static_runtimes=yes exclude_expsyms='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*' export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols' # Don't use ranlib old_postinstall_cmds='chmod 644 $oldlib' postlink_cmds='lt_outputfile="@OUTPUT@"~ lt_tool_outputfile="@TOOL_OUTPUT@"~ case $lt_outputfile in *.exe|*.EXE) ;; *) lt_outputfile="$lt_outputfile.exe" lt_tool_outputfile="$lt_tool_outputfile.exe" ;; esac~ if test "$MANIFEST_TOOL" != ":" && test -f "$lt_outputfile.manifest"; then $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1; $RM "$lt_outputfile.manifest"; fi' ;; *) # Assume MSVC wrapper hardcode_libdir_flag_spec=' ' allow_undefined_flag=unsupported # Tell ltmain to make .lib files, not .a files. libext=lib # Tell ltmain to make .dll files, not .so files. shrext_cmds=".dll" # FIXME: Setting linknames here is a bad hack. archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames=' # The linker will automatically build a .lib file if we build a DLL. old_archive_from_new_cmds='true' # FIXME: Should let the user specify the lib program. old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs' enable_shared_with_static_runtimes=yes ;; esac ;; darwin* | rhapsody*) archive_cmds_need_lc=no hardcode_direct=no hardcode_automatic=yes hardcode_shlibpath_var=unsupported if test "$lt_cv_ld_force_load" = "yes"; then whole_archive_flag_spec='`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience ${wl}-force_load,$conv\"; done; func_echo_all \"$new_convenience\"`' else whole_archive_flag_spec='' fi link_all_deplibs=yes allow_undefined_flag="$_lt_dar_allow_undefined" case $cc_basename in ifort*) _lt_dar_can_shared=yes ;; *) _lt_dar_can_shared=$GCC ;; esac if test "$_lt_dar_can_shared" = "yes"; then output_verbose_link_cmd=func_echo_all archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}" module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}" archive_expsym_cmds="sed 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring ${_lt_dar_single_mod}${_lt_dar_export_syms}${_lt_dsymutil}" module_expsym_cmds="sed -e 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dar_export_syms}${_lt_dsymutil}" else ld_shlibs=no fi ;; dgux*) archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' hardcode_libdir_flag_spec='-L$libdir' hardcode_shlibpath_var=no ;; # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor # support. Future versions do this automatically, but an explicit c++rt0.o # does not break anything, and helps significantly (at the cost of a little # extra space). freebsd2.2*) archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o' hardcode_libdir_flag_spec='-R$libdir' hardcode_direct=yes hardcode_shlibpath_var=no ;; # Unfortunately, older versions of FreeBSD 2 do not have this feature. freebsd2.*) archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' hardcode_direct=yes hardcode_minus_L=yes hardcode_shlibpath_var=no ;; # FreeBSD 3 and greater uses gcc -shared to do shared libraries. freebsd* | dragonfly*) archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags' hardcode_libdir_flag_spec='-R$libdir' hardcode_direct=yes hardcode_shlibpath_var=no ;; hpux9*) if test "$GCC" = yes; then archive_cmds='$RM $output_objdir/$soname~$CC -shared $pic_flag ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $libobjs $deplibs $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib' else archive_cmds='$RM $output_objdir/$soname~$LD -b +b $install_libdir -o $output_objdir/$soname $libobjs $deplibs $linker_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib' fi hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir' hardcode_libdir_separator=: hardcode_direct=yes # hardcode_minus_L: Not really in the search PATH, # but as the default location of the library. hardcode_minus_L=yes export_dynamic_flag_spec='${wl}-E' ;; hpux10*) if test "$GCC" = yes && test "$with_gnu_ld" = no; then archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags' else archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags' fi if test "$with_gnu_ld" = no; then hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir' hardcode_libdir_separator=: hardcode_direct=yes hardcode_direct_absolute=yes export_dynamic_flag_spec='${wl}-E' # hardcode_minus_L: Not really in the search PATH, # but as the default location of the library. hardcode_minus_L=yes fi ;; hpux11*) if test "$GCC" = yes && test "$with_gnu_ld" = no; then case $host_cpu in hppa*64*) archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags' ;; ia64*) archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags' ;; *) archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags' ;; esac else case $host_cpu in hppa*64*) archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags' ;; ia64*) archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags' ;; *) # Older versions of the 11.00 compiler do not understand -b yet # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does) { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5 $as_echo_n "checking if $CC understands -b... " >&6; } if ${lt_cv_prog_compiler__b+:} false; then : $as_echo_n "(cached) " >&6 else lt_cv_prog_compiler__b=no save_LDFLAGS="$LDFLAGS" LDFLAGS="$LDFLAGS -b" echo "$lt_simple_link_test_code" > conftest.$ac_ext if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then # The linker can only warn and ignore the option if not recognized # So say no if there are warnings if test -s conftest.err; then # Append any errors to the config.log. cat conftest.err 1>&5 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 if diff conftest.exp conftest.er2 >/dev/null; then lt_cv_prog_compiler__b=yes fi else lt_cv_prog_compiler__b=yes fi fi $RM -r conftest* LDFLAGS="$save_LDFLAGS" fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5 $as_echo "$lt_cv_prog_compiler__b" >&6; } if test x"$lt_cv_prog_compiler__b" = xyes; then archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags' else archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags' fi ;; esac fi if test "$with_gnu_ld" = no; then hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir' hardcode_libdir_separator=: case $host_cpu in hppa*64*|ia64*) hardcode_direct=no hardcode_shlibpath_var=no ;; *) hardcode_direct=yes hardcode_direct_absolute=yes export_dynamic_flag_spec='${wl}-E' # hardcode_minus_L: Not really in the search PATH, # but as the default location of the library. hardcode_minus_L=yes ;; esac fi ;; irix5* | irix6* | nonstopux*) if test "$GCC" = yes; then archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib' # Try to use the -exported_symbol ld option, if it does not # work, assume that -exports_file does not work either and # implicitly export all symbols. # This should be the same for all languages, so no per-tag cache variable. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5 $as_echo_n "checking whether the $host_os linker accepts -exported_symbol... " >&6; } if ${lt_cv_irix_exported_symbol+:} false; then : $as_echo_n "(cached) " >&6 else save_LDFLAGS="$LDFLAGS" LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null" cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ int foo (void) { return 0; } _ACEOF if ac_fn_c_try_link "$LINENO"; then : lt_cv_irix_exported_symbol=yes else lt_cv_irix_exported_symbol=no fi rm -f core conftest.err conftest.$ac_objext \ conftest$ac_exeext conftest.$ac_ext LDFLAGS="$save_LDFLAGS" fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5 $as_echo "$lt_cv_irix_exported_symbol" >&6; } if test "$lt_cv_irix_exported_symbol" = yes; then archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations ${wl}-exports_file ${wl}$export_symbols -o $lib' fi else archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib' archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -exports_file $export_symbols -o $lib' fi archive_cmds_need_lc='no' hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' hardcode_libdir_separator=: inherit_rpath=yes link_all_deplibs=yes ;; netbsd*) if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out else archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF fi hardcode_libdir_flag_spec='-R$libdir' hardcode_direct=yes hardcode_shlibpath_var=no ;; newsos6) archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' hardcode_direct=yes hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' hardcode_libdir_separator=: hardcode_shlibpath_var=no ;; *nto* | *qnx*) ;; openbsd*) if test -f /usr/libexec/ld.so; then hardcode_direct=yes hardcode_shlibpath_var=no hardcode_direct_absolute=yes if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags' archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols' hardcode_libdir_flag_spec='${wl}-rpath,$libdir' export_dynamic_flag_spec='${wl}-E' else case $host_os in openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*) archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' hardcode_libdir_flag_spec='-R$libdir' ;; *) archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags' hardcode_libdir_flag_spec='${wl}-rpath,$libdir' ;; esac fi else ld_shlibs=no fi ;; os2*) hardcode_libdir_flag_spec='-L$libdir' hardcode_minus_L=yes allow_undefined_flag=unsupported archive_cmds='$ECHO "LIBRARY $libname INITINSTANCE" > $output_objdir/$libname.def~$ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~echo DATA >> $output_objdir/$libname.def~echo " SINGLE NONSHARED" >> $output_objdir/$libname.def~echo EXPORTS >> $output_objdir/$libname.def~emxexp $libobjs >> $output_objdir/$libname.def~$CC -Zdll -Zcrtdll -o $lib $libobjs $deplibs $compiler_flags $output_objdir/$libname.def' old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def' ;; osf3*) if test "$GCC" = yes; then allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*' archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib' else allow_undefined_flag=' -expect_unresolved \*' archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib' fi archive_cmds_need_lc='no' hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' hardcode_libdir_separator=: ;; osf4* | osf5*) # as osf3* with the addition of -msym flag if test "$GCC" = yes; then allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*' archive_cmds='$CC -shared${allow_undefined_flag} $pic_flag $libobjs $deplibs $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib' hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' else allow_undefined_flag=' -expect_unresolved \*' archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags -msym -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib' archive_expsym_cmds='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done; printf "%s\\n" "-hidden">> $lib.exp~ $CC -shared${allow_undefined_flag} ${wl}-input ${wl}$lib.exp $compiler_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && $ECHO "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib~$RM $lib.exp' # Both c and cxx compiler support -rpath directly hardcode_libdir_flag_spec='-rpath $libdir' fi archive_cmds_need_lc='no' hardcode_libdir_separator=: ;; solaris*) no_undefined_flag=' -z defs' if test "$GCC" = yes; then wlarc='${wl}' archive_cmds='$CC -shared $pic_flag ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags' archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~ $CC -shared $pic_flag ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp' else case `$CC -V 2>&1` in *"Compilers 5.0"*) wlarc='' archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags' archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~ $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp' ;; *) wlarc='${wl}' archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags' archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~ $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp' ;; esac fi hardcode_libdir_flag_spec='-R$libdir' hardcode_shlibpath_var=no case $host_os in solaris2.[0-5] | solaris2.[0-5].*) ;; *) # The compiler driver will combine and reorder linker options, # but understands `-z linker_flag'. GCC discards it without `$wl', # but is careful enough not to reorder. # Supported since Solaris 2.6 (maybe 2.5.1?) if test "$GCC" = yes; then whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract' else whole_archive_flag_spec='-z allextract$convenience -z defaultextract' fi ;; esac link_all_deplibs=yes ;; sunos4*) if test "x$host_vendor" = xsequent; then # Use $CC to link under sequent, because it throws in some extra .o # files that make .init and .fini sections work. archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags' else archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags' fi hardcode_libdir_flag_spec='-L$libdir' hardcode_direct=yes hardcode_minus_L=yes hardcode_shlibpath_var=no ;; sysv4) case $host_vendor in sni) archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' hardcode_direct=yes # is this really true??? ;; siemens) ## LD is ld it makes a PLAMLIB ## CC just makes a GrossModule. archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags' reload_cmds='$CC -r -o $output$reload_objs' hardcode_direct=no ;; motorola) archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' hardcode_direct=no #Motorola manual says yes, but my tests say they lie ;; esac runpath_var='LD_RUN_PATH' hardcode_shlibpath_var=no ;; sysv4.3*) archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' hardcode_shlibpath_var=no export_dynamic_flag_spec='-Bexport' ;; sysv4*MP*) if test -d /usr/nec; then archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' hardcode_shlibpath_var=no runpath_var=LD_RUN_PATH hardcode_runpath_var=yes ld_shlibs=yes fi ;; sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*) no_undefined_flag='${wl}-z,text' archive_cmds_need_lc=no hardcode_shlibpath_var=no runpath_var='LD_RUN_PATH' if test "$GCC" = yes; then archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' else archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' fi ;; sysv5* | sco3.2v5* | sco5v6*) # Note: We can NOT use -z defs as we might desire, because we do not # link with -lc, and that would cause any symbols used from libc to # always be unresolved, which means just about no library would # ever link correctly. If we're not using GNU ld we use -z text # though, which does catch some bad symbols but isn't as heavy-handed # as -z defs. no_undefined_flag='${wl}-z,text' allow_undefined_flag='${wl}-z,nodefs' archive_cmds_need_lc=no hardcode_shlibpath_var=no hardcode_libdir_flag_spec='${wl}-R,$libdir' hardcode_libdir_separator=':' link_all_deplibs=yes export_dynamic_flag_spec='${wl}-Bexport' runpath_var='LD_RUN_PATH' if test "$GCC" = yes; then archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' else archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' fi ;; uts4*) archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' hardcode_libdir_flag_spec='-L$libdir' hardcode_shlibpath_var=no ;; *) ld_shlibs=no ;; esac if test x$host_vendor = xsni; then case $host in sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*) export_dynamic_flag_spec='${wl}-Blargedynsym' ;; esac fi fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5 $as_echo "$ld_shlibs" >&6; } test "$ld_shlibs" = no && can_build_shared=no with_gnu_ld=$with_gnu_ld # # Do we need to explicitly link libc? # case "x$archive_cmds_need_lc" in x|xyes) # Assume -lc should be added archive_cmds_need_lc=yes if test "$enable_shared" = yes && test "$GCC" = yes; then case $archive_cmds in *'~'*) # FIXME: we may have to deal with multi-command sequences. ;; '$CC '*) # Test whether the compiler implicitly links with -lc since on some # systems, -lgcc has to come before -lc. If gcc already passes -lc # to ld, don't add -lc before -lgcc. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; } if ${lt_cv_archive_cmds_need_lc+:} false; then : $as_echo_n "(cached) " >&6 else $RM conftest* echo "$lt_simple_compile_test_code" > conftest.$ac_ext if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 (eval $ac_compile) 2>&5 ac_status=$? $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; } 2>conftest.err; then soname=conftest lib=conftest libobjs=conftest.$ac_objext deplibs= wl=$lt_prog_compiler_wl pic_flag=$lt_prog_compiler_pic compiler_flags=-v linker_flags=-v verstring= output_objdir=. libname=conftest lt_save_allow_undefined_flag=$allow_undefined_flag allow_undefined_flag= if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5 (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5 ac_status=$? $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; } then lt_cv_archive_cmds_need_lc=no else lt_cv_archive_cmds_need_lc=yes fi allow_undefined_flag=$lt_save_allow_undefined_flag else cat conftest.err 1>&5 fi $RM conftest* fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5 $as_echo "$lt_cv_archive_cmds_need_lc" >&6; } archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc ;; esac fi ;; esac { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5 $as_echo_n "checking dynamic linker characteristics... " >&6; } if test "$GCC" = yes; then case $host_os in darwin*) lt_awk_arg="/^libraries:/,/LR/" ;; *) lt_awk_arg="/^libraries:/" ;; esac case $host_os in mingw* | cegcc*) lt_sed_strip_eq="s,=\([A-Za-z]:\),\1,g" ;; *) lt_sed_strip_eq="s,=/,/,g" ;; esac lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq` case $lt_search_path_spec in *\;*) # if the path contains ";" then we assume it to be the separator # otherwise default to the standard path separator (i.e. ":") - it is # assumed that no part of a normal pathname contains ";" but that should # okay in the real world where ";" in dirpaths is itself problematic. lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'` ;; *) lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"` ;; esac # Ok, now we have the path, separated by spaces, we can step through it # and add multilib dir if necessary. lt_tmp_lt_search_path_spec= lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null` for lt_sys_path in $lt_search_path_spec; do if test -d "$lt_sys_path/$lt_multi_os_dir"; then lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir" else test -d "$lt_sys_path" && \ lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path" fi done lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk ' BEGIN {RS=" "; FS="/|\n";} { lt_foo=""; lt_count=0; for (lt_i = NF; lt_i > 0; lt_i--) { if ($lt_i != "" && $lt_i != ".") { if ($lt_i == "..") { lt_count++; } else { if (lt_count == 0) { lt_foo="/" $lt_i lt_foo; } else { lt_count--; } } } } if (lt_foo != "") { lt_freq[lt_foo]++; } if (lt_freq[lt_foo] == 1) { print lt_foo; } }'` # AWK program above erroneously prepends '/' to C:/dos/paths # for these hosts. case $host_os in mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\ $SED 's,/\([A-Za-z]:\),\1,g'` ;; esac sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP` else sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib" fi library_names_spec= libname_spec='lib$name' soname_spec= shrext_cmds=".so" postinstall_cmds= postuninstall_cmds= finish_cmds= finish_eval= shlibpath_var= shlibpath_overrides_runpath=unknown version_type=none dynamic_linker="$host_os ld.so" sys_lib_dlsearch_path_spec="/lib /usr/lib" need_lib_prefix=unknown hardcode_into_libs=no # when you set need_version to no, make sure it does not cause -set_version # flags to be left without arguments need_version=unknown case $host_os in aix3*) version_type=linux # correct to gnu/linux during the next big refactor library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a' shlibpath_var=LIBPATH # AIX 3 has no versioning support, so we append a major version to the name. soname_spec='${libname}${release}${shared_ext}$major' ;; aix[4-9]*) version_type=linux # correct to gnu/linux during the next big refactor need_lib_prefix=no need_version=no hardcode_into_libs=yes if test "$host_cpu" = ia64; then # AIX 5 supports IA64 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}' shlibpath_var=LD_LIBRARY_PATH else # With GCC up to 2.95.x, collect2 would create an import file # for dependence libraries. The import file would start with # the line `#! .'. This would cause the generated library to # depend on `.', always an invalid library. This was fixed in # development snapshots of GCC prior to 3.0. case $host_os in aix4 | aix4.[01] | aix4.[01].*) if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)' echo ' yes ' echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then : else can_build_shared=no fi ;; esac # AIX (on Power*) has no versioning support, so currently we can not hardcode correct # soname into executable. Probably we can add versioning support to # collect2, so additional links can be useful in future. if test "$aix_use_runtimelinking" = yes; then # If using run time linking (on AIX 4.2 or later) use lib.so # instead of lib.a to let people know that these are not # typical AIX shared libraries. library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' else # We preserve .a as extension for shared libraries through AIX4.2 # and later when we are not doing run time linking. library_names_spec='${libname}${release}.a $libname.a' soname_spec='${libname}${release}${shared_ext}$major' fi shlibpath_var=LIBPATH fi ;; amigaos*) case $host_cpu in powerpc) # Since July 2007 AmigaOS4 officially supports .so libraries. # When compiling the executable, add -use-dynld -Lsobjs: to the compileline. library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' ;; m68k) library_names_spec='$libname.ixlibrary $libname.a' # Create ${libname}_ixlibrary.a entries in /sys/libs. finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`func_echo_all "$lib" | $SED '\''s%^.*/\([^/]*\)\.ixlibrary$%\1%'\''`; test $RM /sys/libs/${libname}_ixlibrary.a; $show "cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a"; cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a || exit 1; done' ;; esac ;; beos*) library_names_spec='${libname}${shared_ext}' dynamic_linker="$host_os ld.so" shlibpath_var=LIBRARY_PATH ;; bsdi[45]*) version_type=linux # correct to gnu/linux during the next big refactor need_version=no library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' soname_spec='${libname}${release}${shared_ext}$major' finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir' shlibpath_var=LD_LIBRARY_PATH sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib" sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib" # the default ld.so.conf also contains /usr/contrib/lib and # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow # libtool to hard-code these into programs ;; cygwin* | mingw* | pw32* | cegcc*) version_type=windows shrext_cmds=".dll" need_version=no need_lib_prefix=no case $GCC,$cc_basename in yes,*) # gcc library_names_spec='$libname.dll.a' # DLL is installed to $(libdir)/../bin by postinstall_cmds postinstall_cmds='base_file=`basename \${file}`~ dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~ dldir=$destdir/`dirname \$dlpath`~ test -d \$dldir || mkdir -p \$dldir~ $install_prog $dir/$dlname \$dldir/$dlname~ chmod a+x \$dldir/$dlname~ if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then eval '\''$striplib \$dldir/$dlname'\'' || exit \$?; fi' postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~ dlpath=$dir/\$dldll~ $RM \$dlpath' shlibpath_overrides_runpath=yes case $host_os in cygwin*) # Cygwin DLLs use 'cyg' prefix rather than 'lib' soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}' sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api" ;; mingw* | cegcc*) # MinGW DLLs use traditional 'lib' prefix soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}' ;; pw32*) # pw32 DLLs use 'pw' prefix rather than 'lib' library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}' ;; esac dynamic_linker='Win32 ld.exe' ;; *,cl*) # Native MSVC libname_spec='$name' soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}' library_names_spec='${libname}.dll.lib' case $build_os in mingw*) sys_lib_search_path_spec= lt_save_ifs=$IFS IFS=';' for lt_path in $LIB do IFS=$lt_save_ifs # Let DOS variable expansion print the short 8.3 style file name. lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"` sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path" done IFS=$lt_save_ifs # Convert to MSYS style. sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'` ;; cygwin*) # Convert to unix form, then to dos form, then back to unix form # but this time dos style (no spaces!) so that the unix form looks # like /cygdrive/c/PROGRA~1:/cygdr... sys_lib_search_path_spec=`cygpath --path --unix "$LIB"` sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null` sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"` ;; *) sys_lib_search_path_spec="$LIB" if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then # It is most probably a Windows format PATH. sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'` else sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"` fi # FIXME: find the short name or the path components, as spaces are # common. (e.g. "Program Files" -> "PROGRA~1") ;; esac # DLL is installed to $(libdir)/../bin by postinstall_cmds postinstall_cmds='base_file=`basename \${file}`~ dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~ dldir=$destdir/`dirname \$dlpath`~ test -d \$dldir || mkdir -p \$dldir~ $install_prog $dir/$dlname \$dldir/$dlname' postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~ dlpath=$dir/\$dldll~ $RM \$dlpath' shlibpath_overrides_runpath=yes dynamic_linker='Win32 link.exe' ;; *) # Assume MSVC wrapper library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib' dynamic_linker='Win32 ld.exe' ;; esac # FIXME: first we should search . and the directory the executable is in shlibpath_var=PATH ;; darwin* | rhapsody*) dynamic_linker="$host_os dyld" version_type=darwin need_lib_prefix=no need_version=no library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext' soname_spec='${libname}${release}${major}$shared_ext' shlibpath_overrides_runpath=yes shlibpath_var=DYLD_LIBRARY_PATH shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`' sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib" sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib' ;; dgux*) version_type=linux # correct to gnu/linux during the next big refactor need_lib_prefix=no need_version=no library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext' soname_spec='${libname}${release}${shared_ext}$major' shlibpath_var=LD_LIBRARY_PATH ;; freebsd* | dragonfly*) # DragonFly does not have aout. When/if they implement a new # versioning mechanism, adjust this. if test -x /usr/bin/objformat; then objformat=`/usr/bin/objformat` else case $host_os in freebsd[23].*) objformat=aout ;; *) objformat=elf ;; esac fi version_type=freebsd-$objformat case $version_type in freebsd-elf*) library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}' need_version=no need_lib_prefix=no ;; freebsd-*) library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix' need_version=yes ;; esac shlibpath_var=LD_LIBRARY_PATH case $host_os in freebsd2.*) shlibpath_overrides_runpath=yes ;; freebsd3.[01]* | freebsdelf3.[01]*) shlibpath_overrides_runpath=yes hardcode_into_libs=yes ;; freebsd3.[2-9]* | freebsdelf3.[2-9]* | \ freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1) shlibpath_overrides_runpath=no hardcode_into_libs=yes ;; *) # from 4.6 on, and DragonFly shlibpath_overrides_runpath=yes hardcode_into_libs=yes ;; esac ;; gnu*) version_type=linux # correct to gnu/linux during the next big refactor need_lib_prefix=no need_version=no library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}' soname_spec='${libname}${release}${shared_ext}$major' shlibpath_var=LD_LIBRARY_PATH shlibpath_overrides_runpath=no hardcode_into_libs=yes ;; haiku*) version_type=linux # correct to gnu/linux during the next big refactor need_lib_prefix=no need_version=no dynamic_linker="$host_os runtime_loader" library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}' soname_spec='${libname}${release}${shared_ext}$major' shlibpath_var=LIBRARY_PATH shlibpath_overrides_runpath=yes sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib' hardcode_into_libs=yes ;; hpux9* | hpux10* | hpux11*) # Give a soname corresponding to the major version so that dld.sl refuses to # link against other versions. version_type=sunos need_lib_prefix=no need_version=no case $host_cpu in ia64*) shrext_cmds='.so' hardcode_into_libs=yes dynamic_linker="$host_os dld.so" shlibpath_var=LD_LIBRARY_PATH shlibpath_overrides_runpath=yes # Unless +noenvvar is specified. library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' soname_spec='${libname}${release}${shared_ext}$major' if test "X$HPUX_IA64_MODE" = X32; then sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib" else sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64" fi sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec ;; hppa*64*) shrext_cmds='.sl' hardcode_into_libs=yes dynamic_linker="$host_os dld.sl" shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH shlibpath_overrides_runpath=yes # Unless +noenvvar is specified. library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' soname_spec='${libname}${release}${shared_ext}$major' sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64" sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec ;; *) shrext_cmds='.sl' dynamic_linker="$host_os dld.sl" shlibpath_var=SHLIB_PATH shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' soname_spec='${libname}${release}${shared_ext}$major' ;; esac # HP-UX runs *really* slowly unless shared libraries are mode 555, ... postinstall_cmds='chmod 555 $lib' # or fails outright, so override atomically: install_override_mode=555 ;; interix[3-9]*) version_type=linux # correct to gnu/linux during the next big refactor need_lib_prefix=no need_version=no library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}' soname_spec='${libname}${release}${shared_ext}$major' dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)' shlibpath_var=LD_LIBRARY_PATH shlibpath_overrides_runpath=no hardcode_into_libs=yes ;; irix5* | irix6* | nonstopux*) case $host_os in nonstopux*) version_type=nonstopux ;; *) if test "$lt_cv_prog_gnu_ld" = yes; then version_type=linux # correct to gnu/linux during the next big refactor else version_type=irix fi ;; esac need_lib_prefix=no need_version=no soname_spec='${libname}${release}${shared_ext}$major' library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}' case $host_os in irix5* | nonstopux*) libsuff= shlibsuff= ;; *) case $LD in # libtool.m4 will add one of these switches to LD *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ") libsuff= shlibsuff= libmagic=32-bit;; *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ") libsuff=32 shlibsuff=N32 libmagic=N32;; *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ") libsuff=64 shlibsuff=64 libmagic=64-bit;; *) libsuff= shlibsuff= libmagic=never-match;; esac ;; esac shlibpath_var=LD_LIBRARY${shlibsuff}_PATH shlibpath_overrides_runpath=no sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}" sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}" hardcode_into_libs=yes ;; # No shared lib support for Linux oldld, aout, or coff. linux*oldld* | linux*aout* | linux*coff*) dynamic_linker=no ;; # This must be glibc/ELF. linux* | k*bsd*-gnu | kopensolaris*-gnu) version_type=linux # correct to gnu/linux during the next big refactor need_lib_prefix=no need_version=no library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' soname_spec='${libname}${release}${shared_ext}$major' finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir' shlibpath_var=LD_LIBRARY_PATH shlibpath_overrides_runpath=no # Some binutils ld are patched to set DT_RUNPATH if ${lt_cv_shlibpath_overrides_runpath+:} false; then : $as_echo_n "(cached) " >&6 else lt_cv_shlibpath_overrides_runpath=no save_LDFLAGS=$LDFLAGS save_libdir=$libdir eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \ LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\"" cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ int main () { ; return 0; } _ACEOF if ac_fn_c_try_link "$LINENO"; then : if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then : lt_cv_shlibpath_overrides_runpath=yes fi fi rm -f core conftest.err conftest.$ac_objext \ conftest$ac_exeext conftest.$ac_ext LDFLAGS=$save_LDFLAGS libdir=$save_libdir fi shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath # This implies no fast_install, which is unacceptable. # Some rework will be needed to allow for fast_install # before this can be enabled. hardcode_into_libs=yes # Append ld.so.conf contents to the search path if test -f /etc/ld.so.conf; then lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;/^[ ]*hwcap[ ]/d;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;s/"//g;/^$/d' | tr '\n' ' '` sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra" fi # We used to test for /lib/ld.so.1 and disable shared libraries on # powerpc, because MkLinux only supported shared libraries with the # GNU dynamic linker. Since this was broken with cross compilers, # most powerpc-linux boxes support dynamic linking these days and # people can always --disable-shared, the test was removed, and we # assume the GNU/Linux dynamic linker is in use. dynamic_linker='GNU/Linux ld.so' ;; netbsd*) version_type=sunos need_lib_prefix=no need_version=no if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix' finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir' dynamic_linker='NetBSD (a.out) ld.so' else library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}' soname_spec='${libname}${release}${shared_ext}$major' dynamic_linker='NetBSD ld.elf_so' fi shlibpath_var=LD_LIBRARY_PATH shlibpath_overrides_runpath=yes hardcode_into_libs=yes ;; newsos6) version_type=linux # correct to gnu/linux during the next big refactor library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' shlibpath_var=LD_LIBRARY_PATH shlibpath_overrides_runpath=yes ;; *nto* | *qnx*) version_type=qnx need_lib_prefix=no need_version=no library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' soname_spec='${libname}${release}${shared_ext}$major' shlibpath_var=LD_LIBRARY_PATH shlibpath_overrides_runpath=no hardcode_into_libs=yes dynamic_linker='ldqnx.so' ;; openbsd*) version_type=sunos sys_lib_dlsearch_path_spec="/usr/lib" need_lib_prefix=no # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs. case $host_os in openbsd3.3 | openbsd3.3.*) need_version=yes ;; *) need_version=no ;; esac library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix' finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir' shlibpath_var=LD_LIBRARY_PATH if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then case $host_os in openbsd2.[89] | openbsd2.[89].*) shlibpath_overrides_runpath=no ;; *) shlibpath_overrides_runpath=yes ;; esac else shlibpath_overrides_runpath=yes fi ;; os2*) libname_spec='$name' shrext_cmds=".dll" need_lib_prefix=no library_names_spec='$libname${shared_ext} $libname.a' dynamic_linker='OS/2 ld.exe' shlibpath_var=LIBPATH ;; osf3* | osf4* | osf5*) version_type=osf need_lib_prefix=no need_version=no soname_spec='${libname}${release}${shared_ext}$major' library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' shlibpath_var=LD_LIBRARY_PATH sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib" sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec" ;; rdos*) dynamic_linker=no ;; solaris*) version_type=linux # correct to gnu/linux during the next big refactor need_lib_prefix=no need_version=no library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' soname_spec='${libname}${release}${shared_ext}$major' shlibpath_var=LD_LIBRARY_PATH shlibpath_overrides_runpath=yes hardcode_into_libs=yes # ldd complains unless libraries are executable postinstall_cmds='chmod +x $lib' ;; sunos4*) version_type=sunos library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix' finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir' shlibpath_var=LD_LIBRARY_PATH shlibpath_overrides_runpath=yes if test "$with_gnu_ld" = yes; then need_lib_prefix=no fi need_version=yes ;; sysv4 | sysv4.3*) version_type=linux # correct to gnu/linux during the next big refactor library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' soname_spec='${libname}${release}${shared_ext}$major' shlibpath_var=LD_LIBRARY_PATH case $host_vendor in sni) shlibpath_overrides_runpath=no need_lib_prefix=no runpath_var=LD_RUN_PATH ;; siemens) need_lib_prefix=no ;; motorola) need_lib_prefix=no need_version=no shlibpath_overrides_runpath=no sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib' ;; esac ;; sysv4*MP*) if test -d /usr/nec ;then version_type=linux # correct to gnu/linux during the next big refactor library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}' soname_spec='$libname${shared_ext}.$major' shlibpath_var=LD_LIBRARY_PATH fi ;; sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*) version_type=freebsd-elf need_lib_prefix=no need_version=no library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}' soname_spec='${libname}${release}${shared_ext}$major' shlibpath_var=LD_LIBRARY_PATH shlibpath_overrides_runpath=yes hardcode_into_libs=yes if test "$with_gnu_ld" = yes; then sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib' else sys_lib_search_path_spec='/usr/ccs/lib /usr/lib' case $host_os in sco3.2v5*) sys_lib_search_path_spec="$sys_lib_search_path_spec /lib" ;; esac fi sys_lib_dlsearch_path_spec='/usr/lib' ;; tpf*) # TPF is a cross-target only. Preferred cross-host = GNU/Linux. version_type=linux # correct to gnu/linux during the next big refactor need_lib_prefix=no need_version=no library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' shlibpath_var=LD_LIBRARY_PATH shlibpath_overrides_runpath=no hardcode_into_libs=yes ;; uts4*) version_type=linux # correct to gnu/linux during the next big refactor library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' soname_spec='${libname}${release}${shared_ext}$major' shlibpath_var=LD_LIBRARY_PATH ;; *) dynamic_linker=no ;; esac { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5 $as_echo "$dynamic_linker" >&6; } test "$dynamic_linker" = no && can_build_shared=no variables_saved_for_relink="PATH $shlibpath_var $runpath_var" if test "$GCC" = yes; then variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH" fi if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec" fi if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec" fi { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5 $as_echo_n "checking how to hardcode library paths into programs... " >&6; } hardcode_action= if test -n "$hardcode_libdir_flag_spec" || test -n "$runpath_var" || test "X$hardcode_automatic" = "Xyes" ; then # We can hardcode non-existent directories. if test "$hardcode_direct" != no && # If the only mechanism to avoid hardcoding is shlibpath_var, we # have to relink, otherwise we might link with an installed library # when we should be linking with a yet-to-be-installed one ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no && test "$hardcode_minus_L" != no; then # Linking always hardcodes the temporary library directory. hardcode_action=relink else # We can link without hardcoding, and we can hardcode nonexisting dirs. hardcode_action=immediate fi else # We cannot hardcode anything, or else we can only hardcode existing # directories. hardcode_action=unsupported fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5 $as_echo "$hardcode_action" >&6; } if test "$hardcode_action" = relink || test "$inherit_rpath" = yes; then # Fast installation is not supported enable_fast_install=no elif test "$shlibpath_overrides_runpath" = yes || test "$enable_shared" = no; then # Fast installation is not necessary enable_fast_install=needless fi if test "x$enable_dlopen" != xyes; then enable_dlopen=unknown enable_dlopen_self=unknown enable_dlopen_self_static=unknown else lt_cv_dlopen=no lt_cv_dlopen_libs= case $host_os in beos*) lt_cv_dlopen="load_add_on" lt_cv_dlopen_libs= lt_cv_dlopen_self=yes ;; mingw* | pw32* | cegcc*) lt_cv_dlopen="LoadLibrary" lt_cv_dlopen_libs= ;; cygwin*) lt_cv_dlopen="dlopen" lt_cv_dlopen_libs= ;; darwin*) # if libdl is installed we need to link against it { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5 $as_echo_n "checking for dlopen in -ldl... " >&6; } if ${ac_cv_lib_dl_dlopen+:} false; then : $as_echo_n "(cached) " >&6 else ac_check_lib_save_LIBS=$LIBS LIBS="-ldl $LIBS" cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ /* Override any GCC internal prototype to avoid an error. Use char because int might match the return type of a GCC builtin and then its argument prototype would still apply. */ #ifdef __cplusplus extern "C" #endif char dlopen (); int main () { return dlopen (); ; return 0; } _ACEOF if ac_fn_c_try_link "$LINENO"; then : ac_cv_lib_dl_dlopen=yes else ac_cv_lib_dl_dlopen=no fi rm -f core conftest.err conftest.$ac_objext \ conftest$ac_exeext conftest.$ac_ext LIBS=$ac_check_lib_save_LIBS fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5 $as_echo "$ac_cv_lib_dl_dlopen" >&6; } if test "x$ac_cv_lib_dl_dlopen" = xyes; then : lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl" else lt_cv_dlopen="dyld" lt_cv_dlopen_libs= lt_cv_dlopen_self=yes fi ;; *) ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load" if test "x$ac_cv_func_shl_load" = xyes; then : lt_cv_dlopen="shl_load" else { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5 $as_echo_n "checking for shl_load in -ldld... " >&6; } if ${ac_cv_lib_dld_shl_load+:} false; then : $as_echo_n "(cached) " >&6 else ac_check_lib_save_LIBS=$LIBS LIBS="-ldld $LIBS" cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ /* Override any GCC internal prototype to avoid an error. Use char because int might match the return type of a GCC builtin and then its argument prototype would still apply. */ #ifdef __cplusplus extern "C" #endif char shl_load (); int main () { return shl_load (); ; return 0; } _ACEOF if ac_fn_c_try_link "$LINENO"; then : ac_cv_lib_dld_shl_load=yes else ac_cv_lib_dld_shl_load=no fi rm -f core conftest.err conftest.$ac_objext \ conftest$ac_exeext conftest.$ac_ext LIBS=$ac_check_lib_save_LIBS fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5 $as_echo "$ac_cv_lib_dld_shl_load" >&6; } if test "x$ac_cv_lib_dld_shl_load" = xyes; then : lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld" else ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen" if test "x$ac_cv_func_dlopen" = xyes; then : lt_cv_dlopen="dlopen" else { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5 $as_echo_n "checking for dlopen in -ldl... " >&6; } if ${ac_cv_lib_dl_dlopen+:} false; then : $as_echo_n "(cached) " >&6 else ac_check_lib_save_LIBS=$LIBS LIBS="-ldl $LIBS" cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ /* Override any GCC internal prototype to avoid an error. Use char because int might match the return type of a GCC builtin and then its argument prototype would still apply. */ #ifdef __cplusplus extern "C" #endif char dlopen (); int main () { return dlopen (); ; return 0; } _ACEOF if ac_fn_c_try_link "$LINENO"; then : ac_cv_lib_dl_dlopen=yes else ac_cv_lib_dl_dlopen=no fi rm -f core conftest.err conftest.$ac_objext \ conftest$ac_exeext conftest.$ac_ext LIBS=$ac_check_lib_save_LIBS fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5 $as_echo "$ac_cv_lib_dl_dlopen" >&6; } if test "x$ac_cv_lib_dl_dlopen" = xyes; then : lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl" else { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5 $as_echo_n "checking for dlopen in -lsvld... " >&6; } if ${ac_cv_lib_svld_dlopen+:} false; then : $as_echo_n "(cached) " >&6 else ac_check_lib_save_LIBS=$LIBS LIBS="-lsvld $LIBS" cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ /* Override any GCC internal prototype to avoid an error. Use char because int might match the return type of a GCC builtin and then its argument prototype would still apply. */ #ifdef __cplusplus extern "C" #endif char dlopen (); int main () { return dlopen (); ; return 0; } _ACEOF if ac_fn_c_try_link "$LINENO"; then : ac_cv_lib_svld_dlopen=yes else ac_cv_lib_svld_dlopen=no fi rm -f core conftest.err conftest.$ac_objext \ conftest$ac_exeext conftest.$ac_ext LIBS=$ac_check_lib_save_LIBS fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5 $as_echo "$ac_cv_lib_svld_dlopen" >&6; } if test "x$ac_cv_lib_svld_dlopen" = xyes; then : lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld" else { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5 $as_echo_n "checking for dld_link in -ldld... " >&6; } if ${ac_cv_lib_dld_dld_link+:} false; then : $as_echo_n "(cached) " >&6 else ac_check_lib_save_LIBS=$LIBS LIBS="-ldld $LIBS" cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ /* Override any GCC internal prototype to avoid an error. Use char because int might match the return type of a GCC builtin and then its argument prototype would still apply. */ #ifdef __cplusplus extern "C" #endif char dld_link (); int main () { return dld_link (); ; return 0; } _ACEOF if ac_fn_c_try_link "$LINENO"; then : ac_cv_lib_dld_dld_link=yes else ac_cv_lib_dld_dld_link=no fi rm -f core conftest.err conftest.$ac_objext \ conftest$ac_exeext conftest.$ac_ext LIBS=$ac_check_lib_save_LIBS fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5 $as_echo "$ac_cv_lib_dld_dld_link" >&6; } if test "x$ac_cv_lib_dld_dld_link" = xyes; then : lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld" fi fi fi fi fi fi ;; esac if test "x$lt_cv_dlopen" != xno; then enable_dlopen=yes else enable_dlopen=no fi case $lt_cv_dlopen in dlopen) save_CPPFLAGS="$CPPFLAGS" test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H" save_LDFLAGS="$LDFLAGS" wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\" save_LIBS="$LIBS" LIBS="$lt_cv_dlopen_libs $LIBS" { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5 $as_echo_n "checking whether a program can dlopen itself... " >&6; } if ${lt_cv_dlopen_self+:} false; then : $as_echo_n "(cached) " >&6 else if test "$cross_compiling" = yes; then : lt_cv_dlopen_self=cross else lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 lt_status=$lt_dlunknown cat > conftest.$ac_ext <<_LT_EOF #line $LINENO "configure" #include "confdefs.h" #if HAVE_DLFCN_H #include #endif #include #ifdef RTLD_GLOBAL # define LT_DLGLOBAL RTLD_GLOBAL #else # ifdef DL_GLOBAL # define LT_DLGLOBAL DL_GLOBAL # else # define LT_DLGLOBAL 0 # endif #endif /* We may have to define LT_DLLAZY_OR_NOW in the command line if we find out it does not work in some platform. */ #ifndef LT_DLLAZY_OR_NOW # ifdef RTLD_LAZY # define LT_DLLAZY_OR_NOW RTLD_LAZY # else # ifdef DL_LAZY # define LT_DLLAZY_OR_NOW DL_LAZY # else # ifdef RTLD_NOW # define LT_DLLAZY_OR_NOW RTLD_NOW # else # ifdef DL_NOW # define LT_DLLAZY_OR_NOW DL_NOW # else # define LT_DLLAZY_OR_NOW 0 # endif # endif # endif # endif #endif /* When -fvisbility=hidden is used, assume the code has been annotated correspondingly for the symbols needed. */ #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3)) int fnord () __attribute__((visibility("default"))); #endif int fnord () { return 42; } int main () { void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW); int status = $lt_dlunknown; if (self) { if (dlsym (self,"fnord")) status = $lt_dlno_uscore; else { if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore; else puts (dlerror ()); } /* dlclose (self); */ } else puts (dlerror ()); return status; } _LT_EOF if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5 (eval $ac_link) 2>&5 ac_status=$? $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then (./conftest; exit; ) >&5 2>/dev/null lt_status=$? case x$lt_status in x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;; x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;; x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;; esac else : # compilation failed lt_cv_dlopen_self=no fi fi rm -fr conftest* fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5 $as_echo "$lt_cv_dlopen_self" >&6; } if test "x$lt_cv_dlopen_self" = xyes; then wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\" { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; } if ${lt_cv_dlopen_self_static+:} false; then : $as_echo_n "(cached) " >&6 else if test "$cross_compiling" = yes; then : lt_cv_dlopen_self_static=cross else lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 lt_status=$lt_dlunknown cat > conftest.$ac_ext <<_LT_EOF #line $LINENO "configure" #include "confdefs.h" #if HAVE_DLFCN_H #include #endif #include #ifdef RTLD_GLOBAL # define LT_DLGLOBAL RTLD_GLOBAL #else # ifdef DL_GLOBAL # define LT_DLGLOBAL DL_GLOBAL # else # define LT_DLGLOBAL 0 # endif #endif /* We may have to define LT_DLLAZY_OR_NOW in the command line if we find out it does not work in some platform. */ #ifndef LT_DLLAZY_OR_NOW # ifdef RTLD_LAZY # define LT_DLLAZY_OR_NOW RTLD_LAZY # else # ifdef DL_LAZY # define LT_DLLAZY_OR_NOW DL_LAZY # else # ifdef RTLD_NOW # define LT_DLLAZY_OR_NOW RTLD_NOW # else # ifdef DL_NOW # define LT_DLLAZY_OR_NOW DL_NOW # else # define LT_DLLAZY_OR_NOW 0 # endif # endif # endif # endif #endif /* When -fvisbility=hidden is used, assume the code has been annotated correspondingly for the symbols needed. */ #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3)) int fnord () __attribute__((visibility("default"))); #endif int fnord () { return 42; } int main () { void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW); int status = $lt_dlunknown; if (self) { if (dlsym (self,"fnord")) status = $lt_dlno_uscore; else { if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore; else puts (dlerror ()); } /* dlclose (self); */ } else puts (dlerror ()); return status; } _LT_EOF if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5 (eval $ac_link) 2>&5 ac_status=$? $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then (./conftest; exit; ) >&5 2>/dev/null lt_status=$? case x$lt_status in x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;; x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;; x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;; esac else : # compilation failed lt_cv_dlopen_self_static=no fi fi rm -fr conftest* fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5 $as_echo "$lt_cv_dlopen_self_static" >&6; } fi CPPFLAGS="$save_CPPFLAGS" LDFLAGS="$save_LDFLAGS" LIBS="$save_LIBS" ;; esac case $lt_cv_dlopen_self in yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;; *) enable_dlopen_self=unknown ;; esac case $lt_cv_dlopen_self_static in yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;; *) enable_dlopen_self_static=unknown ;; esac fi striplib= old_striplib= { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5 $as_echo_n "checking whether stripping libraries is possible... " >&6; } if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then test -z "$old_striplib" && old_striplib="$STRIP --strip-debug" test -z "$striplib" && striplib="$STRIP --strip-unneeded" { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 $as_echo "yes" >&6; } else # FIXME - insert some real tests, host_os isn't really good enough case $host_os in darwin*) if test -n "$STRIP" ; then striplib="$STRIP -x" old_striplib="$STRIP -S" { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 $as_echo "yes" >&6; } else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } fi ;; *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } ;; esac fi # Report which library types will actually be built { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5 $as_echo_n "checking if libtool supports shared libraries... " >&6; } { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5 $as_echo "$can_build_shared" >&6; } { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5 $as_echo_n "checking whether to build shared libraries... " >&6; } test "$can_build_shared" = "no" && enable_shared=no # On AIX, shared libraries and static libraries use the same namespace, and # are all built from PIC. case $host_os in aix3*) test "$enable_shared" = yes && enable_static=no if test -n "$RANLIB"; then archive_cmds="$archive_cmds~\$RANLIB \$lib" postinstall_cmds='$RANLIB $lib' fi ;; aix[4-9]*) if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then test "$enable_shared" = yes && enable_static=no fi ;; esac { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5 $as_echo "$enable_shared" >&6; } { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5 $as_echo_n "checking whether to build static libraries... " >&6; } # Make sure either enable_shared or enable_static is yes. test "$enable_shared" = yes || enable_static=yes { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5 $as_echo "$enable_static" >&6; } fi ac_ext=c ac_cpp='$CPP $CPPFLAGS' ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' ac_compiler_gnu=$ac_cv_c_compiler_gnu CC="$lt_save_CC" ac_config_commands="$ac_config_commands libtool" # Only expand once: # If --with-pic=no is set we should honour that. if test x$pic_mode = xno; then NOPIC_TRUE= NOPIC_FALSE='#' else NOPIC_TRUE='#' NOPIC_FALSE= fi for ac_func in copysign do : ac_fn_c_check_func "$LINENO" "copysign" "ac_cv_func_copysign" if test "x$ac_cv_func_copysign" = xyes; then : cat >>confdefs.h <<_ACEOF #define HAVE_COPYSIGN 1 _ACEOF fi done for ac_func in isblank do : ac_fn_c_check_func "$LINENO" "isblank" "ac_cv_func_isblank" if test "x$ac_cv_func_isblank" = xyes; then : cat >>confdefs.h <<_ACEOF #define HAVE_ISBLANK 1 _ACEOF fi done { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing strlcpy" >&5 $as_echo_n "checking for library containing strlcpy... " >&6; } if ${ac_cv_search_strlcpy+:} false; then : $as_echo_n "(cached) " >&6 else ac_func_search_save_LIBS=$LIBS cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ /* Override any GCC internal prototype to avoid an error. Use char because int might match the return type of a GCC builtin and then its argument prototype would still apply. */ #ifdef __cplusplus extern "C" #endif char strlcpy (); int main () { return strlcpy (); ; return 0; } _ACEOF for ac_lib in '' bsd; do if test -z "$ac_lib"; then ac_res="none required" else ac_res=-l$ac_lib LIBS="-l$ac_lib $ac_func_search_save_LIBS" fi if ac_fn_c_try_link "$LINENO"; then : ac_cv_search_strlcpy=$ac_res fi rm -f core conftest.err conftest.$ac_objext \ conftest$ac_exeext if ${ac_cv_search_strlcpy+:} false; then : break fi done if ${ac_cv_search_strlcpy+:} false; then : else ac_cv_search_strlcpy=no fi rm conftest.$ac_ext LIBS=$ac_func_search_save_LIBS fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_strlcpy" >&5 $as_echo "$ac_cv_search_strlcpy" >&6; } ac_res=$ac_cv_search_strlcpy if test "$ac_res" != no; then : test "$ac_res" = "none required" || LIBS="$ac_res $LIBS" fi for ac_func in strlcpy do : ac_fn_c_check_func "$LINENO" "strlcpy" "ac_cv_func_strlcpy" if test "x$ac_cv_func_strlcpy" = xyes; then : cat >>confdefs.h <<_ACEOF #define HAVE_STRLCPY 1 _ACEOF fi done # Need the math library { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5 $as_echo_n "checking for sin in -lm... " >&6; } if ${ac_cv_lib_m_sin+:} false; then : $as_echo_n "(cached) " >&6 else ac_check_lib_save_LIBS=$LIBS LIBS="-lm $LIBS" cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ /* Override any GCC internal prototype to avoid an error. Use char because int might match the return type of a GCC builtin and then its argument prototype would still apply. */ #ifdef __cplusplus extern "C" #endif char sin (); int main () { return sin (); ; return 0; } _ACEOF if ac_fn_c_try_link "$LINENO"; then : ac_cv_lib_m_sin=yes else ac_cv_lib_m_sin=no fi rm -f core conftest.err conftest.$ac_objext \ conftest$ac_exeext conftest.$ac_ext LIBS=$ac_check_lib_save_LIBS fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5 $as_echo "$ac_cv_lib_m_sin" >&6; } if test "x$ac_cv_lib_m_sin" = xyes; then : cat >>confdefs.h <<_ACEOF #define HAVE_LIBM 1 _ACEOF LIBS="-lm $LIBS" fi if test -n "$STARLINK" then STARUTIL_LIBADD="${libdir}/libstarutil.la" ERFA_LIBADD="${libdir}/liberfa.la" ERFA_LDFLAGS="" $as_echo "#define HAVE_STAR_UTIL_H 1" >>confdefs.h else save_CPPFLAGS="$CPPFLAGS" eval CPPFLAGS=\"$CPPFLAGS -I${includdir}\" eval CPPFLAGS=\"$CPPFLAGS\" for ac_header in star/util.h do : as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default" if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : cat >>confdefs.h <<_ACEOF #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 _ACEOF fi done CPPFLAGS="$save_CPPFLAGS" save_LDFLAGS="$LDFLAGS" eval LDFLAGS=\"$LDFLAGS -L${libdir}\" eval LDFLAGS=\"$LDFLAGS\" { $as_echo "$as_me:${as_lineno-$LINENO}: checking for star_strlcpy in -lstarutil" >&5 $as_echo_n "checking for star_strlcpy in -lstarutil... " >&6; } if ${ac_cv_lib_starutil_star_strlcpy+:} false; then : $as_echo_n "(cached) " >&6 else ac_check_lib_save_LIBS=$LIBS LIBS="-lstarutil $LIBS" cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ /* Override any GCC internal prototype to avoid an error. Use char because int might match the return type of a GCC builtin and then its argument prototype would still apply. */ #ifdef __cplusplus extern "C" #endif char star_strlcpy (); int main () { return star_strlcpy (); ; return 0; } _ACEOF if ac_fn_c_try_link "$LINENO"; then : ac_cv_lib_starutil_star_strlcpy=yes else ac_cv_lib_starutil_star_strlcpy=no fi rm -f core conftest.err conftest.$ac_objext \ conftest$ac_exeext conftest.$ac_ext LIBS=$ac_check_lib_save_LIBS fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_starutil_star_strlcpy" >&5 $as_echo "$ac_cv_lib_starutil_star_strlcpy" >&6; } if test "x$ac_cv_lib_starutil_star_strlcpy" = xyes; then : STARUTIL_LIBADD="-lstarutil" else STARUTIL_LIBADD="" fi { $as_echo "$as_me:${as_lineno-$LINENO}: checking for eraCal2jd in -lerfa" >&5 $as_echo_n "checking for eraCal2jd in -lerfa... " >&6; } if ${ac_cv_lib_erfa_eraCal2jd+:} false; then : $as_echo_n "(cached) " >&6 else ac_check_lib_save_LIBS=$LIBS LIBS="-lerfa $LIBS" cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ /* Override any GCC internal prototype to avoid an error. Use char because int might match the return type of a GCC builtin and then its argument prototype would still apply. */ #ifdef __cplusplus extern "C" #endif char eraCal2jd (); int main () { return eraCal2jd (); ; return 0; } _ACEOF if ac_fn_c_try_link "$LINENO"; then : ac_cv_lib_erfa_eraCal2jd=yes else ac_cv_lib_erfa_eraCal2jd=no fi rm -f core conftest.err conftest.$ac_objext \ conftest$ac_exeext conftest.$ac_ext LIBS=$ac_check_lib_save_LIBS fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_erfa_eraCal2jd" >&5 $as_echo "$ac_cv_lib_erfa_eraCal2jd" >&6; } if test "x$ac_cv_lib_erfa_eraCal2jd" = xyes; then : ERFA_LIBADD="-lerfa" else { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iauCal2jd in -lsofa_c" >&5 $as_echo_n "checking for iauCal2jd in -lsofa_c... " >&6; } if ${ac_cv_lib_sofa_c_iauCal2jd+:} false; then : $as_echo_n "(cached) " >&6 else ac_check_lib_save_LIBS=$LIBS LIBS="-lsofa_c $LIBS" cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ /* Override any GCC internal prototype to avoid an error. Use char because int might match the return type of a GCC builtin and then its argument prototype would still apply. */ #ifdef __cplusplus extern "C" #endif char iauCal2jd (); int main () { return iauCal2jd (); ; return 0; } _ACEOF if ac_fn_c_try_link "$LINENO"; then : ac_cv_lib_sofa_c_iauCal2jd=yes else ac_cv_lib_sofa_c_iauCal2jd=no fi rm -f core conftest.err conftest.$ac_objext \ conftest$ac_exeext conftest.$ac_ext LIBS=$ac_check_lib_save_LIBS fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_sofa_c_iauCal2jd" >&5 $as_echo "$ac_cv_lib_sofa_c_iauCal2jd" >&6; } if test "x$ac_cv_lib_sofa_c_iauCal2jd" = xyes; then : ERFA_LIBADD="-lsofa_c" $as_echo "#define HAVE_SOFA_H 1" >>confdefs.h else as_fn_error $? "Neither ERFA nor SOFA library located. Can not continue" "$LINENO" 5 fi fi LDFLAGS="$save_LDFLAGS" ERFA_LDFLAGS="-L${libdir}" ERFA_CPPFLAGS="-I${includedir}" _star_build_docs=: fi for _star_tmp in sofa starutil do STAR_DEPENDENCIES_CHILDREN="$STAR_DEPENDENCIES_CHILDREN$_star_tmp" done for _star_tmp in sofa starutil do STAR_DEPENDENCIES_CHILDREN="$STAR_DEPENDENCIES_CHILDREN$_star_tmp" done STAR_DOCUMENTATION="$STAR_DOCUMENTATION sun267" if $_star_build_docs; then STAR_LATEX_DOCUMENTATION="$STAR_LATEX_DOCUMENTATION sun267.tex sun267.pdf sun267.htx_tar" fi for _star_tmp in star2html do STAR_DEPENDENCIES_CHILDREN="$STAR_DEPENDENCIES_CHILDREN$_star_tmp" done eval default_bindir=`echo $bindir | sed 's,\${exec_prefix},$ac_default_prefix,'` # Extract the first word of "star2html", so it can be a program name with args. set dummy star2html; ac_word=$2 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } if ${ac_cv_path_STAR2HTML+:} false; then : $as_echo_n "(cached) " >&6 else case $STAR2HTML in [\\/]* | ?:[\\/]*) ac_cv_path_STAR2HTML="$STAR2HTML" # Let the user override the test with a path. ;; *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR as_dummy="$STARLINK/Perl/bin:$STARLINK/starjava/bin:$STARLINK/bin:$default_bindir:$PATH" for as_dir in $as_dummy do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ac_cv_path_STAR2HTML="$as_dir/$ac_word$ac_exec_ext" $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done IFS=$as_save_IFS test -z "$ac_cv_path_STAR2HTML" && ac_cv_path_STAR2HTML="star2html" ;; esac fi STAR2HTML=$ac_cv_path_STAR2HTML if test -n "$STAR2HTML"; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STAR2HTML" >&5 $as_echo "$STAR2HTML" >&6; } else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } fi if $_star_build_docs; then : ${LATEX2DVI='$$LATEX "\\batchmode\\input $$1" && $$LATEX "\\batchmode\\input $$1"'} else { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: not installing docs sun267" >&5 $as_echo "$as_me: WARNING: not installing docs sun267" >&2;} fi ac_config_files="$ac_config_files Makefile component.xml" ac_config_headers="$ac_config_headers config.h" cat >confcache <<\_ACEOF # This file is a shell script that caches the results of configure # tests run on this system so they can be shared between configure # scripts and configure runs, see configure's option --config-cache. # It is not useful on other systems. If it contains results you don't # want to keep, you may remove or edit it. # # config.status only pays attention to the cache file if you give it # the --recheck option to rerun configure. # # `ac_cv_env_foo' variables (set or unset) will be overridden when # loading this file, other *unset* `ac_cv_foo' will be assigned the # following values. _ACEOF # The following way of writing the cache mishandles newlines in values, # but we know of no workaround that is simple, portable, and efficient. # So, we kill variables containing newlines. # Ultrix sh set writes to stderr and can't be redirected directly, # and sets the high bit in the cache file unless we assign to the vars. ( for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do eval ac_val=\$$ac_var case $ac_val in #( *${as_nl}*) case $ac_var in #( *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; esac case $ac_var in #( _ | IFS | as_nl) ;; #( BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( *) { eval $ac_var=; unset $ac_var;} ;; esac ;; esac done (set) 2>&1 | case $as_nl`(ac_space=' '; set) 2>&1` in #( *${as_nl}ac_space=\ *) # `set' does not quote correctly, so add quotes: double-quote # substitution turns \\\\ into \\, and sed turns \\ into \. sed -n \ "s/'/'\\\\''/g; s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p" ;; #( *) # `set' quotes correctly as required by POSIX, so do not add quotes. sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p" ;; esac | sort ) | sed ' /^ac_cv_env_/b end t clear :clear s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/ t end s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/ :end' >>confcache if diff "$cache_file" confcache >/dev/null 2>&1; then :; else if test -w "$cache_file"; then if test "x$cache_file" != "x/dev/null"; then { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5 $as_echo "$as_me: updating cache $cache_file" >&6;} if test ! -f "$cache_file" || test -h "$cache_file"; then cat confcache >"$cache_file" else case $cache_file in #( */* | ?:*) mv -f confcache "$cache_file"$$ && mv -f "$cache_file"$$ "$cache_file" ;; #( *) mv -f confcache "$cache_file" ;; esac fi fi else { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;} fi fi rm -f confcache test "x$prefix" = xNONE && prefix=$ac_default_prefix # Let make expand exec_prefix. test "x$exec_prefix" = xNONE && exec_prefix='${prefix}' DEFS=-DHAVE_CONFIG_H ac_libobjs= ac_ltlibobjs= U= for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue # 1. Remove the extension, and $U if already installed. ac_script='s/\$U\././;s/\.o$//;s/\.obj$//' ac_i=`$as_echo "$ac_i" | sed "$ac_script"` # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR # will be set to the directory where LIBOBJS objects are built. as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext" as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo' done LIBOBJS=$ac_libobjs LTLIBOBJS=$ac_ltlibobjs { $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5 $as_echo_n "checking that generated files are newer than configure... " >&6; } if test -n "$am_sleep_pid"; then # Hide warnings about reused PIDs. wait $am_sleep_pid 2>/dev/null fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5 $as_echo "done" >&6; } if test -n "$EXEEXT"; then am__EXEEXT_TRUE= am__EXEEXT_FALSE='#' else am__EXEEXT_TRUE='#' am__EXEEXT_FALSE= fi if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then as_fn_error $? "conditional \"AMDEP\" was never defined. Usually this means the macro was only invoked conditionally." "$LINENO" 5 fi if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then as_fn_error $? "conditional \"am__fastdepCC\" was never defined. Usually this means the macro was only invoked conditionally." "$LINENO" 5 fi if test -z "${NOPIC_TRUE}" && test -z "${NOPIC_FALSE}"; then as_fn_error $? "conditional \"NOPIC\" was never defined. Usually this means the macro was only invoked conditionally." "$LINENO" 5 fi : "${CONFIG_STATUS=./config.status}" ac_write_fail=0 ac_clean_files_save=$ac_clean_files ac_clean_files="$ac_clean_files $CONFIG_STATUS" { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;} as_write_fail=0 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1 #! $SHELL # Generated by $as_me. # Run this file to recreate the current configuration. # Compiler output produced by configure, useful for debugging # configure, is in config.log if it exists. debug=false ac_cs_recheck=false ac_cs_silent=false SHELL=\${CONFIG_SHELL-$SHELL} export SHELL _ASEOF cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1 ## -------------------- ## ## M4sh Initialization. ## ## -------------------- ## # Be more Bourne compatible DUALCASE=1; export DUALCASE # for MKS sh if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then : emulate sh NULLCMD=: # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which # is contrary to our usage. Disable this feature. alias -g '${1+"$@"}'='"$@"' setopt NO_GLOB_SUBST else case `(set -o) 2>/dev/null` in #( *posix*) : set -o posix ;; #( *) : ;; esac fi as_nl=' ' export as_nl # Printing a long string crashes Solaris 7 /usr/bin/printf. as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo # Prefer a ksh shell builtin over an external printf program on Solaris, # but without wasting forks for bash or zsh. if test -z "$BASH_VERSION$ZSH_VERSION" \ && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then as_echo='print -r --' as_echo_n='print -rn --' elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then as_echo='printf %s\n' as_echo_n='printf %s' else if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"' as_echo_n='/usr/ucb/echo -n' else as_echo_body='eval expr "X$1" : "X\\(.*\\)"' as_echo_n_body='eval arg=$1; case $arg in #( *"$as_nl"*) expr "X$arg" : "X\\(.*\\)$as_nl"; arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;; esac; expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl" ' export as_echo_n_body as_echo_n='sh -c $as_echo_n_body as_echo' fi export as_echo_body as_echo='sh -c $as_echo_body as_echo' fi # The user is always right. if test "${PATH_SEPARATOR+set}" != set; then PATH_SEPARATOR=: (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && { (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 || PATH_SEPARATOR=';' } fi # IFS # We need space, tab and new line, in precisely that order. Quoting is # there to prevent editors from complaining about space-tab. # (If _AS_PATH_WALK were called with IFS unset, it would disable word # splitting by setting IFS to empty value.) IFS=" "" $as_nl" # Find who we are. Look in the path if we contain no directory separator. as_myself= case $0 in #(( *[\\/]* ) as_myself=$0 ;; *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break done IFS=$as_save_IFS ;; esac # We did not find ourselves, most probably we were run as `sh COMMAND' # in which case we are not to be found in the path. if test "x$as_myself" = x; then as_myself=$0 fi if test ! -f "$as_myself"; then $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 exit 1 fi # Unset variables that we do not need and which cause bugs (e.g. in # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1" # suppresses any "Segmentation fault" message there. '((' could # trigger a bug in pdksh 5.2.14. for as_var in BASH_ENV ENV MAIL MAILPATH do eval test x\${$as_var+set} = xset \ && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || : done PS1='$ ' PS2='> ' PS4='+ ' # NLS nuisances. LC_ALL=C export LC_ALL LANGUAGE=C export LANGUAGE # CDPATH. (unset CDPATH) >/dev/null 2>&1 && unset CDPATH # as_fn_error STATUS ERROR [LINENO LOG_FD] # ---------------------------------------- # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are # provided, also output the error to LOG_FD, referencing LINENO. Then exit the # script with STATUS, using 1 if that was 0. as_fn_error () { as_status=$1; test $as_status -eq 0 && as_status=1 if test "$4"; then as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4 fi $as_echo "$as_me: error: $2" >&2 as_fn_exit $as_status } # as_fn_error # as_fn_set_status STATUS # ----------------------- # Set $? to STATUS, without forking. as_fn_set_status () { return $1 } # as_fn_set_status # as_fn_exit STATUS # ----------------- # Exit the shell with STATUS, even in a "trap 0" or "set -e" context. as_fn_exit () { set +e as_fn_set_status $1 exit $1 } # as_fn_exit # as_fn_unset VAR # --------------- # Portably unset VAR. as_fn_unset () { { eval $1=; unset $1;} } as_unset=as_fn_unset # as_fn_append VAR VALUE # ---------------------- # Append the text in VALUE to the end of the definition contained in VAR. Take # advantage of any shell optimizations that allow amortized linear growth over # repeated appends, instead of the typical quadratic growth present in naive # implementations. if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then : eval 'as_fn_append () { eval $1+=\$2 }' else as_fn_append () { eval $1=\$$1\$2 } fi # as_fn_append # as_fn_arith ARG... # ------------------ # Perform arithmetic evaluation on the ARGs, and store the result in the # global $as_val. Take advantage of shells that can avoid forks. The arguments # must be portable across $(()) and expr. if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then : eval 'as_fn_arith () { as_val=$(( $* )) }' else as_fn_arith () { as_val=`expr "$@" || test $? -eq 1` } fi # as_fn_arith if expr a : '\(a\)' >/dev/null 2>&1 && test "X`expr 00001 : '.*\(...\)'`" = X001; then as_expr=expr else as_expr=false fi if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then as_basename=basename else as_basename=false fi if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then as_dirname=dirname else as_dirname=false fi as_me=`$as_basename -- "$0" || $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ X"$0" : 'X\(//\)$' \| \ X"$0" : 'X\(/\)' \| . 2>/dev/null || $as_echo X/"$0" | sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/ q } /^X\/\(\/\/\)$/{ s//\1/ q } /^X\/\(\/\).*/{ s//\1/ q } s/.*/./; q'` # Avoid depending upon Character Ranges. as_cr_letters='abcdefghijklmnopqrstuvwxyz' as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' as_cr_Letters=$as_cr_letters$as_cr_LETTERS as_cr_digits='0123456789' as_cr_alnum=$as_cr_Letters$as_cr_digits ECHO_C= ECHO_N= ECHO_T= case `echo -n x` in #((((( -n*) case `echo 'xy\c'` in *c*) ECHO_T=' ';; # ECHO_T is single tab character. xy) ECHO_C='\c';; *) echo `echo ksh88 bug on AIX 6.1` > /dev/null ECHO_T=' ';; esac;; *) ECHO_N='-n';; esac rm -f conf$$ conf$$.exe conf$$.file if test -d conf$$.dir; then rm -f conf$$.dir/conf$$.file else rm -f conf$$.dir mkdir conf$$.dir 2>/dev/null fi if (echo >conf$$.file) 2>/dev/null; then if ln -s conf$$.file conf$$ 2>/dev/null; then as_ln_s='ln -s' # ... but there are two gotchas: # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. # In both cases, we have to default to `cp -pR'. ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || as_ln_s='cp -pR' elif ln conf$$.file conf$$ 2>/dev/null; then as_ln_s=ln else as_ln_s='cp -pR' fi else as_ln_s='cp -pR' fi rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file rmdir conf$$.dir 2>/dev/null # as_fn_mkdir_p # ------------- # Create "$as_dir" as a directory, including parents if necessary. as_fn_mkdir_p () { case $as_dir in #( -*) as_dir=./$as_dir;; esac test -d "$as_dir" || eval $as_mkdir_p || { as_dirs= while :; do case $as_dir in #( *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( *) as_qdir=$as_dir;; esac as_dirs="'$as_qdir' $as_dirs" as_dir=`$as_dirname -- "$as_dir" || $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ X"$as_dir" : 'X\(//\)[^/]' \| \ X"$as_dir" : 'X\(//\)$' \| \ X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || $as_echo X"$as_dir" | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/ q } /^X\(\/\/\)[^/].*/{ s//\1/ q } /^X\(\/\/\)$/{ s//\1/ q } /^X\(\/\).*/{ s//\1/ q } s/.*/./; q'` test -d "$as_dir" && break done test -z "$as_dirs" || eval "mkdir $as_dirs" } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir" } # as_fn_mkdir_p if mkdir -p . 2>/dev/null; then as_mkdir_p='mkdir -p "$as_dir"' else test -d ./-p && rmdir ./-p as_mkdir_p=false fi # as_fn_executable_p FILE # ----------------------- # Test if FILE is an executable regular file. as_fn_executable_p () { test -f "$1" && test -x "$1" } # as_fn_executable_p as_test_x='test -x' as_executable_p=as_fn_executable_p # Sed expression to map a string onto a valid CPP name. as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" # Sed expression to map a string onto a valid variable name. as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" exec 6>&1 ## ----------------------------------- ## ## Main body of $CONFIG_STATUS script. ## ## ----------------------------------- ## _ASEOF test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 # Save the log message, to keep $0 and so on meaningful, and to # report actual input values of CONFIG_FILES etc. instead of their # values after options handling. ac_log=" This file was extended by pal $as_me 0.5.0, which was generated by Starlink Autoconf 2.69. Invocation command line was CONFIG_FILES = $CONFIG_FILES CONFIG_HEADERS = $CONFIG_HEADERS CONFIG_LINKS = $CONFIG_LINKS CONFIG_COMMANDS = $CONFIG_COMMANDS $ $0 $@ on `(hostname || uname -n) 2>/dev/null | sed 1q` " _ACEOF case $ac_config_files in *" "*) set x $ac_config_files; shift; ac_config_files=$*;; esac case $ac_config_headers in *" "*) set x $ac_config_headers; shift; ac_config_headers=$*;; esac cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 # Files that config.status was made for. config_files="$ac_config_files" config_headers="$ac_config_headers" config_commands="$ac_config_commands" _ACEOF cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 ac_cs_usage="\ \`$as_me' instantiates files and other configuration actions from templates according to the current configuration. Unless the files and actions are specified as TAGs, all are instantiated by default. Usage: $0 [OPTION]... [TAG]... -h, --help print this help, then exit -V, --version print version number and configuration settings, then exit --config print configuration, then exit -q, --quiet, --silent do not print progress messages -d, --debug don't remove temporary files --recheck update $as_me by reconfiguring in the same conditions --file=FILE[:TEMPLATE] instantiate the configuration file FILE --header=FILE[:TEMPLATE] instantiate the configuration header FILE Configuration files: $config_files Configuration headers: $config_headers Configuration commands: $config_commands Report bugs to ." _ACEOF cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`" ac_cs_version="\\ pal config.status 0.5.0 configured by $0, generated by Starlink Autoconf 2.69, with options \\"\$ac_cs_config\\" Copyright (C) 2012 Free Software Foundation, Inc. This config.status script is free software; the Free Software Foundation gives unlimited permission to copy, distribute and modify it." ac_pwd='$ac_pwd' srcdir='$srcdir' INSTALL='$INSTALL' MKDIR_P='$MKDIR_P' AWK='$AWK' test -n "\$AWK" || AWK=awk _ACEOF cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 # The default lists apply if the user does not specify any file. ac_need_defaults=: while test $# != 0 do case $1 in --*=?*) ac_option=`expr "X$1" : 'X\([^=]*\)='` ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'` ac_shift=: ;; --*=) ac_option=`expr "X$1" : 'X\([^=]*\)='` ac_optarg= ac_shift=: ;; *) ac_option=$1 ac_optarg=$2 ac_shift=shift ;; esac case $ac_option in # Handling of the options. -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r) ac_cs_recheck=: ;; --version | --versio | --versi | --vers | --ver | --ve | --v | -V ) $as_echo "$ac_cs_version"; exit ;; --config | --confi | --conf | --con | --co | --c ) $as_echo "$ac_cs_config"; exit ;; --debug | --debu | --deb | --de | --d | -d ) debug=: ;; --file | --fil | --fi | --f ) $ac_shift case $ac_optarg in *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; '') as_fn_error $? "missing file argument" ;; esac as_fn_append CONFIG_FILES " '$ac_optarg'" ac_need_defaults=false;; --header | --heade | --head | --hea ) $ac_shift case $ac_optarg in *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; esac as_fn_append CONFIG_HEADERS " '$ac_optarg'" ac_need_defaults=false;; --he | --h) # Conflict between --help and --header as_fn_error $? "ambiguous option: \`$1' Try \`$0 --help' for more information.";; --help | --hel | -h ) $as_echo "$ac_cs_usage"; exit ;; -q | -quiet | --quiet | --quie | --qui | --qu | --q \ | -silent | --silent | --silen | --sile | --sil | --si | --s) ac_cs_silent=: ;; # This is an error. -*) as_fn_error $? "unrecognized option: \`$1' Try \`$0 --help' for more information." ;; *) as_fn_append ac_config_targets " $1" ac_need_defaults=false ;; esac shift done ac_configure_extra_args= if $ac_cs_silent; then exec 6>/dev/null ac_configure_extra_args="$ac_configure_extra_args --silent" fi _ACEOF cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 if \$ac_cs_recheck; then set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion shift \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6 CONFIG_SHELL='$SHELL' export CONFIG_SHELL exec "\$@" fi _ACEOF cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 exec 5>>config.log { echo sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX ## Running $as_me. ## _ASBOX $as_echo "$ac_log" } >&5 _ACEOF cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 # # INIT-COMMANDS # AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir" # The HP-UX ksh and POSIX shell print the target directory to stdout # if CDPATH is set. (unset CDPATH) >/dev/null 2>&1 && unset CDPATH sed_quote_subst='$sed_quote_subst' double_quote_subst='$double_quote_subst' delay_variable_subst='$delay_variable_subst' macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`' macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`' enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`' enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`' pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`' enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`' SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`' ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`' PATH_SEPARATOR='`$ECHO "$PATH_SEPARATOR" | $SED "$delay_single_quote_subst"`' host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`' host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`' host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`' build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`' build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`' build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`' SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`' Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`' GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`' EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`' FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`' LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`' NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`' LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`' max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`' ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`' exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`' lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`' lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`' lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`' lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`' lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`' reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`' reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`' OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`' deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`' file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`' file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`' want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`' DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`' sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`' AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`' AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`' archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`' STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`' RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`' old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`' old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`' old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`' lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`' CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`' CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`' compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`' GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`' lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`' lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`' lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`' lt_cv_sys_global_symbol_to_c_name_address_lib_prefix='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address_lib_prefix" | $SED "$delay_single_quote_subst"`' nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`' lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`' objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`' MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`' lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`' lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`' lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`' lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`' lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`' need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`' MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`' DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`' NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`' LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`' OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`' OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`' libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`' shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`' extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`' archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`' enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`' export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`' whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`' compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`' old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`' old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`' archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`' archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`' module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`' module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`' with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`' allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`' no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`' hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`' hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`' hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`' hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`' hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`' hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`' hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`' inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`' link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`' always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`' export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`' exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`' include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`' prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`' postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`' file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`' variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`' need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`' need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`' version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`' runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`' shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`' shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`' libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`' library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`' soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`' install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`' postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`' postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`' finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`' finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`' hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`' sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`' sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`' hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`' enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`' enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`' enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`' old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`' striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`' LTCC='$LTCC' LTCFLAGS='$LTCFLAGS' compiler='$compiler_DEFAULT' # A function that is used when there is no print builtin or printf. func_fallback_echo () { eval 'cat <<_LTECHO_EOF \$1 _LTECHO_EOF' } # Quote evaled strings. for var in SHELL \ ECHO \ PATH_SEPARATOR \ SED \ GREP \ EGREP \ FGREP \ LD \ NM \ LN_S \ lt_SP2NL \ lt_NL2SP \ reload_flag \ OBJDUMP \ deplibs_check_method \ file_magic_cmd \ file_magic_glob \ want_nocaseglob \ DLLTOOL \ sharedlib_from_linklib_cmd \ AR \ AR_FLAGS \ archiver_list_spec \ STRIP \ RANLIB \ CC \ CFLAGS \ compiler \ lt_cv_sys_global_symbol_pipe \ lt_cv_sys_global_symbol_to_cdecl \ lt_cv_sys_global_symbol_to_c_name_address \ lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \ nm_file_list_spec \ lt_prog_compiler_no_builtin_flag \ lt_prog_compiler_pic \ lt_prog_compiler_wl \ lt_prog_compiler_static \ lt_cv_prog_compiler_c_o \ need_locks \ MANIFEST_TOOL \ DSYMUTIL \ NMEDIT \ LIPO \ OTOOL \ OTOOL64 \ shrext_cmds \ export_dynamic_flag_spec \ whole_archive_flag_spec \ compiler_needs_object \ with_gnu_ld \ allow_undefined_flag \ no_undefined_flag \ hardcode_libdir_flag_spec \ hardcode_libdir_separator \ exclude_expsyms \ include_expsyms \ file_list_spec \ variables_saved_for_relink \ libname_spec \ library_names_spec \ soname_spec \ install_override_mode \ finish_eval \ old_striplib \ striplib; do case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in *[\\\\\\\`\\"\\\$]*) eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\"" ;; *) eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\"" ;; esac done # Double-quote double-evaled strings. for var in reload_cmds \ old_postinstall_cmds \ old_postuninstall_cmds \ old_archive_cmds \ extract_expsyms_cmds \ old_archive_from_new_cmds \ old_archive_from_expsyms_cmds \ archive_cmds \ archive_expsym_cmds \ module_cmds \ module_expsym_cmds \ export_symbols_cmds \ prelink_cmds \ postlink_cmds \ postinstall_cmds \ postuninstall_cmds \ finish_cmds \ sys_lib_search_path_spec \ sys_lib_dlsearch_path_spec; do case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in *[\\\\\\\`\\"\\\$]*) eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\"" ;; *) eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\"" ;; esac done ac_aux_dir='$ac_aux_dir' xsi_shell='$xsi_shell' lt_shell_append='$lt_shell_append' # See if we are running on zsh, and set the options which allow our # commands through without removal of \ escapes INIT. if test -n "\${ZSH_VERSION+set}" ; then setopt NO_GLOB_SUBST fi PACKAGE='$PACKAGE' VERSION='$VERSION' TIMESTAMP='$TIMESTAMP' RM='$RM' ofile='$ofile' _ACEOF cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 # Handling of arguments. for ac_config_target in $ac_config_targets do case $ac_config_target in "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;; "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;; "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;; "component.xml") CONFIG_FILES="$CONFIG_FILES component.xml" ;; "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;; *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;; esac done # If the user did not use the arguments to specify the items to instantiate, # then the envvar interface is used. Set only those that are not. # We use the long form for the default assignment because of an extremely # bizarre bug on SunOS 4.1.3. if $ac_need_defaults; then test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands fi # Have a temporary directory for convenience. Make it in the build tree # simply because there is no reason against having it here, and in addition, # creating and moving files from /tmp can sometimes cause problems. # Hook for its removal unless debugging. # Note that there is a small window in which the directory will not be cleaned: # after its creation but before its name has been assigned to `$tmp'. $debug || { tmp= ac_tmp= trap 'exit_status=$? : "${ac_tmp:=$tmp}" { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status ' 0 trap 'as_fn_exit 1' 1 2 13 15 } # Create a (secure) tmp directory for tmp files. { tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` && test -d "$tmp" } || { tmp=./conf$$-$RANDOM (umask 077 && mkdir "$tmp") } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5 ac_tmp=$tmp # Set up the scripts for CONFIG_FILES section. # No need to generate them if there are no CONFIG_FILES. # This happens for instance with `./config.status config.h'. if test -n "$CONFIG_FILES"; then ac_cr=`echo X | tr X '\015'` # On cygwin, bash can eat \r inside `` if the user requested igncr. # But we know of no other shell where ac_cr would be empty at this # point, so we can use a bashism as a fallback. if test "x$ac_cr" = x; then eval ac_cr=\$\'\\r\' fi ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' /dev/null` if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then ac_cs_awk_cr='\\r' else ac_cs_awk_cr=$ac_cr fi echo 'BEGIN {' >"$ac_tmp/subs1.awk" && _ACEOF { echo "cat >conf$$subs.awk <<_ACEOF" && echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' && echo "_ACEOF" } >conf$$subs.sh || as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'` ac_delim='%!_!# ' for ac_last_try in false false false false false :; do . ./conf$$subs.sh || as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X` if test $ac_delim_n = $ac_delim_num; then break elif $ac_last_try; then as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 else ac_delim="$ac_delim!$ac_delim _$ac_delim!! " fi done rm -f conf$$subs.sh cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK && _ACEOF sed -n ' h s/^/S["/; s/!.*/"]=/ p g s/^[^!]*!// :repl t repl s/'"$ac_delim"'$// t delim :nl h s/\(.\{148\}\)..*/\1/ t more1 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/ p n b repl :more1 s/["\\]/\\&/g; s/^/"/; s/$/"\\/ p g s/.\{148\}// t nl :delim h s/\(.\{148\}\)..*/\1/ t more2 s/["\\]/\\&/g; s/^/"/; s/$/"/ p b :more2 s/["\\]/\\&/g; s/^/"/; s/$/"\\/ p g s/.\{148\}// t delim ' >$CONFIG_STATUS || ac_write_fail=1 rm -f conf$$subs.awk cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 _ACAWK cat >>"\$ac_tmp/subs1.awk" <<_ACAWK && for (key in S) S_is_set[key] = 1 FS = "" } { line = $ 0 nfields = split(line, field, "@") substed = 0 len = length(field[1]) for (i = 2; i < nfields; i++) { key = field[i] keylen = length(key) if (S_is_set[key]) { value = S[key] line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3) len += length(value) + length(field[++i]) substed = 1 } else len += 1 + keylen } print line } _ACAWK _ACEOF cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g" else cat fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \ || as_fn_error $? "could not setup config files machinery" "$LINENO" 5 _ACEOF # VPATH may cause trouble with some makes, so we remove sole $(srcdir), # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and # trailing colons and then remove the whole line if VPATH becomes empty # (actually we leave an empty line to preserve line numbers). if test "x$srcdir" = x.; then ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{ h s/// s/^/:/ s/[ ]*$/:/ s/:\$(srcdir):/:/g s/:\${srcdir}:/:/g s/:@srcdir@:/:/g s/^:*// s/:*$// x s/\(=[ ]*\).*/\1/ G s/\n// s/^[^=]*=[ ]*$// }' fi cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 fi # test -n "$CONFIG_FILES" # Set up the scripts for CONFIG_HEADERS section. # No need to generate them if there are no CONFIG_HEADERS. # This happens for instance with `./config.status Makefile'. if test -n "$CONFIG_HEADERS"; then cat >"$ac_tmp/defines.awk" <<\_ACAWK || BEGIN { _ACEOF # Transform confdefs.h into an awk script `defines.awk', embedded as # here-document in config.status, that substitutes the proper values into # config.h.in to produce config.h. # Create a delimiter string that does not exist in confdefs.h, to ease # handling of long lines. ac_delim='%!_!# ' for ac_last_try in false false :; do ac_tt=`sed -n "/$ac_delim/p" confdefs.h` if test -z "$ac_tt"; then break elif $ac_last_try; then as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5 else ac_delim="$ac_delim!$ac_delim _$ac_delim!! " fi done # For the awk script, D is an array of macro values keyed by name, # likewise P contains macro parameters if any. Preserve backslash # newline sequences. ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]* sed -n ' s/.\{148\}/&'"$ac_delim"'/g t rset :rset s/^[ ]*#[ ]*define[ ][ ]*/ / t def d :def s/\\$// t bsnl s/["\\]/\\&/g s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\ D["\1"]=" \3"/p s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p d :bsnl s/["\\]/\\&/g s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\ D["\1"]=" \3\\\\\\n"\\/p t cont s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p t cont d :cont n s/.\{148\}/&'"$ac_delim"'/g t clear :clear s/\\$// t bsnlc s/["\\]/\\&/g; s/^/"/; s/$/"/p d :bsnlc s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p b cont ' >$CONFIG_STATUS || ac_write_fail=1 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 for (key in D) D_is_set[key] = 1 FS = "" } /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ { line = \$ 0 split(line, arg, " ") if (arg[1] == "#") { defundef = arg[2] mac1 = arg[3] } else { defundef = substr(arg[1], 2) mac1 = arg[2] } split(mac1, mac2, "(") #) macro = mac2[1] prefix = substr(line, 1, index(line, defundef) - 1) if (D_is_set[macro]) { # Preserve the white space surrounding the "#". print prefix "define", macro P[macro] D[macro] next } else { # Replace #undef with comments. This is necessary, for example, # in the case of _POSIX_SOURCE, which is predefined and required # on some systems where configure will not decide to define it. if (defundef == "undef") { print "/*", prefix defundef, macro, "*/" next } } } { print } _ACAWK _ACEOF cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5 fi # test -n "$CONFIG_HEADERS" eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS" shift for ac_tag do case $ac_tag in :[FHLC]) ac_mode=$ac_tag; continue;; esac case $ac_mode$ac_tag in :[FHL]*:*);; :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;; :[FH]-) ac_tag=-:-;; :[FH]*) ac_tag=$ac_tag:$ac_tag.in;; esac ac_save_IFS=$IFS IFS=: set x $ac_tag IFS=$ac_save_IFS shift ac_file=$1 shift case $ac_mode in :L) ac_source=$1;; :[FH]) ac_file_inputs= for ac_f do case $ac_f in -) ac_f="$ac_tmp/stdin";; *) # Look for the file first in the build tree, then in the source tree # (if the path is not absolute). The absolute path cannot be DOS-style, # because $ac_f cannot contain `:'. test -f "$ac_f" || case $ac_f in [\\/$]*) false;; *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";; esac || as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;; esac case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac as_fn_append ac_file_inputs " '$ac_f'" done # Let's still pretend it is `configure' which instantiates (i.e., don't # use $as_me), people would be surprised to read: # /* config.h. Generated by config.status. */ configure_input='Generated from '` $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g' `' by configure.' if test x"$ac_file" != x-; then configure_input="$ac_file. $configure_input" { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5 $as_echo "$as_me: creating $ac_file" >&6;} fi # Neutralize special characters interpreted by sed in replacement strings. case $configure_input in #( *\&* | *\|* | *\\* ) ac_sed_conf_input=`$as_echo "$configure_input" | sed 's/[\\\\&|]/\\\\&/g'`;; #( *) ac_sed_conf_input=$configure_input;; esac case $ac_tag in *:-:* | *:-) cat >"$ac_tmp/stdin" \ || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;; esac ;; esac ac_dir=`$as_dirname -- "$ac_file" || $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ X"$ac_file" : 'X\(//\)[^/]' \| \ X"$ac_file" : 'X\(//\)$' \| \ X"$ac_file" : 'X\(/\)' \| . 2>/dev/null || $as_echo X"$ac_file" | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/ q } /^X\(\/\/\)[^/].*/{ s//\1/ q } /^X\(\/\/\)$/{ s//\1/ q } /^X\(\/\).*/{ s//\1/ q } s/.*/./; q'` as_dir="$ac_dir"; as_fn_mkdir_p ac_builddir=. case "$ac_dir" in .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; *) ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'` # A ".." for each directory in $ac_dir_suffix. ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` case $ac_top_builddir_sub in "") ac_top_builddir_sub=. ac_top_build_prefix= ;; *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; esac ;; esac ac_abs_top_builddir=$ac_pwd ac_abs_builddir=$ac_pwd$ac_dir_suffix # for backward compatibility: ac_top_builddir=$ac_top_build_prefix case $srcdir in .) # We are building in place. ac_srcdir=. ac_top_srcdir=$ac_top_builddir_sub ac_abs_top_srcdir=$ac_pwd ;; [\\/]* | ?:[\\/]* ) # Absolute name. ac_srcdir=$srcdir$ac_dir_suffix; ac_top_srcdir=$srcdir ac_abs_top_srcdir=$srcdir ;; *) # Relative name. ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix ac_top_srcdir=$ac_top_build_prefix$srcdir ac_abs_top_srcdir=$ac_pwd/$srcdir ;; esac ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix case $ac_mode in :F) # # CONFIG_FILE # case $INSTALL in [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;; *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;; esac ac_MKDIR_P=$MKDIR_P case $MKDIR_P in [\\/$]* | ?:[\\/]* ) ;; */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;; esac _ACEOF cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 # If the template does not know about datarootdir, expand it. # FIXME: This hack should be removed a few years after 2.60. ac_datarootdir_hack=; ac_datarootdir_seen= ac_sed_dataroot=' /datarootdir/ { p q } /@datadir@/p /@docdir@/p /@infodir@/p /@localedir@/p /@mandir@/p' case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in *datarootdir*) ac_datarootdir_seen=yes;; *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;} _ACEOF cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 ac_datarootdir_hack=' s&@datadir@&$datadir&g s&@docdir@&$docdir&g s&@infodir@&$infodir&g s&@localedir@&$localedir&g s&@mandir@&$mandir&g s&\\\${datarootdir}&$datarootdir&g' ;; esac _ACEOF # Neutralize VPATH when `$srcdir' = `.'. # Shell code in configure.ac might set extrasub. # FIXME: do we really want to maintain this feature? cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 ac_sed_extra="$ac_vpsub $extrasub _ACEOF cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 :t /@[a-zA-Z_][a-zA-Z_0-9]*@/!b s|@configure_input@|$ac_sed_conf_input|;t t s&@top_builddir@&$ac_top_builddir_sub&;t t s&@top_build_prefix@&$ac_top_build_prefix&;t t s&@srcdir@&$ac_srcdir&;t t s&@abs_srcdir@&$ac_abs_srcdir&;t t s&@top_srcdir@&$ac_top_srcdir&;t t s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t s&@builddir@&$ac_builddir&;t t s&@abs_builddir@&$ac_abs_builddir&;t t s&@abs_top_builddir@&$ac_abs_top_builddir&;t t s&@INSTALL@&$ac_INSTALL&;t t s&@MKDIR_P@&$ac_MKDIR_P&;t t $ac_datarootdir_hack " eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \ >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" && { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } && { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \ "$ac_tmp/out"`; test -z "$ac_out"; } && { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir' which seems to be undefined. Please make sure it is defined" >&5 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir' which seems to be undefined. Please make sure it is defined" >&2;} rm -f "$ac_tmp/stdin" case $ac_file in -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";; *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";; esac \ || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;; :H) # # CONFIG_HEADER # if test x"$ac_file" != x-; then { $as_echo "/* $configure_input */" \ && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" } >"$ac_tmp/config.h" \ || as_fn_error $? "could not create $ac_file" "$LINENO" 5 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5 $as_echo "$as_me: $ac_file is unchanged" >&6;} else rm -f "$ac_file" mv "$ac_tmp/config.h" "$ac_file" \ || as_fn_error $? "could not create $ac_file" "$LINENO" 5 fi else $as_echo "/* $configure_input */" \ && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \ || as_fn_error $? "could not create -" "$LINENO" 5 fi # Compute "$ac_file"'s index in $config_headers. _am_arg="$ac_file" _am_stamp_count=1 for _am_header in $config_headers :; do case $_am_header in $_am_arg | $_am_arg:* ) break ;; * ) _am_stamp_count=`expr $_am_stamp_count + 1` ;; esac done echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" || $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ X"$_am_arg" : 'X\(//\)[^/]' \| \ X"$_am_arg" : 'X\(//\)$' \| \ X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null || $as_echo X"$_am_arg" | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/ q } /^X\(\/\/\)[^/].*/{ s//\1/ q } /^X\(\/\/\)$/{ s//\1/ q } /^X\(\/\).*/{ s//\1/ q } s/.*/./; q'`/stamp-h$_am_stamp_count ;; :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5 $as_echo "$as_me: executing $ac_file commands" >&6;} ;; esac case $ac_file$ac_mode in "depfiles":C) test x"$AMDEP_TRUE" != x"" || { # Older Autoconf quotes --file arguments for eval, but not when files # are listed without --file. Let's play safe and only enable the eval # if we detect the quoting. case $CONFIG_FILES in *\'*) eval set x "$CONFIG_FILES" ;; *) set x $CONFIG_FILES ;; esac shift for mf do # Strip MF so we end up with the name of the file. mf=`echo "$mf" | sed -e 's/:.*$//'` # Check whether this is an Automake generated Makefile or not. # We used to match only the files named 'Makefile.in', but # some people rename them; so instead we look at the file content. # Grep'ing the first line is not enough: some people post-process # each Makefile.in and add a new line on top of each file to say so. # Grep'ing the whole file is not good either: AIX grep has a line # limit of 2048, but all sed's we know have understand at least 4000. if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then dirpart=`$as_dirname -- "$mf" || $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ X"$mf" : 'X\(//\)[^/]' \| \ X"$mf" : 'X\(//\)$' \| \ X"$mf" : 'X\(/\)' \| . 2>/dev/null || $as_echo X"$mf" | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/ q } /^X\(\/\/\)[^/].*/{ s//\1/ q } /^X\(\/\/\)$/{ s//\1/ q } /^X\(\/\).*/{ s//\1/ q } s/.*/./; q'` else continue fi # Extract the definition of DEPDIR, am__include, and am__quote # from the Makefile without running 'make'. DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"` test -z "$DEPDIR" && continue am__include=`sed -n 's/^am__include = //p' < "$mf"` test -z "$am__include" && continue am__quote=`sed -n 's/^am__quote = //p' < "$mf"` # Find all dependency output files, they are included files with # $(DEPDIR) in their names. We invoke sed twice because it is the # simplest approach to changing $(DEPDIR) to its actual value in the # expansion. for file in `sed -n " s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \ sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g'`; do # Make sure the directory exists. test -f "$dirpart/$file" && continue fdir=`$as_dirname -- "$file" || $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ X"$file" : 'X\(//\)[^/]' \| \ X"$file" : 'X\(//\)$' \| \ X"$file" : 'X\(/\)' \| . 2>/dev/null || $as_echo X"$file" | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/ q } /^X\(\/\/\)[^/].*/{ s//\1/ q } /^X\(\/\/\)$/{ s//\1/ q } /^X\(\/\).*/{ s//\1/ q } s/.*/./; q'` as_dir=$dirpart/$fdir; as_fn_mkdir_p # echo "creating $dirpart/$file" echo '# dummy' > "$dirpart/$file" done done } ;; "libtool":C) # See if we are running on zsh, and set the options which allow our # commands through without removal of \ escapes. if test -n "${ZSH_VERSION+set}" ; then setopt NO_GLOB_SUBST fi cfgfile="${ofile}T" trap "$RM \"$cfgfile\"; exit 1" 1 2 15 $RM "$cfgfile" cat <<_LT_EOF >> "$cfgfile" #! $SHELL # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services. # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`: # NOTE: Changes made to this file will be lost: look at ltmain.sh. # # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005, # 2006, 2007, 2008, 2009, 2010, 2011 Free Software # Foundation, Inc. # Written by Gordon Matzigkeit, 1996 # # This file is part of GNU Libtool. # # GNU Libtool is free software; you can redistribute it and/or # modify it under the terms of the GNU General Public License as # published by the Free Software Foundation; either version 2 of # the License, or (at your option) any later version. # # As a special exception to the GNU General Public License, # if you distribute this file as part of a program or library that # is built using GNU Libtool, you may include this file under the # same distribution terms that you use for the rest of that program. # # GNU Libtool is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU General Public License for more details. # # You should have received a copy of the GNU General Public License # along with GNU Libtool; see the file COPYING. If not, a copy # can be downloaded from http://www.gnu.org/licenses/gpl.html, or # obtained by writing to the Free Software Foundation, Inc., # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. # The names of the tagged configurations supported by this script. available_tags="" # ### BEGIN LIBTOOL CONFIG # Which release of libtool.m4 was used? macro_version=$macro_version macro_revision=$macro_revision # Whether or not to build shared libraries. build_libtool_libs=$enable_shared # Whether or not to build static libraries. build_old_libs=$enable_static # What type of objects to build. pic_mode=$pic_mode # Whether or not to optimize for fast installation. fast_install=$enable_fast_install # Shell to use when invoking shell scripts. SHELL=$lt_SHELL # An echo program that protects backslashes. ECHO=$lt_ECHO # The PATH separator for the build system. PATH_SEPARATOR=$lt_PATH_SEPARATOR # The host system. host_alias=$host_alias host=$host host_os=$host_os # The build system. build_alias=$build_alias build=$build build_os=$build_os # A sed program that does not truncate output. SED=$lt_SED # Sed that helps us avoid accidentally triggering echo(1) options like -n. Xsed="\$SED -e 1s/^X//" # A grep program that handles long lines. GREP=$lt_GREP # An ERE matcher. EGREP=$lt_EGREP # A literal string matcher. FGREP=$lt_FGREP # A BSD- or MS-compatible name lister. NM=$lt_NM # Whether we need soft or hard links. LN_S=$lt_LN_S # What is the maximum length of a command? max_cmd_len=$max_cmd_len # Object file suffix (normally "o"). objext=$ac_objext # Executable file suffix (normally ""). exeext=$exeext # whether the shell understands "unset". lt_unset=$lt_unset # turn spaces into newlines. SP2NL=$lt_lt_SP2NL # turn newlines into spaces. NL2SP=$lt_lt_NL2SP # convert \$build file names to \$host format. to_host_file_cmd=$lt_cv_to_host_file_cmd # convert \$build files to toolchain format. to_tool_file_cmd=$lt_cv_to_tool_file_cmd # An object symbol dumper. OBJDUMP=$lt_OBJDUMP # Method to check whether dependent libraries are shared objects. deplibs_check_method=$lt_deplibs_check_method # Command to use when deplibs_check_method = "file_magic". file_magic_cmd=$lt_file_magic_cmd # How to find potential files when deplibs_check_method = "file_magic". file_magic_glob=$lt_file_magic_glob # Find potential files using nocaseglob when deplibs_check_method = "file_magic". want_nocaseglob=$lt_want_nocaseglob # DLL creation program. DLLTOOL=$lt_DLLTOOL # Command to associate shared and link libraries. sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd # The archiver. AR=$lt_AR # Flags to create an archive. AR_FLAGS=$lt_AR_FLAGS # How to feed a file listing to the archiver. archiver_list_spec=$lt_archiver_list_spec # A symbol stripping program. STRIP=$lt_STRIP # Commands used to install an old-style archive. RANLIB=$lt_RANLIB old_postinstall_cmds=$lt_old_postinstall_cmds old_postuninstall_cmds=$lt_old_postuninstall_cmds # Whether to use a lock for old archive extraction. lock_old_archive_extraction=$lock_old_archive_extraction # A C compiler. LTCC=$lt_CC # LTCC compiler flags. LTCFLAGS=$lt_CFLAGS # Take the output of nm and produce a listing of raw symbols and C names. global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe # Transform the output of nm in a proper C declaration. global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl # Transform the output of nm in a C name address pair. global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address # Transform the output of nm in a C name address pair when lib prefix is needed. global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix # Specify filename containing input files for \$NM. nm_file_list_spec=$lt_nm_file_list_spec # The root where to search for dependent libraries,and in which our libraries should be installed. lt_sysroot=$lt_sysroot # The name of the directory that contains temporary libtool files. objdir=$objdir # Used to examine libraries when file_magic_cmd begins with "file". MAGIC_CMD=$MAGIC_CMD # Must we lock files when doing compilation? need_locks=$lt_need_locks # Manifest tool. MANIFEST_TOOL=$lt_MANIFEST_TOOL # Tool to manipulate archived DWARF debug symbol files on Mac OS X. DSYMUTIL=$lt_DSYMUTIL # Tool to change global to local symbols on Mac OS X. NMEDIT=$lt_NMEDIT # Tool to manipulate fat objects and archives on Mac OS X. LIPO=$lt_LIPO # ldd/readelf like tool for Mach-O binaries on Mac OS X. OTOOL=$lt_OTOOL # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4. OTOOL64=$lt_OTOOL64 # Old archive suffix (normally "a"). libext=$libext # Shared library suffix (normally ".so"). shrext_cmds=$lt_shrext_cmds # The commands to extract the exported symbol list from a shared archive. extract_expsyms_cmds=$lt_extract_expsyms_cmds # Variables whose values should be saved in libtool wrapper scripts and # restored at link time. variables_saved_for_relink=$lt_variables_saved_for_relink # Do we need the "lib" prefix for modules? need_lib_prefix=$need_lib_prefix # Do we need a version for libraries? need_version=$need_version # Library versioning type. version_type=$version_type # Shared library runtime path variable. runpath_var=$runpath_var # Shared library path variable. shlibpath_var=$shlibpath_var # Is shlibpath searched before the hard-coded library search path? shlibpath_overrides_runpath=$shlibpath_overrides_runpath # Format of library name prefix. libname_spec=$lt_libname_spec # List of archive names. First name is the real one, the rest are links. # The last name is the one that the linker finds with -lNAME library_names_spec=$lt_library_names_spec # The coded name of the library, if different from the real name. soname_spec=$lt_soname_spec # Permission mode override for installation of shared libraries. install_override_mode=$lt_install_override_mode # Command to use after installation of a shared archive. postinstall_cmds=$lt_postinstall_cmds # Command to use after uninstallation of a shared archive. postuninstall_cmds=$lt_postuninstall_cmds # Commands used to finish a libtool library installation in a directory. finish_cmds=$lt_finish_cmds # As "finish_cmds", except a single script fragment to be evaled but # not shown. finish_eval=$lt_finish_eval # Whether we should hardcode library paths into libraries. hardcode_into_libs=$hardcode_into_libs # Compile-time system search path for libraries. sys_lib_search_path_spec=$lt_sys_lib_search_path_spec # Run-time system search path for libraries. sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec # Whether dlopen is supported. dlopen_support=$enable_dlopen # Whether dlopen of programs is supported. dlopen_self=$enable_dlopen_self # Whether dlopen of statically linked programs is supported. dlopen_self_static=$enable_dlopen_self_static # Commands to strip libraries. old_striplib=$lt_old_striplib striplib=$lt_striplib # The linker used to build libraries. LD=$lt_LD # How to create reloadable object files. reload_flag=$lt_reload_flag reload_cmds=$lt_reload_cmds # Commands used to build an old-style archive. old_archive_cmds=$lt_old_archive_cmds # A language specific compiler. CC=$lt_compiler # Is the compiler the GNU compiler? with_gcc=$GCC # Compiler flag to turn off builtin functions. no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag # Additional compiler flags for building library objects. pic_flag=$lt_lt_prog_compiler_pic # How to pass a linker flag through the compiler. wl=$lt_lt_prog_compiler_wl # Compiler flag to prevent dynamic linking. link_static_flag=$lt_lt_prog_compiler_static # Does compiler simultaneously support -c and -o options? compiler_c_o=$lt_lt_cv_prog_compiler_c_o # Whether or not to add -lc for building shared libraries. build_libtool_need_lc=$archive_cmds_need_lc # Whether or not to disallow shared libs when runtime libs are static. allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes # Compiler flag to allow reflexive dlopens. export_dynamic_flag_spec=$lt_export_dynamic_flag_spec # Compiler flag to generate shared objects directly from archives. whole_archive_flag_spec=$lt_whole_archive_flag_spec # Whether the compiler copes with passing no objects directly. compiler_needs_object=$lt_compiler_needs_object # Create an old-style archive from a shared archive. old_archive_from_new_cmds=$lt_old_archive_from_new_cmds # Create a temporary old-style archive to link instead of a shared archive. old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds # Commands used to build a shared archive. archive_cmds=$lt_archive_cmds archive_expsym_cmds=$lt_archive_expsym_cmds # Commands used to build a loadable module if different from building # a shared archive. module_cmds=$lt_module_cmds module_expsym_cmds=$lt_module_expsym_cmds # Whether we are building with GNU ld or not. with_gnu_ld=$lt_with_gnu_ld # Flag that allows shared libraries with undefined symbols to be built. allow_undefined_flag=$lt_allow_undefined_flag # Flag that enforces no undefined symbols. no_undefined_flag=$lt_no_undefined_flag # Flag to hardcode \$libdir into a binary during linking. # This must work even if \$libdir does not exist hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec # Whether we need a single "-rpath" flag with a separated argument. hardcode_libdir_separator=$lt_hardcode_libdir_separator # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes # DIR into the resulting binary. hardcode_direct=$hardcode_direct # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes # DIR into the resulting binary and the resulting library dependency is # "absolute",i.e impossible to change by setting \${shlibpath_var} if the # library is relocated. hardcode_direct_absolute=$hardcode_direct_absolute # Set to "yes" if using the -LDIR flag during linking hardcodes DIR # into the resulting binary. hardcode_minus_L=$hardcode_minus_L # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR # into the resulting binary. hardcode_shlibpath_var=$hardcode_shlibpath_var # Set to "yes" if building a shared library automatically hardcodes DIR # into the library and all subsequent libraries and executables linked # against it. hardcode_automatic=$hardcode_automatic # Set to yes if linker adds runtime paths of dependent libraries # to runtime path list. inherit_rpath=$inherit_rpath # Whether libtool must link a program against all its dependency libraries. link_all_deplibs=$link_all_deplibs # Set to "yes" if exported symbols are required. always_export_symbols=$always_export_symbols # The commands to list exported symbols. export_symbols_cmds=$lt_export_symbols_cmds # Symbols that should not be listed in the preloaded symbols. exclude_expsyms=$lt_exclude_expsyms # Symbols that must always be exported. include_expsyms=$lt_include_expsyms # Commands necessary for linking programs (against libraries) with templates. prelink_cmds=$lt_prelink_cmds # Commands necessary for finishing linking programs. postlink_cmds=$lt_postlink_cmds # Specify filename containing input files. file_list_spec=$lt_file_list_spec # How to hardcode a shared library path into an executable. hardcode_action=$hardcode_action # ### END LIBTOOL CONFIG _LT_EOF case $host_os in aix3*) cat <<\_LT_EOF >> "$cfgfile" # AIX sometimes has problems with the GCC collect2 program. For some # reason, if we set the COLLECT_NAMES environment variable, the problems # vanish in a puff of smoke. if test "X${COLLECT_NAMES+set}" != Xset; then COLLECT_NAMES= export COLLECT_NAMES fi _LT_EOF ;; esac ltmain="$ac_aux_dir/ltmain.sh" # We use sed instead of cat because bash on DJGPP gets confused if # if finds mixed CR/LF and LF-only lines. Since sed operates in # text mode, it properly converts lines to CR/LF. This bash problem # is reportedly fixed, but why not run on old versions too? sed '$q' "$ltmain" >> "$cfgfile" \ || (rm -f "$cfgfile"; exit 1) if test x"$xsi_shell" = xyes; then sed -e '/^func_dirname ()$/,/^} # func_dirname /c\ func_dirname ()\ {\ \ case ${1} in\ \ */*) func_dirname_result="${1%/*}${2}" ;;\ \ * ) func_dirname_result="${3}" ;;\ \ esac\ } # Extended-shell func_dirname implementation' "$cfgfile" > $cfgfile.tmp \ && mv -f "$cfgfile.tmp" "$cfgfile" \ || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp") test 0 -eq $? || _lt_function_replace_fail=: sed -e '/^func_basename ()$/,/^} # func_basename /c\ func_basename ()\ {\ \ func_basename_result="${1##*/}"\ } # Extended-shell func_basename implementation' "$cfgfile" > $cfgfile.tmp \ && mv -f "$cfgfile.tmp" "$cfgfile" \ || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp") test 0 -eq $? || _lt_function_replace_fail=: sed -e '/^func_dirname_and_basename ()$/,/^} # func_dirname_and_basename /c\ func_dirname_and_basename ()\ {\ \ case ${1} in\ \ */*) func_dirname_result="${1%/*}${2}" ;;\ \ * ) func_dirname_result="${3}" ;;\ \ esac\ \ func_basename_result="${1##*/}"\ } # Extended-shell func_dirname_and_basename implementation' "$cfgfile" > $cfgfile.tmp \ && mv -f "$cfgfile.tmp" "$cfgfile" \ || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp") test 0 -eq $? || _lt_function_replace_fail=: sed -e '/^func_stripname ()$/,/^} # func_stripname /c\ func_stripname ()\ {\ \ # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are\ \ # positional parameters, so assign one to ordinary parameter first.\ \ func_stripname_result=${3}\ \ func_stripname_result=${func_stripname_result#"${1}"}\ \ func_stripname_result=${func_stripname_result%"${2}"}\ } # Extended-shell func_stripname implementation' "$cfgfile" > $cfgfile.tmp \ && mv -f "$cfgfile.tmp" "$cfgfile" \ || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp") test 0 -eq $? || _lt_function_replace_fail=: sed -e '/^func_split_long_opt ()$/,/^} # func_split_long_opt /c\ func_split_long_opt ()\ {\ \ func_split_long_opt_name=${1%%=*}\ \ func_split_long_opt_arg=${1#*=}\ } # Extended-shell func_split_long_opt implementation' "$cfgfile" > $cfgfile.tmp \ && mv -f "$cfgfile.tmp" "$cfgfile" \ || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp") test 0 -eq $? || _lt_function_replace_fail=: sed -e '/^func_split_short_opt ()$/,/^} # func_split_short_opt /c\ func_split_short_opt ()\ {\ \ func_split_short_opt_arg=${1#??}\ \ func_split_short_opt_name=${1%"$func_split_short_opt_arg"}\ } # Extended-shell func_split_short_opt implementation' "$cfgfile" > $cfgfile.tmp \ && mv -f "$cfgfile.tmp" "$cfgfile" \ || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp") test 0 -eq $? || _lt_function_replace_fail=: sed -e '/^func_lo2o ()$/,/^} # func_lo2o /c\ func_lo2o ()\ {\ \ case ${1} in\ \ *.lo) func_lo2o_result=${1%.lo}.${objext} ;;\ \ *) func_lo2o_result=${1} ;;\ \ esac\ } # Extended-shell func_lo2o implementation' "$cfgfile" > $cfgfile.tmp \ && mv -f "$cfgfile.tmp" "$cfgfile" \ || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp") test 0 -eq $? || _lt_function_replace_fail=: sed -e '/^func_xform ()$/,/^} # func_xform /c\ func_xform ()\ {\ func_xform_result=${1%.*}.lo\ } # Extended-shell func_xform implementation' "$cfgfile" > $cfgfile.tmp \ && mv -f "$cfgfile.tmp" "$cfgfile" \ || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp") test 0 -eq $? || _lt_function_replace_fail=: sed -e '/^func_arith ()$/,/^} # func_arith /c\ func_arith ()\ {\ func_arith_result=$(( $* ))\ } # Extended-shell func_arith implementation' "$cfgfile" > $cfgfile.tmp \ && mv -f "$cfgfile.tmp" "$cfgfile" \ || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp") test 0 -eq $? || _lt_function_replace_fail=: sed -e '/^func_len ()$/,/^} # func_len /c\ func_len ()\ {\ func_len_result=${#1}\ } # Extended-shell func_len implementation' "$cfgfile" > $cfgfile.tmp \ && mv -f "$cfgfile.tmp" "$cfgfile" \ || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp") test 0 -eq $? || _lt_function_replace_fail=: fi if test x"$lt_shell_append" = xyes; then sed -e '/^func_append ()$/,/^} # func_append /c\ func_append ()\ {\ eval "${1}+=\\${2}"\ } # Extended-shell func_append implementation' "$cfgfile" > $cfgfile.tmp \ && mv -f "$cfgfile.tmp" "$cfgfile" \ || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp") test 0 -eq $? || _lt_function_replace_fail=: sed -e '/^func_append_quoted ()$/,/^} # func_append_quoted /c\ func_append_quoted ()\ {\ \ func_quote_for_eval "${2}"\ \ eval "${1}+=\\\\ \\$func_quote_for_eval_result"\ } # Extended-shell func_append_quoted implementation' "$cfgfile" > $cfgfile.tmp \ && mv -f "$cfgfile.tmp" "$cfgfile" \ || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp") test 0 -eq $? || _lt_function_replace_fail=: # Save a `func_append' function call where possible by direct use of '+=' sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1+="%g' $cfgfile > $cfgfile.tmp \ && mv -f "$cfgfile.tmp" "$cfgfile" \ || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp") test 0 -eq $? || _lt_function_replace_fail=: else # Save a `func_append' function call even when '+=' is not available sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1="$\1%g' $cfgfile > $cfgfile.tmp \ && mv -f "$cfgfile.tmp" "$cfgfile" \ || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp") test 0 -eq $? || _lt_function_replace_fail=: fi if test x"$_lt_function_replace_fail" = x":"; then { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Unable to substitute extended shell functions in $ofile" >&5 $as_echo "$as_me: WARNING: Unable to substitute extended shell functions in $ofile" >&2;} fi mv -f "$cfgfile" "$ofile" || (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile") chmod +x "$ofile" ;; esac done # for ac_tag as_fn_exit 0 _ACEOF ac_clean_files=$ac_clean_files_save test $ac_write_fail = 0 || as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5 # configure is writing to config.log, and then calls config.status. # config.status does its own redirection, appending to config.log. # Unfortunately, on DOS this fails, as config.log is still kept open # by configure, so config.status won't be able to write to it; its # output is simply discarded. So we exec the FD to /dev/null, # effectively closing config.log, so it can be properly (re)opened and # appended to by config.status. When coming back to configure, we # need to make the FD available again. if test "$no_create" != yes; then ac_cs_success=: ac_config_status_args= test "$silent" = yes && ac_config_status_args="$ac_config_status_args --quiet" exec 5>/dev/null $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false exec 5>>config.log # Use ||, not &&, to avoid exiting from the if with $? = 1, which # would make configure fail if this is the last instruction. $ac_cs_success || as_fn_exit 1 fi if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;} fi pal-0.5.0/configure.ac000644 000765 000024 00000006537 12366007525 014705 0ustar00timjstaff000000 000000 dnl Process this file with autoconf to produce a configure script AC_REVISION($Revision: 27534 $) dnl Initialisation: package name and version number AC_INIT([pal],[0.5.0],[starlink@jiscmail.ac.uk]) dnl Require autoconf-2.50 at least AC_PREREQ([2.69]) dnl Require Starlink automake AM_INIT_AUTOMAKE(1.8.2-starlink) dnl Sanity-check: name a file in the source directory -- if this dnl isn't found then configure will complain AC_CONFIG_SRCDIR([pal.h]) dnl Include defaults for Starlink configurations STAR_DEFAULTS dnl Find required versions of the programs we need for configuration AC_PROG_CC LT_INIT # If --with-pic=no is set we should honour that. AM_CONDITIONAL(NOPIC, test x$pic_mode = xno) dnl copysign and isblank are a c99 feature AC_CHECK_FUNCS(copysign) AC_CHECK_FUNCS(isblank) dnl Use strlcpy if it is available AC_SEARCH_LIBS([strlcpy], [bsd]) AC_CHECK_FUNCS([strlcpy]) # Need the math library AC_CHECK_LIB([m],[sin]) dnl We can not simply test for Starlink starutil because dnl when configure runs in a Starlink build starutil will not dnl have been built yet. If --without-starlink has been used dnl $STARLINK will be unset so we test that. dnl If we do not have Starlink we can do the test anyhow just in case if test -n "$STARLINK" then AC_SUBST( STARUTIL_LIBADD, "${libdir}/libstarutil.la" ) AC_SUBST( ERFA_LIBADD, "${libdir}/liberfa.la" ) AC_SUBST( ERFA_LDFLAGS, "" ) AC_DEFINE( [HAVE_STAR_UTIL_H], [1], [Define to 1 if you have the header file]) else dnl AC_CHECK_HEADERS does not search $includedir save_CPPFLAGS="$CPPFLAGS" eval CPPFLAGS=\"$CPPFLAGS -I${includdir}\" eval CPPFLAGS=\"$CPPFLAGS\" AC_CHECK_HEADERS( star/util.h ) CPPFLAGS="$save_CPPFLAGS" dnl for some reason AC_CHECK_LIB does not look in the --prefix hierarchy so dnl $libdir is not searched. dnl and we use eval twice to convert $libdir -> $exec_prefix/lib -> $prefix/lib save_LDFLAGS="$LDFLAGS" eval LDFLAGS=\"$LDFLAGS -L${libdir}\" eval LDFLAGS=\"$LDFLAGS\" AC_CHECK_LIB([starutil],[star_strlcpy], [AC_SUBST(STARUTIL_LIBADD, "-lstarutil")], [AC_SUBST(STARUTIL_LIBADD, "")]) AC_CHECK_LIB([erfa],[eraCal2jd], [AC_SUBST(ERFA_LIBADD, "-lerfa")], [ AC_CHECK_LIB([sofa_c],[iauCal2jd], [AC_SUBST(ERFA_LIBADD, "-lsofa_c") AC_DEFINE([HAVE_SOFA_H],[1],"Build with SOFA library")], [AC_MSG_ERROR(Neither ERFA nor SOFA library located. Can not continue)]) ]) LDFLAGS="$save_LDFLAGS" dnl Ensure that we use the $prefix values AC_SUBST( ERFA_LDFLAGS, "-L${libdir}" ) AC_SUBST( ERFA_CPPFLAGS, "-I${includedir}" ) dnl Disable document building regardless of --without-stardocs _star_build_docs=: fi dnl Declare the build and use dependencies for this package STAR_DECLARE_DEPENDENCIES(build, [sofa starutil]) STAR_DECLARE_DEPENDENCIES(link, [sofa starutil]) dnl List the sun/ssn/... numbers which document this package and dnl which are present as .tex files in this directory. STAR_LATEX_DOCUMENTATION(sun267) dnl If you wish to configure extra files, you can add them to this dnl declaration. AC_CONFIG_FILES(Makefile component.xml) AC_CONFIG_HEADERS( config.h ) dnl This is the bit that does the actual work AC_OUTPUT pal-0.5.0/COPYING000644 000765 000024 00000104513 12360544345 013443 0ustar00timjstaff000000 000000 GNU GENERAL PUBLIC LICENSE Version 3, 29 June 2007 Copyright (C) 2007 Free Software Foundation, Inc. Everyone is permitted to copy and distribute verbatim copies of this license document, but changing it is not allowed. Preamble The GNU General Public License is a free, copyleft license for software and other kinds of works. The licenses for most software and other practical works are designed to take away your freedom to share and change the works. By contrast, the GNU General Public License is intended to guarantee your freedom to share and change all versions of a program--to make sure it remains free software for all its users. We, the Free Software Foundation, use the GNU General Public License for most of our software; it applies also to any other work released this way by its authors. You can apply it to your programs, too. When we speak of free software, we are referring to freedom, not price. Our General Public Licenses are designed to make sure that you have the freedom to distribute copies of free software (and charge for them if you wish), that you receive source code or can get it if you want it, that you can change the software or use pieces of it in new free programs, and that you know you can do these things. To protect your rights, we need to prevent others from denying you these rights or asking you to surrender the rights. Therefore, you have certain responsibilities if you distribute copies of the software, or if you modify it: responsibilities to respect the freedom of others. For example, if you distribute copies of such a program, whether gratis or for a fee, you must pass on to the recipients the same freedoms that you received. You must make sure that they, too, receive or can get the source code. And you must show them these terms so they know their rights. Developers that use the GNU GPL protect your rights with two steps: (1) assert copyright on the software, and (2) offer you this License giving you legal permission to copy, distribute and/or modify it. For the developers' and authors' protection, the GPL clearly explains that there is no warranty for this free software. For both users' and authors' sake, the GPL requires that modified versions be marked as changed, so that their problems will not be attributed erroneously to authors of previous versions. Some devices are designed to deny users access to install or run modified versions of the software inside them, although the manufacturer can do so. This is fundamentally incompatible with the aim of protecting users' freedom to change the software. The systematic pattern of such abuse occurs in the area of products for individuals to use, which is precisely where it is most unacceptable. Therefore, we have designed this version of the GPL to prohibit the practice for those products. If such problems arise substantially in other domains, we stand ready to extend this provision to those domains in future versions of the GPL, as needed to protect the freedom of users. Finally, every program is threatened constantly by software patents. States should not allow patents to restrict development and use of software on general-purpose computers, but in those that do, we wish to avoid the special danger that patents applied to a free program could make it effectively proprietary. To prevent this, the GPL assures that patents cannot be used to render the program non-free. The precise terms and conditions for copying, distribution and modification follow. TERMS AND CONDITIONS 0. Definitions. "This License" refers to version 3 of the GNU General Public License. "Copyright" also means copyright-like laws that apply to other kinds of works, such as semiconductor masks. "The Program" refers to any copyrightable work licensed under this License. Each licensee is addressed as "you". "Licensees" and "recipients" may be individuals or organizations. To "modify" a work means to copy from or adapt all or part of the work in a fashion requiring copyright permission, other than the making of an exact copy. The resulting work is called a "modified version" of the earlier work or a work "based on" the earlier work. A "covered work" means either the unmodified Program or a work based on the Program. To "propagate" a work means to do anything with it that, without permission, would make you directly or secondarily liable for infringement under applicable copyright law, except executing it on a computer or modifying a private copy. Propagation includes copying, distribution (with or without modification), making available to the public, and in some countries other activities as well. To "convey" a work means any kind of propagation that enables other parties to make or receive copies. Mere interaction with a user through a computer network, with no transfer of a copy, is not conveying. An interactive user interface displays "Appropriate Legal Notices" to the extent that it includes a convenient and prominently visible feature that (1) displays an appropriate copyright notice, and (2) tells the user that there is no warranty for the work (except to the extent that warranties are provided), that licensees may convey the work under this License, and how to view a copy of this License. If the interface presents a list of user commands or options, such as a menu, a prominent item in the list meets this criterion. 1. Source Code. The "source code" for a work means the preferred form of the work for making modifications to it. "Object code" means any non-source form of a work. A "Standard Interface" means an interface that either is an official standard defined by a recognized standards body, or, in the case of interfaces specified for a particular programming language, one that is widely used among developers working in that language. The "System Libraries" of an executable work include anything, other than the work as a whole, that (a) is included in the normal form of packaging a Major Component, but which is not part of that Major Component, and (b) serves only to enable use of the work with that Major Component, or to implement a Standard Interface for which an implementation is available to the public in source code form. A "Major Component", in this context, means a major essential component (kernel, window system, and so on) of the specific operating system (if any) on which the executable work runs, or a compiler used to produce the work, or an object code interpreter used to run it. The "Corresponding Source" for a work in object code form means all the source code needed to generate, install, and (for an executable work) run the object code and to modify the work, including scripts to control those activities. However, it does not include the work's System Libraries, or general-purpose tools or generally available free programs which are used unmodified in performing those activities but which are not part of the work. For example, Corresponding Source includes interface definition files associated with source files for the work, and the source code for shared libraries and dynamically linked subprograms that the work is specifically designed to require, such as by intimate data communication or control flow between those subprograms and other parts of the work. The Corresponding Source need not include anything that users can regenerate automatically from other parts of the Corresponding Source. The Corresponding Source for a work in source code form is that same work. 2. Basic Permissions. All rights granted under this License are granted for the term of copyright on the Program, and are irrevocable provided the stated conditions are met. This License explicitly affirms your unlimited permission to run the unmodified Program. The output from running a covered work is covered by this License only if the output, given its content, constitutes a covered work. This License acknowledges your rights of fair use or other equivalent, as provided by copyright law. You may make, run and propagate covered works that you do not convey, without conditions so long as your license otherwise remains in force. You may convey covered works to others for the sole purpose of having them make modifications exclusively for you, or provide you with facilities for running those works, provided that you comply with the terms of this License in conveying all material for which you do not control copyright. Those thus making or running the covered works for you must do so exclusively on your behalf, under your direction and control, on terms that prohibit them from making any copies of your copyrighted material outside their relationship with you. Conveying under any other circumstances is permitted solely under the conditions stated below. Sublicensing is not allowed; section 10 makes it unnecessary. 3. Protecting Users' Legal Rights From Anti-Circumvention Law. No covered work shall be deemed part of an effective technological measure under any applicable law fulfilling obligations under article 11 of the WIPO copyright treaty adopted on 20 December 1996, or similar laws prohibiting or restricting circumvention of such measures. When you convey a covered work, you waive any legal power to forbid circumvention of technological measures to the extent such circumvention is effected by exercising rights under this License with respect to the covered work, and you disclaim any intention to limit operation or modification of the work as a means of enforcing, against the work's users, your or third parties' legal rights to forbid circumvention of technological measures. 4. Conveying Verbatim Copies. You may convey verbatim copies of the Program's source code as you receive it, in any medium, provided that you conspicuously and appropriately publish on each copy an appropriate copyright notice; keep intact all notices stating that this License and any non-permissive terms added in accord with section 7 apply to the code; keep intact all notices of the absence of any warranty; and give all recipients a copy of this License along with the Program. You may charge any price or no price for each copy that you convey, and you may offer support or warranty protection for a fee. 5. Conveying Modified Source Versions. You may convey a work based on the Program, or the modifications to produce it from the Program, in the form of source code under the terms of section 4, provided that you also meet all of these conditions: a) The work must carry prominent notices stating that you modified it, and giving a relevant date. b) The work must carry prominent notices stating that it is released under this License and any conditions added under section 7. This requirement modifies the requirement in section 4 to "keep intact all notices". c) You must license the entire work, as a whole, under this License to anyone who comes into possession of a copy. This License will therefore apply, along with any applicable section 7 additional terms, to the whole of the work, and all its parts, regardless of how they are packaged. This License gives no permission to license the work in any other way, but it does not invalidate such permission if you have separately received it. d) If the work has interactive user interfaces, each must display Appropriate Legal Notices; however, if the Program has interactive interfaces that do not display Appropriate Legal Notices, your work need not make them do so. A compilation of a covered work with other separate and independent works, which are not by their nature extensions of the covered work, and which are not combined with it such as to form a larger program, in or on a volume of a storage or distribution medium, is called an "aggregate" if the compilation and its resulting copyright are not used to limit the access or legal rights of the compilation's users beyond what the individual works permit. Inclusion of a covered work in an aggregate does not cause this License to apply to the other parts of the aggregate. 6. Conveying Non-Source Forms. You may convey a covered work in object code form under the terms of sections 4 and 5, provided that you also convey the machine-readable Corresponding Source under the terms of this License, in one of these ways: a) Convey the object code in, or embodied in, a physical product (including a physical distribution medium), accompanied by the Corresponding Source fixed on a durable physical medium customarily used for software interchange. b) Convey the object code in, or embodied in, a physical product (including a physical distribution medium), accompanied by a written offer, valid for at least three years and valid for as long as you offer spare parts or customer support for that product model, to give anyone who possesses the object code either (1) a copy of the Corresponding Source for all the software in the product that is covered by this License, on a durable physical medium customarily used for software interchange, for a price no more than your reasonable cost of physically performing this conveying of source, or (2) access to copy the Corresponding Source from a network server at no charge. c) Convey individual copies of the object code with a copy of the written offer to provide the Corresponding Source. This alternative is allowed only occasionally and noncommercially, and only if you received the object code with such an offer, in accord with subsection 6b. d) Convey the object code by offering access from a designated place (gratis or for a charge), and offer equivalent access to the Corresponding Source in the same way through the same place at no further charge. You need not require recipients to copy the Corresponding Source along with the object code. If the place to copy the object code is a network server, the Corresponding Source may be on a different server (operated by you or a third party) that supports equivalent copying facilities, provided you maintain clear directions next to the object code saying where to find the Corresponding Source. Regardless of what server hosts the Corresponding Source, you remain obligated to ensure that it is available for as long as needed to satisfy these requirements. e) Convey the object code using peer-to-peer transmission, provided you inform other peers where the object code and Corresponding Source of the work are being offered to the general public at no charge under subsection 6d. A separable portion of the object code, whose source code is excluded from the Corresponding Source as a System Library, need not be included in conveying the object code work. A "User Product" is either (1) a "consumer product", which means any tangible personal property which is normally used for personal, family, or household purposes, or (2) anything designed or sold for incorporation into a dwelling. In determining whether a product is a consumer product, doubtful cases shall be resolved in favor of coverage. For a particular product received by a particular user, "normally used" refers to a typical or common use of that class of product, regardless of the status of the particular user or of the way in which the particular user actually uses, or expects or is expected to use, the product. A product is a consumer product regardless of whether the product has substantial commercial, industrial or non-consumer uses, unless such uses represent the only significant mode of use of the product. "Installation Information" for a User Product means any methods, procedures, authorization keys, or other information required to install and execute modified versions of a covered work in that User Product from a modified version of its Corresponding Source. The information must suffice to ensure that the continued functioning of the modified object code is in no case prevented or interfered with solely because modification has been made. If you convey an object code work under this section in, or with, or specifically for use in, a User Product, and the conveying occurs as part of a transaction in which the right of possession and use of the User Product is transferred to the recipient in perpetuity or for a fixed term (regardless of how the transaction is characterized), the Corresponding Source conveyed under this section must be accompanied by the Installation Information. But this requirement does not apply if neither you nor any third party retains the ability to install modified object code on the User Product (for example, the work has been installed in ROM). The requirement to provide Installation Information does not include a requirement to continue to provide support service, warranty, or updates for a work that has been modified or installed by the recipient, or for the User Product in which it has been modified or installed. Access to a network may be denied when the modification itself materially and adversely affects the operation of the network or violates the rules and protocols for communication across the network. Corresponding Source conveyed, and Installation Information provided, in accord with this section must be in a format that is publicly documented (and with an implementation available to the public in source code form), and must require no special password or key for unpacking, reading or copying. 7. Additional Terms. "Additional permissions" are terms that supplement the terms of this License by making exceptions from one or more of its conditions. Additional permissions that are applicable to the entire Program shall be treated as though they were included in this License, to the extent that they are valid under applicable law. If additional permissions apply only to part of the Program, that part may be used separately under those permissions, but the entire Program remains governed by this License without regard to the additional permissions. When you convey a copy of a covered work, you may at your option remove any additional permissions from that copy, or from any part of it. (Additional permissions may be written to require their own removal in certain cases when you modify the work.) You may place additional permissions on material, added by you to a covered work, for which you have or can give appropriate copyright permission. Notwithstanding any other provision of this License, for material you add to a covered work, you may (if authorized by the copyright holders of that material) supplement the terms of this License with terms: a) Disclaiming warranty or limiting liability differently from the terms of sections 15 and 16 of this License; or b) Requiring preservation of specified reasonable legal notices or author attributions in that material or in the Appropriate Legal Notices displayed by works containing it; or c) Prohibiting misrepresentation of the origin of that material, or requiring that modified versions of such material be marked in reasonable ways as different from the original version; or d) Limiting the use for publicity purposes of names of licensors or authors of the material; or e) Declining to grant rights under trademark law for use of some trade names, trademarks, or service marks; or f) Requiring indemnification of licensors and authors of that material by anyone who conveys the material (or modified versions of it) with contractual assumptions of liability to the recipient, for any liability that these contractual assumptions directly impose on those licensors and authors. All other non-permissive additional terms are considered "further restrictions" within the meaning of section 10. If the Program as you received it, or any part of it, contains a notice stating that it is governed by this License along with a term that is a further restriction, you may remove that term. If a license document contains a further restriction but permits relicensing or conveying under this License, you may add to a covered work material governed by the terms of that license document, provided that the further restriction does not survive such relicensing or conveying. If you add terms to a covered work in accord with this section, you must place, in the relevant source files, a statement of the additional terms that apply to those files, or a notice indicating where to find the applicable terms. Additional terms, permissive or non-permissive, may be stated in the form of a separately written license, or stated as exceptions; the above requirements apply either way. 8. Termination. You may not propagate or modify a covered work except as expressly provided under this License. Any attempt otherwise to propagate or modify it is void, and will automatically terminate your rights under this License (including any patent licenses granted under the third paragraph of section 11). However, if you cease all violation of this License, then your license from a particular copyright holder is reinstated (a) provisionally, unless and until the copyright holder explicitly and finally terminates your license, and (b) permanently, if the copyright holder fails to notify you of the violation by some reasonable means prior to 60 days after the cessation. Moreover, your license from a particular copyright holder is reinstated permanently if the copyright holder notifies you of the violation by some reasonable means, this is the first time you have received notice of violation of this License (for any work) from that copyright holder, and you cure the violation prior to 30 days after your receipt of the notice. Termination of your rights under this section does not terminate the licenses of parties who have received copies or rights from you under this License. If your rights have been terminated and not permanently reinstated, you do not qualify to receive new licenses for the same material under section 10. 9. Acceptance Not Required for Having Copies. You are not required to accept this License in order to receive or run a copy of the Program. Ancillary propagation of a covered work occurring solely as a consequence of using peer-to-peer transmission to receive a copy likewise does not require acceptance. However, nothing other than this License grants you permission to propagate or modify any covered work. These actions infringe copyright if you do not accept this License. Therefore, by modifying or propagating a covered work, you indicate your acceptance of this License to do so. 10. Automatic Licensing of Downstream Recipients. Each time you convey a covered work, the recipient automatically receives a license from the original licensors, to run, modify and propagate that work, subject to this License. You are not responsible for enforcing compliance by third parties with this License. An "entity transaction" is a transaction transferring control of an organization, or substantially all assets of one, or subdividing an organization, or merging organizations. If propagation of a covered work results from an entity transaction, each party to that transaction who receives a copy of the work also receives whatever licenses to the work the party's predecessor in interest had or could give under the previous paragraph, plus a right to possession of the Corresponding Source of the work from the predecessor in interest, if the predecessor has it or can get it with reasonable efforts. You may not impose any further restrictions on the exercise of the rights granted or affirmed under this License. For example, you may not impose a license fee, royalty, or other charge for exercise of rights granted under this License, and you may not initiate litigation (including a cross-claim or counterclaim in a lawsuit) alleging that any patent claim is infringed by making, using, selling, offering for sale, or importing the Program or any portion of it. 11. Patents. A "contributor" is a copyright holder who authorizes use under this License of the Program or a work on which the Program is based. The work thus licensed is called the contributor's "contributor version". A contributor's "essential patent claims" are all patent claims owned or controlled by the contributor, whether already acquired or hereafter acquired, that would be infringed by some manner, permitted by this License, of making, using, or selling its contributor version, but do not include claims that would be infringed only as a consequence of further modification of the contributor version. For purposes of this definition, "control" includes the right to grant patent sublicenses in a manner consistent with the requirements of this License. Each contributor grants you a non-exclusive, worldwide, royalty-free patent license under the contributor's essential patent claims, to make, use, sell, offer for sale, import and otherwise run, modify and propagate the contents of its contributor version. In the following three paragraphs, a "patent license" is any express agreement or commitment, however denominated, not to enforce a patent (such as an express permission to practice a patent or covenant not to sue for patent infringement). To "grant" such a patent license to a party means to make such an agreement or commitment not to enforce a patent against the party. If you convey a covered work, knowingly relying on a patent license, and the Corresponding Source of the work is not available for anyone to copy, free of charge and under the terms of this License, through a publicly available network server or other readily accessible means, then you must either (1) cause the Corresponding Source to be so available, or (2) arrange to deprive yourself of the benefit of the patent license for this particular work, or (3) arrange, in a manner consistent with the requirements of this License, to extend the patent license to downstream recipients. "Knowingly relying" means you have actual knowledge that, but for the patent license, your conveying the covered work in a country, or your recipient's use of the covered work in a country, would infringe one or more identifiable patents in that country that you have reason to believe are valid. If, pursuant to or in connection with a single transaction or arrangement, you convey, or propagate by procuring conveyance of, a covered work, and grant a patent license to some of the parties receiving the covered work authorizing them to use, propagate, modify or convey a specific copy of the covered work, then the patent license you grant is automatically extended to all recipients of the covered work and works based on it. A patent license is "discriminatory" if it does not include within the scope of its coverage, prohibits the exercise of, or is conditioned on the non-exercise of one or more of the rights that are specifically granted under this License. You may not convey a covered work if you are a party to an arrangement with a third party that is in the business of distributing software, under which you make payment to the third party based on the extent of your activity of conveying the work, and under which the third party grants, to any of the parties who would receive the covered work from you, a discriminatory patent license (a) in connection with copies of the covered work conveyed by you (or copies made from those copies), or (b) primarily for and in connection with specific products or compilations that contain the covered work, unless you entered into that arrangement, or that patent license was granted, prior to 28 March 2007. Nothing in this License shall be construed as excluding or limiting any implied license or other defenses to infringement that may otherwise be available to you under applicable patent law. 12. No Surrender of Others' Freedom. If conditions are imposed on you (whether by court order, agreement or otherwise) that contradict the conditions of this License, they do not excuse you from the conditions of this License. If you cannot convey a covered work so as to satisfy simultaneously your obligations under this License and any other pertinent obligations, then as a consequence you may not convey it at all. For example, if you agree to terms that obligate you to collect a royalty for further conveying from those to whom you convey the Program, the only way you could satisfy both those terms and this License would be to refrain entirely from conveying the Program. 13. Use with the GNU Affero General Public License. Notwithstanding any other provision of this License, you have permission to link or combine any covered work with a work licensed under version 3 of the GNU Affero General Public License into a single combined work, and to convey the resulting work. The terms of this License will continue to apply to the part which is the covered work, but the special requirements of the GNU Affero General Public License, section 13, concerning interaction through a network will apply to the combination as such. 14. Revised Versions of this License. The Free Software Foundation may publish revised and/or new versions of the GNU General Public License from time to time. Such new versions will be similar in spirit to the present version, but may differ in detail to address new problems or concerns. Each version is given a distinguishing version number. If the Program specifies that a certain numbered version of the GNU General Public License "or any later version" applies to it, you have the option of following the terms and conditions either of that numbered version or of any later version published by the Free Software Foundation. If the Program does not specify a version number of the GNU General Public License, you may choose any version ever published by the Free Software Foundation. If the Program specifies that a proxy can decide which future versions of the GNU General Public License can be used, that proxy's public statement of acceptance of a version permanently authorizes you to choose that version for the Program. Later license versions may give you additional or different permissions. However, no additional obligations are imposed on any author or copyright holder as a result of your choosing to follow a later version. 15. Disclaimer of Warranty. THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING, REPAIR OR CORRECTION. 16. Limitation of Liability. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MODIFIES AND/OR CONVEYS THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. 17. Interpretation of Sections 15 and 16. If the disclaimer of warranty and limitation of liability provided above cannot be given local legal effect according to their terms, reviewing courts shall apply local law that most closely approximates an absolute waiver of all civil liability in connection with the Program, unless a warranty or assumption of liability accompanies a copy of the Program in return for a fee. END OF TERMS AND CONDITIONS How to Apply These Terms to Your New Programs If you develop a new program, and you want it to be of the greatest possible use to the public, the best way to achieve this is to make it free software which everyone can redistribute and change under these terms. To do so, attach the following notices to the program. It is safest to attach them to the start of each source file to most effectively state the exclusion of warranty; and each file should have at least the "copyright" line and a pointer to where the full notice is found. Copyright (C) This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with this program. If not, see . Also add information on how to contact you by electronic and paper mail. If the program does terminal interaction, make it output a short notice like this when it starts in an interactive mode: Copyright (C) This program comes with ABSOLUTELY NO WARRANTY; for details type `show w'. This is free software, and you are welcome to redistribute it under certain conditions; type `show c' for details. The hypothetical commands `show w' and `show c' should show the appropriate parts of the General Public License. Of course, your program's commands might be different; for a GUI interface, you would use an "about box". You should also get your employer (if you work as a programmer) or school, if any, to sign a "copyright disclaimer" for the program, if necessary. For more information on this, and how to apply and follow the GNU GPL, see . The GNU General Public License does not permit incorporating your program into proprietary programs. If your program is a subroutine library, you may consider it more useful to permit linking proprietary applications with the library. If this is what you want to do, use the GNU Lesser General Public License instead of this License. But first, please read . pal-0.5.0/COPYING.LESSER000644 000765 000024 00000016743 12360544345 014446 0ustar00timjstaff000000 000000 GNU LESSER GENERAL PUBLIC LICENSE Version 3, 29 June 2007 Copyright (C) 2007 Free Software Foundation, Inc. Everyone is permitted to copy and distribute verbatim copies of this license document, but changing it is not allowed. This version of the GNU Lesser General Public License incorporates the terms and conditions of version 3 of the GNU General Public License, supplemented by the additional permissions listed below. 0. Additional Definitions. As used herein, "this License" refers to version 3 of the GNU Lesser General Public License, and the "GNU GPL" refers to version 3 of the GNU General Public License. "The Library" refers to a covered work governed by this License, other than an Application or a Combined Work as defined below. An "Application" is any work that makes use of an interface provided by the Library, but which is not otherwise based on the Library. Defining a subclass of a class defined by the Library is deemed a mode of using an interface provided by the Library. A "Combined Work" is a work produced by combining or linking an Application with the Library. The particular version of the Library with which the Combined Work was made is also called the "Linked Version". The "Minimal Corresponding Source" for a Combined Work means the Corresponding Source for the Combined Work, excluding any source code for portions of the Combined Work that, considered in isolation, are based on the Application, and not on the Linked Version. The "Corresponding Application Code" for a Combined Work means the object code and/or source code for the Application, including any data and utility programs needed for reproducing the Combined Work from the Application, but excluding the System Libraries of the Combined Work. 1. Exception to Section 3 of the GNU GPL. You may convey a covered work under sections 3 and 4 of this License without being bound by section 3 of the GNU GPL. 2. Conveying Modified Versions. If you modify a copy of the Library, and, in your modifications, a facility refers to a function or data to be supplied by an Application that uses the facility (other than as an argument passed when the facility is invoked), then you may convey a copy of the modified version: a) under this License, provided that you make a good faith effort to ensure that, in the event an Application does not supply the function or data, the facility still operates, and performs whatever part of its purpose remains meaningful, or b) under the GNU GPL, with none of the additional permissions of this License applicable to that copy. 3. Object Code Incorporating Material from Library Header Files. The object code form of an Application may incorporate material from a header file that is part of the Library. You may convey such object code under terms of your choice, provided that, if the incorporated material is not limited to numerical parameters, data structure layouts and accessors, or small macros, inline functions and templates (ten or fewer lines in length), you do both of the following: a) Give prominent notice with each copy of the object code that the Library is used in it and that the Library and its use are covered by this License. b) Accompany the object code with a copy of the GNU GPL and this license document. 4. Combined Works. You may convey a Combined Work under terms of your choice that, taken together, effectively do not restrict modification of the portions of the Library contained in the Combined Work and reverse engineering for debugging such modifications, if you also do each of the following: a) Give prominent notice with each copy of the Combined Work that the Library is used in it and that the Library and its use are covered by this License. b) Accompany the Combined Work with a copy of the GNU GPL and this license document. c) For a Combined Work that displays copyright notices during execution, include the copyright notice for the Library among these notices, as well as a reference directing the user to the copies of the GNU GPL and this license document. d) Do one of the following: 0) Convey the Minimal Corresponding Source under the terms of this License, and the Corresponding Application Code in a form suitable for, and under terms that permit, the user to recombine or relink the Application with a modified version of the Linked Version to produce a modified Combined Work, in the manner specified by section 6 of the GNU GPL for conveying Corresponding Source. 1) Use a suitable shared library mechanism for linking with the Library. A suitable mechanism is one that (a) uses at run time a copy of the Library already present on the user's computer system, and (b) will operate properly with a modified version of the Library that is interface-compatible with the Linked Version. e) Provide Installation Information, but only if you would otherwise be required to provide such information under section 6 of the GNU GPL, and only to the extent that such information is necessary to install and execute a modified version of the Combined Work produced by recombining or relinking the Application with a modified version of the Linked Version. (If you use option 4d0, the Installation Information must accompany the Minimal Corresponding Source and Corresponding Application Code. If you use option 4d1, you must provide the Installation Information in the manner specified by section 6 of the GNU GPL for conveying Corresponding Source.) 5. Combined Libraries. You may place library facilities that are a work based on the Library side by side in a single library together with other library facilities that are not Applications and are not covered by this License, and convey such a combined library under terms of your choice, if you do both of the following: a) Accompany the combined library with a copy of the same work based on the Library, uncombined with any other library facilities, conveyed under the terms of this License. b) Give prominent notice with the combined library that part of it is a work based on the Library, and explaining where to find the accompanying uncombined form of the same work. 6. Revised Versions of the GNU Lesser General Public License. The Free Software Foundation may publish revised and/or new versions of the GNU Lesser General Public License from time to time. Such new versions will be similar in spirit to the present version, but may differ in detail to address new problems or concerns. Each version is given a distinguishing version number. If the Library as you received it specifies that a certain numbered version of the GNU Lesser General Public License "or any later version" applies to it, you have the option of following the terms and conditions either of that published version or of any later version published by the Free Software Foundation. If the Library as you received it does not specify a version number of the GNU Lesser General Public License, you may choose any version of the GNU Lesser General Public License ever published by the Free Software Foundation. If the Library as you received it specifies that a proxy can decide whether future versions of the GNU Lesser General Public License shall apply, that proxy's public statement of acceptance of any version is permanent authorization for you to choose that version for the Library. pal-0.5.0/depcomp000755 000765 000024 00000056016 12363621607 013771 0ustar00timjstaff000000 000000 #! /bin/sh # depcomp - compile a program generating dependencies as side-effects scriptversion=2013-05-30.07; # UTC # Copyright (C) 1999-2013 Free Software Foundation, Inc. # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation; either version 2, or (at your option) # any later version. # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU General Public License for more details. # You should have received a copy of the GNU General Public License # along with this program. If not, see . # As a special exception to the GNU General Public License, if you # distribute this file as part of a program that contains a # configuration script generated by Autoconf, you may include it under # the same distribution terms that you use for the rest of that program. # Originally written by Alexandre Oliva . case $1 in '') echo "$0: No command. Try '$0 --help' for more information." 1>&2 exit 1; ;; -h | --h*) cat <<\EOF Usage: depcomp [--help] [--version] PROGRAM [ARGS] Run PROGRAMS ARGS to compile a file, generating dependencies as side-effects. Environment variables: depmode Dependency tracking mode. source Source file read by 'PROGRAMS ARGS'. object Object file output by 'PROGRAMS ARGS'. DEPDIR directory where to store dependencies. depfile Dependency file to output. tmpdepfile Temporary file to use when outputting dependencies. libtool Whether libtool is used (yes/no). Report bugs to . EOF exit $? ;; -v | --v*) echo "depcomp $scriptversion" exit $? ;; esac # Get the directory component of the given path, and save it in the # global variables '$dir'. Note that this directory component will # be either empty or ending with a '/' character. This is deliberate. set_dir_from () { case $1 in */*) dir=`echo "$1" | sed -e 's|/[^/]*$|/|'`;; *) dir=;; esac } # Get the suffix-stripped basename of the given path, and save it the # global variable '$base'. set_base_from () { base=`echo "$1" | sed -e 's|^.*/||' -e 's/\.[^.]*$//'` } # If no dependency file was actually created by the compiler invocation, # we still have to create a dummy depfile, to avoid errors with the # Makefile "include basename.Plo" scheme. make_dummy_depfile () { echo "#dummy" > "$depfile" } # Factor out some common post-processing of the generated depfile. # Requires the auxiliary global variable '$tmpdepfile' to be set. aix_post_process_depfile () { # If the compiler actually managed to produce a dependency file, # post-process it. if test -f "$tmpdepfile"; then # Each line is of the form 'foo.o: dependency.h'. # Do two passes, one to just change these to # $object: dependency.h # and one to simply output # dependency.h: # which is needed to avoid the deleted-header problem. { sed -e "s,^.*\.[$lower]*:,$object:," < "$tmpdepfile" sed -e "s,^.*\.[$lower]*:[$tab ]*,," -e 's,$,:,' < "$tmpdepfile" } > "$depfile" rm -f "$tmpdepfile" else make_dummy_depfile fi } # A tabulation character. tab=' ' # A newline character. nl=' ' # Character ranges might be problematic outside the C locale. # These definitions help. upper=ABCDEFGHIJKLMNOPQRSTUVWXYZ lower=abcdefghijklmnopqrstuvwxyz digits=0123456789 alpha=${upper}${lower} if test -z "$depmode" || test -z "$source" || test -z "$object"; then echo "depcomp: Variables source, object and depmode must be set" 1>&2 exit 1 fi # Dependencies for sub/bar.o or sub/bar.obj go into sub/.deps/bar.Po. depfile=${depfile-`echo "$object" | sed 's|[^\\/]*$|'${DEPDIR-.deps}'/&|;s|\.\([^.]*\)$|.P\1|;s|Pobj$|Po|'`} tmpdepfile=${tmpdepfile-`echo "$depfile" | sed 's/\.\([^.]*\)$/.T\1/'`} rm -f "$tmpdepfile" # Avoid interferences from the environment. gccflag= dashmflag= # Some modes work just like other modes, but use different flags. We # parameterize here, but still list the modes in the big case below, # to make depend.m4 easier to write. Note that we *cannot* use a case # here, because this file can only contain one case statement. if test "$depmode" = hp; then # HP compiler uses -M and no extra arg. gccflag=-M depmode=gcc fi if test "$depmode" = dashXmstdout; then # This is just like dashmstdout with a different argument. dashmflag=-xM depmode=dashmstdout fi cygpath_u="cygpath -u -f -" if test "$depmode" = msvcmsys; then # This is just like msvisualcpp but w/o cygpath translation. # Just convert the backslash-escaped backslashes to single forward # slashes to satisfy depend.m4 cygpath_u='sed s,\\\\,/,g' depmode=msvisualcpp fi if test "$depmode" = msvc7msys; then # This is just like msvc7 but w/o cygpath translation. # Just convert the backslash-escaped backslashes to single forward # slashes to satisfy depend.m4 cygpath_u='sed s,\\\\,/,g' depmode=msvc7 fi if test "$depmode" = xlc; then # IBM C/C++ Compilers xlc/xlC can output gcc-like dependency information. gccflag=-qmakedep=gcc,-MF depmode=gcc fi case "$depmode" in gcc3) ## gcc 3 implements dependency tracking that does exactly what ## we want. Yay! Note: for some reason libtool 1.4 doesn't like ## it if -MD -MP comes after the -MF stuff. Hmm. ## Unfortunately, FreeBSD c89 acceptance of flags depends upon ## the command line argument order; so add the flags where they ## appear in depend2.am. Note that the slowdown incurred here ## affects only configure: in makefiles, %FASTDEP% shortcuts this. for arg do case $arg in -c) set fnord "$@" -MT "$object" -MD -MP -MF "$tmpdepfile" "$arg" ;; *) set fnord "$@" "$arg" ;; esac shift # fnord shift # $arg done "$@" stat=$? if test $stat -ne 0; then rm -f "$tmpdepfile" exit $stat fi mv "$tmpdepfile" "$depfile" ;; gcc) ## Note that this doesn't just cater to obsosete pre-3.x GCC compilers. ## but also to in-use compilers like IMB xlc/xlC and the HP C compiler. ## (see the conditional assignment to $gccflag above). ## There are various ways to get dependency output from gcc. Here's ## why we pick this rather obscure method: ## - Don't want to use -MD because we'd like the dependencies to end ## up in a subdir. Having to rename by hand is ugly. ## (We might end up doing this anyway to support other compilers.) ## - The DEPENDENCIES_OUTPUT environment variable makes gcc act like ## -MM, not -M (despite what the docs say). Also, it might not be ## supported by the other compilers which use the 'gcc' depmode. ## - Using -M directly means running the compiler twice (even worse ## than renaming). if test -z "$gccflag"; then gccflag=-MD, fi "$@" -Wp,"$gccflag$tmpdepfile" stat=$? if test $stat -ne 0; then rm -f "$tmpdepfile" exit $stat fi rm -f "$depfile" echo "$object : \\" > "$depfile" # The second -e expression handles DOS-style file names with drive # letters. sed -e 's/^[^:]*: / /' \ -e 's/^['$alpha']:\/[^:]*: / /' < "$tmpdepfile" >> "$depfile" ## This next piece of magic avoids the "deleted header file" problem. ## The problem is that when a header file which appears in a .P file ## is deleted, the dependency causes make to die (because there is ## typically no way to rebuild the header). We avoid this by adding ## dummy dependencies for each header file. Too bad gcc doesn't do ## this for us directly. ## Some versions of gcc put a space before the ':'. On the theory ## that the space means something, we add a space to the output as ## well. hp depmode also adds that space, but also prefixes the VPATH ## to the object. Take care to not repeat it in the output. ## Some versions of the HPUX 10.20 sed can't process this invocation ## correctly. Breaking it into two sed invocations is a workaround. tr ' ' "$nl" < "$tmpdepfile" \ | sed -e 's/^\\$//' -e '/^$/d' -e "s|.*$object$||" -e '/:$/d' \ | sed -e 's/$/ :/' >> "$depfile" rm -f "$tmpdepfile" ;; hp) # This case exists only to let depend.m4 do its work. It works by # looking at the text of this script. This case will never be run, # since it is checked for above. exit 1 ;; sgi) if test "$libtool" = yes; then "$@" "-Wp,-MDupdate,$tmpdepfile" else "$@" -MDupdate "$tmpdepfile" fi stat=$? if test $stat -ne 0; then rm -f "$tmpdepfile" exit $stat fi rm -f "$depfile" if test -f "$tmpdepfile"; then # yes, the sourcefile depend on other files echo "$object : \\" > "$depfile" # Clip off the initial element (the dependent). Don't try to be # clever and replace this with sed code, as IRIX sed won't handle # lines with more than a fixed number of characters (4096 in # IRIX 6.2 sed, 8192 in IRIX 6.5). We also remove comment lines; # the IRIX cc adds comments like '#:fec' to the end of the # dependency line. tr ' ' "$nl" < "$tmpdepfile" \ | sed -e 's/^.*\.o://' -e 's/#.*$//' -e '/^$/ d' \ | tr "$nl" ' ' >> "$depfile" echo >> "$depfile" # The second pass generates a dummy entry for each header file. tr ' ' "$nl" < "$tmpdepfile" \ | sed -e 's/^.*\.o://' -e 's/#.*$//' -e '/^$/ d' -e 's/$/:/' \ >> "$depfile" else make_dummy_depfile fi rm -f "$tmpdepfile" ;; xlc) # This case exists only to let depend.m4 do its work. It works by # looking at the text of this script. This case will never be run, # since it is checked for above. exit 1 ;; aix) # The C for AIX Compiler uses -M and outputs the dependencies # in a .u file. In older versions, this file always lives in the # current directory. Also, the AIX compiler puts '$object:' at the # start of each line; $object doesn't have directory information. # Version 6 uses the directory in both cases. set_dir_from "$object" set_base_from "$object" if test "$libtool" = yes; then tmpdepfile1=$dir$base.u tmpdepfile2=$base.u tmpdepfile3=$dir.libs/$base.u "$@" -Wc,-M else tmpdepfile1=$dir$base.u tmpdepfile2=$dir$base.u tmpdepfile3=$dir$base.u "$@" -M fi stat=$? if test $stat -ne 0; then rm -f "$tmpdepfile1" "$tmpdepfile2" "$tmpdepfile3" exit $stat fi for tmpdepfile in "$tmpdepfile1" "$tmpdepfile2" "$tmpdepfile3" do test -f "$tmpdepfile" && break done aix_post_process_depfile ;; tcc) # tcc (Tiny C Compiler) understand '-MD -MF file' since version 0.9.26 # FIXME: That version still under development at the moment of writing. # Make that this statement remains true also for stable, released # versions. # It will wrap lines (doesn't matter whether long or short) with a # trailing '\', as in: # # foo.o : \ # foo.c \ # foo.h \ # # It will put a trailing '\' even on the last line, and will use leading # spaces rather than leading tabs (at least since its commit 0394caf7 # "Emit spaces for -MD"). "$@" -MD -MF "$tmpdepfile" stat=$? if test $stat -ne 0; then rm -f "$tmpdepfile" exit $stat fi rm -f "$depfile" # Each non-empty line is of the form 'foo.o : \' or ' dep.h \'. # We have to change lines of the first kind to '$object: \'. sed -e "s|.*:|$object :|" < "$tmpdepfile" > "$depfile" # And for each line of the second kind, we have to emit a 'dep.h:' # dummy dependency, to avoid the deleted-header problem. sed -n -e 's|^ *\(.*\) *\\$|\1:|p' < "$tmpdepfile" >> "$depfile" rm -f "$tmpdepfile" ;; ## The order of this option in the case statement is important, since the ## shell code in configure will try each of these formats in the order ## listed in this file. A plain '-MD' option would be understood by many ## compilers, so we must ensure this comes after the gcc and icc options. pgcc) # Portland's C compiler understands '-MD'. # Will always output deps to 'file.d' where file is the root name of the # source file under compilation, even if file resides in a subdirectory. # The object file name does not affect the name of the '.d' file. # pgcc 10.2 will output # foo.o: sub/foo.c sub/foo.h # and will wrap long lines using '\' : # foo.o: sub/foo.c ... \ # sub/foo.h ... \ # ... set_dir_from "$object" # Use the source, not the object, to determine the base name, since # that's sadly what pgcc will do too. set_base_from "$source" tmpdepfile=$base.d # For projects that build the same source file twice into different object # files, the pgcc approach of using the *source* file root name can cause # problems in parallel builds. Use a locking strategy to avoid stomping on # the same $tmpdepfile. lockdir=$base.d-lock trap " echo '$0: caught signal, cleaning up...' >&2 rmdir '$lockdir' exit 1 " 1 2 13 15 numtries=100 i=$numtries while test $i -gt 0; do # mkdir is a portable test-and-set. if mkdir "$lockdir" 2>/dev/null; then # This process acquired the lock. "$@" -MD stat=$? # Release the lock. rmdir "$lockdir" break else # If the lock is being held by a different process, wait # until the winning process is done or we timeout. while test -d "$lockdir" && test $i -gt 0; do sleep 1 i=`expr $i - 1` done fi i=`expr $i - 1` done trap - 1 2 13 15 if test $i -le 0; then echo "$0: failed to acquire lock after $numtries attempts" >&2 echo "$0: check lockdir '$lockdir'" >&2 exit 1 fi if test $stat -ne 0; then rm -f "$tmpdepfile" exit $stat fi rm -f "$depfile" # Each line is of the form `foo.o: dependent.h', # or `foo.o: dep1.h dep2.h \', or ` dep3.h dep4.h \'. # Do two passes, one to just change these to # `$object: dependent.h' and one to simply `dependent.h:'. sed "s,^[^:]*:,$object :," < "$tmpdepfile" > "$depfile" # Some versions of the HPUX 10.20 sed can't process this invocation # correctly. Breaking it into two sed invocations is a workaround. sed 's,^[^:]*: \(.*\)$,\1,;s/^\\$//;/^$/d;/:$/d' < "$tmpdepfile" \ | sed -e 's/$/ :/' >> "$depfile" rm -f "$tmpdepfile" ;; hp2) # The "hp" stanza above does not work with aCC (C++) and HP's ia64 # compilers, which have integrated preprocessors. The correct option # to use with these is +Maked; it writes dependencies to a file named # 'foo.d', which lands next to the object file, wherever that # happens to be. # Much of this is similar to the tru64 case; see comments there. set_dir_from "$object" set_base_from "$object" if test "$libtool" = yes; then tmpdepfile1=$dir$base.d tmpdepfile2=$dir.libs/$base.d "$@" -Wc,+Maked else tmpdepfile1=$dir$base.d tmpdepfile2=$dir$base.d "$@" +Maked fi stat=$? if test $stat -ne 0; then rm -f "$tmpdepfile1" "$tmpdepfile2" exit $stat fi for tmpdepfile in "$tmpdepfile1" "$tmpdepfile2" do test -f "$tmpdepfile" && break done if test -f "$tmpdepfile"; then sed -e "s,^.*\.[$lower]*:,$object:," "$tmpdepfile" > "$depfile" # Add 'dependent.h:' lines. sed -ne '2,${ s/^ *// s/ \\*$// s/$/:/ p }' "$tmpdepfile" >> "$depfile" else make_dummy_depfile fi rm -f "$tmpdepfile" "$tmpdepfile2" ;; tru64) # The Tru64 compiler uses -MD to generate dependencies as a side # effect. 'cc -MD -o foo.o ...' puts the dependencies into 'foo.o.d'. # At least on Alpha/Redhat 6.1, Compaq CCC V6.2-504 seems to put # dependencies in 'foo.d' instead, so we check for that too. # Subdirectories are respected. set_dir_from "$object" set_base_from "$object" if test "$libtool" = yes; then # Libtool generates 2 separate objects for the 2 libraries. These # two compilations output dependencies in $dir.libs/$base.o.d and # in $dir$base.o.d. We have to check for both files, because # one of the two compilations can be disabled. We should prefer # $dir$base.o.d over $dir.libs/$base.o.d because the latter is # automatically cleaned when .libs/ is deleted, while ignoring # the former would cause a distcleancheck panic. tmpdepfile1=$dir$base.o.d # libtool 1.5 tmpdepfile2=$dir.libs/$base.o.d # Likewise. tmpdepfile3=$dir.libs/$base.d # Compaq CCC V6.2-504 "$@" -Wc,-MD else tmpdepfile1=$dir$base.d tmpdepfile2=$dir$base.d tmpdepfile3=$dir$base.d "$@" -MD fi stat=$? if test $stat -ne 0; then rm -f "$tmpdepfile1" "$tmpdepfile2" "$tmpdepfile3" exit $stat fi for tmpdepfile in "$tmpdepfile1" "$tmpdepfile2" "$tmpdepfile3" do test -f "$tmpdepfile" && break done # Same post-processing that is required for AIX mode. aix_post_process_depfile ;; msvc7) if test "$libtool" = yes; then showIncludes=-Wc,-showIncludes else showIncludes=-showIncludes fi "$@" $showIncludes > "$tmpdepfile" stat=$? grep -v '^Note: including file: ' "$tmpdepfile" if test $stat -ne 0; then rm -f "$tmpdepfile" exit $stat fi rm -f "$depfile" echo "$object : \\" > "$depfile" # The first sed program below extracts the file names and escapes # backslashes for cygpath. The second sed program outputs the file # name when reading, but also accumulates all include files in the # hold buffer in order to output them again at the end. This only # works with sed implementations that can handle large buffers. sed < "$tmpdepfile" -n ' /^Note: including file: *\(.*\)/ { s//\1/ s/\\/\\\\/g p }' | $cygpath_u | sort -u | sed -n ' s/ /\\ /g s/\(.*\)/'"$tab"'\1 \\/p s/.\(.*\) \\/\1:/ H $ { s/.*/'"$tab"'/ G p }' >> "$depfile" echo >> "$depfile" # make sure the fragment doesn't end with a backslash rm -f "$tmpdepfile" ;; msvc7msys) # This case exists only to let depend.m4 do its work. It works by # looking at the text of this script. This case will never be run, # since it is checked for above. exit 1 ;; #nosideeffect) # This comment above is used by automake to tell side-effect # dependency tracking mechanisms from slower ones. dashmstdout) # Important note: in order to support this mode, a compiler *must* # always write the preprocessed file to stdout, regardless of -o. "$@" || exit $? # Remove the call to Libtool. if test "$libtool" = yes; then while test "X$1" != 'X--mode=compile'; do shift done shift fi # Remove '-o $object'. IFS=" " for arg do case $arg in -o) shift ;; $object) shift ;; *) set fnord "$@" "$arg" shift # fnord shift # $arg ;; esac done test -z "$dashmflag" && dashmflag=-M # Require at least two characters before searching for ':' # in the target name. This is to cope with DOS-style filenames: # a dependency such as 'c:/foo/bar' could be seen as target 'c' otherwise. "$@" $dashmflag | sed "s|^[$tab ]*[^:$tab ][^:][^:]*:[$tab ]*|$object: |" > "$tmpdepfile" rm -f "$depfile" cat < "$tmpdepfile" > "$depfile" # Some versions of the HPUX 10.20 sed can't process this sed invocation # correctly. Breaking it into two sed invocations is a workaround. tr ' ' "$nl" < "$tmpdepfile" \ | sed -e 's/^\\$//' -e '/^$/d' -e '/:$/d' \ | sed -e 's/$/ :/' >> "$depfile" rm -f "$tmpdepfile" ;; dashXmstdout) # This case only exists to satisfy depend.m4. It is never actually # run, as this mode is specially recognized in the preamble. exit 1 ;; makedepend) "$@" || exit $? # Remove any Libtool call if test "$libtool" = yes; then while test "X$1" != 'X--mode=compile'; do shift done shift fi # X makedepend shift cleared=no eat=no for arg do case $cleared in no) set ""; shift cleared=yes ;; esac if test $eat = yes; then eat=no continue fi case "$arg" in -D*|-I*) set fnord "$@" "$arg"; shift ;; # Strip any option that makedepend may not understand. Remove # the object too, otherwise makedepend will parse it as a source file. -arch) eat=yes ;; -*|$object) ;; *) set fnord "$@" "$arg"; shift ;; esac done obj_suffix=`echo "$object" | sed 's/^.*\././'` touch "$tmpdepfile" ${MAKEDEPEND-makedepend} -o"$obj_suffix" -f"$tmpdepfile" "$@" rm -f "$depfile" # makedepend may prepend the VPATH from the source file name to the object. # No need to regex-escape $object, excess matching of '.' is harmless. sed "s|^.*\($object *:\)|\1|" "$tmpdepfile" > "$depfile" # Some versions of the HPUX 10.20 sed can't process the last invocation # correctly. Breaking it into two sed invocations is a workaround. sed '1,2d' "$tmpdepfile" \ | tr ' ' "$nl" \ | sed -e 's/^\\$//' -e '/^$/d' -e '/:$/d' \ | sed -e 's/$/ :/' >> "$depfile" rm -f "$tmpdepfile" "$tmpdepfile".bak ;; cpp) # Important note: in order to support this mode, a compiler *must* # always write the preprocessed file to stdout. "$@" || exit $? # Remove the call to Libtool. if test "$libtool" = yes; then while test "X$1" != 'X--mode=compile'; do shift done shift fi # Remove '-o $object'. IFS=" " for arg do case $arg in -o) shift ;; $object) shift ;; *) set fnord "$@" "$arg" shift # fnord shift # $arg ;; esac done "$@" -E \ | sed -n -e '/^# [0-9][0-9]* "\([^"]*\)".*/ s:: \1 \\:p' \ -e '/^#line [0-9][0-9]* "\([^"]*\)".*/ s:: \1 \\:p' \ | sed '$ s: \\$::' > "$tmpdepfile" rm -f "$depfile" echo "$object : \\" > "$depfile" cat < "$tmpdepfile" >> "$depfile" sed < "$tmpdepfile" '/^$/d;s/^ //;s/ \\$//;s/$/ :/' >> "$depfile" rm -f "$tmpdepfile" ;; msvisualcpp) # Important note: in order to support this mode, a compiler *must* # always write the preprocessed file to stdout. "$@" || exit $? # Remove the call to Libtool. if test "$libtool" = yes; then while test "X$1" != 'X--mode=compile'; do shift done shift fi IFS=" " for arg do case "$arg" in -o) shift ;; $object) shift ;; "-Gm"|"/Gm"|"-Gi"|"/Gi"|"-ZI"|"/ZI") set fnord "$@" shift shift ;; *) set fnord "$@" "$arg" shift shift ;; esac done "$@" -E 2>/dev/null | sed -n '/^#line [0-9][0-9]* "\([^"]*\)"/ s::\1:p' | $cygpath_u | sort -u > "$tmpdepfile" rm -f "$depfile" echo "$object : \\" > "$depfile" sed < "$tmpdepfile" -n -e 's% %\\ %g' -e '/^\(.*\)$/ s::'"$tab"'\1 \\:p' >> "$depfile" echo "$tab" >> "$depfile" sed < "$tmpdepfile" -n -e 's% %\\ %g' -e '/^\(.*\)$/ s::\1\::p' >> "$depfile" rm -f "$tmpdepfile" ;; msvcmsys) # This case exists only to let depend.m4 do its work. It works by # looking at the text of this script. This case will never be run, # since it is checked for above. exit 1 ;; none) exec "$@" ;; *) echo "Unknown depmode $depmode" 1>&2 exit 1 ;; esac exit 0 # Local Variables: # mode: shell-script # sh-indentation: 2 # eval: (add-hook 'write-file-hooks 'time-stamp) # time-stamp-start: "scriptversion=" # time-stamp-format: "%:y-%02m-%02d.%02H" # time-stamp-time-zone: "UTC" # time-stamp-end: "; # UTC" # End: pal-0.5.0/install-sh000755 000765 000024 00000033255 12363621607 014420 0ustar00timjstaff000000 000000 #!/bin/sh # install - install a program, script, or datafile scriptversion=2011-11-20.07; # UTC # This originates from X11R5 (mit/util/scripts/install.sh), which was # later released in X11R6 (xc/config/util/install.sh) with the # following copyright and license. # # Copyright (C) 1994 X Consortium # # Permission is hereby granted, free of charge, to any person obtaining a copy # of this software and associated documentation files (the "Software"), to # deal in the Software without restriction, including without limitation the # rights to use, copy, modify, merge, publish, distribute, sublicense, and/or # sell copies of the Software, and to permit persons to whom the Software is # furnished to do so, subject to the following conditions: # # The above copyright notice and this permission notice shall be included in # all copies or substantial portions of the Software. # # THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR # IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, # FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE # X CONSORTIUM BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN # AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNEC- # TION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. # # Except as contained in this notice, the name of the X Consortium shall not # be used in advertising or otherwise to promote the sale, use or other deal- # ings in this Software without prior written authorization from the X Consor- # tium. # # # FSF changes to this file are in the public domain. # # Calling this script install-sh is preferred over install.sh, to prevent # 'make' implicit rules from creating a file called install from it # when there is no Makefile. # # This script is compatible with the BSD install script, but was written # from scratch. nl=' ' IFS=" "" $nl" # set DOITPROG to echo to test this script # Don't use :- since 4.3BSD and earlier shells don't like it. doit=${DOITPROG-} if test -z "$doit"; then doit_exec=exec else doit_exec=$doit fi # Put in absolute file names if you don't have them in your path; # or use environment vars. chgrpprog=${CHGRPPROG-chgrp} chmodprog=${CHMODPROG-chmod} chownprog=${CHOWNPROG-chown} cmpprog=${CMPPROG-cmp} cpprog=${CPPROG-cp} mkdirprog=${MKDIRPROG-mkdir} mvprog=${MVPROG-mv} rmprog=${RMPROG-rm} stripprog=${STRIPPROG-strip} posix_glob='?' initialize_posix_glob=' test "$posix_glob" != "?" || { if (set -f) 2>/dev/null; then posix_glob= else posix_glob=: fi } ' posix_mkdir= # Desired mode of installed file. mode=0755 chgrpcmd= chmodcmd=$chmodprog chowncmd= mvcmd=$mvprog rmcmd="$rmprog -f" stripcmd= src= dst= dir_arg= dst_arg= copy_on_change=false no_target_directory= usage="\ Usage: $0 [OPTION]... [-T] SRCFILE DSTFILE or: $0 [OPTION]... SRCFILES... DIRECTORY or: $0 [OPTION]... -t DIRECTORY SRCFILES... or: $0 [OPTION]... -d DIRECTORIES... In the 1st form, copy SRCFILE to DSTFILE. In the 2nd and 3rd, copy all SRCFILES to DIRECTORY. In the 4th, create DIRECTORIES. Options: --help display this help and exit. --version display version info and exit. -c (ignored) -C install only if different (preserve the last data modification time) -d create directories instead of installing files. -g GROUP $chgrpprog installed files to GROUP. -m MODE $chmodprog installed files to MODE. -o USER $chownprog installed files to USER. -s $stripprog installed files. -t DIRECTORY install into DIRECTORY. -T report an error if DSTFILE is a directory. Environment variables override the default commands: CHGRPPROG CHMODPROG CHOWNPROG CMPPROG CPPROG MKDIRPROG MVPROG RMPROG STRIPPROG " while test $# -ne 0; do case $1 in -c) ;; -C) copy_on_change=true;; -d) dir_arg=true;; -g) chgrpcmd="$chgrpprog $2" shift;; --help) echo "$usage"; exit $?;; -m) mode=$2 case $mode in *' '* | *' '* | *' '* | *'*'* | *'?'* | *'['*) echo "$0: invalid mode: $mode" >&2 exit 1;; esac shift;; -o) chowncmd="$chownprog $2" shift;; -s) stripcmd=$stripprog;; -t) dst_arg=$2 # Protect names problematic for 'test' and other utilities. case $dst_arg in -* | [=\(\)!]) dst_arg=./$dst_arg;; esac shift;; -T) no_target_directory=true;; --version) echo "$0 $scriptversion"; exit $?;; --) shift break;; -*) echo "$0: invalid option: $1" >&2 exit 1;; *) break;; esac shift done if test $# -ne 0 && test -z "$dir_arg$dst_arg"; then # When -d is used, all remaining arguments are directories to create. # When -t is used, the destination is already specified. # Otherwise, the last argument is the destination. Remove it from $@. for arg do if test -n "$dst_arg"; then # $@ is not empty: it contains at least $arg. set fnord "$@" "$dst_arg" shift # fnord fi shift # arg dst_arg=$arg # Protect names problematic for 'test' and other utilities. case $dst_arg in -* | [=\(\)!]) dst_arg=./$dst_arg;; esac done fi if test $# -eq 0; then if test -z "$dir_arg"; then echo "$0: no input file specified." >&2 exit 1 fi # It's OK to call 'install-sh -d' without argument. # This can happen when creating conditional directories. exit 0 fi if test -z "$dir_arg"; then do_exit='(exit $ret); exit $ret' trap "ret=129; $do_exit" 1 trap "ret=130; $do_exit" 2 trap "ret=141; $do_exit" 13 trap "ret=143; $do_exit" 15 # Set umask so as not to create temps with too-generous modes. # However, 'strip' requires both read and write access to temps. case $mode in # Optimize common cases. *644) cp_umask=133;; *755) cp_umask=22;; *[0-7]) if test -z "$stripcmd"; then u_plus_rw= else u_plus_rw='% 200' fi cp_umask=`expr '(' 777 - $mode % 1000 ')' $u_plus_rw`;; *) if test -z "$stripcmd"; then u_plus_rw= else u_plus_rw=,u+rw fi cp_umask=$mode$u_plus_rw;; esac fi for src do # Protect names problematic for 'test' and other utilities. case $src in -* | [=\(\)!]) src=./$src;; esac if test -n "$dir_arg"; then dst=$src dstdir=$dst test -d "$dstdir" dstdir_status=$? else # Waiting for this to be detected by the "$cpprog $src $dsttmp" command # might cause directories to be created, which would be especially bad # if $src (and thus $dsttmp) contains '*'. if test ! -f "$src" && test ! -d "$src"; then echo "$0: $src does not exist." >&2 exit 1 fi if test -z "$dst_arg"; then echo "$0: no destination specified." >&2 exit 1 fi dst=$dst_arg # If destination is a directory, append the input filename; won't work # if double slashes aren't ignored. if test -d "$dst"; then if test -n "$no_target_directory"; then echo "$0: $dst_arg: Is a directory" >&2 exit 1 fi dstdir=$dst dst=$dstdir/`basename "$src"` dstdir_status=0 else # Prefer dirname, but fall back on a substitute if dirname fails. dstdir=` (dirname "$dst") 2>/dev/null || expr X"$dst" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ X"$dst" : 'X\(//\)[^/]' \| \ X"$dst" : 'X\(//\)$' \| \ X"$dst" : 'X\(/\)' \| . 2>/dev/null || echo X"$dst" | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/ q } /^X\(\/\/\)[^/].*/{ s//\1/ q } /^X\(\/\/\)$/{ s//\1/ q } /^X\(\/\).*/{ s//\1/ q } s/.*/./; q' ` test -d "$dstdir" dstdir_status=$? fi fi obsolete_mkdir_used=false if test $dstdir_status != 0; then case $posix_mkdir in '') # Create intermediate dirs using mode 755 as modified by the umask. # This is like FreeBSD 'install' as of 1997-10-28. umask=`umask` case $stripcmd.$umask in # Optimize common cases. *[2367][2367]) mkdir_umask=$umask;; .*0[02][02] | .[02][02] | .[02]) mkdir_umask=22;; *[0-7]) mkdir_umask=`expr $umask + 22 \ - $umask % 100 % 40 + $umask % 20 \ - $umask % 10 % 4 + $umask % 2 `;; *) mkdir_umask=$umask,go-w;; esac # With -d, create the new directory with the user-specified mode. # Otherwise, rely on $mkdir_umask. if test -n "$dir_arg"; then mkdir_mode=-m$mode else mkdir_mode= fi posix_mkdir=false case $umask in *[123567][0-7][0-7]) # POSIX mkdir -p sets u+wx bits regardless of umask, which # is incompatible with FreeBSD 'install' when (umask & 300) != 0. ;; *) tmpdir=${TMPDIR-/tmp}/ins$RANDOM-$$ trap 'ret=$?; rmdir "$tmpdir/d" "$tmpdir" 2>/dev/null; exit $ret' 0 if (umask $mkdir_umask && exec $mkdirprog $mkdir_mode -p -- "$tmpdir/d") >/dev/null 2>&1 then if test -z "$dir_arg" || { # Check for POSIX incompatibilities with -m. # HP-UX 11.23 and IRIX 6.5 mkdir -m -p sets group- or # other-writable bit of parent directory when it shouldn't. # FreeBSD 6.1 mkdir -m -p sets mode of existing directory. ls_ld_tmpdir=`ls -ld "$tmpdir"` case $ls_ld_tmpdir in d????-?r-*) different_mode=700;; d????-?--*) different_mode=755;; *) false;; esac && $mkdirprog -m$different_mode -p -- "$tmpdir" && { ls_ld_tmpdir_1=`ls -ld "$tmpdir"` test "$ls_ld_tmpdir" = "$ls_ld_tmpdir_1" } } then posix_mkdir=: fi rmdir "$tmpdir/d" "$tmpdir" else # Remove any dirs left behind by ancient mkdir implementations. rmdir ./$mkdir_mode ./-p ./-- 2>/dev/null fi trap '' 0;; esac;; esac if $posix_mkdir && ( umask $mkdir_umask && $doit_exec $mkdirprog $mkdir_mode -p -- "$dstdir" ) then : else # The umask is ridiculous, or mkdir does not conform to POSIX, # or it failed possibly due to a race condition. Create the # directory the slow way, step by step, checking for races as we go. case $dstdir in /*) prefix='/';; [-=\(\)!]*) prefix='./';; *) prefix='';; esac eval "$initialize_posix_glob" oIFS=$IFS IFS=/ $posix_glob set -f set fnord $dstdir shift $posix_glob set +f IFS=$oIFS prefixes= for d do test X"$d" = X && continue prefix=$prefix$d if test -d "$prefix"; then prefixes= else if $posix_mkdir; then (umask=$mkdir_umask && $doit_exec $mkdirprog $mkdir_mode -p -- "$dstdir") && break # Don't fail if two instances are running concurrently. test -d "$prefix" || exit 1 else case $prefix in *\'*) qprefix=`echo "$prefix" | sed "s/'/'\\\\\\\\''/g"`;; *) qprefix=$prefix;; esac prefixes="$prefixes '$qprefix'" fi fi prefix=$prefix/ done if test -n "$prefixes"; then # Don't fail if two instances are running concurrently. (umask $mkdir_umask && eval "\$doit_exec \$mkdirprog $prefixes") || test -d "$dstdir" || exit 1 obsolete_mkdir_used=true fi fi fi if test -n "$dir_arg"; then { test -z "$chowncmd" || $doit $chowncmd "$dst"; } && { test -z "$chgrpcmd" || $doit $chgrpcmd "$dst"; } && { test "$obsolete_mkdir_used$chowncmd$chgrpcmd" = false || test -z "$chmodcmd" || $doit $chmodcmd $mode "$dst"; } || exit 1 else # Make a couple of temp file names in the proper directory. dsttmp=$dstdir/_inst.$$_ rmtmp=$dstdir/_rm.$$_ # Trap to clean up those temp files at exit. trap 'ret=$?; rm -f "$dsttmp" "$rmtmp" && exit $ret' 0 # Copy the file name to the temp name. (umask $cp_umask && $doit_exec $cpprog "$src" "$dsttmp") && # and set any options; do chmod last to preserve setuid bits. # # If any of these fail, we abort the whole thing. If we want to # ignore errors from any of these, just make sure not to ignore # errors from the above "$doit $cpprog $src $dsttmp" command. # { test -z "$chowncmd" || $doit $chowncmd "$dsttmp"; } && { test -z "$chgrpcmd" || $doit $chgrpcmd "$dsttmp"; } && { test -z "$stripcmd" || $doit $stripcmd "$dsttmp"; } && { test -z "$chmodcmd" || $doit $chmodcmd $mode "$dsttmp"; } && # If -C, don't bother to copy if it wouldn't change the file. if $copy_on_change && old=`LC_ALL=C ls -dlL "$dst" 2>/dev/null` && new=`LC_ALL=C ls -dlL "$dsttmp" 2>/dev/null` && eval "$initialize_posix_glob" && $posix_glob set -f && set X $old && old=:$2:$4:$5:$6 && set X $new && new=:$2:$4:$5:$6 && $posix_glob set +f && test "$old" = "$new" && $cmpprog "$dst" "$dsttmp" >/dev/null 2>&1 then rm -f "$dsttmp" else # Rename the file to the real destination. $doit $mvcmd -f "$dsttmp" "$dst" 2>/dev/null || # The rename failed, perhaps because mv can't rename something else # to itself, or perhaps because mv is so ancient that it does not # support -f. { # Now remove or move aside any old file at destination location. # We try this two ways since rm can't unlink itself on some # systems and the destination file might be busy for other # reasons. In this case, the final cleanup might fail but the new # file should still install successfully. { test ! -f "$dst" || $doit $rmcmd -f "$dst" 2>/dev/null || { $doit $mvcmd -f "$dst" "$rmtmp" 2>/dev/null && { $doit $rmcmd -f "$rmtmp" 2>/dev/null; :; } } || { echo "$0: cannot unlink or rename $dst" >&2 (exit 1); exit 1 } } && # Now rename the file to the real destination. $doit $mvcmd "$dsttmp" "$dst" } fi || exit 1 trap '' 0 fi done # Local variables: # eval: (add-hook 'write-file-hooks 'time-stamp) # time-stamp-start: "scriptversion=" # time-stamp-format: "%:y-%02m-%02d.%02H" # time-stamp-time-zone: "UTC" # time-stamp-end: "; # UTC" # End: pal-0.5.0/ltmain.sh000644 000765 000024 00001051522 12363621556 014235 0ustar00timjstaff000000 000000 # libtool (GNU libtool) 2.4.2 # Written by Gordon Matzigkeit , 1996 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005, 2006, # 2007, 2008, 2009, 2010, 2011 Free Software Foundation, Inc. # This is free software; see the source for copying conditions. There is NO # warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. # GNU Libtool is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation; either version 2 of the License, or # (at your option) any later version. # # As a special exception to the GNU General Public License, # if you distribute this file as part of a program or library that # is built using GNU Libtool, you may include this file under the # same distribution terms that you use for the rest of that program. # # GNU Libtool is distributed in the hope that it will be useful, but # WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU # General Public License for more details. # # You should have received a copy of the GNU General Public License # along with GNU Libtool; see the file COPYING. If not, a copy # can be downloaded from http://www.gnu.org/licenses/gpl.html, # or obtained by writing to the Free Software Foundation, Inc., # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. # Usage: $progname [OPTION]... [MODE-ARG]... # # Provide generalized library-building support services. # # --config show all configuration variables # --debug enable verbose shell tracing # -n, --dry-run display commands without modifying any files # --features display basic configuration information and exit # --mode=MODE use operation mode MODE # --preserve-dup-deps don't remove duplicate dependency libraries # --quiet, --silent don't print informational messages # --no-quiet, --no-silent # print informational messages (default) # --no-warn don't display warning messages # --tag=TAG use configuration variables from tag TAG # -v, --verbose print more informational messages than default # --no-verbose don't print the extra informational messages # --version print version information # -h, --help, --help-all print short, long, or detailed help message # # MODE must be one of the following: # # clean remove files from the build directory # compile compile a source file into a libtool object # execute automatically set library path, then run a program # finish complete the installation of libtool libraries # install install libraries or executables # link create a library or an executable # uninstall remove libraries from an installed directory # # MODE-ARGS vary depending on the MODE. When passed as first option, # `--mode=MODE' may be abbreviated as `MODE' or a unique abbreviation of that. # Try `$progname --help --mode=MODE' for a more detailed description of MODE. # # When reporting a bug, please describe a test case to reproduce it and # include the following information: # # host-triplet: $host # shell: $SHELL # compiler: $LTCC # compiler flags: $LTCFLAGS # linker: $LD (gnu? $with_gnu_ld) # $progname: (GNU libtool) 2.4.2 # automake: $automake_version # autoconf: $autoconf_version # # Report bugs to . # GNU libtool home page: . # General help using GNU software: . PROGRAM=libtool PACKAGE=libtool VERSION=2.4.2 TIMESTAMP="" package_revision=1.3337 # Be Bourne compatible if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then emulate sh NULLCMD=: # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which # is contrary to our usage. Disable this feature. alias -g '${1+"$@"}'='"$@"' setopt NO_GLOB_SUBST else case `(set -o) 2>/dev/null` in *posix*) set -o posix;; esac fi BIN_SH=xpg4; export BIN_SH # for Tru64 DUALCASE=1; export DUALCASE # for MKS sh # A function that is used when there is no print builtin or printf. func_fallback_echo () { eval 'cat <<_LTECHO_EOF $1 _LTECHO_EOF' } # NLS nuisances: We save the old values to restore during execute mode. lt_user_locale= lt_safe_locale= for lt_var in LANG LANGUAGE LC_ALL LC_CTYPE LC_COLLATE LC_MESSAGES do eval "if test \"\${$lt_var+set}\" = set; then save_$lt_var=\$$lt_var $lt_var=C export $lt_var lt_user_locale=\"$lt_var=\\\$save_\$lt_var; \$lt_user_locale\" lt_safe_locale=\"$lt_var=C; \$lt_safe_locale\" fi" done LC_ALL=C LANGUAGE=C export LANGUAGE LC_ALL $lt_unset CDPATH # Work around backward compatibility issue on IRIX 6.5. On IRIX 6.4+, sh # is ksh but when the shell is invoked as "sh" and the current value of # the _XPG environment variable is not equal to 1 (one), the special # positional parameter $0, within a function call, is the name of the # function. progpath="$0" : ${CP="cp -f"} test "${ECHO+set}" = set || ECHO=${as_echo-'printf %s\n'} : ${MAKE="make"} : ${MKDIR="mkdir"} : ${MV="mv -f"} : ${RM="rm -f"} : ${SHELL="${CONFIG_SHELL-/bin/sh}"} : ${Xsed="$SED -e 1s/^X//"} # Global variables: EXIT_SUCCESS=0 EXIT_FAILURE=1 EXIT_MISMATCH=63 # $? = 63 is used to indicate version mismatch to missing. EXIT_SKIP=77 # $? = 77 is used to indicate a skipped test to automake. exit_status=$EXIT_SUCCESS # Make sure IFS has a sensible default lt_nl=' ' IFS=" $lt_nl" dirname="s,/[^/]*$,," basename="s,^.*/,," # func_dirname file append nondir_replacement # Compute the dirname of FILE. If nonempty, add APPEND to the result, # otherwise set result to NONDIR_REPLACEMENT. func_dirname () { func_dirname_result=`$ECHO "${1}" | $SED "$dirname"` if test "X$func_dirname_result" = "X${1}"; then func_dirname_result="${3}" else func_dirname_result="$func_dirname_result${2}" fi } # func_dirname may be replaced by extended shell implementation # func_basename file func_basename () { func_basename_result=`$ECHO "${1}" | $SED "$basename"` } # func_basename may be replaced by extended shell implementation # func_dirname_and_basename file append nondir_replacement # perform func_basename and func_dirname in a single function # call: # dirname: Compute the dirname of FILE. If nonempty, # add APPEND to the result, otherwise set result # to NONDIR_REPLACEMENT. # value returned in "$func_dirname_result" # basename: Compute filename of FILE. # value retuned in "$func_basename_result" # Implementation must be kept synchronized with func_dirname # and func_basename. For efficiency, we do not delegate to # those functions but instead duplicate the functionality here. func_dirname_and_basename () { # Extract subdirectory from the argument. func_dirname_result=`$ECHO "${1}" | $SED -e "$dirname"` if test "X$func_dirname_result" = "X${1}"; then func_dirname_result="${3}" else func_dirname_result="$func_dirname_result${2}" fi func_basename_result=`$ECHO "${1}" | $SED -e "$basename"` } # func_dirname_and_basename may be replaced by extended shell implementation # func_stripname prefix suffix name # strip PREFIX and SUFFIX off of NAME. # PREFIX and SUFFIX must not contain globbing or regex special # characters, hashes, percent signs, but SUFFIX may contain a leading # dot (in which case that matches only a dot). # func_strip_suffix prefix name func_stripname () { case ${2} in .*) func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%\\\\${2}\$%%"`;; *) func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%${2}\$%%"`;; esac } # func_stripname may be replaced by extended shell implementation # These SED scripts presuppose an absolute path with a trailing slash. pathcar='s,^/\([^/]*\).*$,\1,' pathcdr='s,^/[^/]*,,' removedotparts=':dotsl s@/\./@/@g t dotsl s,/\.$,/,' collapseslashes='s@/\{1,\}@/@g' finalslash='s,/*$,/,' # func_normal_abspath PATH # Remove doubled-up and trailing slashes, "." path components, # and cancel out any ".." path components in PATH after making # it an absolute path. # value returned in "$func_normal_abspath_result" func_normal_abspath () { # Start from root dir and reassemble the path. func_normal_abspath_result= func_normal_abspath_tpath=$1 func_normal_abspath_altnamespace= case $func_normal_abspath_tpath in "") # Empty path, that just means $cwd. func_stripname '' '/' "`pwd`" func_normal_abspath_result=$func_stripname_result return ;; # The next three entries are used to spot a run of precisely # two leading slashes without using negated character classes; # we take advantage of case's first-match behaviour. ///*) # Unusual form of absolute path, do nothing. ;; //*) # Not necessarily an ordinary path; POSIX reserves leading '//' # and for example Cygwin uses it to access remote file shares # over CIFS/SMB, so we conserve a leading double slash if found. func_normal_abspath_altnamespace=/ ;; /*) # Absolute path, do nothing. ;; *) # Relative path, prepend $cwd. func_normal_abspath_tpath=`pwd`/$func_normal_abspath_tpath ;; esac # Cancel out all the simple stuff to save iterations. We also want # the path to end with a slash for ease of parsing, so make sure # there is one (and only one) here. func_normal_abspath_tpath=`$ECHO "$func_normal_abspath_tpath" | $SED \ -e "$removedotparts" -e "$collapseslashes" -e "$finalslash"` while :; do # Processed it all yet? if test "$func_normal_abspath_tpath" = / ; then # If we ascended to the root using ".." the result may be empty now. if test -z "$func_normal_abspath_result" ; then func_normal_abspath_result=/ fi break fi func_normal_abspath_tcomponent=`$ECHO "$func_normal_abspath_tpath" | $SED \ -e "$pathcar"` func_normal_abspath_tpath=`$ECHO "$func_normal_abspath_tpath" | $SED \ -e "$pathcdr"` # Figure out what to do with it case $func_normal_abspath_tcomponent in "") # Trailing empty path component, ignore it. ;; ..) # Parent dir; strip last assembled component from result. func_dirname "$func_normal_abspath_result" func_normal_abspath_result=$func_dirname_result ;; *) # Actual path component, append it. func_normal_abspath_result=$func_normal_abspath_result/$func_normal_abspath_tcomponent ;; esac done # Restore leading double-slash if one was found on entry. func_normal_abspath_result=$func_normal_abspath_altnamespace$func_normal_abspath_result } # func_relative_path SRCDIR DSTDIR # generates a relative path from SRCDIR to DSTDIR, with a trailing # slash if non-empty, suitable for immediately appending a filename # without needing to append a separator. # value returned in "$func_relative_path_result" func_relative_path () { func_relative_path_result= func_normal_abspath "$1" func_relative_path_tlibdir=$func_normal_abspath_result func_normal_abspath "$2" func_relative_path_tbindir=$func_normal_abspath_result # Ascend the tree starting from libdir while :; do # check if we have found a prefix of bindir case $func_relative_path_tbindir in $func_relative_path_tlibdir) # found an exact match func_relative_path_tcancelled= break ;; $func_relative_path_tlibdir*) # found a matching prefix func_stripname "$func_relative_path_tlibdir" '' "$func_relative_path_tbindir" func_relative_path_tcancelled=$func_stripname_result if test -z "$func_relative_path_result"; then func_relative_path_result=. fi break ;; *) func_dirname $func_relative_path_tlibdir func_relative_path_tlibdir=${func_dirname_result} if test "x$func_relative_path_tlibdir" = x ; then # Have to descend all the way to the root! func_relative_path_result=../$func_relative_path_result func_relative_path_tcancelled=$func_relative_path_tbindir break fi func_relative_path_result=../$func_relative_path_result ;; esac done # Now calculate path; take care to avoid doubling-up slashes. func_stripname '' '/' "$func_relative_path_result" func_relative_path_result=$func_stripname_result func_stripname '/' '/' "$func_relative_path_tcancelled" if test "x$func_stripname_result" != x ; then func_relative_path_result=${func_relative_path_result}/${func_stripname_result} fi # Normalisation. If bindir is libdir, return empty string, # else relative path ending with a slash; either way, target # file name can be directly appended. if test ! -z "$func_relative_path_result"; then func_stripname './' '' "$func_relative_path_result/" func_relative_path_result=$func_stripname_result fi } # The name of this program: func_dirname_and_basename "$progpath" progname=$func_basename_result # Make sure we have an absolute path for reexecution: case $progpath in [\\/]*|[A-Za-z]:\\*) ;; *[\\/]*) progdir=$func_dirname_result progdir=`cd "$progdir" && pwd` progpath="$progdir/$progname" ;; *) save_IFS="$IFS" IFS=${PATH_SEPARATOR-:} for progdir in $PATH; do IFS="$save_IFS" test -x "$progdir/$progname" && break done IFS="$save_IFS" test -n "$progdir" || progdir=`pwd` progpath="$progdir/$progname" ;; esac # Sed substitution that helps us do robust quoting. It backslashifies # metacharacters that are still active within double-quoted strings. Xsed="${SED}"' -e 1s/^X//' sed_quote_subst='s/\([`"$\\]\)/\\\1/g' # Same as above, but do not quote variable references. double_quote_subst='s/\(["`\\]\)/\\\1/g' # Sed substitution that turns a string into a regex matching for the # string literally. sed_make_literal_regex='s,[].[^$\\*\/],\\&,g' # Sed substitution that converts a w32 file name or path # which contains forward slashes, into one that contains # (escaped) backslashes. A very naive implementation. lt_sed_naive_backslashify='s|\\\\*|\\|g;s|/|\\|g;s|\\|\\\\|g' # Re-`\' parameter expansions in output of double_quote_subst that were # `\'-ed in input to the same. If an odd number of `\' preceded a '$' # in input to double_quote_subst, that '$' was protected from expansion. # Since each input `\' is now two `\'s, look for any number of runs of # four `\'s followed by two `\'s and then a '$'. `\' that '$'. bs='\\' bs2='\\\\' bs4='\\\\\\\\' dollar='\$' sed_double_backslash="\ s/$bs4/&\\ /g s/^$bs2$dollar/$bs&/ s/\\([^$bs]\\)$bs2$dollar/\\1$bs2$bs$dollar/g s/\n//g" # Standard options: opt_dry_run=false opt_help=false opt_quiet=false opt_verbose=false opt_warning=: # func_echo arg... # Echo program name prefixed message, along with the current mode # name if it has been set yet. func_echo () { $ECHO "$progname: ${opt_mode+$opt_mode: }$*" } # func_verbose arg... # Echo program name prefixed message in verbose mode only. func_verbose () { $opt_verbose && func_echo ${1+"$@"} # A bug in bash halts the script if the last line of a function # fails when set -e is in force, so we need another command to # work around that: : } # func_echo_all arg... # Invoke $ECHO with all args, space-separated. func_echo_all () { $ECHO "$*" } # func_error arg... # Echo program name prefixed message to standard error. func_error () { $ECHO "$progname: ${opt_mode+$opt_mode: }"${1+"$@"} 1>&2 } # func_warning arg... # Echo program name prefixed warning message to standard error. func_warning () { $opt_warning && $ECHO "$progname: ${opt_mode+$opt_mode: }warning: "${1+"$@"} 1>&2 # bash bug again: : } # func_fatal_error arg... # Echo program name prefixed message to standard error, and exit. func_fatal_error () { func_error ${1+"$@"} exit $EXIT_FAILURE } # func_fatal_help arg... # Echo program name prefixed message to standard error, followed by # a help hint, and exit. func_fatal_help () { func_error ${1+"$@"} func_fatal_error "$help" } help="Try \`$progname --help' for more information." ## default # func_grep expression filename # Check whether EXPRESSION matches any line of FILENAME, without output. func_grep () { $GREP "$1" "$2" >/dev/null 2>&1 } # func_mkdir_p directory-path # Make sure the entire path to DIRECTORY-PATH is available. func_mkdir_p () { my_directory_path="$1" my_dir_list= if test -n "$my_directory_path" && test "$opt_dry_run" != ":"; then # Protect directory names starting with `-' case $my_directory_path in -*) my_directory_path="./$my_directory_path" ;; esac # While some portion of DIR does not yet exist... while test ! -d "$my_directory_path"; do # ...make a list in topmost first order. Use a colon delimited # list incase some portion of path contains whitespace. my_dir_list="$my_directory_path:$my_dir_list" # If the last portion added has no slash in it, the list is done case $my_directory_path in */*) ;; *) break ;; esac # ...otherwise throw away the child directory and loop my_directory_path=`$ECHO "$my_directory_path" | $SED -e "$dirname"` done my_dir_list=`$ECHO "$my_dir_list" | $SED 's,:*$,,'` save_mkdir_p_IFS="$IFS"; IFS=':' for my_dir in $my_dir_list; do IFS="$save_mkdir_p_IFS" # mkdir can fail with a `File exist' error if two processes # try to create one of the directories concurrently. Don't # stop in that case! $MKDIR "$my_dir" 2>/dev/null || : done IFS="$save_mkdir_p_IFS" # Bail out if we (or some other process) failed to create a directory. test -d "$my_directory_path" || \ func_fatal_error "Failed to create \`$1'" fi } # func_mktempdir [string] # Make a temporary directory that won't clash with other running # libtool processes, and avoids race conditions if possible. If # given, STRING is the basename for that directory. func_mktempdir () { my_template="${TMPDIR-/tmp}/${1-$progname}" if test "$opt_dry_run" = ":"; then # Return a directory name, but don't create it in dry-run mode my_tmpdir="${my_template}-$$" else # If mktemp works, use that first and foremost my_tmpdir=`mktemp -d "${my_template}-XXXXXXXX" 2>/dev/null` if test ! -d "$my_tmpdir"; then # Failing that, at least try and use $RANDOM to avoid a race my_tmpdir="${my_template}-${RANDOM-0}$$" save_mktempdir_umask=`umask` umask 0077 $MKDIR "$my_tmpdir" umask $save_mktempdir_umask fi # If we're not in dry-run mode, bomb out on failure test -d "$my_tmpdir" || \ func_fatal_error "cannot create temporary directory \`$my_tmpdir'" fi $ECHO "$my_tmpdir" } # func_quote_for_eval arg # Aesthetically quote ARG to be evaled later. # This function returns two values: FUNC_QUOTE_FOR_EVAL_RESULT # is double-quoted, suitable for a subsequent eval, whereas # FUNC_QUOTE_FOR_EVAL_UNQUOTED_RESULT has merely all characters # which are still active within double quotes backslashified. func_quote_for_eval () { case $1 in *[\\\`\"\$]*) func_quote_for_eval_unquoted_result=`$ECHO "$1" | $SED "$sed_quote_subst"` ;; *) func_quote_for_eval_unquoted_result="$1" ;; esac case $func_quote_for_eval_unquoted_result in # Double-quote args containing shell metacharacters to delay # word splitting, command substitution and and variable # expansion for a subsequent eval. # Many Bourne shells cannot handle close brackets correctly # in scan sets, so we specify it separately. *[\[\~\#\^\&\*\(\)\{\}\|\;\<\>\?\'\ \ ]*|*]*|"") func_quote_for_eval_result="\"$func_quote_for_eval_unquoted_result\"" ;; *) func_quote_for_eval_result="$func_quote_for_eval_unquoted_result" esac } # func_quote_for_expand arg # Aesthetically quote ARG to be evaled later; same as above, # but do not quote variable references. func_quote_for_expand () { case $1 in *[\\\`\"]*) my_arg=`$ECHO "$1" | $SED \ -e "$double_quote_subst" -e "$sed_double_backslash"` ;; *) my_arg="$1" ;; esac case $my_arg in # Double-quote args containing shell metacharacters to delay # word splitting and command substitution for a subsequent eval. # Many Bourne shells cannot handle close brackets correctly # in scan sets, so we specify it separately. *[\[\~\#\^\&\*\(\)\{\}\|\;\<\>\?\'\ \ ]*|*]*|"") my_arg="\"$my_arg\"" ;; esac func_quote_for_expand_result="$my_arg" } # func_show_eval cmd [fail_exp] # Unless opt_silent is true, then output CMD. Then, if opt_dryrun is # not true, evaluate CMD. If the evaluation of CMD fails, and FAIL_EXP # is given, then evaluate it. func_show_eval () { my_cmd="$1" my_fail_exp="${2-:}" ${opt_silent-false} || { func_quote_for_expand "$my_cmd" eval "func_echo $func_quote_for_expand_result" } if ${opt_dry_run-false}; then :; else eval "$my_cmd" my_status=$? if test "$my_status" -eq 0; then :; else eval "(exit $my_status); $my_fail_exp" fi fi } # func_show_eval_locale cmd [fail_exp] # Unless opt_silent is true, then output CMD. Then, if opt_dryrun is # not true, evaluate CMD. If the evaluation of CMD fails, and FAIL_EXP # is given, then evaluate it. Use the saved locale for evaluation. func_show_eval_locale () { my_cmd="$1" my_fail_exp="${2-:}" ${opt_silent-false} || { func_quote_for_expand "$my_cmd" eval "func_echo $func_quote_for_expand_result" } if ${opt_dry_run-false}; then :; else eval "$lt_user_locale $my_cmd" my_status=$? eval "$lt_safe_locale" if test "$my_status" -eq 0; then :; else eval "(exit $my_status); $my_fail_exp" fi fi } # func_tr_sh # Turn $1 into a string suitable for a shell variable name. # Result is stored in $func_tr_sh_result. All characters # not in the set a-zA-Z0-9_ are replaced with '_'. Further, # if $1 begins with a digit, a '_' is prepended as well. func_tr_sh () { case $1 in [0-9]* | *[!a-zA-Z0-9_]*) func_tr_sh_result=`$ECHO "$1" | $SED 's/^\([0-9]\)/_\1/; s/[^a-zA-Z0-9_]/_/g'` ;; * ) func_tr_sh_result=$1 ;; esac } # func_version # Echo version message to standard output and exit. func_version () { $opt_debug $SED -n '/(C)/!b go :more /\./!{ N s/\n# / / b more } :go /^# '$PROGRAM' (GNU /,/# warranty; / { s/^# // s/^# *$// s/\((C)\)[ 0-9,-]*\( [1-9][0-9]*\)/\1\2/ p }' < "$progpath" exit $? } # func_usage # Echo short help message to standard output and exit. func_usage () { $opt_debug $SED -n '/^# Usage:/,/^# *.*--help/ { s/^# // s/^# *$// s/\$progname/'$progname'/ p }' < "$progpath" echo $ECHO "run \`$progname --help | more' for full usage" exit $? } # func_help [NOEXIT] # Echo long help message to standard output and exit, # unless 'noexit' is passed as argument. func_help () { $opt_debug $SED -n '/^# Usage:/,/# Report bugs to/ { :print s/^# // s/^# *$// s*\$progname*'$progname'* s*\$host*'"$host"'* s*\$SHELL*'"$SHELL"'* s*\$LTCC*'"$LTCC"'* s*\$LTCFLAGS*'"$LTCFLAGS"'* s*\$LD*'"$LD"'* s/\$with_gnu_ld/'"$with_gnu_ld"'/ s/\$automake_version/'"`(${AUTOMAKE-automake} --version) 2>/dev/null |$SED 1q`"'/ s/\$autoconf_version/'"`(${AUTOCONF-autoconf} --version) 2>/dev/null |$SED 1q`"'/ p d } /^# .* home page:/b print /^# General help using/b print ' < "$progpath" ret=$? if test -z "$1"; then exit $ret fi } # func_missing_arg argname # Echo program name prefixed message to standard error and set global # exit_cmd. func_missing_arg () { $opt_debug func_error "missing argument for $1." exit_cmd=exit } # func_split_short_opt shortopt # Set func_split_short_opt_name and func_split_short_opt_arg shell # variables after splitting SHORTOPT after the 2nd character. func_split_short_opt () { my_sed_short_opt='1s/^\(..\).*$/\1/;q' my_sed_short_rest='1s/^..\(.*\)$/\1/;q' func_split_short_opt_name=`$ECHO "$1" | $SED "$my_sed_short_opt"` func_split_short_opt_arg=`$ECHO "$1" | $SED "$my_sed_short_rest"` } # func_split_short_opt may be replaced by extended shell implementation # func_split_long_opt longopt # Set func_split_long_opt_name and func_split_long_opt_arg shell # variables after splitting LONGOPT at the `=' sign. func_split_long_opt () { my_sed_long_opt='1s/^\(--[^=]*\)=.*/\1/;q' my_sed_long_arg='1s/^--[^=]*=//' func_split_long_opt_name=`$ECHO "$1" | $SED "$my_sed_long_opt"` func_split_long_opt_arg=`$ECHO "$1" | $SED "$my_sed_long_arg"` } # func_split_long_opt may be replaced by extended shell implementation exit_cmd=: magic="%%%MAGIC variable%%%" magic_exe="%%%MAGIC EXE variable%%%" # Global variables. nonopt= preserve_args= lo2o="s/\\.lo\$/.${objext}/" o2lo="s/\\.${objext}\$/.lo/" extracted_archives= extracted_serial=0 # If this variable is set in any of the actions, the command in it # will be execed at the end. This prevents here-documents from being # left over by shells. exec_cmd= # func_append var value # Append VALUE to the end of shell variable VAR. func_append () { eval "${1}=\$${1}\${2}" } # func_append may be replaced by extended shell implementation # func_append_quoted var value # Quote VALUE and append to the end of shell variable VAR, separated # by a space. func_append_quoted () { func_quote_for_eval "${2}" eval "${1}=\$${1}\\ \$func_quote_for_eval_result" } # func_append_quoted may be replaced by extended shell implementation # func_arith arithmetic-term... func_arith () { func_arith_result=`expr "${@}"` } # func_arith may be replaced by extended shell implementation # func_len string # STRING may not start with a hyphen. func_len () { func_len_result=`expr "${1}" : ".*" 2>/dev/null || echo $max_cmd_len` } # func_len may be replaced by extended shell implementation # func_lo2o object func_lo2o () { func_lo2o_result=`$ECHO "${1}" | $SED "$lo2o"` } # func_lo2o may be replaced by extended shell implementation # func_xform libobj-or-source func_xform () { func_xform_result=`$ECHO "${1}" | $SED 's/\.[^.]*$/.lo/'` } # func_xform may be replaced by extended shell implementation # func_fatal_configuration arg... # Echo program name prefixed message to standard error, followed by # a configuration failure hint, and exit. func_fatal_configuration () { func_error ${1+"$@"} func_error "See the $PACKAGE documentation for more information." func_fatal_error "Fatal configuration error." } # func_config # Display the configuration for all the tags in this script. func_config () { re_begincf='^# ### BEGIN LIBTOOL' re_endcf='^# ### END LIBTOOL' # Default configuration. $SED "1,/$re_begincf CONFIG/d;/$re_endcf CONFIG/,\$d" < "$progpath" # Now print the configurations for the tags. for tagname in $taglist; do $SED -n "/$re_begincf TAG CONFIG: $tagname\$/,/$re_endcf TAG CONFIG: $tagname\$/p" < "$progpath" done exit $? } # func_features # Display the features supported by this script. func_features () { echo "host: $host" if test "$build_libtool_libs" = yes; then echo "enable shared libraries" else echo "disable shared libraries" fi if test "$build_old_libs" = yes; then echo "enable static libraries" else echo "disable static libraries" fi exit $? } # func_enable_tag tagname # Verify that TAGNAME is valid, and either flag an error and exit, or # enable the TAGNAME tag. We also add TAGNAME to the global $taglist # variable here. func_enable_tag () { # Global variable: tagname="$1" re_begincf="^# ### BEGIN LIBTOOL TAG CONFIG: $tagname\$" re_endcf="^# ### END LIBTOOL TAG CONFIG: $tagname\$" sed_extractcf="/$re_begincf/,/$re_endcf/p" # Validate tagname. case $tagname in *[!-_A-Za-z0-9,/]*) func_fatal_error "invalid tag name: $tagname" ;; esac # Don't test for the "default" C tag, as we know it's # there but not specially marked. case $tagname in CC) ;; *) if $GREP "$re_begincf" "$progpath" >/dev/null 2>&1; then taglist="$taglist $tagname" # Evaluate the configuration. Be careful to quote the path # and the sed script, to avoid splitting on whitespace, but # also don't use non-portable quotes within backquotes within # quotes we have to do it in 2 steps: extractedcf=`$SED -n -e "$sed_extractcf" < "$progpath"` eval "$extractedcf" else func_error "ignoring unknown tag $tagname" fi ;; esac } # func_check_version_match # Ensure that we are using m4 macros, and libtool script from the same # release of libtool. func_check_version_match () { if test "$package_revision" != "$macro_revision"; then if test "$VERSION" != "$macro_version"; then if test -z "$macro_version"; then cat >&2 <<_LT_EOF $progname: Version mismatch error. This is $PACKAGE $VERSION, but the $progname: definition of this LT_INIT comes from an older release. $progname: You should recreate aclocal.m4 with macros from $PACKAGE $VERSION $progname: and run autoconf again. _LT_EOF else cat >&2 <<_LT_EOF $progname: Version mismatch error. This is $PACKAGE $VERSION, but the $progname: definition of this LT_INIT comes from $PACKAGE $macro_version. $progname: You should recreate aclocal.m4 with macros from $PACKAGE $VERSION $progname: and run autoconf again. _LT_EOF fi else cat >&2 <<_LT_EOF $progname: Version mismatch error. This is $PACKAGE $VERSION, revision $package_revision, $progname: but the definition of this LT_INIT comes from revision $macro_revision. $progname: You should recreate aclocal.m4 with macros from revision $package_revision $progname: of $PACKAGE $VERSION and run autoconf again. _LT_EOF fi exit $EXIT_MISMATCH fi } # Shorthand for --mode=foo, only valid as the first argument case $1 in clean|clea|cle|cl) shift; set dummy --mode clean ${1+"$@"}; shift ;; compile|compil|compi|comp|com|co|c) shift; set dummy --mode compile ${1+"$@"}; shift ;; execute|execut|execu|exec|exe|ex|e) shift; set dummy --mode execute ${1+"$@"}; shift ;; finish|finis|fini|fin|fi|f) shift; set dummy --mode finish ${1+"$@"}; shift ;; install|instal|insta|inst|ins|in|i) shift; set dummy --mode install ${1+"$@"}; shift ;; link|lin|li|l) shift; set dummy --mode link ${1+"$@"}; shift ;; uninstall|uninstal|uninsta|uninst|unins|unin|uni|un|u) shift; set dummy --mode uninstall ${1+"$@"}; shift ;; esac # Option defaults: opt_debug=: opt_dry_run=false opt_config=false opt_preserve_dup_deps=false opt_features=false opt_finish=false opt_help=false opt_help_all=false opt_silent=: opt_warning=: opt_verbose=: opt_silent=false opt_verbose=false # Parse options once, thoroughly. This comes as soon as possible in the # script to make things like `--version' happen as quickly as we can. { # this just eases exit handling while test $# -gt 0; do opt="$1" shift case $opt in --debug|-x) opt_debug='set -x' func_echo "enabling shell trace mode" $opt_debug ;; --dry-run|--dryrun|-n) opt_dry_run=: ;; --config) opt_config=: func_config ;; --dlopen|-dlopen) optarg="$1" opt_dlopen="${opt_dlopen+$opt_dlopen }$optarg" shift ;; --preserve-dup-deps) opt_preserve_dup_deps=: ;; --features) opt_features=: func_features ;; --finish) opt_finish=: set dummy --mode finish ${1+"$@"}; shift ;; --help) opt_help=: ;; --help-all) opt_help_all=: opt_help=': help-all' ;; --mode) test $# = 0 && func_missing_arg $opt && break optarg="$1" opt_mode="$optarg" case $optarg in # Valid mode arguments: clean|compile|execute|finish|install|link|relink|uninstall) ;; # Catch anything else as an error *) func_error "invalid argument for $opt" exit_cmd=exit break ;; esac shift ;; --no-silent|--no-quiet) opt_silent=false func_append preserve_args " $opt" ;; --no-warning|--no-warn) opt_warning=false func_append preserve_args " $opt" ;; --no-verbose) opt_verbose=false func_append preserve_args " $opt" ;; --silent|--quiet) opt_silent=: func_append preserve_args " $opt" opt_verbose=false ;; --verbose|-v) opt_verbose=: func_append preserve_args " $opt" opt_silent=false ;; --tag) test $# = 0 && func_missing_arg $opt && break optarg="$1" opt_tag="$optarg" func_append preserve_args " $opt $optarg" func_enable_tag "$optarg" shift ;; -\?|-h) func_usage ;; --help) func_help ;; --version) func_version ;; # Separate optargs to long options: --*=*) func_split_long_opt "$opt" set dummy "$func_split_long_opt_name" "$func_split_long_opt_arg" ${1+"$@"} shift ;; # Separate non-argument short options: -\?*|-h*|-n*|-v*) func_split_short_opt "$opt" set dummy "$func_split_short_opt_name" "-$func_split_short_opt_arg" ${1+"$@"} shift ;; --) break ;; -*) func_fatal_help "unrecognized option \`$opt'" ;; *) set dummy "$opt" ${1+"$@"}; shift; break ;; esac done # Validate options: # save first non-option argument if test "$#" -gt 0; then nonopt="$opt" shift fi # preserve --debug test "$opt_debug" = : || func_append preserve_args " --debug" case $host in *cygwin* | *mingw* | *pw32* | *cegcc*) # don't eliminate duplications in $postdeps and $predeps opt_duplicate_compiler_generated_deps=: ;; *) opt_duplicate_compiler_generated_deps=$opt_preserve_dup_deps ;; esac $opt_help || { # Sanity checks first: func_check_version_match if test "$build_libtool_libs" != yes && test "$build_old_libs" != yes; then func_fatal_configuration "not configured to build any kind of library" fi # Darwin sucks eval std_shrext=\"$shrext_cmds\" # Only execute mode is allowed to have -dlopen flags. if test -n "$opt_dlopen" && test "$opt_mode" != execute; then func_error "unrecognized option \`-dlopen'" $ECHO "$help" 1>&2 exit $EXIT_FAILURE fi # Change the help message to a mode-specific one. generic_help="$help" help="Try \`$progname --help --mode=$opt_mode' for more information." } # Bail if the options were screwed $exit_cmd $EXIT_FAILURE } ## ----------- ## ## Main. ## ## ----------- ## # func_lalib_p file # True iff FILE is a libtool `.la' library or `.lo' object file. # This function is only a basic sanity check; it will hardly flush out # determined imposters. func_lalib_p () { test -f "$1" && $SED -e 4q "$1" 2>/dev/null \ | $GREP "^# Generated by .*$PACKAGE" > /dev/null 2>&1 } # func_lalib_unsafe_p file # True iff FILE is a libtool `.la' library or `.lo' object file. # This function implements the same check as func_lalib_p without # resorting to external programs. To this end, it redirects stdin and # closes it afterwards, without saving the original file descriptor. # As a safety measure, use it only where a negative result would be # fatal anyway. Works if `file' does not exist. func_lalib_unsafe_p () { lalib_p=no if test -f "$1" && test -r "$1" && exec 5<&0 <"$1"; then for lalib_p_l in 1 2 3 4 do read lalib_p_line case "$lalib_p_line" in \#\ Generated\ by\ *$PACKAGE* ) lalib_p=yes; break;; esac done exec 0<&5 5<&- fi test "$lalib_p" = yes } # func_ltwrapper_script_p file # True iff FILE is a libtool wrapper script # This function is only a basic sanity check; it will hardly flush out # determined imposters. func_ltwrapper_script_p () { func_lalib_p "$1" } # func_ltwrapper_executable_p file # True iff FILE is a libtool wrapper executable # This function is only a basic sanity check; it will hardly flush out # determined imposters. func_ltwrapper_executable_p () { func_ltwrapper_exec_suffix= case $1 in *.exe) ;; *) func_ltwrapper_exec_suffix=.exe ;; esac $GREP "$magic_exe" "$1$func_ltwrapper_exec_suffix" >/dev/null 2>&1 } # func_ltwrapper_scriptname file # Assumes file is an ltwrapper_executable # uses $file to determine the appropriate filename for a # temporary ltwrapper_script. func_ltwrapper_scriptname () { func_dirname_and_basename "$1" "" "." func_stripname '' '.exe' "$func_basename_result" func_ltwrapper_scriptname_result="$func_dirname_result/$objdir/${func_stripname_result}_ltshwrapper" } # func_ltwrapper_p file # True iff FILE is a libtool wrapper script or wrapper executable # This function is only a basic sanity check; it will hardly flush out # determined imposters. func_ltwrapper_p () { func_ltwrapper_script_p "$1" || func_ltwrapper_executable_p "$1" } # func_execute_cmds commands fail_cmd # Execute tilde-delimited COMMANDS. # If FAIL_CMD is given, eval that upon failure. # FAIL_CMD may read-access the current command in variable CMD! func_execute_cmds () { $opt_debug save_ifs=$IFS; IFS='~' for cmd in $1; do IFS=$save_ifs eval cmd=\"$cmd\" func_show_eval "$cmd" "${2-:}" done IFS=$save_ifs } # func_source file # Source FILE, adding directory component if necessary. # Note that it is not necessary on cygwin/mingw to append a dot to # FILE even if both FILE and FILE.exe exist: automatic-append-.exe # behavior happens only for exec(3), not for open(2)! Also, sourcing # `FILE.' does not work on cygwin managed mounts. func_source () { $opt_debug case $1 in */* | *\\*) . "$1" ;; *) . "./$1" ;; esac } # func_resolve_sysroot PATH # Replace a leading = in PATH with a sysroot. Store the result into # func_resolve_sysroot_result func_resolve_sysroot () { func_resolve_sysroot_result=$1 case $func_resolve_sysroot_result in =*) func_stripname '=' '' "$func_resolve_sysroot_result" func_resolve_sysroot_result=$lt_sysroot$func_stripname_result ;; esac } # func_replace_sysroot PATH # If PATH begins with the sysroot, replace it with = and # store the result into func_replace_sysroot_result. func_replace_sysroot () { case "$lt_sysroot:$1" in ?*:"$lt_sysroot"*) func_stripname "$lt_sysroot" '' "$1" func_replace_sysroot_result="=$func_stripname_result" ;; *) # Including no sysroot. func_replace_sysroot_result=$1 ;; esac } # func_infer_tag arg # Infer tagged configuration to use if any are available and # if one wasn't chosen via the "--tag" command line option. # Only attempt this if the compiler in the base compile # command doesn't match the default compiler. # arg is usually of the form 'gcc ...' func_infer_tag () { $opt_debug if test -n "$available_tags" && test -z "$tagname"; then CC_quoted= for arg in $CC; do func_append_quoted CC_quoted "$arg" done CC_expanded=`func_echo_all $CC` CC_quoted_expanded=`func_echo_all $CC_quoted` case $@ in # Blanks in the command may have been stripped by the calling shell, # but not from the CC environment variable when configure was run. " $CC "* | "$CC "* | " $CC_expanded "* | "$CC_expanded "* | \ " $CC_quoted"* | "$CC_quoted "* | " $CC_quoted_expanded "* | "$CC_quoted_expanded "*) ;; # Blanks at the start of $base_compile will cause this to fail # if we don't check for them as well. *) for z in $available_tags; do if $GREP "^# ### BEGIN LIBTOOL TAG CONFIG: $z$" < "$progpath" > /dev/null; then # Evaluate the configuration. eval "`${SED} -n -e '/^# ### BEGIN LIBTOOL TAG CONFIG: '$z'$/,/^# ### END LIBTOOL TAG CONFIG: '$z'$/p' < $progpath`" CC_quoted= for arg in $CC; do # Double-quote args containing other shell metacharacters. func_append_quoted CC_quoted "$arg" done CC_expanded=`func_echo_all $CC` CC_quoted_expanded=`func_echo_all $CC_quoted` case "$@ " in " $CC "* | "$CC "* | " $CC_expanded "* | "$CC_expanded "* | \ " $CC_quoted"* | "$CC_quoted "* | " $CC_quoted_expanded "* | "$CC_quoted_expanded "*) # The compiler in the base compile command matches # the one in the tagged configuration. # Assume this is the tagged configuration we want. tagname=$z break ;; esac fi done # If $tagname still isn't set, then no tagged configuration # was found and let the user know that the "--tag" command # line option must be used. if test -z "$tagname"; then func_echo "unable to infer tagged configuration" func_fatal_error "specify a tag with \`--tag'" # else # func_verbose "using $tagname tagged configuration" fi ;; esac fi } # func_write_libtool_object output_name pic_name nonpic_name # Create a libtool object file (analogous to a ".la" file), # but don't create it if we're doing a dry run. func_write_libtool_object () { write_libobj=${1} if test "$build_libtool_libs" = yes; then write_lobj=\'${2}\' else write_lobj=none fi if test "$build_old_libs" = yes; then write_oldobj=\'${3}\' else write_oldobj=none fi $opt_dry_run || { cat >${write_libobj}T </dev/null` if test "$?" -eq 0 && test -n "${func_convert_core_file_wine_to_w32_tmp}"; then func_convert_core_file_wine_to_w32_result=`$ECHO "$func_convert_core_file_wine_to_w32_tmp" | $SED -e "$lt_sed_naive_backslashify"` else func_convert_core_file_wine_to_w32_result= fi fi } # end: func_convert_core_file_wine_to_w32 # func_convert_core_path_wine_to_w32 ARG # Helper function used by path conversion functions when $build is *nix, and # $host is mingw, cygwin, or some other w32 environment. Relies on a correctly # configured wine environment available, with the winepath program in $build's # $PATH. Assumes ARG has no leading or trailing path separator characters. # # ARG is path to be converted from $build format to win32. # Result is available in $func_convert_core_path_wine_to_w32_result. # Unconvertible file (directory) names in ARG are skipped; if no directory names # are convertible, then the result may be empty. func_convert_core_path_wine_to_w32 () { $opt_debug # unfortunately, winepath doesn't convert paths, only file names func_convert_core_path_wine_to_w32_result="" if test -n "$1"; then oldIFS=$IFS IFS=: for func_convert_core_path_wine_to_w32_f in $1; do IFS=$oldIFS func_convert_core_file_wine_to_w32 "$func_convert_core_path_wine_to_w32_f" if test -n "$func_convert_core_file_wine_to_w32_result" ; then if test -z "$func_convert_core_path_wine_to_w32_result"; then func_convert_core_path_wine_to_w32_result="$func_convert_core_file_wine_to_w32_result" else func_append func_convert_core_path_wine_to_w32_result ";$func_convert_core_file_wine_to_w32_result" fi fi done IFS=$oldIFS fi } # end: func_convert_core_path_wine_to_w32 # func_cygpath ARGS... # Wrapper around calling the cygpath program via LT_CYGPATH. This is used when # when (1) $build is *nix and Cygwin is hosted via a wine environment; or (2) # $build is MSYS and $host is Cygwin, or (3) $build is Cygwin. In case (1) or # (2), returns the Cygwin file name or path in func_cygpath_result (input # file name or path is assumed to be in w32 format, as previously converted # from $build's *nix or MSYS format). In case (3), returns the w32 file name # or path in func_cygpath_result (input file name or path is assumed to be in # Cygwin format). Returns an empty string on error. # # ARGS are passed to cygpath, with the last one being the file name or path to # be converted. # # Specify the absolute *nix (or w32) name to cygpath in the LT_CYGPATH # environment variable; do not put it in $PATH. func_cygpath () { $opt_debug if test -n "$LT_CYGPATH" && test -f "$LT_CYGPATH"; then func_cygpath_result=`$LT_CYGPATH "$@" 2>/dev/null` if test "$?" -ne 0; then # on failure, ensure result is empty func_cygpath_result= fi else func_cygpath_result= func_error "LT_CYGPATH is empty or specifies non-existent file: \`$LT_CYGPATH'" fi } #end: func_cygpath # func_convert_core_msys_to_w32 ARG # Convert file name or path ARG from MSYS format to w32 format. Return # result in func_convert_core_msys_to_w32_result. func_convert_core_msys_to_w32 () { $opt_debug # awkward: cmd appends spaces to result func_convert_core_msys_to_w32_result=`( cmd //c echo "$1" ) 2>/dev/null | $SED -e 's/[ ]*$//' -e "$lt_sed_naive_backslashify"` } #end: func_convert_core_msys_to_w32 # func_convert_file_check ARG1 ARG2 # Verify that ARG1 (a file name in $build format) was converted to $host # format in ARG2. Otherwise, emit an error message, but continue (resetting # func_to_host_file_result to ARG1). func_convert_file_check () { $opt_debug if test -z "$2" && test -n "$1" ; then func_error "Could not determine host file name corresponding to" func_error " \`$1'" func_error "Continuing, but uninstalled executables may not work." # Fallback: func_to_host_file_result="$1" fi } # end func_convert_file_check # func_convert_path_check FROM_PATHSEP TO_PATHSEP FROM_PATH TO_PATH # Verify that FROM_PATH (a path in $build format) was converted to $host # format in TO_PATH. Otherwise, emit an error message, but continue, resetting # func_to_host_file_result to a simplistic fallback value (see below). func_convert_path_check () { $opt_debug if test -z "$4" && test -n "$3"; then func_error "Could not determine the host path corresponding to" func_error " \`$3'" func_error "Continuing, but uninstalled executables may not work." # Fallback. This is a deliberately simplistic "conversion" and # should not be "improved". See libtool.info. if test "x$1" != "x$2"; then lt_replace_pathsep_chars="s|$1|$2|g" func_to_host_path_result=`echo "$3" | $SED -e "$lt_replace_pathsep_chars"` else func_to_host_path_result="$3" fi fi } # end func_convert_path_check # func_convert_path_front_back_pathsep FRONTPAT BACKPAT REPL ORIG # Modifies func_to_host_path_result by prepending REPL if ORIG matches FRONTPAT # and appending REPL if ORIG matches BACKPAT. func_convert_path_front_back_pathsep () { $opt_debug case $4 in $1 ) func_to_host_path_result="$3$func_to_host_path_result" ;; esac case $4 in $2 ) func_append func_to_host_path_result "$3" ;; esac } # end func_convert_path_front_back_pathsep ################################################## # $build to $host FILE NAME CONVERSION FUNCTIONS # ################################################## # invoked via `$to_host_file_cmd ARG' # # In each case, ARG is the path to be converted from $build to $host format. # Result will be available in $func_to_host_file_result. # func_to_host_file ARG # Converts the file name ARG from $build format to $host format. Return result # in func_to_host_file_result. func_to_host_file () { $opt_debug $to_host_file_cmd "$1" } # end func_to_host_file # func_to_tool_file ARG LAZY # converts the file name ARG from $build format to toolchain format. Return # result in func_to_tool_file_result. If the conversion in use is listed # in (the comma separated) LAZY, no conversion takes place. func_to_tool_file () { $opt_debug case ,$2, in *,"$to_tool_file_cmd",*) func_to_tool_file_result=$1 ;; *) $to_tool_file_cmd "$1" func_to_tool_file_result=$func_to_host_file_result ;; esac } # end func_to_tool_file # func_convert_file_noop ARG # Copy ARG to func_to_host_file_result. func_convert_file_noop () { func_to_host_file_result="$1" } # end func_convert_file_noop # func_convert_file_msys_to_w32 ARG # Convert file name ARG from (mingw) MSYS to (mingw) w32 format; automatic # conversion to w32 is not available inside the cwrapper. Returns result in # func_to_host_file_result. func_convert_file_msys_to_w32 () { $opt_debug func_to_host_file_result="$1" if test -n "$1"; then func_convert_core_msys_to_w32 "$1" func_to_host_file_result="$func_convert_core_msys_to_w32_result" fi func_convert_file_check "$1" "$func_to_host_file_result" } # end func_convert_file_msys_to_w32 # func_convert_file_cygwin_to_w32 ARG # Convert file name ARG from Cygwin to w32 format. Returns result in # func_to_host_file_result. func_convert_file_cygwin_to_w32 () { $opt_debug func_to_host_file_result="$1" if test -n "$1"; then # because $build is cygwin, we call "the" cygpath in $PATH; no need to use # LT_CYGPATH in this case. func_to_host_file_result=`cygpath -m "$1"` fi func_convert_file_check "$1" "$func_to_host_file_result" } # end func_convert_file_cygwin_to_w32 # func_convert_file_nix_to_w32 ARG # Convert file name ARG from *nix to w32 format. Requires a wine environment # and a working winepath. Returns result in func_to_host_file_result. func_convert_file_nix_to_w32 () { $opt_debug func_to_host_file_result="$1" if test -n "$1"; then func_convert_core_file_wine_to_w32 "$1" func_to_host_file_result="$func_convert_core_file_wine_to_w32_result" fi func_convert_file_check "$1" "$func_to_host_file_result" } # end func_convert_file_nix_to_w32 # func_convert_file_msys_to_cygwin ARG # Convert file name ARG from MSYS to Cygwin format. Requires LT_CYGPATH set. # Returns result in func_to_host_file_result. func_convert_file_msys_to_cygwin () { $opt_debug func_to_host_file_result="$1" if test -n "$1"; then func_convert_core_msys_to_w32 "$1" func_cygpath -u "$func_convert_core_msys_to_w32_result" func_to_host_file_result="$func_cygpath_result" fi func_convert_file_check "$1" "$func_to_host_file_result" } # end func_convert_file_msys_to_cygwin # func_convert_file_nix_to_cygwin ARG # Convert file name ARG from *nix to Cygwin format. Requires Cygwin installed # in a wine environment, working winepath, and LT_CYGPATH set. Returns result # in func_to_host_file_result. func_convert_file_nix_to_cygwin () { $opt_debug func_to_host_file_result="$1" if test -n "$1"; then # convert from *nix to w32, then use cygpath to convert from w32 to cygwin. func_convert_core_file_wine_to_w32 "$1" func_cygpath -u "$func_convert_core_file_wine_to_w32_result" func_to_host_file_result="$func_cygpath_result" fi func_convert_file_check "$1" "$func_to_host_file_result" } # end func_convert_file_nix_to_cygwin ############################################# # $build to $host PATH CONVERSION FUNCTIONS # ############################################# # invoked via `$to_host_path_cmd ARG' # # In each case, ARG is the path to be converted from $build to $host format. # The result will be available in $func_to_host_path_result. # # Path separators are also converted from $build format to $host format. If # ARG begins or ends with a path separator character, it is preserved (but # converted to $host format) on output. # # All path conversion functions are named using the following convention: # file name conversion function : func_convert_file_X_to_Y () # path conversion function : func_convert_path_X_to_Y () # where, for any given $build/$host combination the 'X_to_Y' value is the # same. If conversion functions are added for new $build/$host combinations, # the two new functions must follow this pattern, or func_init_to_host_path_cmd # will break. # func_init_to_host_path_cmd # Ensures that function "pointer" variable $to_host_path_cmd is set to the # appropriate value, based on the value of $to_host_file_cmd. to_host_path_cmd= func_init_to_host_path_cmd () { $opt_debug if test -z "$to_host_path_cmd"; then func_stripname 'func_convert_file_' '' "$to_host_file_cmd" to_host_path_cmd="func_convert_path_${func_stripname_result}" fi } # func_to_host_path ARG # Converts the path ARG from $build format to $host format. Return result # in func_to_host_path_result. func_to_host_path () { $opt_debug func_init_to_host_path_cmd $to_host_path_cmd "$1" } # end func_to_host_path # func_convert_path_noop ARG # Copy ARG to func_to_host_path_result. func_convert_path_noop () { func_to_host_path_result="$1" } # end func_convert_path_noop # func_convert_path_msys_to_w32 ARG # Convert path ARG from (mingw) MSYS to (mingw) w32 format; automatic # conversion to w32 is not available inside the cwrapper. Returns result in # func_to_host_path_result. func_convert_path_msys_to_w32 () { $opt_debug func_to_host_path_result="$1" if test -n "$1"; then # Remove leading and trailing path separator characters from ARG. MSYS # behavior is inconsistent here; cygpath turns them into '.;' and ';.'; # and winepath ignores them completely. func_stripname : : "$1" func_to_host_path_tmp1=$func_stripname_result func_convert_core_msys_to_w32 "$func_to_host_path_tmp1" func_to_host_path_result="$func_convert_core_msys_to_w32_result" func_convert_path_check : ";" \ "$func_to_host_path_tmp1" "$func_to_host_path_result" func_convert_path_front_back_pathsep ":*" "*:" ";" "$1" fi } # end func_convert_path_msys_to_w32 # func_convert_path_cygwin_to_w32 ARG # Convert path ARG from Cygwin to w32 format. Returns result in # func_to_host_file_result. func_convert_path_cygwin_to_w32 () { $opt_debug func_to_host_path_result="$1" if test -n "$1"; then # See func_convert_path_msys_to_w32: func_stripname : : "$1" func_to_host_path_tmp1=$func_stripname_result func_to_host_path_result=`cygpath -m -p "$func_to_host_path_tmp1"` func_convert_path_check : ";" \ "$func_to_host_path_tmp1" "$func_to_host_path_result" func_convert_path_front_back_pathsep ":*" "*:" ";" "$1" fi } # end func_convert_path_cygwin_to_w32 # func_convert_path_nix_to_w32 ARG # Convert path ARG from *nix to w32 format. Requires a wine environment and # a working winepath. Returns result in func_to_host_file_result. func_convert_path_nix_to_w32 () { $opt_debug func_to_host_path_result="$1" if test -n "$1"; then # See func_convert_path_msys_to_w32: func_stripname : : "$1" func_to_host_path_tmp1=$func_stripname_result func_convert_core_path_wine_to_w32 "$func_to_host_path_tmp1" func_to_host_path_result="$func_convert_core_path_wine_to_w32_result" func_convert_path_check : ";" \ "$func_to_host_path_tmp1" "$func_to_host_path_result" func_convert_path_front_back_pathsep ":*" "*:" ";" "$1" fi } # end func_convert_path_nix_to_w32 # func_convert_path_msys_to_cygwin ARG # Convert path ARG from MSYS to Cygwin format. Requires LT_CYGPATH set. # Returns result in func_to_host_file_result. func_convert_path_msys_to_cygwin () { $opt_debug func_to_host_path_result="$1" if test -n "$1"; then # See func_convert_path_msys_to_w32: func_stripname : : "$1" func_to_host_path_tmp1=$func_stripname_result func_convert_core_msys_to_w32 "$func_to_host_path_tmp1" func_cygpath -u -p "$func_convert_core_msys_to_w32_result" func_to_host_path_result="$func_cygpath_result" func_convert_path_check : : \ "$func_to_host_path_tmp1" "$func_to_host_path_result" func_convert_path_front_back_pathsep ":*" "*:" : "$1" fi } # end func_convert_path_msys_to_cygwin # func_convert_path_nix_to_cygwin ARG # Convert path ARG from *nix to Cygwin format. Requires Cygwin installed in a # a wine environment, working winepath, and LT_CYGPATH set. Returns result in # func_to_host_file_result. func_convert_path_nix_to_cygwin () { $opt_debug func_to_host_path_result="$1" if test -n "$1"; then # Remove leading and trailing path separator characters from # ARG. msys behavior is inconsistent here, cygpath turns them # into '.;' and ';.', and winepath ignores them completely. func_stripname : : "$1" func_to_host_path_tmp1=$func_stripname_result func_convert_core_path_wine_to_w32 "$func_to_host_path_tmp1" func_cygpath -u -p "$func_convert_core_path_wine_to_w32_result" func_to_host_path_result="$func_cygpath_result" func_convert_path_check : : \ "$func_to_host_path_tmp1" "$func_to_host_path_result" func_convert_path_front_back_pathsep ":*" "*:" : "$1" fi } # end func_convert_path_nix_to_cygwin # func_mode_compile arg... func_mode_compile () { $opt_debug # Get the compilation command and the source file. base_compile= srcfile="$nonopt" # always keep a non-empty value in "srcfile" suppress_opt=yes suppress_output= arg_mode=normal libobj= later= pie_flag= for arg do case $arg_mode in arg ) # do not "continue". Instead, add this to base_compile lastarg="$arg" arg_mode=normal ;; target ) libobj="$arg" arg_mode=normal continue ;; normal ) # Accept any command-line options. case $arg in -o) test -n "$libobj" && \ func_fatal_error "you cannot specify \`-o' more than once" arg_mode=target continue ;; -pie | -fpie | -fPIE) func_append pie_flag " $arg" continue ;; -shared | -static | -prefer-pic | -prefer-non-pic) func_append later " $arg" continue ;; -no-suppress) suppress_opt=no continue ;; -Xcompiler) arg_mode=arg # the next one goes into the "base_compile" arg list continue # The current "srcfile" will either be retained or ;; # replaced later. I would guess that would be a bug. -Wc,*) func_stripname '-Wc,' '' "$arg" args=$func_stripname_result lastarg= save_ifs="$IFS"; IFS=',' for arg in $args; do IFS="$save_ifs" func_append_quoted lastarg "$arg" done IFS="$save_ifs" func_stripname ' ' '' "$lastarg" lastarg=$func_stripname_result # Add the arguments to base_compile. func_append base_compile " $lastarg" continue ;; *) # Accept the current argument as the source file. # The previous "srcfile" becomes the current argument. # lastarg="$srcfile" srcfile="$arg" ;; esac # case $arg ;; esac # case $arg_mode # Aesthetically quote the previous argument. func_append_quoted base_compile "$lastarg" done # for arg case $arg_mode in arg) func_fatal_error "you must specify an argument for -Xcompile" ;; target) func_fatal_error "you must specify a target with \`-o'" ;; *) # Get the name of the library object. test -z "$libobj" && { func_basename "$srcfile" libobj="$func_basename_result" } ;; esac # Recognize several different file suffixes. # If the user specifies -o file.o, it is replaced with file.lo case $libobj in *.[cCFSifmso] | \ *.ada | *.adb | *.ads | *.asm | \ *.c++ | *.cc | *.ii | *.class | *.cpp | *.cxx | \ *.[fF][09]? | *.for | *.java | *.go | *.obj | *.sx | *.cu | *.cup) func_xform "$libobj" libobj=$func_xform_result ;; esac case $libobj in *.lo) func_lo2o "$libobj"; obj=$func_lo2o_result ;; *) func_fatal_error "cannot determine name of library object from \`$libobj'" ;; esac func_infer_tag $base_compile for arg in $later; do case $arg in -shared) test "$build_libtool_libs" != yes && \ func_fatal_configuration "can not build a shared library" build_old_libs=no continue ;; -static) build_libtool_libs=no build_old_libs=yes continue ;; -prefer-pic) pic_mode=yes continue ;; -prefer-non-pic) pic_mode=no continue ;; esac done func_quote_for_eval "$libobj" test "X$libobj" != "X$func_quote_for_eval_result" \ && $ECHO "X$libobj" | $GREP '[]~#^*{};<>?"'"'"' &()|`$[]' \ && func_warning "libobj name \`$libobj' may not contain shell special characters." func_dirname_and_basename "$obj" "/" "" objname="$func_basename_result" xdir="$func_dirname_result" lobj=${xdir}$objdir/$objname test -z "$base_compile" && \ func_fatal_help "you must specify a compilation command" # Delete any leftover library objects. if test "$build_old_libs" = yes; then removelist="$obj $lobj $libobj ${libobj}T" else removelist="$lobj $libobj ${libobj}T" fi # On Cygwin there's no "real" PIC flag so we must build both object types case $host_os in cygwin* | mingw* | pw32* | os2* | cegcc*) pic_mode=default ;; esac if test "$pic_mode" = no && test "$deplibs_check_method" != pass_all; then # non-PIC code in shared libraries is not supported pic_mode=default fi # Calculate the filename of the output object if compiler does # not support -o with -c if test "$compiler_c_o" = no; then output_obj=`$ECHO "$srcfile" | $SED 's%^.*/%%; s%\.[^.]*$%%'`.${objext} lockfile="$output_obj.lock" else output_obj= need_locks=no lockfile= fi # Lock this critical section if it is needed # We use this script file to make the link, it avoids creating a new file if test "$need_locks" = yes; then until $opt_dry_run || ln "$progpath" "$lockfile" 2>/dev/null; do func_echo "Waiting for $lockfile to be removed" sleep 2 done elif test "$need_locks" = warn; then if test -f "$lockfile"; then $ECHO "\ *** ERROR, $lockfile exists and contains: `cat $lockfile 2>/dev/null` This indicates that another process is trying to use the same temporary object file, and libtool could not work around it because your compiler does not support \`-c' and \`-o' together. If you repeat this compilation, it may succeed, by chance, but you had better avoid parallel builds (make -j) in this platform, or get a better compiler." $opt_dry_run || $RM $removelist exit $EXIT_FAILURE fi func_append removelist " $output_obj" $ECHO "$srcfile" > "$lockfile" fi $opt_dry_run || $RM $removelist func_append removelist " $lockfile" trap '$opt_dry_run || $RM $removelist; exit $EXIT_FAILURE' 1 2 15 func_to_tool_file "$srcfile" func_convert_file_msys_to_w32 srcfile=$func_to_tool_file_result func_quote_for_eval "$srcfile" qsrcfile=$func_quote_for_eval_result # Only build a PIC object if we are building libtool libraries. if test "$build_libtool_libs" = yes; then # Without this assignment, base_compile gets emptied. fbsd_hideous_sh_bug=$base_compile if test "$pic_mode" != no; then command="$base_compile $qsrcfile $pic_flag" else # Don't build PIC code command="$base_compile $qsrcfile" fi func_mkdir_p "$xdir$objdir" if test -z "$output_obj"; then # Place PIC objects in $objdir func_append command " -o $lobj" fi func_show_eval_locale "$command" \ 'test -n "$output_obj" && $RM $removelist; exit $EXIT_FAILURE' if test "$need_locks" = warn && test "X`cat $lockfile 2>/dev/null`" != "X$srcfile"; then $ECHO "\ *** ERROR, $lockfile contains: `cat $lockfile 2>/dev/null` but it should contain: $srcfile This indicates that another process is trying to use the same temporary object file, and libtool could not work around it because your compiler does not support \`-c' and \`-o' together. If you repeat this compilation, it may succeed, by chance, but you had better avoid parallel builds (make -j) in this platform, or get a better compiler." $opt_dry_run || $RM $removelist exit $EXIT_FAILURE fi # Just move the object if needed, then go on to compile the next one if test -n "$output_obj" && test "X$output_obj" != "X$lobj"; then func_show_eval '$MV "$output_obj" "$lobj"' \ 'error=$?; $opt_dry_run || $RM $removelist; exit $error' fi # Allow error messages only from the first compilation. if test "$suppress_opt" = yes; then suppress_output=' >/dev/null 2>&1' fi fi # Only build a position-dependent object if we build old libraries. if test "$build_old_libs" = yes; then if test "$pic_mode" != yes; then # Don't build PIC code command="$base_compile $qsrcfile$pie_flag" else command="$base_compile $qsrcfile $pic_flag" fi if test "$compiler_c_o" = yes; then func_append command " -o $obj" fi # Suppress compiler output if we already did a PIC compilation. func_append command "$suppress_output" func_show_eval_locale "$command" \ '$opt_dry_run || $RM $removelist; exit $EXIT_FAILURE' if test "$need_locks" = warn && test "X`cat $lockfile 2>/dev/null`" != "X$srcfile"; then $ECHO "\ *** ERROR, $lockfile contains: `cat $lockfile 2>/dev/null` but it should contain: $srcfile This indicates that another process is trying to use the same temporary object file, and libtool could not work around it because your compiler does not support \`-c' and \`-o' together. If you repeat this compilation, it may succeed, by chance, but you had better avoid parallel builds (make -j) in this platform, or get a better compiler." $opt_dry_run || $RM $removelist exit $EXIT_FAILURE fi # Just move the object if needed if test -n "$output_obj" && test "X$output_obj" != "X$obj"; then func_show_eval '$MV "$output_obj" "$obj"' \ 'error=$?; $opt_dry_run || $RM $removelist; exit $error' fi fi $opt_dry_run || { func_write_libtool_object "$libobj" "$objdir/$objname" "$objname" # Unlock the critical section if it was locked if test "$need_locks" != no; then removelist=$lockfile $RM "$lockfile" fi } exit $EXIT_SUCCESS } $opt_help || { test "$opt_mode" = compile && func_mode_compile ${1+"$@"} } func_mode_help () { # We need to display help for each of the modes. case $opt_mode in "") # Generic help is extracted from the usage comments # at the start of this file. func_help ;; clean) $ECHO \ "Usage: $progname [OPTION]... --mode=clean RM [RM-OPTION]... FILE... Remove files from the build directory. RM is the name of the program to use to delete files associated with each FILE (typically \`/bin/rm'). RM-OPTIONS are options (such as \`-f') to be passed to RM. If FILE is a libtool library, object or program, all the files associated with it are deleted. Otherwise, only FILE itself is deleted using RM." ;; compile) $ECHO \ "Usage: $progname [OPTION]... --mode=compile COMPILE-COMMAND... SOURCEFILE Compile a source file into a libtool library object. This mode accepts the following additional options: -o OUTPUT-FILE set the output file name to OUTPUT-FILE -no-suppress do not suppress compiler output for multiple passes -prefer-pic try to build PIC objects only -prefer-non-pic try to build non-PIC objects only -shared do not build a \`.o' file suitable for static linking -static only build a \`.o' file suitable for static linking -Wc,FLAG pass FLAG directly to the compiler COMPILE-COMMAND is a command to be used in creating a \`standard' object file from the given SOURCEFILE. The output file name is determined by removing the directory component from SOURCEFILE, then substituting the C source code suffix \`.c' with the library object suffix, \`.lo'." ;; execute) $ECHO \ "Usage: $progname [OPTION]... --mode=execute COMMAND [ARGS]... Automatically set library path, then run a program. This mode accepts the following additional options: -dlopen FILE add the directory containing FILE to the library path This mode sets the library path environment variable according to \`-dlopen' flags. If any of the ARGS are libtool executable wrappers, then they are translated into their corresponding uninstalled binary, and any of their required library directories are added to the library path. Then, COMMAND is executed, with ARGS as arguments." ;; finish) $ECHO \ "Usage: $progname [OPTION]... --mode=finish [LIBDIR]... Complete the installation of libtool libraries. Each LIBDIR is a directory that contains libtool libraries. The commands that this mode executes may require superuser privileges. Use the \`--dry-run' option if you just want to see what would be executed." ;; install) $ECHO \ "Usage: $progname [OPTION]... --mode=install INSTALL-COMMAND... Install executables or libraries. INSTALL-COMMAND is the installation command. The first component should be either the \`install' or \`cp' program. The following components of INSTALL-COMMAND are treated specially: -inst-prefix-dir PREFIX-DIR Use PREFIX-DIR as a staging area for installation The rest of the components are interpreted as arguments to that command (only BSD-compatible install options are recognized)." ;; link) $ECHO \ "Usage: $progname [OPTION]... --mode=link LINK-COMMAND... Link object files or libraries together to form another library, or to create an executable program. LINK-COMMAND is a command using the C compiler that you would use to create a program from several object files. The following components of LINK-COMMAND are treated specially: -all-static do not do any dynamic linking at all -avoid-version do not add a version suffix if possible -bindir BINDIR specify path to binaries directory (for systems where libraries must be found in the PATH setting at runtime) -dlopen FILE \`-dlpreopen' FILE if it cannot be dlopened at runtime -dlpreopen FILE link in FILE and add its symbols to lt_preloaded_symbols -export-dynamic allow symbols from OUTPUT-FILE to be resolved with dlsym(3) -export-symbols SYMFILE try to export only the symbols listed in SYMFILE -export-symbols-regex REGEX try to export only the symbols matching REGEX -LLIBDIR search LIBDIR for required installed libraries -lNAME OUTPUT-FILE requires the installed library libNAME -module build a library that can dlopened -no-fast-install disable the fast-install mode -no-install link a not-installable executable -no-undefined declare that a library does not refer to external symbols -o OUTPUT-FILE create OUTPUT-FILE from the specified objects -objectlist FILE Use a list of object files found in FILE to specify objects -precious-files-regex REGEX don't remove output files matching REGEX -release RELEASE specify package release information -rpath LIBDIR the created library will eventually be installed in LIBDIR -R[ ]LIBDIR add LIBDIR to the runtime path of programs and libraries -shared only do dynamic linking of libtool libraries -shrext SUFFIX override the standard shared library file extension -static do not do any dynamic linking of uninstalled libtool libraries -static-libtool-libs do not do any dynamic linking of libtool libraries -version-info CURRENT[:REVISION[:AGE]] specify library version info [each variable defaults to 0] -weak LIBNAME declare that the target provides the LIBNAME interface -Wc,FLAG -Xcompiler FLAG pass linker-specific FLAG directly to the compiler -Wl,FLAG -Xlinker FLAG pass linker-specific FLAG directly to the linker -XCClinker FLAG pass link-specific FLAG to the compiler driver (CC) All other options (arguments beginning with \`-') are ignored. Every other argument is treated as a filename. Files ending in \`.la' are treated as uninstalled libtool libraries, other files are standard or library object files. If the OUTPUT-FILE ends in \`.la', then a libtool library is created, only library objects (\`.lo' files) may be specified, and \`-rpath' is required, except when creating a convenience library. If OUTPUT-FILE ends in \`.a' or \`.lib', then a standard library is created using \`ar' and \`ranlib', or on Windows using \`lib'. If OUTPUT-FILE ends in \`.lo' or \`.${objext}', then a reloadable object file is created, otherwise an executable program is created." ;; uninstall) $ECHO \ "Usage: $progname [OPTION]... --mode=uninstall RM [RM-OPTION]... FILE... Remove libraries from an installation directory. RM is the name of the program to use to delete files associated with each FILE (typically \`/bin/rm'). RM-OPTIONS are options (such as \`-f') to be passed to RM. If FILE is a libtool library, all the files associated with it are deleted. Otherwise, only FILE itself is deleted using RM." ;; *) func_fatal_help "invalid operation mode \`$opt_mode'" ;; esac echo $ECHO "Try \`$progname --help' for more information about other modes." } # Now that we've collected a possible --mode arg, show help if necessary if $opt_help; then if test "$opt_help" = :; then func_mode_help else { func_help noexit for opt_mode in compile link execute install finish uninstall clean; do func_mode_help done } | sed -n '1p; 2,$s/^Usage:/ or: /p' { func_help noexit for opt_mode in compile link execute install finish uninstall clean; do echo func_mode_help done } | sed '1d /^When reporting/,/^Report/{ H d } $x /information about other modes/d /more detailed .*MODE/d s/^Usage:.*--mode=\([^ ]*\) .*/Description of \1 mode:/' fi exit $? fi # func_mode_execute arg... func_mode_execute () { $opt_debug # The first argument is the command name. cmd="$nonopt" test -z "$cmd" && \ func_fatal_help "you must specify a COMMAND" # Handle -dlopen flags immediately. for file in $opt_dlopen; do test -f "$file" \ || func_fatal_help "\`$file' is not a file" dir= case $file in *.la) func_resolve_sysroot "$file" file=$func_resolve_sysroot_result # Check to see that this really is a libtool archive. func_lalib_unsafe_p "$file" \ || func_fatal_help "\`$lib' is not a valid libtool archive" # Read the libtool library. dlname= library_names= func_source "$file" # Skip this library if it cannot be dlopened. if test -z "$dlname"; then # Warn if it was a shared library. test -n "$library_names" && \ func_warning "\`$file' was not linked with \`-export-dynamic'" continue fi func_dirname "$file" "" "." dir="$func_dirname_result" if test -f "$dir/$objdir/$dlname"; then func_append dir "/$objdir" else if test ! -f "$dir/$dlname"; then func_fatal_error "cannot find \`$dlname' in \`$dir' or \`$dir/$objdir'" fi fi ;; *.lo) # Just add the directory containing the .lo file. func_dirname "$file" "" "." dir="$func_dirname_result" ;; *) func_warning "\`-dlopen' is ignored for non-libtool libraries and objects" continue ;; esac # Get the absolute pathname. absdir=`cd "$dir" && pwd` test -n "$absdir" && dir="$absdir" # Now add the directory to shlibpath_var. if eval "test -z \"\$$shlibpath_var\""; then eval "$shlibpath_var=\"\$dir\"" else eval "$shlibpath_var=\"\$dir:\$$shlibpath_var\"" fi done # This variable tells wrapper scripts just to set shlibpath_var # rather than running their programs. libtool_execute_magic="$magic" # Check if any of the arguments is a wrapper script. args= for file do case $file in -* | *.la | *.lo ) ;; *) # Do a test to see if this is really a libtool program. if func_ltwrapper_script_p "$file"; then func_source "$file" # Transform arg to wrapped name. file="$progdir/$program" elif func_ltwrapper_executable_p "$file"; then func_ltwrapper_scriptname "$file" func_source "$func_ltwrapper_scriptname_result" # Transform arg to wrapped name. file="$progdir/$program" fi ;; esac # Quote arguments (to preserve shell metacharacters). func_append_quoted args "$file" done if test "X$opt_dry_run" = Xfalse; then if test -n "$shlibpath_var"; then # Export the shlibpath_var. eval "export $shlibpath_var" fi # Restore saved environment variables for lt_var in LANG LANGUAGE LC_ALL LC_CTYPE LC_COLLATE LC_MESSAGES do eval "if test \"\${save_$lt_var+set}\" = set; then $lt_var=\$save_$lt_var; export $lt_var else $lt_unset $lt_var fi" done # Now prepare to actually exec the command. exec_cmd="\$cmd$args" else # Display what would be done. if test -n "$shlibpath_var"; then eval "\$ECHO \"\$shlibpath_var=\$$shlibpath_var\"" echo "export $shlibpath_var" fi $ECHO "$cmd$args" exit $EXIT_SUCCESS fi } test "$opt_mode" = execute && func_mode_execute ${1+"$@"} # func_mode_finish arg... func_mode_finish () { $opt_debug libs= libdirs= admincmds= for opt in "$nonopt" ${1+"$@"} do if test -d "$opt"; then func_append libdirs " $opt" elif test -f "$opt"; then if func_lalib_unsafe_p "$opt"; then func_append libs " $opt" else func_warning "\`$opt' is not a valid libtool archive" fi else func_fatal_error "invalid argument \`$opt'" fi done if test -n "$libs"; then if test -n "$lt_sysroot"; then sysroot_regex=`$ECHO "$lt_sysroot" | $SED "$sed_make_literal_regex"` sysroot_cmd="s/\([ ']\)$sysroot_regex/\1/g;" else sysroot_cmd= fi # Remove sysroot references if $opt_dry_run; then for lib in $libs; do echo "removing references to $lt_sysroot and \`=' prefixes from $lib" done else tmpdir=`func_mktempdir` for lib in $libs; do sed -e "${sysroot_cmd} s/\([ ']-[LR]\)=/\1/g; s/\([ ']\)=/\1/g" $lib \ > $tmpdir/tmp-la mv -f $tmpdir/tmp-la $lib done ${RM}r "$tmpdir" fi fi if test -n "$finish_cmds$finish_eval" && test -n "$libdirs"; then for libdir in $libdirs; do if test -n "$finish_cmds"; then # Do each command in the finish commands. func_execute_cmds "$finish_cmds" 'admincmds="$admincmds '"$cmd"'"' fi if test -n "$finish_eval"; then # Do the single finish_eval. eval cmds=\"$finish_eval\" $opt_dry_run || eval "$cmds" || func_append admincmds " $cmds" fi done fi # Exit here if they wanted silent mode. $opt_silent && exit $EXIT_SUCCESS if test -n "$finish_cmds$finish_eval" && test -n "$libdirs"; then echo "----------------------------------------------------------------------" echo "Libraries have been installed in:" for libdir in $libdirs; do $ECHO " $libdir" done echo echo "If you ever happen to want to link against installed libraries" echo "in a given directory, LIBDIR, you must either use libtool, and" echo "specify the full pathname of the library, or use the \`-LLIBDIR'" echo "flag during linking and do at least one of the following:" if test -n "$shlibpath_var"; then echo " - add LIBDIR to the \`$shlibpath_var' environment variable" echo " during execution" fi if test -n "$runpath_var"; then echo " - add LIBDIR to the \`$runpath_var' environment variable" echo " during linking" fi if test -n "$hardcode_libdir_flag_spec"; then libdir=LIBDIR eval flag=\"$hardcode_libdir_flag_spec\" $ECHO " - use the \`$flag' linker flag" fi if test -n "$admincmds"; then $ECHO " - have your system administrator run these commands:$admincmds" fi if test -f /etc/ld.so.conf; then echo " - have your system administrator add LIBDIR to \`/etc/ld.so.conf'" fi echo echo "See any operating system documentation about shared libraries for" case $host in solaris2.[6789]|solaris2.1[0-9]) echo "more information, such as the ld(1), crle(1) and ld.so(8) manual" echo "pages." ;; *) echo "more information, such as the ld(1) and ld.so(8) manual pages." ;; esac echo "----------------------------------------------------------------------" fi exit $EXIT_SUCCESS } test "$opt_mode" = finish && func_mode_finish ${1+"$@"} # func_mode_install arg... func_mode_install () { $opt_debug # There may be an optional sh(1) argument at the beginning of # install_prog (especially on Windows NT). if test "$nonopt" = "$SHELL" || test "$nonopt" = /bin/sh || # Allow the use of GNU shtool's install command. case $nonopt in *shtool*) :;; *) false;; esac; then # Aesthetically quote it. func_quote_for_eval "$nonopt" install_prog="$func_quote_for_eval_result " arg=$1 shift else install_prog= arg=$nonopt fi # The real first argument should be the name of the installation program. # Aesthetically quote it. func_quote_for_eval "$arg" func_append install_prog "$func_quote_for_eval_result" install_shared_prog=$install_prog case " $install_prog " in *[\\\ /]cp\ *) install_cp=: ;; *) install_cp=false ;; esac # We need to accept at least all the BSD install flags. dest= files= opts= prev= install_type= isdir=no stripme= no_mode=: for arg do arg2= if test -n "$dest"; then func_append files " $dest" dest=$arg continue fi case $arg in -d) isdir=yes ;; -f) if $install_cp; then :; else prev=$arg fi ;; -g | -m | -o) prev=$arg ;; -s) stripme=" -s" continue ;; -*) ;; *) # If the previous option needed an argument, then skip it. if test -n "$prev"; then if test "x$prev" = x-m && test -n "$install_override_mode"; then arg2=$install_override_mode no_mode=false fi prev= else dest=$arg continue fi ;; esac # Aesthetically quote the argument. func_quote_for_eval "$arg" func_append install_prog " $func_quote_for_eval_result" if test -n "$arg2"; then func_quote_for_eval "$arg2" fi func_append install_shared_prog " $func_quote_for_eval_result" done test -z "$install_prog" && \ func_fatal_help "you must specify an install program" test -n "$prev" && \ func_fatal_help "the \`$prev' option requires an argument" if test -n "$install_override_mode" && $no_mode; then if $install_cp; then :; else func_quote_for_eval "$install_override_mode" func_append install_shared_prog " -m $func_quote_for_eval_result" fi fi if test -z "$files"; then if test -z "$dest"; then func_fatal_help "no file or destination specified" else func_fatal_help "you must specify a destination" fi fi # Strip any trailing slash from the destination. func_stripname '' '/' "$dest" dest=$func_stripname_result # Check to see that the destination is a directory. test -d "$dest" && isdir=yes if test "$isdir" = yes; then destdir="$dest" destname= else func_dirname_and_basename "$dest" "" "." destdir="$func_dirname_result" destname="$func_basename_result" # Not a directory, so check to see that there is only one file specified. set dummy $files; shift test "$#" -gt 1 && \ func_fatal_help "\`$dest' is not a directory" fi case $destdir in [\\/]* | [A-Za-z]:[\\/]*) ;; *) for file in $files; do case $file in *.lo) ;; *) func_fatal_help "\`$destdir' must be an absolute directory name" ;; esac done ;; esac # This variable tells wrapper scripts just to set variables rather # than running their programs. libtool_install_magic="$magic" staticlibs= future_libdirs= current_libdirs= for file in $files; do # Do each installation. case $file in *.$libext) # Do the static libraries later. func_append staticlibs " $file" ;; *.la) func_resolve_sysroot "$file" file=$func_resolve_sysroot_result # Check to see that this really is a libtool archive. func_lalib_unsafe_p "$file" \ || func_fatal_help "\`$file' is not a valid libtool archive" library_names= old_library= relink_command= func_source "$file" # Add the libdir to current_libdirs if it is the destination. if test "X$destdir" = "X$libdir"; then case "$current_libdirs " in *" $libdir "*) ;; *) func_append current_libdirs " $libdir" ;; esac else # Note the libdir as a future libdir. case "$future_libdirs " in *" $libdir "*) ;; *) func_append future_libdirs " $libdir" ;; esac fi func_dirname "$file" "/" "" dir="$func_dirname_result" func_append dir "$objdir" if test -n "$relink_command"; then # Determine the prefix the user has applied to our future dir. inst_prefix_dir=`$ECHO "$destdir" | $SED -e "s%$libdir\$%%"` # Don't allow the user to place us outside of our expected # location b/c this prevents finding dependent libraries that # are installed to the same prefix. # At present, this check doesn't affect windows .dll's that # are installed into $libdir/../bin (currently, that works fine) # but it's something to keep an eye on. test "$inst_prefix_dir" = "$destdir" && \ func_fatal_error "error: cannot install \`$file' to a directory not ending in $libdir" if test -n "$inst_prefix_dir"; then # Stick the inst_prefix_dir data into the link command. relink_command=`$ECHO "$relink_command" | $SED "s%@inst_prefix_dir@%-inst-prefix-dir $inst_prefix_dir%"` else relink_command=`$ECHO "$relink_command" | $SED "s%@inst_prefix_dir@%%"` fi func_warning "relinking \`$file'" func_show_eval "$relink_command" \ 'func_fatal_error "error: relink \`$file'\'' with the above command before installing it"' fi # See the names of the shared library. set dummy $library_names; shift if test -n "$1"; then realname="$1" shift srcname="$realname" test -n "$relink_command" && srcname="$realname"T # Install the shared library and build the symlinks. func_show_eval "$install_shared_prog $dir/$srcname $destdir/$realname" \ 'exit $?' tstripme="$stripme" case $host_os in cygwin* | mingw* | pw32* | cegcc*) case $realname in *.dll.a) tstripme="" ;; esac ;; esac if test -n "$tstripme" && test -n "$striplib"; then func_show_eval "$striplib $destdir/$realname" 'exit $?' fi if test "$#" -gt 0; then # Delete the old symlinks, and create new ones. # Try `ln -sf' first, because the `ln' binary might depend on # the symlink we replace! Solaris /bin/ln does not understand -f, # so we also need to try rm && ln -s. for linkname do test "$linkname" != "$realname" \ && func_show_eval "(cd $destdir && { $LN_S -f $realname $linkname || { $RM $linkname && $LN_S $realname $linkname; }; })" done fi # Do each command in the postinstall commands. lib="$destdir/$realname" func_execute_cmds "$postinstall_cmds" 'exit $?' fi # Install the pseudo-library for information purposes. func_basename "$file" name="$func_basename_result" instname="$dir/$name"i func_show_eval "$install_prog $instname $destdir/$name" 'exit $?' # Maybe install the static library, too. test -n "$old_library" && func_append staticlibs " $dir/$old_library" ;; *.lo) # Install (i.e. copy) a libtool object. # Figure out destination file name, if it wasn't already specified. if test -n "$destname"; then destfile="$destdir/$destname" else func_basename "$file" destfile="$func_basename_result" destfile="$destdir/$destfile" fi # Deduce the name of the destination old-style object file. case $destfile in *.lo) func_lo2o "$destfile" staticdest=$func_lo2o_result ;; *.$objext) staticdest="$destfile" destfile= ;; *) func_fatal_help "cannot copy a libtool object to \`$destfile'" ;; esac # Install the libtool object if requested. test -n "$destfile" && \ func_show_eval "$install_prog $file $destfile" 'exit $?' # Install the old object if enabled. if test "$build_old_libs" = yes; then # Deduce the name of the old-style object file. func_lo2o "$file" staticobj=$func_lo2o_result func_show_eval "$install_prog \$staticobj \$staticdest" 'exit $?' fi exit $EXIT_SUCCESS ;; *) # Figure out destination file name, if it wasn't already specified. if test -n "$destname"; then destfile="$destdir/$destname" else func_basename "$file" destfile="$func_basename_result" destfile="$destdir/$destfile" fi # If the file is missing, and there is a .exe on the end, strip it # because it is most likely a libtool script we actually want to # install stripped_ext="" case $file in *.exe) if test ! -f "$file"; then func_stripname '' '.exe' "$file" file=$func_stripname_result stripped_ext=".exe" fi ;; esac # Do a test to see if this is really a libtool program. case $host in *cygwin* | *mingw*) if func_ltwrapper_executable_p "$file"; then func_ltwrapper_scriptname "$file" wrapper=$func_ltwrapper_scriptname_result else func_stripname '' '.exe' "$file" wrapper=$func_stripname_result fi ;; *) wrapper=$file ;; esac if func_ltwrapper_script_p "$wrapper"; then notinst_deplibs= relink_command= func_source "$wrapper" # Check the variables that should have been set. test -z "$generated_by_libtool_version" && \ func_fatal_error "invalid libtool wrapper script \`$wrapper'" finalize=yes for lib in $notinst_deplibs; do # Check to see that each library is installed. libdir= if test -f "$lib"; then func_source "$lib" fi libfile="$libdir/"`$ECHO "$lib" | $SED 's%^.*/%%g'` ### testsuite: skip nested quoting test if test -n "$libdir" && test ! -f "$libfile"; then func_warning "\`$lib' has not been installed in \`$libdir'" finalize=no fi done relink_command= func_source "$wrapper" outputname= if test "$fast_install" = no && test -n "$relink_command"; then $opt_dry_run || { if test "$finalize" = yes; then tmpdir=`func_mktempdir` func_basename "$file$stripped_ext" file="$func_basename_result" outputname="$tmpdir/$file" # Replace the output file specification. relink_command=`$ECHO "$relink_command" | $SED 's%@OUTPUT@%'"$outputname"'%g'` $opt_silent || { func_quote_for_expand "$relink_command" eval "func_echo $func_quote_for_expand_result" } if eval "$relink_command"; then : else func_error "error: relink \`$file' with the above command before installing it" $opt_dry_run || ${RM}r "$tmpdir" continue fi file="$outputname" else func_warning "cannot relink \`$file'" fi } else # Install the binary that we compiled earlier. file=`$ECHO "$file$stripped_ext" | $SED "s%\([^/]*\)$%$objdir/\1%"` fi fi # remove .exe since cygwin /usr/bin/install will append another # one anyway case $install_prog,$host in */usr/bin/install*,*cygwin*) case $file:$destfile in *.exe:*.exe) # this is ok ;; *.exe:*) destfile=$destfile.exe ;; *:*.exe) func_stripname '' '.exe' "$destfile" destfile=$func_stripname_result ;; esac ;; esac func_show_eval "$install_prog\$stripme \$file \$destfile" 'exit $?' $opt_dry_run || if test -n "$outputname"; then ${RM}r "$tmpdir" fi ;; esac done for file in $staticlibs; do func_basename "$file" name="$func_basename_result" # Set up the ranlib parameters. oldlib="$destdir/$name" func_to_tool_file "$oldlib" func_convert_file_msys_to_w32 tool_oldlib=$func_to_tool_file_result func_show_eval "$install_prog \$file \$oldlib" 'exit $?' if test -n "$stripme" && test -n "$old_striplib"; then func_show_eval "$old_striplib $tool_oldlib" 'exit $?' fi # Do each command in the postinstall commands. func_execute_cmds "$old_postinstall_cmds" 'exit $?' done test -n "$future_libdirs" && \ func_warning "remember to run \`$progname --finish$future_libdirs'" if test -n "$current_libdirs"; then # Maybe just do a dry run. $opt_dry_run && current_libdirs=" -n$current_libdirs" exec_cmd='$SHELL $progpath $preserve_args --finish$current_libdirs' else exit $EXIT_SUCCESS fi } test "$opt_mode" = install && func_mode_install ${1+"$@"} # func_generate_dlsyms outputname originator pic_p # Extract symbols from dlprefiles and create ${outputname}S.o with # a dlpreopen symbol table. func_generate_dlsyms () { $opt_debug my_outputname="$1" my_originator="$2" my_pic_p="${3-no}" my_prefix=`$ECHO "$my_originator" | sed 's%[^a-zA-Z0-9]%_%g'` my_dlsyms= if test -n "$dlfiles$dlprefiles" || test "$dlself" != no; then if test -n "$NM" && test -n "$global_symbol_pipe"; then my_dlsyms="${my_outputname}S.c" else func_error "not configured to extract global symbols from dlpreopened files" fi fi if test -n "$my_dlsyms"; then case $my_dlsyms in "") ;; *.c) # Discover the nlist of each of the dlfiles. nlist="$output_objdir/${my_outputname}.nm" func_show_eval "$RM $nlist ${nlist}S ${nlist}T" # Parse the name list into a source file. func_verbose "creating $output_objdir/$my_dlsyms" $opt_dry_run || $ECHO > "$output_objdir/$my_dlsyms" "\ /* $my_dlsyms - symbol resolution table for \`$my_outputname' dlsym emulation. */ /* Generated by $PROGRAM (GNU $PACKAGE$TIMESTAMP) $VERSION */ #ifdef __cplusplus extern \"C\" { #endif #if defined(__GNUC__) && (((__GNUC__ == 4) && (__GNUC_MINOR__ >= 4)) || (__GNUC__ > 4)) #pragma GCC diagnostic ignored \"-Wstrict-prototypes\" #endif /* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests. */ #if defined(_WIN32) || defined(__CYGWIN__) || defined(_WIN32_WCE) /* DATA imports from DLLs on WIN32 con't be const, because runtime relocations are performed -- see ld's documentation on pseudo-relocs. */ # define LT_DLSYM_CONST #elif defined(__osf__) /* This system does not cope well with relocations in const data. */ # define LT_DLSYM_CONST #else # define LT_DLSYM_CONST const #endif /* External symbol declarations for the compiler. */\ " if test "$dlself" = yes; then func_verbose "generating symbol list for \`$output'" $opt_dry_run || echo ': @PROGRAM@ ' > "$nlist" # Add our own program objects to the symbol list. progfiles=`$ECHO "$objs$old_deplibs" | $SP2NL | $SED "$lo2o" | $NL2SP` for progfile in $progfiles; do func_to_tool_file "$progfile" func_convert_file_msys_to_w32 func_verbose "extracting global C symbols from \`$func_to_tool_file_result'" $opt_dry_run || eval "$NM $func_to_tool_file_result | $global_symbol_pipe >> '$nlist'" done if test -n "$exclude_expsyms"; then $opt_dry_run || { eval '$EGREP -v " ($exclude_expsyms)$" "$nlist" > "$nlist"T' eval '$MV "$nlist"T "$nlist"' } fi if test -n "$export_symbols_regex"; then $opt_dry_run || { eval '$EGREP -e "$export_symbols_regex" "$nlist" > "$nlist"T' eval '$MV "$nlist"T "$nlist"' } fi # Prepare the list of exported symbols if test -z "$export_symbols"; then export_symbols="$output_objdir/$outputname.exp" $opt_dry_run || { $RM $export_symbols eval "${SED} -n -e '/^: @PROGRAM@ $/d' -e 's/^.* \(.*\)$/\1/p' "'< "$nlist" > "$export_symbols"' case $host in *cygwin* | *mingw* | *cegcc* ) eval "echo EXPORTS "'> "$output_objdir/$outputname.def"' eval 'cat "$export_symbols" >> "$output_objdir/$outputname.def"' ;; esac } else $opt_dry_run || { eval "${SED} -e 's/\([].[*^$]\)/\\\\\1/g' -e 's/^/ /' -e 's/$/$/'"' < "$export_symbols" > "$output_objdir/$outputname.exp"' eval '$GREP -f "$output_objdir/$outputname.exp" < "$nlist" > "$nlist"T' eval '$MV "$nlist"T "$nlist"' case $host in *cygwin* | *mingw* | *cegcc* ) eval "echo EXPORTS "'> "$output_objdir/$outputname.def"' eval 'cat "$nlist" >> "$output_objdir/$outputname.def"' ;; esac } fi fi for dlprefile in $dlprefiles; do func_verbose "extracting global C symbols from \`$dlprefile'" func_basename "$dlprefile" name="$func_basename_result" case $host in *cygwin* | *mingw* | *cegcc* ) # if an import library, we need to obtain dlname if func_win32_import_lib_p "$dlprefile"; then func_tr_sh "$dlprefile" eval "curr_lafile=\$libfile_$func_tr_sh_result" dlprefile_dlbasename="" if test -n "$curr_lafile" && func_lalib_p "$curr_lafile"; then # Use subshell, to avoid clobbering current variable values dlprefile_dlname=`source "$curr_lafile" && echo "$dlname"` if test -n "$dlprefile_dlname" ; then func_basename "$dlprefile_dlname" dlprefile_dlbasename="$func_basename_result" else # no lafile. user explicitly requested -dlpreopen . $sharedlib_from_linklib_cmd "$dlprefile" dlprefile_dlbasename=$sharedlib_from_linklib_result fi fi $opt_dry_run || { if test -n "$dlprefile_dlbasename" ; then eval '$ECHO ": $dlprefile_dlbasename" >> "$nlist"' else func_warning "Could not compute DLL name from $name" eval '$ECHO ": $name " >> "$nlist"' fi func_to_tool_file "$dlprefile" func_convert_file_msys_to_w32 eval "$NM \"$func_to_tool_file_result\" 2>/dev/null | $global_symbol_pipe | $SED -e '/I __imp/d' -e 's/I __nm_/D /;s/_nm__//' >> '$nlist'" } else # not an import lib $opt_dry_run || { eval '$ECHO ": $name " >> "$nlist"' func_to_tool_file "$dlprefile" func_convert_file_msys_to_w32 eval "$NM \"$func_to_tool_file_result\" 2>/dev/null | $global_symbol_pipe >> '$nlist'" } fi ;; *) $opt_dry_run || { eval '$ECHO ": $name " >> "$nlist"' func_to_tool_file "$dlprefile" func_convert_file_msys_to_w32 eval "$NM \"$func_to_tool_file_result\" 2>/dev/null | $global_symbol_pipe >> '$nlist'" } ;; esac done $opt_dry_run || { # Make sure we have at least an empty file. test -f "$nlist" || : > "$nlist" if test -n "$exclude_expsyms"; then $EGREP -v " ($exclude_expsyms)$" "$nlist" > "$nlist"T $MV "$nlist"T "$nlist" fi # Try sorting and uniquifying the output. if $GREP -v "^: " < "$nlist" | if sort -k 3 /dev/null 2>&1; then sort -k 3 else sort +2 fi | uniq > "$nlist"S; then : else $GREP -v "^: " < "$nlist" > "$nlist"S fi if test -f "$nlist"S; then eval "$global_symbol_to_cdecl"' < "$nlist"S >> "$output_objdir/$my_dlsyms"' else echo '/* NONE */' >> "$output_objdir/$my_dlsyms" fi echo >> "$output_objdir/$my_dlsyms" "\ /* The mapping between symbol names and symbols. */ typedef struct { const char *name; void *address; } lt_dlsymlist; extern LT_DLSYM_CONST lt_dlsymlist lt_${my_prefix}_LTX_preloaded_symbols[]; LT_DLSYM_CONST lt_dlsymlist lt_${my_prefix}_LTX_preloaded_symbols[] = {\ { \"$my_originator\", (void *) 0 }," case $need_lib_prefix in no) eval "$global_symbol_to_c_name_address" < "$nlist" >> "$output_objdir/$my_dlsyms" ;; *) eval "$global_symbol_to_c_name_address_lib_prefix" < "$nlist" >> "$output_objdir/$my_dlsyms" ;; esac echo >> "$output_objdir/$my_dlsyms" "\ {0, (void *) 0} }; /* This works around a problem in FreeBSD linker */ #ifdef FREEBSD_WORKAROUND static const void *lt_preloaded_setup() { return lt_${my_prefix}_LTX_preloaded_symbols; } #endif #ifdef __cplusplus } #endif\ " } # !$opt_dry_run pic_flag_for_symtable= case "$compile_command " in *" -static "*) ;; *) case $host in # compiling the symbol table file with pic_flag works around # a FreeBSD bug that causes programs to crash when -lm is # linked before any other PIC object. But we must not use # pic_flag when linking with -static. The problem exists in # FreeBSD 2.2.6 and is fixed in FreeBSD 3.1. *-*-freebsd2.*|*-*-freebsd3.0*|*-*-freebsdelf3.0*) pic_flag_for_symtable=" $pic_flag -DFREEBSD_WORKAROUND" ;; *-*-hpux*) pic_flag_for_symtable=" $pic_flag" ;; *) if test "X$my_pic_p" != Xno; then pic_flag_for_symtable=" $pic_flag" fi ;; esac ;; esac symtab_cflags= for arg in $LTCFLAGS; do case $arg in -pie | -fpie | -fPIE) ;; *) func_append symtab_cflags " $arg" ;; esac done # Now compile the dynamic symbol file. func_show_eval '(cd $output_objdir && $LTCC$symtab_cflags -c$no_builtin_flag$pic_flag_for_symtable "$my_dlsyms")' 'exit $?' # Clean up the generated files. func_show_eval '$RM "$output_objdir/$my_dlsyms" "$nlist" "${nlist}S" "${nlist}T"' # Transform the symbol file into the correct name. symfileobj="$output_objdir/${my_outputname}S.$objext" case $host in *cygwin* | *mingw* | *cegcc* ) if test -f "$output_objdir/$my_outputname.def"; then compile_command=`$ECHO "$compile_command" | $SED "s%@SYMFILE@%$output_objdir/$my_outputname.def $symfileobj%"` finalize_command=`$ECHO "$finalize_command" | $SED "s%@SYMFILE@%$output_objdir/$my_outputname.def $symfileobj%"` else compile_command=`$ECHO "$compile_command" | $SED "s%@SYMFILE@%$symfileobj%"` finalize_command=`$ECHO "$finalize_command" | $SED "s%@SYMFILE@%$symfileobj%"` fi ;; *) compile_command=`$ECHO "$compile_command" | $SED "s%@SYMFILE@%$symfileobj%"` finalize_command=`$ECHO "$finalize_command" | $SED "s%@SYMFILE@%$symfileobj%"` ;; esac ;; *) func_fatal_error "unknown suffix for \`$my_dlsyms'" ;; esac else # We keep going just in case the user didn't refer to # lt_preloaded_symbols. The linker will fail if global_symbol_pipe # really was required. # Nullify the symbol file. compile_command=`$ECHO "$compile_command" | $SED "s% @SYMFILE@%%"` finalize_command=`$ECHO "$finalize_command" | $SED "s% @SYMFILE@%%"` fi } # func_win32_libid arg # return the library type of file 'arg' # # Need a lot of goo to handle *both* DLLs and import libs # Has to be a shell function in order to 'eat' the argument # that is supplied when $file_magic_command is called. # Despite the name, also deal with 64 bit binaries. func_win32_libid () { $opt_debug win32_libid_type="unknown" win32_fileres=`file -L $1 2>/dev/null` case $win32_fileres in *ar\ archive\ import\ library*) # definitely import win32_libid_type="x86 archive import" ;; *ar\ archive*) # could be an import, or static # Keep the egrep pattern in sync with the one in _LT_CHECK_MAGIC_METHOD. if eval $OBJDUMP -f $1 | $SED -e '10q' 2>/dev/null | $EGREP 'file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)' >/dev/null; then func_to_tool_file "$1" func_convert_file_msys_to_w32 win32_nmres=`eval $NM -f posix -A \"$func_to_tool_file_result\" | $SED -n -e ' 1,100{ / I /{ s,.*,import, p q } }'` case $win32_nmres in import*) win32_libid_type="x86 archive import";; *) win32_libid_type="x86 archive static";; esac fi ;; *DLL*) win32_libid_type="x86 DLL" ;; *executable*) # but shell scripts are "executable" too... case $win32_fileres in *MS\ Windows\ PE\ Intel*) win32_libid_type="x86 DLL" ;; esac ;; esac $ECHO "$win32_libid_type" } # func_cygming_dll_for_implib ARG # # Platform-specific function to extract the # name of the DLL associated with the specified # import library ARG. # Invoked by eval'ing the libtool variable # $sharedlib_from_linklib_cmd # Result is available in the variable # $sharedlib_from_linklib_result func_cygming_dll_for_implib () { $opt_debug sharedlib_from_linklib_result=`$DLLTOOL --identify-strict --identify "$1"` } # func_cygming_dll_for_implib_fallback_core SECTION_NAME LIBNAMEs # # The is the core of a fallback implementation of a # platform-specific function to extract the name of the # DLL associated with the specified import library LIBNAME. # # SECTION_NAME is either .idata$6 or .idata$7, depending # on the platform and compiler that created the implib. # # Echos the name of the DLL associated with the # specified import library. func_cygming_dll_for_implib_fallback_core () { $opt_debug match_literal=`$ECHO "$1" | $SED "$sed_make_literal_regex"` $OBJDUMP -s --section "$1" "$2" 2>/dev/null | $SED '/^Contents of section '"$match_literal"':/{ # Place marker at beginning of archive member dllname section s/.*/====MARK====/ p d } # These lines can sometimes be longer than 43 characters, but # are always uninteresting /:[ ]*file format pe[i]\{,1\}-/d /^In archive [^:]*:/d # Ensure marker is printed /^====MARK====/p # Remove all lines with less than 43 characters /^.\{43\}/!d # From remaining lines, remove first 43 characters s/^.\{43\}//' | $SED -n ' # Join marker and all lines until next marker into a single line /^====MARK====/ b para H $ b para b :para x s/\n//g # Remove the marker s/^====MARK====// # Remove trailing dots and whitespace s/[\. \t]*$// # Print /./p' | # we now have a list, one entry per line, of the stringified # contents of the appropriate section of all members of the # archive which possess that section. Heuristic: eliminate # all those which have a first or second character that is # a '.' (that is, objdump's representation of an unprintable # character.) This should work for all archives with less than # 0x302f exports -- but will fail for DLLs whose name actually # begins with a literal '.' or a single character followed by # a '.'. # # Of those that remain, print the first one. $SED -e '/^\./d;/^.\./d;q' } # func_cygming_gnu_implib_p ARG # This predicate returns with zero status (TRUE) if # ARG is a GNU/binutils-style import library. Returns # with nonzero status (FALSE) otherwise. func_cygming_gnu_implib_p () { $opt_debug func_to_tool_file "$1" func_convert_file_msys_to_w32 func_cygming_gnu_implib_tmp=`$NM "$func_to_tool_file_result" | eval "$global_symbol_pipe" | $EGREP ' (_head_[A-Za-z0-9_]+_[ad]l*|[A-Za-z0-9_]+_[ad]l*_iname)$'` test -n "$func_cygming_gnu_implib_tmp" } # func_cygming_ms_implib_p ARG # This predicate returns with zero status (TRUE) if # ARG is an MS-style import library. Returns # with nonzero status (FALSE) otherwise. func_cygming_ms_implib_p () { $opt_debug func_to_tool_file "$1" func_convert_file_msys_to_w32 func_cygming_ms_implib_tmp=`$NM "$func_to_tool_file_result" | eval "$global_symbol_pipe" | $GREP '_NULL_IMPORT_DESCRIPTOR'` test -n "$func_cygming_ms_implib_tmp" } # func_cygming_dll_for_implib_fallback ARG # Platform-specific function to extract the # name of the DLL associated with the specified # import library ARG. # # This fallback implementation is for use when $DLLTOOL # does not support the --identify-strict option. # Invoked by eval'ing the libtool variable # $sharedlib_from_linklib_cmd # Result is available in the variable # $sharedlib_from_linklib_result func_cygming_dll_for_implib_fallback () { $opt_debug if func_cygming_gnu_implib_p "$1" ; then # binutils import library sharedlib_from_linklib_result=`func_cygming_dll_for_implib_fallback_core '.idata$7' "$1"` elif func_cygming_ms_implib_p "$1" ; then # ms-generated import library sharedlib_from_linklib_result=`func_cygming_dll_for_implib_fallback_core '.idata$6' "$1"` else # unknown sharedlib_from_linklib_result="" fi } # func_extract_an_archive dir oldlib func_extract_an_archive () { $opt_debug f_ex_an_ar_dir="$1"; shift f_ex_an_ar_oldlib="$1" if test "$lock_old_archive_extraction" = yes; then lockfile=$f_ex_an_ar_oldlib.lock until $opt_dry_run || ln "$progpath" "$lockfile" 2>/dev/null; do func_echo "Waiting for $lockfile to be removed" sleep 2 done fi func_show_eval "(cd \$f_ex_an_ar_dir && $AR x \"\$f_ex_an_ar_oldlib\")" \ 'stat=$?; rm -f "$lockfile"; exit $stat' if test "$lock_old_archive_extraction" = yes; then $opt_dry_run || rm -f "$lockfile" fi if ($AR t "$f_ex_an_ar_oldlib" | sort | sort -uc >/dev/null 2>&1); then : else func_fatal_error "object name conflicts in archive: $f_ex_an_ar_dir/$f_ex_an_ar_oldlib" fi } # func_extract_archives gentop oldlib ... func_extract_archives () { $opt_debug my_gentop="$1"; shift my_oldlibs=${1+"$@"} my_oldobjs="" my_xlib="" my_xabs="" my_xdir="" for my_xlib in $my_oldlibs; do # Extract the objects. case $my_xlib in [\\/]* | [A-Za-z]:[\\/]*) my_xabs="$my_xlib" ;; *) my_xabs=`pwd`"/$my_xlib" ;; esac func_basename "$my_xlib" my_xlib="$func_basename_result" my_xlib_u=$my_xlib while :; do case " $extracted_archives " in *" $my_xlib_u "*) func_arith $extracted_serial + 1 extracted_serial=$func_arith_result my_xlib_u=lt$extracted_serial-$my_xlib ;; *) break ;; esac done extracted_archives="$extracted_archives $my_xlib_u" my_xdir="$my_gentop/$my_xlib_u" func_mkdir_p "$my_xdir" case $host in *-darwin*) func_verbose "Extracting $my_xabs" # Do not bother doing anything if just a dry run $opt_dry_run || { darwin_orig_dir=`pwd` cd $my_xdir || exit $? darwin_archive=$my_xabs darwin_curdir=`pwd` darwin_base_archive=`basename "$darwin_archive"` darwin_arches=`$LIPO -info "$darwin_archive" 2>/dev/null | $GREP Architectures 2>/dev/null || true` if test -n "$darwin_arches"; then darwin_arches=`$ECHO "$darwin_arches" | $SED -e 's/.*are://'` darwin_arch= func_verbose "$darwin_base_archive has multiple architectures $darwin_arches" for darwin_arch in $darwin_arches ; do func_mkdir_p "unfat-$$/${darwin_base_archive}-${darwin_arch}" $LIPO -thin $darwin_arch -output "unfat-$$/${darwin_base_archive}-${darwin_arch}/${darwin_base_archive}" "${darwin_archive}" cd "unfat-$$/${darwin_base_archive}-${darwin_arch}" func_extract_an_archive "`pwd`" "${darwin_base_archive}" cd "$darwin_curdir" $RM "unfat-$$/${darwin_base_archive}-${darwin_arch}/${darwin_base_archive}" done # $darwin_arches ## Okay now we've a bunch of thin objects, gotta fatten them up :) darwin_filelist=`find unfat-$$ -type f -name \*.o -print -o -name \*.lo -print | $SED -e "$basename" | sort -u` darwin_file= darwin_files= for darwin_file in $darwin_filelist; do darwin_files=`find unfat-$$ -name $darwin_file -print | sort | $NL2SP` $LIPO -create -output "$darwin_file" $darwin_files done # $darwin_filelist $RM -rf unfat-$$ cd "$darwin_orig_dir" else cd $darwin_orig_dir func_extract_an_archive "$my_xdir" "$my_xabs" fi # $darwin_arches } # !$opt_dry_run ;; *) func_extract_an_archive "$my_xdir" "$my_xabs" ;; esac my_oldobjs="$my_oldobjs "`find $my_xdir -name \*.$objext -print -o -name \*.lo -print | sort | $NL2SP` done func_extract_archives_result="$my_oldobjs" } # func_emit_wrapper [arg=no] # # Emit a libtool wrapper script on stdout. # Don't directly open a file because we may want to # incorporate the script contents within a cygwin/mingw # wrapper executable. Must ONLY be called from within # func_mode_link because it depends on a number of variables # set therein. # # ARG is the value that the WRAPPER_SCRIPT_BELONGS_IN_OBJDIR # variable will take. If 'yes', then the emitted script # will assume that the directory in which it is stored is # the $objdir directory. This is a cygwin/mingw-specific # behavior. func_emit_wrapper () { func_emit_wrapper_arg1=${1-no} $ECHO "\ #! $SHELL # $output - temporary wrapper script for $objdir/$outputname # Generated by $PROGRAM (GNU $PACKAGE$TIMESTAMP) $VERSION # # The $output program cannot be directly executed until all the libtool # libraries that it depends on are installed. # # This wrapper script should never be moved out of the build directory. # If it is, it will not operate correctly. # Sed substitution that helps us do robust quoting. It backslashifies # metacharacters that are still active within double-quoted strings. sed_quote_subst='$sed_quote_subst' # Be Bourne compatible if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then emulate sh NULLCMD=: # Zsh 3.x and 4.x performs word splitting on \${1+\"\$@\"}, which # is contrary to our usage. Disable this feature. alias -g '\${1+\"\$@\"}'='\"\$@\"' setopt NO_GLOB_SUBST else case \`(set -o) 2>/dev/null\` in *posix*) set -o posix;; esac fi BIN_SH=xpg4; export BIN_SH # for Tru64 DUALCASE=1; export DUALCASE # for MKS sh # The HP-UX ksh and POSIX shell print the target directory to stdout # if CDPATH is set. (unset CDPATH) >/dev/null 2>&1 && unset CDPATH relink_command=\"$relink_command\" # This environment variable determines our operation mode. if test \"\$libtool_install_magic\" = \"$magic\"; then # install mode needs the following variables: generated_by_libtool_version='$macro_version' notinst_deplibs='$notinst_deplibs' else # When we are sourced in execute mode, \$file and \$ECHO are already set. if test \"\$libtool_execute_magic\" != \"$magic\"; then file=\"\$0\"" qECHO=`$ECHO "$ECHO" | $SED "$sed_quote_subst"` $ECHO "\ # A function that is used when there is no print builtin or printf. func_fallback_echo () { eval 'cat <<_LTECHO_EOF \$1 _LTECHO_EOF' } ECHO=\"$qECHO\" fi # Very basic option parsing. These options are (a) specific to # the libtool wrapper, (b) are identical between the wrapper # /script/ and the wrapper /executable/ which is used only on # windows platforms, and (c) all begin with the string "--lt-" # (application programs are unlikely to have options which match # this pattern). # # There are only two supported options: --lt-debug and # --lt-dump-script. There is, deliberately, no --lt-help. # # The first argument to this parsing function should be the # script's $0 value, followed by "$@". lt_option_debug= func_parse_lt_options () { lt_script_arg0=\$0 shift for lt_opt do case \"\$lt_opt\" in --lt-debug) lt_option_debug=1 ;; --lt-dump-script) lt_dump_D=\`\$ECHO \"X\$lt_script_arg0\" | $SED -e 's/^X//' -e 's%/[^/]*$%%'\` test \"X\$lt_dump_D\" = \"X\$lt_script_arg0\" && lt_dump_D=. lt_dump_F=\`\$ECHO \"X\$lt_script_arg0\" | $SED -e 's/^X//' -e 's%^.*/%%'\` cat \"\$lt_dump_D/\$lt_dump_F\" exit 0 ;; --lt-*) \$ECHO \"Unrecognized --lt- option: '\$lt_opt'\" 1>&2 exit 1 ;; esac done # Print the debug banner immediately: if test -n \"\$lt_option_debug\"; then echo \"${outputname}:${output}:\${LINENO}: libtool wrapper (GNU $PACKAGE$TIMESTAMP) $VERSION\" 1>&2 fi } # Used when --lt-debug. Prints its arguments to stdout # (redirection is the responsibility of the caller) func_lt_dump_args () { lt_dump_args_N=1; for lt_arg do \$ECHO \"${outputname}:${output}:\${LINENO}: newargv[\$lt_dump_args_N]: \$lt_arg\" lt_dump_args_N=\`expr \$lt_dump_args_N + 1\` done } # Core function for launching the target application func_exec_program_core () { " case $host in # Backslashes separate directories on plain windows *-*-mingw | *-*-os2* | *-cegcc*) $ECHO "\ if test -n \"\$lt_option_debug\"; then \$ECHO \"${outputname}:${output}:\${LINENO}: newargv[0]: \$progdir\\\\\$program\" 1>&2 func_lt_dump_args \${1+\"\$@\"} 1>&2 fi exec \"\$progdir\\\\\$program\" \${1+\"\$@\"} " ;; *) $ECHO "\ if test -n \"\$lt_option_debug\"; then \$ECHO \"${outputname}:${output}:\${LINENO}: newargv[0]: \$progdir/\$program\" 1>&2 func_lt_dump_args \${1+\"\$@\"} 1>&2 fi exec \"\$progdir/\$program\" \${1+\"\$@\"} " ;; esac $ECHO "\ \$ECHO \"\$0: cannot exec \$program \$*\" 1>&2 exit 1 } # A function to encapsulate launching the target application # Strips options in the --lt-* namespace from \$@ and # launches target application with the remaining arguments. func_exec_program () { case \" \$* \" in *\\ --lt-*) for lt_wr_arg do case \$lt_wr_arg in --lt-*) ;; *) set x \"\$@\" \"\$lt_wr_arg\"; shift;; esac shift done ;; esac func_exec_program_core \${1+\"\$@\"} } # Parse options func_parse_lt_options \"\$0\" \${1+\"\$@\"} # Find the directory that this script lives in. thisdir=\`\$ECHO \"\$file\" | $SED 's%/[^/]*$%%'\` test \"x\$thisdir\" = \"x\$file\" && thisdir=. # Follow symbolic links until we get to the real thisdir. file=\`ls -ld \"\$file\" | $SED -n 's/.*-> //p'\` while test -n \"\$file\"; do destdir=\`\$ECHO \"\$file\" | $SED 's%/[^/]*\$%%'\` # If there was a directory component, then change thisdir. if test \"x\$destdir\" != \"x\$file\"; then case \"\$destdir\" in [\\\\/]* | [A-Za-z]:[\\\\/]*) thisdir=\"\$destdir\" ;; *) thisdir=\"\$thisdir/\$destdir\" ;; esac fi file=\`\$ECHO \"\$file\" | $SED 's%^.*/%%'\` file=\`ls -ld \"\$thisdir/\$file\" | $SED -n 's/.*-> //p'\` done # Usually 'no', except on cygwin/mingw when embedded into # the cwrapper. WRAPPER_SCRIPT_BELONGS_IN_OBJDIR=$func_emit_wrapper_arg1 if test \"\$WRAPPER_SCRIPT_BELONGS_IN_OBJDIR\" = \"yes\"; then # special case for '.' if test \"\$thisdir\" = \".\"; then thisdir=\`pwd\` fi # remove .libs from thisdir case \"\$thisdir\" in *[\\\\/]$objdir ) thisdir=\`\$ECHO \"\$thisdir\" | $SED 's%[\\\\/][^\\\\/]*$%%'\` ;; $objdir ) thisdir=. ;; esac fi # Try to get the absolute directory name. absdir=\`cd \"\$thisdir\" && pwd\` test -n \"\$absdir\" && thisdir=\"\$absdir\" " if test "$fast_install" = yes; then $ECHO "\ program=lt-'$outputname'$exeext progdir=\"\$thisdir/$objdir\" if test ! -f \"\$progdir/\$program\" || { file=\`ls -1dt \"\$progdir/\$program\" \"\$progdir/../\$program\" 2>/dev/null | ${SED} 1q\`; \\ test \"X\$file\" != \"X\$progdir/\$program\"; }; then file=\"\$\$-\$program\" if test ! -d \"\$progdir\"; then $MKDIR \"\$progdir\" else $RM \"\$progdir/\$file\" fi" $ECHO "\ # relink executable if necessary if test -n \"\$relink_command\"; then if relink_command_output=\`eval \$relink_command 2>&1\`; then : else $ECHO \"\$relink_command_output\" >&2 $RM \"\$progdir/\$file\" exit 1 fi fi $MV \"\$progdir/\$file\" \"\$progdir/\$program\" 2>/dev/null || { $RM \"\$progdir/\$program\"; $MV \"\$progdir/\$file\" \"\$progdir/\$program\"; } $RM \"\$progdir/\$file\" fi" else $ECHO "\ program='$outputname' progdir=\"\$thisdir/$objdir\" " fi $ECHO "\ if test -f \"\$progdir/\$program\"; then" # fixup the dll searchpath if we need to. # # Fix the DLL searchpath if we need to. Do this before prepending # to shlibpath, because on Windows, both are PATH and uninstalled # libraries must come first. if test -n "$dllsearchpath"; then $ECHO "\ # Add the dll search path components to the executable PATH PATH=$dllsearchpath:\$PATH " fi # Export our shlibpath_var if we have one. if test "$shlibpath_overrides_runpath" = yes && test -n "$shlibpath_var" && test -n "$temp_rpath"; then $ECHO "\ # Add our own library path to $shlibpath_var $shlibpath_var=\"$temp_rpath\$$shlibpath_var\" # Some systems cannot cope with colon-terminated $shlibpath_var # The second colon is a workaround for a bug in BeOS R4 sed $shlibpath_var=\`\$ECHO \"\$$shlibpath_var\" | $SED 's/::*\$//'\` export $shlibpath_var " fi $ECHO "\ if test \"\$libtool_execute_magic\" != \"$magic\"; then # Run the actual program with our arguments. func_exec_program \${1+\"\$@\"} fi else # The program doesn't exist. \$ECHO \"\$0: error: \\\`\$progdir/\$program' does not exist\" 1>&2 \$ECHO \"This script is just a wrapper for \$program.\" 1>&2 \$ECHO \"See the $PACKAGE documentation for more information.\" 1>&2 exit 1 fi fi\ " } # func_emit_cwrapperexe_src # emit the source code for a wrapper executable on stdout # Must ONLY be called from within func_mode_link because # it depends on a number of variable set therein. func_emit_cwrapperexe_src () { cat < #include #ifdef _MSC_VER # include # include # include #else # include # include # ifdef __CYGWIN__ # include # endif #endif #include #include #include #include #include #include #include #include /* declarations of non-ANSI functions */ #if defined(__MINGW32__) # ifdef __STRICT_ANSI__ int _putenv (const char *); # endif #elif defined(__CYGWIN__) # ifdef __STRICT_ANSI__ char *realpath (const char *, char *); int putenv (char *); int setenv (const char *, const char *, int); # endif /* #elif defined (other platforms) ... */ #endif /* portability defines, excluding path handling macros */ #if defined(_MSC_VER) # define setmode _setmode # define stat _stat # define chmod _chmod # define getcwd _getcwd # define putenv _putenv # define S_IXUSR _S_IEXEC # ifndef _INTPTR_T_DEFINED # define _INTPTR_T_DEFINED # define intptr_t int # endif #elif defined(__MINGW32__) # define setmode _setmode # define stat _stat # define chmod _chmod # define getcwd _getcwd # define putenv _putenv #elif defined(__CYGWIN__) # define HAVE_SETENV # define FOPEN_WB "wb" /* #elif defined (other platforms) ... */ #endif #if defined(PATH_MAX) # define LT_PATHMAX PATH_MAX #elif defined(MAXPATHLEN) # define LT_PATHMAX MAXPATHLEN #else # define LT_PATHMAX 1024 #endif #ifndef S_IXOTH # define S_IXOTH 0 #endif #ifndef S_IXGRP # define S_IXGRP 0 #endif /* path handling portability macros */ #ifndef DIR_SEPARATOR # define DIR_SEPARATOR '/' # define PATH_SEPARATOR ':' #endif #if defined (_WIN32) || defined (__MSDOS__) || defined (__DJGPP__) || \ defined (__OS2__) # define HAVE_DOS_BASED_FILE_SYSTEM # define FOPEN_WB "wb" # ifndef DIR_SEPARATOR_2 # define DIR_SEPARATOR_2 '\\' # endif # ifndef PATH_SEPARATOR_2 # define PATH_SEPARATOR_2 ';' # endif #endif #ifndef DIR_SEPARATOR_2 # define IS_DIR_SEPARATOR(ch) ((ch) == DIR_SEPARATOR) #else /* DIR_SEPARATOR_2 */ # define IS_DIR_SEPARATOR(ch) \ (((ch) == DIR_SEPARATOR) || ((ch) == DIR_SEPARATOR_2)) #endif /* DIR_SEPARATOR_2 */ #ifndef PATH_SEPARATOR_2 # define IS_PATH_SEPARATOR(ch) ((ch) == PATH_SEPARATOR) #else /* PATH_SEPARATOR_2 */ # define IS_PATH_SEPARATOR(ch) ((ch) == PATH_SEPARATOR_2) #endif /* PATH_SEPARATOR_2 */ #ifndef FOPEN_WB # define FOPEN_WB "w" #endif #ifndef _O_BINARY # define _O_BINARY 0 #endif #define XMALLOC(type, num) ((type *) xmalloc ((num) * sizeof(type))) #define XFREE(stale) do { \ if (stale) { free ((void *) stale); stale = 0; } \ } while (0) #if defined(LT_DEBUGWRAPPER) static int lt_debug = 1; #else static int lt_debug = 0; #endif const char *program_name = "libtool-wrapper"; /* in case xstrdup fails */ void *xmalloc (size_t num); char *xstrdup (const char *string); const char *base_name (const char *name); char *find_executable (const char *wrapper); char *chase_symlinks (const char *pathspec); int make_executable (const char *path); int check_executable (const char *path); char *strendzap (char *str, const char *pat); void lt_debugprintf (const char *file, int line, const char *fmt, ...); void lt_fatal (const char *file, int line, const char *message, ...); static const char *nonnull (const char *s); static const char *nonempty (const char *s); void lt_setenv (const char *name, const char *value); char *lt_extend_str (const char *orig_value, const char *add, int to_end); void lt_update_exe_path (const char *name, const char *value); void lt_update_lib_path (const char *name, const char *value); char **prepare_spawn (char **argv); void lt_dump_script (FILE *f); EOF cat <= 0) && (st.st_mode & (S_IXUSR | S_IXGRP | S_IXOTH))) return 1; else return 0; } int make_executable (const char *path) { int rval = 0; struct stat st; lt_debugprintf (__FILE__, __LINE__, "(make_executable): %s\n", nonempty (path)); if ((!path) || (!*path)) return 0; if (stat (path, &st) >= 0) { rval = chmod (path, st.st_mode | S_IXOTH | S_IXGRP | S_IXUSR); } return rval; } /* Searches for the full path of the wrapper. Returns newly allocated full path name if found, NULL otherwise Does not chase symlinks, even on platforms that support them. */ char * find_executable (const char *wrapper) { int has_slash = 0; const char *p; const char *p_next; /* static buffer for getcwd */ char tmp[LT_PATHMAX + 1]; int tmp_len; char *concat_name; lt_debugprintf (__FILE__, __LINE__, "(find_executable): %s\n", nonempty (wrapper)); if ((wrapper == NULL) || (*wrapper == '\0')) return NULL; /* Absolute path? */ #if defined (HAVE_DOS_BASED_FILE_SYSTEM) if (isalpha ((unsigned char) wrapper[0]) && wrapper[1] == ':') { concat_name = xstrdup (wrapper); if (check_executable (concat_name)) return concat_name; XFREE (concat_name); } else { #endif if (IS_DIR_SEPARATOR (wrapper[0])) { concat_name = xstrdup (wrapper); if (check_executable (concat_name)) return concat_name; XFREE (concat_name); } #if defined (HAVE_DOS_BASED_FILE_SYSTEM) } #endif for (p = wrapper; *p; p++) if (*p == '/') { has_slash = 1; break; } if (!has_slash) { /* no slashes; search PATH */ const char *path = getenv ("PATH"); if (path != NULL) { for (p = path; *p; p = p_next) { const char *q; size_t p_len; for (q = p; *q; q++) if (IS_PATH_SEPARATOR (*q)) break; p_len = q - p; p_next = (*q == '\0' ? q : q + 1); if (p_len == 0) { /* empty path: current directory */ if (getcwd (tmp, LT_PATHMAX) == NULL) lt_fatal (__FILE__, __LINE__, "getcwd failed: %s", nonnull (strerror (errno))); tmp_len = strlen (tmp); concat_name = XMALLOC (char, tmp_len + 1 + strlen (wrapper) + 1); memcpy (concat_name, tmp, tmp_len); concat_name[tmp_len] = '/'; strcpy (concat_name + tmp_len + 1, wrapper); } else { concat_name = XMALLOC (char, p_len + 1 + strlen (wrapper) + 1); memcpy (concat_name, p, p_len); concat_name[p_len] = '/'; strcpy (concat_name + p_len + 1, wrapper); } if (check_executable (concat_name)) return concat_name; XFREE (concat_name); } } /* not found in PATH; assume curdir */ } /* Relative path | not found in path: prepend cwd */ if (getcwd (tmp, LT_PATHMAX) == NULL) lt_fatal (__FILE__, __LINE__, "getcwd failed: %s", nonnull (strerror (errno))); tmp_len = strlen (tmp); concat_name = XMALLOC (char, tmp_len + 1 + strlen (wrapper) + 1); memcpy (concat_name, tmp, tmp_len); concat_name[tmp_len] = '/'; strcpy (concat_name + tmp_len + 1, wrapper); if (check_executable (concat_name)) return concat_name; XFREE (concat_name); return NULL; } char * chase_symlinks (const char *pathspec) { #ifndef S_ISLNK return xstrdup (pathspec); #else char buf[LT_PATHMAX]; struct stat s; char *tmp_pathspec = xstrdup (pathspec); char *p; int has_symlinks = 0; while (strlen (tmp_pathspec) && !has_symlinks) { lt_debugprintf (__FILE__, __LINE__, "checking path component for symlinks: %s\n", tmp_pathspec); if (lstat (tmp_pathspec, &s) == 0) { if (S_ISLNK (s.st_mode) != 0) { has_symlinks = 1; break; } /* search backwards for last DIR_SEPARATOR */ p = tmp_pathspec + strlen (tmp_pathspec) - 1; while ((p > tmp_pathspec) && (!IS_DIR_SEPARATOR (*p))) p--; if ((p == tmp_pathspec) && (!IS_DIR_SEPARATOR (*p))) { /* no more DIR_SEPARATORS left */ break; } *p = '\0'; } else { lt_fatal (__FILE__, __LINE__, "error accessing file \"%s\": %s", tmp_pathspec, nonnull (strerror (errno))); } } XFREE (tmp_pathspec); if (!has_symlinks) { return xstrdup (pathspec); } tmp_pathspec = realpath (pathspec, buf); if (tmp_pathspec == 0) { lt_fatal (__FILE__, __LINE__, "could not follow symlinks for %s", pathspec); } return xstrdup (tmp_pathspec); #endif } char * strendzap (char *str, const char *pat) { size_t len, patlen; assert (str != NULL); assert (pat != NULL); len = strlen (str); patlen = strlen (pat); if (patlen <= len) { str += len - patlen; if (strcmp (str, pat) == 0) *str = '\0'; } return str; } void lt_debugprintf (const char *file, int line, const char *fmt, ...) { va_list args; if (lt_debug) { (void) fprintf (stderr, "%s:%s:%d: ", program_name, file, line); va_start (args, fmt); (void) vfprintf (stderr, fmt, args); va_end (args); } } static void lt_error_core (int exit_status, const char *file, int line, const char *mode, const char *message, va_list ap) { fprintf (stderr, "%s:%s:%d: %s: ", program_name, file, line, mode); vfprintf (stderr, message, ap); fprintf (stderr, ".\n"); if (exit_status >= 0) exit (exit_status); } void lt_fatal (const char *file, int line, const char *message, ...) { va_list ap; va_start (ap, message); lt_error_core (EXIT_FAILURE, file, line, "FATAL", message, ap); va_end (ap); } static const char * nonnull (const char *s) { return s ? s : "(null)"; } static const char * nonempty (const char *s) { return (s && !*s) ? "(empty)" : nonnull (s); } void lt_setenv (const char *name, const char *value) { lt_debugprintf (__FILE__, __LINE__, "(lt_setenv) setting '%s' to '%s'\n", nonnull (name), nonnull (value)); { #ifdef HAVE_SETENV /* always make a copy, for consistency with !HAVE_SETENV */ char *str = xstrdup (value); setenv (name, str, 1); #else int len = strlen (name) + 1 + strlen (value) + 1; char *str = XMALLOC (char, len); sprintf (str, "%s=%s", name, value); if (putenv (str) != EXIT_SUCCESS) { XFREE (str); } #endif } } char * lt_extend_str (const char *orig_value, const char *add, int to_end) { char *new_value; if (orig_value && *orig_value) { int orig_value_len = strlen (orig_value); int add_len = strlen (add); new_value = XMALLOC (char, add_len + orig_value_len + 1); if (to_end) { strcpy (new_value, orig_value); strcpy (new_value + orig_value_len, add); } else { strcpy (new_value, add); strcpy (new_value + add_len, orig_value); } } else { new_value = xstrdup (add); } return new_value; } void lt_update_exe_path (const char *name, const char *value) { lt_debugprintf (__FILE__, __LINE__, "(lt_update_exe_path) modifying '%s' by prepending '%s'\n", nonnull (name), nonnull (value)); if (name && *name && value && *value) { char *new_value = lt_extend_str (getenv (name), value, 0); /* some systems can't cope with a ':'-terminated path #' */ int len = strlen (new_value); while (((len = strlen (new_value)) > 0) && IS_PATH_SEPARATOR (new_value[len-1])) { new_value[len-1] = '\0'; } lt_setenv (name, new_value); XFREE (new_value); } } void lt_update_lib_path (const char *name, const char *value) { lt_debugprintf (__FILE__, __LINE__, "(lt_update_lib_path) modifying '%s' by prepending '%s'\n", nonnull (name), nonnull (value)); if (name && *name && value && *value) { char *new_value = lt_extend_str (getenv (name), value, 0); lt_setenv (name, new_value); XFREE (new_value); } } EOF case $host_os in mingw*) cat <<"EOF" /* Prepares an argument vector before calling spawn(). Note that spawn() does not by itself call the command interpreter (getenv ("COMSPEC") != NULL ? getenv ("COMSPEC") : ({ OSVERSIONINFO v; v.dwOSVersionInfoSize = sizeof(OSVERSIONINFO); GetVersionEx(&v); v.dwPlatformId == VER_PLATFORM_WIN32_NT; }) ? "cmd.exe" : "command.com"). Instead it simply concatenates the arguments, separated by ' ', and calls CreateProcess(). We must quote the arguments since Win32 CreateProcess() interprets characters like ' ', '\t', '\\', '"' (but not '<' and '>') in a special way: - Space and tab are interpreted as delimiters. They are not treated as delimiters if they are surrounded by double quotes: "...". - Unescaped double quotes are removed from the input. Their only effect is that within double quotes, space and tab are treated like normal characters. - Backslashes not followed by double quotes are not special. - But 2*n+1 backslashes followed by a double quote become n backslashes followed by a double quote (n >= 0): \" -> " \\\" -> \" \\\\\" -> \\" */ #define SHELL_SPECIAL_CHARS "\"\\ \001\002\003\004\005\006\007\010\011\012\013\014\015\016\017\020\021\022\023\024\025\026\027\030\031\032\033\034\035\036\037" #define SHELL_SPACE_CHARS " \001\002\003\004\005\006\007\010\011\012\013\014\015\016\017\020\021\022\023\024\025\026\027\030\031\032\033\034\035\036\037" char ** prepare_spawn (char **argv) { size_t argc; char **new_argv; size_t i; /* Count number of arguments. */ for (argc = 0; argv[argc] != NULL; argc++) ; /* Allocate new argument vector. */ new_argv = XMALLOC (char *, argc + 1); /* Put quoted arguments into the new argument vector. */ for (i = 0; i < argc; i++) { const char *string = argv[i]; if (string[0] == '\0') new_argv[i] = xstrdup ("\"\""); else if (strpbrk (string, SHELL_SPECIAL_CHARS) != NULL) { int quote_around = (strpbrk (string, SHELL_SPACE_CHARS) != NULL); size_t length; unsigned int backslashes; const char *s; char *quoted_string; char *p; length = 0; backslashes = 0; if (quote_around) length++; for (s = string; *s != '\0'; s++) { char c = *s; if (c == '"') length += backslashes + 1; length++; if (c == '\\') backslashes++; else backslashes = 0; } if (quote_around) length += backslashes + 1; quoted_string = XMALLOC (char, length + 1); p = quoted_string; backslashes = 0; if (quote_around) *p++ = '"'; for (s = string; *s != '\0'; s++) { char c = *s; if (c == '"') { unsigned int j; for (j = backslashes + 1; j > 0; j--) *p++ = '\\'; } *p++ = c; if (c == '\\') backslashes++; else backslashes = 0; } if (quote_around) { unsigned int j; for (j = backslashes; j > 0; j--) *p++ = '\\'; *p++ = '"'; } *p = '\0'; new_argv[i] = quoted_string; } else new_argv[i] = (char *) string; } new_argv[argc] = NULL; return new_argv; } EOF ;; esac cat <<"EOF" void lt_dump_script (FILE* f) { EOF func_emit_wrapper yes | $SED -n -e ' s/^\(.\{79\}\)\(..*\)/\1\ \2/ h s/\([\\"]\)/\\\1/g s/$/\\n/ s/\([^\n]*\).*/ fputs ("\1", f);/p g D' cat <<"EOF" } EOF } # end: func_emit_cwrapperexe_src # func_win32_import_lib_p ARG # True if ARG is an import lib, as indicated by $file_magic_cmd func_win32_import_lib_p () { $opt_debug case `eval $file_magic_cmd \"\$1\" 2>/dev/null | $SED -e 10q` in *import*) : ;; *) false ;; esac } # func_mode_link arg... func_mode_link () { $opt_debug case $host in *-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-os2* | *-cegcc*) # It is impossible to link a dll without this setting, and # we shouldn't force the makefile maintainer to figure out # which system we are compiling for in order to pass an extra # flag for every libtool invocation. # allow_undefined=no # FIXME: Unfortunately, there are problems with the above when trying # to make a dll which has undefined symbols, in which case not # even a static library is built. For now, we need to specify # -no-undefined on the libtool link line when we can be certain # that all symbols are satisfied, otherwise we get a static library. allow_undefined=yes ;; *) allow_undefined=yes ;; esac libtool_args=$nonopt base_compile="$nonopt $@" compile_command=$nonopt finalize_command=$nonopt compile_rpath= finalize_rpath= compile_shlibpath= finalize_shlibpath= convenience= old_convenience= deplibs= old_deplibs= compiler_flags= linker_flags= dllsearchpath= lib_search_path=`pwd` inst_prefix_dir= new_inherited_linker_flags= avoid_version=no bindir= dlfiles= dlprefiles= dlself=no export_dynamic=no export_symbols= export_symbols_regex= generated= libobjs= ltlibs= module=no no_install=no objs= non_pic_objects= precious_files_regex= prefer_static_libs=no preload=no prev= prevarg= release= rpath= xrpath= perm_rpath= temp_rpath= thread_safe=no vinfo= vinfo_number=no weak_libs= single_module="${wl}-single_module" func_infer_tag $base_compile # We need to know -static, to get the right output filenames. for arg do case $arg in -shared) test "$build_libtool_libs" != yes && \ func_fatal_configuration "can not build a shared library" build_old_libs=no break ;; -all-static | -static | -static-libtool-libs) case $arg in -all-static) if test "$build_libtool_libs" = yes && test -z "$link_static_flag"; then func_warning "complete static linking is impossible in this configuration" fi if test -n "$link_static_flag"; then dlopen_self=$dlopen_self_static fi prefer_static_libs=yes ;; -static) if test -z "$pic_flag" && test -n "$link_static_flag"; then dlopen_self=$dlopen_self_static fi prefer_static_libs=built ;; -static-libtool-libs) if test -z "$pic_flag" && test -n "$link_static_flag"; then dlopen_self=$dlopen_self_static fi prefer_static_libs=yes ;; esac build_libtool_libs=no build_old_libs=yes break ;; esac done # See if our shared archives depend on static archives. test -n "$old_archive_from_new_cmds" && build_old_libs=yes # Go through the arguments, transforming them on the way. while test "$#" -gt 0; do arg="$1" shift func_quote_for_eval "$arg" qarg=$func_quote_for_eval_unquoted_result func_append libtool_args " $func_quote_for_eval_result" # If the previous option needs an argument, assign it. if test -n "$prev"; then case $prev in output) func_append compile_command " @OUTPUT@" func_append finalize_command " @OUTPUT@" ;; esac case $prev in bindir) bindir="$arg" prev= continue ;; dlfiles|dlprefiles) if test "$preload" = no; then # Add the symbol object into the linking commands. func_append compile_command " @SYMFILE@" func_append finalize_command " @SYMFILE@" preload=yes fi case $arg in *.la | *.lo) ;; # We handle these cases below. force) if test "$dlself" = no; then dlself=needless export_dynamic=yes fi prev= continue ;; self) if test "$prev" = dlprefiles; then dlself=yes elif test "$prev" = dlfiles && test "$dlopen_self" != yes; then dlself=yes else dlself=needless export_dynamic=yes fi prev= continue ;; *) if test "$prev" = dlfiles; then func_append dlfiles " $arg" else func_append dlprefiles " $arg" fi prev= continue ;; esac ;; expsyms) export_symbols="$arg" test -f "$arg" \ || func_fatal_error "symbol file \`$arg' does not exist" prev= continue ;; expsyms_regex) export_symbols_regex="$arg" prev= continue ;; framework) case $host in *-*-darwin*) case "$deplibs " in *" $qarg.ltframework "*) ;; *) func_append deplibs " $qarg.ltframework" # this is fixed later ;; esac ;; esac prev= continue ;; inst_prefix) inst_prefix_dir="$arg" prev= continue ;; objectlist) if test -f "$arg"; then save_arg=$arg moreargs= for fil in `cat "$save_arg"` do # func_append moreargs " $fil" arg=$fil # A libtool-controlled object. # Check to see that this really is a libtool object. if func_lalib_unsafe_p "$arg"; then pic_object= non_pic_object= # Read the .lo file func_source "$arg" if test -z "$pic_object" || test -z "$non_pic_object" || test "$pic_object" = none && test "$non_pic_object" = none; then func_fatal_error "cannot find name of object for \`$arg'" fi # Extract subdirectory from the argument. func_dirname "$arg" "/" "" xdir="$func_dirname_result" if test "$pic_object" != none; then # Prepend the subdirectory the object is found in. pic_object="$xdir$pic_object" if test "$prev" = dlfiles; then if test "$build_libtool_libs" = yes && test "$dlopen_support" = yes; then func_append dlfiles " $pic_object" prev= continue else # If libtool objects are unsupported, then we need to preload. prev=dlprefiles fi fi # CHECK ME: I think I busted this. -Ossama if test "$prev" = dlprefiles; then # Preload the old-style object. func_append dlprefiles " $pic_object" prev= fi # A PIC object. func_append libobjs " $pic_object" arg="$pic_object" fi # Non-PIC object. if test "$non_pic_object" != none; then # Prepend the subdirectory the object is found in. non_pic_object="$xdir$non_pic_object" # A standard non-PIC object func_append non_pic_objects " $non_pic_object" if test -z "$pic_object" || test "$pic_object" = none ; then arg="$non_pic_object" fi else # If the PIC object exists, use it instead. # $xdir was prepended to $pic_object above. non_pic_object="$pic_object" func_append non_pic_objects " $non_pic_object" fi else # Only an error if not doing a dry-run. if $opt_dry_run; then # Extract subdirectory from the argument. func_dirname "$arg" "/" "" xdir="$func_dirname_result" func_lo2o "$arg" pic_object=$xdir$objdir/$func_lo2o_result non_pic_object=$xdir$func_lo2o_result func_append libobjs " $pic_object" func_append non_pic_objects " $non_pic_object" else func_fatal_error "\`$arg' is not a valid libtool object" fi fi done else func_fatal_error "link input file \`$arg' does not exist" fi arg=$save_arg prev= continue ;; precious_regex) precious_files_regex="$arg" prev= continue ;; release) release="-$arg" prev= continue ;; rpath | xrpath) # We need an absolute path. case $arg in [\\/]* | [A-Za-z]:[\\/]*) ;; *) func_fatal_error "only absolute run-paths are allowed" ;; esac if test "$prev" = rpath; then case "$rpath " in *" $arg "*) ;; *) func_append rpath " $arg" ;; esac else case "$xrpath " in *" $arg "*) ;; *) func_append xrpath " $arg" ;; esac fi prev= continue ;; shrext) shrext_cmds="$arg" prev= continue ;; weak) func_append weak_libs " $arg" prev= continue ;; xcclinker) func_append linker_flags " $qarg" func_append compiler_flags " $qarg" prev= func_append compile_command " $qarg" func_append finalize_command " $qarg" continue ;; xcompiler) func_append compiler_flags " $qarg" prev= func_append compile_command " $qarg" func_append finalize_command " $qarg" continue ;; xlinker) func_append linker_flags " $qarg" func_append compiler_flags " $wl$qarg" prev= func_append compile_command " $wl$qarg" func_append finalize_command " $wl$qarg" continue ;; *) eval "$prev=\"\$arg\"" prev= continue ;; esac fi # test -n "$prev" prevarg="$arg" case $arg in -all-static) if test -n "$link_static_flag"; then # See comment for -static flag below, for more details. func_append compile_command " $link_static_flag" func_append finalize_command " $link_static_flag" fi continue ;; -allow-undefined) # FIXME: remove this flag sometime in the future. func_fatal_error "\`-allow-undefined' must not be used because it is the default" ;; -avoid-version) avoid_version=yes continue ;; -bindir) prev=bindir continue ;; -dlopen) prev=dlfiles continue ;; -dlpreopen) prev=dlprefiles continue ;; -export-dynamic) export_dynamic=yes continue ;; -export-symbols | -export-symbols-regex) if test -n "$export_symbols" || test -n "$export_symbols_regex"; then func_fatal_error "more than one -exported-symbols argument is not allowed" fi if test "X$arg" = "X-export-symbols"; then prev=expsyms else prev=expsyms_regex fi continue ;; -framework) prev=framework continue ;; -inst-prefix-dir) prev=inst_prefix continue ;; # The native IRIX linker understands -LANG:*, -LIST:* and -LNO:* # so, if we see these flags be careful not to treat them like -L -L[A-Z][A-Z]*:*) case $with_gcc/$host in no/*-*-irix* | /*-*-irix*) func_append compile_command " $arg" func_append finalize_command " $arg" ;; esac continue ;; -L*) func_stripname "-L" '' "$arg" if test -z "$func_stripname_result"; then if test "$#" -gt 0; then func_fatal_error "require no space between \`-L' and \`$1'" else func_fatal_error "need path for \`-L' option" fi fi func_resolve_sysroot "$func_stripname_result" dir=$func_resolve_sysroot_result # We need an absolute path. case $dir in [\\/]* | [A-Za-z]:[\\/]*) ;; *) absdir=`cd "$dir" && pwd` test -z "$absdir" && \ func_fatal_error "cannot determine absolute directory name of \`$dir'" dir="$absdir" ;; esac case "$deplibs " in *" -L$dir "* | *" $arg "*) # Will only happen for absolute or sysroot arguments ;; *) # Preserve sysroot, but never include relative directories case $dir in [\\/]* | [A-Za-z]:[\\/]* | =*) func_append deplibs " $arg" ;; *) func_append deplibs " -L$dir" ;; esac func_append lib_search_path " $dir" ;; esac case $host in *-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-os2* | *-cegcc*) testbindir=`$ECHO "$dir" | $SED 's*/lib$*/bin*'` case :$dllsearchpath: in *":$dir:"*) ;; ::) dllsearchpath=$dir;; *) func_append dllsearchpath ":$dir";; esac case :$dllsearchpath: in *":$testbindir:"*) ;; ::) dllsearchpath=$testbindir;; *) func_append dllsearchpath ":$testbindir";; esac ;; esac continue ;; -l*) if test "X$arg" = "X-lc" || test "X$arg" = "X-lm"; then case $host in *-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-beos* | *-cegcc* | *-*-haiku*) # These systems don't actually have a C or math library (as such) continue ;; *-*-os2*) # These systems don't actually have a C library (as such) test "X$arg" = "X-lc" && continue ;; *-*-openbsd* | *-*-freebsd* | *-*-dragonfly*) # Do not include libc due to us having libc/libc_r. test "X$arg" = "X-lc" && continue ;; *-*-rhapsody* | *-*-darwin1.[012]) # Rhapsody C and math libraries are in the System framework func_append deplibs " System.ltframework" continue ;; *-*-sco3.2v5* | *-*-sco5v6*) # Causes problems with __ctype test "X$arg" = "X-lc" && continue ;; *-*-sysv4.2uw2* | *-*-sysv5* | *-*-unixware* | *-*-OpenUNIX*) # Compiler inserts libc in the correct place for threads to work test "X$arg" = "X-lc" && continue ;; esac elif test "X$arg" = "X-lc_r"; then case $host in *-*-openbsd* | *-*-freebsd* | *-*-dragonfly*) # Do not include libc_r directly, use -pthread flag. continue ;; esac fi func_append deplibs " $arg" continue ;; -module) module=yes continue ;; # Tru64 UNIX uses -model [arg] to determine the layout of C++ # classes, name mangling, and exception handling. # Darwin uses the -arch flag to determine output architecture. -model|-arch|-isysroot|--sysroot) func_append compiler_flags " $arg" func_append compile_command " $arg" func_append finalize_command " $arg" prev=xcompiler continue ;; -mt|-mthreads|-kthread|-Kthread|-pthread|-pthreads|--thread-safe \ |-threads|-fopenmp|-openmp|-mp|-xopenmp|-omp|-qsmp=*) func_append compiler_flags " $arg" func_append compile_command " $arg" func_append finalize_command " $arg" case "$new_inherited_linker_flags " in *" $arg "*) ;; * ) func_append new_inherited_linker_flags " $arg" ;; esac continue ;; -multi_module) single_module="${wl}-multi_module" continue ;; -no-fast-install) fast_install=no continue ;; -no-install) case $host in *-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-os2* | *-*-darwin* | *-cegcc*) # The PATH hackery in wrapper scripts is required on Windows # and Darwin in order for the loader to find any dlls it needs. func_warning "\`-no-install' is ignored for $host" func_warning "assuming \`-no-fast-install' instead" fast_install=no ;; *) no_install=yes ;; esac continue ;; -no-undefined) allow_undefined=no continue ;; -objectlist) prev=objectlist continue ;; -o) prev=output ;; -precious-files-regex) prev=precious_regex continue ;; -release) prev=release continue ;; -rpath) prev=rpath continue ;; -R) prev=xrpath continue ;; -R*) func_stripname '-R' '' "$arg" dir=$func_stripname_result # We need an absolute path. case $dir in [\\/]* | [A-Za-z]:[\\/]*) ;; =*) func_stripname '=' '' "$dir" dir=$lt_sysroot$func_stripname_result ;; *) func_fatal_error "only absolute run-paths are allowed" ;; esac case "$xrpath " in *" $dir "*) ;; *) func_append xrpath " $dir" ;; esac continue ;; -shared) # The effects of -shared are defined in a previous loop. continue ;; -shrext) prev=shrext continue ;; -static | -static-libtool-libs) # The effects of -static are defined in a previous loop. # We used to do the same as -all-static on platforms that # didn't have a PIC flag, but the assumption that the effects # would be equivalent was wrong. It would break on at least # Digital Unix and AIX. continue ;; -thread-safe) thread_safe=yes continue ;; -version-info) prev=vinfo continue ;; -version-number) prev=vinfo vinfo_number=yes continue ;; -weak) prev=weak continue ;; -Wc,*) func_stripname '-Wc,' '' "$arg" args=$func_stripname_result arg= save_ifs="$IFS"; IFS=',' for flag in $args; do IFS="$save_ifs" func_quote_for_eval "$flag" func_append arg " $func_quote_for_eval_result" func_append compiler_flags " $func_quote_for_eval_result" done IFS="$save_ifs" func_stripname ' ' '' "$arg" arg=$func_stripname_result ;; -Wl,*) func_stripname '-Wl,' '' "$arg" args=$func_stripname_result arg= save_ifs="$IFS"; IFS=',' for flag in $args; do IFS="$save_ifs" func_quote_for_eval "$flag" func_append arg " $wl$func_quote_for_eval_result" func_append compiler_flags " $wl$func_quote_for_eval_result" func_append linker_flags " $func_quote_for_eval_result" done IFS="$save_ifs" func_stripname ' ' '' "$arg" arg=$func_stripname_result ;; -Xcompiler) prev=xcompiler continue ;; -Xlinker) prev=xlinker continue ;; -XCClinker) prev=xcclinker continue ;; # -msg_* for osf cc -msg_*) func_quote_for_eval "$arg" arg="$func_quote_for_eval_result" ;; # Flags to be passed through unchanged, with rationale: # -64, -mips[0-9] enable 64-bit mode for the SGI compiler # -r[0-9][0-9]* specify processor for the SGI compiler # -xarch=*, -xtarget=* enable 64-bit mode for the Sun compiler # +DA*, +DD* enable 64-bit mode for the HP compiler # -q* compiler args for the IBM compiler # -m*, -t[45]*, -txscale* architecture-specific flags for GCC # -F/path path to uninstalled frameworks, gcc on darwin # -p, -pg, --coverage, -fprofile-* profiling flags for GCC # @file GCC response files # -tp=* Portland pgcc target processor selection # --sysroot=* for sysroot support # -O*, -flto*, -fwhopr*, -fuse-linker-plugin GCC link-time optimization -64|-mips[0-9]|-r[0-9][0-9]*|-xarch=*|-xtarget=*|+DA*|+DD*|-q*|-m*| \ -t[45]*|-txscale*|-p|-pg|--coverage|-fprofile-*|-F*|@*|-tp=*|--sysroot=*| \ -O*|-flto*|-fwhopr*|-fuse-linker-plugin) func_quote_for_eval "$arg" arg="$func_quote_for_eval_result" func_append compile_command " $arg" func_append finalize_command " $arg" func_append compiler_flags " $arg" continue ;; # Some other compiler flag. -* | +*) func_quote_for_eval "$arg" arg="$func_quote_for_eval_result" ;; *.$objext) # A standard object. func_append objs " $arg" ;; *.lo) # A libtool-controlled object. # Check to see that this really is a libtool object. if func_lalib_unsafe_p "$arg"; then pic_object= non_pic_object= # Read the .lo file func_source "$arg" if test -z "$pic_object" || test -z "$non_pic_object" || test "$pic_object" = none && test "$non_pic_object" = none; then func_fatal_error "cannot find name of object for \`$arg'" fi # Extract subdirectory from the argument. func_dirname "$arg" "/" "" xdir="$func_dirname_result" if test "$pic_object" != none; then # Prepend the subdirectory the object is found in. pic_object="$xdir$pic_object" if test "$prev" = dlfiles; then if test "$build_libtool_libs" = yes && test "$dlopen_support" = yes; then func_append dlfiles " $pic_object" prev= continue else # If libtool objects are unsupported, then we need to preload. prev=dlprefiles fi fi # CHECK ME: I think I busted this. -Ossama if test "$prev" = dlprefiles; then # Preload the old-style object. func_append dlprefiles " $pic_object" prev= fi # A PIC object. func_append libobjs " $pic_object" arg="$pic_object" fi # Non-PIC object. if test "$non_pic_object" != none; then # Prepend the subdirectory the object is found in. non_pic_object="$xdir$non_pic_object" # A standard non-PIC object func_append non_pic_objects " $non_pic_object" if test -z "$pic_object" || test "$pic_object" = none ; then arg="$non_pic_object" fi else # If the PIC object exists, use it instead. # $xdir was prepended to $pic_object above. non_pic_object="$pic_object" func_append non_pic_objects " $non_pic_object" fi else # Only an error if not doing a dry-run. if $opt_dry_run; then # Extract subdirectory from the argument. func_dirname "$arg" "/" "" xdir="$func_dirname_result" func_lo2o "$arg" pic_object=$xdir$objdir/$func_lo2o_result non_pic_object=$xdir$func_lo2o_result func_append libobjs " $pic_object" func_append non_pic_objects " $non_pic_object" else func_fatal_error "\`$arg' is not a valid libtool object" fi fi ;; *.$libext) # An archive. func_append deplibs " $arg" func_append old_deplibs " $arg" continue ;; *.la) # A libtool-controlled library. func_resolve_sysroot "$arg" if test "$prev" = dlfiles; then # This library was specified with -dlopen. func_append dlfiles " $func_resolve_sysroot_result" prev= elif test "$prev" = dlprefiles; then # The library was specified with -dlpreopen. func_append dlprefiles " $func_resolve_sysroot_result" prev= else func_append deplibs " $func_resolve_sysroot_result" fi continue ;; # Some other compiler argument. *) # Unknown arguments in both finalize_command and compile_command need # to be aesthetically quoted because they are evaled later. func_quote_for_eval "$arg" arg="$func_quote_for_eval_result" ;; esac # arg # Now actually substitute the argument into the commands. if test -n "$arg"; then func_append compile_command " $arg" func_append finalize_command " $arg" fi done # argument parsing loop test -n "$prev" && \ func_fatal_help "the \`$prevarg' option requires an argument" if test "$export_dynamic" = yes && test -n "$export_dynamic_flag_spec"; then eval arg=\"$export_dynamic_flag_spec\" func_append compile_command " $arg" func_append finalize_command " $arg" fi oldlibs= # calculate the name of the file, without its directory func_basename "$output" outputname="$func_basename_result" libobjs_save="$libobjs" if test -n "$shlibpath_var"; then # get the directories listed in $shlibpath_var eval shlib_search_path=\`\$ECHO \"\${$shlibpath_var}\" \| \$SED \'s/:/ /g\'\` else shlib_search_path= fi eval sys_lib_search_path=\"$sys_lib_search_path_spec\" eval sys_lib_dlsearch_path=\"$sys_lib_dlsearch_path_spec\" func_dirname "$output" "/" "" output_objdir="$func_dirname_result$objdir" func_to_tool_file "$output_objdir/" tool_output_objdir=$func_to_tool_file_result # Create the object directory. func_mkdir_p "$output_objdir" # Determine the type of output case $output in "") func_fatal_help "you must specify an output file" ;; *.$libext) linkmode=oldlib ;; *.lo | *.$objext) linkmode=obj ;; *.la) linkmode=lib ;; *) linkmode=prog ;; # Anything else should be a program. esac specialdeplibs= libs= # Find all interdependent deplibs by searching for libraries # that are linked more than once (e.g. -la -lb -la) for deplib in $deplibs; do if $opt_preserve_dup_deps ; then case "$libs " in *" $deplib "*) func_append specialdeplibs " $deplib" ;; esac fi func_append libs " $deplib" done if test "$linkmode" = lib; then libs="$predeps $libs $compiler_lib_search_path $postdeps" # Compute libraries that are listed more than once in $predeps # $postdeps and mark them as special (i.e., whose duplicates are # not to be eliminated). pre_post_deps= if $opt_duplicate_compiler_generated_deps; then for pre_post_dep in $predeps $postdeps; do case "$pre_post_deps " in *" $pre_post_dep "*) func_append specialdeplibs " $pre_post_deps" ;; esac func_append pre_post_deps " $pre_post_dep" done fi pre_post_deps= fi deplibs= newdependency_libs= newlib_search_path= need_relink=no # whether we're linking any uninstalled libtool libraries notinst_deplibs= # not-installed libtool libraries notinst_path= # paths that contain not-installed libtool libraries case $linkmode in lib) passes="conv dlpreopen link" for file in $dlfiles $dlprefiles; do case $file in *.la) ;; *) func_fatal_help "libraries can \`-dlopen' only libtool libraries: $file" ;; esac done ;; prog) compile_deplibs= finalize_deplibs= alldeplibs=no newdlfiles= newdlprefiles= passes="conv scan dlopen dlpreopen link" ;; *) passes="conv" ;; esac for pass in $passes; do # The preopen pass in lib mode reverses $deplibs; put it back here # so that -L comes before libs that need it for instance... if test "$linkmode,$pass" = "lib,link"; then ## FIXME: Find the place where the list is rebuilt in the wrong ## order, and fix it there properly tmp_deplibs= for deplib in $deplibs; do tmp_deplibs="$deplib $tmp_deplibs" done deplibs="$tmp_deplibs" fi if test "$linkmode,$pass" = "lib,link" || test "$linkmode,$pass" = "prog,scan"; then libs="$deplibs" deplibs= fi if test "$linkmode" = prog; then case $pass in dlopen) libs="$dlfiles" ;; dlpreopen) libs="$dlprefiles" ;; link) libs="$deplibs %DEPLIBS% $dependency_libs" ;; esac fi if test "$linkmode,$pass" = "lib,dlpreopen"; then # Collect and forward deplibs of preopened libtool libs for lib in $dlprefiles; do # Ignore non-libtool-libs dependency_libs= func_resolve_sysroot "$lib" case $lib in *.la) func_source "$func_resolve_sysroot_result" ;; esac # Collect preopened libtool deplibs, except any this library # has declared as weak libs for deplib in $dependency_libs; do func_basename "$deplib" deplib_base=$func_basename_result case " $weak_libs " in *" $deplib_base "*) ;; *) func_append deplibs " $deplib" ;; esac done done libs="$dlprefiles" fi if test "$pass" = dlopen; then # Collect dlpreopened libraries save_deplibs="$deplibs" deplibs= fi for deplib in $libs; do lib= found=no case $deplib in -mt|-mthreads|-kthread|-Kthread|-pthread|-pthreads|--thread-safe \ |-threads|-fopenmp|-openmp|-mp|-xopenmp|-omp|-qsmp=*) if test "$linkmode,$pass" = "prog,link"; then compile_deplibs="$deplib $compile_deplibs" finalize_deplibs="$deplib $finalize_deplibs" else func_append compiler_flags " $deplib" if test "$linkmode" = lib ; then case "$new_inherited_linker_flags " in *" $deplib "*) ;; * ) func_append new_inherited_linker_flags " $deplib" ;; esac fi fi continue ;; -l*) if test "$linkmode" != lib && test "$linkmode" != prog; then func_warning "\`-l' is ignored for archives/objects" continue fi func_stripname '-l' '' "$deplib" name=$func_stripname_result if test "$linkmode" = lib; then searchdirs="$newlib_search_path $lib_search_path $compiler_lib_search_dirs $sys_lib_search_path $shlib_search_path" else searchdirs="$newlib_search_path $lib_search_path $sys_lib_search_path $shlib_search_path" fi for searchdir in $searchdirs; do for search_ext in .la $std_shrext .so .a; do # Search the libtool library lib="$searchdir/lib${name}${search_ext}" if test -f "$lib"; then if test "$search_ext" = ".la"; then found=yes else found=no fi break 2 fi done done if test "$found" != yes; then # deplib doesn't seem to be a libtool library if test "$linkmode,$pass" = "prog,link"; then compile_deplibs="$deplib $compile_deplibs" finalize_deplibs="$deplib $finalize_deplibs" else deplibs="$deplib $deplibs" test "$linkmode" = lib && newdependency_libs="$deplib $newdependency_libs" fi continue else # deplib is a libtool library # If $allow_libtool_libs_with_static_runtimes && $deplib is a stdlib, # We need to do some special things here, and not later. if test "X$allow_libtool_libs_with_static_runtimes" = "Xyes" ; then case " $predeps $postdeps " in *" $deplib "*) if func_lalib_p "$lib"; then library_names= old_library= func_source "$lib" for l in $old_library $library_names; do ll="$l" done if test "X$ll" = "X$old_library" ; then # only static version available found=no func_dirname "$lib" "" "." ladir="$func_dirname_result" lib=$ladir/$old_library if test "$linkmode,$pass" = "prog,link"; then compile_deplibs="$deplib $compile_deplibs" finalize_deplibs="$deplib $finalize_deplibs" else deplibs="$deplib $deplibs" test "$linkmode" = lib && newdependency_libs="$deplib $newdependency_libs" fi continue fi fi ;; *) ;; esac fi fi ;; # -l *.ltframework) if test "$linkmode,$pass" = "prog,link"; then compile_deplibs="$deplib $compile_deplibs" finalize_deplibs="$deplib $finalize_deplibs" else deplibs="$deplib $deplibs" if test "$linkmode" = lib ; then case "$new_inherited_linker_flags " in *" $deplib "*) ;; * ) func_append new_inherited_linker_flags " $deplib" ;; esac fi fi continue ;; -L*) case $linkmode in lib) deplibs="$deplib $deplibs" test "$pass" = conv && continue newdependency_libs="$deplib $newdependency_libs" func_stripname '-L' '' "$deplib" func_resolve_sysroot "$func_stripname_result" func_append newlib_search_path " $func_resolve_sysroot_result" ;; prog) if test "$pass" = conv; then deplibs="$deplib $deplibs" continue fi if test "$pass" = scan; then deplibs="$deplib $deplibs" else compile_deplibs="$deplib $compile_deplibs" finalize_deplibs="$deplib $finalize_deplibs" fi func_stripname '-L' '' "$deplib" func_resolve_sysroot "$func_stripname_result" func_append newlib_search_path " $func_resolve_sysroot_result" ;; *) func_warning "\`-L' is ignored for archives/objects" ;; esac # linkmode continue ;; # -L -R*) if test "$pass" = link; then func_stripname '-R' '' "$deplib" func_resolve_sysroot "$func_stripname_result" dir=$func_resolve_sysroot_result # Make sure the xrpath contains only unique directories. case "$xrpath " in *" $dir "*) ;; *) func_append xrpath " $dir" ;; esac fi deplibs="$deplib $deplibs" continue ;; *.la) func_resolve_sysroot "$deplib" lib=$func_resolve_sysroot_result ;; *.$libext) if test "$pass" = conv; then deplibs="$deplib $deplibs" continue fi case $linkmode in lib) # Linking convenience modules into shared libraries is allowed, # but linking other static libraries is non-portable. case " $dlpreconveniencelibs " in *" $deplib "*) ;; *) valid_a_lib=no case $deplibs_check_method in match_pattern*) set dummy $deplibs_check_method; shift match_pattern_regex=`expr "$deplibs_check_method" : "$1 \(.*\)"` if eval "\$ECHO \"$deplib\"" 2>/dev/null | $SED 10q \ | $EGREP "$match_pattern_regex" > /dev/null; then valid_a_lib=yes fi ;; pass_all) valid_a_lib=yes ;; esac if test "$valid_a_lib" != yes; then echo $ECHO "*** Warning: Trying to link with static lib archive $deplib." echo "*** I have the capability to make that library automatically link in when" echo "*** you link to this library. But I can only do this if you have a" echo "*** shared version of the library, which you do not appear to have" echo "*** because the file extensions .$libext of this argument makes me believe" echo "*** that it is just a static archive that I should not use here." else echo $ECHO "*** Warning: Linking the shared library $output against the" $ECHO "*** static library $deplib is not portable!" deplibs="$deplib $deplibs" fi ;; esac continue ;; prog) if test "$pass" != link; then deplibs="$deplib $deplibs" else compile_deplibs="$deplib $compile_deplibs" finalize_deplibs="$deplib $finalize_deplibs" fi continue ;; esac # linkmode ;; # *.$libext *.lo | *.$objext) if test "$pass" = conv; then deplibs="$deplib $deplibs" elif test "$linkmode" = prog; then if test "$pass" = dlpreopen || test "$dlopen_support" != yes || test "$build_libtool_libs" = no; then # If there is no dlopen support or we're linking statically, # we need to preload. func_append newdlprefiles " $deplib" compile_deplibs="$deplib $compile_deplibs" finalize_deplibs="$deplib $finalize_deplibs" else func_append newdlfiles " $deplib" fi fi continue ;; %DEPLIBS%) alldeplibs=yes continue ;; esac # case $deplib if test "$found" = yes || test -f "$lib"; then : else func_fatal_error "cannot find the library \`$lib' or unhandled argument \`$deplib'" fi # Check to see that this really is a libtool archive. func_lalib_unsafe_p "$lib" \ || func_fatal_error "\`$lib' is not a valid libtool archive" func_dirname "$lib" "" "." ladir="$func_dirname_result" dlname= dlopen= dlpreopen= libdir= library_names= old_library= inherited_linker_flags= # If the library was installed with an old release of libtool, # it will not redefine variables installed, or shouldnotlink installed=yes shouldnotlink=no avoidtemprpath= # Read the .la file func_source "$lib" # Convert "-framework foo" to "foo.ltframework" if test -n "$inherited_linker_flags"; then tmp_inherited_linker_flags=`$ECHO "$inherited_linker_flags" | $SED 's/-framework \([^ $]*\)/\1.ltframework/g'` for tmp_inherited_linker_flag in $tmp_inherited_linker_flags; do case " $new_inherited_linker_flags " in *" $tmp_inherited_linker_flag "*) ;; *) func_append new_inherited_linker_flags " $tmp_inherited_linker_flag";; esac done fi dependency_libs=`$ECHO " $dependency_libs" | $SED 's% \([^ $]*\).ltframework% -framework \1%g'` if test "$linkmode,$pass" = "lib,link" || test "$linkmode,$pass" = "prog,scan" || { test "$linkmode" != prog && test "$linkmode" != lib; }; then test -n "$dlopen" && func_append dlfiles " $dlopen" test -n "$dlpreopen" && func_append dlprefiles " $dlpreopen" fi if test "$pass" = conv; then # Only check for convenience libraries deplibs="$lib $deplibs" if test -z "$libdir"; then if test -z "$old_library"; then func_fatal_error "cannot find name of link library for \`$lib'" fi # It is a libtool convenience library, so add in its objects. func_append convenience " $ladir/$objdir/$old_library" func_append old_convenience " $ladir/$objdir/$old_library" elif test "$linkmode" != prog && test "$linkmode" != lib; then func_fatal_error "\`$lib' is not a convenience library" fi tmp_libs= for deplib in $dependency_libs; do deplibs="$deplib $deplibs" if $opt_preserve_dup_deps ; then case "$tmp_libs " in *" $deplib "*) func_append specialdeplibs " $deplib" ;; esac fi func_append tmp_libs " $deplib" done continue fi # $pass = conv # Get the name of the library we link against. linklib= if test -n "$old_library" && { test "$prefer_static_libs" = yes || test "$prefer_static_libs,$installed" = "built,no"; }; then linklib=$old_library else for l in $old_library $library_names; do linklib="$l" done fi if test -z "$linklib"; then func_fatal_error "cannot find name of link library for \`$lib'" fi # This library was specified with -dlopen. if test "$pass" = dlopen; then if test -z "$libdir"; then func_fatal_error "cannot -dlopen a convenience library: \`$lib'" fi if test -z "$dlname" || test "$dlopen_support" != yes || test "$build_libtool_libs" = no; then # If there is no dlname, no dlopen support or we're linking # statically, we need to preload. We also need to preload any # dependent libraries so libltdl's deplib preloader doesn't # bomb out in the load deplibs phase. func_append dlprefiles " $lib $dependency_libs" else func_append newdlfiles " $lib" fi continue fi # $pass = dlopen # We need an absolute path. case $ladir in [\\/]* | [A-Za-z]:[\\/]*) abs_ladir="$ladir" ;; *) abs_ladir=`cd "$ladir" && pwd` if test -z "$abs_ladir"; then func_warning "cannot determine absolute directory name of \`$ladir'" func_warning "passing it literally to the linker, although it might fail" abs_ladir="$ladir" fi ;; esac func_basename "$lib" laname="$func_basename_result" # Find the relevant object directory and library name. if test "X$installed" = Xyes; then if test ! -f "$lt_sysroot$libdir/$linklib" && test -f "$abs_ladir/$linklib"; then func_warning "library \`$lib' was moved." dir="$ladir" absdir="$abs_ladir" libdir="$abs_ladir" else dir="$lt_sysroot$libdir" absdir="$lt_sysroot$libdir" fi test "X$hardcode_automatic" = Xyes && avoidtemprpath=yes else if test ! -f "$ladir/$objdir/$linklib" && test -f "$abs_ladir/$linklib"; then dir="$ladir" absdir="$abs_ladir" # Remove this search path later func_append notinst_path " $abs_ladir" else dir="$ladir/$objdir" absdir="$abs_ladir/$objdir" # Remove this search path later func_append notinst_path " $abs_ladir" fi fi # $installed = yes func_stripname 'lib' '.la' "$laname" name=$func_stripname_result # This library was specified with -dlpreopen. if test "$pass" = dlpreopen; then if test -z "$libdir" && test "$linkmode" = prog; then func_fatal_error "only libraries may -dlpreopen a convenience library: \`$lib'" fi case "$host" in # special handling for platforms with PE-DLLs. *cygwin* | *mingw* | *cegcc* ) # Linker will automatically link against shared library if both # static and shared are present. Therefore, ensure we extract # symbols from the import library if a shared library is present # (otherwise, the dlopen module name will be incorrect). We do # this by putting the import library name into $newdlprefiles. # We recover the dlopen module name by 'saving' the la file # name in a special purpose variable, and (later) extracting the # dlname from the la file. if test -n "$dlname"; then func_tr_sh "$dir/$linklib" eval "libfile_$func_tr_sh_result=\$abs_ladir/\$laname" func_append newdlprefiles " $dir/$linklib" else func_append newdlprefiles " $dir/$old_library" # Keep a list of preopened convenience libraries to check # that they are being used correctly in the link pass. test -z "$libdir" && \ func_append dlpreconveniencelibs " $dir/$old_library" fi ;; * ) # Prefer using a static library (so that no silly _DYNAMIC symbols # are required to link). if test -n "$old_library"; then func_append newdlprefiles " $dir/$old_library" # Keep a list of preopened convenience libraries to check # that they are being used correctly in the link pass. test -z "$libdir" && \ func_append dlpreconveniencelibs " $dir/$old_library" # Otherwise, use the dlname, so that lt_dlopen finds it. elif test -n "$dlname"; then func_append newdlprefiles " $dir/$dlname" else func_append newdlprefiles " $dir/$linklib" fi ;; esac fi # $pass = dlpreopen if test -z "$libdir"; then # Link the convenience library if test "$linkmode" = lib; then deplibs="$dir/$old_library $deplibs" elif test "$linkmode,$pass" = "prog,link"; then compile_deplibs="$dir/$old_library $compile_deplibs" finalize_deplibs="$dir/$old_library $finalize_deplibs" else deplibs="$lib $deplibs" # used for prog,scan pass fi continue fi if test "$linkmode" = prog && test "$pass" != link; then func_append newlib_search_path " $ladir" deplibs="$lib $deplibs" linkalldeplibs=no if test "$link_all_deplibs" != no || test -z "$library_names" || test "$build_libtool_libs" = no; then linkalldeplibs=yes fi tmp_libs= for deplib in $dependency_libs; do case $deplib in -L*) func_stripname '-L' '' "$deplib" func_resolve_sysroot "$func_stripname_result" func_append newlib_search_path " $func_resolve_sysroot_result" ;; esac # Need to link against all dependency_libs? if test "$linkalldeplibs" = yes; then deplibs="$deplib $deplibs" else # Need to hardcode shared library paths # or/and link against static libraries newdependency_libs="$deplib $newdependency_libs" fi if $opt_preserve_dup_deps ; then case "$tmp_libs " in *" $deplib "*) func_append specialdeplibs " $deplib" ;; esac fi func_append tmp_libs " $deplib" done # for deplib continue fi # $linkmode = prog... if test "$linkmode,$pass" = "prog,link"; then if test -n "$library_names" && { { test "$prefer_static_libs" = no || test "$prefer_static_libs,$installed" = "built,yes"; } || test -z "$old_library"; }; then # We need to hardcode the library path if test -n "$shlibpath_var" && test -z "$avoidtemprpath" ; then # Make sure the rpath contains only unique directories. case "$temp_rpath:" in *"$absdir:"*) ;; *) func_append temp_rpath "$absdir:" ;; esac fi # Hardcode the library path. # Skip directories that are in the system default run-time # search path. case " $sys_lib_dlsearch_path " in *" $absdir "*) ;; *) case "$compile_rpath " in *" $absdir "*) ;; *) func_append compile_rpath " $absdir" ;; esac ;; esac case " $sys_lib_dlsearch_path " in *" $libdir "*) ;; *) case "$finalize_rpath " in *" $libdir "*) ;; *) func_append finalize_rpath " $libdir" ;; esac ;; esac fi # $linkmode,$pass = prog,link... if test "$alldeplibs" = yes && { test "$deplibs_check_method" = pass_all || { test "$build_libtool_libs" = yes && test -n "$library_names"; }; }; then # We only need to search for static libraries continue fi fi link_static=no # Whether the deplib will be linked statically use_static_libs=$prefer_static_libs if test "$use_static_libs" = built && test "$installed" = yes; then use_static_libs=no fi if test -n "$library_names" && { test "$use_static_libs" = no || test -z "$old_library"; }; then case $host in *cygwin* | *mingw* | *cegcc*) # No point in relinking DLLs because paths are not encoded func_append notinst_deplibs " $lib" need_relink=no ;; *) if test "$installed" = no; then func_append notinst_deplibs " $lib" need_relink=yes fi ;; esac # This is a shared library # Warn about portability, can't link against -module's on some # systems (darwin). Don't bleat about dlopened modules though! dlopenmodule="" for dlpremoduletest in $dlprefiles; do if test "X$dlpremoduletest" = "X$lib"; then dlopenmodule="$dlpremoduletest" break fi done if test -z "$dlopenmodule" && test "$shouldnotlink" = yes && test "$pass" = link; then echo if test "$linkmode" = prog; then $ECHO "*** Warning: Linking the executable $output against the loadable module" else $ECHO "*** Warning: Linking the shared library $output against the loadable module" fi $ECHO "*** $linklib is not portable!" fi if test "$linkmode" = lib && test "$hardcode_into_libs" = yes; then # Hardcode the library path. # Skip directories that are in the system default run-time # search path. case " $sys_lib_dlsearch_path " in *" $absdir "*) ;; *) case "$compile_rpath " in *" $absdir "*) ;; *) func_append compile_rpath " $absdir" ;; esac ;; esac case " $sys_lib_dlsearch_path " in *" $libdir "*) ;; *) case "$finalize_rpath " in *" $libdir "*) ;; *) func_append finalize_rpath " $libdir" ;; esac ;; esac fi if test -n "$old_archive_from_expsyms_cmds"; then # figure out the soname set dummy $library_names shift realname="$1" shift libname=`eval "\\$ECHO \"$libname_spec\""` # use dlname if we got it. it's perfectly good, no? if test -n "$dlname"; then soname="$dlname" elif test -n "$soname_spec"; then # bleh windows case $host in *cygwin* | mingw* | *cegcc*) func_arith $current - $age major=$func_arith_result versuffix="-$major" ;; esac eval soname=\"$soname_spec\" else soname="$realname" fi # Make a new name for the extract_expsyms_cmds to use soroot="$soname" func_basename "$soroot" soname="$func_basename_result" func_stripname 'lib' '.dll' "$soname" newlib=libimp-$func_stripname_result.a # If the library has no export list, then create one now if test -f "$output_objdir/$soname-def"; then : else func_verbose "extracting exported symbol list from \`$soname'" func_execute_cmds "$extract_expsyms_cmds" 'exit $?' fi # Create $newlib if test -f "$output_objdir/$newlib"; then :; else func_verbose "generating import library for \`$soname'" func_execute_cmds "$old_archive_from_expsyms_cmds" 'exit $?' fi # make sure the library variables are pointing to the new library dir=$output_objdir linklib=$newlib fi # test -n "$old_archive_from_expsyms_cmds" if test "$linkmode" = prog || test "$opt_mode" != relink; then add_shlibpath= add_dir= add= lib_linked=yes case $hardcode_action in immediate | unsupported) if test "$hardcode_direct" = no; then add="$dir/$linklib" case $host in *-*-sco3.2v5.0.[024]*) add_dir="-L$dir" ;; *-*-sysv4*uw2*) add_dir="-L$dir" ;; *-*-sysv5OpenUNIX* | *-*-sysv5UnixWare7.[01].[10]* | \ *-*-unixware7*) add_dir="-L$dir" ;; *-*-darwin* ) # if the lib is a (non-dlopened) module then we can not # link against it, someone is ignoring the earlier warnings if /usr/bin/file -L $add 2> /dev/null | $GREP ": [^:]* bundle" >/dev/null ; then if test "X$dlopenmodule" != "X$lib"; then $ECHO "*** Warning: lib $linklib is a module, not a shared library" if test -z "$old_library" ; then echo echo "*** And there doesn't seem to be a static archive available" echo "*** The link will probably fail, sorry" else add="$dir/$old_library" fi elif test -n "$old_library"; then add="$dir/$old_library" fi fi esac elif test "$hardcode_minus_L" = no; then case $host in *-*-sunos*) add_shlibpath="$dir" ;; esac add_dir="-L$dir" add="-l$name" elif test "$hardcode_shlibpath_var" = no; then add_shlibpath="$dir" add="-l$name" else lib_linked=no fi ;; relink) if test "$hardcode_direct" = yes && test "$hardcode_direct_absolute" = no; then add="$dir/$linklib" elif test "$hardcode_minus_L" = yes; then add_dir="-L$absdir" # Try looking first in the location we're being installed to. if test -n "$inst_prefix_dir"; then case $libdir in [\\/]*) func_append add_dir " -L$inst_prefix_dir$libdir" ;; esac fi add="-l$name" elif test "$hardcode_shlibpath_var" = yes; then add_shlibpath="$dir" add="-l$name" else lib_linked=no fi ;; *) lib_linked=no ;; esac if test "$lib_linked" != yes; then func_fatal_configuration "unsupported hardcode properties" fi if test -n "$add_shlibpath"; then case :$compile_shlibpath: in *":$add_shlibpath:"*) ;; *) func_append compile_shlibpath "$add_shlibpath:" ;; esac fi if test "$linkmode" = prog; then test -n "$add_dir" && compile_deplibs="$add_dir $compile_deplibs" test -n "$add" && compile_deplibs="$add $compile_deplibs" else test -n "$add_dir" && deplibs="$add_dir $deplibs" test -n "$add" && deplibs="$add $deplibs" if test "$hardcode_direct" != yes && test "$hardcode_minus_L" != yes && test "$hardcode_shlibpath_var" = yes; then case :$finalize_shlibpath: in *":$libdir:"*) ;; *) func_append finalize_shlibpath "$libdir:" ;; esac fi fi fi if test "$linkmode" = prog || test "$opt_mode" = relink; then add_shlibpath= add_dir= add= # Finalize command for both is simple: just hardcode it. if test "$hardcode_direct" = yes && test "$hardcode_direct_absolute" = no; then add="$libdir/$linklib" elif test "$hardcode_minus_L" = yes; then add_dir="-L$libdir" add="-l$name" elif test "$hardcode_shlibpath_var" = yes; then case :$finalize_shlibpath: in *":$libdir:"*) ;; *) func_append finalize_shlibpath "$libdir:" ;; esac add="-l$name" elif test "$hardcode_automatic" = yes; then if test -n "$inst_prefix_dir" && test -f "$inst_prefix_dir$libdir/$linklib" ; then add="$inst_prefix_dir$libdir/$linklib" else add="$libdir/$linklib" fi else # We cannot seem to hardcode it, guess we'll fake it. add_dir="-L$libdir" # Try looking first in the location we're being installed to. if test -n "$inst_prefix_dir"; then case $libdir in [\\/]*) func_append add_dir " -L$inst_prefix_dir$libdir" ;; esac fi add="-l$name" fi if test "$linkmode" = prog; then test -n "$add_dir" && finalize_deplibs="$add_dir $finalize_deplibs" test -n "$add" && finalize_deplibs="$add $finalize_deplibs" else test -n "$add_dir" && deplibs="$add_dir $deplibs" test -n "$add" && deplibs="$add $deplibs" fi fi elif test "$linkmode" = prog; then # Here we assume that one of hardcode_direct or hardcode_minus_L # is not unsupported. This is valid on all known static and # shared platforms. if test "$hardcode_direct" != unsupported; then test -n "$old_library" && linklib="$old_library" compile_deplibs="$dir/$linklib $compile_deplibs" finalize_deplibs="$dir/$linklib $finalize_deplibs" else compile_deplibs="-l$name -L$dir $compile_deplibs" finalize_deplibs="-l$name -L$dir $finalize_deplibs" fi elif test "$build_libtool_libs" = yes; then # Not a shared library if test "$deplibs_check_method" != pass_all; then # We're trying link a shared library against a static one # but the system doesn't support it. # Just print a warning and add the library to dependency_libs so # that the program can be linked against the static library. echo $ECHO "*** Warning: This system can not link to static lib archive $lib." echo "*** I have the capability to make that library automatically link in when" echo "*** you link to this library. But I can only do this if you have a" echo "*** shared version of the library, which you do not appear to have." if test "$module" = yes; then echo "*** But as you try to build a module library, libtool will still create " echo "*** a static module, that should work as long as the dlopening application" echo "*** is linked with the -dlopen flag to resolve symbols at runtime." if test -z "$global_symbol_pipe"; then echo echo "*** However, this would only work if libtool was able to extract symbol" echo "*** lists from a program, using \`nm' or equivalent, but libtool could" echo "*** not find such a program. So, this module is probably useless." echo "*** \`nm' from GNU binutils and a full rebuild may help." fi if test "$build_old_libs" = no; then build_libtool_libs=module build_old_libs=yes else build_libtool_libs=no fi fi else deplibs="$dir/$old_library $deplibs" link_static=yes fi fi # link shared/static library? if test "$linkmode" = lib; then if test -n "$dependency_libs" && { test "$hardcode_into_libs" != yes || test "$build_old_libs" = yes || test "$link_static" = yes; }; then # Extract -R from dependency_libs temp_deplibs= for libdir in $dependency_libs; do case $libdir in -R*) func_stripname '-R' '' "$libdir" temp_xrpath=$func_stripname_result case " $xrpath " in *" $temp_xrpath "*) ;; *) func_append xrpath " $temp_xrpath";; esac;; *) func_append temp_deplibs " $libdir";; esac done dependency_libs="$temp_deplibs" fi func_append newlib_search_path " $absdir" # Link against this library test "$link_static" = no && newdependency_libs="$abs_ladir/$laname $newdependency_libs" # ... and its dependency_libs tmp_libs= for deplib in $dependency_libs; do newdependency_libs="$deplib $newdependency_libs" case $deplib in -L*) func_stripname '-L' '' "$deplib" func_resolve_sysroot "$func_stripname_result";; *) func_resolve_sysroot "$deplib" ;; esac if $opt_preserve_dup_deps ; then case "$tmp_libs " in *" $func_resolve_sysroot_result "*) func_append specialdeplibs " $func_resolve_sysroot_result" ;; esac fi func_append tmp_libs " $func_resolve_sysroot_result" done if test "$link_all_deplibs" != no; then # Add the search paths of all dependency libraries for deplib in $dependency_libs; do path= case $deplib in -L*) path="$deplib" ;; *.la) func_resolve_sysroot "$deplib" deplib=$func_resolve_sysroot_result func_dirname "$deplib" "" "." dir=$func_dirname_result # We need an absolute path. case $dir in [\\/]* | [A-Za-z]:[\\/]*) absdir="$dir" ;; *) absdir=`cd "$dir" && pwd` if test -z "$absdir"; then func_warning "cannot determine absolute directory name of \`$dir'" absdir="$dir" fi ;; esac if $GREP "^installed=no" $deplib > /dev/null; then case $host in *-*-darwin*) depdepl= eval deplibrary_names=`${SED} -n -e 's/^library_names=\(.*\)$/\1/p' $deplib` if test -n "$deplibrary_names" ; then for tmp in $deplibrary_names ; do depdepl=$tmp done if test -f "$absdir/$objdir/$depdepl" ; then depdepl="$absdir/$objdir/$depdepl" darwin_install_name=`${OTOOL} -L $depdepl | awk '{if (NR == 2) {print $1;exit}}'` if test -z "$darwin_install_name"; then darwin_install_name=`${OTOOL64} -L $depdepl | awk '{if (NR == 2) {print $1;exit}}'` fi func_append compiler_flags " ${wl}-dylib_file ${wl}${darwin_install_name}:${depdepl}" func_append linker_flags " -dylib_file ${darwin_install_name}:${depdepl}" path= fi fi ;; *) path="-L$absdir/$objdir" ;; esac else eval libdir=`${SED} -n -e 's/^libdir=\(.*\)$/\1/p' $deplib` test -z "$libdir" && \ func_fatal_error "\`$deplib' is not a valid libtool archive" test "$absdir" != "$libdir" && \ func_warning "\`$deplib' seems to be moved" path="-L$absdir" fi ;; esac case " $deplibs " in *" $path "*) ;; *) deplibs="$path $deplibs" ;; esac done fi # link_all_deplibs != no fi # linkmode = lib done # for deplib in $libs if test "$pass" = link; then if test "$linkmode" = "prog"; then compile_deplibs="$new_inherited_linker_flags $compile_deplibs" finalize_deplibs="$new_inherited_linker_flags $finalize_deplibs" else compiler_flags="$compiler_flags "`$ECHO " $new_inherited_linker_flags" | $SED 's% \([^ $]*\).ltframework% -framework \1%g'` fi fi dependency_libs="$newdependency_libs" if test "$pass" = dlpreopen; then # Link the dlpreopened libraries before other libraries for deplib in $save_deplibs; do deplibs="$deplib $deplibs" done fi if test "$pass" != dlopen; then if test "$pass" != conv; then # Make sure lib_search_path contains only unique directories. lib_search_path= for dir in $newlib_search_path; do case "$lib_search_path " in *" $dir "*) ;; *) func_append lib_search_path " $dir" ;; esac done newlib_search_path= fi if test "$linkmode,$pass" != "prog,link"; then vars="deplibs" else vars="compile_deplibs finalize_deplibs" fi for var in $vars dependency_libs; do # Add libraries to $var in reverse order eval tmp_libs=\"\$$var\" new_libs= for deplib in $tmp_libs; do # FIXME: Pedantically, this is the right thing to do, so # that some nasty dependency loop isn't accidentally # broken: #new_libs="$deplib $new_libs" # Pragmatically, this seems to cause very few problems in # practice: case $deplib in -L*) new_libs="$deplib $new_libs" ;; -R*) ;; *) # And here is the reason: when a library appears more # than once as an explicit dependence of a library, or # is implicitly linked in more than once by the # compiler, it is considered special, and multiple # occurrences thereof are not removed. Compare this # with having the same library being listed as a # dependency of multiple other libraries: in this case, # we know (pedantically, we assume) the library does not # need to be listed more than once, so we keep only the # last copy. This is not always right, but it is rare # enough that we require users that really mean to play # such unportable linking tricks to link the library # using -Wl,-lname, so that libtool does not consider it # for duplicate removal. case " $specialdeplibs " in *" $deplib "*) new_libs="$deplib $new_libs" ;; *) case " $new_libs " in *" $deplib "*) ;; *) new_libs="$deplib $new_libs" ;; esac ;; esac ;; esac done tmp_libs= for deplib in $new_libs; do case $deplib in -L*) case " $tmp_libs " in *" $deplib "*) ;; *) func_append tmp_libs " $deplib" ;; esac ;; *) func_append tmp_libs " $deplib" ;; esac done eval $var=\"$tmp_libs\" done # for var fi # Last step: remove runtime libs from dependency_libs # (they stay in deplibs) tmp_libs= for i in $dependency_libs ; do case " $predeps $postdeps $compiler_lib_search_path " in *" $i "*) i="" ;; esac if test -n "$i" ; then func_append tmp_libs " $i" fi done dependency_libs=$tmp_libs done # for pass if test "$linkmode" = prog; then dlfiles="$newdlfiles" fi if test "$linkmode" = prog || test "$linkmode" = lib; then dlprefiles="$newdlprefiles" fi case $linkmode in oldlib) if test -n "$dlfiles$dlprefiles" || test "$dlself" != no; then func_warning "\`-dlopen' is ignored for archives" fi case " $deplibs" in *\ -l* | *\ -L*) func_warning "\`-l' and \`-L' are ignored for archives" ;; esac test -n "$rpath" && \ func_warning "\`-rpath' is ignored for archives" test -n "$xrpath" && \ func_warning "\`-R' is ignored for archives" test -n "$vinfo" && \ func_warning "\`-version-info/-version-number' is ignored for archives" test -n "$release" && \ func_warning "\`-release' is ignored for archives" test -n "$export_symbols$export_symbols_regex" && \ func_warning "\`-export-symbols' is ignored for archives" # Now set the variables for building old libraries. build_libtool_libs=no oldlibs="$output" func_append objs "$old_deplibs" ;; lib) # Make sure we only generate libraries of the form `libNAME.la'. case $outputname in lib*) func_stripname 'lib' '.la' "$outputname" name=$func_stripname_result eval shared_ext=\"$shrext_cmds\" eval libname=\"$libname_spec\" ;; *) test "$module" = no && \ func_fatal_help "libtool library \`$output' must begin with \`lib'" if test "$need_lib_prefix" != no; then # Add the "lib" prefix for modules if required func_stripname '' '.la' "$outputname" name=$func_stripname_result eval shared_ext=\"$shrext_cmds\" eval libname=\"$libname_spec\" else func_stripname '' '.la' "$outputname" libname=$func_stripname_result fi ;; esac if test -n "$objs"; then if test "$deplibs_check_method" != pass_all; then func_fatal_error "cannot build libtool library \`$output' from non-libtool objects on this host:$objs" else echo $ECHO "*** Warning: Linking the shared library $output against the non-libtool" $ECHO "*** objects $objs is not portable!" func_append libobjs " $objs" fi fi test "$dlself" != no && \ func_warning "\`-dlopen self' is ignored for libtool libraries" set dummy $rpath shift test "$#" -gt 1 && \ func_warning "ignoring multiple \`-rpath's for a libtool library" install_libdir="$1" oldlibs= if test -z "$rpath"; then if test "$build_libtool_libs" = yes; then # Building a libtool convenience library. # Some compilers have problems with a `.al' extension so # convenience libraries should have the same extension an # archive normally would. oldlibs="$output_objdir/$libname.$libext $oldlibs" build_libtool_libs=convenience build_old_libs=yes fi test -n "$vinfo" && \ func_warning "\`-version-info/-version-number' is ignored for convenience libraries" test -n "$release" && \ func_warning "\`-release' is ignored for convenience libraries" else # Parse the version information argument. save_ifs="$IFS"; IFS=':' set dummy $vinfo 0 0 0 shift IFS="$save_ifs" test -n "$7" && \ func_fatal_help "too many parameters to \`-version-info'" # convert absolute version numbers to libtool ages # this retains compatibility with .la files and attempts # to make the code below a bit more comprehensible case $vinfo_number in yes) number_major="$1" number_minor="$2" number_revision="$3" # # There are really only two kinds -- those that # use the current revision as the major version # and those that subtract age and use age as # a minor version. But, then there is irix # which has an extra 1 added just for fun # case $version_type in # correct linux to gnu/linux during the next big refactor darwin|linux|osf|windows|none) func_arith $number_major + $number_minor current=$func_arith_result age="$number_minor" revision="$number_revision" ;; freebsd-aout|freebsd-elf|qnx|sunos) current="$number_major" revision="$number_minor" age="0" ;; irix|nonstopux) func_arith $number_major + $number_minor current=$func_arith_result age="$number_minor" revision="$number_minor" lt_irix_increment=no ;; esac ;; no) current="$1" revision="$2" age="$3" ;; esac # Check that each of the things are valid numbers. case $current in 0|[1-9]|[1-9][0-9]|[1-9][0-9][0-9]|[1-9][0-9][0-9][0-9]|[1-9][0-9][0-9][0-9][0-9]) ;; *) func_error "CURRENT \`$current' must be a nonnegative integer" func_fatal_error "\`$vinfo' is not valid version information" ;; esac case $revision in 0|[1-9]|[1-9][0-9]|[1-9][0-9][0-9]|[1-9][0-9][0-9][0-9]|[1-9][0-9][0-9][0-9][0-9]) ;; *) func_error "REVISION \`$revision' must be a nonnegative integer" func_fatal_error "\`$vinfo' is not valid version information" ;; esac case $age in 0|[1-9]|[1-9][0-9]|[1-9][0-9][0-9]|[1-9][0-9][0-9][0-9]|[1-9][0-9][0-9][0-9][0-9]) ;; *) func_error "AGE \`$age' must be a nonnegative integer" func_fatal_error "\`$vinfo' is not valid version information" ;; esac if test "$age" -gt "$current"; then func_error "AGE \`$age' is greater than the current interface number \`$current'" func_fatal_error "\`$vinfo' is not valid version information" fi # Calculate the version variables. major= versuffix= verstring= case $version_type in none) ;; darwin) # Like Linux, but with the current version available in # verstring for coding it into the library header func_arith $current - $age major=.$func_arith_result versuffix="$major.$age.$revision" # Darwin ld doesn't like 0 for these options... func_arith $current + 1 minor_current=$func_arith_result xlcverstring="${wl}-compatibility_version ${wl}$minor_current ${wl}-current_version ${wl}$minor_current.$revision" verstring="-compatibility_version $minor_current -current_version $minor_current.$revision" ;; freebsd-aout) major=".$current" versuffix=".$current.$revision"; ;; freebsd-elf) major=".$current" versuffix=".$current" ;; irix | nonstopux) if test "X$lt_irix_increment" = "Xno"; then func_arith $current - $age else func_arith $current - $age + 1 fi major=$func_arith_result case $version_type in nonstopux) verstring_prefix=nonstopux ;; *) verstring_prefix=sgi ;; esac verstring="$verstring_prefix$major.$revision" # Add in all the interfaces that we are compatible with. loop=$revision while test "$loop" -ne 0; do func_arith $revision - $loop iface=$func_arith_result func_arith $loop - 1 loop=$func_arith_result verstring="$verstring_prefix$major.$iface:$verstring" done # Before this point, $major must not contain `.'. major=.$major versuffix="$major.$revision" ;; linux) # correct to gnu/linux during the next big refactor func_arith $current - $age major=.$func_arith_result versuffix="$major.$age.$revision" ;; osf) func_arith $current - $age major=.$func_arith_result versuffix=".$current.$age.$revision" verstring="$current.$age.$revision" # Add in all the interfaces that we are compatible with. loop=$age while test "$loop" -ne 0; do func_arith $current - $loop iface=$func_arith_result func_arith $loop - 1 loop=$func_arith_result verstring="$verstring:${iface}.0" done # Make executables depend on our current version. func_append verstring ":${current}.0" ;; qnx) major=".$current" versuffix=".$current" ;; sunos) major=".$current" versuffix=".$current.$revision" ;; windows) # Use '-' rather than '.', since we only want one # extension on DOS 8.3 filesystems. func_arith $current - $age major=$func_arith_result versuffix="-$major" ;; *) func_fatal_configuration "unknown library version type \`$version_type'" ;; esac # Clear the version info if we defaulted, and they specified a release. if test -z "$vinfo" && test -n "$release"; then major= case $version_type in darwin) # we can't check for "0.0" in archive_cmds due to quoting # problems, so we reset it completely verstring= ;; *) verstring="0.0" ;; esac if test "$need_version" = no; then versuffix= else versuffix=".0.0" fi fi # Remove version info from name if versioning should be avoided if test "$avoid_version" = yes && test "$need_version" = no; then major= versuffix= verstring="" fi # Check to see if the archive will have undefined symbols. if test "$allow_undefined" = yes; then if test "$allow_undefined_flag" = unsupported; then func_warning "undefined symbols not allowed in $host shared libraries" build_libtool_libs=no build_old_libs=yes fi else # Don't allow undefined symbols. allow_undefined_flag="$no_undefined_flag" fi fi func_generate_dlsyms "$libname" "$libname" "yes" func_append libobjs " $symfileobj" test "X$libobjs" = "X " && libobjs= if test "$opt_mode" != relink; then # Remove our outputs, but don't remove object files since they # may have been created when compiling PIC objects. removelist= tempremovelist=`$ECHO "$output_objdir/*"` for p in $tempremovelist; do case $p in *.$objext | *.gcno) ;; $output_objdir/$outputname | $output_objdir/$libname.* | $output_objdir/${libname}${release}.*) if test "X$precious_files_regex" != "X"; then if $ECHO "$p" | $EGREP -e "$precious_files_regex" >/dev/null 2>&1 then continue fi fi func_append removelist " $p" ;; *) ;; esac done test -n "$removelist" && \ func_show_eval "${RM}r \$removelist" fi # Now set the variables for building old libraries. if test "$build_old_libs" = yes && test "$build_libtool_libs" != convenience ; then func_append oldlibs " $output_objdir/$libname.$libext" # Transform .lo files to .o files. oldobjs="$objs "`$ECHO "$libobjs" | $SP2NL | $SED "/\.${libext}$/d; $lo2o" | $NL2SP` fi # Eliminate all temporary directories. #for path in $notinst_path; do # lib_search_path=`$ECHO "$lib_search_path " | $SED "s% $path % %g"` # deplibs=`$ECHO "$deplibs " | $SED "s% -L$path % %g"` # dependency_libs=`$ECHO "$dependency_libs " | $SED "s% -L$path % %g"` #done if test -n "$xrpath"; then # If the user specified any rpath flags, then add them. temp_xrpath= for libdir in $xrpath; do func_replace_sysroot "$libdir" func_append temp_xrpath " -R$func_replace_sysroot_result" case "$finalize_rpath " in *" $libdir "*) ;; *) func_append finalize_rpath " $libdir" ;; esac done if test "$hardcode_into_libs" != yes || test "$build_old_libs" = yes; then dependency_libs="$temp_xrpath $dependency_libs" fi fi # Make sure dlfiles contains only unique files that won't be dlpreopened old_dlfiles="$dlfiles" dlfiles= for lib in $old_dlfiles; do case " $dlprefiles $dlfiles " in *" $lib "*) ;; *) func_append dlfiles " $lib" ;; esac done # Make sure dlprefiles contains only unique files old_dlprefiles="$dlprefiles" dlprefiles= for lib in $old_dlprefiles; do case "$dlprefiles " in *" $lib "*) ;; *) func_append dlprefiles " $lib" ;; esac done if test "$build_libtool_libs" = yes; then if test -n "$rpath"; then case $host in *-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-os2* | *-*-beos* | *-cegcc* | *-*-haiku*) # these systems don't actually have a c library (as such)! ;; *-*-rhapsody* | *-*-darwin1.[012]) # Rhapsody C library is in the System framework func_append deplibs " System.ltframework" ;; *-*-netbsd*) # Don't link with libc until the a.out ld.so is fixed. ;; *-*-openbsd* | *-*-freebsd* | *-*-dragonfly*) # Do not include libc due to us having libc/libc_r. ;; *-*-sco3.2v5* | *-*-sco5v6*) # Causes problems with __ctype ;; *-*-sysv4.2uw2* | *-*-sysv5* | *-*-unixware* | *-*-OpenUNIX*) # Compiler inserts libc in the correct place for threads to work ;; *) # Add libc to deplibs on all other systems if necessary. if test "$build_libtool_need_lc" = "yes"; then func_append deplibs " -lc" fi ;; esac fi # Transform deplibs into only deplibs that can be linked in shared. name_save=$name libname_save=$libname release_save=$release versuffix_save=$versuffix major_save=$major # I'm not sure if I'm treating the release correctly. I think # release should show up in the -l (ie -lgmp5) so we don't want to # add it in twice. Is that correct? release="" versuffix="" major="" newdeplibs= droppeddeps=no case $deplibs_check_method in pass_all) # Don't check for shared/static. Everything works. # This might be a little naive. We might want to check # whether the library exists or not. But this is on # osf3 & osf4 and I'm not really sure... Just # implementing what was already the behavior. newdeplibs=$deplibs ;; test_compile) # This code stresses the "libraries are programs" paradigm to its # limits. Maybe even breaks it. We compile a program, linking it # against the deplibs as a proxy for the library. Then we can check # whether they linked in statically or dynamically with ldd. $opt_dry_run || $RM conftest.c cat > conftest.c </dev/null` $nocaseglob else potential_libs=`ls $i/$libnameglob[.-]* 2>/dev/null` fi for potent_lib in $potential_libs; do # Follow soft links. if ls -lLd "$potent_lib" 2>/dev/null | $GREP " -> " >/dev/null; then continue fi # The statement above tries to avoid entering an # endless loop below, in case of cyclic links. # We might still enter an endless loop, since a link # loop can be closed while we follow links, # but so what? potlib="$potent_lib" while test -h "$potlib" 2>/dev/null; do potliblink=`ls -ld $potlib | ${SED} 's/.* -> //'` case $potliblink in [\\/]* | [A-Za-z]:[\\/]*) potlib="$potliblink";; *) potlib=`$ECHO "$potlib" | $SED 's,[^/]*$,,'`"$potliblink";; esac done if eval $file_magic_cmd \"\$potlib\" 2>/dev/null | $SED -e 10q | $EGREP "$file_magic_regex" > /dev/null; then func_append newdeplibs " $a_deplib" a_deplib="" break 2 fi done done fi if test -n "$a_deplib" ; then droppeddeps=yes echo $ECHO "*** Warning: linker path does not have real file for library $a_deplib." echo "*** I have the capability to make that library automatically link in when" echo "*** you link to this library. But I can only do this if you have a" echo "*** shared version of the library, which you do not appear to have" echo "*** because I did check the linker path looking for a file starting" if test -z "$potlib" ; then $ECHO "*** with $libname but no candidates were found. (...for file magic test)" else $ECHO "*** with $libname and none of the candidates passed a file format test" $ECHO "*** using a file magic. Last file checked: $potlib" fi fi ;; *) # Add a -L argument. func_append newdeplibs " $a_deplib" ;; esac done # Gone through all deplibs. ;; match_pattern*) set dummy $deplibs_check_method; shift match_pattern_regex=`expr "$deplibs_check_method" : "$1 \(.*\)"` for a_deplib in $deplibs; do case $a_deplib in -l*) func_stripname -l '' "$a_deplib" name=$func_stripname_result if test "X$allow_libtool_libs_with_static_runtimes" = "Xyes" ; then case " $predeps $postdeps " in *" $a_deplib "*) func_append newdeplibs " $a_deplib" a_deplib="" ;; esac fi if test -n "$a_deplib" ; then libname=`eval "\\$ECHO \"$libname_spec\""` for i in $lib_search_path $sys_lib_search_path $shlib_search_path; do potential_libs=`ls $i/$libname[.-]* 2>/dev/null` for potent_lib in $potential_libs; do potlib="$potent_lib" # see symlink-check above in file_magic test if eval "\$ECHO \"$potent_lib\"" 2>/dev/null | $SED 10q | \ $EGREP "$match_pattern_regex" > /dev/null; then func_append newdeplibs " $a_deplib" a_deplib="" break 2 fi done done fi if test -n "$a_deplib" ; then droppeddeps=yes echo $ECHO "*** Warning: linker path does not have real file for library $a_deplib." echo "*** I have the capability to make that library automatically link in when" echo "*** you link to this library. But I can only do this if you have a" echo "*** shared version of the library, which you do not appear to have" echo "*** because I did check the linker path looking for a file starting" if test -z "$potlib" ; then $ECHO "*** with $libname but no candidates were found. (...for regex pattern test)" else $ECHO "*** with $libname and none of the candidates passed a file format test" $ECHO "*** using a regex pattern. Last file checked: $potlib" fi fi ;; *) # Add a -L argument. func_append newdeplibs " $a_deplib" ;; esac done # Gone through all deplibs. ;; none | unknown | *) newdeplibs="" tmp_deplibs=`$ECHO " $deplibs" | $SED 's/ -lc$//; s/ -[LR][^ ]*//g'` if test "X$allow_libtool_libs_with_static_runtimes" = "Xyes" ; then for i in $predeps $postdeps ; do # can't use Xsed below, because $i might contain '/' tmp_deplibs=`$ECHO " $tmp_deplibs" | $SED "s,$i,,"` done fi case $tmp_deplibs in *[!\ \ ]*) echo if test "X$deplibs_check_method" = "Xnone"; then echo "*** Warning: inter-library dependencies are not supported in this platform." else echo "*** Warning: inter-library dependencies are not known to be supported." fi echo "*** All declared inter-library dependencies are being dropped." droppeddeps=yes ;; esac ;; esac versuffix=$versuffix_save major=$major_save release=$release_save libname=$libname_save name=$name_save case $host in *-*-rhapsody* | *-*-darwin1.[012]) # On Rhapsody replace the C library with the System framework newdeplibs=`$ECHO " $newdeplibs" | $SED 's/ -lc / System.ltframework /'` ;; esac if test "$droppeddeps" = yes; then if test "$module" = yes; then echo echo "*** Warning: libtool could not satisfy all declared inter-library" $ECHO "*** dependencies of module $libname. Therefore, libtool will create" echo "*** a static module, that should work as long as the dlopening" echo "*** application is linked with the -dlopen flag." if test -z "$global_symbol_pipe"; then echo echo "*** However, this would only work if libtool was able to extract symbol" echo "*** lists from a program, using \`nm' or equivalent, but libtool could" echo "*** not find such a program. So, this module is probably useless." echo "*** \`nm' from GNU binutils and a full rebuild may help." fi if test "$build_old_libs" = no; then oldlibs="$output_objdir/$libname.$libext" build_libtool_libs=module build_old_libs=yes else build_libtool_libs=no fi else echo "*** The inter-library dependencies that have been dropped here will be" echo "*** automatically added whenever a program is linked with this library" echo "*** or is declared to -dlopen it." if test "$allow_undefined" = no; then echo echo "*** Since this library must not contain undefined symbols," echo "*** because either the platform does not support them or" echo "*** it was explicitly requested with -no-undefined," echo "*** libtool will only create a static version of it." if test "$build_old_libs" = no; then oldlibs="$output_objdir/$libname.$libext" build_libtool_libs=module build_old_libs=yes else build_libtool_libs=no fi fi fi fi # Done checking deplibs! deplibs=$newdeplibs fi # Time to change all our "foo.ltframework" stuff back to "-framework foo" case $host in *-*-darwin*) newdeplibs=`$ECHO " $newdeplibs" | $SED 's% \([^ $]*\).ltframework% -framework \1%g'` new_inherited_linker_flags=`$ECHO " $new_inherited_linker_flags" | $SED 's% \([^ $]*\).ltframework% -framework \1%g'` deplibs=`$ECHO " $deplibs" | $SED 's% \([^ $]*\).ltframework% -framework \1%g'` ;; esac # move library search paths that coincide with paths to not yet # installed libraries to the beginning of the library search list new_libs= for path in $notinst_path; do case " $new_libs " in *" -L$path/$objdir "*) ;; *) case " $deplibs " in *" -L$path/$objdir "*) func_append new_libs " -L$path/$objdir" ;; esac ;; esac done for deplib in $deplibs; do case $deplib in -L*) case " $new_libs " in *" $deplib "*) ;; *) func_append new_libs " $deplib" ;; esac ;; *) func_append new_libs " $deplib" ;; esac done deplibs="$new_libs" # All the library-specific variables (install_libdir is set above). library_names= old_library= dlname= # Test again, we may have decided not to build it any more if test "$build_libtool_libs" = yes; then # Remove ${wl} instances when linking with ld. # FIXME: should test the right _cmds variable. case $archive_cmds in *\$LD\ *) wl= ;; esac if test "$hardcode_into_libs" = yes; then # Hardcode the library paths hardcode_libdirs= dep_rpath= rpath="$finalize_rpath" test "$opt_mode" != relink && rpath="$compile_rpath$rpath" for libdir in $rpath; do if test -n "$hardcode_libdir_flag_spec"; then if test -n "$hardcode_libdir_separator"; then func_replace_sysroot "$libdir" libdir=$func_replace_sysroot_result if test -z "$hardcode_libdirs"; then hardcode_libdirs="$libdir" else # Just accumulate the unique libdirs. case $hardcode_libdir_separator$hardcode_libdirs$hardcode_libdir_separator in *"$hardcode_libdir_separator$libdir$hardcode_libdir_separator"*) ;; *) func_append hardcode_libdirs "$hardcode_libdir_separator$libdir" ;; esac fi else eval flag=\"$hardcode_libdir_flag_spec\" func_append dep_rpath " $flag" fi elif test -n "$runpath_var"; then case "$perm_rpath " in *" $libdir "*) ;; *) func_append perm_rpath " $libdir" ;; esac fi done # Substitute the hardcoded libdirs into the rpath. if test -n "$hardcode_libdir_separator" && test -n "$hardcode_libdirs"; then libdir="$hardcode_libdirs" eval "dep_rpath=\"$hardcode_libdir_flag_spec\"" fi if test -n "$runpath_var" && test -n "$perm_rpath"; then # We should set the runpath_var. rpath= for dir in $perm_rpath; do func_append rpath "$dir:" done eval "$runpath_var='$rpath\$$runpath_var'; export $runpath_var" fi test -n "$dep_rpath" && deplibs="$dep_rpath $deplibs" fi shlibpath="$finalize_shlibpath" test "$opt_mode" != relink && shlibpath="$compile_shlibpath$shlibpath" if test -n "$shlibpath"; then eval "$shlibpath_var='$shlibpath\$$shlibpath_var'; export $shlibpath_var" fi # Get the real and link names of the library. eval shared_ext=\"$shrext_cmds\" eval library_names=\"$library_names_spec\" set dummy $library_names shift realname="$1" shift if test -n "$soname_spec"; then eval soname=\"$soname_spec\" else soname="$realname" fi if test -z "$dlname"; then dlname=$soname fi lib="$output_objdir/$realname" linknames= for link do func_append linknames " $link" done # Use standard objects if they are pic test -z "$pic_flag" && libobjs=`$ECHO "$libobjs" | $SP2NL | $SED "$lo2o" | $NL2SP` test "X$libobjs" = "X " && libobjs= delfiles= if test -n "$export_symbols" && test -n "$include_expsyms"; then $opt_dry_run || cp "$export_symbols" "$output_objdir/$libname.uexp" export_symbols="$output_objdir/$libname.uexp" func_append delfiles " $export_symbols" fi orig_export_symbols= case $host_os in cygwin* | mingw* | cegcc*) if test -n "$export_symbols" && test -z "$export_symbols_regex"; then # exporting using user supplied symfile if test "x`$SED 1q $export_symbols`" != xEXPORTS; then # and it's NOT already a .def file. Must figure out # which of the given symbols are data symbols and tag # them as such. So, trigger use of export_symbols_cmds. # export_symbols gets reassigned inside the "prepare # the list of exported symbols" if statement, so the # include_expsyms logic still works. orig_export_symbols="$export_symbols" export_symbols= always_export_symbols=yes fi fi ;; esac # Prepare the list of exported symbols if test -z "$export_symbols"; then if test "$always_export_symbols" = yes || test -n "$export_symbols_regex"; then func_verbose "generating symbol list for \`$libname.la'" export_symbols="$output_objdir/$libname.exp" $opt_dry_run || $RM $export_symbols cmds=$export_symbols_cmds save_ifs="$IFS"; IFS='~' for cmd1 in $cmds; do IFS="$save_ifs" # Take the normal branch if the nm_file_list_spec branch # doesn't work or if tool conversion is not needed. case $nm_file_list_spec~$to_tool_file_cmd in *~func_convert_file_noop | *~func_convert_file_msys_to_w32 | ~*) try_normal_branch=yes eval cmd=\"$cmd1\" func_len " $cmd" len=$func_len_result ;; *) try_normal_branch=no ;; esac if test "$try_normal_branch" = yes \ && { test "$len" -lt "$max_cmd_len" \ || test "$max_cmd_len" -le -1; } then func_show_eval "$cmd" 'exit $?' skipped_export=false elif test -n "$nm_file_list_spec"; then func_basename "$output" output_la=$func_basename_result save_libobjs=$libobjs save_output=$output output=${output_objdir}/${output_la}.nm func_to_tool_file "$output" libobjs=$nm_file_list_spec$func_to_tool_file_result func_append delfiles " $output" func_verbose "creating $NM input file list: $output" for obj in $save_libobjs; do func_to_tool_file "$obj" $ECHO "$func_to_tool_file_result" done > "$output" eval cmd=\"$cmd1\" func_show_eval "$cmd" 'exit $?' output=$save_output libobjs=$save_libobjs skipped_export=false else # The command line is too long to execute in one step. func_verbose "using reloadable object file for export list..." skipped_export=: # Break out early, otherwise skipped_export may be # set to false by a later but shorter cmd. break fi done IFS="$save_ifs" if test -n "$export_symbols_regex" && test "X$skipped_export" != "X:"; then func_show_eval '$EGREP -e "$export_symbols_regex" "$export_symbols" > "${export_symbols}T"' func_show_eval '$MV "${export_symbols}T" "$export_symbols"' fi fi fi if test -n "$export_symbols" && test -n "$include_expsyms"; then tmp_export_symbols="$export_symbols" test -n "$orig_export_symbols" && tmp_export_symbols="$orig_export_symbols" $opt_dry_run || eval '$ECHO "$include_expsyms" | $SP2NL >> "$tmp_export_symbols"' fi if test "X$skipped_export" != "X:" && test -n "$orig_export_symbols"; then # The given exports_symbols file has to be filtered, so filter it. func_verbose "filter symbol list for \`$libname.la' to tag DATA exports" # FIXME: $output_objdir/$libname.filter potentially contains lots of # 's' commands which not all seds can handle. GNU sed should be fine # though. Also, the filter scales superlinearly with the number of # global variables. join(1) would be nice here, but unfortunately # isn't a blessed tool. $opt_dry_run || $SED -e '/[ ,]DATA/!d;s,\(.*\)\([ \,].*\),s|^\1$|\1\2|,' < $export_symbols > $output_objdir/$libname.filter func_append delfiles " $export_symbols $output_objdir/$libname.filter" export_symbols=$output_objdir/$libname.def $opt_dry_run || $SED -f $output_objdir/$libname.filter < $orig_export_symbols > $export_symbols fi tmp_deplibs= for test_deplib in $deplibs; do case " $convenience " in *" $test_deplib "*) ;; *) func_append tmp_deplibs " $test_deplib" ;; esac done deplibs="$tmp_deplibs" if test -n "$convenience"; then if test -n "$whole_archive_flag_spec" && test "$compiler_needs_object" = yes && test -z "$libobjs"; then # extract the archives, so we have objects to list. # TODO: could optimize this to just extract one archive. whole_archive_flag_spec= fi if test -n "$whole_archive_flag_spec"; then save_libobjs=$libobjs eval libobjs=\"\$libobjs $whole_archive_flag_spec\" test "X$libobjs" = "X " && libobjs= else gentop="$output_objdir/${outputname}x" func_append generated " $gentop" func_extract_archives $gentop $convenience func_append libobjs " $func_extract_archives_result" test "X$libobjs" = "X " && libobjs= fi fi if test "$thread_safe" = yes && test -n "$thread_safe_flag_spec"; then eval flag=\"$thread_safe_flag_spec\" func_append linker_flags " $flag" fi # Make a backup of the uninstalled library when relinking if test "$opt_mode" = relink; then $opt_dry_run || eval '(cd $output_objdir && $RM ${realname}U && $MV $realname ${realname}U)' || exit $? fi # Do each of the archive commands. if test "$module" = yes && test -n "$module_cmds" ; then if test -n "$export_symbols" && test -n "$module_expsym_cmds"; then eval test_cmds=\"$module_expsym_cmds\" cmds=$module_expsym_cmds else eval test_cmds=\"$module_cmds\" cmds=$module_cmds fi else if test -n "$export_symbols" && test -n "$archive_expsym_cmds"; then eval test_cmds=\"$archive_expsym_cmds\" cmds=$archive_expsym_cmds else eval test_cmds=\"$archive_cmds\" cmds=$archive_cmds fi fi if test "X$skipped_export" != "X:" && func_len " $test_cmds" && len=$func_len_result && test "$len" -lt "$max_cmd_len" || test "$max_cmd_len" -le -1; then : else # The command line is too long to link in one step, link piecewise # or, if using GNU ld and skipped_export is not :, use a linker # script. # Save the value of $output and $libobjs because we want to # use them later. If we have whole_archive_flag_spec, we # want to use save_libobjs as it was before # whole_archive_flag_spec was expanded, because we can't # assume the linker understands whole_archive_flag_spec. # This may have to be revisited, in case too many # convenience libraries get linked in and end up exceeding # the spec. if test -z "$convenience" || test -z "$whole_archive_flag_spec"; then save_libobjs=$libobjs fi save_output=$output func_basename "$output" output_la=$func_basename_result # Clear the reloadable object creation command queue and # initialize k to one. test_cmds= concat_cmds= objlist= last_robj= k=1 if test -n "$save_libobjs" && test "X$skipped_export" != "X:" && test "$with_gnu_ld" = yes; then output=${output_objdir}/${output_la}.lnkscript func_verbose "creating GNU ld script: $output" echo 'INPUT (' > $output for obj in $save_libobjs do func_to_tool_file "$obj" $ECHO "$func_to_tool_file_result" >> $output done echo ')' >> $output func_append delfiles " $output" func_to_tool_file "$output" output=$func_to_tool_file_result elif test -n "$save_libobjs" && test "X$skipped_export" != "X:" && test "X$file_list_spec" != X; then output=${output_objdir}/${output_la}.lnk func_verbose "creating linker input file list: $output" : > $output set x $save_libobjs shift firstobj= if test "$compiler_needs_object" = yes; then firstobj="$1 " shift fi for obj do func_to_tool_file "$obj" $ECHO "$func_to_tool_file_result" >> $output done func_append delfiles " $output" func_to_tool_file "$output" output=$firstobj\"$file_list_spec$func_to_tool_file_result\" else if test -n "$save_libobjs"; then func_verbose "creating reloadable object files..." output=$output_objdir/$output_la-${k}.$objext eval test_cmds=\"$reload_cmds\" func_len " $test_cmds" len0=$func_len_result len=$len0 # Loop over the list of objects to be linked. for obj in $save_libobjs do func_len " $obj" func_arith $len + $func_len_result len=$func_arith_result if test "X$objlist" = X || test "$len" -lt "$max_cmd_len"; then func_append objlist " $obj" else # The command $test_cmds is almost too long, add a # command to the queue. if test "$k" -eq 1 ; then # The first file doesn't have a previous command to add. reload_objs=$objlist eval concat_cmds=\"$reload_cmds\" else # All subsequent reloadable object files will link in # the last one created. reload_objs="$objlist $last_robj" eval concat_cmds=\"\$concat_cmds~$reload_cmds~\$RM $last_robj\" fi last_robj=$output_objdir/$output_la-${k}.$objext func_arith $k + 1 k=$func_arith_result output=$output_objdir/$output_la-${k}.$objext objlist=" $obj" func_len " $last_robj" func_arith $len0 + $func_len_result len=$func_arith_result fi done # Handle the remaining objects by creating one last # reloadable object file. All subsequent reloadable object # files will link in the last one created. test -z "$concat_cmds" || concat_cmds=$concat_cmds~ reload_objs="$objlist $last_robj" eval concat_cmds=\"\${concat_cmds}$reload_cmds\" if test -n "$last_robj"; then eval concat_cmds=\"\${concat_cmds}~\$RM $last_robj\" fi func_append delfiles " $output" else output= fi if ${skipped_export-false}; then func_verbose "generating symbol list for \`$libname.la'" export_symbols="$output_objdir/$libname.exp" $opt_dry_run || $RM $export_symbols libobjs=$output # Append the command to create the export file. test -z "$concat_cmds" || concat_cmds=$concat_cmds~ eval concat_cmds=\"\$concat_cmds$export_symbols_cmds\" if test -n "$last_robj"; then eval concat_cmds=\"\$concat_cmds~\$RM $last_robj\" fi fi test -n "$save_libobjs" && func_verbose "creating a temporary reloadable object file: $output" # Loop through the commands generated above and execute them. save_ifs="$IFS"; IFS='~' for cmd in $concat_cmds; do IFS="$save_ifs" $opt_silent || { func_quote_for_expand "$cmd" eval "func_echo $func_quote_for_expand_result" } $opt_dry_run || eval "$cmd" || { lt_exit=$? # Restore the uninstalled library and exit if test "$opt_mode" = relink; then ( cd "$output_objdir" && \ $RM "${realname}T" && \ $MV "${realname}U" "$realname" ) fi exit $lt_exit } done IFS="$save_ifs" if test -n "$export_symbols_regex" && ${skipped_export-false}; then func_show_eval '$EGREP -e "$export_symbols_regex" "$export_symbols" > "${export_symbols}T"' func_show_eval '$MV "${export_symbols}T" "$export_symbols"' fi fi if ${skipped_export-false}; then if test -n "$export_symbols" && test -n "$include_expsyms"; then tmp_export_symbols="$export_symbols" test -n "$orig_export_symbols" && tmp_export_symbols="$orig_export_symbols" $opt_dry_run || eval '$ECHO "$include_expsyms" | $SP2NL >> "$tmp_export_symbols"' fi if test -n "$orig_export_symbols"; then # The given exports_symbols file has to be filtered, so filter it. func_verbose "filter symbol list for \`$libname.la' to tag DATA exports" # FIXME: $output_objdir/$libname.filter potentially contains lots of # 's' commands which not all seds can handle. GNU sed should be fine # though. Also, the filter scales superlinearly with the number of # global variables. join(1) would be nice here, but unfortunately # isn't a blessed tool. $opt_dry_run || $SED -e '/[ ,]DATA/!d;s,\(.*\)\([ \,].*\),s|^\1$|\1\2|,' < $export_symbols > $output_objdir/$libname.filter func_append delfiles " $export_symbols $output_objdir/$libname.filter" export_symbols=$output_objdir/$libname.def $opt_dry_run || $SED -f $output_objdir/$libname.filter < $orig_export_symbols > $export_symbols fi fi libobjs=$output # Restore the value of output. output=$save_output if test -n "$convenience" && test -n "$whole_archive_flag_spec"; then eval libobjs=\"\$libobjs $whole_archive_flag_spec\" test "X$libobjs" = "X " && libobjs= fi # Expand the library linking commands again to reset the # value of $libobjs for piecewise linking. # Do each of the archive commands. if test "$module" = yes && test -n "$module_cmds" ; then if test -n "$export_symbols" && test -n "$module_expsym_cmds"; then cmds=$module_expsym_cmds else cmds=$module_cmds fi else if test -n "$export_symbols" && test -n "$archive_expsym_cmds"; then cmds=$archive_expsym_cmds else cmds=$archive_cmds fi fi fi if test -n "$delfiles"; then # Append the command to remove temporary files to $cmds. eval cmds=\"\$cmds~\$RM $delfiles\" fi # Add any objects from preloaded convenience libraries if test -n "$dlprefiles"; then gentop="$output_objdir/${outputname}x" func_append generated " $gentop" func_extract_archives $gentop $dlprefiles func_append libobjs " $func_extract_archives_result" test "X$libobjs" = "X " && libobjs= fi save_ifs="$IFS"; IFS='~' for cmd in $cmds; do IFS="$save_ifs" eval cmd=\"$cmd\" $opt_silent || { func_quote_for_expand "$cmd" eval "func_echo $func_quote_for_expand_result" } $opt_dry_run || eval "$cmd" || { lt_exit=$? # Restore the uninstalled library and exit if test "$opt_mode" = relink; then ( cd "$output_objdir" && \ $RM "${realname}T" && \ $MV "${realname}U" "$realname" ) fi exit $lt_exit } done IFS="$save_ifs" # Restore the uninstalled library and exit if test "$opt_mode" = relink; then $opt_dry_run || eval '(cd $output_objdir && $RM ${realname}T && $MV $realname ${realname}T && $MV ${realname}U $realname)' || exit $? if test -n "$convenience"; then if test -z "$whole_archive_flag_spec"; then func_show_eval '${RM}r "$gentop"' fi fi exit $EXIT_SUCCESS fi # Create links to the real library. for linkname in $linknames; do if test "$realname" != "$linkname"; then func_show_eval '(cd "$output_objdir" && $RM "$linkname" && $LN_S "$realname" "$linkname")' 'exit $?' fi done # If -module or -export-dynamic was specified, set the dlname. if test "$module" = yes || test "$export_dynamic" = yes; then # On all known operating systems, these are identical. dlname="$soname" fi fi ;; obj) if test -n "$dlfiles$dlprefiles" || test "$dlself" != no; then func_warning "\`-dlopen' is ignored for objects" fi case " $deplibs" in *\ -l* | *\ -L*) func_warning "\`-l' and \`-L' are ignored for objects" ;; esac test -n "$rpath" && \ func_warning "\`-rpath' is ignored for objects" test -n "$xrpath" && \ func_warning "\`-R' is ignored for objects" test -n "$vinfo" && \ func_warning "\`-version-info' is ignored for objects" test -n "$release" && \ func_warning "\`-release' is ignored for objects" case $output in *.lo) test -n "$objs$old_deplibs" && \ func_fatal_error "cannot build library object \`$output' from non-libtool objects" libobj=$output func_lo2o "$libobj" obj=$func_lo2o_result ;; *) libobj= obj="$output" ;; esac # Delete the old objects. $opt_dry_run || $RM $obj $libobj # Objects from convenience libraries. This assumes # single-version convenience libraries. Whenever we create # different ones for PIC/non-PIC, this we'll have to duplicate # the extraction. reload_conv_objs= gentop= # reload_cmds runs $LD directly, so let us get rid of # -Wl from whole_archive_flag_spec and hope we can get by with # turning comma into space.. wl= if test -n "$convenience"; then if test -n "$whole_archive_flag_spec"; then eval tmp_whole_archive_flags=\"$whole_archive_flag_spec\" reload_conv_objs=$reload_objs\ `$ECHO "$tmp_whole_archive_flags" | $SED 's|,| |g'` else gentop="$output_objdir/${obj}x" func_append generated " $gentop" func_extract_archives $gentop $convenience reload_conv_objs="$reload_objs $func_extract_archives_result" fi fi # If we're not building shared, we need to use non_pic_objs test "$build_libtool_libs" != yes && libobjs="$non_pic_objects" # Create the old-style object. reload_objs="$objs$old_deplibs "`$ECHO "$libobjs" | $SP2NL | $SED "/\.${libext}$/d; /\.lib$/d; $lo2o" | $NL2SP`" $reload_conv_objs" ### testsuite: skip nested quoting test output="$obj" func_execute_cmds "$reload_cmds" 'exit $?' # Exit if we aren't doing a library object file. if test -z "$libobj"; then if test -n "$gentop"; then func_show_eval '${RM}r "$gentop"' fi exit $EXIT_SUCCESS fi if test "$build_libtool_libs" != yes; then if test -n "$gentop"; then func_show_eval '${RM}r "$gentop"' fi # Create an invalid libtool object if no PIC, so that we don't # accidentally link it into a program. # $show "echo timestamp > $libobj" # $opt_dry_run || eval "echo timestamp > $libobj" || exit $? exit $EXIT_SUCCESS fi if test -n "$pic_flag" || test "$pic_mode" != default; then # Only do commands if we really have different PIC objects. reload_objs="$libobjs $reload_conv_objs" output="$libobj" func_execute_cmds "$reload_cmds" 'exit $?' fi if test -n "$gentop"; then func_show_eval '${RM}r "$gentop"' fi exit $EXIT_SUCCESS ;; prog) case $host in *cygwin*) func_stripname '' '.exe' "$output" output=$func_stripname_result.exe;; esac test -n "$vinfo" && \ func_warning "\`-version-info' is ignored for programs" test -n "$release" && \ func_warning "\`-release' is ignored for programs" test "$preload" = yes \ && test "$dlopen_support" = unknown \ && test "$dlopen_self" = unknown \ && test "$dlopen_self_static" = unknown && \ func_warning "\`LT_INIT([dlopen])' not used. Assuming no dlopen support." case $host in *-*-rhapsody* | *-*-darwin1.[012]) # On Rhapsody replace the C library is the System framework compile_deplibs=`$ECHO " $compile_deplibs" | $SED 's/ -lc / System.ltframework /'` finalize_deplibs=`$ECHO " $finalize_deplibs" | $SED 's/ -lc / System.ltframework /'` ;; esac case $host in *-*-darwin*) # Don't allow lazy linking, it breaks C++ global constructors # But is supposedly fixed on 10.4 or later (yay!). if test "$tagname" = CXX ; then case ${MACOSX_DEPLOYMENT_TARGET-10.0} in 10.[0123]) func_append compile_command " ${wl}-bind_at_load" func_append finalize_command " ${wl}-bind_at_load" ;; esac fi # Time to change all our "foo.ltframework" stuff back to "-framework foo" compile_deplibs=`$ECHO " $compile_deplibs" | $SED 's% \([^ $]*\).ltframework% -framework \1%g'` finalize_deplibs=`$ECHO " $finalize_deplibs" | $SED 's% \([^ $]*\).ltframework% -framework \1%g'` ;; esac # move library search paths that coincide with paths to not yet # installed libraries to the beginning of the library search list new_libs= for path in $notinst_path; do case " $new_libs " in *" -L$path/$objdir "*) ;; *) case " $compile_deplibs " in *" -L$path/$objdir "*) func_append new_libs " -L$path/$objdir" ;; esac ;; esac done for deplib in $compile_deplibs; do case $deplib in -L*) case " $new_libs " in *" $deplib "*) ;; *) func_append new_libs " $deplib" ;; esac ;; *) func_append new_libs " $deplib" ;; esac done compile_deplibs="$new_libs" func_append compile_command " $compile_deplibs" func_append finalize_command " $finalize_deplibs" if test -n "$rpath$xrpath"; then # If the user specified any rpath flags, then add them. for libdir in $rpath $xrpath; do # This is the magic to use -rpath. case "$finalize_rpath " in *" $libdir "*) ;; *) func_append finalize_rpath " $libdir" ;; esac done fi # Now hardcode the library paths rpath= hardcode_libdirs= for libdir in $compile_rpath $finalize_rpath; do if test -n "$hardcode_libdir_flag_spec"; then if test -n "$hardcode_libdir_separator"; then if test -z "$hardcode_libdirs"; then hardcode_libdirs="$libdir" else # Just accumulate the unique libdirs. case $hardcode_libdir_separator$hardcode_libdirs$hardcode_libdir_separator in *"$hardcode_libdir_separator$libdir$hardcode_libdir_separator"*) ;; *) func_append hardcode_libdirs "$hardcode_libdir_separator$libdir" ;; esac fi else eval flag=\"$hardcode_libdir_flag_spec\" func_append rpath " $flag" fi elif test -n "$runpath_var"; then case "$perm_rpath " in *" $libdir "*) ;; *) func_append perm_rpath " $libdir" ;; esac fi case $host in *-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-os2* | *-cegcc*) testbindir=`${ECHO} "$libdir" | ${SED} -e 's*/lib$*/bin*'` case :$dllsearchpath: in *":$libdir:"*) ;; ::) dllsearchpath=$libdir;; *) func_append dllsearchpath ":$libdir";; esac case :$dllsearchpath: in *":$testbindir:"*) ;; ::) dllsearchpath=$testbindir;; *) func_append dllsearchpath ":$testbindir";; esac ;; esac done # Substitute the hardcoded libdirs into the rpath. if test -n "$hardcode_libdir_separator" && test -n "$hardcode_libdirs"; then libdir="$hardcode_libdirs" eval rpath=\" $hardcode_libdir_flag_spec\" fi compile_rpath="$rpath" rpath= hardcode_libdirs= for libdir in $finalize_rpath; do if test -n "$hardcode_libdir_flag_spec"; then if test -n "$hardcode_libdir_separator"; then if test -z "$hardcode_libdirs"; then hardcode_libdirs="$libdir" else # Just accumulate the unique libdirs. case $hardcode_libdir_separator$hardcode_libdirs$hardcode_libdir_separator in *"$hardcode_libdir_separator$libdir$hardcode_libdir_separator"*) ;; *) func_append hardcode_libdirs "$hardcode_libdir_separator$libdir" ;; esac fi else eval flag=\"$hardcode_libdir_flag_spec\" func_append rpath " $flag" fi elif test -n "$runpath_var"; then case "$finalize_perm_rpath " in *" $libdir "*) ;; *) func_append finalize_perm_rpath " $libdir" ;; esac fi done # Substitute the hardcoded libdirs into the rpath. if test -n "$hardcode_libdir_separator" && test -n "$hardcode_libdirs"; then libdir="$hardcode_libdirs" eval rpath=\" $hardcode_libdir_flag_spec\" fi finalize_rpath="$rpath" if test -n "$libobjs" && test "$build_old_libs" = yes; then # Transform all the library objects into standard objects. compile_command=`$ECHO "$compile_command" | $SP2NL | $SED "$lo2o" | $NL2SP` finalize_command=`$ECHO "$finalize_command" | $SP2NL | $SED "$lo2o" | $NL2SP` fi func_generate_dlsyms "$outputname" "@PROGRAM@" "no" # template prelinking step if test -n "$prelink_cmds"; then func_execute_cmds "$prelink_cmds" 'exit $?' fi wrappers_required=yes case $host in *cegcc* | *mingw32ce*) # Disable wrappers for cegcc and mingw32ce hosts, we are cross compiling anyway. wrappers_required=no ;; *cygwin* | *mingw* ) if test "$build_libtool_libs" != yes; then wrappers_required=no fi ;; *) if test "$need_relink" = no || test "$build_libtool_libs" != yes; then wrappers_required=no fi ;; esac if test "$wrappers_required" = no; then # Replace the output file specification. compile_command=`$ECHO "$compile_command" | $SED 's%@OUTPUT@%'"$output"'%g'` link_command="$compile_command$compile_rpath" # We have no uninstalled library dependencies, so finalize right now. exit_status=0 func_show_eval "$link_command" 'exit_status=$?' if test -n "$postlink_cmds"; then func_to_tool_file "$output" postlink_cmds=`func_echo_all "$postlink_cmds" | $SED -e 's%@OUTPUT@%'"$output"'%g' -e 's%@TOOL_OUTPUT@%'"$func_to_tool_file_result"'%g'` func_execute_cmds "$postlink_cmds" 'exit $?' fi # Delete the generated files. if test -f "$output_objdir/${outputname}S.${objext}"; then func_show_eval '$RM "$output_objdir/${outputname}S.${objext}"' fi exit $exit_status fi if test -n "$compile_shlibpath$finalize_shlibpath"; then compile_command="$shlibpath_var=\"$compile_shlibpath$finalize_shlibpath\$$shlibpath_var\" $compile_command" fi if test -n "$finalize_shlibpath"; then finalize_command="$shlibpath_var=\"$finalize_shlibpath\$$shlibpath_var\" $finalize_command" fi compile_var= finalize_var= if test -n "$runpath_var"; then if test -n "$perm_rpath"; then # We should set the runpath_var. rpath= for dir in $perm_rpath; do func_append rpath "$dir:" done compile_var="$runpath_var=\"$rpath\$$runpath_var\" " fi if test -n "$finalize_perm_rpath"; then # We should set the runpath_var. rpath= for dir in $finalize_perm_rpath; do func_append rpath "$dir:" done finalize_var="$runpath_var=\"$rpath\$$runpath_var\" " fi fi if test "$no_install" = yes; then # We don't need to create a wrapper script. link_command="$compile_var$compile_command$compile_rpath" # Replace the output file specification. link_command=`$ECHO "$link_command" | $SED 's%@OUTPUT@%'"$output"'%g'` # Delete the old output file. $opt_dry_run || $RM $output # Link the executable and exit func_show_eval "$link_command" 'exit $?' if test -n "$postlink_cmds"; then func_to_tool_file "$output" postlink_cmds=`func_echo_all "$postlink_cmds" | $SED -e 's%@OUTPUT@%'"$output"'%g' -e 's%@TOOL_OUTPUT@%'"$func_to_tool_file_result"'%g'` func_execute_cmds "$postlink_cmds" 'exit $?' fi exit $EXIT_SUCCESS fi if test "$hardcode_action" = relink; then # Fast installation is not supported link_command="$compile_var$compile_command$compile_rpath" relink_command="$finalize_var$finalize_command$finalize_rpath" func_warning "this platform does not like uninstalled shared libraries" func_warning "\`$output' will be relinked during installation" else if test "$fast_install" != no; then link_command="$finalize_var$compile_command$finalize_rpath" if test "$fast_install" = yes; then relink_command=`$ECHO "$compile_var$compile_command$compile_rpath" | $SED 's%@OUTPUT@%\$progdir/\$file%g'` else # fast_install is set to needless relink_command= fi else link_command="$compile_var$compile_command$compile_rpath" relink_command="$finalize_var$finalize_command$finalize_rpath" fi fi # Replace the output file specification. link_command=`$ECHO "$link_command" | $SED 's%@OUTPUT@%'"$output_objdir/$outputname"'%g'` # Delete the old output files. $opt_dry_run || $RM $output $output_objdir/$outputname $output_objdir/lt-$outputname func_show_eval "$link_command" 'exit $?' if test -n "$postlink_cmds"; then func_to_tool_file "$output_objdir/$outputname" postlink_cmds=`func_echo_all "$postlink_cmds" | $SED -e 's%@OUTPUT@%'"$output_objdir/$outputname"'%g' -e 's%@TOOL_OUTPUT@%'"$func_to_tool_file_result"'%g'` func_execute_cmds "$postlink_cmds" 'exit $?' fi # Now create the wrapper script. func_verbose "creating $output" # Quote the relink command for shipping. if test -n "$relink_command"; then # Preserve any variables that may affect compiler behavior for var in $variables_saved_for_relink; do if eval test -z \"\${$var+set}\"; then relink_command="{ test -z \"\${$var+set}\" || $lt_unset $var || { $var=; export $var; }; }; $relink_command" elif eval var_value=\$$var; test -z "$var_value"; then relink_command="$var=; export $var; $relink_command" else func_quote_for_eval "$var_value" relink_command="$var=$func_quote_for_eval_result; export $var; $relink_command" fi done relink_command="(cd `pwd`; $relink_command)" relink_command=`$ECHO "$relink_command" | $SED "$sed_quote_subst"` fi # Only actually do things if not in dry run mode. $opt_dry_run || { # win32 will think the script is a binary if it has # a .exe suffix, so we strip it off here. case $output in *.exe) func_stripname '' '.exe' "$output" output=$func_stripname_result ;; esac # test for cygwin because mv fails w/o .exe extensions case $host in *cygwin*) exeext=.exe func_stripname '' '.exe' "$outputname" outputname=$func_stripname_result ;; *) exeext= ;; esac case $host in *cygwin* | *mingw* ) func_dirname_and_basename "$output" "" "." output_name=$func_basename_result output_path=$func_dirname_result cwrappersource="$output_path/$objdir/lt-$output_name.c" cwrapper="$output_path/$output_name.exe" $RM $cwrappersource $cwrapper trap "$RM $cwrappersource $cwrapper; exit $EXIT_FAILURE" 1 2 15 func_emit_cwrapperexe_src > $cwrappersource # The wrapper executable is built using the $host compiler, # because it contains $host paths and files. If cross- # compiling, it, like the target executable, must be # executed on the $host or under an emulation environment. $opt_dry_run || { $LTCC $LTCFLAGS -o $cwrapper $cwrappersource $STRIP $cwrapper } # Now, create the wrapper script for func_source use: func_ltwrapper_scriptname $cwrapper $RM $func_ltwrapper_scriptname_result trap "$RM $func_ltwrapper_scriptname_result; exit $EXIT_FAILURE" 1 2 15 $opt_dry_run || { # note: this script will not be executed, so do not chmod. if test "x$build" = "x$host" ; then $cwrapper --lt-dump-script > $func_ltwrapper_scriptname_result else func_emit_wrapper no > $func_ltwrapper_scriptname_result fi } ;; * ) $RM $output trap "$RM $output; exit $EXIT_FAILURE" 1 2 15 func_emit_wrapper no > $output chmod +x $output ;; esac } exit $EXIT_SUCCESS ;; esac # See if we need to build an old-fashioned archive. for oldlib in $oldlibs; do if test "$build_libtool_libs" = convenience; then oldobjs="$libobjs_save $symfileobj" addlibs="$convenience" build_libtool_libs=no else if test "$build_libtool_libs" = module; then oldobjs="$libobjs_save" build_libtool_libs=no else oldobjs="$old_deplibs $non_pic_objects" if test "$preload" = yes && test -f "$symfileobj"; then func_append oldobjs " $symfileobj" fi fi addlibs="$old_convenience" fi if test -n "$addlibs"; then gentop="$output_objdir/${outputname}x" func_append generated " $gentop" func_extract_archives $gentop $addlibs func_append oldobjs " $func_extract_archives_result" fi # Do each command in the archive commands. if test -n "$old_archive_from_new_cmds" && test "$build_libtool_libs" = yes; then cmds=$old_archive_from_new_cmds else # Add any objects from preloaded convenience libraries if test -n "$dlprefiles"; then gentop="$output_objdir/${outputname}x" func_append generated " $gentop" func_extract_archives $gentop $dlprefiles func_append oldobjs " $func_extract_archives_result" fi # POSIX demands no paths to be encoded in archives. We have # to avoid creating archives with duplicate basenames if we # might have to extract them afterwards, e.g., when creating a # static archive out of a convenience library, or when linking # the entirety of a libtool archive into another (currently # not supported by libtool). if (for obj in $oldobjs do func_basename "$obj" $ECHO "$func_basename_result" done | sort | sort -uc >/dev/null 2>&1); then : else echo "copying selected object files to avoid basename conflicts..." gentop="$output_objdir/${outputname}x" func_append generated " $gentop" func_mkdir_p "$gentop" save_oldobjs=$oldobjs oldobjs= counter=1 for obj in $save_oldobjs do func_basename "$obj" objbase="$func_basename_result" case " $oldobjs " in " ") oldobjs=$obj ;; *[\ /]"$objbase "*) while :; do # Make sure we don't pick an alternate name that also # overlaps. newobj=lt$counter-$objbase func_arith $counter + 1 counter=$func_arith_result case " $oldobjs " in *[\ /]"$newobj "*) ;; *) if test ! -f "$gentop/$newobj"; then break; fi ;; esac done func_show_eval "ln $obj $gentop/$newobj || cp $obj $gentop/$newobj" func_append oldobjs " $gentop/$newobj" ;; *) func_append oldobjs " $obj" ;; esac done fi func_to_tool_file "$oldlib" func_convert_file_msys_to_w32 tool_oldlib=$func_to_tool_file_result eval cmds=\"$old_archive_cmds\" func_len " $cmds" len=$func_len_result if test "$len" -lt "$max_cmd_len" || test "$max_cmd_len" -le -1; then cmds=$old_archive_cmds elif test -n "$archiver_list_spec"; then func_verbose "using command file archive linking..." for obj in $oldobjs do func_to_tool_file "$obj" $ECHO "$func_to_tool_file_result" done > $output_objdir/$libname.libcmd func_to_tool_file "$output_objdir/$libname.libcmd" oldobjs=" $archiver_list_spec$func_to_tool_file_result" cmds=$old_archive_cmds else # the command line is too long to link in one step, link in parts func_verbose "using piecewise archive linking..." save_RANLIB=$RANLIB RANLIB=: objlist= concat_cmds= save_oldobjs=$oldobjs oldobjs= # Is there a better way of finding the last object in the list? for obj in $save_oldobjs do last_oldobj=$obj done eval test_cmds=\"$old_archive_cmds\" func_len " $test_cmds" len0=$func_len_result len=$len0 for obj in $save_oldobjs do func_len " $obj" func_arith $len + $func_len_result len=$func_arith_result func_append objlist " $obj" if test "$len" -lt "$max_cmd_len"; then : else # the above command should be used before it gets too long oldobjs=$objlist if test "$obj" = "$last_oldobj" ; then RANLIB=$save_RANLIB fi test -z "$concat_cmds" || concat_cmds=$concat_cmds~ eval concat_cmds=\"\${concat_cmds}$old_archive_cmds\" objlist= len=$len0 fi done RANLIB=$save_RANLIB oldobjs=$objlist if test "X$oldobjs" = "X" ; then eval cmds=\"\$concat_cmds\" else eval cmds=\"\$concat_cmds~\$old_archive_cmds\" fi fi fi func_execute_cmds "$cmds" 'exit $?' done test -n "$generated" && \ func_show_eval "${RM}r$generated" # Now create the libtool archive. case $output in *.la) old_library= test "$build_old_libs" = yes && old_library="$libname.$libext" func_verbose "creating $output" # Preserve any variables that may affect compiler behavior for var in $variables_saved_for_relink; do if eval test -z \"\${$var+set}\"; then relink_command="{ test -z \"\${$var+set}\" || $lt_unset $var || { $var=; export $var; }; }; $relink_command" elif eval var_value=\$$var; test -z "$var_value"; then relink_command="$var=; export $var; $relink_command" else func_quote_for_eval "$var_value" relink_command="$var=$func_quote_for_eval_result; export $var; $relink_command" fi done # Quote the link command for shipping. relink_command="(cd `pwd`; $SHELL $progpath $preserve_args --mode=relink $libtool_args @inst_prefix_dir@)" relink_command=`$ECHO "$relink_command" | $SED "$sed_quote_subst"` if test "$hardcode_automatic" = yes ; then relink_command= fi # Only create the output if not a dry run. $opt_dry_run || { for installed in no yes; do if test "$installed" = yes; then if test -z "$install_libdir"; then break fi output="$output_objdir/$outputname"i # Replace all uninstalled libtool libraries with the installed ones newdependency_libs= for deplib in $dependency_libs; do case $deplib in *.la) func_basename "$deplib" name="$func_basename_result" func_resolve_sysroot "$deplib" eval libdir=`${SED} -n -e 's/^libdir=\(.*\)$/\1/p' $func_resolve_sysroot_result` test -z "$libdir" && \ func_fatal_error "\`$deplib' is not a valid libtool archive" func_append newdependency_libs " ${lt_sysroot:+=}$libdir/$name" ;; -L*) func_stripname -L '' "$deplib" func_replace_sysroot "$func_stripname_result" func_append newdependency_libs " -L$func_replace_sysroot_result" ;; -R*) func_stripname -R '' "$deplib" func_replace_sysroot "$func_stripname_result" func_append newdependency_libs " -R$func_replace_sysroot_result" ;; *) func_append newdependency_libs " $deplib" ;; esac done dependency_libs="$newdependency_libs" newdlfiles= for lib in $dlfiles; do case $lib in *.la) func_basename "$lib" name="$func_basename_result" eval libdir=`${SED} -n -e 's/^libdir=\(.*\)$/\1/p' $lib` test -z "$libdir" && \ func_fatal_error "\`$lib' is not a valid libtool archive" func_append newdlfiles " ${lt_sysroot:+=}$libdir/$name" ;; *) func_append newdlfiles " $lib" ;; esac done dlfiles="$newdlfiles" newdlprefiles= for lib in $dlprefiles; do case $lib in *.la) # Only pass preopened files to the pseudo-archive (for # eventual linking with the app. that links it) if we # didn't already link the preopened objects directly into # the library: func_basename "$lib" name="$func_basename_result" eval libdir=`${SED} -n -e 's/^libdir=\(.*\)$/\1/p' $lib` test -z "$libdir" && \ func_fatal_error "\`$lib' is not a valid libtool archive" func_append newdlprefiles " ${lt_sysroot:+=}$libdir/$name" ;; esac done dlprefiles="$newdlprefiles" else newdlfiles= for lib in $dlfiles; do case $lib in [\\/]* | [A-Za-z]:[\\/]*) abs="$lib" ;; *) abs=`pwd`"/$lib" ;; esac func_append newdlfiles " $abs" done dlfiles="$newdlfiles" newdlprefiles= for lib in $dlprefiles; do case $lib in [\\/]* | [A-Za-z]:[\\/]*) abs="$lib" ;; *) abs=`pwd`"/$lib" ;; esac func_append newdlprefiles " $abs" done dlprefiles="$newdlprefiles" fi $RM $output # place dlname in correct position for cygwin # In fact, it would be nice if we could use this code for all target # systems that can't hard-code library paths into their executables # and that have no shared library path variable independent of PATH, # but it turns out we can't easily determine that from inspecting # libtool variables, so we have to hard-code the OSs to which it # applies here; at the moment, that means platforms that use the PE # object format with DLL files. See the long comment at the top of # tests/bindir.at for full details. tdlname=$dlname case $host,$output,$installed,$module,$dlname in *cygwin*,*lai,yes,no,*.dll | *mingw*,*lai,yes,no,*.dll | *cegcc*,*lai,yes,no,*.dll) # If a -bindir argument was supplied, place the dll there. if test "x$bindir" != x ; then func_relative_path "$install_libdir" "$bindir" tdlname=$func_relative_path_result$dlname else # Otherwise fall back on heuristic. tdlname=../bin/$dlname fi ;; esac $ECHO > $output "\ # $outputname - a libtool library file # Generated by $PROGRAM (GNU $PACKAGE$TIMESTAMP) $VERSION # # Please DO NOT delete this file! # It is necessary for linking the library. # The name that we can dlopen(3). dlname='$tdlname' # Names of this library. library_names='$library_names' # The name of the static archive. old_library='$old_library' # Linker flags that can not go in dependency_libs. inherited_linker_flags='$new_inherited_linker_flags' # Libraries that this one depends upon. dependency_libs='$dependency_libs' # Names of additional weak libraries provided by this library weak_library_names='$weak_libs' # Version information for $libname. current=$current age=$age revision=$revision # Is this an already installed library? installed=$installed # Should we warn about portability when linking against -modules? shouldnotlink=$module # Files to dlopen/dlpreopen dlopen='$dlfiles' dlpreopen='$dlprefiles' # Directory that this library needs to be installed in: libdir='$install_libdir'" if test "$installed" = no && test "$need_relink" = yes; then $ECHO >> $output "\ relink_command=\"$relink_command\"" fi done } # Do a symbolic link so that the libtool archive can be found in # LD_LIBRARY_PATH before the program is installed. func_show_eval '( cd "$output_objdir" && $RM "$outputname" && $LN_S "../$outputname" "$outputname" )' 'exit $?' ;; esac exit $EXIT_SUCCESS } { test "$opt_mode" = link || test "$opt_mode" = relink; } && func_mode_link ${1+"$@"} # func_mode_uninstall arg... func_mode_uninstall () { $opt_debug RM="$nonopt" files= rmforce= exit_status=0 # This variable tells wrapper scripts just to set variables rather # than running their programs. libtool_install_magic="$magic" for arg do case $arg in -f) func_append RM " $arg"; rmforce=yes ;; -*) func_append RM " $arg" ;; *) func_append files " $arg" ;; esac done test -z "$RM" && \ func_fatal_help "you must specify an RM program" rmdirs= for file in $files; do func_dirname "$file" "" "." dir="$func_dirname_result" if test "X$dir" = X.; then odir="$objdir" else odir="$dir/$objdir" fi func_basename "$file" name="$func_basename_result" test "$opt_mode" = uninstall && odir="$dir" # Remember odir for removal later, being careful to avoid duplicates if test "$opt_mode" = clean; then case " $rmdirs " in *" $odir "*) ;; *) func_append rmdirs " $odir" ;; esac fi # Don't error if the file doesn't exist and rm -f was used. if { test -L "$file"; } >/dev/null 2>&1 || { test -h "$file"; } >/dev/null 2>&1 || test -f "$file"; then : elif test -d "$file"; then exit_status=1 continue elif test "$rmforce" = yes; then continue fi rmfiles="$file" case $name in *.la) # Possibly a libtool archive, so verify it. if func_lalib_p "$file"; then func_source $dir/$name # Delete the libtool libraries and symlinks. for n in $library_names; do func_append rmfiles " $odir/$n" done test -n "$old_library" && func_append rmfiles " $odir/$old_library" case "$opt_mode" in clean) case " $library_names " in *" $dlname "*) ;; *) test -n "$dlname" && func_append rmfiles " $odir/$dlname" ;; esac test -n "$libdir" && func_append rmfiles " $odir/$name $odir/${name}i" ;; uninstall) if test -n "$library_names"; then # Do each command in the postuninstall commands. func_execute_cmds "$postuninstall_cmds" 'test "$rmforce" = yes || exit_status=1' fi if test -n "$old_library"; then # Do each command in the old_postuninstall commands. func_execute_cmds "$old_postuninstall_cmds" 'test "$rmforce" = yes || exit_status=1' fi # FIXME: should reinstall the best remaining shared library. ;; esac fi ;; *.lo) # Possibly a libtool object, so verify it. if func_lalib_p "$file"; then # Read the .lo file func_source $dir/$name # Add PIC object to the list of files to remove. if test -n "$pic_object" && test "$pic_object" != none; then func_append rmfiles " $dir/$pic_object" fi # Add non-PIC object to the list of files to remove. if test -n "$non_pic_object" && test "$non_pic_object" != none; then func_append rmfiles " $dir/$non_pic_object" fi fi ;; *) if test "$opt_mode" = clean ; then noexename=$name case $file in *.exe) func_stripname '' '.exe' "$file" file=$func_stripname_result func_stripname '' '.exe' "$name" noexename=$func_stripname_result # $file with .exe has already been added to rmfiles, # add $file without .exe func_append rmfiles " $file" ;; esac # Do a test to see if this is a libtool program. if func_ltwrapper_p "$file"; then if func_ltwrapper_executable_p "$file"; then func_ltwrapper_scriptname "$file" relink_command= func_source $func_ltwrapper_scriptname_result func_append rmfiles " $func_ltwrapper_scriptname_result" else relink_command= func_source $dir/$noexename fi # note $name still contains .exe if it was in $file originally # as does the version of $file that was added into $rmfiles func_append rmfiles " $odir/$name $odir/${name}S.${objext}" if test "$fast_install" = yes && test -n "$relink_command"; then func_append rmfiles " $odir/lt-$name" fi if test "X$noexename" != "X$name" ; then func_append rmfiles " $odir/lt-${noexename}.c" fi fi fi ;; esac func_show_eval "$RM $rmfiles" 'exit_status=1' done # Try to remove the ${objdir}s in the directories where we deleted files for dir in $rmdirs; do if test -d "$dir"; then func_show_eval "rmdir $dir >/dev/null 2>&1" fi done exit $exit_status } { test "$opt_mode" = uninstall || test "$opt_mode" = clean; } && func_mode_uninstall ${1+"$@"} test -z "$opt_mode" && { help="$generic_help" func_fatal_help "you must specify a MODE" } test -z "$exec_cmd" && \ func_fatal_help "invalid operation mode \`$opt_mode'" if test -n "$exec_cmd"; then eval exec "$exec_cmd" exit $EXIT_FAILURE fi exit $exit_status # The TAGs below are defined such that we never get into a situation # in which we disable both kinds of libraries. Given conflicting # choices, we go for a static library, that is the most portable, # since we can't tell whether shared libraries were disabled because # the user asked for that or because the platform doesn't support # them. This is particularly important on AIX, because we don't # support having both static and shared libraries enabled at the same # time on that platform, so we default to a shared-only configuration. # If a disable-shared tag is given, we'll fallback to a static-only # configuration. But we'll never go from static-only to shared-only. # ### BEGIN LIBTOOL TAG CONFIG: disable-shared build_libtool_libs=no build_old_libs=yes # ### END LIBTOOL TAG CONFIG: disable-shared # ### BEGIN LIBTOOL TAG CONFIG: disable-static build_old_libs=`case $build_libtool_libs in yes) echo no;; *) echo yes;; esac` # ### END LIBTOOL TAG CONFIG: disable-static # Local Variables: # mode:shell-script # sh-indentation:2 # End: # vi:sw=2 pal-0.5.0/Makefile.am000644 000765 000024 00000004535 12366012030 014432 0ustar00timjstaff000000 000000 ## Process this file with automake to produce Makefile.in lib_LTLIBRARIES = libpal.la # Include palOne2One.c separately since it is a combo file libpal_la_SOURCES = $(PUBLIC_C_FILES) palOne2One.c $(PRIVATE_C_FILES) # If we are using a non-standard location libpal_la_CPPFLAGS = $(ERFA_CPPFLAGS) libpal_la_LDFLAGS = $(ERFA_LDFLAGS) # Force a link against ERFA and, optionally, starutil libpal_la_LIBADD = $(ERFA_LIBADD) $(STARUTIL_LIBADD) # Misc files dist_starnews_DATA = pal.news dist_pkgdata_DATA = COPYING COPYING.LESSER README.md # Make all library code position independent. This is handy for creating # shareable libraries from the static ones (Java JNI libraries). if !NOPIC libpal_la_CFLAGS = $(AM_CFLAGS) -prefer-pic endif # install pal as "star/pal.h" cincludedir = $(includedir)/star cinclude_HEADERS = pal.h palmac.h noinst_HEADERS = $(PRIVATE_INCLUDES) PRIVATE_INCLUDES = pal1.h pal1sofa.h PUBLIC_C_FILES = \ palAddet.c \ palAirmas.c \ palAmp.c \ palAmpqk.c \ palAop.c \ palAoppa.c \ palAoppat.c \ palAopqk.c \ palAtmdsp.c \ palCaldj.c \ palDafin.c \ palDe2h.c \ palDeuler.c \ palDfltin.c \ palDh2e.c \ palDjcal.c \ palDmat.c \ palDs2tp.c \ palDat.c \ palDmoon.c \ palDrange.c \ palDt.c \ palDtp2s.c \ palDtps2c.c \ palDtt.c \ palEcmat.c \ palEl2ue.c \ palEpco.c \ palEpv.c \ palEtrms.c \ palEqecl.c \ palEqgal.c \ palEvp.c \ palFk45z.c \ palFk524.c \ palFk54z.c \ palGaleq.c \ palGalsup.c \ palGe50.c \ palGeoc.c \ palIntin.c \ palMap.c \ palMappa.c \ palMapqk.c \ palMapqkz.c \ palNut.c \ palNutc.c \ palOap.c \ palOapqk.c \ palObs.c \ palPa.c \ palPertel.c \ palPertue.c \ palPlanel.c \ palPlanet.c \ palPlante.c \ palPlantu.c \ palPm.c \ palPrebn.c \ palPrec.c \ palPreces.c \ palPrenut.c \ palPv2el.c \ palPv2ue.c \ palPvobs.c \ palRdplan.c \ palRefco.c \ palRefro.c \ palRefv.c \ palRefz.c \ palRverot.c \ palRvgalc.c \ palRvlg.c \ palRvlsrd.c \ palRvlsrk.c \ palSubet.c \ palSupgal.c \ palUe2el.c \ palUe2pv.c PRIVATE_C_FILES = \ pal1Atms.c \ pal1Atmt.c stardocs_DATA = @STAR_LATEX_DOCUMENTATION@ TESTS = palTest check_PROGRAMS = palTest palTest_SOURCES = palTest.c palTest_LDADD = libpal.la # A target for making the SUN documentation. We do not do this automatically palsun.tex: $(PUBLIC_C_FILES) -rm -f palsun.tex all.c cat $(PUBLIC_C_FILES) > all.c ${STARLINK_DIR}/bin/sst/prolat in=all.c out=palsun.tex single=no page=no atask=no document=no -rm all.c pal-0.5.0/Makefile.in000644 000765 000024 00000445265 12366012034 014460 0ustar00timjstaff000000 000000 # Makefile.in generated by automake 1.14.1-starlink from Makefile.am. # @configure_input@ # Copyright (C) 1994-2013 Free Software Foundation, Inc. # This Makefile.in is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY, to the extent permitted by law; without # even the implied warranty of MERCHANTABILITY or FITNESS FOR A # PARTICULAR PURPOSE. @SET_MAKE@ VPATH = @srcdir@ am__is_gnu_make = test -n '$(MAKEFILE_LIST)' && test -n '$(MAKELEVEL)' am__make_running_with_option = \ case $${target_option-} in \ ?) ;; \ *) echo "am__make_running_with_option: internal error: invalid" \ "target option '$${target_option-}' specified" >&2; \ exit 1;; \ esac; \ has_opt=no; \ sane_makeflags=$$MAKEFLAGS; \ if $(am__is_gnu_make); then \ sane_makeflags=$$MFLAGS; \ else \ case $$MAKEFLAGS in \ *\\[\ \ ]*) \ bs=\\; \ sane_makeflags=`printf '%s\n' "$$MAKEFLAGS" \ | sed "s/$$bs$$bs[$$bs $$bs ]*//g"`;; \ esac; \ fi; \ skip_next=no; \ strip_trailopt () \ { \ flg=`printf '%s\n' "$$flg" | sed "s/$$1.*$$//"`; \ }; \ for flg in $$sane_makeflags; do \ test $$skip_next = yes && { skip_next=no; continue; }; \ case $$flg in \ *=*|--*) continue;; \ -*I) strip_trailopt 'I'; skip_next=yes;; \ -*I?*) strip_trailopt 'I';; \ -*O) strip_trailopt 'O'; skip_next=yes;; \ -*O?*) strip_trailopt 'O';; \ -*l) strip_trailopt 'l'; skip_next=yes;; \ -*l?*) strip_trailopt 'l';; \ -[dEDm]) skip_next=yes;; \ -[JT]) skip_next=yes;; \ esac; \ case $$flg in \ *$$target_option*) has_opt=yes; break;; \ esac; \ done; \ test $$has_opt = yes am__make_dryrun = (target_option=n; $(am__make_running_with_option)) am__make_keepgoing = (target_option=k; $(am__make_running_with_option)) pkgdatadir = $(datadir)/@PACKAGE@ pkgincludedir = $(includedir)/@PACKAGE@ pkglibdir = $(libdir)/@PACKAGE@ pkglibexecdir = $(libexecdir)/@PACKAGE@ am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd install_sh_DATA = $(install_sh) -c -m 644 install_sh_PROGRAM = $(install_sh) -c install_sh_SCRIPT = $(install_sh) -c INSTALL_HEADER = $(INSTALL_DATA) transform = $(program_transform_name) NORMAL_INSTALL = : PRE_INSTALL = : POST_INSTALL = : NORMAL_UNINSTALL = : PRE_UNINSTALL = : POST_UNINSTALL = : build_triplet = @build@ host_triplet = @host@ TESTS = palTest$(EXEEXT) check_PROGRAMS = palTest$(EXEEXT) subdir = . DIST_COMMON = $(srcdir)/Makefile.in $(srcdir)/Makefile.am \ $(top_srcdir)/configure $(am__configure_deps) \ $(srcdir)/config.h.in $(srcdir)/component.xml.in depcomp \ $(dist_pkgdata_DATA) $(dist_starnews_DATA) $(cinclude_HEADERS) \ $(noinst_HEADERS) test-driver $(stardocs_DATA) COPYING \ COPYING.LESSER compile config.guess config.sub install-sh \ missing ltmain.sh ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 am__aclocal_m4_deps = $(top_srcdir)/configure.ac am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \ $(ACLOCAL_M4) am__CONFIG_DISTCLEAN_FILES = config.status config.cache config.log \ configure.lineno config.status.lineno mkinstalldirs = $(install_sh) -d CONFIG_HEADER = config.h CONFIG_CLEAN_FILES = component.xml CONFIG_CLEAN_VPATH_FILES = am__vpath_adj_setup = srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; am__vpath_adj = case $$p in \ $(srcdir)/*) f=`echo "$$p" | sed "s|^$$srcdirstrip/||"`;; \ *) f=$$p;; \ esac; am__strip_dir = f=`echo $$p | sed -e 's|^.*/||'`; am__install_max = 40 am__nobase_strip_setup = \ srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*|]/\\\\&/g'` am__nobase_strip = \ for p in $$list; do echo "$$p"; done | sed -e "s|$$srcdirstrip/||" am__nobase_list = $(am__nobase_strip_setup); \ for p in $$list; do echo "$$p $$p"; done | \ sed "s| $$srcdirstrip/| |;"' / .*\//!s/ .*/ ./; s,\( .*\)/[^/]*$$,\1,' | \ $(AWK) 'BEGIN { files["."] = "" } { files[$$2] = files[$$2] " " $$1; \ if (++n[$$2] == $(am__install_max)) \ { print $$2, files[$$2]; n[$$2] = 0; files[$$2] = "" } } \ END { for (dir in files) print dir, files[dir] }' am__base_list = \ sed '$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;s/\n/ /g' | \ sed '$$!N;$$!N;$$!N;$$!N;s/\n/ /g' am__uninstall_files_from_dir = { \ test -z "$$files" \ || { test ! -d "$$dir" && test ! -f "$$dir" && test ! -r "$$dir"; } \ || { echo " ( cd '$$dir' && rm -f" $$files ")"; \ $(am__cd) "$$dir" && rm -f $$files; }; \ } am__installdirs = "$(DESTDIR)$(libdir)" "$(DESTDIR)$(pkgdatadir)" \ "$(DESTDIR)$(starnewsdir)" $(DESTDIR)$(stardocsdir) \ "$(DESTDIR)$(cincludedir)" LTLIBRARIES = $(lib_LTLIBRARIES) am__DEPENDENCIES_1 = libpal_la_DEPENDENCIES = $(am__DEPENDENCIES_1) $(am__DEPENDENCIES_1) am__objects_1 = libpal_la-palAddet.lo libpal_la-palAirmas.lo \ libpal_la-palAmp.lo libpal_la-palAmpqk.lo libpal_la-palAop.lo \ libpal_la-palAoppa.lo libpal_la-palAoppat.lo \ libpal_la-palAopqk.lo libpal_la-palAtmdsp.lo \ libpal_la-palCaldj.lo libpal_la-palDafin.lo \ libpal_la-palDe2h.lo libpal_la-palDeuler.lo \ libpal_la-palDfltin.lo libpal_la-palDh2e.lo \ libpal_la-palDjcal.lo libpal_la-palDmat.lo \ libpal_la-palDs2tp.lo libpal_la-palDat.lo \ libpal_la-palDmoon.lo libpal_la-palDrange.lo \ libpal_la-palDt.lo libpal_la-palDtp2s.lo \ libpal_la-palDtps2c.lo libpal_la-palDtt.lo \ libpal_la-palEcmat.lo libpal_la-palEl2ue.lo \ libpal_la-palEpco.lo libpal_la-palEpv.lo libpal_la-palEtrms.lo \ libpal_la-palEqecl.lo libpal_la-palEqgal.lo \ libpal_la-palEvp.lo libpal_la-palFk45z.lo \ libpal_la-palFk524.lo libpal_la-palFk54z.lo \ libpal_la-palGaleq.lo libpal_la-palGalsup.lo \ libpal_la-palGe50.lo libpal_la-palGeoc.lo \ libpal_la-palIntin.lo libpal_la-palMap.lo \ libpal_la-palMappa.lo libpal_la-palMapqk.lo \ libpal_la-palMapqkz.lo libpal_la-palNut.lo \ libpal_la-palNutc.lo libpal_la-palOap.lo libpal_la-palOapqk.lo \ libpal_la-palObs.lo libpal_la-palPa.lo libpal_la-palPertel.lo \ libpal_la-palPertue.lo libpal_la-palPlanel.lo \ libpal_la-palPlanet.lo libpal_la-palPlante.lo \ libpal_la-palPlantu.lo libpal_la-palPm.lo \ libpal_la-palPrebn.lo libpal_la-palPrec.lo \ libpal_la-palPreces.lo libpal_la-palPrenut.lo \ libpal_la-palPv2el.lo libpal_la-palPv2ue.lo \ libpal_la-palPvobs.lo libpal_la-palRdplan.lo \ libpal_la-palRefco.lo libpal_la-palRefro.lo \ libpal_la-palRefv.lo libpal_la-palRefz.lo \ libpal_la-palRverot.lo libpal_la-palRvgalc.lo \ libpal_la-palRvlg.lo libpal_la-palRvlsrd.lo \ libpal_la-palRvlsrk.lo libpal_la-palSubet.lo \ libpal_la-palSupgal.lo libpal_la-palUe2el.lo \ libpal_la-palUe2pv.lo am__objects_2 = libpal_la-pal1Atms.lo libpal_la-pal1Atmt.lo am_libpal_la_OBJECTS = $(am__objects_1) libpal_la-palOne2One.lo \ $(am__objects_2) libpal_la_OBJECTS = $(am_libpal_la_OBJECTS) AM_V_lt = $(am__v_lt_@AM_V@) am__v_lt_ = $(am__v_lt_@AM_DEFAULT_V@) am__v_lt_0 = --silent am__v_lt_1 = libpal_la_LINK = $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) \ $(LIBTOOLFLAGS) --mode=link $(CCLD) $(libpal_la_CFLAGS) \ $(CFLAGS) $(STAR_LDFLAGS) $(libpal_la_LDFLAGS) $(LDFLAGS) -o \ $@ am_palTest_OBJECTS = palTest.$(OBJEXT) palTest_OBJECTS = $(am_palTest_OBJECTS) palTest_DEPENDENCIES = libpal.la AM_V_P = $(am__v_P_@AM_V@) am__v_P_ = $(am__v_P_@AM_DEFAULT_V@) am__v_P_0 = false am__v_P_1 = : AM_V_GEN = $(am__v_GEN_@AM_V@) am__v_GEN_ = $(am__v_GEN_@AM_DEFAULT_V@) am__v_GEN_0 = @echo " GEN " $@; am__v_GEN_1 = AM_V_at = $(am__v_at_@AM_V@) am__v_at_ = $(am__v_at_@AM_DEFAULT_V@) am__v_at_0 = @ am__v_at_1 = DEFAULT_INCLUDES = -I.@am__isrc@ depcomp = $(SHELL) $(top_srcdir)/depcomp am__depfiles_maybe = depfiles am__mv = mv -f COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) \ $(STAR_CPPFLAGS) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) \ $(CFLAGS) LTCOMPILE = $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) \ $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) \ $(DEFAULT_INCLUDES) $(INCLUDES) $(STAR_CPPFLAGS) \ $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) AM_V_CC = $(am__v_CC_@AM_V@) am__v_CC_ = $(am__v_CC_@AM_DEFAULT_V@) am__v_CC_0 = @echo " CC " $@; am__v_CC_1 = CCLD = $(CC) LINK = $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) \ $(LIBTOOLFLAGS) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \ $(STAR_LDFLAGS) $(AM_LDFLAGS) $(LDFLAGS) -o $@ AM_V_CCLD = $(am__v_CCLD_@AM_V@) am__v_CCLD_ = $(am__v_CCLD_@AM_DEFAULT_V@) am__v_CCLD_0 = @echo " CCLD " $@; am__v_CCLD_1 = SOURCES = $(libpal_la_SOURCES) $(palTest_SOURCES) DIST_SOURCES = $(libpal_la_SOURCES) $(palTest_SOURCES) am__can_run_installinfo = \ case $$AM_UPDATE_INFO_DIR in \ n|no|NO) false;; \ *) (install-info --version) >/dev/null 2>&1;; \ esac stardocsDATA_INSTALL = $(INSTALL_DATA) DATA = $(dist_pkgdata_DATA) $(dist_starnews_DATA) $(stardocs_DATA) HEADERS = $(cinclude_HEADERS) $(noinst_HEADERS) am__tagged_files = $(HEADERS) $(SOURCES) $(TAGS_FILES) \ $(LISP)config.h.in # Read a list of newline-separated strings from the standard input, # and print each of them once, without duplicates. Input order is # *not* preserved. am__uniquify_input = $(AWK) '\ BEGIN { nonempty = 0; } \ { items[$$0] = 1; nonempty = 1; } \ END { if (nonempty) { for (i in items) print i; }; } \ ' # Make sure the list of sources is unique. This is necessary because, # e.g., the same source file might be shared among _SOURCES variables # for different programs/libraries. am__define_uniq_tagged_files = \ list='$(am__tagged_files)'; \ unique=`for i in $$list; do \ if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ done | $(am__uniquify_input)` ETAGS = etags CTAGS = ctags CSCOPE = cscope AM_RECURSIVE_TARGETS = cscope check recheck am__tty_colors_dummy = \ mgn= red= grn= lgn= blu= brg= std=; \ am__color_tests=no am__tty_colors = { \ $(am__tty_colors_dummy); \ if test "X$(AM_COLOR_TESTS)" = Xno; then \ am__color_tests=no; \ elif test "X$(AM_COLOR_TESTS)" = Xalways; then \ am__color_tests=yes; \ elif test "X$$TERM" != Xdumb && { test -t 1; } 2>/dev/null; then \ am__color_tests=yes; \ fi; \ if test $$am__color_tests = yes; then \ red=''; \ grn=''; \ lgn=''; \ blu=''; \ mgn=''; \ brg=''; \ std=''; \ fi; \ } am__recheck_rx = ^[ ]*:recheck:[ ]* am__global_test_result_rx = ^[ ]*:global-test-result:[ ]* am__copy_in_global_log_rx = ^[ ]*:copy-in-global-log:[ ]* # A command that, given a newline-separated list of test names on the # standard input, print the name of the tests that are to be re-run # upon "make recheck". am__list_recheck_tests = $(AWK) '{ \ recheck = 1; \ while ((rc = (getline line < ($$0 ".trs"))) != 0) \ { \ if (rc < 0) \ { \ if ((getline line2 < ($$0 ".log")) < 0) \ recheck = 0; \ break; \ } \ else if (line ~ /$(am__recheck_rx)[nN][Oo]/) \ { \ recheck = 0; \ break; \ } \ else if (line ~ /$(am__recheck_rx)[yY][eE][sS]/) \ { \ break; \ } \ }; \ if (recheck) \ print $$0; \ close ($$0 ".trs"); \ close ($$0 ".log"); \ }' # A command that, given a newline-separated list of test names on the # standard input, create the global log from their .trs and .log files. am__create_global_log = $(AWK) ' \ function fatal(msg) \ { \ print "fatal: making $@: " msg | "cat >&2"; \ exit 1; \ } \ function rst_section(header) \ { \ print header; \ len = length(header); \ for (i = 1; i <= len; i = i + 1) \ printf "="; \ printf "\n\n"; \ } \ { \ copy_in_global_log = 1; \ global_test_result = "RUN"; \ while ((rc = (getline line < ($$0 ".trs"))) != 0) \ { \ if (rc < 0) \ fatal("failed to read from " $$0 ".trs"); \ if (line ~ /$(am__global_test_result_rx)/) \ { \ sub("$(am__global_test_result_rx)", "", line); \ sub("[ ]*$$", "", line); \ global_test_result = line; \ } \ else if (line ~ /$(am__copy_in_global_log_rx)[nN][oO]/) \ copy_in_global_log = 0; \ }; \ if (copy_in_global_log) \ { \ rst_section(global_test_result ": " $$0); \ while ((rc = (getline line < ($$0 ".log"))) != 0) \ { \ if (rc < 0) \ fatal("failed to read from " $$0 ".log"); \ print line; \ }; \ printf "\n"; \ }; \ close ($$0 ".trs"); \ close ($$0 ".log"); \ }' # Restructured Text title. am__rst_title = { sed 's/.*/ & /;h;s/./=/g;p;x;s/ *$$//;p;g' && echo; } # Solaris 10 'make', and several other traditional 'make' implementations, # pass "-e" to $(SHELL), and POSIX 2008 even requires this. Work around it # by disabling -e (using the XSI extension "set +e") if it's set. am__sh_e_setup = case $$- in *e*) set +e;; esac # Default flags passed to test drivers. am__common_driver_flags = \ --color-tests "$$am__color_tests" \ --enable-hard-errors "$$am__enable_hard_errors" \ --expect-failure "$$am__expect_failure" # To be inserted before the command running the test. Creates the # directory for the log if needed. Stores in $dir the directory # containing $f, in $tst the test, in $log the log. Executes the # developer- defined test setup AM_TESTS_ENVIRONMENT (if any), and # passes TESTS_ENVIRONMENT. Set up options for the wrapper that # will run the test scripts (or their associated LOG_COMPILER, if # thy have one). am__check_pre = \ $(am__sh_e_setup); \ $(am__vpath_adj_setup) $(am__vpath_adj) \ $(am__tty_colors); \ srcdir=$(srcdir); export srcdir; \ case "$@" in \ */*) am__odir=`echo "./$@" | sed 's|/[^/]*$$||'`;; \ *) am__odir=.;; \ esac; \ test "x$$am__odir" = x"." || test -d "$$am__odir" \ || $(MKDIR_P) "$$am__odir" || exit $$?; \ if test -f "./$$f"; then dir=./; \ elif test -f "$$f"; then dir=; \ else dir="$(srcdir)/"; fi; \ tst=$$dir$$f; log='$@'; \ if test -n '$(DISABLE_HARD_ERRORS)'; then \ am__enable_hard_errors=no; \ else \ am__enable_hard_errors=yes; \ fi; \ case " $(XFAIL_TESTS) " in \ *[\ \ ]$$f[\ \ ]* | *[\ \ ]$$dir$$f[\ \ ]*) \ am__expect_failure=yes;; \ *) \ am__expect_failure=no;; \ esac; \ $(AM_TESTS_ENVIRONMENT) $(TESTS_ENVIRONMENT) # A shell command to get the names of the tests scripts with any registered # extension removed (i.e., equivalently, the names of the test logs, with # the '.log' extension removed). The result is saved in the shell variable # '$bases'. This honors runtime overriding of TESTS and TEST_LOGS. Sadly, # we cannot use something simpler, involving e.g., "$(TEST_LOGS:.log=)", # since that might cause problem with VPATH rewrites for suffix-less tests. # See also 'test-harness-vpath-rewrite.sh' and 'test-trs-basic.sh'. am__set_TESTS_bases = \ bases='$(TEST_LOGS)'; \ bases=`for i in $$bases; do echo $$i; done | sed 's/\.log$$//'`; \ bases=`echo $$bases` RECHECK_LOGS = $(TEST_LOGS) TEST_SUITE_LOG = test-suite.log TEST_EXTENSIONS = @EXEEXT@ .test LOG_DRIVER = $(SHELL) $(top_srcdir)/test-driver LOG_COMPILE = $(LOG_COMPILER) $(AM_LOG_FLAGS) $(LOG_FLAGS) am__set_b = \ case '$@' in \ */*) \ case '$*' in \ */*) b='$*';; \ *) b=`echo '$@' | sed 's/\.log$$//'`; \ esac;; \ *) \ b='$*';; \ esac am__test_logs1 = $(TESTS:=.log) am__test_logs2 = $(am__test_logs1:@EXEEXT@.log=.log) TEST_LOGS = $(am__test_logs2:.test.log=.log) TEST_LOG_DRIVER = $(SHELL) $(top_srcdir)/test-driver TEST_LOG_COMPILE = $(TEST_LOG_COMPILER) $(AM_TEST_LOG_FLAGS) \ $(TEST_LOG_FLAGS) DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) distdir = $(PACKAGE)-$(VERSION) top_distdir = $(distdir) am__remove_distdir = \ if test -d "$(distdir)"; then \ find "$(distdir)" -type d ! -perm -200 -exec chmod u+w {} ';' \ && rm -rf "$(distdir)" \ || { sleep 5 && rm -rf "$(distdir)"; }; \ else :; fi am__post_remove_distdir = $(am__remove_distdir) DIST_ARCHIVES = $(distdir).tar.gz GZIP_ENV = --best DIST_TARGETS = dist-gzip distuninstallcheck_listfiles = find . -type f -print am__distuninstallcheck_listfiles = $(distuninstallcheck_listfiles) \ | sed 's|^\./|$(prefix)/|' | grep -v '$(infodir)/dir$$' distcleancheck_listfiles = find . -type f -print # Use AM_MAKEFLAGS to pass the value of the MANIFEST variable into # submakes (not all makes do this automatically). This can still be # overridden with a setting of this variable on the $(MAKE) command # line. I think we really shouldn't be setting this variable -- if # it causes a problem for anyone, we should edit a new variable in to # the .am templates. AM_MAKEFLAGS = MANIFEST=$(MANIFEST) REAL_INSTALL = install-am # Set to : to emit manifest lines, too # (don't actually do this here -- it's done within install-manifest below). MANIFEST = false ACLOCAL = @ACLOCAL@ AMTAR = @AMTAR@ AM_DEFAULT_VERBOSITY = @AM_DEFAULT_VERBOSITY@ AR = @AR@ AUTOCONF = @AUTOCONF@ AUTOHEADER = @AUTOHEADER@ AUTOMAKE = @AUTOMAKE@ AWK = @AWK@ CC = @CC@ CCDEPMODE = @CCDEPMODE@ CFLAGS = @CFLAGS@ CPP = @CPP@ CPPFLAGS = @CPPFLAGS@ CYGPATH_W = @CYGPATH_W@ DEFS = @DEFS@ DEPDIR = @DEPDIR@ DLLTOOL = @DLLTOOL@ DSYMUTIL = @DSYMUTIL@ DUMPBIN = @DUMPBIN@ ECHO_C = @ECHO_C@ ECHO_N = @ECHO_N@ ECHO_T = @ECHO_T@ EGREP = @EGREP@ ERFA_CPPFLAGS = @ERFA_CPPFLAGS@ ERFA_LDFLAGS = @ERFA_LDFLAGS@ ERFA_LIBADD = @ERFA_LIBADD@ EXEEXT = @EXEEXT@ FGREP = @FGREP@ GIT = @GIT@ GREP = @GREP@ INSTALL = @INSTALL@ INSTALL_DATA = @INSTALL_DATA@ INSTALL_PROGRAM = @INSTALL_PROGRAM@ INSTALL_SCRIPT = @INSTALL_SCRIPT@ INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@ LATEX2DVI = @LATEX2DVI@ LD = @LD@ LDFLAGS = @LDFLAGS@ LIBOBJS = @LIBOBJS@ LIBS = @LIBS@ LIBTOOL = @LIBTOOL@ LIPO = @LIPO@ LN_S = @LN_S@ LTLIBOBJS = @LTLIBOBJS@ MAKEINFO = @MAKEINFO@ MANIFEST_TOOL = @MANIFEST_TOOL@ MKDIR_P = @MKDIR_P@ NM = @NM@ NMEDIT = @NMEDIT@ OBJDUMP = @OBJDUMP@ OBJEXT = @OBJEXT@ OTOOL = @OTOOL@ OTOOL64 = @OTOOL64@ PACKAGE = @PACKAGE@ PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@ PACKAGE_NAME = @PACKAGE_NAME@ PACKAGE_STRING = @PACKAGE_STRING@ PACKAGE_TARNAME = @PACKAGE_TARNAME@ PACKAGE_URL = @PACKAGE_URL@ PACKAGE_VERSION = @PACKAGE_VERSION@ PACKAGE_VERSION_INTEGER = @PACKAGE_VERSION_INTEGER@ PACKAGE_VERSION_MAJOR = @PACKAGE_VERSION_MAJOR@ PACKAGE_VERSION_MINOR = @PACKAGE_VERSION_MINOR@ PACKAGE_VERSION_RELEASE = @PACKAGE_VERSION_RELEASE@ PATH_SEPARATOR = @PATH_SEPARATOR@ PAX = @PAX@ PREDIST = @PREDIST@ RANLIB = @RANLIB@ SED = @SED@ SET_MAKE = @SET_MAKE@ SHELL = @SHELL@ STAR2HTML = @STAR2HTML@ STARLINK = @STARLINK@ STARUTIL_LIBADD = @STARUTIL_LIBADD@ STAR_CPPFLAGS = @STAR_CPPFLAGS@ STAR_DEPENDENCIES_ATTRIBUTES = @STAR_DEPENDENCIES_ATTRIBUTES@ STAR_DEPENDENCIES_CHILDREN = @STAR_DEPENDENCIES_CHILDREN@ STAR_DOCUMENTATION = @STAR_DOCUMENTATION@ STAR_FCFLAGS = @STAR_FCFLAGS@ STAR_FFLAGS = @STAR_FFLAGS@ STAR_LATEX_DOCUMENTATION = @STAR_LATEX_DOCUMENTATION@ STAR_LDFLAGS = @STAR_LDFLAGS@ STAR_MANIFEST_DIR = @STAR_MANIFEST_DIR@ STAR_SOURCE_ROOT_DIR = @STAR_SOURCE_ROOT_DIR@ STRIP = @STRIP@ TAR = @TAR@ VERSION = @VERSION@ abs_builddir = @abs_builddir@ abs_srcdir = @abs_srcdir@ abs_top_builddir = @abs_top_builddir@ abs_top_srcdir = @abs_top_srcdir@ ac_ct_AR = @ac_ct_AR@ ac_ct_CC = @ac_ct_CC@ ac_ct_DUMPBIN = @ac_ct_DUMPBIN@ am__include = @am__include@ am__leading_dot = @am__leading_dot@ am__quote = @am__quote@ am__tar = @am__tar@ am__untar = @am__untar@ bindir = @bindir@ build = @build@ build_alias = @build_alias@ build_cpu = @build_cpu@ build_os = @build_os@ build_vendor = @build_vendor@ builddir = @builddir@ datadir = @datadir@ datarootdir = @datarootdir@ docdir = @docdir@ dvidir = @dvidir@ exec_prefix = @exec_prefix@ host = @host@ host_alias = @host_alias@ host_cpu = @host_cpu@ host_os = @host_os@ host_vendor = @host_vendor@ htmldir = @htmldir@ includedir = @includedir@ infodir = @infodir@ install_sh = @install_sh@ libdir = @libdir@ libexecdir = @libexecdir@ localedir = @localedir@ localstatedir = @localstatedir@ mandir = @mandir@ mkdir_p = @mkdir_p@ oldincludedir = @oldincludedir@ pdfdir = @pdfdir@ prefix = @prefix@ program_transform_name = @program_transform_name@ psdir = @psdir@ sbindir = @sbindir@ sharedstatedir = @sharedstatedir@ srcdir = @srcdir@ stardocsdir = @stardocsdir@ staretcdir = @staretcdir@ starexamplesdir = @starexamplesdir@ starfacsdir = @starfacsdir@ starhelpdir = @starhelpdir@ starnewsdir = @starnewsdir@ sysconfdir = @sysconfdir@ target_alias = @target_alias@ top_build_prefix = @top_build_prefix@ top_builddir = @top_builddir@ top_srcdir = @top_srcdir@ lib_LTLIBRARIES = libpal.la # Include palOne2One.c separately since it is a combo file libpal_la_SOURCES = $(PUBLIC_C_FILES) palOne2One.c $(PRIVATE_C_FILES) # If we are using a non-standard location libpal_la_CPPFLAGS = $(ERFA_CPPFLAGS) libpal_la_LDFLAGS = $(ERFA_LDFLAGS) # Force a link against ERFA and, optionally, starutil libpal_la_LIBADD = $(ERFA_LIBADD) $(STARUTIL_LIBADD) # Misc files dist_starnews_DATA = pal.news dist_pkgdata_DATA = COPYING COPYING.LESSER README.md # Make all library code position independent. This is handy for creating # shareable libraries from the static ones (Java JNI libraries). @NOPIC_FALSE@libpal_la_CFLAGS = $(AM_CFLAGS) -prefer-pic # install pal as "star/pal.h" cincludedir = $(includedir)/star cinclude_HEADERS = pal.h palmac.h noinst_HEADERS = $(PRIVATE_INCLUDES) PRIVATE_INCLUDES = pal1.h pal1sofa.h PUBLIC_C_FILES = \ palAddet.c \ palAirmas.c \ palAmp.c \ palAmpqk.c \ palAop.c \ palAoppa.c \ palAoppat.c \ palAopqk.c \ palAtmdsp.c \ palCaldj.c \ palDafin.c \ palDe2h.c \ palDeuler.c \ palDfltin.c \ palDh2e.c \ palDjcal.c \ palDmat.c \ palDs2tp.c \ palDat.c \ palDmoon.c \ palDrange.c \ palDt.c \ palDtp2s.c \ palDtps2c.c \ palDtt.c \ palEcmat.c \ palEl2ue.c \ palEpco.c \ palEpv.c \ palEtrms.c \ palEqecl.c \ palEqgal.c \ palEvp.c \ palFk45z.c \ palFk524.c \ palFk54z.c \ palGaleq.c \ palGalsup.c \ palGe50.c \ palGeoc.c \ palIntin.c \ palMap.c \ palMappa.c \ palMapqk.c \ palMapqkz.c \ palNut.c \ palNutc.c \ palOap.c \ palOapqk.c \ palObs.c \ palPa.c \ palPertel.c \ palPertue.c \ palPlanel.c \ palPlanet.c \ palPlante.c \ palPlantu.c \ palPm.c \ palPrebn.c \ palPrec.c \ palPreces.c \ palPrenut.c \ palPv2el.c \ palPv2ue.c \ palPvobs.c \ palRdplan.c \ palRefco.c \ palRefro.c \ palRefv.c \ palRefz.c \ palRverot.c \ palRvgalc.c \ palRvlg.c \ palRvlsrd.c \ palRvlsrk.c \ palSubet.c \ palSupgal.c \ palUe2el.c \ palUe2pv.c PRIVATE_C_FILES = \ pal1Atms.c \ pal1Atmt.c stardocs_DATA = @STAR_LATEX_DOCUMENTATION@ palTest_SOURCES = palTest.c palTest_LDADD = libpal.la all: config.h $(MAKE) $(AM_MAKEFLAGS) all-am .SUFFIXES: .SUFFIXES: .c .dvi .htx_tar .lo .log .o .obj .pdf .ps .test .test$(EXEEXT) .tex .trs am--refresh: Makefile @: $(srcdir)/Makefile.in: $(srcdir)/Makefile.am $(am__configure_deps) @for dep in $?; do \ case '$(am__configure_deps)' in \ *$$dep*) \ echo ' cd $(srcdir) && $(AUTOMAKE) --startree'; \ $(am__cd) $(srcdir) && $(AUTOMAKE) --startree \ && exit 0; \ exit 1;; \ esac; \ done; \ echo ' cd $(top_srcdir) && $(AUTOMAKE) --startree Makefile'; \ $(am__cd) $(top_srcdir) && \ $(AUTOMAKE) --startree Makefile .PRECIOUS: Makefile Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status @case '$?' in \ *config.status*) \ echo ' $(SHELL) ./config.status'; \ $(SHELL) ./config.status;; \ *) \ echo ' cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__depfiles_maybe)'; \ cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__depfiles_maybe);; \ esac; $(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES) $(SHELL) ./config.status --recheck $(top_srcdir)/configure: $(am__configure_deps) $(am__cd) $(srcdir) && $(AUTOCONF) $(ACLOCAL_M4): $(am__aclocal_m4_deps) $(am__cd) $(srcdir) && $(ACLOCAL) $(ACLOCAL_AMFLAGS) $(am__aclocal_m4_deps): config.h: stamp-h1 @test -f $@ || rm -f stamp-h1 @test -f $@ || $(MAKE) $(AM_MAKEFLAGS) stamp-h1 stamp-h1: $(srcdir)/config.h.in $(top_builddir)/config.status @rm -f stamp-h1 cd $(top_builddir) && $(SHELL) ./config.status config.h $(srcdir)/config.h.in: $(am__configure_deps) ($(am__cd) $(top_srcdir) && $(AUTOHEADER)) rm -f stamp-h1 touch $@ distclean-hdr: -rm -f config.h stamp-h1 component.xml: $(top_builddir)/config.status $(srcdir)/component.xml.in cd $(top_builddir) && $(SHELL) ./config.status $@ install-libLTLIBRARIES: $(lib_LTLIBRARIES) @$(NORMAL_INSTALL) @list='$(lib_LTLIBRARIES)'; test -n "$(libdir)" || list=; \ list2=; for p in $$list; do \ if test -f $$p; then \ list2="$$list2 $$p"; \ else :; fi; \ done; \ test -z "$$list2" || { \ echo " $(MKDIR_P) '$(DESTDIR)$(libdir)'"; \ $(MKDIR_P) "$(DESTDIR)$(libdir)" || exit 1; \ echo " $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(INSTALL) $(INSTALL_STRIP_FLAG) $$list2 '$(DESTDIR)$(libdir)'"; \ $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(INSTALL) $(INSTALL_STRIP_FLAG) $$list2 "$(DESTDIR)$(libdir)"; \ if $(MANIFEST); then \ for p in $$list2; do \ echo "MANIFEST:$(DESTDIR)$(libdir)/$$p"; \ expr $$p : '.*\.la$$' >/dev/null || \ { echo "Installing non-la file $$p!"; exit 1; }; \ (. ./$$p; \ if test -n "$$library_names"; then \ for l in $$library_names; do \ echo "MANIFEST:$(DESTDIR)$$libdir/$$l"; \ done; \ fi; \ if test -n "$$old_library"; then \ echo "MANIFEST:$(DESTDIR)$$libdir/$$old_library"; \ else :; fi; \ ); \ done; \ else :; fi; \ } uninstall-libLTLIBRARIES: @$(NORMAL_UNINSTALL) @list='$(lib_LTLIBRARIES)'; test -n "$(libdir)" || list=; \ for p in $$list; do \ $(am__strip_dir) \ echo " $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=uninstall rm -f '$(DESTDIR)$(libdir)/$$f'"; \ $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=uninstall rm -f "$(DESTDIR)$(libdir)/$$f"; \ done clean-libLTLIBRARIES: -test -z "$(lib_LTLIBRARIES)" || rm -f $(lib_LTLIBRARIES) @list='$(lib_LTLIBRARIES)'; \ locs=`for p in $$list; do echo $$p; done | \ sed 's|^[^/]*$$|.|; s|/[^/]*$$||; s|$$|/so_locations|' | \ sort -u`; \ test -z "$$locs" || { \ echo rm -f $${locs}; \ rm -f $${locs}; \ } libpal.la: $(libpal_la_OBJECTS) $(libpal_la_DEPENDENCIES) $(AM_V_CCLD)$(libpal_la_LINK) -rpath $(libdir) $(libpal_la_LDFLAGS) $(libpal_la_OBJECTS) $(libpal_la_LIBADD) $(LIBS) clean-checkPROGRAMS: @list='$(check_PROGRAMS)'; test -n "$$list" || exit 0; \ echo " rm -f" $$list; \ rm -f $$list || exit $$?; \ test -n "$(EXEEXT)" || exit 0; \ list=`for p in $$list; do echo "$$p"; done | sed 's/$(EXEEXT)$$//'`; \ echo " rm -f" $$list; \ rm -f $$list palTest$(EXEEXT): $(palTest_OBJECTS) $(palTest_DEPENDENCIES) $(EXTRA_palTest_DEPENDENCIES) @rm -f palTest$(EXEEXT) $(AM_V_CCLD)$(LINK) $(palTest_LDFLAGS) $(palTest_OBJECTS) $(palTest_LDADD) $(LIBS) mostlyclean-compile: -rm -f *.$(OBJEXT) distclean-compile: -rm -f *.tab.c @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libpal_la-pal1Atms.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libpal_la-pal1Atmt.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libpal_la-palAddet.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libpal_la-palAirmas.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libpal_la-palAmp.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libpal_la-palAmpqk.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libpal_la-palAop.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libpal_la-palAoppa.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libpal_la-palAoppat.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libpal_la-palAopqk.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libpal_la-palAtmdsp.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libpal_la-palCaldj.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libpal_la-palDafin.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libpal_la-palDat.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libpal_la-palDe2h.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libpal_la-palDeuler.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libpal_la-palDfltin.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libpal_la-palDh2e.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libpal_la-palDjcal.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libpal_la-palDmat.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libpal_la-palDmoon.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libpal_la-palDrange.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libpal_la-palDs2tp.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libpal_la-palDt.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libpal_la-palDtp2s.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libpal_la-palDtps2c.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libpal_la-palDtt.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libpal_la-palEcmat.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libpal_la-palEl2ue.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libpal_la-palEpco.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libpal_la-palEpv.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libpal_la-palEqecl.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libpal_la-palEqgal.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libpal_la-palEtrms.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libpal_la-palEvp.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libpal_la-palFk45z.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libpal_la-palFk524.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libpal_la-palFk54z.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libpal_la-palGaleq.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libpal_la-palGalsup.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libpal_la-palGe50.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libpal_la-palGeoc.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libpal_la-palIntin.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libpal_la-palMap.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libpal_la-palMappa.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libpal_la-palMapqk.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libpal_la-palMapqkz.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libpal_la-palNut.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libpal_la-palNutc.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libpal_la-palOap.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libpal_la-palOapqk.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libpal_la-palObs.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libpal_la-palOne2One.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libpal_la-palPa.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libpal_la-palPertel.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libpal_la-palPertue.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libpal_la-palPlanel.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libpal_la-palPlanet.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libpal_la-palPlante.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libpal_la-palPlantu.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libpal_la-palPm.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libpal_la-palPrebn.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libpal_la-palPrec.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libpal_la-palPreces.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libpal_la-palPrenut.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libpal_la-palPv2el.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libpal_la-palPv2ue.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libpal_la-palPvobs.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libpal_la-palRdplan.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libpal_la-palRefco.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libpal_la-palRefro.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libpal_la-palRefv.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libpal_la-palRefz.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libpal_la-palRverot.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libpal_la-palRvgalc.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libpal_la-palRvlg.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libpal_la-palRvlsrd.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libpal_la-palRvlsrk.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libpal_la-palSubet.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libpal_la-palSupgal.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libpal_la-palUe2el.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libpal_la-palUe2pv.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/palTest.Po@am__quote@ .c.o: @am__fastdepCC_TRUE@ $(AM_V_CC)$(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $< @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='$<' object='$@' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(COMPILE) -c -o $@ $< .c.obj: @am__fastdepCC_TRUE@ $(AM_V_CC)$(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ `$(CYGPATH_W) '$<'` @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='$<' object='$@' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(COMPILE) -c -o $@ `$(CYGPATH_W) '$<'` .c.lo: @am__fastdepCC_TRUE@ $(AM_V_CC)$(LTCOMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $< @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Plo @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='$<' object='$@' libtool=yes @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(LTCOMPILE) -c -o $@ $< libpal_la-palAddet.lo: palAddet.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(STAR_CPPFLAGS) $(libpal_la_CPPFLAGS) $(CPPFLAGS) $(libpal_la_CFLAGS) $(CFLAGS) -MT libpal_la-palAddet.lo -MD -MP -MF $(DEPDIR)/libpal_la-palAddet.Tpo -c -o libpal_la-palAddet.lo `test -f 'palAddet.c' || echo '$(srcdir)/'`palAddet.c @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/libpal_la-palAddet.Tpo $(DEPDIR)/libpal_la-palAddet.Plo @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='palAddet.c' object='libpal_la-palAddet.lo' libtool=yes @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(STAR_CPPFLAGS) $(libpal_la_CPPFLAGS) $(CPPFLAGS) $(libpal_la_CFLAGS) $(CFLAGS) -c -o libpal_la-palAddet.lo `test -f 'palAddet.c' || echo '$(srcdir)/'`palAddet.c libpal_la-palAirmas.lo: palAirmas.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(STAR_CPPFLAGS) $(libpal_la_CPPFLAGS) $(CPPFLAGS) $(libpal_la_CFLAGS) $(CFLAGS) -MT libpal_la-palAirmas.lo -MD -MP -MF $(DEPDIR)/libpal_la-palAirmas.Tpo -c -o libpal_la-palAirmas.lo `test -f 'palAirmas.c' || echo '$(srcdir)/'`palAirmas.c @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/libpal_la-palAirmas.Tpo $(DEPDIR)/libpal_la-palAirmas.Plo @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='palAirmas.c' object='libpal_la-palAirmas.lo' libtool=yes @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(STAR_CPPFLAGS) $(libpal_la_CPPFLAGS) $(CPPFLAGS) $(libpal_la_CFLAGS) $(CFLAGS) -c -o libpal_la-palAirmas.lo `test -f 'palAirmas.c' || echo '$(srcdir)/'`palAirmas.c libpal_la-palAmp.lo: palAmp.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(STAR_CPPFLAGS) $(libpal_la_CPPFLAGS) $(CPPFLAGS) $(libpal_la_CFLAGS) $(CFLAGS) -MT libpal_la-palAmp.lo -MD -MP -MF $(DEPDIR)/libpal_la-palAmp.Tpo -c -o libpal_la-palAmp.lo `test -f 'palAmp.c' || echo '$(srcdir)/'`palAmp.c @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/libpal_la-palAmp.Tpo $(DEPDIR)/libpal_la-palAmp.Plo @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='palAmp.c' object='libpal_la-palAmp.lo' libtool=yes @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(STAR_CPPFLAGS) $(libpal_la_CPPFLAGS) $(CPPFLAGS) $(libpal_la_CFLAGS) $(CFLAGS) -c -o libpal_la-palAmp.lo `test -f 'palAmp.c' || echo '$(srcdir)/'`palAmp.c libpal_la-palAmpqk.lo: palAmpqk.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(STAR_CPPFLAGS) $(libpal_la_CPPFLAGS) $(CPPFLAGS) $(libpal_la_CFLAGS) $(CFLAGS) -MT libpal_la-palAmpqk.lo -MD -MP -MF $(DEPDIR)/libpal_la-palAmpqk.Tpo -c -o libpal_la-palAmpqk.lo `test -f 'palAmpqk.c' || echo '$(srcdir)/'`palAmpqk.c @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/libpal_la-palAmpqk.Tpo $(DEPDIR)/libpal_la-palAmpqk.Plo @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='palAmpqk.c' object='libpal_la-palAmpqk.lo' libtool=yes @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(STAR_CPPFLAGS) $(libpal_la_CPPFLAGS) $(CPPFLAGS) $(libpal_la_CFLAGS) $(CFLAGS) -c -o libpal_la-palAmpqk.lo `test -f 'palAmpqk.c' || echo '$(srcdir)/'`palAmpqk.c libpal_la-palAop.lo: palAop.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(STAR_CPPFLAGS) $(libpal_la_CPPFLAGS) $(CPPFLAGS) $(libpal_la_CFLAGS) $(CFLAGS) -MT libpal_la-palAop.lo -MD -MP -MF $(DEPDIR)/libpal_la-palAop.Tpo -c -o libpal_la-palAop.lo `test -f 'palAop.c' || echo '$(srcdir)/'`palAop.c @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/libpal_la-palAop.Tpo $(DEPDIR)/libpal_la-palAop.Plo @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='palAop.c' object='libpal_la-palAop.lo' libtool=yes @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(STAR_CPPFLAGS) $(libpal_la_CPPFLAGS) $(CPPFLAGS) $(libpal_la_CFLAGS) $(CFLAGS) -c -o libpal_la-palAop.lo `test -f 'palAop.c' || echo '$(srcdir)/'`palAop.c libpal_la-palAoppa.lo: palAoppa.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(STAR_CPPFLAGS) $(libpal_la_CPPFLAGS) $(CPPFLAGS) $(libpal_la_CFLAGS) $(CFLAGS) -MT libpal_la-palAoppa.lo -MD -MP -MF $(DEPDIR)/libpal_la-palAoppa.Tpo -c -o libpal_la-palAoppa.lo `test -f 'palAoppa.c' || echo '$(srcdir)/'`palAoppa.c @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/libpal_la-palAoppa.Tpo $(DEPDIR)/libpal_la-palAoppa.Plo @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='palAoppa.c' object='libpal_la-palAoppa.lo' libtool=yes @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(STAR_CPPFLAGS) $(libpal_la_CPPFLAGS) $(CPPFLAGS) $(libpal_la_CFLAGS) $(CFLAGS) -c -o libpal_la-palAoppa.lo `test -f 'palAoppa.c' || echo '$(srcdir)/'`palAoppa.c libpal_la-palAoppat.lo: palAoppat.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(STAR_CPPFLAGS) $(libpal_la_CPPFLAGS) $(CPPFLAGS) $(libpal_la_CFLAGS) $(CFLAGS) -MT libpal_la-palAoppat.lo -MD -MP -MF $(DEPDIR)/libpal_la-palAoppat.Tpo -c -o libpal_la-palAoppat.lo `test -f 'palAoppat.c' || echo '$(srcdir)/'`palAoppat.c @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/libpal_la-palAoppat.Tpo $(DEPDIR)/libpal_la-palAoppat.Plo @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='palAoppat.c' object='libpal_la-palAoppat.lo' libtool=yes @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(STAR_CPPFLAGS) $(libpal_la_CPPFLAGS) $(CPPFLAGS) $(libpal_la_CFLAGS) $(CFLAGS) -c -o libpal_la-palAoppat.lo `test -f 'palAoppat.c' || echo '$(srcdir)/'`palAoppat.c libpal_la-palAopqk.lo: palAopqk.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(STAR_CPPFLAGS) $(libpal_la_CPPFLAGS) $(CPPFLAGS) $(libpal_la_CFLAGS) $(CFLAGS) -MT libpal_la-palAopqk.lo -MD -MP -MF $(DEPDIR)/libpal_la-palAopqk.Tpo -c -o libpal_la-palAopqk.lo `test -f 'palAopqk.c' || echo '$(srcdir)/'`palAopqk.c @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/libpal_la-palAopqk.Tpo $(DEPDIR)/libpal_la-palAopqk.Plo @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='palAopqk.c' object='libpal_la-palAopqk.lo' libtool=yes @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(STAR_CPPFLAGS) $(libpal_la_CPPFLAGS) $(CPPFLAGS) $(libpal_la_CFLAGS) $(CFLAGS) -c -o libpal_la-palAopqk.lo `test -f 'palAopqk.c' || echo '$(srcdir)/'`palAopqk.c libpal_la-palAtmdsp.lo: palAtmdsp.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(STAR_CPPFLAGS) $(libpal_la_CPPFLAGS) $(CPPFLAGS) $(libpal_la_CFLAGS) $(CFLAGS) -MT libpal_la-palAtmdsp.lo -MD -MP -MF $(DEPDIR)/libpal_la-palAtmdsp.Tpo -c -o libpal_la-palAtmdsp.lo `test -f 'palAtmdsp.c' || echo '$(srcdir)/'`palAtmdsp.c @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/libpal_la-palAtmdsp.Tpo $(DEPDIR)/libpal_la-palAtmdsp.Plo @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='palAtmdsp.c' object='libpal_la-palAtmdsp.lo' libtool=yes @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(STAR_CPPFLAGS) $(libpal_la_CPPFLAGS) $(CPPFLAGS) $(libpal_la_CFLAGS) $(CFLAGS) -c -o libpal_la-palAtmdsp.lo `test -f 'palAtmdsp.c' || echo '$(srcdir)/'`palAtmdsp.c libpal_la-palCaldj.lo: palCaldj.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(STAR_CPPFLAGS) $(libpal_la_CPPFLAGS) $(CPPFLAGS) $(libpal_la_CFLAGS) $(CFLAGS) -MT libpal_la-palCaldj.lo -MD -MP -MF $(DEPDIR)/libpal_la-palCaldj.Tpo -c -o libpal_la-palCaldj.lo `test -f 'palCaldj.c' || echo '$(srcdir)/'`palCaldj.c @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/libpal_la-palCaldj.Tpo $(DEPDIR)/libpal_la-palCaldj.Plo @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='palCaldj.c' object='libpal_la-palCaldj.lo' libtool=yes @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(STAR_CPPFLAGS) $(libpal_la_CPPFLAGS) $(CPPFLAGS) $(libpal_la_CFLAGS) $(CFLAGS) -c -o libpal_la-palCaldj.lo `test -f 'palCaldj.c' || echo '$(srcdir)/'`palCaldj.c libpal_la-palDafin.lo: palDafin.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(STAR_CPPFLAGS) $(libpal_la_CPPFLAGS) $(CPPFLAGS) $(libpal_la_CFLAGS) $(CFLAGS) -MT libpal_la-palDafin.lo -MD -MP -MF $(DEPDIR)/libpal_la-palDafin.Tpo -c -o libpal_la-palDafin.lo `test -f 'palDafin.c' || echo '$(srcdir)/'`palDafin.c @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/libpal_la-palDafin.Tpo $(DEPDIR)/libpal_la-palDafin.Plo @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='palDafin.c' object='libpal_la-palDafin.lo' libtool=yes @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(STAR_CPPFLAGS) $(libpal_la_CPPFLAGS) $(CPPFLAGS) $(libpal_la_CFLAGS) $(CFLAGS) -c -o libpal_la-palDafin.lo `test -f 'palDafin.c' || echo '$(srcdir)/'`palDafin.c libpal_la-palDe2h.lo: palDe2h.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(STAR_CPPFLAGS) $(libpal_la_CPPFLAGS) $(CPPFLAGS) $(libpal_la_CFLAGS) $(CFLAGS) -MT libpal_la-palDe2h.lo -MD -MP -MF $(DEPDIR)/libpal_la-palDe2h.Tpo -c -o libpal_la-palDe2h.lo `test -f 'palDe2h.c' || echo '$(srcdir)/'`palDe2h.c @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/libpal_la-palDe2h.Tpo $(DEPDIR)/libpal_la-palDe2h.Plo @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='palDe2h.c' object='libpal_la-palDe2h.lo' libtool=yes @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(STAR_CPPFLAGS) $(libpal_la_CPPFLAGS) $(CPPFLAGS) $(libpal_la_CFLAGS) $(CFLAGS) -c -o libpal_la-palDe2h.lo `test -f 'palDe2h.c' || echo '$(srcdir)/'`palDe2h.c libpal_la-palDeuler.lo: palDeuler.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(STAR_CPPFLAGS) $(libpal_la_CPPFLAGS) $(CPPFLAGS) $(libpal_la_CFLAGS) $(CFLAGS) -MT libpal_la-palDeuler.lo -MD -MP -MF $(DEPDIR)/libpal_la-palDeuler.Tpo -c -o libpal_la-palDeuler.lo `test -f 'palDeuler.c' || echo '$(srcdir)/'`palDeuler.c @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/libpal_la-palDeuler.Tpo $(DEPDIR)/libpal_la-palDeuler.Plo @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='palDeuler.c' object='libpal_la-palDeuler.lo' libtool=yes @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(STAR_CPPFLAGS) $(libpal_la_CPPFLAGS) $(CPPFLAGS) $(libpal_la_CFLAGS) $(CFLAGS) -c -o libpal_la-palDeuler.lo `test -f 'palDeuler.c' || echo '$(srcdir)/'`palDeuler.c libpal_la-palDfltin.lo: palDfltin.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(STAR_CPPFLAGS) $(libpal_la_CPPFLAGS) $(CPPFLAGS) $(libpal_la_CFLAGS) $(CFLAGS) -MT libpal_la-palDfltin.lo -MD -MP -MF $(DEPDIR)/libpal_la-palDfltin.Tpo -c -o libpal_la-palDfltin.lo `test -f 'palDfltin.c' || echo '$(srcdir)/'`palDfltin.c @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/libpal_la-palDfltin.Tpo $(DEPDIR)/libpal_la-palDfltin.Plo @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='palDfltin.c' object='libpal_la-palDfltin.lo' libtool=yes @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(STAR_CPPFLAGS) $(libpal_la_CPPFLAGS) $(CPPFLAGS) $(libpal_la_CFLAGS) $(CFLAGS) -c -o libpal_la-palDfltin.lo `test -f 'palDfltin.c' || echo '$(srcdir)/'`palDfltin.c libpal_la-palDh2e.lo: palDh2e.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(STAR_CPPFLAGS) $(libpal_la_CPPFLAGS) $(CPPFLAGS) $(libpal_la_CFLAGS) $(CFLAGS) -MT libpal_la-palDh2e.lo -MD -MP -MF $(DEPDIR)/libpal_la-palDh2e.Tpo -c -o libpal_la-palDh2e.lo `test -f 'palDh2e.c' || echo '$(srcdir)/'`palDh2e.c @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/libpal_la-palDh2e.Tpo $(DEPDIR)/libpal_la-palDh2e.Plo @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='palDh2e.c' object='libpal_la-palDh2e.lo' libtool=yes @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(STAR_CPPFLAGS) $(libpal_la_CPPFLAGS) $(CPPFLAGS) $(libpal_la_CFLAGS) $(CFLAGS) -c -o libpal_la-palDh2e.lo `test -f 'palDh2e.c' || echo '$(srcdir)/'`palDh2e.c libpal_la-palDjcal.lo: palDjcal.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(STAR_CPPFLAGS) $(libpal_la_CPPFLAGS) $(CPPFLAGS) $(libpal_la_CFLAGS) $(CFLAGS) -MT libpal_la-palDjcal.lo -MD -MP -MF $(DEPDIR)/libpal_la-palDjcal.Tpo -c -o libpal_la-palDjcal.lo `test -f 'palDjcal.c' || echo '$(srcdir)/'`palDjcal.c @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/libpal_la-palDjcal.Tpo $(DEPDIR)/libpal_la-palDjcal.Plo @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='palDjcal.c' object='libpal_la-palDjcal.lo' libtool=yes @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(STAR_CPPFLAGS) $(libpal_la_CPPFLAGS) $(CPPFLAGS) $(libpal_la_CFLAGS) $(CFLAGS) -c -o libpal_la-palDjcal.lo `test -f 'palDjcal.c' || echo '$(srcdir)/'`palDjcal.c libpal_la-palDmat.lo: palDmat.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(STAR_CPPFLAGS) $(libpal_la_CPPFLAGS) $(CPPFLAGS) $(libpal_la_CFLAGS) $(CFLAGS) -MT libpal_la-palDmat.lo -MD -MP -MF $(DEPDIR)/libpal_la-palDmat.Tpo -c -o libpal_la-palDmat.lo `test -f 'palDmat.c' || echo '$(srcdir)/'`palDmat.c @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/libpal_la-palDmat.Tpo $(DEPDIR)/libpal_la-palDmat.Plo @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='palDmat.c' object='libpal_la-palDmat.lo' libtool=yes @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(STAR_CPPFLAGS) $(libpal_la_CPPFLAGS) $(CPPFLAGS) $(libpal_la_CFLAGS) $(CFLAGS) -c -o libpal_la-palDmat.lo `test -f 'palDmat.c' || echo '$(srcdir)/'`palDmat.c libpal_la-palDs2tp.lo: palDs2tp.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(STAR_CPPFLAGS) $(libpal_la_CPPFLAGS) $(CPPFLAGS) $(libpal_la_CFLAGS) $(CFLAGS) -MT libpal_la-palDs2tp.lo -MD -MP -MF $(DEPDIR)/libpal_la-palDs2tp.Tpo -c -o libpal_la-palDs2tp.lo `test -f 'palDs2tp.c' || echo '$(srcdir)/'`palDs2tp.c @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/libpal_la-palDs2tp.Tpo $(DEPDIR)/libpal_la-palDs2tp.Plo @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='palDs2tp.c' object='libpal_la-palDs2tp.lo' libtool=yes @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(STAR_CPPFLAGS) $(libpal_la_CPPFLAGS) $(CPPFLAGS) $(libpal_la_CFLAGS) $(CFLAGS) -c -o libpal_la-palDs2tp.lo `test -f 'palDs2tp.c' || echo '$(srcdir)/'`palDs2tp.c libpal_la-palDat.lo: palDat.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(STAR_CPPFLAGS) $(libpal_la_CPPFLAGS) $(CPPFLAGS) $(libpal_la_CFLAGS) $(CFLAGS) -MT libpal_la-palDat.lo -MD -MP -MF $(DEPDIR)/libpal_la-palDat.Tpo -c -o libpal_la-palDat.lo `test -f 'palDat.c' || echo '$(srcdir)/'`palDat.c @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/libpal_la-palDat.Tpo $(DEPDIR)/libpal_la-palDat.Plo @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='palDat.c' object='libpal_la-palDat.lo' libtool=yes @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(STAR_CPPFLAGS) $(libpal_la_CPPFLAGS) $(CPPFLAGS) $(libpal_la_CFLAGS) $(CFLAGS) -c -o libpal_la-palDat.lo `test -f 'palDat.c' || echo '$(srcdir)/'`palDat.c libpal_la-palDmoon.lo: palDmoon.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(STAR_CPPFLAGS) $(libpal_la_CPPFLAGS) $(CPPFLAGS) $(libpal_la_CFLAGS) $(CFLAGS) -MT libpal_la-palDmoon.lo -MD -MP -MF $(DEPDIR)/libpal_la-palDmoon.Tpo -c -o libpal_la-palDmoon.lo `test -f 'palDmoon.c' || echo '$(srcdir)/'`palDmoon.c @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/libpal_la-palDmoon.Tpo $(DEPDIR)/libpal_la-palDmoon.Plo @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='palDmoon.c' object='libpal_la-palDmoon.lo' libtool=yes @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(STAR_CPPFLAGS) $(libpal_la_CPPFLAGS) $(CPPFLAGS) $(libpal_la_CFLAGS) $(CFLAGS) -c -o libpal_la-palDmoon.lo `test -f 'palDmoon.c' || echo '$(srcdir)/'`palDmoon.c libpal_la-palDrange.lo: palDrange.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(STAR_CPPFLAGS) $(libpal_la_CPPFLAGS) $(CPPFLAGS) $(libpal_la_CFLAGS) $(CFLAGS) -MT libpal_la-palDrange.lo -MD -MP -MF $(DEPDIR)/libpal_la-palDrange.Tpo -c -o libpal_la-palDrange.lo `test -f 'palDrange.c' || echo '$(srcdir)/'`palDrange.c @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/libpal_la-palDrange.Tpo $(DEPDIR)/libpal_la-palDrange.Plo @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='palDrange.c' object='libpal_la-palDrange.lo' libtool=yes @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(STAR_CPPFLAGS) $(libpal_la_CPPFLAGS) $(CPPFLAGS) $(libpal_la_CFLAGS) $(CFLAGS) -c -o libpal_la-palDrange.lo `test -f 'palDrange.c' || echo '$(srcdir)/'`palDrange.c libpal_la-palDt.lo: palDt.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(STAR_CPPFLAGS) $(libpal_la_CPPFLAGS) $(CPPFLAGS) $(libpal_la_CFLAGS) $(CFLAGS) -MT libpal_la-palDt.lo -MD -MP -MF $(DEPDIR)/libpal_la-palDt.Tpo -c -o libpal_la-palDt.lo `test -f 'palDt.c' || echo '$(srcdir)/'`palDt.c @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/libpal_la-palDt.Tpo $(DEPDIR)/libpal_la-palDt.Plo @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='palDt.c' object='libpal_la-palDt.lo' libtool=yes @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(STAR_CPPFLAGS) $(libpal_la_CPPFLAGS) $(CPPFLAGS) $(libpal_la_CFLAGS) $(CFLAGS) -c -o libpal_la-palDt.lo `test -f 'palDt.c' || echo '$(srcdir)/'`palDt.c libpal_la-palDtp2s.lo: palDtp2s.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(STAR_CPPFLAGS) $(libpal_la_CPPFLAGS) $(CPPFLAGS) $(libpal_la_CFLAGS) $(CFLAGS) -MT libpal_la-palDtp2s.lo -MD -MP -MF $(DEPDIR)/libpal_la-palDtp2s.Tpo -c -o libpal_la-palDtp2s.lo `test -f 'palDtp2s.c' || echo '$(srcdir)/'`palDtp2s.c @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/libpal_la-palDtp2s.Tpo $(DEPDIR)/libpal_la-palDtp2s.Plo @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='palDtp2s.c' object='libpal_la-palDtp2s.lo' libtool=yes @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(STAR_CPPFLAGS) $(libpal_la_CPPFLAGS) $(CPPFLAGS) $(libpal_la_CFLAGS) $(CFLAGS) -c -o libpal_la-palDtp2s.lo `test -f 'palDtp2s.c' || echo '$(srcdir)/'`palDtp2s.c libpal_la-palDtps2c.lo: palDtps2c.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(STAR_CPPFLAGS) $(libpal_la_CPPFLAGS) $(CPPFLAGS) $(libpal_la_CFLAGS) $(CFLAGS) -MT libpal_la-palDtps2c.lo -MD -MP -MF $(DEPDIR)/libpal_la-palDtps2c.Tpo -c -o libpal_la-palDtps2c.lo `test -f 'palDtps2c.c' || echo '$(srcdir)/'`palDtps2c.c @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/libpal_la-palDtps2c.Tpo $(DEPDIR)/libpal_la-palDtps2c.Plo @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='palDtps2c.c' object='libpal_la-palDtps2c.lo' libtool=yes @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(STAR_CPPFLAGS) $(libpal_la_CPPFLAGS) $(CPPFLAGS) $(libpal_la_CFLAGS) $(CFLAGS) -c -o libpal_la-palDtps2c.lo `test -f 'palDtps2c.c' || echo '$(srcdir)/'`palDtps2c.c libpal_la-palDtt.lo: palDtt.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(STAR_CPPFLAGS) $(libpal_la_CPPFLAGS) $(CPPFLAGS) $(libpal_la_CFLAGS) $(CFLAGS) -MT libpal_la-palDtt.lo -MD -MP -MF $(DEPDIR)/libpal_la-palDtt.Tpo -c -o libpal_la-palDtt.lo `test -f 'palDtt.c' || echo '$(srcdir)/'`palDtt.c @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/libpal_la-palDtt.Tpo $(DEPDIR)/libpal_la-palDtt.Plo @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='palDtt.c' object='libpal_la-palDtt.lo' libtool=yes @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(STAR_CPPFLAGS) $(libpal_la_CPPFLAGS) $(CPPFLAGS) $(libpal_la_CFLAGS) $(CFLAGS) -c -o libpal_la-palDtt.lo `test -f 'palDtt.c' || echo '$(srcdir)/'`palDtt.c libpal_la-palEcmat.lo: palEcmat.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(STAR_CPPFLAGS) $(libpal_la_CPPFLAGS) $(CPPFLAGS) $(libpal_la_CFLAGS) $(CFLAGS) -MT libpal_la-palEcmat.lo -MD -MP -MF $(DEPDIR)/libpal_la-palEcmat.Tpo -c -o libpal_la-palEcmat.lo `test -f 'palEcmat.c' || echo '$(srcdir)/'`palEcmat.c @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/libpal_la-palEcmat.Tpo $(DEPDIR)/libpal_la-palEcmat.Plo @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='palEcmat.c' object='libpal_la-palEcmat.lo' libtool=yes @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(STAR_CPPFLAGS) $(libpal_la_CPPFLAGS) $(CPPFLAGS) $(libpal_la_CFLAGS) $(CFLAGS) -c -o libpal_la-palEcmat.lo `test -f 'palEcmat.c' || echo '$(srcdir)/'`palEcmat.c libpal_la-palEl2ue.lo: palEl2ue.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(STAR_CPPFLAGS) $(libpal_la_CPPFLAGS) $(CPPFLAGS) $(libpal_la_CFLAGS) $(CFLAGS) -MT libpal_la-palEl2ue.lo -MD -MP -MF $(DEPDIR)/libpal_la-palEl2ue.Tpo -c -o libpal_la-palEl2ue.lo `test -f 'palEl2ue.c' || echo '$(srcdir)/'`palEl2ue.c @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/libpal_la-palEl2ue.Tpo $(DEPDIR)/libpal_la-palEl2ue.Plo @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='palEl2ue.c' object='libpal_la-palEl2ue.lo' libtool=yes @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(STAR_CPPFLAGS) $(libpal_la_CPPFLAGS) $(CPPFLAGS) $(libpal_la_CFLAGS) $(CFLAGS) -c -o libpal_la-palEl2ue.lo `test -f 'palEl2ue.c' || echo '$(srcdir)/'`palEl2ue.c libpal_la-palEpco.lo: palEpco.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(STAR_CPPFLAGS) $(libpal_la_CPPFLAGS) $(CPPFLAGS) $(libpal_la_CFLAGS) $(CFLAGS) -MT libpal_la-palEpco.lo -MD -MP -MF $(DEPDIR)/libpal_la-palEpco.Tpo -c -o libpal_la-palEpco.lo `test -f 'palEpco.c' || echo '$(srcdir)/'`palEpco.c @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/libpal_la-palEpco.Tpo $(DEPDIR)/libpal_la-palEpco.Plo @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='palEpco.c' object='libpal_la-palEpco.lo' libtool=yes @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(STAR_CPPFLAGS) $(libpal_la_CPPFLAGS) $(CPPFLAGS) $(libpal_la_CFLAGS) $(CFLAGS) -c -o libpal_la-palEpco.lo `test -f 'palEpco.c' || echo '$(srcdir)/'`palEpco.c libpal_la-palEpv.lo: palEpv.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(STAR_CPPFLAGS) $(libpal_la_CPPFLAGS) $(CPPFLAGS) $(libpal_la_CFLAGS) $(CFLAGS) -MT libpal_la-palEpv.lo -MD -MP -MF $(DEPDIR)/libpal_la-palEpv.Tpo -c -o libpal_la-palEpv.lo `test -f 'palEpv.c' || echo '$(srcdir)/'`palEpv.c @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/libpal_la-palEpv.Tpo $(DEPDIR)/libpal_la-palEpv.Plo @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='palEpv.c' object='libpal_la-palEpv.lo' libtool=yes @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(STAR_CPPFLAGS) $(libpal_la_CPPFLAGS) $(CPPFLAGS) $(libpal_la_CFLAGS) $(CFLAGS) -c -o libpal_la-palEpv.lo `test -f 'palEpv.c' || echo '$(srcdir)/'`palEpv.c libpal_la-palEtrms.lo: palEtrms.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(STAR_CPPFLAGS) $(libpal_la_CPPFLAGS) $(CPPFLAGS) $(libpal_la_CFLAGS) $(CFLAGS) -MT libpal_la-palEtrms.lo -MD -MP -MF $(DEPDIR)/libpal_la-palEtrms.Tpo -c -o libpal_la-palEtrms.lo `test -f 'palEtrms.c' || echo '$(srcdir)/'`palEtrms.c @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/libpal_la-palEtrms.Tpo $(DEPDIR)/libpal_la-palEtrms.Plo @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='palEtrms.c' object='libpal_la-palEtrms.lo' libtool=yes @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(STAR_CPPFLAGS) $(libpal_la_CPPFLAGS) $(CPPFLAGS) $(libpal_la_CFLAGS) $(CFLAGS) -c -o libpal_la-palEtrms.lo `test -f 'palEtrms.c' || echo '$(srcdir)/'`palEtrms.c libpal_la-palEqecl.lo: palEqecl.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(STAR_CPPFLAGS) $(libpal_la_CPPFLAGS) $(CPPFLAGS) $(libpal_la_CFLAGS) $(CFLAGS) -MT libpal_la-palEqecl.lo -MD -MP -MF $(DEPDIR)/libpal_la-palEqecl.Tpo -c -o libpal_la-palEqecl.lo `test -f 'palEqecl.c' || echo '$(srcdir)/'`palEqecl.c @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/libpal_la-palEqecl.Tpo $(DEPDIR)/libpal_la-palEqecl.Plo @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='palEqecl.c' object='libpal_la-palEqecl.lo' libtool=yes @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(STAR_CPPFLAGS) $(libpal_la_CPPFLAGS) $(CPPFLAGS) $(libpal_la_CFLAGS) $(CFLAGS) -c -o libpal_la-palEqecl.lo `test -f 'palEqecl.c' || echo '$(srcdir)/'`palEqecl.c libpal_la-palEqgal.lo: palEqgal.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(STAR_CPPFLAGS) $(libpal_la_CPPFLAGS) $(CPPFLAGS) $(libpal_la_CFLAGS) $(CFLAGS) -MT libpal_la-palEqgal.lo -MD -MP -MF $(DEPDIR)/libpal_la-palEqgal.Tpo -c -o libpal_la-palEqgal.lo `test -f 'palEqgal.c' || echo '$(srcdir)/'`palEqgal.c @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/libpal_la-palEqgal.Tpo $(DEPDIR)/libpal_la-palEqgal.Plo @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='palEqgal.c' object='libpal_la-palEqgal.lo' libtool=yes @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(STAR_CPPFLAGS) $(libpal_la_CPPFLAGS) $(CPPFLAGS) $(libpal_la_CFLAGS) $(CFLAGS) -c -o libpal_la-palEqgal.lo `test -f 'palEqgal.c' || echo '$(srcdir)/'`palEqgal.c libpal_la-palEvp.lo: palEvp.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(STAR_CPPFLAGS) $(libpal_la_CPPFLAGS) $(CPPFLAGS) $(libpal_la_CFLAGS) $(CFLAGS) -MT libpal_la-palEvp.lo -MD -MP -MF $(DEPDIR)/libpal_la-palEvp.Tpo -c -o libpal_la-palEvp.lo `test -f 'palEvp.c' || echo '$(srcdir)/'`palEvp.c @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/libpal_la-palEvp.Tpo $(DEPDIR)/libpal_la-palEvp.Plo @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='palEvp.c' object='libpal_la-palEvp.lo' libtool=yes @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(STAR_CPPFLAGS) $(libpal_la_CPPFLAGS) $(CPPFLAGS) $(libpal_la_CFLAGS) $(CFLAGS) -c -o libpal_la-palEvp.lo `test -f 'palEvp.c' || echo '$(srcdir)/'`palEvp.c libpal_la-palFk45z.lo: palFk45z.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(STAR_CPPFLAGS) $(libpal_la_CPPFLAGS) $(CPPFLAGS) $(libpal_la_CFLAGS) $(CFLAGS) -MT libpal_la-palFk45z.lo -MD -MP -MF $(DEPDIR)/libpal_la-palFk45z.Tpo -c -o libpal_la-palFk45z.lo `test -f 'palFk45z.c' || echo '$(srcdir)/'`palFk45z.c @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/libpal_la-palFk45z.Tpo $(DEPDIR)/libpal_la-palFk45z.Plo @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='palFk45z.c' object='libpal_la-palFk45z.lo' libtool=yes @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(STAR_CPPFLAGS) $(libpal_la_CPPFLAGS) $(CPPFLAGS) $(libpal_la_CFLAGS) $(CFLAGS) -c -o libpal_la-palFk45z.lo `test -f 'palFk45z.c' || echo '$(srcdir)/'`palFk45z.c libpal_la-palFk524.lo: palFk524.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(STAR_CPPFLAGS) $(libpal_la_CPPFLAGS) $(CPPFLAGS) $(libpal_la_CFLAGS) $(CFLAGS) -MT libpal_la-palFk524.lo -MD -MP -MF $(DEPDIR)/libpal_la-palFk524.Tpo -c -o libpal_la-palFk524.lo `test -f 'palFk524.c' || echo '$(srcdir)/'`palFk524.c @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/libpal_la-palFk524.Tpo $(DEPDIR)/libpal_la-palFk524.Plo @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='palFk524.c' object='libpal_la-palFk524.lo' libtool=yes @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(STAR_CPPFLAGS) $(libpal_la_CPPFLAGS) $(CPPFLAGS) $(libpal_la_CFLAGS) $(CFLAGS) -c -o libpal_la-palFk524.lo `test -f 'palFk524.c' || echo '$(srcdir)/'`palFk524.c libpal_la-palFk54z.lo: palFk54z.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(STAR_CPPFLAGS) $(libpal_la_CPPFLAGS) $(CPPFLAGS) $(libpal_la_CFLAGS) $(CFLAGS) -MT libpal_la-palFk54z.lo -MD -MP -MF $(DEPDIR)/libpal_la-palFk54z.Tpo -c -o libpal_la-palFk54z.lo `test -f 'palFk54z.c' || echo '$(srcdir)/'`palFk54z.c @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/libpal_la-palFk54z.Tpo $(DEPDIR)/libpal_la-palFk54z.Plo @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='palFk54z.c' object='libpal_la-palFk54z.lo' libtool=yes @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(STAR_CPPFLAGS) $(libpal_la_CPPFLAGS) $(CPPFLAGS) $(libpal_la_CFLAGS) $(CFLAGS) -c -o libpal_la-palFk54z.lo `test -f 'palFk54z.c' || echo '$(srcdir)/'`palFk54z.c libpal_la-palGaleq.lo: palGaleq.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(STAR_CPPFLAGS) $(libpal_la_CPPFLAGS) $(CPPFLAGS) $(libpal_la_CFLAGS) $(CFLAGS) -MT libpal_la-palGaleq.lo -MD -MP -MF $(DEPDIR)/libpal_la-palGaleq.Tpo -c -o libpal_la-palGaleq.lo `test -f 'palGaleq.c' || echo '$(srcdir)/'`palGaleq.c @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/libpal_la-palGaleq.Tpo $(DEPDIR)/libpal_la-palGaleq.Plo @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='palGaleq.c' object='libpal_la-palGaleq.lo' libtool=yes @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(STAR_CPPFLAGS) $(libpal_la_CPPFLAGS) $(CPPFLAGS) $(libpal_la_CFLAGS) $(CFLAGS) -c -o libpal_la-palGaleq.lo `test -f 'palGaleq.c' || echo '$(srcdir)/'`palGaleq.c libpal_la-palGalsup.lo: palGalsup.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(STAR_CPPFLAGS) $(libpal_la_CPPFLAGS) $(CPPFLAGS) $(libpal_la_CFLAGS) $(CFLAGS) -MT libpal_la-palGalsup.lo -MD -MP -MF $(DEPDIR)/libpal_la-palGalsup.Tpo -c -o libpal_la-palGalsup.lo `test -f 'palGalsup.c' || echo '$(srcdir)/'`palGalsup.c @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/libpal_la-palGalsup.Tpo $(DEPDIR)/libpal_la-palGalsup.Plo @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='palGalsup.c' object='libpal_la-palGalsup.lo' libtool=yes @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(STAR_CPPFLAGS) $(libpal_la_CPPFLAGS) $(CPPFLAGS) $(libpal_la_CFLAGS) $(CFLAGS) -c -o libpal_la-palGalsup.lo `test -f 'palGalsup.c' || echo '$(srcdir)/'`palGalsup.c libpal_la-palGe50.lo: palGe50.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(STAR_CPPFLAGS) $(libpal_la_CPPFLAGS) $(CPPFLAGS) $(libpal_la_CFLAGS) $(CFLAGS) -MT libpal_la-palGe50.lo -MD -MP -MF $(DEPDIR)/libpal_la-palGe50.Tpo -c -o libpal_la-palGe50.lo `test -f 'palGe50.c' || echo '$(srcdir)/'`palGe50.c @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/libpal_la-palGe50.Tpo $(DEPDIR)/libpal_la-palGe50.Plo @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='palGe50.c' object='libpal_la-palGe50.lo' libtool=yes @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(STAR_CPPFLAGS) $(libpal_la_CPPFLAGS) $(CPPFLAGS) $(libpal_la_CFLAGS) $(CFLAGS) -c -o libpal_la-palGe50.lo `test -f 'palGe50.c' || echo '$(srcdir)/'`palGe50.c libpal_la-palGeoc.lo: palGeoc.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(STAR_CPPFLAGS) $(libpal_la_CPPFLAGS) $(CPPFLAGS) $(libpal_la_CFLAGS) $(CFLAGS) -MT libpal_la-palGeoc.lo -MD -MP -MF $(DEPDIR)/libpal_la-palGeoc.Tpo -c -o libpal_la-palGeoc.lo `test -f 'palGeoc.c' || echo '$(srcdir)/'`palGeoc.c @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/libpal_la-palGeoc.Tpo $(DEPDIR)/libpal_la-palGeoc.Plo @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='palGeoc.c' object='libpal_la-palGeoc.lo' libtool=yes @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(STAR_CPPFLAGS) $(libpal_la_CPPFLAGS) $(CPPFLAGS) $(libpal_la_CFLAGS) $(CFLAGS) -c -o libpal_la-palGeoc.lo `test -f 'palGeoc.c' || echo '$(srcdir)/'`palGeoc.c libpal_la-palIntin.lo: palIntin.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(STAR_CPPFLAGS) $(libpal_la_CPPFLAGS) $(CPPFLAGS) $(libpal_la_CFLAGS) $(CFLAGS) -MT libpal_la-palIntin.lo -MD -MP -MF $(DEPDIR)/libpal_la-palIntin.Tpo -c -o libpal_la-palIntin.lo `test -f 'palIntin.c' || echo '$(srcdir)/'`palIntin.c @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/libpal_la-palIntin.Tpo $(DEPDIR)/libpal_la-palIntin.Plo @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='palIntin.c' object='libpal_la-palIntin.lo' libtool=yes @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(STAR_CPPFLAGS) $(libpal_la_CPPFLAGS) $(CPPFLAGS) $(libpal_la_CFLAGS) $(CFLAGS) -c -o libpal_la-palIntin.lo `test -f 'palIntin.c' || echo '$(srcdir)/'`palIntin.c libpal_la-palMap.lo: palMap.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(STAR_CPPFLAGS) $(libpal_la_CPPFLAGS) $(CPPFLAGS) $(libpal_la_CFLAGS) $(CFLAGS) -MT libpal_la-palMap.lo -MD -MP -MF $(DEPDIR)/libpal_la-palMap.Tpo -c -o libpal_la-palMap.lo `test -f 'palMap.c' || echo '$(srcdir)/'`palMap.c @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/libpal_la-palMap.Tpo $(DEPDIR)/libpal_la-palMap.Plo @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='palMap.c' object='libpal_la-palMap.lo' libtool=yes @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(STAR_CPPFLAGS) $(libpal_la_CPPFLAGS) $(CPPFLAGS) $(libpal_la_CFLAGS) $(CFLAGS) -c -o libpal_la-palMap.lo `test -f 'palMap.c' || echo '$(srcdir)/'`palMap.c libpal_la-palMappa.lo: palMappa.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(STAR_CPPFLAGS) $(libpal_la_CPPFLAGS) $(CPPFLAGS) $(libpal_la_CFLAGS) $(CFLAGS) -MT libpal_la-palMappa.lo -MD -MP -MF $(DEPDIR)/libpal_la-palMappa.Tpo -c -o libpal_la-palMappa.lo `test -f 'palMappa.c' || echo '$(srcdir)/'`palMappa.c @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/libpal_la-palMappa.Tpo $(DEPDIR)/libpal_la-palMappa.Plo @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='palMappa.c' object='libpal_la-palMappa.lo' libtool=yes @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(STAR_CPPFLAGS) $(libpal_la_CPPFLAGS) $(CPPFLAGS) $(libpal_la_CFLAGS) $(CFLAGS) -c -o libpal_la-palMappa.lo `test -f 'palMappa.c' || echo '$(srcdir)/'`palMappa.c libpal_la-palMapqk.lo: palMapqk.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(STAR_CPPFLAGS) $(libpal_la_CPPFLAGS) $(CPPFLAGS) $(libpal_la_CFLAGS) $(CFLAGS) -MT libpal_la-palMapqk.lo -MD -MP -MF $(DEPDIR)/libpal_la-palMapqk.Tpo -c -o libpal_la-palMapqk.lo `test -f 'palMapqk.c' || echo '$(srcdir)/'`palMapqk.c @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/libpal_la-palMapqk.Tpo $(DEPDIR)/libpal_la-palMapqk.Plo @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='palMapqk.c' object='libpal_la-palMapqk.lo' libtool=yes @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(STAR_CPPFLAGS) $(libpal_la_CPPFLAGS) $(CPPFLAGS) $(libpal_la_CFLAGS) $(CFLAGS) -c -o libpal_la-palMapqk.lo `test -f 'palMapqk.c' || echo '$(srcdir)/'`palMapqk.c libpal_la-palMapqkz.lo: palMapqkz.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(STAR_CPPFLAGS) $(libpal_la_CPPFLAGS) $(CPPFLAGS) $(libpal_la_CFLAGS) $(CFLAGS) -MT libpal_la-palMapqkz.lo -MD -MP -MF $(DEPDIR)/libpal_la-palMapqkz.Tpo -c -o libpal_la-palMapqkz.lo `test -f 'palMapqkz.c' || echo '$(srcdir)/'`palMapqkz.c @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/libpal_la-palMapqkz.Tpo $(DEPDIR)/libpal_la-palMapqkz.Plo @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='palMapqkz.c' object='libpal_la-palMapqkz.lo' libtool=yes @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(STAR_CPPFLAGS) $(libpal_la_CPPFLAGS) $(CPPFLAGS) $(libpal_la_CFLAGS) $(CFLAGS) -c -o libpal_la-palMapqkz.lo `test -f 'palMapqkz.c' || echo '$(srcdir)/'`palMapqkz.c libpal_la-palNut.lo: palNut.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(STAR_CPPFLAGS) $(libpal_la_CPPFLAGS) $(CPPFLAGS) $(libpal_la_CFLAGS) $(CFLAGS) -MT libpal_la-palNut.lo -MD -MP -MF $(DEPDIR)/libpal_la-palNut.Tpo -c -o libpal_la-palNut.lo `test -f 'palNut.c' || echo '$(srcdir)/'`palNut.c @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/libpal_la-palNut.Tpo $(DEPDIR)/libpal_la-palNut.Plo @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='palNut.c' object='libpal_la-palNut.lo' libtool=yes @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(STAR_CPPFLAGS) $(libpal_la_CPPFLAGS) $(CPPFLAGS) $(libpal_la_CFLAGS) $(CFLAGS) -c -o libpal_la-palNut.lo `test -f 'palNut.c' || echo '$(srcdir)/'`palNut.c libpal_la-palNutc.lo: palNutc.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(STAR_CPPFLAGS) $(libpal_la_CPPFLAGS) $(CPPFLAGS) $(libpal_la_CFLAGS) $(CFLAGS) -MT libpal_la-palNutc.lo -MD -MP -MF $(DEPDIR)/libpal_la-palNutc.Tpo -c -o libpal_la-palNutc.lo `test -f 'palNutc.c' || echo '$(srcdir)/'`palNutc.c @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/libpal_la-palNutc.Tpo $(DEPDIR)/libpal_la-palNutc.Plo @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='palNutc.c' object='libpal_la-palNutc.lo' libtool=yes @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(STAR_CPPFLAGS) $(libpal_la_CPPFLAGS) $(CPPFLAGS) $(libpal_la_CFLAGS) $(CFLAGS) -c -o libpal_la-palNutc.lo `test -f 'palNutc.c' || echo '$(srcdir)/'`palNutc.c libpal_la-palOap.lo: palOap.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(STAR_CPPFLAGS) $(libpal_la_CPPFLAGS) $(CPPFLAGS) $(libpal_la_CFLAGS) $(CFLAGS) -MT libpal_la-palOap.lo -MD -MP -MF $(DEPDIR)/libpal_la-palOap.Tpo -c -o libpal_la-palOap.lo `test -f 'palOap.c' || echo '$(srcdir)/'`palOap.c @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/libpal_la-palOap.Tpo $(DEPDIR)/libpal_la-palOap.Plo @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='palOap.c' object='libpal_la-palOap.lo' libtool=yes @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(STAR_CPPFLAGS) $(libpal_la_CPPFLAGS) $(CPPFLAGS) $(libpal_la_CFLAGS) $(CFLAGS) -c -o libpal_la-palOap.lo `test -f 'palOap.c' || echo '$(srcdir)/'`palOap.c libpal_la-palOapqk.lo: palOapqk.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(STAR_CPPFLAGS) $(libpal_la_CPPFLAGS) $(CPPFLAGS) $(libpal_la_CFLAGS) $(CFLAGS) -MT libpal_la-palOapqk.lo -MD -MP -MF $(DEPDIR)/libpal_la-palOapqk.Tpo -c -o libpal_la-palOapqk.lo `test -f 'palOapqk.c' || echo '$(srcdir)/'`palOapqk.c @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/libpal_la-palOapqk.Tpo $(DEPDIR)/libpal_la-palOapqk.Plo @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='palOapqk.c' object='libpal_la-palOapqk.lo' libtool=yes @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(STAR_CPPFLAGS) $(libpal_la_CPPFLAGS) $(CPPFLAGS) $(libpal_la_CFLAGS) $(CFLAGS) -c -o libpal_la-palOapqk.lo `test -f 'palOapqk.c' || echo '$(srcdir)/'`palOapqk.c libpal_la-palObs.lo: palObs.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(STAR_CPPFLAGS) $(libpal_la_CPPFLAGS) $(CPPFLAGS) $(libpal_la_CFLAGS) $(CFLAGS) -MT libpal_la-palObs.lo -MD -MP -MF $(DEPDIR)/libpal_la-palObs.Tpo -c -o libpal_la-palObs.lo `test -f 'palObs.c' || echo '$(srcdir)/'`palObs.c @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/libpal_la-palObs.Tpo $(DEPDIR)/libpal_la-palObs.Plo @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='palObs.c' object='libpal_la-palObs.lo' libtool=yes @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(STAR_CPPFLAGS) $(libpal_la_CPPFLAGS) $(CPPFLAGS) $(libpal_la_CFLAGS) $(CFLAGS) -c -o libpal_la-palObs.lo `test -f 'palObs.c' || echo '$(srcdir)/'`palObs.c libpal_la-palPa.lo: palPa.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(STAR_CPPFLAGS) $(libpal_la_CPPFLAGS) $(CPPFLAGS) $(libpal_la_CFLAGS) $(CFLAGS) -MT libpal_la-palPa.lo -MD -MP -MF $(DEPDIR)/libpal_la-palPa.Tpo -c -o libpal_la-palPa.lo `test -f 'palPa.c' || echo '$(srcdir)/'`palPa.c @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/libpal_la-palPa.Tpo $(DEPDIR)/libpal_la-palPa.Plo @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='palPa.c' object='libpal_la-palPa.lo' libtool=yes @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(STAR_CPPFLAGS) $(libpal_la_CPPFLAGS) $(CPPFLAGS) $(libpal_la_CFLAGS) $(CFLAGS) -c -o libpal_la-palPa.lo `test -f 'palPa.c' || echo '$(srcdir)/'`palPa.c libpal_la-palPertel.lo: palPertel.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(STAR_CPPFLAGS) $(libpal_la_CPPFLAGS) $(CPPFLAGS) $(libpal_la_CFLAGS) $(CFLAGS) -MT libpal_la-palPertel.lo -MD -MP -MF $(DEPDIR)/libpal_la-palPertel.Tpo -c -o libpal_la-palPertel.lo `test -f 'palPertel.c' || echo '$(srcdir)/'`palPertel.c @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/libpal_la-palPertel.Tpo $(DEPDIR)/libpal_la-palPertel.Plo @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='palPertel.c' object='libpal_la-palPertel.lo' libtool=yes @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(STAR_CPPFLAGS) $(libpal_la_CPPFLAGS) $(CPPFLAGS) $(libpal_la_CFLAGS) $(CFLAGS) -c -o libpal_la-palPertel.lo `test -f 'palPertel.c' || echo '$(srcdir)/'`palPertel.c libpal_la-palPertue.lo: palPertue.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(STAR_CPPFLAGS) $(libpal_la_CPPFLAGS) $(CPPFLAGS) $(libpal_la_CFLAGS) $(CFLAGS) -MT libpal_la-palPertue.lo -MD -MP -MF $(DEPDIR)/libpal_la-palPertue.Tpo -c -o libpal_la-palPertue.lo `test -f 'palPertue.c' || echo '$(srcdir)/'`palPertue.c @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/libpal_la-palPertue.Tpo $(DEPDIR)/libpal_la-palPertue.Plo @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='palPertue.c' object='libpal_la-palPertue.lo' libtool=yes @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(STAR_CPPFLAGS) $(libpal_la_CPPFLAGS) $(CPPFLAGS) $(libpal_la_CFLAGS) $(CFLAGS) -c -o libpal_la-palPertue.lo `test -f 'palPertue.c' || echo '$(srcdir)/'`palPertue.c libpal_la-palPlanel.lo: palPlanel.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(STAR_CPPFLAGS) $(libpal_la_CPPFLAGS) $(CPPFLAGS) $(libpal_la_CFLAGS) $(CFLAGS) -MT libpal_la-palPlanel.lo -MD -MP -MF $(DEPDIR)/libpal_la-palPlanel.Tpo -c -o libpal_la-palPlanel.lo `test -f 'palPlanel.c' || echo '$(srcdir)/'`palPlanel.c @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/libpal_la-palPlanel.Tpo $(DEPDIR)/libpal_la-palPlanel.Plo @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='palPlanel.c' object='libpal_la-palPlanel.lo' libtool=yes @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(STAR_CPPFLAGS) $(libpal_la_CPPFLAGS) $(CPPFLAGS) $(libpal_la_CFLAGS) $(CFLAGS) -c -o libpal_la-palPlanel.lo `test -f 'palPlanel.c' || echo '$(srcdir)/'`palPlanel.c libpal_la-palPlanet.lo: palPlanet.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(STAR_CPPFLAGS) $(libpal_la_CPPFLAGS) $(CPPFLAGS) $(libpal_la_CFLAGS) $(CFLAGS) -MT libpal_la-palPlanet.lo -MD -MP -MF $(DEPDIR)/libpal_la-palPlanet.Tpo -c -o libpal_la-palPlanet.lo `test -f 'palPlanet.c' || echo '$(srcdir)/'`palPlanet.c @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/libpal_la-palPlanet.Tpo $(DEPDIR)/libpal_la-palPlanet.Plo @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='palPlanet.c' object='libpal_la-palPlanet.lo' libtool=yes @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(STAR_CPPFLAGS) $(libpal_la_CPPFLAGS) $(CPPFLAGS) $(libpal_la_CFLAGS) $(CFLAGS) -c -o libpal_la-palPlanet.lo `test -f 'palPlanet.c' || echo '$(srcdir)/'`palPlanet.c libpal_la-palPlante.lo: palPlante.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(STAR_CPPFLAGS) $(libpal_la_CPPFLAGS) $(CPPFLAGS) $(libpal_la_CFLAGS) $(CFLAGS) -MT libpal_la-palPlante.lo -MD -MP -MF $(DEPDIR)/libpal_la-palPlante.Tpo -c -o libpal_la-palPlante.lo `test -f 'palPlante.c' || echo '$(srcdir)/'`palPlante.c @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/libpal_la-palPlante.Tpo $(DEPDIR)/libpal_la-palPlante.Plo @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='palPlante.c' object='libpal_la-palPlante.lo' libtool=yes @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(STAR_CPPFLAGS) $(libpal_la_CPPFLAGS) $(CPPFLAGS) $(libpal_la_CFLAGS) $(CFLAGS) -c -o libpal_la-palPlante.lo `test -f 'palPlante.c' || echo '$(srcdir)/'`palPlante.c libpal_la-palPlantu.lo: palPlantu.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(STAR_CPPFLAGS) $(libpal_la_CPPFLAGS) $(CPPFLAGS) $(libpal_la_CFLAGS) $(CFLAGS) -MT libpal_la-palPlantu.lo -MD -MP -MF $(DEPDIR)/libpal_la-palPlantu.Tpo -c -o libpal_la-palPlantu.lo `test -f 'palPlantu.c' || echo '$(srcdir)/'`palPlantu.c @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/libpal_la-palPlantu.Tpo $(DEPDIR)/libpal_la-palPlantu.Plo @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='palPlantu.c' object='libpal_la-palPlantu.lo' libtool=yes @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(STAR_CPPFLAGS) $(libpal_la_CPPFLAGS) $(CPPFLAGS) $(libpal_la_CFLAGS) $(CFLAGS) -c -o libpal_la-palPlantu.lo `test -f 'palPlantu.c' || echo '$(srcdir)/'`palPlantu.c libpal_la-palPm.lo: palPm.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(STAR_CPPFLAGS) $(libpal_la_CPPFLAGS) $(CPPFLAGS) $(libpal_la_CFLAGS) $(CFLAGS) -MT libpal_la-palPm.lo -MD -MP -MF $(DEPDIR)/libpal_la-palPm.Tpo -c -o libpal_la-palPm.lo `test -f 'palPm.c' || echo '$(srcdir)/'`palPm.c @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/libpal_la-palPm.Tpo $(DEPDIR)/libpal_la-palPm.Plo @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='palPm.c' object='libpal_la-palPm.lo' libtool=yes @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(STAR_CPPFLAGS) $(libpal_la_CPPFLAGS) $(CPPFLAGS) $(libpal_la_CFLAGS) $(CFLAGS) -c -o libpal_la-palPm.lo `test -f 'palPm.c' || echo '$(srcdir)/'`palPm.c libpal_la-palPrebn.lo: palPrebn.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(STAR_CPPFLAGS) $(libpal_la_CPPFLAGS) $(CPPFLAGS) $(libpal_la_CFLAGS) $(CFLAGS) -MT libpal_la-palPrebn.lo -MD -MP -MF $(DEPDIR)/libpal_la-palPrebn.Tpo -c -o libpal_la-palPrebn.lo `test -f 'palPrebn.c' || echo '$(srcdir)/'`palPrebn.c @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/libpal_la-palPrebn.Tpo $(DEPDIR)/libpal_la-palPrebn.Plo @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='palPrebn.c' object='libpal_la-palPrebn.lo' libtool=yes @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(STAR_CPPFLAGS) $(libpal_la_CPPFLAGS) $(CPPFLAGS) $(libpal_la_CFLAGS) $(CFLAGS) -c -o libpal_la-palPrebn.lo `test -f 'palPrebn.c' || echo '$(srcdir)/'`palPrebn.c libpal_la-palPrec.lo: palPrec.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(STAR_CPPFLAGS) $(libpal_la_CPPFLAGS) $(CPPFLAGS) $(libpal_la_CFLAGS) $(CFLAGS) -MT libpal_la-palPrec.lo -MD -MP -MF $(DEPDIR)/libpal_la-palPrec.Tpo -c -o libpal_la-palPrec.lo `test -f 'palPrec.c' || echo '$(srcdir)/'`palPrec.c @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/libpal_la-palPrec.Tpo $(DEPDIR)/libpal_la-palPrec.Plo @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='palPrec.c' object='libpal_la-palPrec.lo' libtool=yes @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(STAR_CPPFLAGS) $(libpal_la_CPPFLAGS) $(CPPFLAGS) $(libpal_la_CFLAGS) $(CFLAGS) -c -o libpal_la-palPrec.lo `test -f 'palPrec.c' || echo '$(srcdir)/'`palPrec.c libpal_la-palPreces.lo: palPreces.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(STAR_CPPFLAGS) $(libpal_la_CPPFLAGS) $(CPPFLAGS) $(libpal_la_CFLAGS) $(CFLAGS) -MT libpal_la-palPreces.lo -MD -MP -MF $(DEPDIR)/libpal_la-palPreces.Tpo -c -o libpal_la-palPreces.lo `test -f 'palPreces.c' || echo '$(srcdir)/'`palPreces.c @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/libpal_la-palPreces.Tpo $(DEPDIR)/libpal_la-palPreces.Plo @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='palPreces.c' object='libpal_la-palPreces.lo' libtool=yes @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(STAR_CPPFLAGS) $(libpal_la_CPPFLAGS) $(CPPFLAGS) $(libpal_la_CFLAGS) $(CFLAGS) -c -o libpal_la-palPreces.lo `test -f 'palPreces.c' || echo '$(srcdir)/'`palPreces.c libpal_la-palPrenut.lo: palPrenut.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(STAR_CPPFLAGS) $(libpal_la_CPPFLAGS) $(CPPFLAGS) $(libpal_la_CFLAGS) $(CFLAGS) -MT libpal_la-palPrenut.lo -MD -MP -MF $(DEPDIR)/libpal_la-palPrenut.Tpo -c -o libpal_la-palPrenut.lo `test -f 'palPrenut.c' || echo '$(srcdir)/'`palPrenut.c @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/libpal_la-palPrenut.Tpo $(DEPDIR)/libpal_la-palPrenut.Plo @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='palPrenut.c' object='libpal_la-palPrenut.lo' libtool=yes @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(STAR_CPPFLAGS) $(libpal_la_CPPFLAGS) $(CPPFLAGS) $(libpal_la_CFLAGS) $(CFLAGS) -c -o libpal_la-palPrenut.lo `test -f 'palPrenut.c' || echo '$(srcdir)/'`palPrenut.c libpal_la-palPv2el.lo: palPv2el.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(STAR_CPPFLAGS) $(libpal_la_CPPFLAGS) $(CPPFLAGS) $(libpal_la_CFLAGS) $(CFLAGS) -MT libpal_la-palPv2el.lo -MD -MP -MF $(DEPDIR)/libpal_la-palPv2el.Tpo -c -o libpal_la-palPv2el.lo `test -f 'palPv2el.c' || echo '$(srcdir)/'`palPv2el.c @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/libpal_la-palPv2el.Tpo $(DEPDIR)/libpal_la-palPv2el.Plo @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='palPv2el.c' object='libpal_la-palPv2el.lo' libtool=yes @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(STAR_CPPFLAGS) $(libpal_la_CPPFLAGS) $(CPPFLAGS) $(libpal_la_CFLAGS) $(CFLAGS) -c -o libpal_la-palPv2el.lo `test -f 'palPv2el.c' || echo '$(srcdir)/'`palPv2el.c libpal_la-palPv2ue.lo: palPv2ue.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(STAR_CPPFLAGS) $(libpal_la_CPPFLAGS) $(CPPFLAGS) $(libpal_la_CFLAGS) $(CFLAGS) -MT libpal_la-palPv2ue.lo -MD -MP -MF $(DEPDIR)/libpal_la-palPv2ue.Tpo -c -o libpal_la-palPv2ue.lo `test -f 'palPv2ue.c' || echo '$(srcdir)/'`palPv2ue.c @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/libpal_la-palPv2ue.Tpo $(DEPDIR)/libpal_la-palPv2ue.Plo @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='palPv2ue.c' object='libpal_la-palPv2ue.lo' libtool=yes @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(STAR_CPPFLAGS) $(libpal_la_CPPFLAGS) $(CPPFLAGS) $(libpal_la_CFLAGS) $(CFLAGS) -c -o libpal_la-palPv2ue.lo `test -f 'palPv2ue.c' || echo '$(srcdir)/'`palPv2ue.c libpal_la-palPvobs.lo: palPvobs.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(STAR_CPPFLAGS) $(libpal_la_CPPFLAGS) $(CPPFLAGS) $(libpal_la_CFLAGS) $(CFLAGS) -MT libpal_la-palPvobs.lo -MD -MP -MF $(DEPDIR)/libpal_la-palPvobs.Tpo -c -o libpal_la-palPvobs.lo `test -f 'palPvobs.c' || echo '$(srcdir)/'`palPvobs.c @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/libpal_la-palPvobs.Tpo $(DEPDIR)/libpal_la-palPvobs.Plo @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='palPvobs.c' object='libpal_la-palPvobs.lo' libtool=yes @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(STAR_CPPFLAGS) $(libpal_la_CPPFLAGS) $(CPPFLAGS) $(libpal_la_CFLAGS) $(CFLAGS) -c -o libpal_la-palPvobs.lo `test -f 'palPvobs.c' || echo '$(srcdir)/'`palPvobs.c libpal_la-palRdplan.lo: palRdplan.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(STAR_CPPFLAGS) $(libpal_la_CPPFLAGS) $(CPPFLAGS) $(libpal_la_CFLAGS) $(CFLAGS) -MT libpal_la-palRdplan.lo -MD -MP -MF $(DEPDIR)/libpal_la-palRdplan.Tpo -c -o libpal_la-palRdplan.lo `test -f 'palRdplan.c' || echo '$(srcdir)/'`palRdplan.c @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/libpal_la-palRdplan.Tpo $(DEPDIR)/libpal_la-palRdplan.Plo @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='palRdplan.c' object='libpal_la-palRdplan.lo' libtool=yes @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(STAR_CPPFLAGS) $(libpal_la_CPPFLAGS) $(CPPFLAGS) $(libpal_la_CFLAGS) $(CFLAGS) -c -o libpal_la-palRdplan.lo `test -f 'palRdplan.c' || echo '$(srcdir)/'`palRdplan.c libpal_la-palRefco.lo: palRefco.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(STAR_CPPFLAGS) $(libpal_la_CPPFLAGS) $(CPPFLAGS) $(libpal_la_CFLAGS) $(CFLAGS) -MT libpal_la-palRefco.lo -MD -MP -MF $(DEPDIR)/libpal_la-palRefco.Tpo -c -o libpal_la-palRefco.lo `test -f 'palRefco.c' || echo '$(srcdir)/'`palRefco.c @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/libpal_la-palRefco.Tpo $(DEPDIR)/libpal_la-palRefco.Plo @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='palRefco.c' object='libpal_la-palRefco.lo' libtool=yes @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(STAR_CPPFLAGS) $(libpal_la_CPPFLAGS) $(CPPFLAGS) $(libpal_la_CFLAGS) $(CFLAGS) -c -o libpal_la-palRefco.lo `test -f 'palRefco.c' || echo '$(srcdir)/'`palRefco.c libpal_la-palRefro.lo: palRefro.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(STAR_CPPFLAGS) $(libpal_la_CPPFLAGS) $(CPPFLAGS) $(libpal_la_CFLAGS) $(CFLAGS) -MT libpal_la-palRefro.lo -MD -MP -MF $(DEPDIR)/libpal_la-palRefro.Tpo -c -o libpal_la-palRefro.lo `test -f 'palRefro.c' || echo '$(srcdir)/'`palRefro.c @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/libpal_la-palRefro.Tpo $(DEPDIR)/libpal_la-palRefro.Plo @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='palRefro.c' object='libpal_la-palRefro.lo' libtool=yes @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(STAR_CPPFLAGS) $(libpal_la_CPPFLAGS) $(CPPFLAGS) $(libpal_la_CFLAGS) $(CFLAGS) -c -o libpal_la-palRefro.lo `test -f 'palRefro.c' || echo '$(srcdir)/'`palRefro.c libpal_la-palRefv.lo: palRefv.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(STAR_CPPFLAGS) $(libpal_la_CPPFLAGS) $(CPPFLAGS) $(libpal_la_CFLAGS) $(CFLAGS) -MT libpal_la-palRefv.lo -MD -MP -MF $(DEPDIR)/libpal_la-palRefv.Tpo -c -o libpal_la-palRefv.lo `test -f 'palRefv.c' || echo '$(srcdir)/'`palRefv.c @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/libpal_la-palRefv.Tpo $(DEPDIR)/libpal_la-palRefv.Plo @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='palRefv.c' object='libpal_la-palRefv.lo' libtool=yes @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(STAR_CPPFLAGS) $(libpal_la_CPPFLAGS) $(CPPFLAGS) $(libpal_la_CFLAGS) $(CFLAGS) -c -o libpal_la-palRefv.lo `test -f 'palRefv.c' || echo '$(srcdir)/'`palRefv.c libpal_la-palRefz.lo: palRefz.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(STAR_CPPFLAGS) $(libpal_la_CPPFLAGS) $(CPPFLAGS) $(libpal_la_CFLAGS) $(CFLAGS) -MT libpal_la-palRefz.lo -MD -MP -MF $(DEPDIR)/libpal_la-palRefz.Tpo -c -o libpal_la-palRefz.lo `test -f 'palRefz.c' || echo '$(srcdir)/'`palRefz.c @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/libpal_la-palRefz.Tpo $(DEPDIR)/libpal_la-palRefz.Plo @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='palRefz.c' object='libpal_la-palRefz.lo' libtool=yes @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(STAR_CPPFLAGS) $(libpal_la_CPPFLAGS) $(CPPFLAGS) $(libpal_la_CFLAGS) $(CFLAGS) -c -o libpal_la-palRefz.lo `test -f 'palRefz.c' || echo '$(srcdir)/'`palRefz.c libpal_la-palRverot.lo: palRverot.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(STAR_CPPFLAGS) $(libpal_la_CPPFLAGS) $(CPPFLAGS) $(libpal_la_CFLAGS) $(CFLAGS) -MT libpal_la-palRverot.lo -MD -MP -MF $(DEPDIR)/libpal_la-palRverot.Tpo -c -o libpal_la-palRverot.lo `test -f 'palRverot.c' || echo '$(srcdir)/'`palRverot.c @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/libpal_la-palRverot.Tpo $(DEPDIR)/libpal_la-palRverot.Plo @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='palRverot.c' object='libpal_la-palRverot.lo' libtool=yes @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(STAR_CPPFLAGS) $(libpal_la_CPPFLAGS) $(CPPFLAGS) $(libpal_la_CFLAGS) $(CFLAGS) -c -o libpal_la-palRverot.lo `test -f 'palRverot.c' || echo '$(srcdir)/'`palRverot.c libpal_la-palRvgalc.lo: palRvgalc.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(STAR_CPPFLAGS) $(libpal_la_CPPFLAGS) $(CPPFLAGS) $(libpal_la_CFLAGS) $(CFLAGS) -MT libpal_la-palRvgalc.lo -MD -MP -MF $(DEPDIR)/libpal_la-palRvgalc.Tpo -c -o libpal_la-palRvgalc.lo `test -f 'palRvgalc.c' || echo '$(srcdir)/'`palRvgalc.c @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/libpal_la-palRvgalc.Tpo $(DEPDIR)/libpal_la-palRvgalc.Plo @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='palRvgalc.c' object='libpal_la-palRvgalc.lo' libtool=yes @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(STAR_CPPFLAGS) $(libpal_la_CPPFLAGS) $(CPPFLAGS) $(libpal_la_CFLAGS) $(CFLAGS) -c -o libpal_la-palRvgalc.lo `test -f 'palRvgalc.c' || echo '$(srcdir)/'`palRvgalc.c libpal_la-palRvlg.lo: palRvlg.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(STAR_CPPFLAGS) $(libpal_la_CPPFLAGS) $(CPPFLAGS) $(libpal_la_CFLAGS) $(CFLAGS) -MT libpal_la-palRvlg.lo -MD -MP -MF $(DEPDIR)/libpal_la-palRvlg.Tpo -c -o libpal_la-palRvlg.lo `test -f 'palRvlg.c' || echo '$(srcdir)/'`palRvlg.c @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/libpal_la-palRvlg.Tpo $(DEPDIR)/libpal_la-palRvlg.Plo @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='palRvlg.c' object='libpal_la-palRvlg.lo' libtool=yes @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(STAR_CPPFLAGS) $(libpal_la_CPPFLAGS) $(CPPFLAGS) $(libpal_la_CFLAGS) $(CFLAGS) -c -o libpal_la-palRvlg.lo `test -f 'palRvlg.c' || echo '$(srcdir)/'`palRvlg.c libpal_la-palRvlsrd.lo: palRvlsrd.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(STAR_CPPFLAGS) $(libpal_la_CPPFLAGS) $(CPPFLAGS) $(libpal_la_CFLAGS) $(CFLAGS) -MT libpal_la-palRvlsrd.lo -MD -MP -MF $(DEPDIR)/libpal_la-palRvlsrd.Tpo -c -o libpal_la-palRvlsrd.lo `test -f 'palRvlsrd.c' || echo '$(srcdir)/'`palRvlsrd.c @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/libpal_la-palRvlsrd.Tpo $(DEPDIR)/libpal_la-palRvlsrd.Plo @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='palRvlsrd.c' object='libpal_la-palRvlsrd.lo' libtool=yes @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(STAR_CPPFLAGS) $(libpal_la_CPPFLAGS) $(CPPFLAGS) $(libpal_la_CFLAGS) $(CFLAGS) -c -o libpal_la-palRvlsrd.lo `test -f 'palRvlsrd.c' || echo '$(srcdir)/'`palRvlsrd.c libpal_la-palRvlsrk.lo: palRvlsrk.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(STAR_CPPFLAGS) $(libpal_la_CPPFLAGS) $(CPPFLAGS) $(libpal_la_CFLAGS) $(CFLAGS) -MT libpal_la-palRvlsrk.lo -MD -MP -MF $(DEPDIR)/libpal_la-palRvlsrk.Tpo -c -o libpal_la-palRvlsrk.lo `test -f 'palRvlsrk.c' || echo '$(srcdir)/'`palRvlsrk.c @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/libpal_la-palRvlsrk.Tpo $(DEPDIR)/libpal_la-palRvlsrk.Plo @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='palRvlsrk.c' object='libpal_la-palRvlsrk.lo' libtool=yes @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(STAR_CPPFLAGS) $(libpal_la_CPPFLAGS) $(CPPFLAGS) $(libpal_la_CFLAGS) $(CFLAGS) -c -o libpal_la-palRvlsrk.lo `test -f 'palRvlsrk.c' || echo '$(srcdir)/'`palRvlsrk.c libpal_la-palSubet.lo: palSubet.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(STAR_CPPFLAGS) $(libpal_la_CPPFLAGS) $(CPPFLAGS) $(libpal_la_CFLAGS) $(CFLAGS) -MT libpal_la-palSubet.lo -MD -MP -MF $(DEPDIR)/libpal_la-palSubet.Tpo -c -o libpal_la-palSubet.lo `test -f 'palSubet.c' || echo '$(srcdir)/'`palSubet.c @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/libpal_la-palSubet.Tpo $(DEPDIR)/libpal_la-palSubet.Plo @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='palSubet.c' object='libpal_la-palSubet.lo' libtool=yes @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(STAR_CPPFLAGS) $(libpal_la_CPPFLAGS) $(CPPFLAGS) $(libpal_la_CFLAGS) $(CFLAGS) -c -o libpal_la-palSubet.lo `test -f 'palSubet.c' || echo '$(srcdir)/'`palSubet.c libpal_la-palSupgal.lo: palSupgal.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(STAR_CPPFLAGS) $(libpal_la_CPPFLAGS) $(CPPFLAGS) $(libpal_la_CFLAGS) $(CFLAGS) -MT libpal_la-palSupgal.lo -MD -MP -MF $(DEPDIR)/libpal_la-palSupgal.Tpo -c -o libpal_la-palSupgal.lo `test -f 'palSupgal.c' || echo '$(srcdir)/'`palSupgal.c @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/libpal_la-palSupgal.Tpo $(DEPDIR)/libpal_la-palSupgal.Plo @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='palSupgal.c' object='libpal_la-palSupgal.lo' libtool=yes @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(STAR_CPPFLAGS) $(libpal_la_CPPFLAGS) $(CPPFLAGS) $(libpal_la_CFLAGS) $(CFLAGS) -c -o libpal_la-palSupgal.lo `test -f 'palSupgal.c' || echo '$(srcdir)/'`palSupgal.c libpal_la-palUe2el.lo: palUe2el.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(STAR_CPPFLAGS) $(libpal_la_CPPFLAGS) $(CPPFLAGS) $(libpal_la_CFLAGS) $(CFLAGS) -MT libpal_la-palUe2el.lo -MD -MP -MF $(DEPDIR)/libpal_la-palUe2el.Tpo -c -o libpal_la-palUe2el.lo `test -f 'palUe2el.c' || echo '$(srcdir)/'`palUe2el.c @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/libpal_la-palUe2el.Tpo $(DEPDIR)/libpal_la-palUe2el.Plo @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='palUe2el.c' object='libpal_la-palUe2el.lo' libtool=yes @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(STAR_CPPFLAGS) $(libpal_la_CPPFLAGS) $(CPPFLAGS) $(libpal_la_CFLAGS) $(CFLAGS) -c -o libpal_la-palUe2el.lo `test -f 'palUe2el.c' || echo '$(srcdir)/'`palUe2el.c libpal_la-palUe2pv.lo: palUe2pv.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(STAR_CPPFLAGS) $(libpal_la_CPPFLAGS) $(CPPFLAGS) $(libpal_la_CFLAGS) $(CFLAGS) -MT libpal_la-palUe2pv.lo -MD -MP -MF $(DEPDIR)/libpal_la-palUe2pv.Tpo -c -o libpal_la-palUe2pv.lo `test -f 'palUe2pv.c' || echo '$(srcdir)/'`palUe2pv.c @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/libpal_la-palUe2pv.Tpo $(DEPDIR)/libpal_la-palUe2pv.Plo @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='palUe2pv.c' object='libpal_la-palUe2pv.lo' libtool=yes @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(STAR_CPPFLAGS) $(libpal_la_CPPFLAGS) $(CPPFLAGS) $(libpal_la_CFLAGS) $(CFLAGS) -c -o libpal_la-palUe2pv.lo `test -f 'palUe2pv.c' || echo '$(srcdir)/'`palUe2pv.c libpal_la-palOne2One.lo: palOne2One.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(STAR_CPPFLAGS) $(libpal_la_CPPFLAGS) $(CPPFLAGS) $(libpal_la_CFLAGS) $(CFLAGS) -MT libpal_la-palOne2One.lo -MD -MP -MF $(DEPDIR)/libpal_la-palOne2One.Tpo -c -o libpal_la-palOne2One.lo `test -f 'palOne2One.c' || echo '$(srcdir)/'`palOne2One.c @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/libpal_la-palOne2One.Tpo $(DEPDIR)/libpal_la-palOne2One.Plo @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='palOne2One.c' object='libpal_la-palOne2One.lo' libtool=yes @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(STAR_CPPFLAGS) $(libpal_la_CPPFLAGS) $(CPPFLAGS) $(libpal_la_CFLAGS) $(CFLAGS) -c -o libpal_la-palOne2One.lo `test -f 'palOne2One.c' || echo '$(srcdir)/'`palOne2One.c libpal_la-pal1Atms.lo: pal1Atms.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(STAR_CPPFLAGS) $(libpal_la_CPPFLAGS) $(CPPFLAGS) $(libpal_la_CFLAGS) $(CFLAGS) -MT libpal_la-pal1Atms.lo -MD -MP -MF $(DEPDIR)/libpal_la-pal1Atms.Tpo -c -o libpal_la-pal1Atms.lo `test -f 'pal1Atms.c' || echo '$(srcdir)/'`pal1Atms.c @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/libpal_la-pal1Atms.Tpo $(DEPDIR)/libpal_la-pal1Atms.Plo @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='pal1Atms.c' object='libpal_la-pal1Atms.lo' libtool=yes @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(STAR_CPPFLAGS) $(libpal_la_CPPFLAGS) $(CPPFLAGS) $(libpal_la_CFLAGS) $(CFLAGS) -c -o libpal_la-pal1Atms.lo `test -f 'pal1Atms.c' || echo '$(srcdir)/'`pal1Atms.c libpal_la-pal1Atmt.lo: pal1Atmt.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(STAR_CPPFLAGS) $(libpal_la_CPPFLAGS) $(CPPFLAGS) $(libpal_la_CFLAGS) $(CFLAGS) -MT libpal_la-pal1Atmt.lo -MD -MP -MF $(DEPDIR)/libpal_la-pal1Atmt.Tpo -c -o libpal_la-pal1Atmt.lo `test -f 'pal1Atmt.c' || echo '$(srcdir)/'`pal1Atmt.c @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/libpal_la-pal1Atmt.Tpo $(DEPDIR)/libpal_la-pal1Atmt.Plo @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='pal1Atmt.c' object='libpal_la-pal1Atmt.lo' libtool=yes @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(STAR_CPPFLAGS) $(libpal_la_CPPFLAGS) $(CPPFLAGS) $(libpal_la_CFLAGS) $(CFLAGS) -c -o libpal_la-pal1Atmt.lo `test -f 'pal1Atmt.c' || echo '$(srcdir)/'`pal1Atmt.c mostlyclean-libtool: -rm -f *.lo clean-libtool: -rm -rf .libs _libs distclean-libtool: -rm -f libtool config.lt install-dist_pkgdataDATA: $(dist_pkgdata_DATA) @$(NORMAL_INSTALL) @list='$(dist_pkgdata_DATA)'; test -n "$(pkgdatadir)" || list=; \ if test -n "$$list"; then \ echo " $(MKDIR_P) '$(DESTDIR)$(pkgdatadir)'"; \ $(MKDIR_P) "$(DESTDIR)$(pkgdatadir)" || exit 1; \ fi; \ for p in $$list; do \ if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \ echo "$$d$$p"; \ done | $(am__base_list) | \ while read files; do \ echo " $(INSTALL_DATA) $$files '$(DESTDIR)$(pkgdatadir)'"; \ $(INSTALL_DATA) $$files "$(DESTDIR)$(pkgdatadir)" || exit $$?; \ for f in $$files; do \ $(MANIFEST) && echo "MANIFEST:$(DESTDIR)$(pkgdatadir)/$$f" || :; \ done; \ done uninstall-dist_pkgdataDATA: @$(NORMAL_UNINSTALL) @list='$(dist_pkgdata_DATA)'; test -n "$(pkgdatadir)" || list=; \ files=`for p in $$list; do echo $$p; done | sed -e 's|^.*/||'`; \ dir='$(DESTDIR)$(pkgdatadir)'; $(am__uninstall_files_from_dir) install-dist_starnewsDATA: $(dist_starnews_DATA) @$(NORMAL_INSTALL) @list='$(dist_starnews_DATA)'; test -n "$(starnewsdir)" || list=; \ if test -n "$$list"; then \ echo " $(MKDIR_P) '$(DESTDIR)$(starnewsdir)'"; \ $(MKDIR_P) "$(DESTDIR)$(starnewsdir)" || exit 1; \ fi; \ for p in $$list; do \ if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \ echo "$$d$$p"; \ done | $(am__base_list) | \ while read files; do \ echo " $(INSTALL_DATA) $$files '$(DESTDIR)$(starnewsdir)'"; \ $(INSTALL_DATA) $$files "$(DESTDIR)$(starnewsdir)" || exit $$?; \ for f in $$files; do \ $(MANIFEST) && echo "MANIFEST:$(DESTDIR)$(starnewsdir)/$$f" || :; \ done; \ done uninstall-dist_starnewsDATA: @$(NORMAL_UNINSTALL) @list='$(dist_starnews_DATA)'; test -n "$(starnewsdir)" || list=; \ files=`for p in $$list; do echo $$p; done | sed -e 's|^.*/||'`; \ dir='$(DESTDIR)$(starnewsdir)'; $(am__uninstall_files_from_dir) install-stardocsDATA: $(stardocs_DATA) @$(NORMAL_INSTALL) $(mkdir_p) $(DESTDIR)$(stardocsdir) @list='$(stardocs_DATA)'; for p in $$list; do \ if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \ f="`echo $$p | sed -e 's|^.*/||'`"; \ if expr "x$$p" : 'x.*\.htx_tar$$' >/dev/null; then \ if test -n "$(PAX)"; then \ if $(MANIFEST); then \ $(PAX) -f $$d$$p | \ sed 's+^+MANIFEST:$(DESTDIR)$(stardocsdir)/+'; \ fi; \ cat $$d$$p | (cd $(DESTDIR)$(stardocsdir); $(PAX) -r); \ elif test -n "$(TAR)"; then \ if $(MANIFEST); then \ cat $$d$$p | (cd $(DESTDIR)$(stardocsdir); $(TAR) xBpvf -) | sed 's+^+MANIFEST:$(DESTDIR)$(stardocsdir)/+'; \ else \ cat $$d$$p | (cd $(DESTDIR)$(stardocsdir); $(TAR) xBpf -); \ fi; \ else \ echo "Neither tar nor pax!!!" >&2; \ exit 1; \ fi; \ else \ echo " $(stardocsDATA_INSTALL) $$d$$p $(DESTDIR)$(stardocsdir)/$$f"; \ $(stardocsDATA_INSTALL) $$d$$p $(DESTDIR)$(stardocsdir)/$$f; \ $(MANIFEST) && echo "MANIFEST:$(DESTDIR)$(stardocsdir)/$$f" || :; \ fi; \ done uninstall-stardocsDATA: @$(NORMAL_UNINSTALL) @list='$(stardocs_DATA)'; for p in $$list; do \ f="`echo $$p | sed -e 's|^.*/||'`"; \ echo " rm -f $(DESTDIR)$(stardocsdir)/$$f"; \ rm -f $(DESTDIR)$(stardocsdir)/$$f; \ done install-cincludeHEADERS: $(cinclude_HEADERS) @$(NORMAL_INSTALL) @list='$(cinclude_HEADERS)'; test -n "$(cincludedir)" || list=; \ if test -n "$$list"; then \ echo " $(MKDIR_P) '$(DESTDIR)$(cincludedir)'"; \ $(MKDIR_P) "$(DESTDIR)$(cincludedir)" || exit 1; \ fi; \ for p in $$list; do \ if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \ echo "$$d$$p"; \ done | $(am__base_list) | \ while read files; do \ echo " $(INSTALL_HEADER) $$files '$(DESTDIR)$(cincludedir)'"; \ $(INSTALL_HEADER) $$files "$(DESTDIR)$(cincludedir)" || exit $$?; \ for f in $$files; do \ $(MANIFEST) && echo "MANIFEST:$(DESTDIR)$(cincludedir)/$$f" || :; \ done; \ done uninstall-cincludeHEADERS: @$(NORMAL_UNINSTALL) @list='$(cinclude_HEADERS)'; test -n "$(cincludedir)" || list=; \ files=`for p in $$list; do echo $$p; done | sed -e 's|^.*/||'`; \ dir='$(DESTDIR)$(cincludedir)'; $(am__uninstall_files_from_dir) ID: $(am__tagged_files) $(am__define_uniq_tagged_files); mkid -fID $$unique tags: tags-am TAGS: tags tags-am: $(TAGS_DEPENDENCIES) $(am__tagged_files) set x; \ here=`pwd`; \ $(am__define_uniq_tagged_files); \ shift; \ if test -z "$(ETAGS_ARGS)$$*$$unique"; then :; else \ test -n "$$unique" || unique=$$empty_fix; \ if test $$# -gt 0; then \ $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \ "$$@" $$unique; \ else \ $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \ $$unique; \ fi; \ fi ctags: ctags-am CTAGS: ctags ctags-am: $(TAGS_DEPENDENCIES) $(am__tagged_files) $(am__define_uniq_tagged_files); \ test -z "$(CTAGS_ARGS)$$unique" \ || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \ $$unique GTAGS: here=`$(am__cd) $(top_builddir) && pwd` \ && $(am__cd) $(top_srcdir) \ && gtags -i $(GTAGS_ARGS) "$$here" cscope: cscope.files test ! -s cscope.files \ || $(CSCOPE) -b -q $(AM_CSCOPEFLAGS) $(CSCOPEFLAGS) -i cscope.files $(CSCOPE_ARGS) clean-cscope: -rm -f cscope.files cscope.files: clean-cscope cscopelist cscopelist: cscopelist-am cscopelist-am: $(am__tagged_files) list='$(am__tagged_files)'; \ case "$(srcdir)" in \ [\\/]* | ?:[\\/]*) sdir="$(srcdir)" ;; \ *) sdir=$(subdir)/$(srcdir) ;; \ esac; \ for i in $$list; do \ if test -f "$$i"; then \ echo "$(subdir)/$$i"; \ else \ echo "$$sdir/$$i"; \ fi; \ done >> $(top_builddir)/cscope.files distclean-tags: -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags -rm -f cscope.out cscope.in.out cscope.po.out cscope.files # Recover from deleted '.trs' file; this should ensure that # "rm -f foo.log; make foo.trs" re-run 'foo.test', and re-create # both 'foo.log' and 'foo.trs'. Break the recipe in two subshells # to avoid problems with "make -n". .log.trs: rm -f $< $@ $(MAKE) $(AM_MAKEFLAGS) $< # Leading 'am--fnord' is there to ensure the list of targets does not # expand to empty, as could happen e.g. with make check TESTS=''. am--fnord $(TEST_LOGS) $(TEST_LOGS:.log=.trs): $(am__force_recheck) am--force-recheck: @: $(TEST_SUITE_LOG): $(TEST_LOGS) @$(am__set_TESTS_bases); \ am__f_ok () { test -f "$$1" && test -r "$$1"; }; \ redo_bases=`for i in $$bases; do \ am__f_ok $$i.trs && am__f_ok $$i.log || echo $$i; \ done`; \ if test -n "$$redo_bases"; then \ redo_logs=`for i in $$redo_bases; do echo $$i.log; done`; \ redo_results=`for i in $$redo_bases; do echo $$i.trs; done`; \ if $(am__make_dryrun); then :; else \ rm -f $$redo_logs && rm -f $$redo_results || exit 1; \ fi; \ fi; \ if test -n "$$am__remaking_logs"; then \ echo "fatal: making $(TEST_SUITE_LOG): possible infinite" \ "recursion detected" >&2; \ else \ am__remaking_logs=yes $(MAKE) $(AM_MAKEFLAGS) $$redo_logs; \ fi; \ if $(am__make_dryrun); then :; else \ st=0; \ errmsg="fatal: making $(TEST_SUITE_LOG): failed to create"; \ for i in $$redo_bases; do \ test -f $$i.trs && test -r $$i.trs \ || { echo "$$errmsg $$i.trs" >&2; st=1; }; \ test -f $$i.log && test -r $$i.log \ || { echo "$$errmsg $$i.log" >&2; st=1; }; \ done; \ test $$st -eq 0 || exit 1; \ fi @$(am__sh_e_setup); $(am__tty_colors); $(am__set_TESTS_bases); \ ws='[ ]'; \ results=`for b in $$bases; do echo $$b.trs; done`; \ test -n "$$results" || results=/dev/null; \ all=` grep "^$$ws*:test-result:" $$results | wc -l`; \ pass=` grep "^$$ws*:test-result:$$ws*PASS" $$results | wc -l`; \ fail=` grep "^$$ws*:test-result:$$ws*FAIL" $$results | wc -l`; \ skip=` grep "^$$ws*:test-result:$$ws*SKIP" $$results | wc -l`; \ xfail=`grep "^$$ws*:test-result:$$ws*XFAIL" $$results | wc -l`; \ xpass=`grep "^$$ws*:test-result:$$ws*XPASS" $$results | wc -l`; \ error=`grep "^$$ws*:test-result:$$ws*ERROR" $$results | wc -l`; \ if test `expr $$fail + $$xpass + $$error` -eq 0; then \ success=true; \ else \ success=false; \ fi; \ br='==================='; br=$$br$$br$$br$$br; \ result_count () \ { \ if test x"$$1" = x"--maybe-color"; then \ maybe_colorize=yes; \ elif test x"$$1" = x"--no-color"; then \ maybe_colorize=no; \ else \ echo "$@: invalid 'result_count' usage" >&2; exit 4; \ fi; \ shift; \ desc=$$1 count=$$2; \ if test $$maybe_colorize = yes && test $$count -gt 0; then \ color_start=$$3 color_end=$$std; \ else \ color_start= color_end=; \ fi; \ echo "$${color_start}# $$desc $$count$${color_end}"; \ }; \ create_testsuite_report () \ { \ result_count $$1 "TOTAL:" $$all "$$brg"; \ result_count $$1 "PASS: " $$pass "$$grn"; \ result_count $$1 "SKIP: " $$skip "$$blu"; \ result_count $$1 "XFAIL:" $$xfail "$$lgn"; \ result_count $$1 "FAIL: " $$fail "$$red"; \ result_count $$1 "XPASS:" $$xpass "$$red"; \ result_count $$1 "ERROR:" $$error "$$mgn"; \ }; \ { \ echo "$(PACKAGE_STRING): $(subdir)/$(TEST_SUITE_LOG)" | \ $(am__rst_title); \ create_testsuite_report --no-color; \ echo; \ echo ".. contents:: :depth: 2"; \ echo; \ for b in $$bases; do echo $$b; done \ | $(am__create_global_log); \ } >$(TEST_SUITE_LOG).tmp || exit 1; \ mv $(TEST_SUITE_LOG).tmp $(TEST_SUITE_LOG); \ if $$success; then \ col="$$grn"; \ else \ col="$$red"; \ test x"$$VERBOSE" = x || cat $(TEST_SUITE_LOG); \ fi; \ echo "$${col}$$br$${std}"; \ echo "$${col}Testsuite summary for $(PACKAGE_STRING)$${std}"; \ echo "$${col}$$br$${std}"; \ create_testsuite_report --maybe-color; \ echo "$$col$$br$$std"; \ if $$success; then :; else \ echo "$${col}See $(subdir)/$(TEST_SUITE_LOG)$${std}"; \ if test -n "$(PACKAGE_BUGREPORT)"; then \ echo "$${col}Please report to $(PACKAGE_BUGREPORT)$${std}"; \ fi; \ echo "$$col$$br$$std"; \ fi; \ $$success || exit 1 check-TESTS: @list='$(RECHECK_LOGS)'; test -z "$$list" || rm -f $$list @list='$(RECHECK_LOGS:.log=.trs)'; test -z "$$list" || rm -f $$list @test -z "$(TEST_SUITE_LOG)" || rm -f $(TEST_SUITE_LOG) @set +e; $(am__set_TESTS_bases); \ log_list=`for i in $$bases; do echo $$i.log; done`; \ trs_list=`for i in $$bases; do echo $$i.trs; done`; \ log_list=`echo $$log_list`; trs_list=`echo $$trs_list`; \ $(MAKE) $(AM_MAKEFLAGS) $(TEST_SUITE_LOG) TEST_LOGS="$$log_list"; \ exit $$?; recheck: all $(check_PROGRAMS) @test -z "$(TEST_SUITE_LOG)" || rm -f $(TEST_SUITE_LOG) @set +e; $(am__set_TESTS_bases); \ bases=`for i in $$bases; do echo $$i; done \ | $(am__list_recheck_tests)` || exit 1; \ log_list=`for i in $$bases; do echo $$i.log; done`; \ log_list=`echo $$log_list`; \ $(MAKE) $(AM_MAKEFLAGS) $(TEST_SUITE_LOG) \ am__force_recheck=am--force-recheck \ TEST_LOGS="$$log_list"; \ exit $$? palTest.log: palTest$(EXEEXT) @p='palTest$(EXEEXT)'; \ b='palTest'; \ $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \ --log-file $$b.log --trs-file $$b.trs \ $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \ "$$tst" $(AM_TESTS_FD_REDIRECT) .test.log: @p='$<'; \ $(am__set_b); \ $(am__check_pre) $(TEST_LOG_DRIVER) --test-name "$$f" \ --log-file $$b.log --trs-file $$b.trs \ $(am__common_driver_flags) $(AM_TEST_LOG_DRIVER_FLAGS) $(TEST_LOG_DRIVER_FLAGS) -- $(TEST_LOG_COMPILE) \ "$$tst" $(AM_TESTS_FD_REDIRECT) @am__EXEEXT_TRUE@.test$(EXEEXT).log: @am__EXEEXT_TRUE@ @p='$<'; \ @am__EXEEXT_TRUE@ $(am__set_b); \ @am__EXEEXT_TRUE@ $(am__check_pre) $(TEST_LOG_DRIVER) --test-name "$$f" \ @am__EXEEXT_TRUE@ --log-file $$b.log --trs-file $$b.trs \ @am__EXEEXT_TRUE@ $(am__common_driver_flags) $(AM_TEST_LOG_DRIVER_FLAGS) $(TEST_LOG_DRIVER_FLAGS) -- $(TEST_LOG_COMPILE) \ @am__EXEEXT_TRUE@ "$$tst" $(AM_TESTS_FD_REDIRECT) # Don't express a dependency via the directory .htx, or else make # tries to delete it as an intermediate (we can't specify # .PRECIOUS targets within this file). # # Requires that the STAR2HTML substitution was made in # configure.ac, probably implicitly by the STAR_LATEX_DOCUMENTATION macro. # # We do not require that star2html be available on the build system, # and so we distribute built HTX documentation. Thus the following rules # should be invoked only in the predist state. However there isn't a # file we can use to test whether we're in that state, so write the # test so that it will fail if star2html isn't available. # # If file $(<:.tex=.htx_tar.extras) is present, then it contains a list # of files, each one of which should be added to the .htx directory before # it is rolled up into a tarball. # # Ignore the exit status of star2html, as it can sometimes fail harmlessly. .tex.dvi: LATEX=latex; latex2dvi () { $(LATEX2DVI); }; \ latex2dvi ${<:.tex=} .dvi.ps: dvips -o $@ $< .tex.ps: LATEX=latex; latex2dvi () { $(LATEX2DVI); }; \ latex2dvi ${<:.tex=} dvips -o $@ $(<:.tex=.dvi) .tex.pdf: LATEX=pdflatex; latex2dvi () { $(LATEX2DVI); }; \ latex2dvi ${<:.tex=} .tex.htx_tar: - @STAR2HTML@ $(STAR2HTML_FLAGS) $< test -d ${<:.tex=.htx} if test -f ${<:.tex=.htx_tar.extras}; then \ for f in `cat ${<:.tex=.htx_tar.extras}`; do \ test -f "$$f" && cp "$$f" ${<:.tex=.htx} || true; \ done; else :; fi tar cf $@ ${<:.tex=.htx} distdir: $(DISTFILES) $(am__remove_distdir) test -d "$(distdir)" || mkdir "$(distdir)" @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ list='$(DISTFILES)'; \ dist_files=`for file in $$list; do echo $$file; done | \ sed -e "s|^$$srcdirstrip/||;t" \ -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \ case $$dist_files in \ */*) $(MKDIR_P) `echo "$$dist_files" | \ sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \ sort -u` ;; \ esac; \ for file in $$dist_files; do \ if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \ if test -d $$d/$$file; then \ dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \ if test -d "$(distdir)/$$file"; then \ find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \ fi; \ if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \ cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \ find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \ fi; \ cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \ else \ test -f "$(distdir)/$$file" \ || cp -p $$d/$$file "$(distdir)/$$file" \ || exit 1; \ fi; \ done -test -n "$(am__skip_mode_fix)" \ || find "$(distdir)" -type d ! -perm -755 \ -exec chmod u+rwx,go+rx {} \; -o \ ! -type d ! -perm -444 -links 1 -exec chmod a+r {} \; -o \ ! -type d ! -perm -400 -exec chmod a+r {} \; -o \ ! -type d ! -perm -444 -exec $(install_sh) -c -m a+r {} {} \; \ || chmod -R a+r "$(distdir)" dist-gzip: distdir tardir=$(distdir) && $(am__tar) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).tar.gz $(am__post_remove_distdir) dist-bzip2: distdir tardir=$(distdir) && $(am__tar) | BZIP2=$${BZIP2--9} bzip2 -c >$(distdir).tar.bz2 $(am__post_remove_distdir) dist-lzip: distdir tardir=$(distdir) && $(am__tar) | lzip -c $${LZIP_OPT--9} >$(distdir).tar.lz $(am__post_remove_distdir) dist-xz: distdir tardir=$(distdir) && $(am__tar) | XZ_OPT=$${XZ_OPT--e} xz -c >$(distdir).tar.xz $(am__post_remove_distdir) dist-tarZ: distdir @echo WARNING: "Support for shar distribution archives is" \ "deprecated." >&2 @echo WARNING: "It will be removed altogether in Automake 2.0" >&2 tardir=$(distdir) && $(am__tar) | compress -c >$(distdir).tar.Z $(am__post_remove_distdir) dist-shar: distdir @echo WARNING: "Support for distribution archives compressed with" \ "legacy program 'compress' is deprecated." >&2 @echo WARNING: "It will be removed altogether in Automake 2.0" >&2 shar $(distdir) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).shar.gz $(am__post_remove_distdir) dist-zip: distdir -rm -f $(distdir).zip zip -rq $(distdir).zip $(distdir) $(am__post_remove_distdir) dist dist-all: $(MAKE) $(AM_MAKEFLAGS) $(DIST_TARGETS) am__post_remove_distdir='@:' $(am__post_remove_distdir) # This target untars the dist file and tries a VPATH configuration. Then # it guarantees that the distribution is self-contained by making another # tarfile. distcheck: dist case '$(DIST_ARCHIVES)' in \ *.tar.gz*) \ GZIP=$(GZIP_ENV) gzip -dc $(distdir).tar.gz | $(am__untar) ;;\ *.tar.bz2*) \ bzip2 -dc $(distdir).tar.bz2 | $(am__untar) ;;\ *.tar.lz*) \ lzip -dc $(distdir).tar.lz | $(am__untar) ;;\ *.tar.xz*) \ xz -dc $(distdir).tar.xz | $(am__untar) ;;\ *.tar.Z*) \ uncompress -c $(distdir).tar.Z | $(am__untar) ;;\ *.shar.gz*) \ GZIP=$(GZIP_ENV) gzip -dc $(distdir).shar.gz | unshar ;;\ *.zip*) \ unzip $(distdir).zip ;;\ esac chmod -R a-w $(distdir) chmod u+w $(distdir) mkdir $(distdir)/_build $(distdir)/_inst chmod a-w $(distdir) test -d $(distdir)/_build || exit 0; \ dc_install_base=`$(am__cd) $(distdir)/_inst && pwd | sed -e 's,^[^:\\/]:[\\/],/,'` \ && dc_destdir="$${TMPDIR-/tmp}/am-dc-$$$$/" \ && am__cwd=`pwd` \ && $(am__cd) $(distdir)/_build \ && ../configure \ $(AM_DISTCHECK_CONFIGURE_FLAGS) \ $(DISTCHECK_CONFIGURE_FLAGS) \ --srcdir=.. --prefix="$$dc_install_base" \ && $(MAKE) $(AM_MAKEFLAGS) \ && $(MAKE) $(AM_MAKEFLAGS) dvi \ && $(MAKE) $(AM_MAKEFLAGS) check \ && $(MAKE) $(AM_MAKEFLAGS) install \ && $(MAKE) $(AM_MAKEFLAGS) installcheck \ && $(MAKE) $(AM_MAKEFLAGS) uninstall \ && $(MAKE) $(AM_MAKEFLAGS) distuninstallcheck_dir="$$dc_install_base" \ distuninstallcheck \ && chmod -R a-w "$$dc_install_base" \ && ({ \ (cd ../.. && umask 077 && mkdir "$$dc_destdir") \ && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" install \ && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" uninstall \ && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" \ distuninstallcheck_dir="$$dc_destdir" distuninstallcheck; \ } || { rm -rf "$$dc_destdir"; exit 1; }) \ && rm -rf "$$dc_destdir" \ && $(MAKE) $(AM_MAKEFLAGS) dist \ && rm -rf $(DIST_ARCHIVES) \ && $(MAKE) $(AM_MAKEFLAGS) distcleancheck \ && cd "$$am__cwd" \ || exit 1 $(am__post_remove_distdir) @(echo "$(distdir) archives ready for distribution: "; \ list='$(DIST_ARCHIVES)'; for i in $$list; do echo $$i; done) | \ sed -e 1h -e 1s/./=/g -e 1p -e 1x -e '$$p' -e '$$x' distuninstallcheck: @test -n '$(distuninstallcheck_dir)' || { \ echo 'ERROR: trying to run $@ with an empty' \ '$$(distuninstallcheck_dir)' >&2; \ exit 1; \ }; \ $(am__cd) '$(distuninstallcheck_dir)' || { \ echo 'ERROR: cannot chdir into $(distuninstallcheck_dir)' >&2; \ exit 1; \ }; \ test `$(am__distuninstallcheck_listfiles) | wc -l` -eq 0 \ || { echo "ERROR: files left after uninstall:" ; \ if test -n "$(DESTDIR)"; then \ echo " (check DESTDIR support)"; \ fi ; \ $(distuninstallcheck_listfiles) ; \ exit 1; } >&2 distcleancheck: distclean @if test '$(srcdir)' = . ; then \ echo "ERROR: distcleancheck can only run from a VPATH build" ; \ exit 1 ; \ fi @test `$(distcleancheck_listfiles) | wc -l` -eq 0 \ || { echo "ERROR: files left in build directory after distclean:" ; \ $(distcleancheck_listfiles) ; \ exit 1; } >&2 check-am: all-am $(MAKE) $(AM_MAKEFLAGS) $(check_PROGRAMS) $(MAKE) $(AM_MAKEFLAGS) check-TESTS check: check-am all-am: Makefile $(LTLIBRARIES) $(DATA) $(HEADERS) config.h all-am: Makefile $(LTLIBRARIES) $(DATA) $(HEADERS) config.h installdirs: for dir in "$(DESTDIR)$(libdir)" "$(DESTDIR)$(pkgdatadir)" "$(DESTDIR)$(starnewsdir)" $(DESTDIR)$(stardocsdir) "$(DESTDIR)$(cincludedir)"; do \ test -z "$$dir" || $(MKDIR_P) "$$dir"; \ done install-exec: install-exec-am install-data: install-data-am uninstall: uninstall-am # If STAR_MANIFEST_DIR is defined and the MANIFEST variable has the # (default) string value 'false', then invoke the install-manifest # target, otherwise, do the real install rule. This means that if # this is being invoked from within an install-manifest rule further # up the process tree, we don't create another manifest, which would # stomp on the original. # # Any Makefile which does special installations should check the # $(MANIFEST) variable, which will be ':' or 'false', and if it is # true, emit a line to stdout, consisting of the string 'MANIFEST:' # followed by the full path of the file being installed. install: all-am if test -n "$(STAR_MANIFEST_DIR)" -a $(MANIFEST) = false; then \ $(MAKE) $(AM_MAKEFLAGS) install-manifest; \ else \ $(MAKE) $(AM_MAKEFLAGS) $(REAL_INSTALL); \ fi install-manifest: $(mkdir_p) $(DESTDIR)$(STAR_MANIFEST_DIR) MFX=$${TMPDIR-/tmp}/manifest-$$$$-1; rm -f $$MFX; MF_INST_OK=:; \ { $(MAKE) MANIFEST=: $(REAL_INSTALL) \ || MF_INST_OK=false; } \ | tee $$MFX | grep -v '^MANIFEST:' || :; \ if $$MF_INST_OK; then \ MF=$${TMPDIR-/tmp}/manifest-$$$$-2; rm -f $$MF; \ ( echo ""; \ echo ""; \ echo ""; \ echo "$(PACKAGE_VERSION)"; \ echo ""; \ sed -n 's/^MANIFEST://p;' $$MFX; \ echo ""; \ echo ""; \ ) >$$MF; \ $(INSTALL_DATA) $$MF $(DESTDIR)$(STAR_MANIFEST_DIR)/$(PACKAGE); \ else \ echo "Installation of component $(DESTDIR)$(STAR_MANIFEST_DIR)/$(PACKAGE) failed" >&2; \ fi; \ rm -f $$MFX $$MF; \ $$MF_INST_OK install-am: all-am @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am installcheck: installcheck-am install-strip: if test -z '$(STRIP)'; then \ $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ install; \ else \ $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'" install; \ fi mostlyclean-generic: -test -z "$(TEST_LOGS)" || rm -f $(TEST_LOGS) -test -z "$(TEST_LOGS:.log=.trs)" || rm -f $(TEST_LOGS:.log=.trs) -test -z "$(TEST_SUITE_LOG)" || rm -f $(TEST_SUITE_LOG) clean-generic: distclean-generic: -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES) -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES) maintainer-clean-generic: @echo "This command is intended for maintainers to use" @echo "it deletes files that may require special tools to rebuild." -rm -f configure.log -rm -f make.log -rm -f starconf.status clean: clean-am clean-am: clean-checkPROGRAMS clean-generic clean-libLTLIBRARIES \ clean-libtool mostlyclean-am distclean: distclean-am -rm -f $(am__CONFIG_DISTCLEAN_FILES) -rm -rf ./$(DEPDIR) -rm -f Makefile distclean-am: clean-am distclean-compile distclean-generic \ distclean-hdr distclean-libtool distclean-tags dvi: dvi-am dvi-am: html: html-am html-am: info: info-am info-am: install-data-am: install-cincludeHEADERS install-dist_pkgdataDATA \ install-dist_starnewsDATA install-stardocsDATA install-dvi: install-dvi-am install-dvi-am: install-exec-am: install-libLTLIBRARIES install-html: install-html-am install-html-am: install-info: install-info-am install-info-am: install-man: install-pdf: install-pdf-am install-pdf-am: install-ps: install-ps-am install-ps-am: installcheck-am: maintainer-clean: maintainer-clean-am -rm -f $(am__CONFIG_DISTCLEAN_FILES) -rm -rf $(top_srcdir)/autom4te.cache -rm -rf ./$(DEPDIR) -rm -f Makefile maintainer-clean-am: distclean-am maintainer-clean-generic mostlyclean: mostlyclean-am mostlyclean-am: mostlyclean-compile mostlyclean-generic \ mostlyclean-libtool pdf: pdf-am pdf-am: ps: ps-am ps-am: uninstall-am: uninstall-cincludeHEADERS uninstall-dist_pkgdataDATA \ uninstall-dist_starnewsDATA uninstall-libLTLIBRARIES \ uninstall-stardocsDATA .MAKE: all check-am install-am install-strip .PHONY: CTAGS GTAGS TAGS all all-am am--refresh check check-TESTS \ check-am clean clean-checkPROGRAMS clean-cscope clean-generic \ clean-libLTLIBRARIES clean-libtool cscope cscopelist-am ctags \ ctags-am dist dist-all dist-bzip2 dist-gzip dist-lzip \ dist-shar dist-tarZ dist-xz dist-zip distcheck distclean \ distclean-compile distclean-generic distclean-hdr \ distclean-libtool distclean-tags distcleancheck distdir \ distuninstallcheck dvi dvi-am html html-am info info-am \ install install-am install-cincludeHEADERS install-data \ install-data-am install-dist_pkgdataDATA \ install-dist_starnewsDATA install-dvi install-dvi-am \ install-exec install-exec-am install-html install-html-am \ install-info install-info-am install-libLTLIBRARIES \ install-man install-manifest install-pdf install-pdf-am \ install-ps install-ps-am install-stardocsDATA install-strip \ installcheck installcheck-am installdirs maintainer-clean \ maintainer-clean-generic mostlyclean mostlyclean-compile \ mostlyclean-generic mostlyclean-libtool pdf pdf-am ps ps-am \ recheck tags tags-am uninstall uninstall-am \ uninstall-cincludeHEADERS uninstall-dist_pkgdataDATA \ uninstall-dist_starnewsDATA uninstall-libLTLIBRARIES \ uninstall-stardocsDATA # A target for making the SUN documentation. We do not do this automatically palsun.tex: $(PUBLIC_C_FILES) -rm -f palsun.tex all.c cat $(PUBLIC_C_FILES) > all.c ${STARLINK_DIR}/bin/sst/prolat in=all.c out=palsun.tex single=no page=no atask=no document=no -rm all.c # Tell versions [3.59,3.63) of GNU make to not export all variables. # Otherwise a system limit (for SysV at least) may be exceeded. .NOEXPORT: pal-0.5.0/missing000755 000765 000024 00000015330 12363621607 014005 0ustar00timjstaff000000 000000 #! /bin/sh # Common wrapper for a few potentially missing GNU programs. scriptversion=2013-10-28.13; # UTC # Copyright (C) 1996-2013 Free Software Foundation, Inc. # Originally written by Fran,cois Pinard , 1996. # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation; either version 2, or (at your option) # any later version. # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU General Public License for more details. # You should have received a copy of the GNU General Public License # along with this program. If not, see . # As a special exception to the GNU General Public License, if you # distribute this file as part of a program that contains a # configuration script generated by Autoconf, you may include it under # the same distribution terms that you use for the rest of that program. if test $# -eq 0; then echo 1>&2 "Try '$0 --help' for more information" exit 1 fi case $1 in --is-lightweight) # Used by our autoconf macros to check whether the available missing # script is modern enough. exit 0 ;; --run) # Back-compat with the calling convention used by older automake. shift ;; -h|--h|--he|--hel|--help) echo "\ $0 [OPTION]... PROGRAM [ARGUMENT]... Run 'PROGRAM [ARGUMENT]...', returning a proper advice when this fails due to PROGRAM being missing or too old. Options: -h, --help display this help and exit -v, --version output version information and exit Supported PROGRAM values: aclocal autoconf autoheader autom4te automake makeinfo bison yacc flex lex help2man Version suffixes to PROGRAM as well as the prefixes 'gnu-', 'gnu', and 'g' are ignored when checking the name. Send bug reports to ." exit $? ;; -v|--v|--ve|--ver|--vers|--versi|--versio|--version) echo "missing $scriptversion (GNU Automake)" exit $? ;; -*) echo 1>&2 "$0: unknown '$1' option" echo 1>&2 "Try '$0 --help' for more information" exit 1 ;; esac # Run the given program, remember its exit status. "$@"; st=$? # If it succeeded, we are done. test $st -eq 0 && exit 0 # Also exit now if we it failed (or wasn't found), and '--version' was # passed; such an option is passed most likely to detect whether the # program is present and works. case $2 in --version|--help) exit $st;; esac # Exit code 63 means version mismatch. This often happens when the user # tries to use an ancient version of a tool on a file that requires a # minimum version. if test $st -eq 63; then msg="probably too old" elif test $st -eq 127; then # Program was missing. msg="missing on your system" else # Program was found and executed, but failed. Give up. exit $st fi perl_URL=http://www.perl.org/ flex_URL=http://flex.sourceforge.net/ gnu_software_URL=http://www.gnu.org/software program_details () { case $1 in aclocal|automake) echo "The '$1' program is part of the GNU Automake package:" echo "<$gnu_software_URL/automake>" echo "It also requires GNU Autoconf, GNU m4 and Perl in order to run:" echo "<$gnu_software_URL/autoconf>" echo "<$gnu_software_URL/m4/>" echo "<$perl_URL>" ;; autoconf|autom4te|autoheader) echo "The '$1' program is part of the GNU Autoconf package:" echo "<$gnu_software_URL/autoconf/>" echo "It also requires GNU m4 and Perl in order to run:" echo "<$gnu_software_URL/m4/>" echo "<$perl_URL>" ;; esac } give_advice () { # Normalize program name to check for. normalized_program=`echo "$1" | sed ' s/^gnu-//; t s/^gnu//; t s/^g//; t'` printf '%s\n' "'$1' is $msg." configure_deps="'configure.ac' or m4 files included by 'configure.ac'" case $normalized_program in autoconf*) echo "You should only need it if you modified 'configure.ac'," echo "or m4 files included by it." program_details 'autoconf' ;; autoheader*) echo "You should only need it if you modified 'acconfig.h' or" echo "$configure_deps." program_details 'autoheader' ;; automake*) echo "You should only need it if you modified 'Makefile.am' or" echo "$configure_deps." program_details 'automake' ;; aclocal*) echo "You should only need it if you modified 'acinclude.m4' or" echo "$configure_deps." program_details 'aclocal' ;; autom4te*) echo "You might have modified some maintainer files that require" echo "the 'autom4te' program to be rebuilt." program_details 'autom4te' ;; bison*|yacc*) echo "You should only need it if you modified a '.y' file." echo "You may want to install the GNU Bison package:" echo "<$gnu_software_URL/bison/>" ;; lex*|flex*) echo "You should only need it if you modified a '.l' file." echo "You may want to install the Fast Lexical Analyzer package:" echo "<$flex_URL>" ;; help2man*) echo "You should only need it if you modified a dependency" \ "of a man page." echo "You may want to install the GNU Help2man package:" echo "<$gnu_software_URL/help2man/>" ;; makeinfo*) echo "You should only need it if you modified a '.texi' file, or" echo "any other file indirectly affecting the aspect of the manual." echo "You might want to install the Texinfo package:" echo "<$gnu_software_URL/texinfo/>" echo "The spurious makeinfo call might also be the consequence of" echo "using a buggy 'make' (AIX, DU, IRIX), in which case you might" echo "want to install GNU make:" echo "<$gnu_software_URL/make/>" ;; *) echo "You might have modified some files without having the proper" echo "tools for further handling them. Check the 'README' file, it" echo "often tells you about the needed prerequisites for installing" echo "this package. You may also peek at any GNU archive site, in" echo "case some other package contains this missing '$1' program." ;; esac } give_advice "$1" | sed -e '1s/^/WARNING: /' \ -e '2,$s/^/ /' >&2 # Propagate the correct exit status (expected to be 127 for a program # not found, 63 for a program that failed due to version mismatch). exit $st # Local variables: # eval: (add-hook 'write-file-hooks 'time-stamp) # time-stamp-start: "scriptversion=" # time-stamp-format: "%:y-%02m-%02d.%02H" # time-stamp-time-zone: "UTC" # time-stamp-end: "; # UTC" # End: pal-0.5.0/pal.h000644 000765 000024 00000043717 12360544345 013345 0ustar00timjstaff000000 000000 #ifndef PALHDEF #define PALHDEF /* *+ * Name: * pal.h * Purpose: * Function prototypes for PAL routines. * Language: * Starlink ANSI C * Type of Module: * Include file * Description: * Function prototypes for PAL routines. * Authors: * TIMJ: Tim Jenness (JAC, Hawaii) * {enter_new_authors_here} * Notes: * * History: * 2012-02-08 (TIMJ): * Initial version. Define all SLA prototypes in PAL form even * though none are implemented. * Adapted with permission from the Fortran SLALIB library. * {enter_further_changes_here} * Copyright: * Copyright (C) 2012 Science and Technology Facilities Council. * All Rights Reserved. * Licence: * This program is free software; you can redistribute it and/or * modify it under the terms of the GNU General Public License as * published by the Free Software Foundation; either version 3 of * the License, or (at your option) any later version. * * This program is distributed in the hope that it will be * useful, but WITHOUT ANY WARRANTY; without even the implied * warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR * PURPOSE. See the GNU General Public License for more details. * * You should have received a copy of the GNU General Public License * along with this program; if not, write to the Free Software * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 * USA. * Bugs: * {note_any_bugs_here} *- */ #ifdef __cplusplus extern "C" { #endif #include #include void palAddet ( double rm, double dm, double eq, double *rc, double *dc ); void palAfin ( const char *string, int *iptr, float *a, int *j ); double palAirmas ( double zd ); void palAltaz ( double ha, double dec, double phi, double *az, double *azd, double *azdd, double *el, double *eld, double *eldd, double *pa, double *pad, double *padd ); void palAmp ( double ra, double da, double date, double eq, double *rm, double *dm ); void palAmpqk ( double ra, double da, double amprms[21], double *rm, double *dm ); void palAop ( double rap, double dap, double date, double dut, double elongm, double phim, double hm, double xp, double yp, double tdk, double pmb, double rh, double wl, double tlr, double *aob, double *zob, double *hob, double *dob, double *rob ); void palAoppa ( double date, double dut, double elongm, double phim, double hm, double xp, double yp, double tdk, double pmb, double rh, double wl, double tlr, double aoprms[14] ); void palAoppat ( double date, double aoprms[14] ); void palAopqk ( double rap, double dap, const double aoprms[14], double *aob, double *zob, double *hob, double *dob, double *rob ); void palAtmdsp ( double tdk, double pmb, double rh, double wl1, double a1, double b1, double wl2, double *a2, double *b2 ); void palAv2m ( float axvec[3], float rmat[3][3] ); float palBear ( float a1, float b1, float a2, float b2 ); void palCaf2r ( int ideg, int iamin, float asec, float *rad, int *j ); void palCaldj ( int iy, int im, int id, double *djm, int *j ); void palCalyd ( int iy, int im, int id, int *ny, int *nd, int *j ); void palCc2s ( float v[3], float *a, float *b ); void palCc62s ( float v[6], float *a, float *b, float *r, float *ad, float *bd, float *rd ); void palCd2tf ( int ndp, float days, char *sign, int ihmsf[4] ); void palCldj ( int iy, int im, int id, double *djm, int *j ); void palClyd ( int iy, int im, int id, int *ny, int *nd, int *jstat ); void palCombn ( int nsel, int ncand, int list[], int *j ); void palCr2af ( int ndp, float angle, char *sign, int idmsf[4] ); void palCr2tf ( int ndp, float angle, char *sign, int ihmsf[4] ); void palCs2c ( float a, float b, float v[3] ); void palCs2c6 ( float a, float b, float r, float ad, float bd, float rd, float v[6] ); void palCtf2d ( int ihour, int imin, float sec, float *days, int *j ); void palCtf2r ( int ihour, int imin, float sec, float *rad, int *j ); void palDaf2r ( int ideg, int iamin, double asec, double *rad, int *j ); void palDafin ( const char *string, int *iptr, double *a, int *j ); double palDat ( double dju ); void palDav2m ( double axvec[3], double rmat[3][3] ); double palDbear ( double a1, double b1, double a2, double b2 ); void palDbjin ( const char *string, int *nstrt, double *dreslt, int *jf1, int *jf2 ); void palDc62s ( double v[6], double *a, double *b, double *r, double *ad, double *bd, double *rd ); void palDcc2s ( double v[3], double *a, double *b ); void palDcmpf ( double coeffs[6], double *xz, double *yz, double *xs, double *ys, double *perp, double *orient ); void palDcs2c ( double a, double b, double v[3] ); void palDd2tf ( int ndp, double days, char *sign, int ihmsf[4] ); void palDe2h ( double ha, double dec, double phi, double *az, double *el ); void palDeuler ( const char *order, double phi, double theta, double psi, double rmat[3][3] ); void palDfltin ( const char *string, int *nstrt, double *dreslt, int *jflag ); void palDh2e ( double az, double el, double phi, double *ha, double *dec); void palDimxv ( double dm[3][3], double va[3], double vb[3] ); void palDjcal ( int ndp, double djm, int iymdf[4], int *j ); void palDjcl ( double djm, int *iy, int *im, int *id, double *fd, int *j ); void palDm2av ( double rmat[3][3], double axvec[3] ); void palDmat ( int n, double *a, double *y, double *d, int *jf, int *iw ); void palDmoon ( double date, double pv[6] ); void palDmxm ( double a[3][3], double b[3][3], double c[3][3] ); void palDmxv ( double dm[3][3], double va[3], double vb[3] ); double palDpav ( double v1[3], double v2[3] ); void palDr2af ( int ndp, double angle, char *sign, int idmsf[4] ); void palDr2tf ( int ndp, double angle, char *sign, int ihmsf[4] ); double palDrange ( double angle ); double palDranrm ( double angle ); void palDs2c6 ( double a, double b, double r, double ad, double bd, double rd, double v[6] ); void palDs2tp ( double ra, double dec, double raz, double decz, double *xi, double *eta, int *j ); double palDsep ( double a1, double b1, double a2, double b2 ); double palDsepv ( double v1[3], double v2[3] ); double palDt ( double epoch ); void palDtf2d ( int ihour, int imin, double sec, double *days, int *j ); void palDtf2r ( int ihour, int imin, double sec, double *rad, int *j ); void palDtp2s ( double xi, double eta, double raz, double decz, double *ra, double *dec ); void palDtp2v ( double xi, double eta, double v0[3], double v[3] ); void palDtps2c ( double xi, double eta, double ra, double dec, double *raz1, double *decz1, double *raz2, double *decz2, int *n ); void palDtpv2c ( double xi, double eta, double v[3], double v01[3], double v02[3], int *n ); double palDtt ( double dju ); void palDv2tp ( double v[3], double v0[3], double *xi, double *eta, int *j ); double palDvdv ( double va[3], double vb[3] ); void palDvn ( double v[3], double uv[3], double *vm ); void palDvxv ( double va[3], double vb[3], double vc[3] ); void palE2h ( float ha, float dec, float phi, float *az, float *el ); void palEarth ( int iy, int id, float fd, float posvel[6] ); void palEcleq ( double dl, double db, double date, double *dr, double *dd ); void palEcmat ( double date, double rmat[3][3] ); void palEcor ( float rm, float dm, int iy, int id, float fd, float *rv, float *tl ); void palEg50 ( double dr, double dd, double *dl, double *db ); void palEl2ue ( double date, int jform, double epoch, double orbinc, double anode, double perih, double aorq, double e, double aorl, double dm, double u[13], int *jstat ); double palEpb ( double date ); double palEpb2d ( double epb ); double palEpco ( char k0, char k, double e ); double palEpj ( double date ); double palEpj2d ( double epj ); void palEpv( double date, double ph[3], double vh[3], double pb[3], double vb[3] ); void palEqecl ( double dr, double dd, double date, double *dl, double *db ); double palEqeqx ( double date ); void palEqgal ( double dr, double dd, double *dl, double *db ); void palEtrms ( double ep, double ev[3] ); void palEuler ( const char *order, float phi, float theta, float psi, float rmat[3][3] ); void palEvp ( double date, double deqx, double dvb[3], double dpb[3], double dvh[3], double dph[3] ); void palFitxy ( int itype, int np, double xye[][2], double xym[][2], double coeffs[6], int *j ); void palFk425 ( double r1950, double d1950, double dr1950, double dd1950, double p1950, double v1950, double *r2000, double *d2000, double *dr2000, double *dd2000, double *p2000, double *v2000 ); void palFk45z ( double r1950, double d1950, double bepoch, double *r2000, double *d2000 ); void palFk524 ( double r2000, double d2000, double dr2000, double dd2000, double p2000, double v2000, double *r1950, double *d1950, double *dr1950, double *dd1950, double *p1950, double *v1950 ); void palFk52h ( double r5, double d5, double dr5, double dd5, double *dr, double *dh, double *drh, double *ddh ); void palFk54z ( double r2000, double d2000, double bepoch, double *r1950, double *d1950, double *dr1950, double *dd1950 ); void palFk5hz ( double r5, double d5, double epoch, double *rh, double *dh ); void palFlotin ( const char *string, int *nstrt, float *reslt, int *jflag ); void palGaleq ( double dl, double db, double *dr, double *dd ); void palGalsup ( double dl, double db, double *dsl, double *dsb ); void palGe50 ( double dl, double db, double *dr, double *dd ); void palGeoc ( double p, double h, double *r, double *z ); double palGmst ( double ut1 ); double palGmsta ( double date, double ut1 ); void palH2e ( float az, float el, float phi, float *ha, float *dec ); void palH2fk5 ( double dr, double dh, double drh, double ddh, double *r5, double *d5, double *dr5, double *dd5 ); void palHfk5z ( double rh, double dh, double epoch, double *r5, double *d5, double *dr5, double *dd5 ); void palImxv ( float rm[3][3], float va[3], float vb[3] ); void palInt2in ( const char *string, int *nstrt, int *ireslt, int *jflag ); void palIntin ( const char *string, int *nstrt, long *ireslt, int *jflag ); void palInvf ( double fwds[6], double bkwds[6], int *j ); void palKbj ( int jb, double e, char *k, int *j ); void palM2av ( float rmat[3][3], float axvec[3] ); void palMap ( double rm, double dm, double pr, double pd, double px, double rv, double eq, double date, double *ra, double *da ); void palMappa ( double eq, double date, double amprms[21] ); void palMapqk ( double rm, double dm, double pr, double pd, double px, double rv, double amprms[21], double *ra, double *da ); void palMapqkz ( double rm, double dm, double amprms[21], double *ra, double *da ); void palMoon ( int iy, int id, float fd, float posvel[6] ); void palMxm ( float a[3][3], float b[3][3], float c[3][3] ); void palMxv ( float rm[3][3], float va[3], float vb[3] ); void palNut ( double date, double rmatn[3][3] ); void palNutc ( double date, double *dpsi, double *deps, double *eps0 ); void palNutc80 ( double date, double *dpsi, double *deps, double *eps0 ); void palOap ( const char *type, double ob1, double ob2, double date, double dut, double elongm, double phim, double hm, double xp, double yp, double tdk, double pmb, double rh, double wl, double tlr, double *rap, double *dap ); void palOapqk ( const char *type, double ob1, double ob2, const double aoprms[14], double *rap, double *dap ); int palObs( size_t n, const char * c, char * ident, size_t identlen, char * name, size_t namelen, double * w, double * p, double * h ); double palPa ( double ha, double dec, double phi ); double palPav ( float v1[3], float v2[3] ); void palPcd ( double disco, double *x, double *y ); void palPda2h ( double p, double d, double a, double *h1, int *j1, double *h2, int *j2 ); void palPdq2h ( double p, double d, double q, double *h1, int *j1, double *h2, int *j2 ); void palPermut ( int n, int istate[], int iorder[], int *j ); void palPertel (int jform, double date0, double date1, double epoch0, double orbi0, double anode0, double perih0, double aorq0, double e0, double am0, double *epoch1, double *orbi1, double *anode1, double *perih1, double *aorq1, double *e1, double *am1, int *jstat ); void palPertue ( double date, double u[13], int *jstat ); void palPlanel ( double date, int jform, double epoch, double orbinc, double anode, double perih, double aorq, double e, double aorl, double dm, double pv[6], int *jstat ); void palPlanet ( double date, int np, double pv[6], int *j ); void palPlante ( double date, double elong, double phi, int jform, double epoch, double orbinc, double anode, double perih, double aorq, double e, double aorl, double dm, double *ra, double *dec, double *r, int *jstat ); void palPlantu ( double date, double elong, double phi, const double u[13], double *ra, double *dec, double *r, int *jstat ); void palPm ( double r0, double d0, double pr, double pd, double px, double rv, double ep0, double ep1, double *r1, double *d1 ); void palPolmo ( double elongm, double phim, double xp, double yp, double *elong, double *phi, double *daz ); void palPrebn ( double bep0, double bep1, double rmatp[3][3] ); void palPrec ( double ep0, double ep1, double rmatp[3][3] ); void palPrecl ( double ep0, double ep1, double rmatp[3][3] ); void palPreces ( const char sys[3], double ep0, double ep1, double *ra, double *dc ); void palPrenut ( double epoch, double date, double rmatpn[3][3] ); void palPv2el ( const double pv[6], double date, double pmass, int jformr, int *jform, double *epoch, double *orbinc, double *anode, double *perih, double *aorq, double *e, double *aorl, double *dm, int *jstat ); void palPv2ue ( const double pv[6], double date, double pmass, double u[13], int *jstat ); void palPvobs ( double p, double h, double stl, double pv[6] ); void palPxy ( int np, double xye[][2], double xym[][2], double coeffs[6], double xyp[][2], double *xrms, double *yrms, double *rrms ); float palRange ( float angle ); float palRanorm ( float angle ); double palRcc ( double tdb, double ut1, double wl, double u, double v ); void palRdplan ( double date, int np, double elong, double phi, double *ra, double *dec, double *diam ); void palRefco ( double hm, double tdk, double pmb, double rh, double wl, double phi, double tlr, double eps, double *refa, double *refb ); void palRefcoq ( double tdk, double pmb, double rh, double wl, double *refa, double *refb ); void palRefro ( double zobs, double hm, double tdk, double pmb, double rh, double wl, double phi, double tlr, double eps, double *ref ); void palRefv ( double vu[3], double refa, double refb, double vr[3] ); void palRefz ( double zu, double refa, double refb, double *zr ); double palRverot ( double phi, double ra, double da, double st ); double palRvgalc ( double r2000, double d2000 ); double palRvlg ( double r2000, double d2000 ); double palRvlsrd ( double r2000, double d2000 ); double palRvlsrk ( double r2000, double d2000 ); void palS2tp ( float ra, float dec, float raz, float decz, float *xi, float *eta, int *j ); float palSep ( float a1, float b1, float a2, float b2 ); float palSepv ( float v1[3], float v2[3] ); void palSmat ( int n, float *a, float *y, float *d, int *jf, int *iw ); void palSubet ( double rc, double dc, double eq, double *rm, double *dm ); void palSupgal ( double dsl, double dsb, double *dl, double *db ); void palSvd ( int m, int n, int mp, int np, double *a, double *w, double *v, double *work, int *jstat ); void palSvdcov ( int n, int np, int nc, double *w, double *v, double *work, double *cvm ); void palSvdsol ( int m, int n, int mp, int np, double *b, double *u, double *w, double *v, double *work, double *x ); void palTp2s ( float xi, float eta, float raz, float decz, float *ra, float *dec ); void palTp2v ( float xi, float eta, float v0[3], float v[3] ); void palTps2c ( float xi, float eta, float ra, float dec, float *raz1, float *decz1, float *raz2, float *decz2, int *n ); void palTpv2c ( float xi, float eta, float v[3], float v01[3], float v02[3], int *n ); void palUe2el ( const double u[13], int jformr, int *jform, double *epoch, double *orbinc, double *anode, double *perih, double *aorq, double *e, double *aorl, double *dm, int *jstat ); void palUe2pv ( double date, double u[13], double pv[], int *jstat ); void palUnpcd ( double disco, double *x, double *y ); void palV2tp ( float v[3], float v0[3], float *xi, float *eta, int *j ); float palVdv ( float va[3], float vb[3] ); void palVn ( float v[3], float uv[3], float *vm ); void palVxv ( float va[3], float vb[3], float vc[3] ); void palXy2xy ( double x1, double y1, double coeffs[6], double *x2, double *y2 ); double palZd ( double ha, double dec, double phi ); #ifdef __cplusplus } #endif #endif pal-0.5.0/pal.news000644 000765 000024 00000003735 12366007502 014061 0ustar00timjstaff000000 000000 PAL Library The Starlink Positional Astronomy Library (PAL) is a C implementation of the SLALIB API. It is distributed under the GPL and uses the SOFA library wherever possible. V0.5.0 Now works with ERFA . The configure script has been modified to first check for ERFA and then check for SOFA. V0.4.0 New routines ported from SLA: palRefv, palAtmdsp New routine inherited from SOFA: palRefcoq Minimum SOFA version now 2013-12-02 palObs: Now includes telescope positions for APEX and NANTEN2 The autotools build scripts now require autoconf version 2.69. Thanks to Github user @nega0 for some BSD build fixes. A subset of the routines have been relicensed using LGPL to allow them to be included in the AST library. Thanks to Patrick Wallace for giving this permission. A paper on PAL has been published at ADASS: http://adsabs.harvard.edu/abs/2013ASPC..475..307J V0.3.0 Add refraction code and support palOap and palAop. For closer compatibility with SLA for testing purposes the refraction routines internally use clones of slaNutc, slaEqeqx, slaGmst and slaGeoc. Once the code has been verified further the PAL/SOFA routines will be used instead. Switching routines seems to change the results in palTest by about 0.05 arcsec. V0.2.0 Improve configure script when not in a Starlink build environment. Use ./configure --prefix=/path/to/install when Starlink is not available and add --without-starlink if Starlink is present but should not be used. V0.1.5 Explcitly look for libm rather than relying on SOFA to pull it in. V0.1.4 Check for isblank() function and fall back if it is missing. V0.1.3 Improve copysign() detection. V0.1.2 Check for copysign() c99 function and fall back if it is missing. V0.1.1 The palDrange function has been modified so that it now returns +PI if the supplied angle is +PI (previously, it returned -PI in these cases). V0.1.0 Initial release with sufficient SLALIB API for AST and the Astro::Coords perl module. pal-0.5.0/pal1.h000644 000765 000024 00000003522 12360544345 013414 0ustar00timjstaff000000 000000 /* *+ * Name: * pal1.h * Purpose: * Definitions of private PAL functions * Language: * Starlink ANSI C * Type of Module: * Include file * Invocation: * #include "pal1.h" * Description: * Function prototypes for private PAL functions. Will not be * installed. * Authors: * TIMJ: Tim Jenness (JAC, Hawaii) * {enter_new_authors_here} * History: * 2012-08-24 (TIMJ): * Initial version * Adapted with permission from the Fortran SLALIB library. * {enter_further_changes_here} * Copyright: * Copyright (C) 2012 Science and Technology Facilities Council. * All Rights Reserved. * Licence: * This program is free software; you can redistribute it and/or * modify it under the terms of the GNU General Public License as * published by the Free Software Foundation; either version 3 of * the License, or (at your option) any later version. * * This program is distributed in the hope that it will be * useful, but WITHOUT ANY WARRANTY; without even the implied * warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR * PURPOSE. See the GNU General Public License for more details. * * You should have received a copy of the GNU General Public License * along with this program; if not, write to the Free Software * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, * MA 02110-1301, USA. * Bugs: * {note_any_bugs_here} *- */ #ifndef PAL1HDEF #define PAL1HDEF void pal1Atms ( double rt, double tt, double dnt, double gamal, double r, double * dn, double * rdndr ); void pal1Atmt ( double r0, double t0, double alpha, double gamm2, double delm2, double c1, double c2, double c3, double c4, double c5, double c6, double r, double *t, double *dn, double *rdndr ); #endif pal-0.5.0/pal1Atms.c000644 000765 000024 00000005017 12366000607 014227 0ustar00timjstaff000000 000000 /* *+ * Name: * pal1Atms * Purpose: * Calculate stratosphere parameters * Language: * Starlink ANSI C * Type of Module: * Library routine * Invocation: * void pal1Atms ( double rt, double tt, double dnt, double gamal, * double r, double * dn, double * rdndr ); * Arguments: * rt = double (Given) * Height of the tropopause from centre of the Earth (metre) * tt = double (Given) * Temperature at the tropopause (K) * dnt = double (Given) * Refractive index at the tropopause * gamal = double (Given) * Constant of the atmospheric model = G*MD/R * r = double (Given) * Current distance from the centre of the Earth (metre) * dn = double * (Returned) * Refractive index at r * rdndr = double * (Returned) * r * rate the refractive index is changing at r * Description: * Refractive index and derivative with respect to height for the * stratosphere. * Authors: * TIMJ: Tim Jenness (JAC, Hawaii) * PTW: Patrick T. Wallace * {enter_new_authors_here} * Notes: * - Internal routine used by palRefro. * History: * 2012-08-24 (TIMJ): * Initial version * Adapted with permission from the Fortran SLALIB library. * {enter_further_changes_here} * Copyright: * Copyright (C) 2004 Patrick T. Wallace * Copyright (C) 2012 Science and Technology Facilities Council. * All Rights Reserved. * Licence: * This program is free software; you can redistribute it and/or * modify it under the terms of the GNU General Public License as * published by the Free Software Foundation; either version 3 of * the License, or (at your option) any later version. * * This program is distributed in the hope that it will be * useful, but WITHOUT ANY WARRANTY; without even the implied * warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR * PURPOSE. See the GNU General Public License for more details. * * You should have received a copy of the GNU General Public License * along with this program; if not, write to the Free Software * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, * MA 02110-1301, USA. * Bugs: * {note_any_bugs_here} *- */ #include #include "pal1.h" void pal1Atms ( double rt, double tt, double dnt, double gamal, double r, double * dn, double * rdndr ) { double b; double w; b = gamal / tt; w = (dnt - 1.0) * exp( -b * (r-rt) ); *dn = 1.0 + w; *rdndr = -r * b * w; } pal-0.5.0/pal1Atmt.c000644 000765 000024 00000007103 12366000607 014226 0ustar00timjstaff000000 000000 /* *+ * Name: * pal1Atmt * Purpose: * Calculate troposphere parameters * Language: * Starlink ANSI C * Type of Module: * Library routine * Invocation: * void pal1Atmt ( double r0, double t0, double alpha, double gamm2, * double delm2, double c1, double c2, double c3, * double c4, double c5, double c6, double r, * double *t, double *dn, double *rdndr ); * Arguments: * r0 = double (Given) * Height of observer from centre of the Earth (metre) * t0 = double (Given) * Temperature of the observer (K) * alpha = double (Given) * Alpha (see HMNAO paper) * gamm2 = double (Given) * Gamma minus 2 (see HMNAO paper) * delm2 = double (Given) * Delta minus 2 (see HMNAO paper) * c1 = double (Given) * Useful term (see palRefro source) * c2 = double (Given) * Useful term (see palRefro source) * c3 = double (Given) * Useful term (see palRefro source) * c4 = double (Given) * Useful term (see palRefro source) * c5 = double (Given) * Useful term (see palRefro source) * c6 = double (Given) * Useful term (see palRefro source) * r = double (Given) * Current distance from the centre of the Earth (metre) * t = double * (Returned) * Temperature at r (K) * dn = double * (Returned) * Refractive index at r. * rdndr = double * (Returned) * r * rate the refractive index is changing at r. * Description: * Refractive index and derivative with respect to height for * the troposphere. * Authors: * TIMJ: Tim Jenness (JAC, Hawaii) * PTW: Patrick T. Wallace * {enter_new_authors_here} * Notes: * - Internal routine used by palRefro * - Note that in the optical case c5 and c6 are zero. * History: * 2012-08-24 (TIMJ): * Initial version, copied from Fortran SLA source. * Adapted with permission from the Fortran SLALIB library. * {enter_further_changes_here} * Copyright: * Copyright (C) 2004 Patrick T. Wallace * Copyright (C) 2012 Science and Technology Facilities Council. * All Rights Reserved. * Licence: * This program is free software; you can redistribute it and/or * modify it under the terms of the GNU General Public License as * published by the Free Software Foundation; either version 3 of * the License, or (at your option) any later version. * * This program is distributed in the hope that it will be * useful, but WITHOUT ANY WARRANTY; without even the implied * warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR * PURPOSE. See the GNU General Public License for more details. * * You should have received a copy of the GNU General Public License * along with this program; if not, write to the Free Software * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, * MA 02110-1301, USA. * Bugs: * {note_any_bugs_here} *- */ #include #include "palmac.h" #include "pal1.h" void pal1Atmt ( double r0, double t0, double alpha, double gamm2, double delm2, double c1, double c2, double c3, double c4, double c5, double c6, double r, double *t, double *dn, double *rdndr ) { double tt0; double tt0gm2; double tt0dm2; *t = DMAX( DMIN( t0 - alpha*(r-r0), 320.0), 100.0 ); tt0 = *t / t0; tt0gm2 = pow( tt0, gamm2 ); tt0dm2 = pow( tt0, delm2 ); *dn = 1.0 + ( c1 * tt0gm2 - ( c2 - c5 / *t ) * tt0dm2 ) * tt0; *rdndr = r * ( -c3 * tt0gm2 + ( c4 - c6 / tt0 ) * tt0dm2 ); } pal-0.5.0/pal1sofa.h000644 000765 000024 00000006271 12366005320 014260 0ustar00timjstaff000000 000000 /* *+ * Name: * pal1sofa.h * Purpose: * Mappings of ERFA names to SOFA names * Language: * Starlink ANSI C * Type of Module: * Include file * Invocation: * #include "pal1.h" * Description: * PAL will work with both SOFA and ERFA libraries and the * difference is generally a change in prefix. This include * file maps the ERFA form of functions to the SOFA form * and includes the relevant sofa.h vs erfa.h file. * Authors: * TIMJ: Tim Jenness (JAC, Hawaii) * {enter_new_authors_here} * Notes: * - PAL uses the ERFA form by default. * History: * 2014-07-29 (TIMJ): * Initial version * {enter_further_changes_here} * Copyright: * Copyright (C) 2014 Tim Jenness * All Rights Reserved. * Licence: * This program is free software; you can redistribute it and/or * modify it under the terms of the GNU General Public License as * published by the Free Software Foundation; either version 3 of * the License, or (at your option) any later version. * * This program is distributed in the hope that it will be * useful, but WITHOUT ANY WARRANTY; without even the implied * warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR * PURPOSE. See the GNU General Public License for more details. * * You should have received a copy of the GNU General Public License * along with this program; if not, write to the Free Software * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, * MA 02110-1301, USA. * Bugs: * {note_any_bugs_here} *- */ #ifndef PAL1SOFAHDEF #define PAL1SOFAHDEF #include # if HAVE_SOFA_H # include "sofa.h" # include "sofam.h" /* Must replace ERFA with SOFA */ # define eraA2af iauA2af # define eraA2tf iauA2tf # define eraAf2a iauAf2a # define eraAnp iauAnp # define eraAnpm iauAnpm # define eraC2s iauC2s # define eraCal2jd iauCal2jd # define eraD2tf iauD2tf # define eraDat iauDat # define eraEe06a iauEe06a # define eraEpb iauEpb # define eraEpb2jd iauEpb2jd # define eraEpj iauEpj # define eraEpj2jd iauEpj2jd # define eraEpv00 iauEpv00 # define eraFk5hz iauFk5hz # define eraGd2gc iauGd2gc # define eraGmst06 iauGmst06 # define eraHfk5z iauHfk5z # define eraIr iauIr # define eraJd2cal iauJd2cal # define eraNut06a iauNut06a # define eraObl06 iauObl06 # define eraP06e iauP06e # define eraPap iauPap # define eraPas iauPas # define eraPdp iauPdp # define eraPlan94 iauPlan94 # define eraPmat06 iauPmat06 # define eraPn iauPn # define eraPnm06a iauPnm06a # define eraPxp iauPxp # define eraRefco iauRefco # define eraRm2v iauRm2v # define eraRv2m iauRv2m # define eraRx iauRx # define eraRxp iauRxp # define eraRxpv iauRxpv # define eraRxr iauRxr # define eraRy iauRy # define eraRz iauRz # define eraS2c iauS2c # define eraSepp iauSepp # define eraSeps iauSeps # define eraStarpm iauStarpm # define eraTf2a iauTf2a # define eraTf2d iauTf2d # define eraTr iauTr # define eraTrxp iauTrxp /* These are from sofam.h */ # define ERFA_WGS84 WGS84 # define ERFA_DJ00 DJ00 # define ERFA_DJY DJY # define ERFA_DAU DAU # else # include "erfa.h" # include "erfam.h" /* No further action required */ # endif #endif pal-0.5.0/palAddet.c000644 000765 000024 00000005756 12366000612 014271 0ustar00timjstaff000000 000000 /* *+ * Name: * palAddet * Purpose: * Add the E-terms to a pre IAU 1976 mean place * Language: * Starlink ANSI C * Type of Module: * Library routine * Invocation: * void palAddet ( double rm, double dm, double eq, * double *rc, double *dc ); * Arguments: * rm = double (Given) * RA without E-terms (radians) * dm = double (Given) * Dec without E-terms (radians) * eq = double (Given) * Besselian epoch of mean equator and equinox * rc = double * (Returned) * RA with E-terms included (radians) * dc = double * (Returned) * Dec with E-terms included (radians) * Description: * Add the E-terms (elliptic component of annual aberration) * to a pre IAU 1976 mean place to conform to the old * catalogue convention. * Authors: * PTW: Pat Wallace (STFC) * TIMJ: Tim Jenness (JAC, Hawaii) * {enter_new_authors_here} * Notes: * Most star positions from pre-1984 optical catalogues (or * derived from astrometry using such stars) embody the * E-terms. If it is necessary to convert a formal mean * place (for example a pulsar timing position) to one * consistent with such a star catalogue, then the RA,Dec * should be adjusted using this routine. * See Also: * Explanatory Supplement to the Astronomical Ephemeris, * section 2D, page 48. * History: * 2012-02-12(TIMJ): * Initial version with documentation taken from Fortran SLA * Adapted with permission from the Fortran SLALIB library. * {enter_further_changes_here} * Copyright: * Copyright (C) 1999 Rutherford Appleton Laboratory * Copyright (C) 2012 Science and Technology Facilities Council. * All Rights Reserved. * Licence: * This program is free software: you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * License as published by the Free Software Foundation, either * version 3 of the License, or (at your option) any later * version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Lesser General Public License for more details. * * You should have received a copy of the GNU Lesser General * License along with this program. If not, see * . * Bugs: * {note_any_bugs_here} *- */ #include "pal.h" #include "pal1sofa.h" void palAddet ( double rm, double dm, double eq, double *rc, double *dc ) { double a[3]; /* The E-terms */ double v[3]; int i; /* Note the preference for IAU routines */ /* Retrieve the E-terms */ palEtrms( eq, a ); /* Spherical to Cartesian */ eraS2c( rm, dm, v ); /* Include the E-terms */ for (i=0; i<3; i++) { v[i] += a[i]; } /* Cartesian to spherical */ eraC2s( v, rc, dc ); /* Bring RA into conventional range */ *rc = eraAnp( *rc ); } pal-0.5.0/palAirmas.c000644 000765 000024 00000006035 12366000607 014457 0ustar00timjstaff000000 000000 /* *+ * Name: * palAirmas * Purpose: * Air mass at given zenith distance * Language: * Starlink ANSI C * Type of Module: * Library routine * Invocation: * double palAirmas( double zd ); * Arguments: * zd = double (Given) * Observed zenith distance (radians) * Description: * Calculates the airmass at the observed zenith distance. * Authors: * PTW: Patrick Wallace (STFC) * TIMJ: Tim Jenness (JAC, Hawaii) * {enter_new_authors_here} * Notes: * - The "observed" zenith distance referred to above means "as * affected by refraction". * - Uses Hardie's (1962) polynomial fit to Bemporad's data for * the relative air mass, X, in units of thickness at the zenith * as tabulated by Schoenberg (1929). This is adequate for all * normal needs as it is accurate to better than 0.1% up to X = * 6.8 and better than 1% up to X = 10. Bemporad's tabulated * values are unlikely to be trustworthy to such accuracy * because of variations in density, pressure and other * conditions in the atmosphere from those assumed in his work. * - The sign of the ZD is ignored. * - At zenith distances greater than about ZD = 87 degrees the * air mass is held constant to avoid arithmetic overflows. * See Also: * - Hardie, R.H., 1962, in "Astronomical Techniques" * ed. W.A. Hiltner, University of Chicago Press, p180. * - Schoenberg, E., 1929, Hdb. d. Ap., * Berlin, Julius Springer, 2, 268. * History: * 2012-03-02 (TIMJ): * Initial version from the SLA/F version including documentation. * Adapted with permission from the Fortran SLALIB library. * {enter_further_changes_here} * Copyright: * Copyright (C) 1999 Rutherford Appleton Laboratory. * Copyright (C) 2012 Science and Technology Facilities Council. * All Rights Reserved. * Licence: * This program is free software; you can redistribute it and/or * modify it under the terms of the GNU General Public License as * published by the Free Software Foundation; either version 3 of * the License, or (at your option) any later version. * * This program is distributed in the hope that it will be * useful, but WITHOUT ANY WARRANTY; without even the implied * warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR * PURPOSE. See the GNU General Public License for more details. * * You should have received a copy of the GNU General Public License * along with this program; if not, write to the Free Software * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, * MA 02110-1301, USA. * Bugs: * {note_any_bugs_here} *- */ #include "pal.h" #include "palmac.h" double palAirmas ( double zd ) { double seczm1; double airmass; /* Have maximum zenith distance of 87 deg */ const double MAXZD = 87.0 * PAL__DD2R; zd = fabs(zd); zd = ( zd > MAXZD ? MAXZD : zd ); seczm1 = (1.0 / cos(zd)) - 1.0; airmass = 1.0 + seczm1*(0.9981833 - seczm1*(0.002875 + 0.0008083*seczm1)); return airmass; } pal-0.5.0/palAmp.c000644 000765 000024 00000004532 12366000607 013760 0ustar00timjstaff000000 000000 /* *+ * Name: * palAmp * Purpose: * Convert star RA,Dec from geocentric apparaent to mean place. * Language: * Starlink ANSI C * Type of Module: * Library routine * Invocation: * void palAmp ( double ra, double da, double date, double eq, * double *rm, double *dm ); * Arguments: * ra = double (Given) * Apparent RA (radians) * dec = double (Given) * Apparent Dec (radians) * date = double (Given) * TDB for apparent place (JD-2400000.5) * eq = double (Given) * Equinox: Julian epoch of mean place. * rm = double * (Returned) * Mean RA (radians) * dm = double * (Returned) * Mean Dec (radians) * Description: * Convert star RA,Dec from geocentric apparent to mean place. The * mean coordinate system is close to ICRS. See palAmpqk for details. * Authors: * TIMJ: Tim Jenness (JAC, Hawaii) * PTW: Patrick T. Wallace * {enter_new_authors_here} * Notes: * - See palMappa and palAmpqk for details. * History: * 2012-03-02 (TIMJ): * Initial version * Adapted with permission from the Fortran SLALIB library. * {enter_further_changes_here} * Copyright: * Copyright (C) 2001 Rutherford Appleton Laboratory * Copyright (C) 2012 Science and Technology Facilities Council. * All Rights Reserved. * Licence: * This program is free software; you can redistribute it and/or * modify it under the terms of the GNU General Public License as * published by the Free Software Foundation; either version 3 of * the License, or (at your option) any later version. * * This program is distributed in the hope that it will be * useful, but WITHOUT ANY WARRANTY; without even the implied * warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR * PURPOSE. See the GNU General Public License for more details. * * You should have received a copy of the GNU General Public License * along with this program; if not, write to the Free Software * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, * MA 02110-1301, USA. * Bugs: * {note_any_bugs_here} *- */ #include "pal.h" void palAmp ( double ra, double da, double date, double eq, double *rm, double *dm ) { double amprms[21]; palMappa( eq, date, amprms ); palAmpqk( ra, da, amprms, rm, dm ); } pal-0.5.0/palAmpqk.c000644 000765 000024 00000007206 12366000612 014311 0ustar00timjstaff000000 000000 /* *+ * Name: * palAmpqk * Purpose: * Convert star RA,Dec from geocentric apparent to mean place. * Language: * Starlink ANSI C * Type of Module: * Library routine * Invocation: * void palAmpqk ( double ra, double da, double amprms[21], * double *rm, double *dm ) * Arguments: * ra = double (Given) * Apparent RA (radians). * da = double (Given) * Apparent Dec (radians). * amprms = double[21] (Given) * Star-independent mean-to-apparent parameters (see palMappa): * (0) time interval for proper motion (Julian years) * (1-3) barycentric position of the Earth (AU) * (4-6) not used * (7) not used * (8-10) abv: barycentric Earth velocity in units of c * (11) sqrt(1-v*v) where v=modulus(abv) * (12-20) precession/nutation (3,3) matrix * rm = double (Returned) * Mean RA (radians). * dm = double (Returned) * Mean Dec (radians). * Description: * Convert star RA,Dec from geocentric apparent to mean place. The "mean" * coordinate system is in fact close to ICRS. Use of this function * is appropriate when efficiency is important and where many star * positions are all to be transformed for one epoch and equinox. The * star-independent parameters can be obtained by calling the palMappa * function. * Authors: * PTW: Pat Wallace (STFC) * {enter_new_authors_here} * History: * 2012-02-13 (PTW): * Initial version. * Adapted with permission from the Fortran SLALIB library. * {enter_further_changes_here} * Copyright: * Copyright (C) 2000 Rutherford Appleton Laboratory * Copyright (C) 2012 Science and Technology Facilities Council. * All Rights Reserved. * Licence: * This program is free software: you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * License as published by the Free Software Foundation, either * version 3 of the License, or (at your option) any later * version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Lesser General Public License for more details. * * You should have received a copy of the GNU Lesser General * License along with this program. If not, see * . * Bugs: * {note_any_bugs_here} *- */ #include "pal.h" #include "pal1sofa.h" void palAmpqk ( double ra, double da, double amprms[21], double *rm, double *dm ){ /* Local Variables: */ double ab1; /* sqrt(1-v*v) where v=modulus of Earth vel */ double abv[3]; /* Earth velocity wrt SSB (c, FK5) */ double p1[3], p2[3], p3[3]; /* work vectors */ double ab1p1, p1dv, p1dvp1, w; int i, j; /* Unpack some of the parameters */ ab1 = amprms[11]; for( i = 0; i < 3; i++ ) { abv[i] = amprms[i + 8]; } /* Apparent RA,Dec to Cartesian */ eraS2c( ra, da, p3 ); /* Precession and nutation */ eraTrxp( (double(*)[3]) &rms[12], p3, p2 ); /* Aberration */ ab1p1 = ab1 + 1.0; for( i = 0; i < 3; i++ ) { p1[i] = p2[i]; } for( j = 0; j < 2; j++ ) { p1dv = eraPdp( p1, abv ); p1dvp1 = 1.0 + p1dv; w = 1.0 + p1dv / ab1p1; for( i = 0; i < 3; i++ ) { p1[i] = ( p1dvp1 * p2[i] - w * abv[i] ) / ab1; } eraPn( p1, &w, p3 ); for( i = 0; i < 3; i++ ) { p1[i] = p3[i]; } } /* Mean RA,Dec */ eraC2s( p1, rm, dm ); *rm = eraAnp( *rm ); } pal-0.5.0/palAop.c000644 000765 000024 00000024025 12366000607 013761 0ustar00timjstaff000000 000000 /* *+ * Name: * palAop * Purpose: * Apparent to observed place * Language: * Starlink ANSI C * Type of Module: * Library routine * Invocation: * void palAop ( double rap, double dap, double date, double dut, * double elongm, double phim, double hm, double xp, * double yp, double tdk, double pmb, double rh, * double wl, double tlr, * double *aob, double *zob, double *hob, * double *dob, double *rob ); * Arguments: * rap = double (Given) * Geocentric apparent right ascension * dap = double (Given) * Geocentirc apparent declination * date = double (Given) * UTC date/time (Modified Julian Date, JD-2400000.5) * dut = double (Given) * delta UT: UT1-UTC (UTC seconds) * elongm = double (Given) * Mean longitude of the observer (radians, east +ve) * phim = double (Given) * Mean geodetic latitude of the observer (radians) * hm = double (Given) * Observer's height above sea level (metres) * xp = double (Given) * Polar motion x-coordinates (radians) * yp = double (Given) * Polar motion y-coordinates (radians) * tdk = double (Given) * Local ambient temperature (K; std=273.15) * pmb = double (Given) * Local atmospheric pressure (mb; std=1013.25) * rh = double (Given) * Local relative humidity (in the range 0.0-1.0) * wl = double (Given) * Effective wavelength (micron, e.g. 0.55) * tlr = double (Given) * Tropospheric laps rate (K/metre, e.g. 0.0065) * aob = double * (Returned) * Observed azimuth (radians: N=0; E=90) * zob = double * (Returned) * Observed zenith distance (radians) * hob = double * (Returned) * Observed Hour Angle (radians) * dob = double * (Returned) * Observed Declination (radians) * rob = double * (Returned) * Observed Right Ascension (radians) * Description: * Apparent to observed place for sources distant from the solar system. * Authors: * PTW: Patrick T. Wallace * TIMJ: Tim Jenness (JAC, Hawaii) * {enter_new_authors_here} * Notes: * - This routine returns zenith distance rather than elevation * in order to reflect the fact that no allowance is made for * depression of the horizon. * * - The accuracy of the result is limited by the corrections for * refraction. Providing the meteorological parameters are * known accurately and there are no gross local effects, the * predicted apparent RA,Dec should be within about 0.1 arcsec * for a zenith distance of less than 70 degrees. Even at a * topocentric zenith distance of 90 degrees, the accuracy in * elevation should be better than 1 arcmin; useful results * are available for a further 3 degrees, beyond which the * palRefro routine returns a fixed value of the refraction. * The complementary routines palAop (or palAopqk) and palOap * (or palOapqk) are self-consistent to better than 1 micro- * arcsecond all over the celestial sphere. * * - It is advisable to take great care with units, as even * unlikely values of the input parameters are accepted and * processed in accordance with the models used. * * - "Apparent" place means the geocentric apparent right ascension * and declination, which is obtained from a catalogue mean place * by allowing for space motion, parallax, precession, nutation, * annual aberration, and the Sun's gravitational lens effect. For * star positions in the FK5 system (i.e. J2000), these effects can * be applied by means of the palMap etc routines. Starting from * other mean place systems, additional transformations will be * needed; for example, FK4 (i.e. B1950) mean places would first * have to be converted to FK5, which can be done with the * palFk425 etc routines. * * - "Observed" Az,El means the position that would be seen by a * perfect theodolite located at the observer. This is obtained * from the geocentric apparent RA,Dec by allowing for Earth * orientation and diurnal aberration, rotating from equator * to horizon coordinates, and then adjusting for refraction. * The HA,Dec is obtained by rotating back into equatorial * coordinates, using the geodetic latitude corrected for polar * motion, and is the position that would be seen by a perfect * equatorial located at the observer and with its polar axis * aligned to the Earth's axis of rotation (n.b. not to the * refracted pole). Finally, the RA is obtained by subtracting * the HA from the local apparent ST. * * - To predict the required setting of a real telescope, the * observed place produced by this routine would have to be * adjusted for the tilt of the azimuth or polar axis of the * mounting (with appropriate corrections for mount flexures), * for non-perpendicularity between the mounting axes, for the * position of the rotator axis and the pointing axis relative * to it, for tube flexure, for gear and encoder errors, and * finally for encoder zero points. Some telescopes would, of * course, exhibit other properties which would need to be * accounted for at the appropriate point in the sequence. * * - This routine takes time to execute, due mainly to the * rigorous integration used to evaluate the refraction. * For processing multiple stars for one location and time, * call palAoppa once followed by one call per star to palAopqk. * Where a range of times within a limited period of a few hours * is involved, and the highest precision is not required, call * palAoppa once, followed by a call to palAoppat each time the * time changes, followed by one call per star to palAopqk. * * - The DATE argument is UTC expressed as an MJD. This is, * strictly speaking, wrong, because of leap seconds. However, * as long as the delta UT and the UTC are consistent there * are no difficulties, except during a leap second. In this * case, the start of the 61st second of the final minute should * begin a new MJD day and the old pre-leap delta UT should * continue to be used. As the 61st second completes, the MJD * should revert to the start of the day as, simultaneously, * the delta UTC changes by one second to its post-leap new value. * * - The delta UT (UT1-UTC) is tabulated in IERS circulars and * elsewhere. It increases by exactly one second at the end of * each UTC leap second, introduced in order to keep delta UT * within +/- 0.9 seconds. * * - IMPORTANT -- TAKE CARE WITH THE LONGITUDE SIGN CONVENTION. * The longitude required by the present routine is east-positive, * in accordance with geographical convention (and right-handed). * In particular, note that the longitudes returned by the * palObs routine are west-positive, following astronomical * usage, and must be reversed in sign before use in the present * routine. * * - The polar coordinates XP,YP can be obtained from IERS * circulars and equivalent publications. The maximum amplitude * is about 0.3 arcseconds. If XP,YP values are unavailable, * use XP=YP=0.0. See page B60 of the 1988 Astronomical Almanac * for a definition of the two angles. * * - The height above sea level of the observing station, HM, * can be obtained from the Astronomical Almanac (Section J * in the 1988 edition), or via the routine palObs. If P, * the pressure in millibars, is available, an adequate * estimate of HM can be obtained from the expression * * HM ~ -29.3*TSL*LOG(P/1013.25). * * where TSL is the approximate sea-level air temperature in K * (see Astrophysical Quantities, C.W.Allen, 3rd edition, * section 52). Similarly, if the pressure P is not known, * it can be estimated from the height of the observing * station, HM, as follows: * * P ~ 1013.25*EXP(-HM/(29.3*TSL)). * * Note, however, that the refraction is nearly proportional to the * pressure and that an accurate P value is important for precise * work. * * - The azimuths etc produced by the present routine are with * respect to the celestial pole. Corrections to the terrestrial * pole can be computed using palPolmo. * History: * 2012-08-25 (TIMJ): * Initial version * Adapted with permission from the Fortran SLALIB library. * {enter_further_changes_here} * Copyright: * Copyright (C) 2005 Patrick T. Wallace * Copyright (C) 2012 Science and Technology Facilities Council. * All Rights Reserved. * Licence: * This program is free software; you can redistribute it and/or * modify it under the terms of the GNU General Public License as * published by the Free Software Foundation; either version 3 of * the License, or (at your option) any later version. * * This program is distributed in the hope that it will be * useful, but WITHOUT ANY WARRANTY; without even the implied * warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR * PURPOSE. See the GNU General Public License for more details. * * You should have received a copy of the GNU General Public License * along with this program; if not, write to the Free Software * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, * MA 02110-1301, USA. * Bugs: * {note_any_bugs_here} *- */ #include "pal.h" void palAop ( double rap, double dap, double date, double dut, double elongm, double phim, double hm, double xp, double yp, double tdk, double pmb, double rh, double wl, double tlr, double *aob, double *zob, double *hob, double *dob, double *rob ) { double aoprms[14]; palAoppa(date,dut,elongm,phim,hm,xp,yp,tdk,pmb,rh,wl,tlr, aoprms); palAopqk(rap,dap,aoprms,aob,zob,hob,dob,rob); } pal-0.5.0/palAoppa.c000644 000765 000024 00000255350 12366000607 014311 0ustar00timjstaff000000 000000 /* *+ * Name: * palAoppa * Purpose: * Precompute apparent to observed place parameters * Language: * Starlink ANSI C * Type of Module: * Library routine * Invocation: * void palAoppa ( double date, double dut, double elongm, double phim, * double hm, double xp, double yp, double tdk, double pmb, * double rh, double wl, double tlr, double aoprms[14] ); * Arguments: * date = double (Given) * UTC date/time (modified Julian Date, JD-2400000.5) * dut = double (Given) * delta UT: UT1-UTC (UTC seconds) * elongm = double (Given) * mean longitude of the observer (radians, east +ve) * phim = double (Given) * mean geodetic latitude of the observer (radians) * hm = double (Given) * observer's height above sea level (metres) * xp = double (Given) * polar motion x-coordinate (radians) * yp = double (Given) * polar motion y-coordinate (radians) * tdk = double (Given) * local ambient temperature (K; std=273.15) * pmb = double (Given) * local atmospheric pressure (mb; std=1013.25) * rh = double (Given) * local relative humidity (in the range 0.0-1.0) * wl = double (Given) * effective wavelength (micron, e.g. 0.55) * tlr = double (Given) * tropospheric lapse rate (K/metre, e.g. 0.0065) * aoprms = double [14] (Returned) * Star-independent apparent-to-observed parameters * * (0) geodetic latitude (radians) * (1,2) sine and cosine of geodetic latitude * (3) magnitude of diurnal aberration vector * (4) height (hm) * (5) ambient temperature (tdk) * (6) pressure (pmb) * (7) relative humidity (rh) * (8) wavelength (wl) * (9) lapse rate (tlr) * (10,11) refraction constants A and B (radians) * (12) longitude + eqn of equinoxes + sidereal DUT (radians) * (13) local apparent sidereal time (radians) * Description: * Precompute apparent to observed place parameters required by palAopqk * and palOapqk. * Authors: * TIMJ: Tim Jenness (JAC, Hawaii) * {enter_new_authors_here} * Notes: * - It is advisable to take great care with units, as even * unlikely values of the input parameters are accepted and * processed in accordance with the models used. * * - The DATE argument is UTC expressed as an MJD. This is, * strictly speaking, improper, because of leap seconds. However, * as long as the delta UT and the UTC are consistent there * are no difficulties, except during a leap second. In this * case, the start of the 61st second of the final minute should * begin a new MJD day and the old pre-leap delta UT should * continue to be used. As the 61st second completes, the MJD * should revert to the start of the day as, simultaneously, * the delta UTC changes by one second to its post-leap new value. * * - The delta UT (UT1-UTC) is tabulated in IERS circulars and * elsewhere. It increases by exactly one second at the end of * each UTC leap second, introduced in order to keep delta UT * within +/- 0.9 seconds. * * - IMPORTANT -- TAKE CARE WITH THE LONGITUDE SIGN CONVENTION. * The longitude required by the present routine is east-positive, * in accordance with geographical convention (and right-handed). * In particular, note that the longitudes returned by the * palObs routine are west-positive, following astronomical * usage, and must be reversed in sign before use in the present * routine. * * - The polar coordinates XP,YP can be obtained from IERS * circulars and equivalent publications. The maximum amplitude * is about 0.3 arcseconds. If XP,YP values are unavailable, * use XP=YP=0.0. See page B60 of the 1988 Astronomical Almanac * for a definition of the two angles. * * - The height above sea level of the observing station, HM, * can be obtained from the Astronomical Almanac (Section J * in the 1988 edition), or via the routine palObs. If P, * the pressure in millibars, is available, an adequate * estimate of HM can be obtained from the expression * * HM ~ -29.3*TSL*log(P/1013.25). * * where TSL is the approximate sea-level air temperature in K * (see Astrophysical Quantities, C.W.Allen, 3rd edition, * section 52). Similarly, if the pressure P is not known, * it can be estimated from the height of the observing * station, HM, as follows: * * P ~ 1013.25*exp(-HM/(29.3*TSL)). * * Note, however, that the refraction is nearly proportional to the * pressure and that an accurate P value is important for precise * work. * * - Repeated, computationally-expensive, calls to palAoppa for * times that are very close together can be avoided by calling * palAoppa just once and then using palAoppat for the subsequent * times. Fresh calls to palAoppa will be needed only when * changes in the precession have grown to unacceptable levels or * when anything affecting the refraction has changed. * History: * 2012-08-24 (TIMJ): * Initial version, ported directly from Fortran SLA. * Adapted with permission from the Fortran SLALIB library. * {enter_further_changes_here} * Copyright: * Copyright (C) 2012 Science and Technology Facilities Council. * All Rights Reserved. * Licence: * This program is free software; you can redistribute it and/or * modify it under the terms of the GNU General Public License as * published by the Free Software Foundation; either version 3 of * the License, or (at your option) any later version. * * This program is distributed in the hope that it will be * useful, but WITHOUT ANY WARRANTY; without even the implied * warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR * PURPOSE. See the GNU General Public License for more details. * * You should have received a copy of the GNU General Public License * along with this program; if not, write to the Free Software * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, * MA 02110-1301, USA. * Bugs: * {note_any_bugs_here} *- */ #include "math.h" #include "pal.h" #include "palmac.h" /* These are local SLA implementations to aid in testing. Switch * to native PAL implementations when tests are complete. */ static void pal__Geoc( double p, double h, double *r, double * z ); static void pal__Nutc ( double date, double * dpsi, double *deps, double * eps0 ); static double pal__Eqeqx( double date ); void palAoppa ( double date, double dut, double elongm, double phim, double hm, double xp, double yp, double tdk, double pmb, double rh, double wl, double tlr, double aoprms[14] ) { /* Constants */ const double C = 173.14463331; /* Speed of light (AU per day) */ const double SOLSID = 1.0027379093; /* Ratio between solar and sidereal time */ /* Local variables */ double cphim,xt,yt,zt,xc,yc,zc,elong,phi,uau,vau; /* Observer's location corrected for polar motion */ cphim = cos(phim); xt = cos(elongm)*cphim; yt = sin(elongm)*cphim; zt = sin(phim); xc = xt-xp*zt; yc = yt+yp*zt; zc = xp*xt-yp*yt+zt; if (xc == 0.0 && yc == 0.0) { elong = 0.0; } else { elong = atan2(yc,xc); } phi = atan2(zc,sqrt(xc*xc+yc*yc)); aoprms[0] = phi; aoprms[1] = sin(phi); aoprms[2] = cos(phi); /* magnitude of the diurnal aberration vector */ pal__Geoc(phi,hm,&uau,&vau); aoprms[3] = PAL__D2PI*uau*SOLSID/C; /* copy the refraction parameters and compute the a & b constants */ aoprms[4] = hm; aoprms[5] = tdk; aoprms[6] = pmb; aoprms[7] = rh; aoprms[8] = wl; aoprms[9] = tlr; palRefco(hm,tdk,pmb,rh,wl,phi,tlr,1e-10, &aoprms[10],&aoprms[11]); /* longitude + equation of the equinoxes + sidereal equivalent of DUT * (ignoring change in equation of the equinoxes between UTC and TDB) */ aoprms[12] = elong+pal__Eqeqx(date)+dut*SOLSID*PAL__DS2R; /* sidereal time */ palAoppat(date,aoprms); } /* Private reimplementation of slaEqeqx for testing the algorithm */ #include static void pal__Geoc( double p, double h, double *r, double * z ) { /* earth equatorial radius (metres) */ const double A0=6378140.0; /* reference spheroid flattening factor and useful function */ const double f = 1.0/298.257; double b; /* astronomical unit in metres */ const double AU = 1.49597870e11; double sp,cp,c,s; b = pow( 1.0-f, 2.0 ); /* geodetic to geocentric conversion */ sp = sin(p); cp = cos(p); c = 1.0/sqrt(cp*cp+b*sp*sp); s = b*c; *r = (A0*c+h)*cp/AU; *z = (A0*s+h)*sp/AU; } static double pal__Eqeqx( double date ) { const double T2AS=1296000.0; double sla_eqeqx; double t, om, dpsi, deps, eps0; /* interval between basic epoch j2000.0 and current epoch (jc) */ t=(date-51544.5)/36525.0; /* longitude of the mean ascending node of the lunar orbit on the * ecliptic, measured from the mean equinox of date */ om=PAL__DAS2R*(450160.280+(-5.0*T2AS-482890.539 +(7.455+0.008*t)*t)*t); /* nutation */ pal__Nutc(date,&dpsi,&deps,&eps0); /* equation of the equinoxes */ sla_eqeqx=dpsi*cos(eps0)+PAL__DAS2R*(0.00264*sin(om)+ 0.000063*sin(om+om)); return sla_eqeqx; } #include "palmac.h" static void pal__Nutc ( double date, double * dpsi, double *deps, double * eps0 ) { const double DJC = 36525.0; const double DJM0 = 51544.5; const double TURNAS = 1296000.0; #define NTERMS 194 int j; double t,el,elp,f,d,om,ve,ma,ju,sa,theta,c,s,dp,de; int na[ 194 ][9] = { { 0 , 0 , 0 , 0 , -1 , 0 , 0 , 0 , 0 }, { 0 , 0 , 2 , -2 , 2 , 0 , 0 , 0 , 0 }, { 0 , 0 , 2 , 0 , 2 , 0 , 0 , 0 , 0 }, { 0 , 0 , 0 , 0 , -2 , 0 , 0 , 0 , 0 }, { 0 , 1 , 0 , 0 , 0 , 0 , 0 , 0 , 0 }, { 0 , 1 , 2 , -2 , 2 , 0 , 0 , 0 , 0 }, { 1 , 0 , 0 , 0 , 0 , 0 , 0 , 0 , 0 }, { 0 , 0 , 2 , 0 , 1 , 0 , 0 , 0 , 0 }, { 1 , 0 , 2 , 0 , 2 , 0 , 0 , 0 , 0 }, { 0 , -1 , 2 , -2 , 2 , 0 , 0 , 0 , 0 }, { 0 , 0 , 2 , -2 , 1 , 0 , 0 , 0 , 0 }, { -1 , 0 , 2 , 0 , 2 , 0 , 0 , 0 , 0 }, { -1 , 0 , 0 , 2 , 0 , 0 , 0 , 0 , 0 }, { 1 , 0 , 0 , 0 , 1 , 0 , 0 , 0 , 0 }, { 1 , 0 , 0 , 0 , -1 , 0 , 0 , 0 , 0 }, { -1 , 0 , 2 , 2 , 2 , 0 , 0 , 0 , 0 }, { 1 , 0 , 2 , 0 , 1 , 0 , 0 , 0 , 0 }, { -2 , 0 , 2 , 0 , 1 , 0 , 0 , 0 , 0 }, { 0 , 0 , 0 , 2 , 0 , 0 , 0 , 0 , 0 }, { 0 , 0 , 2 , 2 , 2 , 0 , 0 , 0 , 0 }, { 2 , 0 , 0 , -2 , 0 , 0 , 0 , 0 , 0 }, { 2 , 0 , 2 , 0 , 2 , 0 , 0 , 0 , 0 }, { 1 , 0 , 2 , -2 , 2 , 0 , 0 , 0 , 0 }, { -1 , 0 , 2 , 0 , 1 , 0 , 0 , 0 , 0 }, { 2 , 0 , 0 , 0 , 0 , 0 , 0 , 0 , 0 }, { 0 , 0 , 2 , 0 , 0 , 0 , 0 , 0 , 0 }, { 0 , 1 , 0 , 0 , 1 , 0 , 0 , 0 , 0 }, { -1 , 0 , 0 , 2 , 1 , 0 , 0 , 0 , 0 }, { 0 , 2 , 2 , -2 , 2 , 0 , 0 , 0 , 0 }, { 0 , 0 , 2 , -2 , 0 , 0 , 0 , 0 , 0 }, { -1 , 0 , 0 , 2 , -1 , 0 , 0 , 0 , 0 }, { 0 , 1 , 0 , 0 , -1 , 0 , 0 , 0 , 0 }, { 0 , 2 , 0 , 0 , 0 , 0 , 0 , 0 , 0 }, { -1 , 0 , 2 , 2 , 1 , 0 , 0 , 0 , 0 }, { 1 , 0 , 2 , 2 , 2 , 0 , 0 , 0 , 0 }, { 0 , 1 , 2 , 0 , 2 , 0 , 0 , 0 , 0 }, { -2 , 0 , 2 , 0 , 0 , 0 , 0 , 0 , 0 }, { 0 , 0 , 2 , 2 , 1 , 0 , 0 , 0 , 0 }, { 0 , -1 , 2 , 0 , 2 , 0 , 0 , 0 , 0 }, { 0 , 0 , 0 , 2 , 1 , 0 , 0 , 0 , 0 }, { 1 , 0 , 2 , -2 , 1 , 0 , 0 , 0 , 0 }, { 2 , 0 , 0 , -2 , -1 , 0 , 0 , 0 , 0 }, { 2 , 0 , 2 , -2 , 2 , 0 , 0 , 0 , 0 }, { 2 , 0 , 2 , 0 , 1 , 0 , 0 , 0 , 0 }, { 0 , 0 , 0 , 2 , -1 , 0 , 0 , 0 , 0 }, { 0 , -1 , 2 , -2 , 1 , 0 , 0 , 0 , 0 }, { -1 , -1 , 0 , 2 , 0 , 0 , 0 , 0 , 0 }, { 2 , 0 , 0 , -2 , 1 , 0 , 0 , 0 , 0 }, { 1 , 0 , 0 , 2 , 0 , 0 , 0 , 0 , 0 }, { 0 , 1 , 2 , -2 , 1 , 0 , 0 , 0 , 0 }, { 1 , -1 , 0 , 0 , 0 , 0 , 0 , 0 , 0 }, { -2 , 0 , 2 , 0 , 2 , 0 , 0 , 0 , 0 }, { 0 , -1 , 0 , 2 , 0 , 0 , 0 , 0 , 0 }, { 3 , 0 , 2 , 0 , 2 , 0 , 0 , 0 , 0 }, { 0 , 0 , 0 , 1 , 0 , 0 , 0 , 0 , 0 }, { 1 , -1 , 2 , 0 , 2 , 0 , 0 , 0 , 0 }, { 1 , 0 , 0 , -1 , 0 , 0 , 0 , 0 , 0 }, { -1 , -1 , 2 , 2 , 2 , 0 , 0 , 0 , 0 }, { -1 , 0 , 2 , 0 , 0 , 0 , 0 , 0 , 0 }, { 2 , 0 , 0 , 0 , -1 , 0 , 0 , 0 , 0 }, { 0 , -1 , 2 , 2 , 2 , 0 , 0 , 0 , 0 }, { 1 , 1 , 2 , 0 , 2 , 0 , 0 , 0 , 0 }, { 2 , 0 , 0 , 0 , 1 , 0 , 0 , 0 , 0 }, { 1 , 1 , 0 , 0 , 0 , 0 , 0 , 0 , 0 }, { 1 , 0 , -2 , 2 , -1 , 0 , 0 , 0 , 0 }, { 1 , 0 , 2 , 0 , 0 , 0 , 0 , 0 , 0 }, { -1 , 1 , 0 , 1 , 0 , 0 , 0 , 0 , 0 }, { 1 , 0 , 0 , 0 , 2 , 0 , 0 , 0 , 0 }, { -1 , 0 , 1 , 0 , 1 , 0 , 0 , 0 , 0 }, { 0 , 0 , 2 , 1 , 2 , 0 , 0 , 0 , 0 }, { -1 , 1 , 0 , 1 , 1 , 0 , 0 , 0 , 0 }, { -1 , 0 , 2 , 4 , 2 , 0 , 0 , 0 , 0 }, { 0 , -2 , 2 , -2 , 1 , 0 , 0 , 0 , 0 }, { 1 , 0 , 2 , 2 , 1 , 0 , 0 , 0 , 0 }, { 1 , 0 , 0 , 0 , -2 , 0 , 0 , 0 , 0 }, { -2 , 0 , 2 , 2 , 2 , 0 , 0 , 0 , 0 }, { 1 , 1 , 2 , -2 , 2 , 0 , 0 , 0 , 0 }, { -2 , 0 , 2 , 4 , 2 , 0 , 0 , 0 , 0 }, { -1 , 0 , 4 , 0 , 2 , 0 , 0 , 0 , 0 }, { 2 , 0 , 2 , -2 , 1 , 0 , 0 , 0 , 0 }, { 1 , 0 , 0 , -1 , -1 , 0 , 0 , 0 , 0 }, { 2 , 0 , 2 , 2 , 2 , 0 , 0 , 0 , 0 }, { 1 , 0 , 0 , 2 , 1 , 0 , 0 , 0 , 0 }, { 3 , 0 , 0 , 0 , 0 , 0 , 0 , 0 , 0 }, { 0 , 0 , 2 , -2 , -1 , 0 , 0 , 0 , 0 }, { 3 , 0 , 2 , -2 , 2 , 0 , 0 , 0 , 0 }, { 0 , 0 , 4 , -2 , 2 , 0 , 0 , 0 , 0 }, { -1 , 0 , 0 , 4 , 0 , 0 , 0 , 0 , 0 }, { 0 , 1 , 2 , 0 , 1 , 0 , 0 , 0 , 0 }, { 0 , 0 , 2 , -2 , 3 , 0 , 0 , 0 , 0 }, { -2 , 0 , 0 , 4 , 0 , 0 , 0 , 0 , 0 }, { -1 , -1 , 0 , 2 , 1 , 0 , 0 , 0 , 0 }, { -2 , 0 , 2 , 0 , -1 , 0 , 0 , 0 , 0 }, { 0 , 0 , 2 , 0 , -1 , 0 , 0 , 0 , 0 }, { 0 , -1 , 2 , 0 , 1 , 0 , 0 , 0 , 0 }, { 0 , 1 , 0 , 0 , 2 , 0 , 0 , 0 , 0 }, { 0 , 0 , 2 , -1 , 2 , 0 , 0 , 0 , 0 }, { 2 , 1 , 0 , -2 , 0 , 0 , 0 , 0 , 0 }, { 0 , 0 , 2 , 4 , 2 , 0 , 0 , 0 , 0 }, { -1 , -1 , 0 , 2 , -1 , 0 , 0 , 0 , 0 }, { -1 , 1 , 0 , 2 , 0 , 0 , 0 , 0 , 0 }, { 1 , -1 , 0 , 0 , 1 , 0 , 0 , 0 , 0 }, { 0 , -1 , 2 , -2 , 0 , 0 , 0 , 0 , 0 }, { 0 , 1 , 0 , 0 , -2 , 0 , 0 , 0 , 0 }, { 1 , -1 , 2 , 2 , 2 , 0 , 0 , 0 , 0 }, { 1 , 0 , 0 , 2 , -1 , 0 , 0 , 0 , 0 }, { -1 , 1 , 2 , 2 , 2 , 0 , 0 , 0 , 0 }, { 3 , 0 , 2 , 0 , 1 , 0 , 0 , 0 , 0 }, { 0 , 1 , 2 , 2 , 2 , 0 , 0 , 0 , 0 }, { 1 , 0 , 2 , -2 , 0 , 0 , 0 , 0 , 0 }, { -1 , 0 , -2 , 4 , -1 , 0 , 0 , 0 , 0 }, { -1 , -1 , 2 , 2 , 1 , 0 , 0 , 0 , 0 }, { 0 , -1 , 2 , 2 , 1 , 0 , 0 , 0 , 0 }, { 2 , -1 , 2 , 0 , 2 , 0 , 0 , 0 , 0 }, { 0 , 0 , 0 , 2 , 2 , 0 , 0 , 0 , 0 }, { 1 , -1 , 2 , 0 , 1 , 0 , 0 , 0 , 0 }, { -1 , 1 , 2 , 0 , 2 , 0 , 0 , 0 , 0 }, { 0 , 1 , 0 , 2 , 0 , 0 , 0 , 0 , 0 }, { 0 , 1 , 2 , -2 , 0 , 0 , 0 , 0 , 0 }, { 0 , 3 , 2 , -2 , 2 , 0 , 0 , 0 , 0 }, { 0 , 0 , 0 , 1 , 1 , 0 , 0 , 0 , 0 }, { -1 , 0 , 2 , 2 , 0 , 0 , 0 , 0 , 0 }, { 2 , 1 , 2 , 0 , 2 , 0 , 0 , 0 , 0 }, { 1 , 1 , 0 , 0 , 1 , 0 , 0 , 0 , 0 }, { 2 , 0 , 0 , 2 , 0 , 0 , 0 , 0 , 0 }, { 1 , 1 , 2 , 0 , 1 , 0 , 0 , 0 , 0 }, { -1 , 0 , 0 , 2 , 2 , 0 , 0 , 0 , 0 }, { 1 , 0 , -2 , 2 , 0 , 0 , 0 , 0 , 0 }, { 0 , -1 , 0 , 2 , -1 , 0 , 0 , 0 , 0 }, { -1 , 0 , 1 , 0 , 2 , 0 , 0 , 0 , 0 }, { 0 , 1 , 0 , 1 , 0 , 0 , 0 , 0 , 0 }, { 1 , 0 , -2 , 2 , -2 , 0 , 0 , 0 , 0 }, { 0 , 0 , 0 , 1 , -1 , 0 , 0 , 0 , 0 }, { 1 , -1 , 0 , 0 , -1 , 0 , 0 , 0 , 0 }, { 0 , 0 , 0 , 4 , 0 , 0 , 0 , 0 , 0 }, { 1 , -1 , 0 , 2 , 0 , 0 , 0 , 0 , 0 }, { 1 , 0 , 2 , 1 , 2 , 0 , 0 , 0 , 0 }, { 1 , 0 , 2 , -1 , 2 , 0 , 0 , 0 , 0 }, { -1 , 0 , 0 , 2 , -2 , 0 , 0 , 0 , 0 }, { 0 , 0 , 2 , 1 , 1 , 0 , 0 , 0 , 0 }, { -1 , 0 , 2 , 0 , -1 , 0 , 0 , 0 , 0 }, { -1 , 0 , 2 , 4 , 1 , 0 , 0 , 0 , 0 }, { 0 , 0 , 2 , 2 , 0 , 0 , 0 , 0 , 0 }, { 1 , 1 , 2 , -2 , 1 , 0 , 0 , 0 , 0 }, { 0 , 0 , 1 , 0 , 1 , 0 , 0 , 0 , 0 }, { -1 , 0 , 2 , -1 , 1 , 0 , 0 , 0 , 0 }, { -2 , 0 , 2 , 2 , 1 , 0 , 0 , 0 , 0 }, { 2 , -1 , 0 , 0 , 0 , 0 , 0 , 0 , 0 }, { 4 , 0 , 2 , 0 , 2 , 0 , 0 , 0 , 0 }, { 2 , 1 , 2 , -2 , 2 , 0 , 0 , 0 , 0 }, { 0 , 1 , 2 , 1 , 2 , 0 , 0 , 0 , 0 }, { 1 , 0 , 4 , -2 , 2 , 0 , 0 , 0 , 0 }, { 1 , 1 , 0 , 0 , -1 , 0 , 0 , 0 , 0 }, { -2 , 0 , 2 , 4 , 1 , 0 , 0 , 0 , 0 }, { 2 , 0 , 2 , 0 , 0 , 0 , 0 , 0 , 0 }, { -1 , 0 , 1 , 0 , 0 , 0 , 0 , 0 , 0 }, { 1 , 0 , 0 , 1 , 0 , 0 , 0 , 0 , 0 }, { 0 , 1 , 0 , 2 , 1 , 0 , 0 , 0 , 0 }, { -1 , 0 , 4 , 0 , 1 , 0 , 0 , 0 , 0 }, { -1 , 0 , 0 , 4 , 1 , 0 , 0 , 0 , 0 }, { 2 , 0 , 2 , 2 , 1 , 0 , 0 , 0 , 0 }, { 2 , 1 , 0 , 0 , 0 , 0 , 0 , 0 , 0 }, { 0 , 0 , 5 , -5 , 5 , -3 , 0 , 0 , 0 }, { 0 , 0 , 0 , 0 , 0 , 0 , 0 , 2 , 0 }, { 0 , 0 , 1 , -1 , 1 , 0 , 0 , -1 , 0 }, { 0 , 0 , -1 , 1 , -1 , 1 , 0 , 0 , 0 }, { 0 , 0 , -1 , 1 , 0 , 0 , 2 , 0 , 0 }, { 0 , 0 , 3 , -3 , 3 , 0 , 0 , -1 , 0 }, { 0 , 0 , -8 , 8 , -7 , 5 , 0 , 0 , 0 }, { 0 , 0 , -1 , 1 , -1 , 0 , 2 , 0 , 0 }, { 0 , 0 , -2 , 2 , -2 , 2 , 0 , 0 , 0 }, { 0 , 0 , -6 , 6 , -6 , 4 , 0 , 0 , 0 }, { 0 , 0 , -2 , 2 , -2 , 0 , 8 , -3 , 0 }, { 0 , 0 , 6 , -6 , 6 , 0 , -8 , 3 , 0 }, { 0 , 0 , 4 , -4 , 4 , -2 , 0 , 0 , 0 }, { 0 , 0 , -3 , 3 , -3 , 2 , 0 , 0 , 0 }, { 0 , 0 , 4 , -4 , 3 , 0 , -8 , 3 , 0 }, { 0 , 0 , -4 , 4 , -5 , 0 , 8 , -3 , 0 }, { 0 , 0 , 0 , 0 , 0 , 2 , 0 , 0 , 0 }, { 0 , 0 , -4 , 4 , -4 , 3 , 0 , 0 , 0 }, { 0 , 1 , -1 , 1 , -1 , 0 , 0 , 1 , 0 }, { 0 , 0 , 0 , 0 , 0 , 0 , 0 , 1 , 0 }, { 0 , 0 , 1 , -1 , 1 , 1 , 0 , 0 , 0 }, { 0 , 0 , 2 , -2 , 2 , 0 , -2 , 0 , 0 }, { 0 , -1 , -7 , 7 , -7 , 5 , 0 , 0 , 0 }, { -2 , 0 , 2 , 0 , 2 , 0 , 0 , -2 , 0 }, { -2 , 0 , 2 , 0 , 1 , 0 , 0 , -3 , 0 }, { 0 , 0 , 2 , -2 , 2 , 0 , 0 , -2 , 0 }, { 0 , 0 , 1 , -1 , 1 , 0 , 0 , 1 , 0 }, { 0 , 0 , 0 , 0 , 0 , 0 , 0 , 0 , 2 }, { 0 , 0 , 0 , 0 , 0 , 0 , 0 , 0 , 1 }, { 2 , 0 , -2 , 0 , -2 , 0 , 0 , 3 , 0 }, { 0 , 0 , 1 , -1 , 1 , 0 , 0 , -2 , 0 }, { 0 , 0 , -7 , 7 , -7 , 5 , 0 , 0 , 0 } }; double psi[ 194 ][4] = { { 3341.5000000000000 , 17206241.800000001 , 3.1000000000000001 , 17409.500000000000 }, { -1716.8000000000000 , -1317185.3000000000 , 1.3999999999999999 , -156.80000000000001 }, { 285.69999999999999 , -227667.00000000000 , 0.29999999999999999 , -23.500000000000000 }, { -68.599999999999994 , -207448.00000000000 , 0.0000000000000000 , -21.399999999999999 }, { 950.29999999999995 , 147607.89999999999 , -2.2999999999999998 , -355.00000000000000 }, { -66.700000000000003 , -51689.099999999999 , 0.20000000000000001 , 122.59999999999999 }, { -108.59999999999999 , 71117.600000000006 , 0.0000000000000000 , 7.0000000000000000 }, { 35.600000000000001 , -38740.199999999997 , 0.10000000000000001 , -36.200000000000003 }, { 85.400000000000006 , -30127.599999999999 , 0.0000000000000000 , -3.1000000000000001 }, { 9.0000000000000000 , 21583.000000000000 , 0.10000000000000001 , -50.299999999999997 }, { 22.100000000000001 , 12822.799999999999 , 0.0000000000000000 , 13.300000000000001 }, { 3.3999999999999999 , 12350.799999999999 , 0.0000000000000000 , 1.3000000000000000 }, { -21.100000000000001 , 15699.400000000000 , 0.0000000000000000 , 1.6000000000000001 }, { 4.2000000000000002 , 6313.8000000000002 , 0.0000000000000000 , 6.2000000000000002 }, { -22.800000000000001 , 5796.8999999999996 , 0.0000000000000000 , 6.0999999999999996 }, { 15.699999999999999 , -5961.1000000000004 , 0.0000000000000000 , -0.59999999999999998 }, { 13.100000000000000 , -5159.1000000000004 , 0.0000000000000000 , -4.5999999999999996 }, { 1.8000000000000000 , 4592.6999999999998 , 0.0000000000000000 , 4.5000000000000000 }, { -17.500000000000000 , 6336.0000000000000 , 0.0000000000000000 , 0.69999999999999996 }, { 16.300000000000001 , -3851.0999999999999 , 0.0000000000000000 , -0.40000000000000002 }, { -2.7999999999999998 , 4771.6999999999998 , 0.0000000000000000 , 0.50000000000000000 }, { 13.800000000000001 , -3099.3000000000002 , 0.0000000000000000 , -0.29999999999999999 }, { 0.20000000000000001 , 2860.3000000000002 , 0.0000000000000000 , 0.29999999999999999 }, { 1.3999999999999999 , 2045.3000000000000 , 0.0000000000000000 , 2.0000000000000000 }, { -8.5999999999999996 , 2922.5999999999999 , 0.0000000000000000 , 0.29999999999999999 }, { -7.7000000000000002 , 2587.9000000000001 , 0.0000000000000000 , 0.20000000000000001 }, { 8.8000000000000007 , -1408.0999999999999 , 0.0000000000000000 , 3.7000000000000002 }, { 1.3999999999999999 , 1517.5000000000000 , 0.0000000000000000 , 1.5000000000000000 }, { -1.8999999999999999 , -1579.7000000000000 , 0.0000000000000000 , 7.7000000000000002 }, { 1.3000000000000000 , -2178.5999999999999 , 0.0000000000000000 , -0.20000000000000001 }, { -4.7999999999999998 , 1286.8000000000000 , 0.0000000000000000 , 1.3000000000000000 }, { 6.2999999999999998 , 1267.2000000000000 , 0.0000000000000000 , -4.0000000000000000 }, { -1.0000000000000000 , 1669.3000000000000 , 0.0000000000000000 , -8.3000000000000007 }, { 2.3999999999999999 , -1020.0000000000000 , 0.0000000000000000 , -0.90000000000000002 }, { 4.5000000000000000 , -766.89999999999998 , 0.0000000000000000 , 0.0000000000000000 }, { -1.1000000000000001 , 756.50000000000000 , 0.0000000000000000 , -1.7000000000000000 }, { -1.3999999999999999 , -1097.3000000000000 , 0.0000000000000000 , -0.50000000000000000 }, { 2.6000000000000001 , -663.00000000000000 , 0.0000000000000000 , -0.59999999999999998 }, { 0.80000000000000004 , -714.10000000000002 , 0.0000000000000000 , 1.6000000000000001 }, { 0.40000000000000002 , -629.89999999999998 , 0.0000000000000000 , -0.59999999999999998 }, { 0.29999999999999999 , 580.39999999999998 , 0.0000000000000000 , 0.59999999999999998 }, { -1.6000000000000001 , 577.29999999999995 , 0.0000000000000000 , 0.50000000000000000 }, { -0.90000000000000002 , 644.39999999999998 , 0.0000000000000000 , 0.0000000000000000 }, { 2.2000000000000002 , -534.00000000000000 , 0.0000000000000000 , -0.50000000000000000 }, { -2.5000000000000000 , 493.30000000000001 , 0.0000000000000000 , 0.50000000000000000 }, { -0.10000000000000001 , -477.30000000000001 , 0.0000000000000000 , -2.3999999999999999 }, { -0.90000000000000002 , 735.00000000000000 , 0.0000000000000000 , -1.7000000000000000 }, { 0.69999999999999996 , 406.19999999999999 , 0.0000000000000000 , 0.40000000000000002 }, { -2.7999999999999998 , 656.89999999999998 , 0.0000000000000000 , 0.0000000000000000 }, { 0.59999999999999998 , 358.00000000000000 , 0.0000000000000000 , 2.0000000000000000 }, { -0.69999999999999996 , 472.50000000000000 , 0.0000000000000000 , -1.1000000000000001 }, { -0.10000000000000001 , -300.50000000000000 , 0.0000000000000000 , 0.0000000000000000 }, { -1.2000000000000000 , 435.10000000000002 , 0.0000000000000000 , -1.0000000000000000 }, { 1.8000000000000000 , -289.39999999999998 , 0.0000000000000000 , 0.0000000000000000 }, { 0.59999999999999998 , -422.60000000000002 , 0.0000000000000000 , 0.0000000000000000 }, { 0.80000000000000004 , -287.60000000000002 , 0.0000000000000000 , 0.59999999999999998 }, { -38.600000000000001 , -392.30000000000001 , 0.0000000000000000 , 0.0000000000000000 }, { 0.69999999999999996 , -281.80000000000001 , 0.0000000000000000 , 0.59999999999999998 }, { 0.59999999999999998 , -405.69999999999999 , 0.0000000000000000 , 0.0000000000000000 }, { -1.2000000000000000 , 229.00000000000000 , 0.0000000000000000 , 0.20000000000000001 }, { 1.1000000000000001 , -264.30000000000001 , 0.0000000000000000 , 0.50000000000000000 }, { -0.69999999999999996 , 247.90000000000001 , 0.0000000000000000 , -0.50000000000000000 }, { -0.20000000000000001 , 218.00000000000000 , 0.0000000000000000 , 0.20000000000000001 }, { 0.59999999999999998 , -339.00000000000000 , 0.0000000000000000 , 0.80000000000000004 }, { -0.69999999999999996 , 198.69999999999999 , 0.0000000000000000 , 0.20000000000000001 }, { -1.5000000000000000 , 334.00000000000000 , 0.0000000000000000 , 0.0000000000000000 }, { 0.10000000000000001 , 334.00000000000000 , 0.0000000000000000 , 0.0000000000000000 }, { -0.10000000000000001 , -198.09999999999999 , 0.0000000000000000 , 0.0000000000000000 }, { -106.59999999999999 , 0.0000000000000000 , 0.0000000000000000 , 0.0000000000000000 }, { -0.50000000000000000 , 165.80000000000001 , 0.0000000000000000 , 0.0000000000000000 }, { 0.0000000000000000 , 134.80000000000001 , 0.0000000000000000 , 0.0000000000000000 }, { 0.90000000000000002 , -151.59999999999999 , 0.0000000000000000 , 0.0000000000000000 }, { 0.0000000000000000 , -129.69999999999999 , 0.0000000000000000 , 0.0000000000000000 }, { 0.80000000000000004 , -132.80000000000001 , 0.0000000000000000 , -0.10000000000000001 }, { 0.50000000000000000 , -140.69999999999999 , 0.0000000000000000 , 0.0000000000000000 }, { -0.10000000000000001 , 138.40000000000001 , 0.0000000000000000 , 0.0000000000000000 }, { 0.0000000000000000 , 129.00000000000000 , 0.0000000000000000 , -0.29999999999999999 }, { 0.50000000000000000 , -121.20000000000000 , 0.0000000000000000 , 0.0000000000000000 }, { -0.29999999999999999 , 114.50000000000000 , 0.0000000000000000 , 0.0000000000000000 }, { -0.10000000000000001 , 101.80000000000000 , 0.0000000000000000 , 0.0000000000000000 }, { -3.6000000000000001 , -101.90000000000001 , 0.0000000000000000 , 0.0000000000000000 }, { 0.80000000000000004 , -109.40000000000001 , 0.0000000000000000 , 0.0000000000000000 }, { 0.20000000000000001 , -97.000000000000000 , 0.0000000000000000 , 0.0000000000000000 }, { -0.69999999999999996 , 157.30000000000001 , 0.0000000000000000 , 0.0000000000000000 }, { 0.20000000000000001 , -83.299999999999997 , 0.0000000000000000 , 0.0000000000000000 }, { -0.29999999999999999 , 93.299999999999997 , 0.0000000000000000 , 0.0000000000000000 }, { -0.10000000000000001 , 92.099999999999994 , 0.0000000000000000 , 0.0000000000000000 }, { -0.50000000000000000 , 133.59999999999999 , 0.0000000000000000 , 0.0000000000000000 }, { -0.10000000000000001 , 81.500000000000000 , 0.0000000000000000 , 0.0000000000000000 }, { 0.0000000000000000 , 123.90000000000001 , 0.0000000000000000 , 0.0000000000000000 }, { -0.29999999999999999 , 128.09999999999999 , 0.0000000000000000 , 0.0000000000000000 }, { 0.10000000000000001 , 74.099999999999994 , 0.0000000000000000 , -0.29999999999999999 }, { -0.20000000000000001 , -70.299999999999997 , 0.0000000000000000 , 0.0000000000000000 }, { -0.40000000000000002 , 66.599999999999994 , 0.0000000000000000 , 0.0000000000000000 }, { 0.10000000000000001 , -66.700000000000003 , 0.0000000000000000 , 0.0000000000000000 }, { -0.69999999999999996 , 69.299999999999997 , 0.0000000000000000 , -0.29999999999999999 }, { 0.0000000000000000 , -70.400000000000006 , 0.0000000000000000 , 0.0000000000000000 }, { -0.10000000000000001 , 101.50000000000000 , 0.0000000000000000 , 0.0000000000000000 }, { 0.50000000000000000 , -69.099999999999994 , 0.0000000000000000 , 0.0000000000000000 }, { -0.20000000000000001 , 58.500000000000000 , 0.0000000000000000 , 0.20000000000000001 }, { 0.10000000000000001 , -94.900000000000006 , 0.0000000000000000 , 0.20000000000000001 }, { 0.0000000000000000 , 52.899999999999999 , 0.0000000000000000 , -0.20000000000000001 }, { 0.10000000000000001 , 86.700000000000003 , 0.0000000000000000 , -0.20000000000000001 }, { -0.10000000000000001 , -59.200000000000003 , 0.0000000000000000 , 0.20000000000000001 }, { 0.29999999999999999 , -58.799999999999997 , 0.0000000000000000 , 0.10000000000000001 }, { -0.29999999999999999 , 49.000000000000000 , 0.0000000000000000 , 0.0000000000000000 }, { -0.20000000000000001 , 56.899999999999999 , 0.0000000000000000 , -0.10000000000000001 }, { 0.29999999999999999 , -50.200000000000003 , 0.0000000000000000 , 0.0000000000000000 }, { -0.20000000000000001 , 53.399999999999999 , 0.0000000000000000 , -0.10000000000000001 }, { 0.10000000000000001 , -76.500000000000000 , 0.0000000000000000 , 0.0000000000000000 }, { -0.20000000000000001 , 45.299999999999997 , 0.0000000000000000 , 0.0000000000000000 }, { 0.10000000000000001 , -46.799999999999997 , 0.0000000000000000 , 0.0000000000000000 }, { 0.20000000000000001 , -44.600000000000001 , 0.0000000000000000 , 0.0000000000000000 }, { 0.20000000000000001 , -48.700000000000003 , 0.0000000000000000 , 0.0000000000000000 }, { 0.10000000000000001 , -46.799999999999997 , 0.0000000000000000 , 0.0000000000000000 }, { 0.10000000000000001 , -42.000000000000000 , 0.0000000000000000 , 0.0000000000000000 }, { 0.0000000000000000 , 46.399999999999999 , 0.0000000000000000 , -0.10000000000000001 }, { 0.20000000000000001 , -67.299999999999997 , 0.0000000000000000 , 0.10000000000000001 }, { 0.0000000000000000 , -65.799999999999997 , 0.0000000000000000 , 0.20000000000000001 }, { -0.10000000000000001 , -43.899999999999999 , 0.0000000000000000 , 0.29999999999999999 }, { 0.0000000000000000 , -38.899999999999999 , 0.0000000000000000 , 0.0000000000000000 }, { -0.29999999999999999 , 63.899999999999999 , 0.0000000000000000 , 0.0000000000000000 }, { -0.20000000000000001 , 41.200000000000003 , 0.0000000000000000 , 0.0000000000000000 }, { 0.0000000000000000 , -36.100000000000001 , 0.0000000000000000 , 0.20000000000000001 }, { -0.29999999999999999 , 58.500000000000000 , 0.0000000000000000 , 0.0000000000000000 }, { -0.10000000000000001 , 36.100000000000001 , 0.0000000000000000 , 0.0000000000000000 }, { 0.0000000000000000 , -39.700000000000003 , 0.0000000000000000 , 0.0000000000000000 }, { 0.10000000000000001 , -57.700000000000003 , 0.0000000000000000 , 0.0000000000000000 }, { -0.20000000000000001 , 33.399999999999999 , 0.0000000000000000 , 0.0000000000000000 }, { 36.399999999999999 , 0.0000000000000000 , 0.0000000000000000 , 0.0000000000000000 }, { -0.10000000000000001 , 55.700000000000003 , 0.0000000000000000 , -0.10000000000000001 }, { 0.10000000000000001 , -35.399999999999999 , 0.0000000000000000 , 0.0000000000000000 }, { 0.10000000000000001 , -31.000000000000000 , 0.0000000000000000 , 0.0000000000000000 }, { -0.10000000000000001 , 30.100000000000001 , 0.0000000000000000 , 0.0000000000000000 }, { -0.29999999999999999 , 49.200000000000003 , 0.0000000000000000 , 0.0000000000000000 }, { -0.20000000000000001 , 49.100000000000001 , 0.0000000000000000 , 0.0000000000000000 }, { -0.10000000000000001 , 33.600000000000001 , 0.0000000000000000 , 0.0000000000000000 }, { 0.10000000000000001 , -33.500000000000000 , 0.0000000000000000 , 0.0000000000000000 }, { 0.10000000000000001 , -31.000000000000000 , 0.0000000000000000 , 0.0000000000000000 }, { -0.10000000000000001 , 28.000000000000000 , 0.0000000000000000 , 0.0000000000000000 }, { 0.10000000000000001 , -25.199999999999999 , 0.0000000000000000 , 0.0000000000000000 }, { 0.10000000000000001 , -26.199999999999999 , 0.0000000000000000 , 0.0000000000000000 }, { -0.20000000000000001 , 41.500000000000000 , 0.0000000000000000 , 0.0000000000000000 }, { 0.0000000000000000 , 24.500000000000000 , 0.0000000000000000 , 0.10000000000000001 }, { -16.199999999999999 , 0.0000000000000000 , 0.0000000000000000 , 0.0000000000000000 }, { 0.0000000000000000 , -22.300000000000001 , 0.0000000000000000 , 0.0000000000000000 }, { 0.0000000000000000 , 23.100000000000001 , 0.0000000000000000 , 0.0000000000000000 }, { -0.10000000000000001 , 37.500000000000000 , 0.0000000000000000 , 0.0000000000000000 }, { 0.20000000000000001 , -25.699999999999999 , 0.0000000000000000 , 0.0000000000000000 }, { 0.0000000000000000 , 25.199999999999999 , 0.0000000000000000 , 0.0000000000000000 }, { 0.10000000000000001 , -24.500000000000000 , 0.0000000000000000 , 0.0000000000000000 }, { -0.10000000000000001 , 24.300000000000001 , 0.0000000000000000 , 0.0000000000000000 }, { 0.10000000000000001 , -20.699999999999999 , 0.0000000000000000 , 0.0000000000000000 }, { 0.10000000000000001 , -20.800000000000001 , 0.0000000000000000 , 0.0000000000000000 }, { -0.20000000000000001 , 33.399999999999999 , 0.0000000000000000 , 0.0000000000000000 }, { 32.899999999999999 , 0.0000000000000000 , 0.0000000000000000 , 0.0000000000000000 }, { 0.10000000000000001 , -32.600000000000001 , 0.0000000000000000 , 0.0000000000000000 }, { 0.0000000000000000 , 19.899999999999999 , 0.0000000000000000 , 0.0000000000000000 }, { -0.10000000000000001 , 19.600000000000001 , 0.0000000000000000 , 0.0000000000000000 }, { 0.0000000000000000 , -18.699999999999999 , 0.0000000000000000 , 0.0000000000000000 }, { 0.10000000000000001 , -19.000000000000000 , 0.0000000000000000 , 0.0000000000000000 }, { 0.10000000000000001 , -28.600000000000001 , 0.0000000000000000 , 0.0000000000000000 }, { 4.0000000000000000 , 178.80000000000001 , -11.800000000000001 , 0.29999999999999999 }, { 39.799999999999997 , -107.30000000000000 , -5.5999999999999996 , -1.0000000000000000 }, { 9.9000000000000004 , 164.00000000000000 , -4.0999999999999996 , 0.10000000000000001 }, { -4.7999999999999998 , -135.30000000000001 , -3.3999999999999999 , -0.10000000000000001 }, { 50.500000000000000 , 75.000000000000000 , 1.3999999999999999 , -1.2000000000000000 }, { -1.1000000000000001 , -53.500000000000000 , 1.3000000000000000 , 0.0000000000000000 }, { -45.000000000000000 , -2.3999999999999999 , -0.40000000000000002 , 6.5999999999999996 }, { -11.500000000000000 , -61.000000000000000 , -0.90000000000000002 , 0.40000000000000002 }, { 4.4000000000000004 , -68.400000000000006 , -3.3999999999999999 , 0.0000000000000000 }, { 7.7000000000000002 , -47.100000000000001 , -4.7000000000000002 , -1.0000000000000000 }, { -42.899999999999999 , -12.600000000000000 , -1.2000000000000000 , 4.2000000000000002 }, { -42.799999999999997 , 12.699999999999999 , -1.2000000000000000 , -4.2000000000000002 }, { -7.5999999999999996 , -44.100000000000001 , 2.1000000000000001 , -0.50000000000000000 }, { -64.099999999999994 , 1.7000000000000000 , 0.20000000000000001 , 4.5000000000000000 }, { 36.399999999999999 , -10.400000000000000 , 1.0000000000000000 , 3.5000000000000000 }, { 35.600000000000001 , 10.199999999999999 , 1.0000000000000000 , -3.5000000000000000 }, { -1.7000000000000000 , 39.500000000000000 , 2.0000000000000000 , 0.0000000000000000 }, { 50.899999999999999 , -8.1999999999999993 , -0.80000000000000004 , -5.0000000000000000 }, { 0.0000000000000000 , 52.299999999999997 , 1.2000000000000000 , 0.0000000000000000 }, { -42.899999999999999 , -17.800000000000001 , 0.40000000000000002 , 0.0000000000000000 }, { 2.6000000000000001 , 34.299999999999997 , 0.80000000000000004 , 0.0000000000000000 }, { -0.80000000000000004 , -48.600000000000001 , 2.3999999999999999 , -0.10000000000000001 }, { -4.9000000000000004 , 30.500000000000000 , 3.7000000000000002 , 0.69999999999999996 }, { 0.0000000000000000 , -43.600000000000001 , 2.1000000000000001 , 0.0000000000000000 }, { 0.0000000000000000 , -25.399999999999999 , 1.2000000000000000 , 0.0000000000000000 }, { 2.0000000000000000 , 40.899999999999999 , -2.0000000000000000 , 0.0000000000000000 }, { -2.1000000000000001 , 26.100000000000001 , 0.59999999999999998 , 0.0000000000000000 }, { 22.600000000000001 , -3.2000000000000002 , -0.50000000000000000 , -0.50000000000000000 }, { -7.5999999999999996 , 24.899999999999999 , -0.40000000000000002 , -0.20000000000000001 }, { -6.2000000000000002 , 34.899999999999999 , 1.7000000000000000 , 0.29999999999999999 }, { 2.0000000000000000 , 17.399999999999999 , -0.40000000000000002 , 0.10000000000000001 }, { -3.8999999999999999 , 20.500000000000000 , 2.3999999999999999 , 0.59999999999999998 } }; double eps[ 194 ][4] = { { 9205365.8000000007 , -1506.2000000000000 , 885.70000000000005 , -0.20000000000000001 }, { 573095.90000000002 , -570.20000000000005 , -305.00000000000000 , -0.29999999999999999 }, { 97845.500000000000 , 147.80000000000001 , -48.799999999999997 , -0.20000000000000001 }, { -89753.600000000006 , 28.000000000000000 , 46.899999999999999 , 0.0000000000000000 }, { 7406.6999999999998 , -327.10000000000002 , -18.199999999999999 , 0.80000000000000004 }, { 22442.299999999999 , -22.300000000000001 , -67.599999999999994 , 0.0000000000000000 }, { -683.60000000000002 , 46.799999999999997 , 0.0000000000000000 , 0.0000000000000000 }, { 20070.700000000001 , 36.000000000000000 , 1.6000000000000001 , 0.0000000000000000 }, { 12893.799999999999 , 39.500000000000000 , -6.2000000000000002 , 0.0000000000000000 }, { -9593.2000000000007 , 14.400000000000000 , 30.199999999999999 , -0.10000000000000001 }, { -6899.5000000000000 , 4.7999999999999998 , -0.59999999999999998 , 0.0000000000000000 }, { -5332.5000000000000 , -0.10000000000000001 , 2.7000000000000002 , 0.0000000000000000 }, { -125.20000000000000 , 10.500000000000000 , 0.0000000000000000 , 0.0000000000000000 }, { -3323.4000000000001 , -0.90000000000000002 , -0.29999999999999999 , 0.0000000000000000 }, { 3142.3000000000002 , 8.9000000000000004 , 0.29999999999999999 , 0.0000000000000000 }, { 2552.5000000000000 , 7.2999999999999998 , -1.2000000000000000 , 0.0000000000000000 }, { 2634.4000000000001 , 8.8000000000000007 , 0.20000000000000001 , 0.0000000000000000 }, { -2424.4000000000001 , 1.6000000000000001 , -0.40000000000000002 , 0.0000000000000000 }, { -123.30000000000000 , 3.8999999999999999 , 0.0000000000000000 , 0.0000000000000000 }, { 1642.4000000000001 , 7.2999999999999998 , -0.80000000000000004 , 0.0000000000000000 }, { 47.899999999999999 , 3.2000000000000002 , 0.0000000000000000 , 0.0000000000000000 }, { 1321.2000000000000 , 6.2000000000000002 , -0.59999999999999998 , 0.0000000000000000 }, { -1234.0999999999999 , -0.29999999999999999 , 0.59999999999999998 , 0.0000000000000000 }, { -1076.5000000000000 , -0.29999999999999999 , 0.0000000000000000 , 0.0000000000000000 }, { -61.600000000000001 , 1.8000000000000000 , 0.0000000000000000 , 0.0000000000000000 }, { -55.399999999999999 , 1.6000000000000001 , 0.0000000000000000 , 0.0000000000000000 }, { 856.89999999999998 , -4.9000000000000004 , -2.1000000000000001 , 0.0000000000000000 }, { -800.70000000000005 , -0.10000000000000001 , 0.0000000000000000 , 0.0000000000000000 }, { 685.10000000000002 , -0.59999999999999998 , -3.7999999999999998 , 0.0000000000000000 }, { -16.899999999999999 , -1.5000000000000000 , 0.0000000000000000 , 0.0000000000000000 }, { 695.70000000000005 , 1.8000000000000000 , 0.0000000000000000 , 0.0000000000000000 }, { 642.20000000000005 , -2.6000000000000001 , -1.6000000000000001 , 0.0000000000000000 }, { 13.300000000000001 , 1.1000000000000001 , -0.10000000000000001 , 0.0000000000000000 }, { 521.89999999999998 , 1.6000000000000001 , 0.0000000000000000 , 0.0000000000000000 }, { 325.80000000000001 , 2.0000000000000000 , -0.10000000000000001 , 0.0000000000000000 }, { -325.10000000000002 , -0.50000000000000000 , 0.90000000000000002 , 0.0000000000000000 }, { 10.100000000000000 , 0.29999999999999999 , 0.0000000000000000 , 0.0000000000000000 }, { 334.50000000000000 , 1.6000000000000001 , 0.0000000000000000 , 0.0000000000000000 }, { 307.10000000000002 , 0.40000000000000002 , -0.90000000000000002 , 0.0000000000000000 }, { 327.19999999999999 , 0.50000000000000000 , 0.0000000000000000 , 0.0000000000000000 }, { -304.60000000000002 , -0.10000000000000001 , 0.0000000000000000 , 0.0000000000000000 }, { 304.00000000000000 , 0.59999999999999998 , 0.0000000000000000 , 0.0000000000000000 }, { -276.80000000000001 , -0.50000000000000000 , 0.10000000000000001 , 0.0000000000000000 }, { 268.89999999999998 , 1.3000000000000000 , 0.0000000000000000 , 0.0000000000000000 }, { 271.80000000000001 , 1.1000000000000001 , 0.0000000000000000 , 0.0000000000000000 }, { 271.50000000000000 , -0.40000000000000002 , -0.80000000000000004 , 0.0000000000000000 }, { -5.2000000000000002 , 0.50000000000000000 , 0.0000000000000000 , 0.0000000000000000 }, { -220.50000000000000 , 0.10000000000000001 , 0.0000000000000000 , 0.0000000000000000 }, { -20.100000000000001 , 0.29999999999999999 , 0.0000000000000000 , 0.0000000000000000 }, { -191.00000000000000 , 0.10000000000000001 , 0.50000000000000000 , 0.0000000000000000 }, { -4.0999999999999996 , 0.29999999999999999 , 0.0000000000000000 , 0.0000000000000000 }, { 130.59999999999999 , -0.10000000000000001 , 0.0000000000000000 , 0.0000000000000000 }, { 3.0000000000000000 , 0.29999999999999999 , 0.0000000000000000 , 0.0000000000000000 }, { 122.90000000000001 , 0.80000000000000004 , 0.0000000000000000 , 0.0000000000000000 }, { 3.7000000000000002 , -0.29999999999999999 , 0.0000000000000000 , 0.0000000000000000 }, { 123.09999999999999 , 0.40000000000000002 , -0.29999999999999999 , 0.0000000000000000 }, { -52.700000000000003 , 15.300000000000001 , 0.0000000000000000 , 0.0000000000000000 }, { 120.70000000000000 , 0.29999999999999999 , -0.29999999999999999 , 0.0000000000000000 }, { 4.0000000000000000 , -0.29999999999999999 , 0.0000000000000000 , 0.0000000000000000 }, { 126.50000000000000 , 0.50000000000000000 , 0.0000000000000000 , 0.0000000000000000 }, { 112.70000000000000 , 0.50000000000000000 , -0.29999999999999999 , 0.0000000000000000 }, { -106.09999999999999 , -0.29999999999999999 , 0.29999999999999999 , 0.0000000000000000 }, { -112.90000000000001 , -0.20000000000000001 , 0.0000000000000000 , 0.0000000000000000 }, { 3.6000000000000001 , -0.20000000000000001 , 0.0000000000000000 , 0.0000000000000000 }, { 107.40000000000001 , 0.29999999999999999 , 0.0000000000000000 , 0.0000000000000000 }, { -10.900000000000000 , 0.20000000000000001 , 0.0000000000000000 , 0.0000000000000000 }, { -0.90000000000000002 , 0.0000000000000000 , 0.0000000000000000 , 0.0000000000000000 }, { 85.400000000000006 , 0.0000000000000000 , 0.0000000000000000 , 0.0000000000000000 }, { 0.0000000000000000 , -88.799999999999997 , 0.0000000000000000 , 0.0000000000000000 }, { -71.000000000000000 , -0.20000000000000001 , 0.0000000000000000 , 0.0000000000000000 }, { -70.299999999999997 , 0.0000000000000000 , 0.0000000000000000 , 0.0000000000000000 }, { 64.500000000000000 , 0.40000000000000002 , 0.0000000000000000 , 0.0000000000000000 }, { 69.799999999999997 , 0.0000000000000000 , 0.0000000000000000 , 0.0000000000000000 }, { 66.099999999999994 , 0.40000000000000002 , 0.0000000000000000 , 0.0000000000000000 }, { -61.000000000000000 , -0.20000000000000001 , 0.0000000000000000 , 0.0000000000000000 }, { -59.500000000000000 , -0.10000000000000001 , 0.0000000000000000 , 0.0000000000000000 }, { -55.600000000000001 , 0.0000000000000000 , 0.20000000000000001 , 0.0000000000000000 }, { 51.700000000000003 , 0.20000000000000001 , 0.0000000000000000 , 0.0000000000000000 }, { -49.000000000000000 , -0.10000000000000001 , 0.0000000000000000 , 0.0000000000000000 }, { -52.700000000000003 , -0.10000000000000001 , 0.0000000000000000 , 0.0000000000000000 }, { -49.600000000000001 , 1.3999999999999999 , 0.0000000000000000 , 0.0000000000000000 }, { 46.299999999999997 , 0.40000000000000002 , 0.0000000000000000 , 0.0000000000000000 }, { 49.600000000000001 , 0.10000000000000001 , 0.0000000000000000 , 0.0000000000000000 }, { -5.0999999999999996 , 0.10000000000000001 , 0.0000000000000000 , 0.0000000000000000 }, { -44.000000000000000 , -0.10000000000000001 , 0.0000000000000000 , 0.0000000000000000 }, { -39.899999999999999 , -0.10000000000000001 , 0.0000000000000000 , 0.0000000000000000 }, { -39.500000000000000 , -0.10000000000000001 , 0.0000000000000000 , 0.0000000000000000 }, { -3.8999999999999999 , 0.10000000000000001 , 0.0000000000000000 , 0.0000000000000000 }, { -42.100000000000001 , -0.10000000000000001 , 0.0000000000000000 , 0.0000000000000000 }, { -17.199999999999999 , 0.10000000000000001 , 0.0000000000000000 , 0.0000000000000000 }, { -2.2999999999999998 , 0.10000000000000001 , 0.0000000000000000 , 0.0000000000000000 }, { -39.200000000000003 , 0.0000000000000000 , 0.0000000000000000 , 0.0000000000000000 }, { -38.399999999999999 , 0.10000000000000001 , 0.0000000000000000 , 0.0000000000000000 }, { 36.799999999999997 , 0.20000000000000001 , 0.0000000000000000 , 0.0000000000000000 }, { 34.600000000000001 , 0.10000000000000001 , 0.0000000000000000 , 0.0000000000000000 }, { -32.700000000000003 , 0.29999999999999999 , 0.0000000000000000 , 0.0000000000000000 }, { 30.399999999999999 , 0.0000000000000000 , 0.0000000000000000 , 0.0000000000000000 }, { 0.40000000000000002 , 0.10000000000000001 , 0.0000000000000000 , 0.0000000000000000 }, { 29.300000000000001 , 0.20000000000000001 , 0.0000000000000000 , 0.0000000000000000 }, { 31.600000000000001 , 0.10000000000000001 , 0.0000000000000000 , 0.0000000000000000 }, { 0.80000000000000004 , -0.10000000000000001 , 0.0000000000000000 , 0.0000000000000000 }, { -27.899999999999999 , 0.0000000000000000 , 0.0000000000000000 , 0.0000000000000000 }, { 2.8999999999999999 , 0.0000000000000000 , 0.0000000000000000 , 0.0000000000000000 }, { -25.300000000000001 , 0.0000000000000000 , 0.0000000000000000 , 0.0000000000000000 }, { 25.000000000000000 , 0.10000000000000001 , 0.0000000000000000 , 0.0000000000000000 }, { 27.500000000000000 , 0.10000000000000001 , 0.0000000000000000 , 0.0000000000000000 }, { -24.399999999999999 , -0.10000000000000001 , 0.0000000000000000 , 0.0000000000000000 }, { 24.899999999999999 , 0.20000000000000001 , 0.0000000000000000 , 0.0000000000000000 }, { -22.800000000000001 , -0.10000000000000001 , 0.0000000000000000 , 0.0000000000000000 }, { 0.90000000000000002 , -0.10000000000000001 , 0.0000000000000000 , 0.0000000000000000 }, { 24.399999999999999 , 0.10000000000000001 , 0.0000000000000000 , 0.0000000000000000 }, { 23.899999999999999 , 0.10000000000000001 , 0.0000000000000000 , 0.0000000000000000 }, { 22.500000000000000 , 0.10000000000000001 , 0.0000000000000000 , 0.0000000000000000 }, { 20.800000000000001 , 0.10000000000000001 , 0.0000000000000000 , 0.0000000000000000 }, { 20.100000000000001 , 0.0000000000000000 , 0.0000000000000000 , 0.0000000000000000 }, { 21.500000000000000 , 0.10000000000000001 , 0.0000000000000000 , 0.0000000000000000 }, { -20.000000000000000 , 0.0000000000000000 , 0.0000000000000000 , 0.0000000000000000 }, { 1.3999999999999999 , 0.0000000000000000 , 0.0000000000000000 , 0.0000000000000000 }, { -0.20000000000000001 , -0.10000000000000001 , 0.0000000000000000 , 0.0000000000000000 }, { 19.000000000000000 , 0.0000000000000000 , -0.10000000000000001 , 0.0000000000000000 }, { 20.500000000000000 , 0.0000000000000000 , 0.0000000000000000 , 0.0000000000000000 }, { -2.0000000000000000 , 0.0000000000000000 , 0.0000000000000000 , 0.0000000000000000 }, { -17.600000000000001 , -0.10000000000000001 , 0.0000000000000000 , 0.0000000000000000 }, { 19.000000000000000 , 0.0000000000000000 , 0.0000000000000000 , 0.0000000000000000 }, { -2.3999999999999999 , 0.0000000000000000 , 0.0000000000000000 , 0.0000000000000000 }, { -18.399999999999999 , -0.10000000000000001 , 0.0000000000000000 , 0.0000000000000000 }, { 17.100000000000001 , 0.0000000000000000 , 0.0000000000000000 , 0.0000000000000000 }, { 0.40000000000000002 , 0.0000000000000000 , 0.0000000000000000 , 0.0000000000000000 }, { 18.399999999999999 , 0.10000000000000001 , 0.0000000000000000 , 0.0000000000000000 }, { 0.0000000000000000 , 17.399999999999999 , 0.0000000000000000 , 0.0000000000000000 }, { -0.59999999999999998 , 0.0000000000000000 , 0.0000000000000000 , 0.0000000000000000 }, { -15.400000000000000 , 0.0000000000000000 , 0.0000000000000000 , 0.0000000000000000 }, { -16.800000000000001 , -0.10000000000000001 , 0.0000000000000000 , 0.0000000000000000 }, { 16.300000000000001 , 0.0000000000000000 , 0.0000000000000000 , 0.0000000000000000 }, { -2.0000000000000000 , 0.0000000000000000 , 0.0000000000000000 , 0.0000000000000000 }, { -1.5000000000000000 , 0.0000000000000000 , 0.0000000000000000 , 0.0000000000000000 }, { -14.300000000000001 , -0.10000000000000001 , 0.0000000000000000 , 0.0000000000000000 }, { 14.400000000000000 , 0.0000000000000000 , 0.0000000000000000 , 0.0000000000000000 }, { -13.400000000000000 , 0.0000000000000000 , 0.0000000000000000 , 0.0000000000000000 }, { -14.300000000000001 , -0.10000000000000001 , 0.0000000000000000 , 0.0000000000000000 }, { -13.699999999999999 , 0.0000000000000000 , 0.0000000000000000 , 0.0000000000000000 }, { 13.100000000000000 , 0.10000000000000001 , 0.0000000000000000 , 0.0000000000000000 }, { -1.7000000000000000 , 0.0000000000000000 , 0.0000000000000000 , 0.0000000000000000 }, { -12.800000000000001 , 0.0000000000000000 , 0.0000000000000000 , 0.0000000000000000 }, { 0.0000000000000000 , -14.400000000000000 , 0.0000000000000000 , 0.0000000000000000 }, { 12.400000000000000 , 0.0000000000000000 , 0.0000000000000000 , 0.0000000000000000 }, { -12.000000000000000 , 0.0000000000000000 , 0.0000000000000000 , 0.0000000000000000 }, { -0.80000000000000004 , 0.0000000000000000 , 0.0000000000000000 , 0.0000000000000000 }, { 10.900000000000000 , 0.10000000000000001 , 0.0000000000000000 , 0.0000000000000000 }, { -10.800000000000001 , 0.0000000000000000 , 0.0000000000000000 , 0.0000000000000000 }, { 10.500000000000000 , 0.0000000000000000 , 0.0000000000000000 , 0.0000000000000000 }, { -10.400000000000000 , 0.0000000000000000 , 0.0000000000000000 , 0.0000000000000000 }, { -11.199999999999999 , 0.0000000000000000 , 0.0000000000000000 , 0.0000000000000000 }, { 10.500000000000000 , 0.10000000000000001 , 0.0000000000000000 , 0.0000000000000000 }, { -1.3999999999999999 , 0.0000000000000000 , 0.0000000000000000 , 0.0000000000000000 }, { 0.0000000000000000 , 0.10000000000000001 , 0.0000000000000000 , 0.0000000000000000 }, { 0.69999999999999996 , 0.0000000000000000 , 0.0000000000000000 , 0.0000000000000000 }, { -10.300000000000001 , 0.0000000000000000 , 0.0000000000000000 , 0.0000000000000000 }, { -10.000000000000000 , 0.0000000000000000 , 0.0000000000000000 , 0.0000000000000000 }, { 9.5999999999999996 , 0.0000000000000000 , 0.0000000000000000 , 0.0000000000000000 }, { 9.4000000000000004 , 0.10000000000000001 , 0.0000000000000000 , 0.0000000000000000 }, { 0.59999999999999998 , 0.0000000000000000 , 0.0000000000000000 , 0.0000000000000000 }, { -87.700000000000003 , 4.4000000000000004 , -0.40000000000000002 , -6.2999999999999998 }, { 46.299999999999997 , 22.399999999999999 , 0.50000000000000000 , -2.3999999999999999 }, { 15.600000000000000 , -3.3999999999999999 , 0.10000000000000001 , 0.40000000000000002 }, { 5.2000000000000002 , 5.7999999999999998 , 0.20000000000000001 , -0.10000000000000001 }, { -30.100000000000001 , 26.899999999999999 , 0.69999999999999996 , 0.0000000000000000 }, { 23.199999999999999 , -0.50000000000000000 , 0.0000000000000000 , 0.59999999999999998 }, { 1.0000000000000000 , 23.199999999999999 , 3.3999999999999999 , 0.0000000000000000 }, { -12.199999999999999 , -4.2999999999999998 , 0.0000000000000000 , 0.0000000000000000 }, { -2.1000000000000001 , -3.7000000000000002 , -0.20000000000000001 , 0.10000000000000001 }, { -18.600000000000001 , -3.7999999999999998 , -0.40000000000000002 , 1.8000000000000000 }, { 5.5000000000000000 , -18.699999999999999 , -1.8000000000000000 , -0.50000000000000000 }, { -5.5000000000000000 , -18.699999999999999 , 1.8000000000000000 , -0.50000000000000000 }, { 18.399999999999999 , -3.6000000000000001 , 0.29999999999999999 , 0.90000000000000002 }, { -0.59999999999999998 , 1.3000000000000000 , 0.0000000000000000 , 0.0000000000000000 }, { -5.5999999999999996 , -19.500000000000000 , 1.8999999999999999 , 0.0000000000000000 }, { 5.5000000000000000 , -19.100000000000001 , -1.8999999999999999 , 0.0000000000000000 }, { -17.300000000000001 , -0.80000000000000004 , 0.0000000000000000 , 0.90000000000000002 }, { -3.2000000000000002 , -8.3000000000000007 , -0.80000000000000004 , 0.29999999999999999 }, { -0.10000000000000001 , 0.0000000000000000 , 0.0000000000000000 , 0.0000000000000000 }, { -5.4000000000000004 , 7.7999999999999998 , -0.29999999999999999 , 0.0000000000000000 }, { -14.800000000000001 , 1.3999999999999999 , 0.0000000000000000 , 0.29999999999999999 }, { -3.7999999999999998 , 0.40000000000000002 , 0.0000000000000000 , -0.20000000000000001 }, { 12.600000000000000 , 3.2000000000000002 , 0.50000000000000000 , -1.5000000000000000 }, { 0.10000000000000001 , 0.0000000000000000 , 0.0000000000000000 , 0.0000000000000000 }, { -13.600000000000000 , 2.3999999999999999 , -0.10000000000000001 , 0.0000000000000000 }, { 0.90000000000000002 , 1.2000000000000000 , 0.0000000000000000 , 0.0000000000000000 }, { -11.900000000000000 , -0.50000000000000000 , 0.0000000000000000 , 0.29999999999999999 }, { 0.40000000000000002 , 12.000000000000000 , 0.29999999999999999 , -0.20000000000000001 }, { 8.3000000000000007 , 6.0999999999999996 , -0.10000000000000001 , 0.10000000000000001 }, { 0.0000000000000000 , 0.0000000000000000 , 0.0000000000000000 , 0.0000000000000000 }, { 0.40000000000000002 , -10.800000000000001 , 0.29999999999999999 , 0.0000000000000000 }, { 9.5999999999999996 , 2.2000000000000002 , 0.29999999999999999 , -1.2000000000000000 } }; /* interval between fundamental epoch j2000.0 and given epoch (jc). */ t = (date-DJM0)/DJC; /* mean anomaly of the moon. */ el = 134.96340251*PAL__DD2R+ fmod(t*(1717915923.2178+ t*( 31.8792+ t*( 0.051635+ t*( - 0.00024470)))),TURNAS)*PAL__DAS2R; /* mean anomaly of the sun. */ elp = 357.52910918*PAL__DD2R+ fmod(t*( 129596581.0481+ t*( - 0.5532+ t*( 0.000136+ t*( - 0.00001149)))),TURNAS)*PAL__DAS2R; /* mean argument of the latitude of the moon. */ f = 93.27209062*PAL__DD2R+ fmod(t*(1739527262.8478+ t*( - 12.7512+ t*( - 0.001037+ t*( 0.00000417)))),TURNAS)*PAL__DAS2R; /* mean elongation of the moon from the sun. */ d = 297.85019547*PAL__DD2R+ fmod(t*(1602961601.2090+ t*( - 6.3706+ t*( 0.006539+ t*( - 0.00003169)))),TURNAS)*PAL__DAS2R; /* mean longitude of the ascending node of the moon. */ om = 125.04455501*PAL__DD2R+ fmod(t*( - 6962890.5431+ t*( 7.4722+ t*( 0.007702+ t*( - 0.00005939)))),TURNAS)*PAL__DAS2R; /* mean longitude of venus. */ ve = 181.97980085*PAL__DD2R+fmod(210664136.433548*t,TURNAS)*PAL__DAS2R; /* mean longitude of mars.*/ ma = 355.43299958*PAL__DD2R+fmod( 68905077.493988*t,TURNAS)*PAL__DAS2R; /* mean longitude of jupiter. */ ju = 34.35151874*PAL__DD2R+fmod( 10925660.377991*t,TURNAS)*PAL__DAS2R; /* mean longitude of saturn. */ sa = 50.07744430*PAL__DD2R+fmod( 4399609.855732*t,TURNAS)*PAL__DAS2R; /* geodesic nutation (fukushima 1991) in microarcsec. */ dp = -153.1*sin(elp)-1.9*sin(2*elp); de = 0.0; /* shirai & fukushima (2001) nutation series. */ for (j=NTERMS-1; j >= 0; j--) { theta = ((double)na[j][0])*el+ ((double)na[j][1])*elp+ ((double)na[j][2])*f+ ((double)na[j][3])*d+ ((double)na[j][4])*om+ ((double)na[j][5])*ve+ ((double)na[j][6])*ma+ ((double)na[j][7])*ju+ ((double)na[j][8])*sa; c = cos(theta); s = sin(theta); dp += (psi[j][0] + psi[j][2]*t)*c + (psi[j][1] + psi[j][3]*t)*s; de += (eps[j][0] + eps[j][2]*t)*c + (eps[j][1] + eps[j][3]*t)*s; } /* change of units, and addition of the precession correction.*/ *dpsi = (dp*1e-6-0.042888-0.29856*t)*PAL__DAS2R; *deps = (de*1e-6-0.005171-0.02408*t)*PAL__DAS2R; /* mean obliquity of date (simon et al. 1994). */ *eps0 = (84381.412+ (-46.80927+ (-0.000152+ (0.0019989+ (-0.00000051+ (-0.000000025)*t)*t)*t)*t)*t)*PAL__DAS2R; } pal-0.5.0/palAoppat.c000644 000765 000024 00000006032 12366000607 014464 0ustar00timjstaff000000 000000 /* *+ * Name: * palAoppat * Purpose: * Recompute sidereal time to support apparent to observed place * Language: * Starlink ANSI C * Type of Module: * Library routine * Invocation: * void palAoppat( double date, double aoprms[14] ); * Arguments: * date = double (Given) * UTC date/time (modified Julian Date, JD-2400000.5) * (see palAoppa description for comments on leap seconds) * aoprms = double[14] (Given & Returned) * Star-independent apparent-to-observed parameters. Updated * by this routine. Requires element 12 to be the longitude + * eqn of equinoxes + sidereal DUT and fills in element 13 * with the local apparent sidereal time (in radians). * Description: * This routine recomputes the sidereal time in the apparent to * observed place star-independent parameter block. * Authors: * TIMJ: Tim Jenness (JAC, Hawaii) * PTW: Patrick T. Wallace * {enter_new_authors_here} * Notes: * - See palAoppa for more information. * - The star-independent parameters are not treated as an opaque * struct in order to retain compatibility with SLA. * History: * 2012-08-24 (TIMJ): * Initial version, ported from Fortran SLA source. * Adapted with permission from the Fortran SLALIB library. * {enter_further_changes_here} * Copyright: * Copyright (C) 1995 Rutherford Appleton Laboratory * Copyright (C) 2012 Science and Technology Facilities Council. * All Rights Reserved. * Licence: * This program is free software; you can redistribute it and/or * modify it under the terms of the GNU General Public License as * published by the Free Software Foundation; either version 3 of * the License, or (at your option) any later version. * * This program is distributed in the hope that it will be * useful, but WITHOUT ANY WARRANTY; without even the implied * warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR * PURPOSE. See the GNU General Public License for more details. * * You should have received a copy of the GNU General Public License * along with this program; if not, write to the Free Software * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, * MA 02110-1301, USA. * Bugs: * {note_any_bugs_here} *- */ #include "pal.h" static double pal__Gmst( double ut1 ); void palAoppat( double date, double aoprms[14] ) { aoprms[13] = pal__Gmst(date) + aoprms[12]; } /* Use a private implementation of palGmst for testing that matches the SLA rather than SOFA implementation. This is used for comparing SLA with PAL refraction code. */ #include "math.h" #include "palmac.h" static double pal__Gmst( double ut1 ) { double tu; double gmst; /* Julian centuries from fundamental epoch J2000 to this UT */ tu=(ut1-51544.5)/36525; /* GMST at this UT */ gmst=palDranrm(fmod(ut1,1.0)*PAL__D2PI+ (24110.54841+ (8640184.812866+ (0.093104-6.2e-6*tu)*tu)*tu)*PAL__DS2R); return gmst; } pal-0.5.0/palAopqk.c000644 000765 000024 00000024035 12366000607 014316 0ustar00timjstaff000000 000000 /* *+ * Name: * palAopqk * Purpose: * Quick apparent to observed place * Language: * Starlink ANSI C * Type of Module: * Library routine * Invocation: * void palAopqk ( double rap, double dap, const double aoprms[14], * double *aob, double *zob, double *hob, * double *dob, double *rob ); * Arguments: * rap = double (Given) * Geocentric apparent right ascension * dap = double (Given) * Geocentric apparent declination * aoprms = const double [14] (Given) * Star-independent apparent-to-observed parameters. * * [0] geodetic latitude (radians) * [1,2] sine and cosine of geodetic latitude * [3] magnitude of diurnal aberration vector * [4] height (HM) * [5] ambient temperature (T) * [6] pressure (P) * [7] relative humidity (RH) * [8] wavelength (WL) * [9] lapse rate (TLR) * [10,11] refraction constants A and B (radians) * [12] longitude + eqn of equinoxes + sidereal DUT (radians) * [13] local apparent sidereal time (radians) * aob = double * (Returned) * Observed azimuth (radians: N=0,E=90) * zob = double * (Returned) * Observed zenith distance (radians) * hob = double * (Returned) * Observed Hour Angle (radians) * dob = double * (Returned) * Observed Declination (radians) * rob = double * (Returned) * Observed Right Ascension (radians) * Description: * Quick apparent to observed place. * Authors: * TIMJ: Tim Jenness (JAC, Hawaii) * PTW: Patrick T. Wallace * {enter_new_authors_here} * Notes: * - This routine returns zenith distance rather than elevation * in order to reflect the fact that no allowance is made for * depression of the horizon. * * - The accuracy of the result is limited by the corrections for * refraction. Providing the meteorological parameters are * known accurately and there are no gross local effects, the * observed RA,Dec predicted by this routine should be within * about 0.1 arcsec for a zenith distance of less than 70 degrees. * Even at a topocentric zenith distance of 90 degrees, the * accuracy in elevation should be better than 1 arcmin; useful * results are available for a further 3 degrees, beyond which * the palRefro routine returns a fixed value of the refraction. * The complementary routines palAop (or palAopqk) and palOap * (or palOapqk) are self-consistent to better than 1 micro- * arcsecond all over the celestial sphere. * * - It is advisable to take great care with units, as even * unlikely values of the input parameters are accepted and * processed in accordance with the models used. * * - "Apparent" place means the geocentric apparent right ascension * and declination, which is obtained from a catalogue mean place * by allowing for space motion, parallax, precession, nutation, * annual aberration, and the Sun's gravitational lens effect. For * star positions in the FK5 system (i.e. J2000), these effects can * be applied by means of the palMap etc routines. Starting from * other mean place systems, additional transformations will be * needed; for example, FK4 (i.e. B1950) mean places would first * have to be converted to FK5, which can be done with the * palFk425 etc routines. * * - "Observed" Az,El means the position that would be seen by a * perfect theodolite located at the observer. This is obtained * from the geocentric apparent RA,Dec by allowing for Earth * orientation and diurnal aberration, rotating from equator * to horizon coordinates, and then adjusting for refraction. * The HA,Dec is obtained by rotating back into equatorial * coordinates, using the geodetic latitude corrected for polar * motion, and is the position that would be seen by a perfect * equatorial located at the observer and with its polar axis * aligned to the Earth's axis of rotation (n.b. not to the * refracted pole). Finally, the RA is obtained by subtracting * the HA from the local apparent ST. * * - To predict the required setting of a real telescope, the * observed place produced by this routine would have to be * adjusted for the tilt of the azimuth or polar axis of the * mounting (with appropriate corrections for mount flexures), * for non-perpendicularity between the mounting axes, for the * position of the rotator axis and the pointing axis relative * to it, for tube flexure, for gear and encoder errors, and * finally for encoder zero points. Some telescopes would, of * course, exhibit other properties which would need to be * accounted for at the appropriate point in the sequence. * * - The star-independent apparent-to-observed-place parameters * in AOPRMS may be computed by means of the palAoppa routine. * If nothing has changed significantly except the time, the * palAoppat routine may be used to perform the requisite * partial recomputation of AOPRMS. * * - At zenith distances beyond about 76 degrees, the need for * special care with the corrections for refraction causes a * marked increase in execution time. Moreover, the effect * gets worse with increasing zenith distance. Adroit * programming in the calling application may allow the * problem to be reduced. Prepare an alternative AOPRMS array, * computed for zero air-pressure; this will disable the * refraction corrections and cause rapid execution. Using * this AOPRMS array, a preliminary call to the present routine * will, depending on the application, produce a rough position * which may be enough to establish whether the full, slow * calculation (using the real AOPRMS array) is worthwhile. * For example, there would be no need for the full calculation * if the preliminary call had already established that the * source was well below the elevation limits for a particular * telescope. * * - The azimuths etc produced by the present routine are with * respect to the celestial pole. Corrections to the terrestrial * pole can be computed using palPolmo. * History: * 2012-08-25 (TIMJ): * Initial version, copied from Fortran SLA * Adapted with permission from the Fortran SLALIB library. * {enter_further_changes_here} * Copyright: * Copyright (C) 2003 Rutherford Appleton Laboratory * Copyright (C) 2012 Science and Technology Facilities Council. * All Rights Reserved. * Licence: * This program is free software; you can redistribute it and/or * modify it under the terms of the GNU General Public License as * published by the Free Software Foundation; either version 3 of * the License, or (at your option) any later version. * * This program is distributed in the hope that it will be * useful, but WITHOUT ANY WARRANTY; without even the implied * warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR * PURPOSE. See the GNU General Public License for more details. * * You should have received a copy of the GNU General Public License * along with this program; if not, write to the Free Software * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, * MA 02110-1301, USA. * Bugs: * {note_any_bugs_here} *- */ #include #include "pal.h" void palAopqk ( double rap, double dap, const double aoprms[14], double *aob, double *zob, double *hob, double *dob, double *rob ) { /* Breakpoint for fast/slow refraction algorithm: * ZD greater than arctan(4), (see palRefco routine) * or vector Z less than cosine(arctan(Z)) = 1/sqrt(17) */ const double zbreak = 0.242535625; int i; double sphi,cphi,st,v[3],xhd,yhd,zhd,diurab,f, xhdt,yhdt,zhdt,xaet,yaet,zaet,azobs, zdt,refa,refb,zdobs,dzd,dref,ce, xaeo,yaeo,zaeo,hmobs,dcobs,raobs; /* sin, cos of latitude */ sphi = aoprms[1]; cphi = aoprms[2]; /* local apparent sidereal time */ st = aoprms[13]; /* apparent ra,dec to cartesian -ha,dec */ palDcs2c( rap-st, dap, v ); xhd = v[0]; yhd = v[1]; zhd = v[2]; /* diurnal aberration */ diurab = aoprms[3]; f = (1.0-diurab*yhd); xhdt = f*xhd; yhdt = f*(yhd+diurab); zhdt = f*zhd; /* cartesian -ha,dec to cartesian az,el (s=0,e=90) */ xaet = sphi*xhdt-cphi*zhdt; yaet = yhdt; zaet = cphi*xhdt+sphi*zhdt; /* azimuth (n=0,e=90) */ if (xaet == 0.0 && yaet == 0.0) { azobs = 0.0; } else { azobs = atan2(yaet,-xaet); } /* topocentric zenith distance */ zdt = atan2(sqrt(xaet*xaet+yaet*yaet),zaet); /* * refraction * ---------- */ /* fast algorithm using two constant model */ refa = aoprms[10]; refb = aoprms[11]; palRefz(zdt,refa,refb,&zdobs); /* large zenith distance? */ if (cos(zdobs) < zbreak) { /* yes: use rigorous algorithm */ /* initialize loop (maximum of 10 iterations) */ i = 1; dzd = 1.0e1; while (abs(dzd) > 1e-10 && i <= 10) { /* compute refraction using current estimate of observed zd */ palRefro(zdobs,aoprms[4],aoprms[5],aoprms[6], aoprms[7],aoprms[8],aoprms[0], aoprms[9],1e-8,&dref); /* remaining discrepancy */ dzd = zdobs+dref-zdt; /* update the estimate */ zdobs = zdobs-dzd; /* increment the iteration counter */ i++; } } /* to cartesian az/zd */ ce = sin(zdobs); xaeo = -cos(azobs)*ce; yaeo = sin(azobs)*ce; zaeo = cos(zdobs); /* cartesian az/zd to cartesian -ha,dec */ v[0] = sphi*xaeo+cphi*zaeo; v[1] = yaeo; v[2] = -cphi*xaeo+sphi*zaeo; /* to spherical -ha,dec */ palDcc2s(v,&hmobs,&dcobs); /* right ascension */ raobs = palDranrm(st+hmobs); /* return the results */ *aob = azobs; *zob = zdobs; *hob = -hmobs; *dob = dcobs; *rob = raobs; } pal-0.5.0/palAtmdsp.c000644 000765 000024 00000013742 12366000607 014476 0ustar00timjstaff000000 000000 /* *+ * Name: * palAtmdsp * Purpose: * Apply atmospheric-dispersion adjustments to refraction coefficients * Language: * Starlink ANSI C * Type of Module: * Library routine * Invocation: * void palAtmdsp( double tdk, double pmb, double rh, double wl1, * double a1, double b1, double wl2, double *a2, double *b2 ); * Arguments: * tdk = double (Given) * Ambient temperature, K * pmb = double (Given) * Ambient pressure, millibars * rh = double (Given) * Ambient relative humidity, 0-1 * wl1 = double (Given) * Reference wavelength, micrometre (0.4 recommended) * a1 = double (Given) * Refraction coefficient A for wavelength wl1 (radians) * b1 = double (Given) * Refraction coefficient B for wavelength wl1 (radians) * wl2 = double (Given) * Wavelength for which adjusted A,B required * a2 = double * (Returned) * Refraction coefficient A for wavelength WL2 (radians) * b2 = double * (Returned) * Refraction coefficient B for wavelength WL2 (radians) * Description: * Apply atmospheric-dispersion adjustments to refraction coefficients. * Authors: * TIMJ: Tim Jenness * PTW: Patrick Wallace * {enter_new_authors_here} * Notes: * - To use this routine, first call palRefco specifying WL1 as the * wavelength. This yields refraction coefficients A1,B1, correct * for that wavelength. Subsequently, calls to palAtmdsp specifying * different wavelengths will produce new, slightly adjusted * refraction coefficients which apply to the specified wavelength. * * - Most of the atmospheric dispersion happens between 0.7 micrometre * and the UV atmospheric cutoff, and the effect increases strongly * towards the UV end. For this reason a blue reference wavelength * is recommended, for example 0.4 micrometres. * * - The accuracy, for this set of conditions: * * height above sea level 2000 m * latitude 29 deg * pressure 793 mb * temperature 17 degC * humidity 50% * lapse rate 0.0065 degC/m * reference wavelength 0.4 micrometre * star elevation 15 deg * * is about 2.5 mas RMS between 0.3 and 1.0 micrometres, and stays * within 4 mas for the whole range longward of 0.3 micrometres * (compared with a total dispersion from 0.3 to 20.0 micrometres * of about 11 arcsec). These errors are typical for ordinary * conditions and the given elevation; in extreme conditions values * a few times this size may occur, while at higher elevations the * errors become much smaller. * * - If either wavelength exceeds 100 micrometres, the radio case * is assumed and the returned refraction coefficients are the * same as the given ones. Note that radio refraction coefficients * cannot be turned into optical values using this routine, nor * vice versa. * * - The algorithm consists of calculation of the refractivity of the * air at the observer for the two wavelengths, using the methods * of the palRefro routine, and then scaling of the two refraction * coefficients according to classical refraction theory. This * amounts to scaling the A coefficient in proportion to (n-1) and * the B coefficient almost in the same ratio (see R.M.Green, * "Spherical Astronomy", Cambridge University Press, 1985). * History: * 2014-07-15 (TIMJ): * Initial version. A direct copy of the Fortran SLA implementation. * Adapted with permission from the Fortran SLALIB library. * {enter_further_changes_here} * Copyright: * Copyright (C) 2014 Tim Jenness * Copyright (C) 2005 Patrick Wallace * All Rights Reserved. * Licence: * This program is free software; you can redistribute it and/or * modify it under the terms of the GNU General Public License as * published by the Free Software Foundation; either version 3 of * the License, or (at your option) any later version. * * This program is distributed in the hope that it will be * useful, but WITHOUT ANY WARRANTY; without even the implied * warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR * PURPOSE. See the GNU General Public License for more details. * * You should have received a copy of the GNU General Public License * along with this program; if not, write to the Free Software * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, * MA 02110-1301, USA. * Bugs: * {note_any_bugs_here} *- */ #include "pal.h" #include "palmac.h" #include void palAtmdsp ( double tdk, double pmb, double rh, double wl1, double a1, double b1, double wl2, double *a2, double *b2 ) { double f,tdkok,pmbok,rhok; double psat,pwo,w1,wlok,wlsq,w2,dn1,dn2; /* Check for radio wavelengths */ if (wl1 > 100.0 || wl2 > 100.0) { /* Radio: no dispersion */ *a2 = a1; *b2 = b1; } else { /* Optical: keep arguments within safe bounds */ tdkok = DMIN(DMAX(tdk,100.0),500.0); pmbok = DMIN(DMAX(pmb,0.0),10000.0); rhok = DMIN(DMAX(rh,0.0),1.0); /* Atmosphere parameters at the observer */ psat = pow(10.0, -8.7115+0.03477*tdkok); pwo = rhok*psat; w1 = 11.2684e-6*pwo; /* Refractivity at the observer for first wavelength */ wlok = DMAX(wl1,0.1); wlsq = wlok*wlok; w2 = 77.5317e-6+(0.43909e-6+0.00367e-6/wlsq)/wlsq; dn1 = (w2*pmbok-w1)/tdkok; /* Refractivity at the observer for second wavelength */ wlok = DMAX(wl2,0.1); wlsq = wlok*wlok; w2 = 77.5317e-6+(0.43909e-6+0.00367e-6/wlsq)/wlsq; dn2 = (w2*pmbok-w1)/tdkok; /* Scale the refraction coefficients (see Green 4.31, p93) */ if (dn1 != 0.0) { f = dn2/dn1; *a2 = a1*f; *b2 = b1*f; if (dn1 != a1) { *b2 *= (1.0+dn1*(dn1-dn2)/(2.0*(dn1-a1))); } } else { *a2 = a1; *b2 = b1; } } } pal-0.5.0/palCaldj.c000644 000765 000024 00000005467 12366000612 014264 0ustar00timjstaff000000 000000 /* *+ * Name: * palCaldj * Purpose: * Gregorian Calendar to Modified Julian Date * Language: * Starlink ANSI C * Type of Module: * Library routine * Invocation: * void palCaldj ( int iy, int im, int id, double *djm, int *j ); * Arguments: * iy = int (Given) * Year in the Gregorian calendar * im = int (Given) * Month in the Gergorian calendar * id = int (Given) * Day in the Gregorian calendar * djm = double * (Returned) * Modified Julian Date (JD-2400000.5) for 0 hrs * j = status (Returned) * 0 = OK. See eraCal2jd for other values. * Description: * Modified Julian Date to Gregorian Calendar with special * behaviour for 2-digit years relating to 1950 to 2049. * Authors: * PTW: Pat Wallace (STFC) * TIMJ: Tim Jenness (JAC, Hawaii) * {enter_new_authors_here} * History: * 2012-02-11 (TIMJ): * Initial version with documentation taken from Fortran SLA * Adapted with permission from the Fortran SLALIB library. * {enter_further_changes_here} * Notes: * - Uses eraCal2jd * - Unlike eraCal2jd this routine treats the years 0-100 as * referring to the end of the 20th Century and beginning of * the 21st Century. If this behaviour is not acceptable * use the SOFA routine directly or palCldj. * Acceptable years are 00-49, interpreted as 2000-2049, * 50-99, " " 1950-1999, * all others, interpreted literally. * - Unlike SLA this routine will work with negative years. * Copyright: * Copyright (C) 1995 Rutherford Appleton Laboratory * Copyright (C) 2012 Science and Technology Facilities Council. * All Rights Reserved. * Licence: * This program is free software: you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * License as published by the Free Software Foundation, either * version 3 of the License, or (at your option) any later * version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Lesser General Public License for more details. * * You should have received a copy of the GNU Lesser General * License along with this program. If not, see * . * Bugs: * {note_any_bugs_here} *- */ #include "pal.h" #include "palmac.h" #include "pal1sofa.h" void palCaldj ( int iy, int im, int id, double *djm, int *j ) { int adj = 0; /* Year adjustment */ double djm0; if (iy >= 0 && iy <= 49) { adj = 2000; } else if (iy >= 50 && iy <= 99) { adj = 1900; } iy += adj; *j = eraCal2jd( iy, im, id, &djm0, djm ); } pal-0.5.0/palDafin.c000644 000765 000024 00000014536 12366000612 014265 0ustar00timjstaff000000 000000 /* *+ * Name: * palDafin * Purpose: * Sexagesimal character string to angle * Language: * Starlink ANSI C * Type of Module: * Library routine * Invocation: * void palDafin ( const char *string, int *ipos, double *a, int *j ); * Arguments: * string = const char * (Given) * String containing deg, arcmin, arcsec fields * ipos = int * (Given & Returned) * Position to start decoding "string". First character * is position 1 for compatibility with SLA. After * calling this routine "iptr" will be positioned after * the sexagesimal string. * a = double * (Returned) * Angle in radians. * j = int * (Returned) * status: 0 = OK * +1 = default, A unchanged * -1 = bad degrees ) * -2 = bad arcminutes ) (note 3) * -3 = bad arcseconds ) * Description: * Extracts an angle from a sexagesimal string with degrees, arcmin, * arcsec fields using space or comma delimiters. * Authors: * TIMJ: Tim Jenness (JAC, Hawaii) * PTW: Patrick T. Wallace * {enter_new_authors_here} * Example: * argument before after * * STRING '-57 17 44.806 12 34 56.7' unchanged * IPTR 1 16 (points to 12...) * A ? -1.00000D0 * J ? 0 * Notes: * - The first three "fields" in STRING are degrees, arcminutes, * arcseconds, separated by spaces or commas. The degrees field * may be signed, but not the others. The decoding is carried * out by the palDfltin routine and is free-format. * - Successive fields may be absent, defaulting to zero. For * zero status, the only combinations allowed are degrees alone, * degrees and arcminutes, and all three fields present. If all * three fields are omitted, a status of +1 is returned and A is * unchanged. In all other cases A is changed. * - Range checking: * * The degrees field is not range checked. However, it is * expected to be integral unless the other two fields are absent. * * The arcminutes field is expected to be 0-59, and integral if * the arcseconds field is present. If the arcseconds field * is absent, the arcminutes is expected to be 0-59.9999... * * The arcseconds field is expected to be 0-59.9999... * * - Decoding continues even when a check has failed. Under these * circumstances the field takes the supplied value, defaulting * to zero, and the result A is computed and returned. * - Further fields after the three expected ones are not treated * as an error. The pointer IPOS is left in the correct state * for further decoding with the present routine or with palDfltin * etc. See the example, above. * - If STRING contains hours, minutes, seconds instead of degrees * etc, or if the required units are turns (or days) instead of * radians, the result A should be multiplied as follows: * * for to obtain multiply * STRING A in A by * * d ' " radians 1 = 1.0 * d ' " turns 1/2pi = 0.1591549430918953358 * h m s radians 15 = 15.0 * h m s days 15/2pi = 2.3873241463784300365 * History: * 2012-03-08 (TIMJ): * Initial version from SLA/F using Fortran documentation * Adapted with permission from the Fortran SLALIB library. * 2012-10-17 (TIMJ): * Fix range check on arcminute value. * {enter_further_changes_here} * Copyright: * Copyright (C) 1996 Rutherford Appleton Laboratory * Copyright (C) 2012 Science and Technology Facilities Council. * All Rights Reserved. * Licence: * This program is free software; you can redistribute it and/or * modify it under the terms of the GNU General Public License as * published by the Free Software Foundation; either version 3 of * the License, or (at your option) any later version. * * This program is distributed in the hope that it will be * useful, but WITHOUT ANY WARRANTY; without even the implied * warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR * PURPOSE. See the GNU General Public License for more details. * * You should have received a copy of the GNU General Public License * along with this program; if not, write to the Free Software * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, * MA 02110-1301, USA. * Bugs: * {note_any_bugs_here} *- */ #include "pal.h" #include "palmac.h" #include "pal1sofa.h" #include void palDafin ( const char *string, int *ipos, double *a, int *j ) { int jd = 0; /* Status for degree parsing */ int jm = 0; /* Status for arcmin parsing */ int js = 0; /* Status for arcsec parsing */ int jf = 0; /* Internal copy of status */ double deg = 0.0; double arcmin = 0.0; double arcsec = 0.0; /* Decode degrees, arcminutes, arcseconds */ palDfltin( string, ipos, °, &jd ); if (jd > 1) { jf = -1; } else { palDfltin( string, ipos, &arcmin, &jm ); if ( jm < 0 || jm > 1 ) { jf = -2; } else { palDfltin( string, ipos, &arcsec, &js ); if (js < 0 || js > 1) { jf = -3; } else if (jd > 0) { /* See if combination of fields is credible */ /* No degrees: arcmin, arcsec ought also to be absent */ if (jm == 0) { /* Suspect arcmin */ jf = -2; } else if (js == 0) { /* Suspect arcsec */ jf = -3; } else { /* All three fields absent */ jf = 1; } } else if (jm != 0 && js == 0) { /* Deg present: if arcsec present should have arcmin */ jf = -3; /* Tests for range and integrality */ } else if (jm == 0 && DINT(deg) != deg) { /* Degrees */ jf = -1; } else if ( (js == 0 && DINT(arcmin) != arcmin) || arcmin >= 60.0 ) { /* Arcmin */ jf = -2; } else if (arcsec >= 60.0) { /* Arcsec */ jf = -3; } } } /* Unless all three fields absent, compute angle value */ if (jf <= 0) { *a = PAL__DAS2R * ( 60.0 * ( 60.0 * fabs(deg) + arcmin) + arcsec ); if ( jd < 0 ) *a *= -1.; } *j = jf; } pal-0.5.0/palDat.c000644 000765 000024 00000004770 12366000612 013753 0ustar00timjstaff000000 000000 /* *+ * Name: * palDtt * Purpose: * Return offset between UTC and TT * Language: * Starlink ANSI C * Type of Module: * Library routine * Invocation: * dat = palDat( double utc ); * Arguments: * utc = double (Given) * UTC date as a modified JD (JD-2400000.5) * Returned Value: * dat = double * TAI-UTC in seconds * Description: * Increment to be applied to Coordinated Universal Time UTC to give * International Atomic Time (TAI). * Authors: * TIMJ: Tim Jenness (JAC, Hawaii) * {enter_new_authors_here} * Notes: * - This routine converts the MJD argument to calendar date before calling * the SOFA eraDat function. * - This routine matches the slaDat interface which differs from the eraDat * interface. Consider coding directly to the SOFA interface. * - See eraDat for a description of error conditions when calling this function * with a time outside of the UTC range. * - The status argument from eraDat is ignored. This is reasonable since the * error codes are mainly related to incorrect calendar dates when calculating * the JD internally. * History: * 2012-02-08 (TIMJ): * Initial version * Adapted with permission from the Fortran SLALIB library * although the core algorithm is now from SOFA. * {enter_further_changes_here} * Copyright: * Copyright (C) 2012 Science and Technology Facilities Council. * All Rights Reserved. * Licence: * This program is free software: you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * License as published by the Free Software Foundation, either * version 3 of the License, or (at your option) any later * version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Lesser General Public License for more details. * * You should have received a copy of the GNU Lesser General * License along with this program. If not, see * . * Bugs: * {note_any_bugs_here} *- */ #include "pal.h" #include "palmac.h" #include "pal1sofa.h" double palDat ( double dju ) { int iy; int im; int id; int status; double fd; double deltat; eraJd2cal( PAL__MJD0, dju, &iy, &im, &id, &fd ); status = eraDat( iy, im, id, fd, &deltat ); return deltat; } pal-0.5.0/palDe2h.c000644 000765 000024 00000007446 12366000607 014034 0ustar00timjstaff000000 000000 /* *+ * Name: * palDe2h * Purpose: * Equatorial to horizon coordinates: HA,Dec to Az,E * Language: * Starlink ANSI C * Type of Module: * Library routine * Invocation: * palDe2h( double ha, double dec, double phi, double * az, double * el ); * Arguments: * ha = double * (Given) * Hour angle (radians) * dec = double * (Given) * Declination (radians) * phi = double (Given) * Observatory latitude (radians) * az = double * (Returned) * Azimuth (radians) * el = double * (Returned) * Elevation (radians) * Description: * Convert equatorial to horizon coordinates. * Authors: * PTW: Pat Wallace (STFC) * TIMJ: Tim Jenness (JAC, Hawaii) * {enter_new_authors_here} * Notes: * - All the arguments are angles in radians. * - Azimuth is returned in the range 0-2pi; north is zero, * and east is +pi/2. Elevation is returned in the range * +/-pi/2. * - The latitude must be geodetic. In critical applications, * corrections for polar motion should be applied. * - In some applications it will be important to specify the * correct type of hour angle and declination in order to * produce the required type of azimuth and elevation. In * particular, it may be important to distinguish between * elevation as affected by refraction, which would * require the "observed" HA,Dec, and the elevation * in vacuo, which would require the "topocentric" HA,Dec. * If the effects of diurnal aberration can be neglected, the * "apparent" HA,Dec may be used instead of the topocentric * HA,Dec. * - No range checking of arguments is carried out. * - In applications which involve many such calculations, rather * than calling the present routine it will be more efficient to * use inline code, having previously computed fixed terms such * as sine and cosine of latitude, and (for tracking a star) * sine and cosine of declination. * History: * 2012-02-08 (TIMJ): * Initial version with documentation taken from Fortran SLA * Adapted with permission from the Fortran SLALIB library. * {enter_further_changes_here} * Copyright: * Copyright (C) 1995 Rutherford Appleton Laboratory * Copyright (C) 2012 Science and Technology Facilities Council. * All Rights Reserved. * Licence: * This program is free software: you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * License as published by the Free Software Foundation, either * version 3 of the License, or (at your option) any later * version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Lesser General Public License for more details. * * You should have received a copy of the GNU Lesser General * License along with this program. If not, see * . * Bugs: * {note_any_bugs_here} *- */ #include "pal.h" #include "palmac.h" #include void palDe2h ( double ha, double dec, double phi, double *az, double *el) { double sh; double ch; double sd; double cd; double sp; double cp; double a; double x; double y; double z; double r; /* Useful trig functions */ sh = sin(ha); ch = cos(ha); sd = sin(dec); cd = cos(dec); sp = sin(phi); cp = cos(phi); /* Az,El as x,y,z */ x = -ch * cd * sp + sd * cp; y = -sh * cd; z = ch * cd * cp + sd * sp; /* To spherical */ r = sqrt(x * x + y * y); if (r == 0.) { a = 0.; } else { a = atan2(y, x); } if (a < 0.) { a += PAL__D2PI; } *az = a; *el = atan2(z, r); return; } pal-0.5.0/palDeuler.c000644 000765 000024 00000007562 12366000612 014465 0ustar00timjstaff000000 000000 /* *+ * Name: * palDeuler * Purpose: * Form a rotation matrix from the Euler angles * Language: * Starlink ANSI C * Type of Module: * Library routine * Invocation: * void palDeuler ( const char *order, double phi, double theta, double psi, * double rmat[3][3] ); * Arguments: * order = const char[] (Given) * Specifies about which axes the rotation occurs * phi = double (Given) * 1st rotation (radians) * theta = double (Given) * 2nd rotation (radians) * psi = double (Given) * 3rd rotation (radians) * rmat = double[3][3] (Given & Returned) * Rotation matrix * Description: * A rotation is positive when the reference frame rotates * anticlockwise as seen looking towards the origin from the * positive region of the specified axis. * * The characters of ORDER define which axes the three successive * rotations are about. A typical value is 'ZXZ', indicating that * RMAT is to become the direction cosine matrix corresponding to * rotations of the reference frame through PHI radians about the * old Z-axis, followed by THETA radians about the resulting X-axis, * then PSI radians about the resulting Z-axis. * * The axis names can be any of the following, in any order or * combination: X, Y, Z, uppercase or lowercase, 1, 2, 3. Normal * axis labelling/numbering conventions apply; the xyz (=123) * triad is right-handed. Thus, the 'ZXZ' example given above * could be written 'zxz' or '313' (or even 'ZxZ' or '3xZ'). ORDER * is terminated by length or by the first unrecognized character. * * Fewer than three rotations are acceptable, in which case the later * angle arguments are ignored. If all rotations are zero, the * identity matrix is produced. * Authors: * PTW: Pat Wallace (STFC) * TIMJ: Tim Jenness (JAC, Hawaii) * {enter_new_authors_here} * History: * 2012-02-08 (TIMJ): * Initial version with documentation taken from Fortran SLA * Adapted with permission from the Fortran SLALIB library. * {enter_further_changes_here} * Copyright: * Copyright (C) 1997 Rutherford Appleton Laboratory * Copyright (C) 2012 Science and Technology Facilities Council. * All Rights Reserved. * Licence: * This program is free software: you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * License as published by the Free Software Foundation, either * version 3 of the License, or (at your option) any later * version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Lesser General Public License for more details. * * You should have received a copy of the GNU Lesser General * License along with this program. If not, see * . * Bugs: * {note_any_bugs_here} *- */ #include "pal.h" #include "pal1sofa.h" void palDeuler( const char *order, double phi, double theta, double psi, double rmat[3][3] ) { int i = 0; double rotations[3]; /* Initialise rmat */ eraIr( rmat ); /* copy the rotations into an array */ rotations[0] = phi; rotations[1] = theta; rotations[2] = psi; /* maximum three rotations */ while (i < 3 && order[i] != '\0') { switch (order[i]) { case 'X': case 'x': case '1': eraRx( rotations[i], rmat ); break; case 'Y': case 'y': case '2': eraRy( rotations[i], rmat ); break; case 'Z': case 'z': case '3': eraRz( rotations[i], rmat ); break; default: /* break out the loop if we do not recognize something */ i = 3; } /* Go to the next position */ i++; } return; } pal-0.5.0/palDfltin.c000644 000765 000024 00000016321 12366007151 014463 0ustar00timjstaff000000 000000 /* *+ * Name: * palDfltin * Purpose: * Convert free-format input into double precision floating point * Language: * Starlink ANSI C * Type of Module: * Library routine * Invocation: * void palDfltin( const char * string, int *nstrt, * double *dreslt, int *jflag ); * Arguments: * string = const char * (Given) * String containing number to be decoded. * nstrt = int * (Given and Returned) * Character number indicating where decoding should start. * On output its value is updated to be the location of the * possible next value. For compatibility with SLA the first * character is index 1. * dreslt = double * (Returned) * Result. Not updated when jflag=1. * jflag = int * (Returned) * status: -1 = -OK, 0 = +OK, 1 = null, 2 = error * Description: * Extracts a number from an input string starting at the specified * index. * Authors: * TIMJ: Tim Jenness (JAC, Hawaii) * {enter_new_authors_here} * Notes: * - Uses the strtod() system call to do the parsing. This may lead to * subtle differences when compared to the SLA/F parsing. * - All "D" characters are converted to "E" to handle fortran exponents. * - Commas are recognized as a special case and are skipped if one happens * to be the next character when updating nstrt. Additionally the output * nstrt position will skip past any trailing space. * - If no number can be found flag will be set to 1. * - If the number overflows or underflows jflag will be set to 2. For overflow * the returned result will have the value HUGE_VAL, for underflow it * will have the value 0.0. * - For compatiblity with SLA/F -0 will be returned as "0" with jflag == -1. * - Unlike slaDfltin a standalone "E" will return status 1 (could not find * a number) rather than 2 (bad number). * Implementation Status: * - The code is more robust if the C99 copysign() function is available. * This can recognize the -0.0 values returned by strtod. If copysign() is * missing we try to scan the string looking for minus signs. * History: * 2012-03-08 (TIMJ): * Initial version based on strtod * Adapted with permission from the Fortran SLALIB library * although this is a completely distinct implementation of the SLA API. * 2012-06-21 (TIMJ): * Provide a backup for missing copysign. * 2012-06-22 (TIMJ): * Check __STDC_VERSION__ * {enter_further_changes_here} * Copyright: * Copyright (C) 2012 Science and Technology Facilities Council. * All Rights Reserved. * Licence: * This program is free software; you can redistribute it and/or * modify it under the terms of the GNU General Public License as * published by the Free Software Foundation; either version 3 of * the License, or (at your option) any later version. * * This program is distributed in the hope that it will be * useful, but WITHOUT ANY WARRANTY; without even the implied * warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR * PURPOSE. See the GNU General Public License for more details. * * You should have received a copy of the GNU General Public License * along with this program; if not, write to the Free Software * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, * MA 02110-1301, USA. * Bugs: * {note_any_bugs_here} *- */ /* Use the config file if we have one, else look at compiler defines to see if we have C99 */ #if HAVE_CONFIG_H #include #else #ifdef __STDC_VERSION__ # if (__STDC_VERSION__ >= 199901L) # define HAVE_COPYSIGN 1 # endif #endif #endif /* isblank() is a C99 feature so we just reimplement it if it is missing */ #if HAVE_ISBLANK #define _POSIX_C_SOURCE 200112L #define _ISOC99_SOURCE #include # define ISBLANK isblank #else static int ISBLANK( int c ) { return ( c == ' ' || c == '\t' ); } #endif /* System include files */ #include #include #include #include #include "pal.h" #if HAVE_COPYSIGN # define SCAN_FOR_MINUS 0 #else # define SCAN_FOR_MINUS 1 #endif /* We prefer to use the starutil package */ #if HAVE_STAR_UTIL_H # include "star/util.h" #else #endif void palDfltin( const char * string, int *nstrt, double *dreslt, int *jflag ) { char * ctemp = NULL; /* Pointer into string */ char * endptr = NULL;/* Pointer to string after number */ double retval; /* Return value from strtod */ /* We have to copy the string in order to modify the exponents from Fortran style. Rather than using malloc we have a static buffer. Technically we only have to do the copy if we have a D or d in the string. */ char tempbuf[256]; #if SCAN_FOR_MINUS int dreslt_sign = 1; int ipos = *nstrt; const char * cctemp = NULL; /* Scan the string looking for a minus sign. Then update the start position for the subsequent copy iff we find a '-'. Note that commas are a special delimiter so we stop looking for a minus if we find one or if we find a digit. */ cctemp = &(string[ipos-1]); while (!isdigit(*cctemp) && (*cctemp != ',') && (*cctemp != '\0')) { if (*cctemp == '-') { *nstrt = ipos; dreslt_sign = -1; break; } ipos++; cctemp++; } #endif /* Correct for SLA use of fortran convention */ #if HAVE_STAR_UTIL_H star_strlcpy( tempbuf, &(string[*nstrt-1]), sizeof(tempbuf) ); #else # if HAVE_STRLCPY strlcpy( tempbuf, &(string[*nstrt-1]), sizeof(tempbuf) ); # else /* Use standard C interface */ strncpy( tempbuf, &(string[*nstrt-1]), sizeof(tempbuf)); tempbuf[sizeof(tempbuf)-1] = '\0'; # endif #endif /* Convert d or D to E */ ctemp = tempbuf; while (*ctemp != '\0') { if (*ctemp == 'd' || *ctemp == 'D') *ctemp = 'E'; ctemp++; } /* strtod man page indicates that we should reset errno before calling strtod */ errno = 0; /* We know we are starting at the beginning of the string now */ retval = strtod( tempbuf, &endptr ); if (retval == 0.0 && endptr == tempbuf) { /* conversion did not find anything */ *jflag = 1; /* but SLA compatibility requires that we step through to remove leading spaces. We also step through alphabetic characters since they can never be numbers standalone (no number starts with an 'E') */ while (ISBLANK(*endptr) || isalpha(*endptr) ) { endptr++; } } else if ( errno == ERANGE ) { *jflag = 2; } else { #if SCAN_FOR_MINUS *jflag = (dreslt_sign < 0 ? -1 : 0); #else if ( retval < 0.0 ) { *jflag = -1; } else if ( retval == 0.0 ) { /* Need to distinguish -0 from +0 */ double test = copysign( 1.0, retval ); if ( test < 0.0 ) { *jflag = -1; } else { *jflag = 0; } } else { *jflag = 0; } #endif } /* Sort out the position for the next index */ *nstrt += endptr - tempbuf; /* Skip a comma */ if (*endptr == ',') { (*nstrt)++; } else { /* jump past any leading spaces for the next part of the string */ ctemp = endptr; while ( ISBLANK(*ctemp) ) { (*nstrt)++; ctemp++; } } /* And the result unless we found nothing */ if (*jflag != 1) *dreslt = retval; } pal-0.5.0/palDh2e.c000644 000765 000024 00000007211 12366000607 014022 0ustar00timjstaff000000 000000 /* *+ * Name: * palDh2e * Purpose: * Horizon to equatorial coordinates: Az,El to HA,Dec * Language: * Starlink ANSI C * Type of Module: * Library routine * Invocation: * palDh2e( double az, double el, double phi, double * ha, double * dec ); * Arguments: * az = double (Given) * Azimuth (radians) * el = double (Given) * Elevation (radians) * phi = double (Given) * Observatory latitude (radians) * ha = double * (Returned) * Hour angle (radians) * dec = double * (Returned) * Declination (radians) * Description: * Convert horizon to equatorial coordinates. * Authors: * PTW: Pat Wallace (STFC) * TIMJ: Tim Jenness (JAC, Hawaii) * {enter_new_authors_here} * Notes: * - All the arguments are angles in radians. * - The sign convention for azimuth is north zero, east +pi/2. * - HA is returned in the range +/-pi. Declination is returned * in the range +/-pi/2. * - The latitude is (in principle) geodetic. In critical * applications, corrections for polar motion should be applied. * - In some applications it will be important to specify the * correct type of elevation in order to produce the required * type of HA,Dec. In particular, it may be important to * distinguish between the elevation as affected by refraction, * which will yield the "observed" HA,Dec, and the elevation * in vacuo, which will yield the "topocentric" HA,Dec. If the * effects of diurnal aberration can be neglected, the * topocentric HA,Dec may be used as an approximation to the * "apparent" HA,Dec. * - No range checking of arguments is done. * - In applications which involve many such calculations, rather * than calling the present routine it will be more efficient to * use inline code, having previously computed fixed terms such * as sine and cosine of latitude. * History: * 2012-02-08 (TIMJ): * Initial version with documentation taken from Fortran SLA * Adapted with permission from the Fortran SLALIB library. * {enter_further_changes_here} * Copyright: * Copyright (C) 1996 Rutherford Appleton Laboratory * Copyright (C) 2012 Science and Technology Facilities Council. * All Rights Reserved. * Licence: * This program is free software: you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * License as published by the Free Software Foundation, either * version 3 of the License, or (at your option) any later * version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Lesser General Public License for more details. * * You should have received a copy of the GNU Lesser General * License along with this program. If not, see * . * Bugs: * {note_any_bugs_here} *- */ #include "pal.h" #include void palDh2e ( double az, double el, double phi, double *ha, double *dec) { double sa; double ca; double se; double ce; double sp; double cp; double x; double y; double z; double r; /* Useful trig functions */ sa = sin(az); ca = cos(az); se = sin(el); ce = cos(el); sp = sin(phi); cp = cos(phi); /* HA,Dec as x,y,z */ x = -ca * ce * sp + se * cp; y = -sa * ce; z = ca * ce * cp + se * sp; /* To HA,Dec */ r = sqrt(x * x + y * y); if (r == 0.) { *ha = 0.; } else { *ha = atan2(y, x); } *dec = atan2(z, r); return; } pal-0.5.0/palDjcal.c000644 000765 000024 00000004770 12366000612 014260 0ustar00timjstaff000000 000000 /* *+ * Name: * palDjcal * Purpose: * Modified Julian Date to Gregorian Calendar * Language: * Starlink ANSI C * Type of Module: * Library routine * Invocation: * void palDjcal ( int ndp, double djm, int iymdf[4], int *j ); * Arguments: * ndp = int (Given) * Number of decimal places of days in fraction. * djm = double (Given) * Modified Julian Date (JD-2400000.5) * iymdf[4] = int[] (Returned) * Year, month, day, fraction in Gregorian calendar. * j = status (Returned) * 0 = OK. See eraJd2cal for other values. * Description: * Modified Julian Date to Gregorian Calendar, expressed * in a form convenient for formatting messages (namely * rounded to a specified precision, and with the fields * stored in a single array) * Authors: * PTW: Pat Wallace (STFC) * TIMJ: Tim Jenness (JAC, Hawaii) * {enter_new_authors_here} * History: * 2012-02-10 (TIMJ): * Initial version with documentation taken from Fortran SLA * Adapted with permission from the Fortran SLALIB library. * {enter_further_changes_here} * Notes: * - Uses eraJd2cal * Copyright: * Copyright (C) 2004 Patrick T. Wallace * Copyright (C) 2012 Science and Technology Facilities Council. * All Rights Reserved. * Licence: * This program is free software: you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * License as published by the Free Software Foundation, either * version 3 of the License, or (at your option) any later * version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Lesser General Public License for more details. * * You should have received a copy of the GNU Lesser General * License along with this program. If not, see * . * Bugs: * {note_any_bugs_here} *- */ #include #include "pal.h" #include "palmac.h" #include "pal1sofa.h" void palDjcal ( int ndp, double djm, int iymdf[4], int *j ) { double frac = 0.0; double nfd; *j = eraJd2cal( PAL__MJD0, djm, &(iymdf[0]), &(iymdf[1]), &(iymdf[2]), &frac); /* Convert ndp to a power of 10 */ nfd = pow( 10., (double)ndp ); /* Multiply the fraction */ frac *= nfd; /* and now we want to round to the nearest integer */ iymdf[3] = (int)DNINT(frac); } pal-0.5.0/palDmat.c000644 000765 000024 00000010300 12365762531 014130 0ustar00timjstaff000000 000000 /* *+ * Name: * palDmat * Purpose: * Matrix inversion & solution of simultaneous equations * Language: * Starlink ANSI C * Type of Module: * Library routine * Invocation: * void palDmat( int n, double *a, double *y, double *d, int *jf, * int *iw ); * Arguments: * n = int (Given) * Number of simultaneous equations and number of unknowns. * a = double[] (Given & Returned) * A non-singular NxN matrix (implemented as a contiguous block * of memory). After calling this routine "a" contains the * inverse of the matrix. * y = double[] (Given & Returned) * On input the vector of N knowns. On exit this vector contains the * N solutions. * d = double * (Returned) * The determinant. * jf = int * (Returned) * The singularity flag. If the matrix is non-singular, jf=0 * is returned. If the matrix is singular, jf=-1 & d=0.0 are * returned. In the latter case, the contents of array "a" on * return are undefined. * iw = int[] (Given) * Integer workspace of size N. * Description: * Matrix inversion & solution of simultaneous equations * For the set of n simultaneous equations in n unknowns: * A.Y = X * this routine calculates the inverse of A, the determinant * of matrix A and the vector of N unknowns. * Authors: * PTW: Pat Wallace (STFC) * TIMJ: Tim Jenness (JAC, Hawaii) * {enter_new_authors_here} * History: * 2012-02-11 (TIMJ): * Combination of a port of the Fortran and a comparison * with the obfuscated GPL C routine. * Adapted with permission from the Fortran SLALIB library. * {enter_further_changes_here} * Notes: * - Implemented using Gaussian elimination with partial pivoting. * - Optimized for speed rather than accuracy with errors 1 to 4 * times those of routines optimized for accuracy. * Copyright: * Copyright (C) 2001 Rutherford Appleton Laboratory. * Copyright (C) 2012 Science and Technology Facilities Council. * All Rights Reserved. * Licence: * This program is free software: you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * License as published by the Free Software Foundation, either * version 3 of the License, or (at your option) any later * version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Lesser General Public License for more details. * * You should have received a copy of the GNU Lesser General * License along with this program. If not, see * . * Bugs: * {note_any_bugs_here} *- */ #include "pal.h" void palDmat ( int n, double *a, double *y, double *d, int *jf, int *iw ) { const double SFA = 1e-20; int k; double*aoff; *jf=0; *d=1.0; for(k=0,aoff=a; kamx){ amx=t; imx=i; aoff2=apos2; } } } if(amx0;){ int ki=iw[k]; if(k!=ki){ int i; double *apos = a; for(i=0;i=0; N--) { /* DO N=NL, 1, -1 */ COEFF=TL[N]; EMN=(double)(ITL[N][0]); EMPN=(double)(ITL[N][1]); DN=(double)(ITL[N][2]); FN=(double)(ITL[N][3]); I=ITL[N][4]; if (I == 0) { EN=1.; DEN=0.; } else if (I == 1) { EN=E; DEN=DE; } else { EN=ESQ; DEN=DESQ; } THETA=EMN*EM+EMPN*EMP+DN*D+FN*F; DTHETA=EMN*DEM+EMPN*DEMP+DN*DD+FN*DF; FTHETA=sin(THETA); V=V+COEFF*FTHETA*EN; DV=DV+COEFF*(cos(THETA)*DTHETA*EN+FTHETA*DEN); } EL=ELP+PAL__DD2R*V; DEL=(DELP+PAL__DD2R*DV)/CJ; /* Latitude */ V=0.; DV=0.; for (N=NB-1; N>=0; N--) { /* DO N=NB,1,-1 */ COEFF=TB[N]; EMN=(double)(ITB[N][0]); EMPN=(double)(ITB[N][1]); DN=(double)(ITB[N][2]); FN=(double)(ITB[N][3]); I=ITB[N][4]; if (I == 0 ) { EN=1.; DEN=0.; } else if (I == 1) { EN=E; DEN=DE; } else { EN=ESQ; DEN=DESQ; } THETA=EMN*EM+EMPN*EMP+DN*D+FN*F; DTHETA=EMN*DEM+EMPN*DEMP+DN*DD+FN*DF; FTHETA=sin(THETA); V=V+COEFF*FTHETA*EN; DV=DV+COEFF*(cos(THETA)*DTHETA*EN+FTHETA*DEN); } BF=1.-CW1*COSOM-CW2*COSWOM; DBF=CW1*DOM*SINOM+CW2*DWOM*SINWOM; B=PAL__DD2R*V*BF; DB=PAL__DD2R*(DV*BF+V*DBF)/CJ; /* Parallax */ V=0.; DV=0.; for (N=NP-1; N>=0; N--) { /* DO N=NP,1,-1 */ COEFF=TP[N]; EMN=(double)(ITP[N][0]); EMPN=(double)(ITP[N][1]); DN=(double)(ITP[N][2]); FN=(double)(ITP[N][3]); I=ITP[N][4]; if (I == 0) { EN=1.; DEN=0.; } else if (I == 1) { EN=E; DEN=DE; } else { EN=ESQ; DEN=DESQ; } THETA=EMN*EM+EMPN*EMP+DN*D+FN*F; DTHETA=EMN*DEM+EMPN*DEMP+DN*DD+FN*DF; FTHETA=cos(THETA); V=V+COEFF*FTHETA*EN; DV=DV+COEFF*(-sin(THETA)*DTHETA*EN+FTHETA*DEN); } P=PAL__DD2R*V; DP=PAL__DD2R*DV/CJ; /* * Transformation into final form */ /* Parallax to distance (AU, AU/sec) */ SP=sin(P); R=ERADAU/SP; DR=-R*DP*cos(P)/SP; /* Longitude, latitude to x,y,z (AU) */ SEL=sin(EL); CEL=cos(EL); SB=sin(B); CB=cos(B); RCB=R*CB; RBD=R*DB; W=RBD*SB-CB*DR; X=RCB*CEL; Y=RCB*SEL; Z=R*SB; XD=-Y*DEL-W*CEL; YD=X*DEL-W*SEL; ZD=RBD*CB+SB*DR; /* Julian centuries since J2000 */ T=(date-51544.5)/36525.; /* Fricke equinox correction */ EPJ=2000.+T*100.; EQCOR=PAL__DS2R*(0.035+0.00085*(EPJ-B1950)); /* Mean obliquity (IAU 1976) */ EPS=PAL__DAS2R*(84381.448+(-46.8150+(-0.00059+0.001813*T)*T)*T); /* To the equatorial system, mean of date, FK5 system */ SINEPS=sin(EPS); COSEPS=cos(EPS); ES=EQCOR*SINEPS; EC=EQCOR*COSEPS; pv[0]=X-EC*Y+ES*Z; pv[1]=EQCOR*X+Y*COSEPS-Z*SINEPS; pv[2]=Y*SINEPS+Z*COSEPS; pv[3]=XD-EC*YD+ES*ZD; pv[4]=EQCOR*XD+YD*COSEPS-ZD*SINEPS; pv[5]=YD*SINEPS+ZD*COSEPS; } pal-0.5.0/palDrange.c000644 000765 000024 00000003667 12366000607 014453 0ustar00timjstaff000000 000000 /* *+ * Name: * palDrange * Purpose: * Normalize angle into range +/- pi * Language: * Starlink ANSI C * Type of Module: * Library routine * Invocation: * palDrange( double angle ) * Arguments: * angle = double (Given) * The angle in radians. * Description: * The result is "angle" expressed in the range +/- pi. If the * supplied value for "angle" is equal to +/- pi, it is returned * unchanged. * Authors: * DSB: David S Berry (JAC, Hawaii) * PTW: Patrick T. Wallace * {enter_new_authors_here} * History: * 2012-05-09 (DSB): * Initial version with documentation taken from Fortran SLA * Adapted with permission from the Fortran SLALIB library. * {enter_further_changes_here} * Copyright: * Copyright (C) 1995 Rutherford Appleton Laboratory * Copyright (C) 2012 Science and Technology Facilities Council. * All Rights Reserved. * Licence: * This program is free software: you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * License as published by the Free Software Foundation, either * version 3 of the License, or (at your option) any later * version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Lesser General Public License for more details. * * You should have received a copy of the GNU Lesser General * License along with this program. If not, see * . * Bugs: * {note_any_bugs_here} *- */ #include "pal.h" #include "palmac.h" #include double palDrange( double angle ){ double result = fmod( angle, PAL__D2PI ); if( result > PAL__DPI ) { result -= PAL__D2PI; } else if( result < -PAL__DPI ) { result += PAL__D2PI; } return result; } pal-0.5.0/palDs2tp.c000644 000765 000024 00000006600 12366000607 014235 0ustar00timjstaff000000 000000 /* *+ * Name: * palDs2tp * Purpose: * Spherical to tangent plane projection * Language: * Starlink ANSI C * Type of Module: * Library routine * Invocation: * palDs2tp( double ra, double dec, double raz, double decz, * double *xi, double *eta, int *j ); * Arguments: * ra = double (Given) * RA spherical coordinate of point to be projected (radians) * dec = double (Given) * Dec spherical coordinate of point to be projected (radians) * raz = double (Given) * RA spherical coordinate of tangent point (radians) * decz = double (Given) * Dec spherical coordinate of tangent point (radians) * xi = double * (Returned) * First rectangular coordinate on tangent plane (radians) * eta = double * (Returned) * Second rectangular coordinate on tangent plane (radians) * j = int * (Returned) * status: 0 = OK, star on tangent plane * 1 = error, star too far from axis * 2 = error, antistar on tangent plane * 3 = error, antistar too far from axis * Description: * Projection of spherical coordinates onto tangent plane: * "gnomonic" projection - "standard coordinates" * Authors: * PTW: Pat Wallace (STFC) * TIMJ: Tim Jenness (JAC, Hawaii) * {enter_new_authors_here} * History: * 2012-02-08 (TIMJ): * Initial version with documentation taken from Fortran SLA * Adapted with permission from the Fortran SLALIB library. * {enter_further_changes_here} * Copyright: * Copyright (C) 1996 Rutherford Appleton Laboratory * Copyright (C) 2012 Science and Technology Facilities Council. * All Rights Reserved. * Licence: * This program is free software: you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * License as published by the Free Software Foundation, either * version 3 of the License, or (at your option) any later * version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Lesser General Public License for more details. * * You should have received a copy of the GNU Lesser General * License along with this program. If not, see * . * Bugs: * {note_any_bugs_here} *- */ #include "pal.h" #include void palDs2tp ( double ra, double dec, double raz, double decz, double *xi, double *eta, int *j ) { const double TINY = 1.0e-6; double cdec; double sdec; double radif; double cdecz; double denom; double sdecz; double cradif; double sradif; /* Trig functions */ sdecz = sin(decz); sdec = sin(dec); cdecz = cos(decz); cdec = cos(dec); radif = ra - raz; sradif = sin(radif); cradif = cos(radif); /* Reciprocal of star vector length to tangent plane */ denom = sdec * sdecz + cdec * cdecz * cradif; /* Handle vectors too far from axis */ if (denom > TINY) { *j = 0; } else if (denom >= 0.) { *j = 1; denom = TINY; } else if (denom > -TINY) { *j = 2; denom = -TINY; } else { *j = 3; } /* Compute tangent plane coordinates (even in dubious cases) */ *xi = cdec * sradif / denom; *eta = (sdec * cdecz - cdec * sdecz * cradif) / denom; return; } pal-0.5.0/palDt.c000644 000765 000024 00000007057 12366000607 013617 0ustar00timjstaff000000 000000 /* *+ * Name: * palDt * Purpose: * Estimate the offset between dynamical time and UT * Language: * Starlink ANSI C * Type of Module: * Library routine * Invocation: * double palDt( double epoch ); * Arguments: * epoch = double (Given) * Julian epoch (e.g. 1850.0) * Returned Value: * palDt = double * Rough estimate of ET-UT (after 1984, TT-UT) at the * given epoch, in seconds. * Description: * Estimate the offset between dynamical time and Universal Time * for a given historical epoch. * Authors: * TIMJ: Tim Jenness (JAC, Hawaii) * PTW: Patrick T. Wallace * {enter_new_authors_here} * Notes: * - Depending on the epoch, one of three parabolic approximations * is used: * * before 979 Stephenson & Morrison's 390 BC to AD 948 model * 979 to 1708 Stephenson & Morrison's 948 to 1600 model * after 1708 McCarthy & Babcock's post-1650 model * * The breakpoints are chosen to ensure continuity: they occur * at places where the adjacent models give the same answer as * each other. * - The accuracy is modest, with errors of up to 20 sec during * the interval since 1650, rising to perhaps 30 min by 1000 BC. * Comparatively accurate values from AD 1600 are tabulated in * the Astronomical Almanac (see section K8 of the 1995 AA). * - The use of double-precision for both argument and result is * purely for compatibility with other SLALIB time routines. * - The models used are based on a lunar tidal acceleration value * of -26.00 arcsec per century. * * See Also: * Explanatory Supplement to the Astronomical Almanac, * ed P.K.Seidelmann, University Science Books (1992), * section 2.553, p83. This contains references to * the Stephenson & Morrison and McCarthy & Babcock * papers. * History: * 2012-03-08 (TIMJ): * Initial version with documentation from SLA/F. * Adapted with permission from the Fortran SLALIB library. * {enter_further_changes_here} * Copyright: * Copyright (C) 1995 Rutherford Appleton Laboratory * Copyright (C) 2012 Science and Technology Facilities Council. * All Rights Reserved. * Licence: * This program is free software; you can redistribute it and/or * modify it under the terms of the GNU General Public License as * published by the Free Software Foundation; either version 3 of * the License, or (at your option) any later version. * * This program is distributed in the hope that it will be * useful, but WITHOUT ANY WARRANTY; without even the implied * warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR * PURPOSE. See the GNU General Public License for more details. * * You should have received a copy of the GNU General Public License * along with this program; if not, write to the Free Software * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, * MA 02110-1301, USA. * Bugs: * {note_any_bugs_here} *- */ #include "pal.h" double palDt ( double epoch ) { double t,w,s; /* Centuries since 1800 */ t = (epoch - 1800.0) / 100.0; /* Select model */ if ( epoch >= 1708.185161980887 ) { /* Post-1708: use McCarthy & Babcock */ w = t - 0.19; s = 5.156 + 13.3066 * w * w; } else if ( epoch >= 979.0258204760233 ) { /* 978-1708: use Stephenson & Morrison's 948-1600 model */ s = 25.5 * t * t; } else { /* Pre-979: use Stephenson & Morrison's 390 BC to AD 948 model */ s = 1360.0 + (320.0 + 44.3*t) * t; } return s; } pal-0.5.0/palDtp2s.c000644 000765 000024 00000005056 12366000612 014235 0ustar00timjstaff000000 000000 /* *+ * Name: * palDtp2s * Purpose: * Tangent plane to spherical coordinates * Language: * Starlink ANSI C * Type of Module: * Library routine * Invocation: * palDtp2s( double xi, double eta, double raz, double decz, * double *ra, double *dec); * Arguments: * xi = double (Given) * First rectangular coordinate on tangent plane (radians) * eta = double (Given) * Second rectangular coordinate on tangent plane (radians) * raz = double (Given) * RA spherical coordinate of tangent point (radians) * decz = double (Given) * Dec spherical coordinate of tangent point (radians) * ra = double * (Returned) * RA spherical coordinate of point to be projected (radians) * dec = double * (Returned) * Dec spherical coordinate of point to be projected (radians) * Description: * Transform tangent plane coordinates into spherical. * Authors: * PTW: Pat Wallace (STFC) * TIMJ: Tim Jenness (JAC, Hawaii) * {enter_new_authors_here} * History: * 2012-02-08 (TIMJ): * Initial version with documentation taken from Fortran SLA * Adapted with permission from the Fortran SLALIB library. * {enter_further_changes_here} * Copyright: * Copyright (C) 1995 Rutherford Appleton Laboratory * Copyright (C) 2012 Science and Technology Facilities Council. * All Rights Reserved. * Licence: * This program is free software: you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * License as published by the Free Software Foundation, either * version 3 of the License, or (at your option) any later * version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Lesser General Public License for more details. * * You should have received a copy of the GNU Lesser General * License along with this program. If not, see * . * Bugs: * {note_any_bugs_here} *- */ #include "pal.h" #include "pal1sofa.h" #include void palDtp2s ( double xi, double eta, double raz, double decz, double *ra, double *dec ) { double cdecz; double denom; double sdecz; double d; sdecz = sin(decz); cdecz = cos(decz); denom = cdecz - eta * sdecz; d = atan2(xi, denom) + raz; *ra = eraAnp(d); *dec = atan2(sdecz + eta * cdecz, sqrt(xi * xi + denom * denom)); return; } pal-0.5.0/palDtps2c.c000644 000765 000024 00000011153 12366000612 014373 0ustar00timjstaff000000 000000 /* *+ * Name: * palDtps2c * Purpose: * Determine RA,Dec of tangent point from coordinates * Language: * Starlink ANSI C * Type of Module: * Library routine * Invocation: * palDtps2c( double xi, double eta, double ra, double dec, * double * raz1, double decz1, * double * raz2, double decz2, int *n); * Arguments: * xi = double (Given) * First rectangular coordinate on tangent plane (radians) * eta = double (Given) * Second rectangular coordinate on tangent plane (radians) * ra = double (Given) * RA spherical coordinate of star (radians) * dec = double (Given) * Dec spherical coordinate of star (radians) * raz1 = double * (Returned) * RA spherical coordinate of tangent point, solution 1 (radians) * decz1 = double * (Returned) * Dec spherical coordinate of tangent point, solution 1 (radians) * raz2 = double * (Returned) * RA spherical coordinate of tangent point, solution 2 (radians) * decz2 = double * (Returned) * Dec spherical coordinate of tangent point, solution 2 (radians) * n = int * (Returned) * number of solutions: 0 = no solutions returned (note 2) * 1 = only the first solution is useful (note 3) * 2 = both solutions are useful (note 3) * Description: * From the tangent plane coordinates of a star of known RA,Dec, * determine the RA,Dec of the tangent point. * Authors: * PTW: Pat Wallace (STFC) * TIMJ: Tim Jenness (JAC, Hawaii) * {enter_new_authors_here} * Notes: * - The RAZ1 and RAZ2 values are returned in the range 0-2pi. * - Cases where there is no solution can only arise near the poles. * For example, it is clearly impossible for a star at the pole * itself to have a non-zero XI value, and hence it is * meaningless to ask where the tangent point would have to be * to bring about this combination of XI and DEC. * - Also near the poles, cases can arise where there are two useful * solutions. The argument N indicates whether the second of the * two solutions returned is useful. N=1 indicates only one useful * solution, the usual case; under these circumstances, the second * solution corresponds to the "over-the-pole" case, and this is * reflected in the values of RAZ2 and DECZ2 which are returned. * - The DECZ1 and DECZ2 values are returned in the range +/-pi, but * in the usual, non-pole-crossing, case, the range is +/-pi/2. * - This routine is the spherical equivalent of the routine sla_DTPV2C. * History: * 2012-02-08 (TIMJ): * Initial version with documentation taken from Fortran SLA * Adapted with permission from the Fortran SLALIB library. * {enter_further_changes_here} * Copyright: * Copyright (C) 1995 Rutherford Appleton Laboratory * Copyright (C) 2012 Science and Technology Facilities Council. * All Rights Reserved. * Licence: * This program is free software: you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * License as published by the Free Software Foundation, either * version 3 of the License, or (at your option) any later * version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Lesser General Public License for more details. * * You should have received a copy of the GNU Lesser General * License along with this program. If not, see * . * Bugs: * {note_any_bugs_here} *- */ #include "pal.h" #include "pal1sofa.h" #include void palDtps2c( double xi, double eta, double ra, double dec, double * raz1, double * decz1, double * raz2, double * decz2, int *n) { double x2; double y2; double sd; double cd; double sdf; double r2; x2 = xi * xi; y2 = eta * eta; sd = sin(dec); cd = cos(dec); sdf = sd * sqrt(x2 + 1. + y2); r2 = cd * cd * (y2 + 1.) - sd * sd * x2; if (r2 >= 0.) { double r; double s; double c; r = sqrt(r2); s = sdf - eta * r; c = sdf * eta + r; if (xi == 0. && r == 0.) { r = 1.; } *raz1 = eraAnp(ra - atan2(xi, r)); *decz1 = atan2(s, c); r = -r; s = sdf - eta * r; c = sdf * eta + r; *raz2 = eraAnp(ra - atan2(xi, r)); *decz2 = atan2(s, c); if (fabs(sdf) < 1.) { *n = 1; } else { *n = 2; } } else { *n = 0; } return; } pal-0.5.0/palDtt.c000644 000765 000024 00000004102 12366000612 013763 0ustar00timjstaff000000 000000 /* *+ * Name: * palDtt * Purpose: * Return offset between UTC and TT * Language: * Starlink ANSI C * Type of Module: * Library routine * Invocation: * dtt = palDtt( double utc ); * Arguments: * utc = double (Given) * UTC date as a modified JD (JD-2400000.5) * Returned Value: * dtt = double * TT-UTC in seconds * Description: * Increment to be applied to Coordinated Universal Time UTC to give * Terrestrial Time TT (formerly Ephemeris Time ET) * Authors: * TIMJ: Tim Jenness (JAC, Hawaii) * PTW: Patrick T. Wallace * {enter_new_authors_here} * Notes: * - Consider a comprehensive upgrade to use the time transformations in SOFA's time * cookbook: http://www.erasofa.org/sofa_ts_c.pdf. * - See eraDat for a description of error conditions when calling this function * with a time outside of the UTC range. This behaviour differs from slaDtt. * History: * 2012-02-08 (TIMJ): * Initial version * Adapted with permission from the Fortran SLALIB library. * {enter_further_changes_here} * Copyright: * Copyright (C) 1995 Rutherford Appleton Laboratory * Copyright (C) 2012 Science and Technology Facilities Council. * All Rights Reserved. * Licence: * This program is free software: you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * License as published by the Free Software Foundation, either * version 3 of the License, or (at your option) any later * version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Lesser General Public License for more details. * * You should have received a copy of the GNU Lesser General * License along with this program. If not, see * . * Bugs: * {note_any_bugs_here} *- */ #include "pal.h" double palDtt( double utc ) { return 32.184 + palDat( utc ); } pal-0.5.0/palEcmat.c000644 000765 000024 00000004377 12366000612 014277 0ustar00timjstaff000000 000000 /* *+ * Name: * palEcmat * Purpose: * Form the equatorial to ecliptic rotation matrix - IAU 2006 * precession model. * Language: * Starlink ANSI C * Type of Module: * Library routine * Invocation: * palEcmat( double date, double rmat[3][3] ) * Arguments: * date = double (Given) * TT as Modified Julian Date (JD-2400000.5). The difference * between TT and TDB is of the order of a millisecond or two * (i.e. about 0.02 arc-seconds). * rmat = double[3][3] (Returned) * Rotation matrix * Description: * The equatorial to ecliptic rotation matrix is found and returned. * The matrix is in the sense V(ecl) = RMAT * V(equ); the * equator, equinox and ecliptic are mean of date. * Authors: * PTW: Pat Wallace (STFC) * DSB: David Berry (JAC, Hawaii) * {enter_new_authors_here} * History: * 2012-02-10 (DSB): * Initial version with documentation taken from Fortran SLA * Adapted with permission from the Fortran SLALIB library. * {enter_further_changes_here} * Copyright: * Copyright (C) 1996 Rutherford Appleton Laboratory * Copyright (C) 2012 Science and Technology Facilities Council. * All Rights Reserved. * Licence: * This program is free software: you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * License as published by the Free Software Foundation, either * version 3 of the License, or (at your option) any later * version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Lesser General Public License for more details. * * You should have received a copy of the GNU Lesser General * License along with this program. If not, see * . * Bugs: * {note_any_bugs_here} *- */ #include "pal.h" #include "palmac.h" #include "pal1sofa.h" void palEcmat( double date, double rmat[3][3] ) { /* Mean obliquity (the angle between the ecliptic and mean equator of date). */ double eps0 = eraObl06( PAL__MJD0, date ); /* Matrix */ palDeuler( "X", eps0, 0.0, 0.0, rmat ); } pal-0.5.0/palEl2ue.c000644 000765 000024 00000025334 12366000607 014222 0ustar00timjstaff000000 000000 /* *+ * Name: * palEl2ue * Purpose: * Transform conventional elements into "universal" form * Language: * Starlink ANSI C * Type of Module: * Library routine * Invocation: * void palEl2ue ( double date, int jform, double epoch, double orbinc, * double anode, double perih, double aorq, double e, * double aorl, double dm, double u[13], int *jstat ); * Arguments: * date = double (Given) * Epoch (TT MJD) of osculation (Note 3) * jform = int (Given) * Element set actually returned (1-3; Note 6) * epoch = double (Given) * Epoch of elements (TT MJD) * orbinc = double (Given) * inclination (radians) * anode = double (Given) * longitude of the ascending node (radians) * perih = double (Given) * longitude or argument of perihelion (radians) * aorq = double (Given) * mean distance or perihelion distance (AU) * e = double (Given) * eccentricity * aorl = double (Given) * mean anomaly or longitude (radians, JFORM=1,2 only) * dm = double (Given) * daily motion (radians, JFORM=1 only) * u = double [13] (Returned) * Universal orbital elements (Note 1) * - (0) combined mass (M+m) * - (1) total energy of the orbit (alpha) * - (2) reference (osculating) epoch (t0) * - (3-5) position at reference epoch (r0) * - (6-8) velocity at reference epoch (v0) * - (9) heliocentric distance at reference epoch * - (10) r0.v0 * - (11) date (t) * - (12) universal eccentric anomaly (psi) of date, approx * jstat = int * (Returned) * status: 0 = OK * - -1 = illegal JFORM * - -2 = illegal E * - -3 = illegal AORQ * - -4 = illegal DM * - -5 = numerical error * Description: * Transform conventional osculating elements into "universal" form. * Authors: * PTW: Pat Wallace (STFC) * TIMJ: Tim Jenness (JAC, Hawaii) * {enter_new_authors_here} * Notes: * - The "universal" elements are those which define the orbit for the * purposes of the method of universal variables (see reference). * They consist of the combined mass of the two bodies, an epoch, * and the position and velocity vectors (arbitrary reference frame) * at that epoch. The parameter set used here includes also various * quantities that can, in fact, be derived from the other * information. This approach is taken to avoiding unnecessary * computation and loss of accuracy. The supplementary quantities * are (i) alpha, which is proportional to the total energy of the * orbit, (ii) the heliocentric distance at epoch, (iii) the * outwards component of the velocity at the given epoch, (iv) an * estimate of psi, the "universal eccentric anomaly" at a given * date and (v) that date. * - The companion routine is palUe2pv. This takes the set of numbers * that the present routine outputs and uses them to derive the * object's position and velocity. A single prediction requires one * call to the present routine followed by one call to palUe2pv; * for convenience, the two calls are packaged as the routine * palPlanel. Multiple predictions may be made by again calling the * present routine once, but then calling palUe2pv multiple times, * which is faster than multiple calls to palPlanel. * - DATE is the epoch of osculation. It is in the TT timescale * (formerly Ephemeris Time, ET) and is a Modified Julian Date * (JD-2400000.5). * - The supplied orbital elements are with respect to the J2000 * ecliptic and equinox. The position and velocity parameters * returned in the array U are with respect to the mean equator and * equinox of epoch J2000, and are for the perihelion prior to the * specified epoch. * - The universal elements returned in the array U are in canonical * units (solar masses, AU and canonical days). * - Three different element-format options are available: * * Option JFORM=1, suitable for the major planets: * * EPOCH = epoch of elements (TT MJD) * ORBINC = inclination i (radians) * ANODE = longitude of the ascending node, big omega (radians) * PERIH = longitude of perihelion, curly pi (radians) * AORQ = mean distance, a (AU) * E = eccentricity, e (range 0 to <1) * AORL = mean longitude L (radians) * DM = daily motion (radians) * * Option JFORM=2, suitable for minor planets: * * EPOCH = epoch of elements (TT MJD) * ORBINC = inclination i (radians) * ANODE = longitude of the ascending node, big omega (radians) * PERIH = argument of perihelion, little omega (radians) * AORQ = mean distance, a (AU) * E = eccentricity, e (range 0 to <1) * AORL = mean anomaly M (radians) * * Option JFORM=3, suitable for comets: * * EPOCH = epoch of perihelion (TT MJD) * ORBINC = inclination i (radians) * ANODE = longitude of the ascending node, big omega (radians) * PERIH = argument of perihelion, little omega (radians) * AORQ = perihelion distance, q (AU) * E = eccentricity, e (range 0 to 10) * * - Unused elements (DM for JFORM=2, AORL and DM for JFORM=3) are * not accessed. * - The algorithm was originally adapted from the EPHSLA program of * D.H.P.Jones (private communication, 1996). The method is based * on Stumpff's Universal Variables. * * See Also: * Everhart & Pitkin, Am.J.Phys. 51, 712 (1983). * History: * 2012-03-12 (TIMJ): * Initial version taken directly from SLA/F. * Adapted with permission from the Fortran SLALIB library. * {enter_further_changes_here} * Copyright: * Copyright (C) 2005 Patrick T. Wallace * Copyright (C) 2012 Science and Technology Facilities Council. * All Rights Reserved. * Licence: * This program is free software; you can redistribute it and/or * modify it under the terms of the GNU General Public License as * published by the Free Software Foundation; either version 3 of * the License, or (at your option) any later version. * * This program is distributed in the hope that it will be * useful, but WITHOUT ANY WARRANTY; without even the implied * warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR * PURPOSE. See the GNU General Public License for more details. * * You should have received a copy of the GNU General Public License * along with this program; if not, write to the Free Software * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, * MA 02110-1301, USA. * Bugs: * {note_any_bugs_here} *- */ #include #include "pal.h" #include "palmac.h" void palEl2ue ( double date, int jform, double epoch, double orbinc, double anode, double perih, double aorq, double e, double aorl, double dm, double u[13], int *jstat ) { /* Sin and cos of J2000 mean obliquity (IAU 1976) */ const double SE=0.3977771559319137; const double CE=0.9174820620691818; int J; double PHT,ARGPH,Q,W,CM,ALPHA,PHS,SW,CW,SI,CI,SO,CO, X,Y,Z,PX,PY,PZ,VX,VY,VZ,DT,FC,FP,PSI, UL[13],PV[6]; /* Validate arguments. */ if (jform < 1 || jform > 3) { *jstat = -1; return; } if (e < 0.0 || e > 10.0 || (e >= 1.0 && jform != 3)) { *jstat = -2; return; } if (aorq <= 0.0) { *jstat = -3; return; } if (jform == 1 && dm <= 0.0) { *jstat = -4; return; } /* * Transform elements into standard form: * * PHT = epoch of perihelion passage * ARGPH = argument of perihelion (little omega) * Q = perihelion distance (q) * CM = combined mass, M+m (mu) */ if (jform == 1) { /* Major planet. */ PHT = epoch-(aorl-perih)/dm; ARGPH = perih-anode; Q = aorq*(1.0-e); W = dm/PAL__GCON; CM = W*W*aorq*aorq*aorq; } else if (jform == 2) { /* Minor planet. */ PHT = epoch-aorl*sqrt(aorq*aorq*aorq)/PAL__GCON; ARGPH = perih; Q = aorq*(1.0-e); CM = 1.0; } else { /* Comet. */ PHT = epoch; ARGPH = perih; Q = aorq; CM = 1.0; } /* The universal variable alpha. This is proportional to the total * energy of the orbit: -ve for an ellipse, zero for a parabola, * +ve for a hyperbola. */ ALPHA = CM*(e-1.0)/Q; /* Speed at perihelion. */ PHS = sqrt(ALPHA+2.0*CM/Q); /* In a Cartesian coordinate system which has the x-axis pointing * to perihelion and the z-axis normal to the orbit (such that the * object orbits counter-clockwise as seen from +ve z), the * perihelion position and velocity vectors are: * * position [Q,0,0] * velocity [0,PHS,0] * * To express the results in J2000 equatorial coordinates we make a * series of four rotations of the Cartesian axes: * * axis Euler angle * * 1 z argument of perihelion (little omega) * 2 x inclination (i) * 3 z longitude of the ascending node (big omega) * 4 x J2000 obliquity (epsilon) * * In each case the rotation is clockwise as seen from the +ve end of * the axis concerned. */ /* Functions of the Euler angles. */ SW = sin(ARGPH); CW = cos(ARGPH); SI = sin(orbinc); CI = cos(orbinc); SO = sin(anode); CO = cos(anode); /* Position at perihelion (AU). */ X = Q*CW; Y = Q*SW; Z = Y*SI; Y = Y*CI; PX = X*CO-Y*SO; Y = X*SO+Y*CO; PY = Y*CE-Z*SE; PZ = Y*SE+Z*CE; /* Velocity at perihelion (AU per canonical day). */ X = -PHS*SW; Y = PHS*CW; Z = Y*SI; Y = Y*CI; VX = X*CO-Y*SO; Y = X*SO+Y*CO; VY = Y*CE-Z*SE; VZ = Y*SE+Z*CE; /* Time from perihelion to date (in Canonical Days: a canonical day * is 58.1324409... days, defined as 1/PAL__GCON). */ DT = (date-PHT)*PAL__GCON; /* First approximation to the Universal Eccentric Anomaly, PSI, * based on the circle (FC) and parabola (FP) values. */ FC = DT/Q; W = pow(3.0*DT+sqrt(9.0*DT*DT+8.0*Q*Q*Q), 1.0/3.0); FP = W-2.0*Q/W; PSI = (1.0-e)*FC+e*FP; /* Assemble local copy of element set. */ UL[0] = CM; UL[1] = ALPHA; UL[2] = PHT; UL[3] = PX; UL[4] = PY; UL[5] = PZ; UL[6] = VX; UL[7] = VY; UL[8] = VZ; UL[9] = Q; UL[10] = 0.0; UL[11] = date; UL[12] = PSI; /* Predict position+velocity at epoch of osculation. */ palUe2pv( date, UL, PV, &J ); if (J != 0) { *jstat = -5; return; } /* Convert back to universal elements. */ palPv2ue( PV, date, CM-1.0, u, &J ); if (J != 0) { *jstat = -5; return; } /* OK exit. */ *jstat = 0; } pal-0.5.0/palEpco.c000644 000765 000024 00000005432 12366000612 014125 0ustar00timjstaff000000 000000 /* *+ * Name: * palEpco * Purpose: * Convert an epoch into the appropriate form - 'B' or 'J' * Language: * Starlink ANSI C * Type of Module: * Library routine * Invocation: * double palEpco( char k0, char k, double e ); * Arguments: * k0 = char (Given) * Form of result: 'B'=Besselian, 'J'=Julian * k = char (Given) * Form of given epoch: 'B' or 'J'. * Description: * Converts a Besselian or Julian epoch to a Julian or Besselian * epoch. * Authors: * PTW: Patrick T. Wallace * TIMJ: Tim Jenness (JAC, Hawaii) * {enter_new_authors_here} * Notes: * - The result is always either equal to or very close to * the given epoch E. The routine is required only in * applications where punctilious treatment of heterogeneous * mixtures of star positions is necessary. * - k and k0 are case insensitive. This differes slightly from the * Fortran SLA implementation. * - k and k0 are not validated. They are interpreted as follows: * o If k0 and k are the same the result is e * o If k0 is 'b' or 'B' and k isn't the conversion is J to B. * o In all other cases, the conversion is B to J. * History: * 2012-03-01 (TIMJ): * Initial version. Documentation from SLA/F. * Adapted with permission from the Fortran SLALIB library. * {enter_further_changes_here} * Copyright: * Copyright (C) 1995 Rutherford Appleton Laboratory * Copyright (C) 2012 Science and Technology Facilities Council. * All Rights Reserved. * Licence: * This program is free software; you can redistribute it and/or * modify it under the terms of the GNU General Public License as * published by the Free Software Foundation; either version 3 of * the License, or (at your option) any later version. * * This program is distributed in the hope that it will be * useful, but WITHOUT ANY WARRANTY; without even the implied * warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR * PURPOSE. See the GNU General Public License for more details. * * You should have received a copy of the GNU General Public License * along with this program; if not, write to the Free Software * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 * USA. * Bugs: * {note_any_bugs_here} *- */ #include "pal.h" #include "pal1sofa.h" #include double palEpco( char k0, char k, double e ) { double new_epoch = 0.0; double djm; double djm0; /* Use upper case */ k0 = toupper( k0 ); k = toupper( k ); if (k == k0) { new_epoch = e; } else if (k0 == 'B') { eraEpj2jd( e, &djm0, &djm ); new_epoch = eraEpb( djm0, djm ); } else { eraEpb2jd( e, &djm0, &djm ); new_epoch = eraEpj( djm0, djm ); } return new_epoch; } pal-0.5.0/palEpv.c000644 000765 000024 00000005037 12366000611 013771 0ustar00timjstaff000000 000000 /* *+ * Name: * palEpv * Purpose: * Earth position and velocity with respect to the BCRS * Language: * Starlink ANSI C * Type of Module: * Library routine * Invocation: * void palEpv( double date, double ph[3], double vh[3], * double pb[3], double vb[3] ); * Arguments: * date = double (Given) * Date, TDB Modified Julian Date (JD-2400000.5) * ph = double [3] (Returned) * Heliocentric Earth position (AU) * vh = double [3] (Returned) * Heliocentric Earth velocity (AU/day) * pb = double [3] (Returned) * Barycentric Earth position (AU) * vb = double [3] (Returned) * Barycentric Earth velocity (AU/day) * Description: * Earth position and velocity, heliocentric and barycentric, with * respect to the Barycentric Celestial Reference System. * Authors: * TIMJ: Tim Jenness (JAC, Hawaii) * {enter_new_authors_here} * Notes: * - See eraEpv00 for details on accuracy * - Note that the status argument from eraEpv00 is ignored * History: * 2012-03-12 (TIMJ): * Initial version * Adapted with permission from the Fortran SLALIB library * but now mainly calls SOFA routines. * {enter_further_changes_here} * Copyright: * Copyright (C) 2012 Science and Technology Facilities Council. * All Rights Reserved. * Licence: * This program is free software; you can redistribute it and/or * modify it under the terms of the GNU General Public License as * published by the Free Software Foundation; either version 3 of * the License, or (at your option) any later version. * * This program is distributed in the hope that it will be * useful, but WITHOUT ANY WARRANTY; without even the implied * warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR * PURPOSE. See the GNU General Public License for more details. * * You should have received a copy of the GNU General Public License * along with this program; if not, write to the Free Software * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, * MA 02110-1301, USA. * Bugs: * {note_any_bugs_here} *- */ #include "palmac.h" #include "pal.h" #include "pal1sofa.h" void palEpv( double date, double ph[3], double vh[3], double pb[3], double vb[3] ) { int i; double pvh[2][3]; double pvb[2][3]; eraEpv00( PAL__MJD0, date, pvh, pvb ); /* Copy into output arrays */ for (i=0; i<3; i++) { ph[i] = pvh[0][i]; vh[i] = pvh[1][i]; pb[i] = pvb[0][i]; vb[i] = pvb[1][i]; } } pal-0.5.0/palEqecl.c000644 000765 000024 00000005151 12366000611 014265 0ustar00timjstaff000000 000000 /* *+ * Name: * palEqecl * Purpose: * Transform from J2000.0 equatorial coordinates to ecliptic coordinates * Language: * Starlink ANSI C * Type of Module: * Library routine * Invocation: * void palEqecl( double dr, double dd, double date, * double *dl, double *db); * Arguments: * dr = double (Given) * J2000.0 mean RA (radians) * dd = double (Given) * J2000.0 mean Dec (Radians) * date = double (Given) * TT as Modified Julian Date (JD-2400000.5). The difference * between TT and TDB is of the order of a millisecond or two * (i.e. about 0.02 arc-seconds). * dl = double * (Returned) * Ecliptic longitude (mean of date, IAU 1980 theory, radians) * db = double * (Returned) * Ecliptic latitude (mean of date, IAU 1980 theory, radians) * Description: * Transform from J2000.0 equatorial coordinates to ecliptic coordinates. * Authors: * PTW: Patrick T. Wallace * TIMJ: Tim Jenness (JAC, Hawaii) * {enter_new_authors_here} * History: * 2012-03-02 (TIMJ): * Initial version * Adapted with permission from the Fortran SLALIB library. * {enter_further_changes_here} * Copyright: * Copyright (C) 1995 Rutherford Appleton Laboratory * Copyright (C) 2012 Science and Technology Facilities Council. * All Rights Reserved. * Licence: * This program is free software; you can redistribute it and/or * modify it under the terms of the GNU General Public License as * published by the Free Software Foundation; either version 3 of * the License, or (at your option) any later version. * * This program is distributed in the hope that it will be * useful, but WITHOUT ANY WARRANTY; without even the implied * warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR * PURPOSE. See the GNU General Public License for more details. * * You should have received a copy of the GNU General Public License * along with this program; if not, write to the Free Software * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, * MA 02110-1301, USA. * Bugs: * {note_any_bugs_here} *- */ #include "pal.h" #include "pal1sofa.h" void palEqecl ( double dr, double dd, double date, double *dl, double *db ) { double v1[3], v2[3]; double rmat[3][3]; /* Spherical to Cartesian */ eraS2c( dr, dd, v1 ); /* Mean J2000 to mean of date */ palPrec( 2000.0, palEpj(date), rmat ); eraRxp( rmat, v1, v2 ); /* Equatorial to ecliptic */ palEcmat( date, rmat ); eraRxp( rmat, v2, v1 ); /* Cartesian to spherical */ eraC2s( v1, dl, db ); } pal-0.5.0/palEqgal.c000644 000765 000024 00000006150 12366000611 014265 0ustar00timjstaff000000 000000 /* *+ * Name: * palEqgal * Purpose: * Convert from J2000.0 equatorial coordinates to Galactic * Language: * Starlink ANSI C * Type of Module: * Library routine * Invocation: * void palEqgal ( double dr, double dd, double *dl, double *db ); * Arguments: * dr = double (Given) * J2000.0 RA (radians) * dd = double (Given) * J2000.0 Dec (radians * dl = double * (Returned) * Galactic longitude (radians). * db = double * (Returned) * Galactic latitude (radians). * Description: * Transformation from J2000.0 equatorial coordinates * to IAU 1958 galactic coordinates. * Authors: * PTW: Pat Wallace (STFC) * TIMJ: Tim Jenness (JAC, Hawaii) * {enter_new_authors_here} * Notes: * The equatorial coordinates are J2000.0. Use the routine * palGe50 if conversion to B1950.0 'FK4' coordinates is * required. * See Also: * Blaauw et al, Mon.Not.R.Astron.Soc.,121,123 (1960) * History: * 2012-02-12(TIMJ): * Initial version with documentation taken from Fortran SLA * Adapted with permission from the Fortran SLALIB library. * {enter_further_changes_here} * Copyright: * Copyright (C) 1998 Rutherford Appleton Laboratory * Copyright (C) 2012 Science and Technology Facilities Council. * All Rights Reserved. * Licence: * This program is free software: you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * License as published by the Free Software Foundation, either * version 3 of the License, or (at your option) any later * version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Lesser General Public License for more details. * * You should have received a copy of the GNU Lesser General * License along with this program. If not, see * . * Bugs: * {note_any_bugs_here} *- */ #include "pal.h" #include "pal1sofa.h" void palEqgal ( double dr, double dd, double *dl, double *db ) { double v1[3]; double v2[3]; /* * L2,B2 system of galactic coordinates * * P = 192.25 RA of galactic north pole (mean B1950.0) * Q = 62.6 inclination of galactic to mean B1950.0 equator * R = 33 longitude of ascending node * * P,Q,R are degrees * * Equatorial to galactic rotation matrix (J2000.0), obtained by * applying the standard FK4 to FK5 transformation, for zero proper * motion in FK5, to the columns of the B1950 equatorial to * galactic rotation matrix: */ double rmat[3][3] = { { -0.054875539726,-0.873437108010,-0.483834985808 }, { +0.494109453312,-0.444829589425,+0.746982251810 }, { -0.867666135858,-0.198076386122,+0.455983795705 } }; /* Spherical to Cartesian */ eraS2c( dr, dd, v1 ); /* Equatorial to Galactic */ eraRxp( rmat, v1, v2 ); /* Cartesian to spherical */ eraC2s( v2, dl, db ); /* Express in conventional ranges */ *dl = eraAnp( *dl ); *db = eraAnpm( *db ); } pal-0.5.0/palEtrms.c000644 000765 000024 00000005427 12366000607 014341 0ustar00timjstaff000000 000000 /* *+ * Name: * palEtrms * Purpose: * Compute the E-terms vector * Language: * Starlink ANSI C * Type of Module: * Library routine * Invocation: * void palEtrms ( double ep, double ev[3] ); * Arguments: * ep = double (Given) * Besselian epoch * ev = double [3] (Returned) * E-terms as (dx,dy,dz) * Description: * Computes the E-terms (elliptic component of annual aberration) * vector. * * Note the use of the J2000 aberration constant (20.49552 arcsec). * This is a reflection of the fact that the E-terms embodied in * existing star catalogues were computed from a variety of * aberration constants. Rather than adopting one of the old * constants the latest value is used here. * * See also: * - Smith, C.A. et al., 1989. Astr.J. 97, 265. * - Yallop, B.D. et al., 1989. Astr.J. 97, 274. * Authors: * PTW: Pat Wallace (STFC) * TIMJ: Tim Jenness (JAC, Hawaii) * {enter_new_authors_here} * History: * 2012-02-12 (TIMJ): * Initial version with documentation taken from Fortran SLA * Adapted with permission from the Fortran SLALIB library. * {enter_further_changes_here} * Copyright: * Copyright (C) 1996 Rutherford Appleton Laboratory * Copyright (C) 2012 Science and Technology Facilities Council. * All Rights Reserved. * Licence: * This program is free software: you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * License as published by the Free Software Foundation, either * version 3 of the License, or (at your option) any later * version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Lesser General Public License for more details. * * You should have received a copy of the GNU Lesser General * License along with this program. If not, see * . * Bugs: * {note_any_bugs_here} *- */ #include "pal.h" #include "palmac.h" void palEtrms ( double ep, double ev[3] ) { /* Use the J2000 aberration constant */ const double ABCONST = 20.49552; double t, e, e0, p, ek, cp; /* Julian centuries since B1950 */ t = (ep - 1950.) * .0100002135903; /* Eccentricity */ e = .01673011 - (t * 1.26e-7 + 4.193e-5) * t; /* Mean obliquity */ e0 = (84404.836 - ((t * .00181 + .00319) * t + 46.8495) * t) * PAL__DAS2R; /* Mean longitude of perihelion */ p = (((t * .012 + 1.65) * t + 6190.67) * t + 1015489.951) * PAL__DAS2R; /* E-terms */ ek = e * ABCONST * PAL__DAS2R; cp = cos(p); ev[0] = ek * sin(p); ev[1] = -ek * cp * cos(e0); ev[2] = -ek * cp * sin(e0); } pal-0.5.0/palEvp.c000644 000765 000024 00000006166 12366000611 013775 0ustar00timjstaff000000 000000 /* *+ * Name: * palEvp * Purpose: * Returns the barycentric and heliocentric velocity and position of the * Earth. * Language: * Starlink ANSI C * Type of Module: * Library routine * Invocation: * void palEvp( double date, double deqx, double dvb[3], double dpb[3], * double dvh[3], double dph[3] ) * Arguments: * date = double (Given) * TDB (loosely ET) as a Modified Julian Date (JD-2400000.5) * deqx = double (Given) * Julian epoch (e.g. 2000.0) of mean equator and equinox of the * vectors returned. If deqx <= 0.0, all vectors are referred to the * mean equator and equinox (FK5) of epoch date. * dvb = double[3] (Returned) * Barycentric velocity (AU/s, AU) * dpb = double[3] (Returned) * Barycentric position (AU/s, AU) * dvh = double[3] (Returned) * heliocentric velocity (AU/s, AU) * dph = double[3] (Returned) * Heliocentric position (AU/s, AU) * Description: * Returns the barycentric and heliocentric velocity and position of the * Earth at a given epoch, given with respect to a specified equinox. * For information about accuracy, see the function eraEpv00. * Authors: * PTW: Pat Wallace (STFC) * {enter_new_authors_here} * History: * 2012-02-13 (PTW): * Initial version. * Adapted with permission from the Fortran SLALIB library. * {enter_further_changes_here} * Copyright: * Copyright (C) 2005 Patrick T. Wallace * Copyright (C) 2012 Science and Technology Facilities Council. * All Rights Reserved. * Licence: * This program is free software: you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * License as published by the Free Software Foundation, either * version 3 of the License, or (at your option) any later * version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Lesser General Public License for more details. * * You should have received a copy of the GNU Lesser General * License along with this program. If not, see * . * Bugs: * {note_any_bugs_here} *- */ #include "pal.h" #include "palmac.h" #include "pal1sofa.h" void palEvp( double date, double deqx, double dvb[3], double dpb[3], double dvh[3], double dph[3] ){ /* Local Variables; */ int i; double pvh[2][3], pvb[2][3], d1, d2, r[3][3]; /* BCRS PV-vectors. */ eraEpv00 ( 2400000.5, date, pvh, pvb ); /* Was precession to another equinox requested? */ if ( deqx > 0.0 ) { /* Yes: compute precession matrix from J2000.0 to deqx. */ eraEpj2jd ( deqx, &d1, &d2 ); eraPmat06 ( d1, d2, r ); /* Rotate the PV-vectors. */ eraRxpv ( r, pvh, pvh ); eraRxpv ( r, pvb, pvb ); } /* Return the required vectors. */ for ( i = 0; i < 3; i++ ) { dvh[i] = pvh[1][i] / PAL__SPD; dvb[i] = pvb[1][i] / PAL__SPD; dph[i] = pvh[0][i]; dpb[i] = pvb[0][i]; } } pal-0.5.0/palFk45z.c000644 000765 000024 00000014352 12366000611 014142 0ustar00timjstaff000000 000000 /* *+ * Name: * palFk45z * Purpose: * Convert B1950.0 FK4 star data to J2000.0 FK5 assuming zero * proper motion in the FK5 frame * Language: * Starlink ANSI C * Type of Module: * Library routine * Invocation: * palFk45z( double r1950, double d1950, double bepoch, double *r2000, * double *d2000 ) * Arguments: * r1950 = double (Given) * B1950.0 FK4 RA at epoch (radians). * d1950 = double (Given) * B1950.0 FK4 Dec at epoch (radians). * bepoch = double (Given) * Besselian epoch (e.g. 1979.3) * r2000 = double (Returned) * J2000.0 FK5 RA (Radians). * d2000 = double (Returned) * J2000.0 FK5 Dec(Radians). * Description: * Convert B1950.0 FK4 star data to J2000.0 FK5 assuming zero * proper motion in the FK5 frame (double precision) * * This function converts stars from the Bessel-Newcomb, FK4 * system to the IAU 1976, FK5, Fricke system, in such a * way that the FK5 proper motion is zero. Because such a star * has, in general, a non-zero proper motion in the FK4 system, * the routine requires the epoch at which the position in the * FK4 system was determined. * * The method is from Appendix 2 of Ref 1, but using the constants * of Ref 4. * Notes: * - The epoch BEPOCH is strictly speaking Besselian, but if a * Julian epoch is supplied the result will be affected only to * a negligible extent. * * - Conversion from Besselian epoch 1950.0 to Julian epoch 2000.0 * only is provided for. Conversions involving other epochs will * require use of the appropriate precession, proper motion, and * E-terms routines before and/or after palFk45z is called. * * - In the FK4 catalogue the proper motions of stars within 10 * degrees of the poles do not embody the differential E-term effect * and should, strictly speaking, be handled in a different manner * from stars outside these regions. However, given the general lack * of homogeneity of the star data available for routine astrometry, * the difficulties of handling positions that may have been * determined from astrometric fields spanning the polar and non-polar * regions, the likelihood that the differential E-terms effect was not * taken into account when allowing for proper motion in past * astrometry, and the undesirability of a discontinuity in the * algorithm, the decision has been made in this routine to include the * effect of differential E-terms on the proper motions for all stars, * whether polar or not. At epoch 2000, and measuring on the sky rather * than in terms of dRA, the errors resulting from this simplification * are less than 1 milliarcsecond in position and 1 milliarcsecond per * century in proper motion. * * References: * - Aoki,S., et al, 1983. Astron.Astrophys., 128, 263. * - Smith, C.A. et al, 1989. "The transformation of astrometric * catalog systems to the equinox J2000.0". Astron.J. 97, 265. * - Yallop, B.D. et al, 1989. "Transformation of mean star places * from FK4 B1950.0 to FK5 J2000.0 using matrices in 6-space". * Astron.J. 97, 274. * - Seidelmann, P.K. (ed), 1992. "Explanatory Supplement to * the Astronomical Almanac", ISBN 0-935702-68-7. * Authors: * PTW: Pat Wallace (STFC) * DSB: David Berry (JAC, Hawaii) * {enter_new_authors_here} * History: * 2012-02-10 (DSB): * Initial version with documentation taken from Fortran SLA * Adapted with permission from the Fortran SLALIB library. * {enter_further_changes_here} * Copyright: * Copyright (C) 1998 Rutherford Appleton Laboratory * Copyright (C) 2012 Science and Technology Facilities Council. * All Rights Reserved. * Licence: * This program is free software: you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * License as published by the Free Software Foundation, either * version 3 of the License, or (at your option) any later * version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Lesser General Public License for more details. * * You should have received a copy of the GNU Lesser General * License along with this program. If not, see * . * Bugs: * {note_any_bugs_here} *- */ #include "pal.h" #include "palmac.h" #include "pal1sofa.h" void palFk45z( double r1950, double d1950, double bepoch, double *r2000, double *d2000 ){ /* Local Variables: */ double w; int i; int j; double r0[3], a1[3], v1[3], v2[6]; /* Position and position+velocity vectors */ /* CANONICAL CONSTANTS (see references) */ /* Vector A. */ double a[3] = { -1.62557E-6, -0.31919E-6, -0.13843E-6 }; /* Vectors Adot. */ double ad[3] = { 1.245E-3, -1.580E-3, -0.659E-3 }; /* Matrix M (only half of which is needed here). */ double em[6][3] = { {0.9999256782, -0.0111820611, -0.0048579477}, {0.0111820610, 0.9999374784, -0.0000271765}, {0.0048579479, -0.0000271474, 0.9999881997}, {-0.000551, -0.238565, 0.435739}, {0.238514, -0.002667, -0.008541}, {-0.435623, 0.012254, 0.002117} }; /* Spherical to Cartesian. */ eraS2c( r1950, d1950, r0 ); /* Adjust vector A to give zero proper motion in FK5. */ w = ( bepoch - 1950.0 )/PAL__PMF; for( i = 0; i < 3; i++ ) { a1[ i ] = a[ i ] + w*ad[ i ]; } /* Remove e-terms. */ w = r0[ 0 ]*a1[ 0 ] + r0[ 1 ]*a1[ 1 ] + r0[ 2 ]*a1[ 2 ]; for( i = 0; i < 3; i++ ) { v1[ i ] = r0[ i ] - a1[ i ] + w*r0[ i ]; } /* Convert position vector to Fricke system. */ for( i = 0; i < 6; i++ ) { w = 0.0; for( j = 0; j < 3; j++ ) { w += em[ i ][ j ]*v1[ j ]; } v2[ i ] = w; } /* Allow for fictitious proper motion in FK4. */ w = ( palEpj( palEpb2d( bepoch ) ) - 2000.0 )/PAL__PMF; for( i = 0; i < 3; i++ ) { v2[ i ] += w*v2[ i + 3 ]; } /* Revert to spherical coordinates. */ eraC2s( v2, &w, d2000 ); *r2000 = eraAnp( w ); } pal-0.5.0/palFk524.c000644 000765 000024 00000021010 12366000607 014024 0ustar00timjstaff000000 000000 /* *+ * Name: * palFk524 * Purpose: * Convert J2000.0 FK5 star data to B1950.0 FK4. * Language: * Starlink ANSI C * Type of Module: * Library routine * Invocation: * palFk524( double r2000, double d2000, double dr2000, double dd2000, * double p2000, double v2000, double *r1950, double *d1950, * double *dr1950, double *dd1950, double *p1950, double *v1950 ) * Arguments: * r2000 = double (Given) * J2000.0 FK5 RA (radians). * d2000 = double (Given) * J2000.0 FK5 Dec (radians). * dr2000 = double (Given) * J2000.0 FK5 RA proper motion (rad/Jul.yr) * dd2000 = double (Given) * J2000.0 FK5 Dec proper motion (rad/Jul.yr) * p2000 = double (Given) * J2000.0 FK5 parallax (arcsec) * v2000 = double (Given) * J2000.0 FK5 radial velocity (km/s, +ve = moving away) * r1950 = double * (Returned) * B1950.0 FK4 RA (radians). * d1950 = double * (Returned) * B1950.0 FK4 Dec (radians). * dr1950 = double * (Returned) * B1950.0 FK4 RA proper motion (rad/Jul.yr) * dd1950 = double * (Returned) * B1950.0 FK4 Dec proper motion (rad/Jul.yr) * p1950 = double * (Returned) * B1950.0 FK4 parallax (arcsec) * v1950 = double * (Returned) * B1950.0 FK4 radial velocity (km/s, +ve = moving away) * Description: * This function converts stars from the IAU 1976, FK5, Fricke * system, to the Bessel-Newcomb, FK4 system. The precepts * of Smith et al (Ref 1) are followed, using the implementation * by Yallop et al (Ref 2) of a matrix method due to Standish. * Kinoshita's development of Andoyer's post-Newcomb precession is * used. The numerical constants from Seidelmann et al (Ref 3) are * used canonically. * Notes: * - The proper motions in RA are dRA/dt rather than * cos(Dec)*dRA/dt, and are per year rather than per century. * - Note that conversion from Julian epoch 2000.0 to Besselian * epoch 1950.0 only is provided for. Conversions involving * other epochs will require use of the appropriate precession, * proper motion, and E-terms routines before and/or after * FK524 is called. * - In the FK4 catalogue the proper motions of stars within * 10 degrees of the poles do not embody the differential * E-term effect and should, strictly speaking, be handled * in a different manner from stars outside these regions. * However, given the general lack of homogeneity of the star * data available for routine astrometry, the difficulties of * handling positions that may have been determined from * astrometric fields spanning the polar and non-polar regions, * the likelihood that the differential E-terms effect was not * taken into account when allowing for proper motion in past * astrometry, and the undesirability of a discontinuity in * the algorithm, the decision has been made in this routine to * include the effect of differential E-terms on the proper * motions for all stars, whether polar or not. At epoch 2000, * and measuring on the sky rather than in terms of dRA, the * errors resulting from this simplification are less than * 1 milliarcsecond in position and 1 milliarcsecond per * century in proper motion. * * References: * - Smith, C.A. et al, 1989. "The transformation of astrometric * catalog systems to the equinox J2000.0". Astron.J. 97, 265. * - Yallop, B.D. et al, 1989. "Transformation of mean star places * from FK4 B1950.0 to FK5 J2000.0 using matrices in 6-space". * Astron.J. 97, 274. * - Seidelmann, P.K. (ed), 1992. "Explanatory Supplement to * the Astronomical Almanac", ISBN 0-935702-68-7. * Authors: * PTW: Pat Wallace (STFC) * DSB: David Berry (JAC, Hawaii) * {enter_new_authors_here} * History: * 2012-02-13 (DSB): * Initial version with documentation taken from Fortran SLA * Adapted with permission from the Fortran SLALIB library. * {enter_further_changes_here} * Copyright: * Copyright (C) 1995 Rutherford Appleton Laboratory * Copyright (C) 2012 Science and Technology Facilities Council. * All Rights Reserved. * Licence: * This program is free software: you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * License as published by the Free Software Foundation, either * version 3 of the License, or (at your option) any later * version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Lesser General Public License for more details. * * You should have received a copy of the GNU Lesser General * License along with this program. If not, see * . * Bugs: * {note_any_bugs_here} *- */ #include "pal.h" #include "palmac.h" #include "math.h" void palFk524( double r2000, double d2000, double dr2000, double dd2000, double p2000, double v2000, double *r1950, double *d1950, double *dr1950, double *dd1950, double *p1950, double *v1950 ){ /* Local Variables; */ double r, d, ur, ud, px, rv; double sr, cr, sd, cd, x, y, z, w; double v1[ 6 ], v2[ 6 ]; double xd, yd, zd; double rxyz, wd, rxysq, rxy; int i, j; /* Small number to avoid arithmetic problems. */ static const double tiny = 1.0-30; /* Canonical constants (see references). Constant vector and matrix. */ double a[ 6 ] = { -1.62557E-6, -0.31919E-6, -0.13843E-6, +1.245E-3, -1.580E-3, -0.659E-3 }; double emi[ 6 ][ 6 ] = { { 0.9999256795, 0.0111814828, 0.0048590039, -0.00000242389840, -0.00000002710544, -0.00000001177742}, {-0.0111814828, 0.9999374849, -0.0000271771, 0.00000002710544, -0.00000242392702, 0.00000000006585 }, {-0.0048590040, -0.0000271557, 0.9999881946, 0.00000001177742, 0.00000000006585, -0.00000242404995 }, {-0.000551, 0.238509, -0.435614, 0.99990432, 0.01118145, 0.00485852 }, {-0.238560, -0.002667, 0.012254, -0.01118145, 0.99991613, -0.00002717}, { 0.435730, -0.008541, 0.002117, -0.00485852, -0.00002716, 0.99996684 } }; /* Pick up J2000 data (units radians and arcsec/JC). */ r = r2000; d = d2000; ur = dr2000*PAL__PMF; ud = dd2000*PAL__PMF; px = p2000; rv = v2000; /* Spherical to Cartesian. */ sr = sin( r ); cr = cos( r ); sd = sin( d ); cd = cos( d ); x = cr*cd; y = sr*cd; z = sd; w = PAL__VF*rv*px; v1[ 0 ] = x; v1[ 1 ] = y; v1[ 2 ] = z; v1[ 3 ] = -ur*y - cr*sd*ud + w*x; v1[ 4 ] = ur*x - sr*sd*ud + w*y; v1[ 5 ] = cd*ud + w*z; /* Convert position+velocity vector to BN system. */ for( i = 0; i < 6; i++ ) { w = 0.0; for( j = 0; j < 6; j++ ) { w += emi[ i ][ j ]*v1[ j ]; } v2[ i ] = w; } /* Position vector components and magnitude. */ x = v2[ 0 ]; y = v2[ 1 ]; z = v2[ 2 ]; rxyz = sqrt( x*x + y*y + z*z ); /* Apply E-terms to position. */ w = x*a[ 0 ] + y*a[ 1 ] + z*a[ 2 ]; x += a[ 0 ]*rxyz - w*x; y += a[ 1 ]*rxyz - w*y; z += a[ 2 ]*rxyz - w*z; /* Recompute magnitude. */ rxyz = sqrt( x*x + y*y + z*z ); /* Apply E-terms to both position and velocity. */ x = v2[ 0 ]; y = v2[ 1 ]; z = v2[ 2 ]; w = x*a[ 0 ] + y*a[ 1 ] + z*a[ 2 ]; wd = x*a[ 3 ] + y*a[ 4 ] + z*a[ 5 ]; x += a[ 0 ]*rxyz - w*x; y += a[ 1 ]*rxyz - w*y; z += a[ 2 ]*rxyz - w*z; xd = v2[ 3 ] + a[ 3 ]*rxyz - wd*x; yd = v2[ 4 ] + a[ 4 ]*rxyz - wd*y; zd = v2[ 5 ] + a[ 5 ]*rxyz - wd*z; /* Convert to spherical. */ rxysq = x*x + y*y; rxy = sqrt( rxysq ); if( x == 0.0 && y == 0.0 ) { r = 0.0; } else { r = atan2( y, x ); if( r < 0.0 ) r += PAL__D2PI; } d = atan2( z, rxy ); if( rxy > tiny ) { ur = ( x*yd - y*xd )/rxysq; ud = ( zd*rxysq - z*( x*xd + y*yd ) )/( ( rxysq + z*z )*rxy ); } /* Radial velocity and parallax. */ if( px > tiny ) { rv = ( x*xd + y*yd + z*zd )/( px*PAL__VF*rxyz ); px /= rxyz; } /* Return results. */ *r1950 = r; *d1950 = d; *dr1950 = ur/PAL__PMF; *dd1950 = ud/PAL__PMF; *p1950 = px; *v1950 = rv; } pal-0.5.0/palFk54z.c000644 000765 000024 00000007273 12366000611 014146 0ustar00timjstaff000000 000000 /* *+ * Name: * palFk54z * Purpose: * Convert a J2000.0 FK5 star position to B1950.0 FK4 assuming * zero proper motion and parallax. * Language: * Starlink ANSI C * Type of Module: * Library routine * Invocation: * palFk54z( double r2000, double d2000, double bepoch, double *r1950, * double *d1950, double *dr1950, double *dd1950 ) * Arguments: * r2000 = double (Given) * J2000.0 FK5 RA (radians). * d2000 = double (Given) * J2000.0 FK5 Dec (radians). * bepoch = double (Given) * Besselian epoch (e.g. 1950.0). * r1950 = double * (Returned) * B1950 FK4 RA (radians) at epoch "bepoch". * d1950 = double * (Returned) * B1950 FK4 Dec (radians) at epoch "bepoch". * dr1950 = double * (Returned) * B1950 FK4 proper motion (RA) (radians/trop.yr)). * dr1950 = double * (Returned) * B1950 FK4 proper motion (Dec) (radians/trop.yr)). * Description: * This function converts star positions from the IAU 1976, * FK5, Fricke system to the Bessel-Newcomb, FK4 system. * Notes: * - The proper motion in RA is dRA/dt rather than cos(Dec)*dRA/dt. * - Conversion from Julian epoch 2000.0 to Besselian epoch 1950.0 * only is provided for. Conversions involving other epochs will * require use of the appropriate precession functions before and * after this function is called. * - The FK5 proper motions, the parallax and the radial velocity * are presumed zero. * - It is the intention that FK5 should be a close approximation * to an inertial frame, so that distant objects have zero proper * motion; such objects have (in general) non-zero proper motion * in FK4, and this function returns those fictitious proper * motions. * - The position returned by this function is in the B1950 * reference frame but at Besselian epoch BEPOCH. For comparison * with catalogues the "bepoch" argument will frequently be 1950.0. * Authors: * PTW: Pat Wallace (STFC) * DSB: David Berry (JAC, Hawaii) * {enter_new_authors_here} * History: * 2012-02-13 (DSB): * Initial version with documentation taken from Fortran SLA * Adapted with permission from the Fortran SLALIB library. * {enter_further_changes_here} * Copyright: * Copyright (C) 1995 Rutherford Appleton Laboratory * Copyright (C) 2012 Science and Technology Facilities Council. * All Rights Reserved. * Licence: * This program is free software: you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * License as published by the Free Software Foundation, either * version 3 of the License, or (at your option) any later * version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Lesser General Public License for more details. * * You should have received a copy of the GNU Lesser General * License along with this program. If not, see * . * Bugs: * {note_any_bugs_here} *- */ #include "pal.h" #include "pal1sofa.h" void palFk54z( double r2000, double d2000, double bepoch, double *r1950, double *d1950, double *dr1950, double *dd1950 ){ /* Local Variables: */ double r, d, px, rv, y; /* FK5 equinox J2000 (any epoch) to FK4 equinox B1950 epoch B1950. */ palFk524( r2000, d2000, 0.0, 0.0, 0.0, 0.0, &r, &d, dr1950, dd1950, &px, &rv ); /* Fictitious proper motion to epoch "bepoch". */ y = bepoch - 1950.0; *r1950 = r + *dr1950*y; *d1950 = d + *dd1950*y; } pal-0.5.0/palGaleq.c000644 000765 000024 00000006152 12366000611 014267 0ustar00timjstaff000000 000000 /* *+ * Name: * palGaleq * Purpose: * Convert from galactic to J2000.0 equatorial coordinates * Language: * Starlink ANSI C * Type of Module: * Library routine * Invocation: * void palGaleq ( double dl, double db, double *dr, double *dd ); * Arguments: * dl = double (Given) * Galactic longitude (radians). * db = double (Given) * Galactic latitude (radians). * dr = double * (Returned) * J2000.0 RA (radians) * dd = double * (Returned) * J2000.0 Dec (radians) * Description: * Transformation from IAU 1958 galactic coordinates to * J2000.0 equatorial coordinates. * Authors: * PTW: Pat Wallace (STFC) * TIMJ: Tim Jenness (JAC, Hawaii) * {enter_new_authors_here} * Notes: * The equatorial coordinates are J2000.0. Use the routine * palGe50 if conversion to B1950.0 'FK4' coordinates is * required. * See Also: * Blaauw et al, Mon.Not.R.Astron.Soc.,121,123 (1960) * History: * 2012-02-12(TIMJ): * Initial version with documentation taken from Fortran SLA * Adapted with permission from the Fortran SLALIB library. * {enter_further_changes_here} * Copyright: * Copyright (C) 1998 Rutherford Appleton Laboratory * Copyright (C) 2012 Science and Technology Facilities Council. * All Rights Reserved. * Licence: * This program is free software: you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * License as published by the Free Software Foundation, either * version 3 of the License, or (at your option) any later * version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Lesser General Public License for more details. * * You should have received a copy of the GNU Lesser General * License along with this program. If not, see * . * Bugs: * {note_any_bugs_here} *- */ #include "pal.h" #include "pal1sofa.h" void palGaleq ( double dl, double db, double *dr, double *dd ) { double v1[3]; double v2[3]; /* * L2,B2 system of galactic coordinates * * P = 192.25 RA of galactic north pole (mean B1950.0) * Q = 62.6 inclination of galactic to mean B1950.0 equator * R = 33 longitude of ascending node * * P,Q,R are degrees * * Equatorial to galactic rotation matrix (J2000.0), obtained by * applying the standard FK4 to FK5 transformation, for zero proper * motion in FK5, to the columns of the B1950 equatorial to * galactic rotation matrix: */ double rmat[3][3] = { { -0.054875539726,-0.873437108010,-0.483834985808 }, { +0.494109453312,-0.444829589425,+0.746982251810 }, { -0.867666135858,-0.198076386122,+0.455983795705 } }; /* Spherical to Cartesian */ eraS2c( dl, db, v1 ); /* Galactic to equatorial */ eraTrxp( rmat, v1, v2 ); /* Cartesian to spherical */ eraC2s( v2, dr, dd ); /* Express in conventional ranges */ *dr = eraAnp( *dr ); *dd = eraAnpm( *dd ); } pal-0.5.0/palGalsup.c000644 000765 000024 00000006122 12366000611 014466 0ustar00timjstaff000000 000000 /* *+ * Name: * palGalsup * Purpose: * Convert from galactic to supergalactic coordinates * Language: * Starlink ANSI C * Type of Module: * Library routine * Invocation: * void palGalsup ( double dl, double db, double *dsl, double *dsb ); * Arguments: * dl = double (Given) * Galactic longitude. * db = double (Given) * Galactic latitude. * dsl = double * (Returned) * Supergalactic longitude. * dsb = double * (Returned) * Supergalactic latitude. * Description: * Transformation from IAU 1958 galactic coordinates to * de Vaucouleurs supergalactic coordinates. * Authors: * PTW: Pat Wallace (STFC) * TIMJ: Tim Jenness (JAC, Hawaii) * {enter_new_authors_here} * See Also: * - de Vaucouleurs, de Vaucouleurs, & Corwin, Second Reference * Catalogue of Bright Galaxies, U. Texas, page 8. * - Systems & Applied Sciences Corp., Documentation for the * machine-readable version of the above catalogue, * Contract NAS 5-26490. * * (These two references give different values for the galactic * longitude of the supergalactic origin. Both are wrong; the * correct value is L2=137.37.) * History: * 2012-02-12(TIMJ): * Initial version with documentation taken from Fortran SLA * Adapted with permission from the Fortran SLALIB library. * {enter_further_changes_here} * Copyright: * Copyright (C) 1999 Rutherford Appleton Laboratory * Copyright (C) 2012 Science and Technology Facilities Council. * All Rights Reserved. * Licence: * This program is free software: you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * License as published by the Free Software Foundation, either * version 3 of the License, or (at your option) any later * version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Lesser General Public License for more details. * * You should have received a copy of the GNU Lesser General * License along with this program. If not, see * . * Bugs: * {note_any_bugs_here} *- */ #include "pal.h" #include "pal1sofa.h" void palGalsup ( double dl, double db, double *dsl, double *dsb ) { double v1[3]; double v2[3]; /* * System of supergalactic coordinates: * * SGL SGB L2 B2 (deg) * - +90 47.37 +6.32 * 0 0 - 0 * * Galactic to supergalactic rotation matrix: */ double rmat[3][3] = { { -0.735742574804,+0.677261296414,+0.000000000000 }, { -0.074553778365,-0.080991471307,+0.993922590400 }, { +0.673145302109,+0.731271165817,+0.110081262225 } }; /* Spherical to Cartesian */ eraS2c( dl, db, v1 ); /* Galactic to Supergalactic */ eraRxp( rmat, v1, v2 ); /* Cartesian to spherical */ eraC2s( v2, dsl, dsb ); /* Express in conventional ranges */ *dsl = eraAnp( *dsl ); *dsb = eraAnpm( *dsb ); } pal-0.5.0/palGe50.c000644 000765 000024 00000006400 12366000611 013732 0ustar00timjstaff000000 000000 /* *+ * Name: * palGe50 * Purpose: * Transform Galactic Coordinate to B1950 FK4 * Language: * Starlink ANSI C * Type of Module: * Library routine * Invocation: * palGe50( double dl, double db, double *dr, double *dd ); * Arguments: * dl = double (Given) * Galactic longitude (radians) * db = double (Given) * Galactic latitude (radians) * dr = double * (Returned) * B9150.0 FK4 RA. * dd = double * (Returned) * B1950.0 FK4 Dec. * Description: * Transformation from IAU 1958 galactic coordinates to * B1950.0 'FK4' equatorial coordinates. * Authors: * PTW: Patrick T. Wallace * TIMJ: Tim Jenness (JAC, Hawaii) * {enter_new_authors_here} * Notes: * - The equatorial coordinates are B1950.0 'FK4'. Use the routine * palGaleq if conversion to J2000.0 coordinates is required. * See Also: * - Blaauw et al, Mon.Not.R.Astron.Soc.,121,123 (1960) * History: * 2012-03-23 (TIMJ): * Initial version * Adapted with permission from the Fortran SLALIB library. * {enter_further_changes_here} * Copyright: * Copyright (C) 1995 Rutherford Appleton Laboratory * Copyright (C) 2012 Science and Technology Facilities Council. * All Rights Reserved. * Licence: * This program is free software; you can redistribute it and/or * modify it under the terms of the GNU General Public License as * published by the Free Software Foundation; either version 3 of * the License, or (at your option) any later version. * * This program is distributed in the hope that it will be * useful, but WITHOUT ANY WARRANTY; without even the implied * warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR * PURPOSE. See the GNU General Public License for more details. * * You should have received a copy of the GNU General Public License * along with this program; if not, write to the Free Software * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, * MA 02110-1301, USA. * Bugs: * {note_any_bugs_here} *- */ #include "pal.h" #include "pal1sofa.h" void palGe50 ( double dl, double db, double * dr, double * dd ) { /* * L2,B2 system of galactic coordinates * * P = 192.25 RA of galactic north pole (mean B1950.0) * Q = 62.6 inclination of galactic to mean B1950.0 equator * R = 33 longitude of ascending node * * P,Q,R are degrees * * * Equatorial to galactic rotation matrix * * The Euler angles are P, Q, 90-R, about the z then y then * z axes. * * +CP.CQ.SR-SP.CR +SP.CQ.SR+CP.CR -SQ.SR * * -CP.CQ.CR-SP.SR -SP.CQ.CR+CP.SR +SQ.CR * * +CP.SQ +SP.SQ +CQ * */ double rmat[3][3] = { { -0.066988739415,-0.872755765852,-0.483538914632 }, { +0.492728466075,-0.450346958020,+0.744584633283 }, { -0.867600811151,-0.188374601723,+0.460199784784 } }; double v1[3], v2[3], r, d, re, de; /* Spherical to cartesian */ eraS2c( dl, db, v1 ); /* Rotate to mean B1950.0 */ eraTrxp( rmat, v1, v2 ); /* Cartesian to spherical */ eraC2s( v2, &r, &d ); /* Introduce E-terms */ palAddet( r, d, 1950.0, &re, &de ); /* Express in conventional ranges */ *dr = eraAnp( re ); *dd = eraAnpm( de ); } pal-0.5.0/palGeoc.c000644 000765 000024 00000004406 12366000713 014116 0ustar00timjstaff000000 000000 /* *+ * Name: * palGeoc * Purpose: * Convert geodetic position to geocentric * Language: * Starlink ANSI C * Type of Module: * Library routine * Invocation: * void palGeoc( double p, double h, double * r, double *z ); * Arguments: * p = double (Given) * latitude (radians) * h = double (Given) * height above reference spheroid (geodetic, metres) * r = double * (Returned) * distance from Earth axis (AU) * z = double * (Returned) * distance from plane of Earth equator (AU) * Description: * Convert geodetic position to geocentric. * Authors: * PTW: Patrick T. Wallace * TIMJ: Tim Jenness (JAC, Hawaii) * {enter_new_authors_here} * Notes: * - Geocentric latitude can be obtained by evaluating atan2(z,r) * - Uses WGS84 reference ellipsoid and calls eraGd2gc * History: * 2012-03-01 (TIMJ): * Initial version moved from palOne2One * Adapted with permission from the Fortran SLALIB library. * {enter_further_changes_here} * Copyright: * Copyright (C) 2004 Patrick T. Wallace * Copyright (C) 2012 Science and Technology Facilities Council. * All Rights Reserved. * Licence: * This program is free software: you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * License as published by the Free Software Foundation, either * version 3 of the License, or (at your option) any later * version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Lesser General Public License for more details. * * You should have received a copy of the GNU Lesser General * License along with this program. If not, see * . * Bugs: * {note_any_bugs_here} *- */ #include "pal.h" #include "pal1sofa.h" void palGeoc ( double p, double h, double *r, double *z ) { double xyz[3]; const double elong = 0.0; /* Use zero longitude */ const double AU = 1.49597870E11; /* WGS84 looks to be the closest match */ eraGd2gc( ERFA_WGS84, elong, p, h, xyz ); *r = xyz[0] / (AU * cos(elong) ); *z = xyz[2] / AU; } pal-0.5.0/palIntin.c000644 000765 000024 00000011651 12366000607 014324 0ustar00timjstaff000000 000000 /* *+ * Name: * palIntin * Purpose: * Convert free-format input into an integer * Language: * Starlink ANSI C * Type of Module: * Library routine * Invocation: * void palIntin( const char * string, int *nstrt, * long *ireslt, int *jflag ); * Arguments: * string = const char * (Given) * String containing number to be decoded. * nstrt = int * (Given and Returned) * Character number indicating where decoding should start. * On output its value is updated to be the location of the * possible next value. For compatibility with SLA the first * character is index 1. * ireslt = long * (Returned) * Result. Not updated when jflag=1. * jflag = int * (Returned) * status: -1 = -OK, 0 = +OK, 1 = null, 2 = error * Description: * Extracts a number from an input string starting at the specified * index. * Authors: * TIMJ: Tim Jenness (JAC, Hawaii) * {enter_new_authors_here} * Notes: * - Uses the strtol() system call to do the parsing. This may lead to * subtle differences when compared to the SLA/F parsing. * - Commas are recognized as a special case and are skipped if one happens * to be the next character when updating nstrt. Additionally the output * nstrt position will skip past any trailing space. * - If no number can be found flag will be set to 1. * - If the number overflows or underflows jflag will be set to 2. For overflow * the returned result will have the value LONG_MAX, for underflow it * will have the value LONG_MIN. * History: * 2012-03-15 (TIMJ): * Initial version * Matches the SLALIB interface but brand new implementation using * C library calls and not a direct port of the Fortran. * {enter_further_changes_here} * Copyright: * Copyright (C) 2012 Science and Technology Facilities Council. * All Rights Reserved. * Licence: * This program is free software; you can redistribute it and/or * modify it under the terms of the GNU General Public License as * published by the Free Software Foundation; either version 3 of * the License, or (at your option) any later version. * * This program is distributed in the hope that it will be * useful, but WITHOUT ANY WARRANTY; without even the implied * warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR * PURPOSE. See the GNU General Public License for more details. * * You should have received a copy of the GNU General Public License * along with this program; if not, write to the Free Software * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, * MA 02110-1301, USA. * Bugs: * {note_any_bugs_here} *- */ /* Shenanigans for isblank() which is C99 only */ #define _POSIX_C_SOURCE 200112L #define _ISOC99_SOURCE #include #include #include #include "pal.h" void palIntin( const char * string, int *nstrt, long *ireslt, int *jflag ) { const char *strstart = NULL; /* Pointer to start of search */ const char * ctemp = NULL; /* Pointer into string */ char * endptr = NULL;/* Pointer to string after number */ int retval; /* Return value from strtol */ int hasminus; /* is this a -0 */ /* strtol man page indicates that we should reset errno before calling strtod */ errno = 0; /* Locate the start postion */ strstart = &(string[*nstrt-1]); /* We have to be able to deal with -0 so we have to search the string first and look for the negative */ hasminus = 0; ctemp = strstart; while ( ctemp != '\0' ) { if (isdigit(*ctemp)) break; /* Reset so that - 12345 is not a negative number */ hasminus = 0; /* Flag that we have found a minus */ if (*ctemp == '-') hasminus = 1; ctemp++; } /* Look for the number using the system call, offsetting using 1-based counter. */ retval = strtol( strstart, &endptr, 10 ); if (retval == 0.0 && endptr == strstart) { /* conversion did not find anything */ *jflag = 1; /* but SLA compatibility requires that we step through to remove leading spaces. We also step through alphabetic characters since they can never be numbers. Skip past a "+" since it doesn't gain us anything and matches slalib. */ while (isblank(*endptr) || isalpha(*endptr) || *endptr == '+' ) { endptr++; } } else if ( errno == ERANGE ) { *jflag = 2; } else { if ( retval < 0 || hasminus ) { *jflag = -1; } else { *jflag = 0; } } /* Sort out the position for the next index */ *nstrt = endptr - string + 1; /* Skip a comma */ if (*endptr == ',') { (*nstrt)++; } else { /* jump past any leading spaces for the next part of the string */ ctemp = endptr; while ( isblank(*ctemp) ) { (*nstrt)++; ctemp++; } } /* And the result unless we found nothing */ if (*jflag != 1) *ireslt = retval; } pal-0.5.0/palmac.h000644 000765 000024 00000010302 12366000611 013773 0ustar00timjstaff000000 000000 #ifndef PALMACDEF #define PALMACDEF /* *+ * Name: * palmac.h * Purpose: * Macros used by the PAL library * Language: * Starlink ANSI C * Type of Module: * Include file * Description: * A collection of useful macros provided and used by the PAL library * Authors: * TIMJ: Tim Jenness (JAC, Hawaii) * DSB: David Berry (JAC, Hawaii) * {enter_new_authors_here} * Notes: * * History: * 2012-02-08 (TIMJ): * Initial version. * Adapted with permission from the Fortran SLALIB library. * 2012-04-13 (DSB): * Added PAL__DR2H and PAL__DR2S * {enter_further_changes_here} * Copyright: * Copyright (C) 2012 Science and Technology Facilities Council. * All Rights Reserved. * Licence: * This program is free software; you can redistribute it and/or * modify it under the terms of the GNU General Public License as * published by the Free Software Foundation; either version 3 of * the License, or (at your option) any later version. * * This program is distributed in the hope that it will be * useful, but WITHOUT ANY WARRANTY; without even the implied * warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR * PURPOSE. See the GNU General Public License for more details. * * You should have received a copy of the GNU General Public License * along with this program; if not, write to the Free Software * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 * USA. * Bugs: * {note_any_bugs_here} *- */ /* Pi */ static const double PAL__DPI = 3.1415926535897932384626433832795028841971693993751; /* 2Pi */ static const double PAL__D2PI = 6.2831853071795864769252867665590057683943387987502; /* pi/2: 90 degrees in radians */ static const double PAL__DPIBY2 = 1.5707963267948966192313216916397514420985846996876; /* pi/180: degrees to radians */ static const double PAL__DD2R = 0.017453292519943295769236907684886127134428718885417; /* Radians to arcseconds */ static const double PAL__DR2AS = 2.0626480624709635515647335733077861319665970087963e5; /* Arcseconds to radians */ static const double PAL__DAS2R = 4.8481368110953599358991410235794797595635330237270e-6; /* Radians to degrees */ static const double PAL__DR2D = 57.295779513082320876798154814105170332405472466564; /* Hours to radians */ static const double PAL__DH2R = 0.26179938779914943653855361527329190701643078328126; /* Radians to hours */ static const double PAL__DR2H = 3.8197186342054880584532103209403446888270314977709; /* Radians to seconds of time */ static const double PAL__DR2S = 1.3750987083139757010431557155385240879777313391975e4; /* Seconds of time to radians */ static const double PAL__DS2R = 7.272205216643039903848712e-5; /* Start of SLA modified Julian date epoch */ static const double PAL__MJD0 = 2400000.5; /* Light time for 1 AU (sec) */ static const double PAL__CR = 499.004782; /* Seconds per day */ static const double PAL__SPD = 86400.0; /* Km per sec to AU per tropical century = 86400 * 36524.2198782 / 149597870 */ static const double PAL__VF = 21.095; /* Radians per year to arcsec per century. This needs to be a macro since it is an expression including other constants. */ #define PAL__PMF (100.0*60.0*60.0*360.0/PAL__D2PI); /* Mean sidereal rate - the rotational angular velocity of Earth in radians/sec from IERS Conventions (2003). */ static const double PAL__SR = 7.2921150e-5; /* Gaussian gravitational constant (exact) */ static const double PAL__GCON = 0.01720209895; /* DINR(A) - truncate to nearest whole number towards zero (double) */ #define DINT(A) ((A)<0.0?ceil(A):floor(A)) /* DNINT(A) - round to nearest whole number (double) */ #define DNINT(A) ((A)<0.0?ceil((A)-0.5):floor((A)+0.5)) /* DMAX(A,B) - return maximum value - evaluates arguments multiple times */ #define DMAX(A,B) ((A) > (B) ? (A) : (B) ) /* DMIN(A,B) - return minimum value - evaluates arguments multiple times */ #define DMIN(A,B) ((A) < (B) ? (A) : (B) ) /* We actually prefer to use C99 copysign() but we define this here as a backup but it will not detect -0.0 so is not useful for palDfltin. */ /* DSIGN(A,B) - magnitude of A with sign of B (double) */ #define DSIGN(A,B) ((B)<0.0?-fabs(A):fabs(A)) #endif pal-0.5.0/palMap.c000644 000765 000024 00000010227 12366001307 013754 0ustar00timjstaff000000 000000 /* *+ * Name: * palMap * Purpose: * Convert star RA,Dec from mean place to geocentric apparent * Language: * Starlink ANSI C * Type of Module: * Library routine * Invocation: * void palMap( double rm, double dm, double pr, double pd, * double px, double rv, double eq, double date, * double *ra, double *da ); * Arguments: * rm = double (Given) * Mean RA (radians) * dm = double (Given) * Mean declination (radians) * pr = double (Given) * RA proper motion, changes per Julian year (radians) * pd = double (Given) * Dec proper motion, changes per Julian year (radians) * px = double (Given) * Parallax (arcsec) * rv = double (Given) * Radial velocity (km/s, +ve if receding) * eq = double (Given) * Epoch and equinox of star data (Julian) * date = double (Given) * TDB for apparent place (JD-2400000.5) * ra = double * (Returned) * Apparent RA (radians) * dec = double * (Returned) * Apparent dec (radians) * Description: * Convert star RA,Dec from mean place to geocentric apparent. * Authors: * PTW: Patrick T. Wallace * TIMJ: Tim Jenness (JAC, Hawaii) * {enter_new_authors_here} * Notes: * - Calls palMappa and palMapqk * - The reference systems and timescales used are IAU 2006. * - EQ is the Julian epoch specifying both the reference frame and * the epoch of the position - usually 2000. For positions where * the epoch and equinox are different, use the routine palPm to * apply proper motion corrections before using this routine. * * - The distinction between the required TDB and TT is always * negligible. Moreover, for all but the most critical * applications UTC is adequate. * * - The proper motions in RA are dRA/dt rather than cos(Dec)*dRA/dt. * * - This routine may be wasteful for some applications because it * recomputes the Earth position/velocity and the precession- * nutation matrix each time, and because it allows for parallax * and proper motion. Where multiple transformations are to be * carried out for one epoch, a faster method is to call the * palMappa routine once and then either the palMapqk routine * (which includes parallax and proper motion) or palMapqkz (which * assumes zero parallax and proper motion). * * - The accuracy is sub-milliarcsecond, limited by the * precession-nutation model (see palPrenut for details). * * - The accuracy is further limited by the routine palEvp, called * by palMappa, which computes the Earth position and velocity. * See eraEpv00 for details on that calculation. * History: * 2012-03-01 (TIMJ): * Initial version * Adapted with permission from the Fortran SLALIB library. * {enter_further_changes_here} * Copyright: * Copyright (C) 2001 Rutherford Appleton Laboratory * Copyright (C) 2012 Science and Technology Facilities Council. * All Rights Reserved. * Licence: * This program is free software; you can redistribute it and/or * modify it under the terms of the GNU General Public License as * published by the Free Software Foundation; either version 3 of * the License, or (at your option) any later version. * * This program is distributed in the hope that it will be * useful, but WITHOUT ANY WARRANTY; without even the implied * warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR * PURPOSE. See the GNU General Public License for more details. * * You should have received a copy of the GNU General Public License * along with this program; if not, write to the Free Software * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 * USA. * Bugs: * {note_any_bugs_here} *- */ #include "pal.h" void palMap( double rm, double dm, double pr, double pd, double px, double rv, double eq, double date, double *ra, double *da ) { double amprms[21]; /* Star independent parameters */ palMappa( eq, date, amprms ); /* Mean to apparent */ palMapqk( rm, dm, pr, pd, px, rv, amprms, ra, da ); } pal-0.5.0/palMappa.c000644 000765 000024 00000007575 12366000611 014306 0ustar00timjstaff000000 000000 /* *+ * Name: * palMappa * Purpose: * Compute parameters needed by palAmpqk and palMapqk. * Language: * Starlink ANSI C * Type of Module: * Library routine * Invocation: * void palMappa( double eq, double date, double amprms[21] ) * Arguments: * eq = double (Given) * epoch of mean equinox to be used (Julian) * date = double (Given) * TDB (JD-2400000.5) * amprms = double[21] (Returned) * star-independent mean-to-apparent parameters: * - (0) time interval for proper motion (Julian years) * - (1-3) barycentric position of the Earth (AU) * - (4-6) heliocentric direction of the Earth (unit vector) * - (7) (grav rad Sun)*2/(Sun-Earth distance) * - (8-10) abv: barycentric Earth velocity in units of c * - (11) sqrt(1-v**2) where v=modulus(abv) * - (12-20) precession/nutation (3,3) matrix * Description: * Compute star-independent parameters in preparation for * transformations between mean place and geocentric apparent place. * * The parameters produced by this function are required in the * parallax, aberration, and nutation/bias/precession parts of the * mean/apparent transformations. * * The reference systems and timescales used are IAU 2006. * Notes: * - For date, the distinction between the required TDB and TT * is always negligible. Moreover, for all but the most * critical applications UTC is adequate. * - The vector amprms(1-3) is referred to the mean equinox and * equator of epoch eq. * - The parameters amprms produced by this function are used by * palAmpqk, palMapqk and palMapqkz. * Authors: * PTW: Pat Wallace (STFC) * {enter_new_authors_here} * History: * 2012-02-13 (PTW): * Initial version. * Adapted with permission from the Fortran SLALIB library. * {enter_further_changes_here} * Copyright: * Copyright (C) 2003 Rutherford Appleton Laboratory * Copyright (C) 2012 Science and Technology Facilities Council. * All Rights Reserved. * Licence: * This program is free software: you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * License as published by the Free Software Foundation, either * version 3 of the License, or (at your option) any later * version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Lesser General Public License for more details. * * You should have received a copy of the GNU Lesser General * License along with this program. If not, see * . * Bugs: * {note_any_bugs_here} *- */ #include "pal.h" #include "palmac.h" #include "pal1sofa.h" #include void palMappa( double eq, double date, double amprms[21] ){ /* Local constants */ /* Gravitational radius of the Sun x 2 (2*mu/c**2, AU) */ const double GR2 = 2.0 * 9.87063e-9; /* Local Variables; */ int i; double ebd[ 3 ], ehd[ 3 ], eh[ 3 ], e, vn[ 3 ], vm; /* Initialise so that unsused values are returned holding zero */ memset( amprms, 0, 21*sizeof( *amprms ) ); /* Time interval for proper motion correction. */ amprms[ 0 ] = eraEpj( PAL__MJD0, date ) - eq; /* Get Earth barycentric and heliocentric position and velocity. */ palEvp( date, eq, ebd, &rms[ 1 ], ehd, eh ); /* Heliocentric direction of Earth (normalized) and modulus. */ eraPn( eh, &e, &rms[ 4 ] ); /* Light deflection parameter */ amprms[7] = GR2 / e; /* Aberration parameters. */ for( i = 0; i < 3; i++ ) { amprms[ i + 8 ] = ebd[ i ]*PAL__CR; } eraPn( &rms[8], &vm, vn ); amprms[ 11 ] = sqrt( 1.0 - vm*vm ); /* NPB matrix. */ palPrenut( eq, date, (double(*)[ 3 ]) &rms[ 12 ] ); } pal-0.5.0/palMapqk.c000644 000765 000024 00000011151 12366000611 014302 0ustar00timjstaff000000 000000 /* *+ * Name: * palMapqk * Purpose: * Quick mean to apparent place * Language: * Starlink ANSI C * Type of Module: * Library routine * Invocation: * void palMapqk ( double rm, double dm, double pr, double pd, * double px, double rv, double amprms[21], * double *ra, double *da ); * Arguments: * rm = double (Given) * Mean RA (radians) * dm = double (Given) * Mean declination (radians) * pr = double (Given) * RA proper motion, changes per Julian year (radians) * pd = double (Given) * Dec proper motion, changes per Julian year (radians) * px = double (Given) * Parallax (arcsec) * rv = double (Given) * Radial velocity (km/s, +ve if receding) * amprms = double [21] (Given) * Star-independent mean-to-apparent parameters (see palMappa). * ra = double * (Returned) * Apparent RA (radians) * dec = double * (Returned) * Apparent dec (radians) * Description: * Quick mean to apparent place: transform a star RA,Dec from * mean place to geocentric apparent place, given the * star-independent parameters. * * Use of this routine is appropriate when efficiency is important * and where many star positions, all referred to the same equator * and equinox, are to be transformed for one epoch. The * star-independent parameters can be obtained by calling the * palMappa routine. * * If the parallax and proper motions are zero the palMapqkz * routine can be used instead. * Authors: * PTW: Patrick T. Wallace * TIMJ: Tim Jenness (JAC, Hawaii) * {enter_new_authors_here} * Notes: * - The reference frames and timescales used are post IAU 2006. * History: * 2012-03-01 (TIMJ): * Initial version with documentation from SLA/F * Adapted with permission from the Fortran SLALIB library. * {enter_further_changes_here} * Copyright: * Copyright (C) 2000 Rutherford Appleton Laboratory * Copyright (C) 2012 Science and Technology Facilities Council. * All Rights Reserved. * Licence: * This program is free software; you can redistribute it and/or * modify it under the terms of the GNU General Public License as * published by the Free Software Foundation; either version 3 of * the License, or (at your option) any later version. * * This program is distributed in the hope that it will be * useful, but WITHOUT ANY WARRANTY; without even the implied * warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR * PURPOSE. See the GNU General Public License for more details. * * You should have received a copy of the GNU General Public License * along with this program; if not, write to the Free Software * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, * MA 02110-1301, USA. * Bugs: * {note_any_bugs_here} *- */ #include "pal.h" #include "palmac.h" #include "pal1sofa.h" void palMapqk ( double rm, double dm, double pr, double pd, double px, double rv, double amprms[21], double *ra, double *da ) { /* local constants */ const double VF = 0.21094502; /* Km/s to AU/year */ /* Local Variables: */ int i; double ab1, abv[3], p[3], w, p1dv, p2[3], p3[3]; double pmt, gr2e, eb[3], q[3], pxr, em[3]; double pde, pdep1, p1[3], ehn[3], pn[3]; /* Unpack scalar and vector parameters. */ pmt = amprms[0]; gr2e = amprms[7]; ab1 = amprms[11]; for( i = 0; i < 3; i++ ) { eb[i] = amprms[i+1]; ehn[i] = amprms[i+4]; abv[i] = amprms[i+8]; } /* Spherical to x,y,z. */ eraS2c( rm, dm, q); /* Space motion (radians per year) */ pxr = px * PAL__DAS2R; w = VF * rv * pxr; em[0] = -pr * q[1] - pd * cos(rm) * sin(dm) + w * q[0]; em[1] = pr * q[0] - pd * sin(rm) * sin(dm) + w * q[1]; em[2] = pd * cos(dm) + w * q[2]; /* Geocentric direction of star (normalised) */ for( i = 0; i < 3; i++ ) { p[i] = q[i] + pmt * em[i] - pxr * eb[i]; } eraPn( p, &w, pn ); /* Light deflection (restrained within the Sun's disc) */ pde = eraPdp( pn, ehn ); pdep1 = pde + 1.0; w = gr2e / ( pdep1 > 1.0e-5 ? pdep1 : 1.0e-5 ); for( i = 0; i < 3; i++) { p1[i] = pn[i] + w * ( ehn[i] - pde * pn[i] ); } /* Aberration (normalisation omitted). */ p1dv = eraPdp( p, abv ); w = 1.0 + p1dv / ( ab1 + 1.0 ); for( i = 0; i < 3; i++ ) { p2[i] = ( ab1 * p1[i] ) + ( w * abv[i] ); } /* Precession and nutation. */ eraRxp( (double(*)[3]) &rms[12], p2, p3 ); /* Geocentric apparent RA,dec. */ eraC2s( p3, ra, da ); *ra = eraAnp( *ra ); } pal-0.5.0/palMapqkz.c000644 000765 000024 00000007232 12366000611 014501 0ustar00timjstaff000000 000000 /* *+ * Name: * palMapqkz * Purpose: * Quick mean to apparent place. * Language: * Starlink ANSI C * Type of Module: * Library routine * Invocation: * void palMapqkz( double rm, double dm, double amprms[21], * double *ra, double *da ) * Arguments: * rm = double (Given) * Mean RA (radians). * dm = double (Given) * Mean Dec (radians). * amprms = double[21] (Given) * Star-independent mean-to-apparent parameters (see palMappa): * (0-3) not used * (4-6) not used * (7) not used * (8-10) abv: barycentric Earth velocity in units of c * (11) sqrt(1-v**2) where v=modulus(abv) * (12-20) precession/nutation (3,3) matrix * ra = double * (Returned) * Apparent RA (radians). * da = double * (Returned) * Apparent Dec (radians). * Description: * Quick mean to apparent place: transform a star RA,dec from * mean place to geocentric apparent place, given the * star-independent parameters, and assuming zero parallax * and proper motion. * * Use of this function is appropriate when efficiency is important * and where many star positions, all with parallax and proper * motion either zero or already allowed for, and all referred to * the same equator and equinox, are to be transformed for one * epoch. The star-independent parameters can be obtained by * calling the palMappa function. * * The corresponding function for the case of non-zero parallax * and proper motion is palMapqk. * * The reference systems and timescales used are IAU 2006. * * Strictly speaking, the function is not valid for solar-system * sources, though the error will usually be extremely small. * Authors: * PTW: Pat Wallace (STFC) * {enter_new_authors_here} * History: * 2012-02-13 (PTW): * Initial version. * Adapted with permission from the Fortran SLALIB library. * {enter_further_changes_here} * Copyright: * Copyright (C) 1999 Rutherford Appleton Laboratory * Copyright (C) 2012 Science and Technology Facilities Council. * All Rights Reserved. * Licence: * This program is free software: you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * License as published by the Free Software Foundation, either * version 3 of the License, or (at your option) any later * version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Lesser General Public License for more details. * * You should have received a copy of the GNU Lesser General * License along with this program. If not, see * . * Bugs: * {note_any_bugs_here} *- */ #include "pal.h" #include "pal1sofa.h" void palMapqkz ( double rm, double dm, double amprms[21], double *ra, double *da ){ /* Local Variables: */ int i; double ab1, abv[3], p[3], w, p1dv, p1dvp1, p2[3], p3[3]; /* Unpack scalar and vector parameters. */ ab1 = amprms[11]; for( i = 0; i < 3; i++ ) { abv[i] = amprms[i+8]; } /* Spherical to x,y,z. */ eraS2c( rm, dm, p ); /* Aberration. */ p1dv = eraPdp( p, abv ); p1dvp1 = p1dv + 1.0; w = 1.0 + p1dv / ( ab1 + 1.0 ); for( i = 0; i < 3; i++ ) { p2[i] = ( ( ab1 * p[i] ) + ( w * abv[i] ) ) / p1dvp1; } /* Precession and nutation. */ eraRxp( (double(*)[3]) &rms[12], p2, p3 ); /* Geocentric apparent RA,dec. */ eraC2s( p3, ra, da ); *ra = eraAnp( *ra ); } pal-0.5.0/palNut.c000644 000765 000024 00000004561 12366000611 014006 0ustar00timjstaff000000 000000 /* *+ * Name: * palNut * Purpose: * Form the matrix of nutation * Language: * Starlink ANSI C * Type of Module: * Library routine * Invocation: * void palNut( double date, double rmatn[3][3] ); * Arguments: * date = double (Given) * TT as modified Julian date (JD-2400000.5) * rmatn = double [3][3] (Returned) * Nutation matrix in the sense v(true)=rmatn * v(mean) * where v(true) is the star vector relative to the * true equator and equinox of date and v(mean) is the * star vector relative to the mean equator and equinox * of date. * Description: * Form the matrix of nutation for a given date using * the IAU 2006 nutation model and palDeuler. * Authors: * PTW: Patrick T. Wallace * TIMJ: Tim Jenness (JAC, Hawaii) * {enter_new_authors_here} * Notes: * - Uses eraNut06a via palNutc * - The distinction between TDB and TT is negligible. For all but * the most critical applications UTC is adequate. * History: * 2012-03-07 (TIMJ): * Initial version * Adapted with permission from the Fortran SLALIB library. * {enter_further_changes_here} * Copyright: * Copyright (C) 2005 Patrick T. Wallace * Copyright (C) 2012 Science and Technology Facilities Council. * All Rights Reserved. * Licence: * This program is free software; you can redistribute it and/or * modify it under the terms of the GNU General Public License as * published by the Free Software Foundation; either version 3 of * the License, or (at your option) any later version. * * This program is distributed in the hope that it will be * useful, but WITHOUT ANY WARRANTY; without even the implied * warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR * PURPOSE. See the GNU General Public License for more details. * * You should have received a copy of the GNU General Public License * along with this program; if not, write to the Free Software * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, * MA 02110-1301, USA. * Bugs: * {note_any_bugs_here} *- */ #include void palNut( double date, double rmatn[3][3]) { double dpsi, deps, eps0; /* Nutation component and mean obliquity */ palNutc( date, &dpsi, &deps, &eps0 ); /* Rotation matrix */ palDeuler( "XZX", eps0, -dpsi, -(eps0+deps), rmatn ); } pal-0.5.0/palNutc.c000644 000765 000024 00000004326 12366001330 014147 0ustar00timjstaff000000 000000 /* *+ * Name: * palNutc * Purpose: * Calculate nutation longitude & obliquoty components * Language: * Starlink ANSI C * Type of Module: * Library routine * Invocation: * void palNutc( double date, double * dpsi, double *deps, double *eps0 ); * Arguments: * date = double (Given) * TT as modified Julian date (JD-2400000.5) * dpsi = double * (Returned) * Nutation in longitude * deps = double * (Returned) * Nutation in obliquity * eps0 = double * (Returned) * Mean obliquity. * Description: * Calculates the longitude * obliquity components and mean obliquity * using the SOFA library. * Authors: * TIMJ: Tim Jenness (JAC, Hawaii) * {enter_new_authors_here} * Notes: * - Calls eraObl06 and eraNut06a and therefore uses the IAU 206 * precession/nutation model. * - Note the change from SLA/F regarding the date. TT is used * rather than TDB. * History: * 2012-03-05 (TIMJ): * Initial version * Adapted with permission from the Fortran SLALIB library. * {enter_further_changes_here} * Copyright: * Copyright (C) 2012 Science and Technology Facilities Council. * All Rights Reserved. * Licence: * This program is free software; you can redistribute it and/or * modify it under the terms of the GNU General Public License as * published by the Free Software Foundation; either version 3 of * the License, or (at your option) any later version. * * This program is distributed in the hope that it will be * useful, but WITHOUT ANY WARRANTY; without even the implied * warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR * PURPOSE. See the GNU General Public License for more details. * * You should have received a copy of the GNU General Public License * along with this program; if not, write to the Free Software * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, * MA 02110-1301, USA. * Bugs: * {note_any_bugs_here} *- */ #include "pal.h" #include "palmac.h" #include "pal1sofa.h" void palNutc( double date, double * dpsi, double *deps, double *eps0 ) { eraNut06a( PAL__MJD0, date, dpsi, deps ); *eps0 = eraObl06( PAL__MJD0, date ); } pal-0.5.0/palOap.c000644 000765 000024 00000023463 12366000607 013766 0ustar00timjstaff000000 000000 /* *+ * Name: * palOap * Purpose: * Observed to apparent place * Language: * Starlink ANSI C * Type of Module: * Library routine * Invocation: * void palOap ( const char *type, double ob1, double ob2, double date, * double dut, double elongm, double phim, double hm, * double xp, double yp, double tdk, double pmb, * double rh, double wl, double tlr, * double *rap, double *dap ); * Arguments: * type = const char * (Given) * Type of coordinates - 'R', 'H' or 'A' (see below) * ob1 = double (Given) * Observed Az, HA or RA (radians; Az is N=0;E=90) * ob2 = double (Given) * Observed ZD or Dec (radians) * date = double (Given) * UTC date/time (Modified Julian Date, JD-2400000.5) * dut = double (Given) * delta UT: UT1-UTC (UTC seconds) * elongm = double (Given) * Mean longitude of the observer (radians, east +ve) * phim = double (Given) * Mean geodetic latitude of the observer (radians) * hm = double (Given) * Observer's height above sea level (metres) * xp = double (Given) * Polar motion x-coordinates (radians) * yp = double (Given) * Polar motion y-coordinates (radians) * tdk = double (Given) * Local ambient temperature (K; std=273.15) * pmb = double (Given) * Local atmospheric pressure (mb; std=1013.25) * rh = double (Given) * Local relative humidity (in the range 0.0-1.0) * wl = double (Given) * Effective wavelength (micron, e.g. 0.55) * tlr = double (Given) * Tropospheric laps rate (K/metre, e.g. 0.0065) * rap = double * (Given) * Geocentric apparent right ascension * dap = double * (Given) * Geocentric apparent declination * Description: * Observed to apparent place. * Authors: * PTW: Patrick T. Wallace * TIMJ: Tim Jenness (JAC, Hawaii) * {enter_new_authors_here} * Notes: * - Only the first character of the TYPE argument is significant. * 'R' or 'r' indicates that OBS1 and OBS2 are the observed right * ascension and declination; 'H' or 'h' indicates that they are * hour angle (west +ve) and declination; anything else ('A' or * 'a' is recommended) indicates that OBS1 and OBS2 are azimuth * (north zero, east 90 deg) and zenith distance. (Zenith * distance is used rather than elevation in order to reflect the * fact that no allowance is made for depression of the horizon.) * * - The accuracy of the result is limited by the corrections for * refraction. Providing the meteorological parameters are * known accurately and there are no gross local effects, the * predicted apparent RA,Dec should be within about 0.1 arcsec * for a zenith distance of less than 70 degrees. Even at a * topocentric zenith distance of 90 degrees, the accuracy in * elevation should be better than 1 arcmin; useful results * are available for a further 3 degrees, beyond which the * palRefro routine returns a fixed value of the refraction. * The complementary routines palAop (or palAopqk) and palOap * (or palOapqk) are self-consistent to better than 1 micro- * arcsecond all over the celestial sphere. * * - It is advisable to take great care with units, as even * unlikely values of the input parameters are accepted and * processed in accordance with the models used. * * - "Observed" Az,El means the position that would be seen by a * perfect theodolite located at the observer. This is * related to the observed HA,Dec via the standard rotation, using * the geodetic latitude (corrected for polar motion), while the * observed HA and RA are related simply through the local * apparent ST. "Observed" RA,Dec or HA,Dec thus means the * position that would be seen by a perfect equatorial located * at the observer and with its polar axis aligned to the * Earth's axis of rotation (n.b. not to the refracted pole). * By removing from the observed place the effects of * atmospheric refraction and diurnal aberration, the * geocentric apparent RA,Dec is obtained. * * - Frequently, mean rather than apparent RA,Dec will be required, * in which case further transformations will be necessary. The * palAmp etc routines will convert the apparent RA,Dec produced * by the present routine into an "FK5" (J2000) mean place, by * allowing for the Sun's gravitational lens effect, annual * aberration, nutation and precession. Should "FK4" (1950) * coordinates be needed, the routines palFk524 etc will also * need to be applied. * * - To convert to apparent RA,Dec the coordinates read from a * real telescope, corrections would have to be applied for * encoder zero points, gear and encoder errors, tube flexure, * the position of the rotator axis and the pointing axis * relative to it, non-perpendicularity between the mounting * axes, and finally for the tilt of the azimuth or polar axis * of the mounting (with appropriate corrections for mount * flexures). Some telescopes would, of course, exhibit other * properties which would need to be accounted for at the * appropriate point in the sequence. * * - This routine takes time to execute, due mainly to the rigorous * integration used to evaluate the refraction. For processing * multiple stars for one location and time, call palAoppa once * followed by one call per star to palOapqk. Where a range of * times within a limited period of a few hours is involved, and the * highest precision is not required, call palAoppa once, followed * by a call to palAoppat each time the time changes, followed by * one call per star to palOapqk. * * - The DATE argument is UTC expressed as an MJD. This is, strictly * speaking, wrong, because of leap seconds. However, as long as * the delta UT and the UTC are consistent there are no * difficulties, except during a leap second. In this case, the * start of the 61st second of the final minute should begin a new * MJD day and the old pre-leap delta UT should continue to be used. * As the 61st second completes, the MJD should revert to the start * of the day as, simultaneously, the delta UTC changes by one * second to its post-leap new value. * * - The delta UT (UT1-UTC) is tabulated in IERS circulars and * elsewhere. It increases by exactly one second at the end of * each UTC leap second, introduced in order to keep delta UT * within +/- 0.9 seconds. * * - IMPORTANT -- TAKE CARE WITH THE LONGITUDE SIGN CONVENTION. * The longitude required by the present routine is east-positive, * in accordance with geographical convention (and right-handed). * In particular, note that the longitudes returned by the * palOBS routine are west-positive, following astronomical * usage, and must be reversed in sign before use in the present * routine. * * - The polar coordinates XP,YP can be obtained from IERS * circulars and equivalent publications. The maximum amplitude * is about 0.3 arcseconds. If XP,YP values are unavailable, * use XP=YP=0D0. See page B60 of the 1988 Astronomical Almanac * for a definition of the two angles. * * - The height above sea level of the observing station, HM, * can be obtained from the Astronomical Almanac (Section J * in the 1988 edition), or via the routine palOBS. If P, * the pressure in millibars, is available, an adequate * estimate of HM can be obtained from the expression * * HM ~ -29.3*TSL*LOG(P/1013.25). * * where TSL is the approximate sea-level air temperature in K * (see Astrophysical Quantities, C.W.Allen, 3rd edition, * section 52). Similarly, if the pressure P is not known, * it can be estimated from the height of the observing * station, HM, as follows: * * P ~ 1013.25*EXP(-HM/(29.3*TSL)). * * Note, however, that the refraction is nearly proportional to the * pressure and that an accurate P value is important for precise * work. * * - The azimuths etc. used by the present routine are with respect * to the celestial pole. Corrections from the terrestrial pole * can be computed using palPolmo. * History: * 2012-08-27 (TIMJ): * Initial version, copied from Fortran SLA * Adapted with permission from the Fortran SLALIB library. * {enter_further_changes_here} * Copyright: * Copyright (C) 2005 Patrick T. Wallace * Copyright (C) 2012 Science and Technology Facilities Council. * All Rights Reserved. * Licence: * This program is free software; you can redistribute it and/or * modify it under the terms of the GNU General Public License as * published by the Free Software Foundation; either version 3 of * the License, or (at your option) any later version. * * This program is distributed in the hope that it will be * useful, but WITHOUT ANY WARRANTY; without even the implied * warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR * PURPOSE. See the GNU General Public License for more details. * * You should have received a copy of the GNU General Public License * along with this program; if not, write to the Free Software * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, * MA 02110-1301, USA. * Bugs: * {note_any_bugs_here} *- */ #include "pal.h" void palOap ( const char *type, double ob1, double ob2, double date, double dut, double elongm, double phim, double hm, double xp, double yp, double tdk, double pmb, double rh, double wl, double tlr, double *rap, double *dap ) { double aoprms[14]; palAoppa(date,dut,elongm,phim,hm,xp,yp,tdk,pmb,rh,wl,tlr, aoprms); palOapqk(type,ob1,ob2,aoprms,rap,dap); } pal-0.5.0/palOapqk.c000644 000765 000024 00000020565 12366000607 014322 0ustar00timjstaff000000 000000 /* *+ * Name: * palOapqk * Purpose: * Quick observed to apparent place * Language: * Starlink ANSI C * Type of Module: * Library routine * Invocation: * void palOapqk ( const char *type, double ob1, double ob2, * const double aoprms[14], double *rap, double *dap ); * Arguments: * Quick observed to apparent place. * Description: * type = const char * (Given) * Type of coordinates - 'R', 'H' or 'A' (see below) * ob1 = double (Given) * Observed Az, HA or RA (radians; Az is N=0;E=90) * ob2 = double (Given) * Observed ZD or Dec (radians) * aoprms = const double [14] (Given) * Star-independent apparent-to-observed parameters. * See palAopqk for details. * rap = double * (Given) * Geocentric apparent right ascension * dap = double * (Given) * Geocentric apparent declination * Authors: * PTW: Patrick T. Wallace * TIMJ: Tim Jenness (JAC, Hawaii) * {enter_new_authors_here} * Notes: * - Only the first character of the TYPE argument is significant. * 'R' or 'r' indicates that OBS1 and OBS2 are the observed right * ascension and declination; 'H' or 'h' indicates that they are * hour angle (west +ve) and declination; anything else ('A' or * 'a' is recommended) indicates that OBS1 and OBS2 are azimuth * (north zero, east 90 deg) and zenith distance. (Zenith distance * is used rather than elevation in order to reflect the fact that * no allowance is made for depression of the horizon.) * * - The accuracy of the result is limited by the corrections for * refraction. Providing the meteorological parameters are * known accurately and there are no gross local effects, the * predicted apparent RA,Dec should be within about 0.1 arcsec * for a zenith distance of less than 70 degrees. Even at a * topocentric zenith distance of 90 degrees, the accuracy in * elevation should be better than 1 arcmin; useful results * are available for a further 3 degrees, beyond which the * palREFRO routine returns a fixed value of the refraction. * The complementary routines palAop (or palAopqk) and palOap * (or palOapqk) are self-consistent to better than 1 micro- * arcsecond all over the celestial sphere. * * - It is advisable to take great care with units, as even * unlikely values of the input parameters are accepted and * processed in accordance with the models used. * * - "Observed" Az,El means the position that would be seen by a * perfect theodolite located at the observer. This is * related to the observed HA,Dec via the standard rotation, using * the geodetic latitude (corrected for polar motion), while the * observed HA and RA are related simply through the local * apparent ST. "Observed" RA,Dec or HA,Dec thus means the * position that would be seen by a perfect equatorial located * at the observer and with its polar axis aligned to the * Earth's axis of rotation (n.b. not to the refracted pole). * By removing from the observed place the effects of * atmospheric refraction and diurnal aberration, the * geocentric apparent RA,Dec is obtained. * * - Frequently, mean rather than apparent RA,Dec will be required, * in which case further transformations will be necessary. The * palAmp etc routines will convert the apparent RA,Dec produced * by the present routine into an "FK5" (J2000) mean place, by * allowing for the Sun's gravitational lens effect, annual * aberration, nutation and precession. Should "FK4" (1950) * coordinates be needed, the routines palFk524 etc will also * need to be applied. * * - To convert to apparent RA,Dec the coordinates read from a * real telescope, corrections would have to be applied for * encoder zero points, gear and encoder errors, tube flexure, * the position of the rotator axis and the pointing axis * relative to it, non-perpendicularity between the mounting * axes, and finally for the tilt of the azimuth or polar axis * of the mounting (with appropriate corrections for mount * flexures). Some telescopes would, of course, exhibit other * properties which would need to be accounted for at the * appropriate point in the sequence. * * - The star-independent apparent-to-observed-place parameters * in AOPRMS may be computed by means of the palAoppa routine. * If nothing has changed significantly except the time, the * palAoppat routine may be used to perform the requisite * partial recomputation of AOPRMS. * * - The azimuths etc used by the present routine are with respect * to the celestial pole. Corrections from the terrestrial pole * can be computed using palPolmo. * History: * 2012-08-27 (TIMJ): * Initial version, direct copy of Fortran SLA * Adapted with permission from the Fortran SLALIB library. * {enter_further_changes_here} * Copyright: * Copyright (C) 2004 Patrick T. Wallace * Copyright (C) 2012 Science and Technology Facilities Council. * All Rights Reserved. * Licence: * This program is free software; you can redistribute it and/or * modify it under the terms of the GNU General Public License as * published by the Free Software Foundation; either version 3 of * the License, or (at your option) any later version. * * This program is distributed in the hope that it will be * useful, but WITHOUT ANY WARRANTY; without even the implied * warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR * PURPOSE. See the GNU General Public License for more details. * * You should have received a copy of the GNU General Public License * along with this program; if not, write to the Free Software * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, * MA 02110-1301, USA. * Bugs: * {note_any_bugs_here} *- */ #include #include "pal.h" #include "palmac.h" void palOapqk ( const char *type, double ob1, double ob2, const double aoprms[14], double *rap, double *dap ) { /* breakpoint for fast/slow refraction algorithm: * zd greater than arctan(4), (see sla_refco routine) * or vector z less than cosine(arctan(z)) = 1/sqrt(17) */ const double zbreak = 0.242535625; char c; double c1,c2,sphi,cphi,st,ce,xaeo,yaeo,zaeo,v[3], xmhdo,ymhdo,zmhdo,az,sz,zdo,tz,dref,zdt, xaet,yaet,zaet,xmhda,ymhda,zmhda,diurab,f,hma; /* coordinate type */ c = type[0]; /* coordinates */ c1 = ob1; c2 = ob2; /* sin, cos of latitude */ sphi = aoprms[1]; cphi = aoprms[2]; /* local apparent sidereal time */ st = aoprms[13]; /* standardise coordinate type */ if (c == 'r' || c == 'R') { c = 'r'; } else if (c == 'h' || c == 'H') { c = 'h'; } else { c = 'a'; } /* if az,zd convert to cartesian (s=0,e=90) */ if (c == 'a') { ce = sin(c2); xaeo = -cos(c1)*ce; yaeo = sin(c1)*ce; zaeo = cos(c2); } else { /* if ra,dec convert to ha,dec */ if (c == 'r') { c1 = st-c1; } /* to cartesian -ha,dec */ palDcs2c( -c1, c2, v ); xmhdo = v[0]; ymhdo = v[1]; zmhdo = v[2]; /* to cartesian az,el (s=0,e=90) */ xaeo = sphi*xmhdo-cphi*zmhdo; yaeo = ymhdo; zaeo = cphi*xmhdo+sphi*zmhdo; } /* azimuth (s=0,e=90) */ if (xaeo != 0.0 || yaeo != 0.0) { az = atan2(yaeo,xaeo); } else { az = 0.0; } /* sine of observed zd, and observed zd */ sz = sqrt(xaeo*xaeo+yaeo*yaeo); zdo = atan2(sz,zaeo); /* * refraction * ---------- */ /* large zenith distance? */ if (zaeo >= zbreak) { /* fast algorithm using two constant model */ tz = sz/zaeo; dref = (aoprms[10]+aoprms[11]*tz*tz)*tz; } else { /* rigorous algorithm for large zd */ palRefro(zdo,aoprms[4],aoprms[5],aoprms[6],aoprms[7], aoprms[8],aoprms[0],aoprms[9],1e-8,&dref); } zdt = zdo+dref; /* to cartesian az,zd */ ce = sin(zdt); xaet = cos(az)*ce; yaet = sin(az)*ce; zaet = cos(zdt); /* cartesian az,zd to cartesian -ha,dec */ xmhda = sphi*xaet+cphi*zaet; ymhda = yaet; zmhda = -cphi*xaet+sphi*zaet; /* diurnal aberration */ diurab = -aoprms[3]; f = (1.0-diurab*ymhda); v[0] = f*xmhda; v[1] = f*(ymhda+diurab); v[2] = f*zmhda; /* to spherical -ha,dec */ palDcc2s(v,&hma,dap); /* Right Ascension */ *rap = palDranrm(st+hma); } pal-0.5.0/palObs.c000644 000765 000024 00000061654 12366003553 014001 0ustar00timjstaff000000 000000 /* *+ * Name: * palObs * Purpose: * Parameters of selected ground-based observing stations * Language: * Starlink ANSI C * Type of Module: * Library routine * Invocation: * int palObs( size_t n, const char * c, * char * ident, size_t identlen, * char * name, size_t namelen, * double * w, double * p, double * h ); * Arguments: * n = size_t (Given) * Number specifying the observing station. If 0 * the identifier in "c" is used to determine the * observing station to use. * c = const char * (Given) * Identifier specifying the observing station for * which the parameters should be returned. Only used * if n is 0. Can be NULL for n>0. Case insensitive. * ident = char * (Returned) * Identifier of the observing station selected. Will be * identical to "c" if n==0. Unchanged if "n" or "c" * do not match an observing station. Should be at least * 11 characters (including the trailing nul). * identlen = size_t (Given) * Size of the buffer "ident" including trailing nul. * name = char * (Returned) * Full name of the specified observing station. Contains "?" * if "n" or "c" did not correspond to a valid station. Should * be at least 41 characters (including the trailing nul). * w = double * (Returned) * Longitude (radians, West +ve). Unchanged if observing * station could not be identified. * p = double * (Returned) * Geodetic latitude (radians, North +ve). Unchanged if observing * station could not be identified. * h = double * (Returned) * Height above sea level (metres). Unchanged if observing * station could not be identified. * Returned Value: * palObs = int * 0 if an observing station was returned. -1 if no match was * found. * Description: * Station numbers, identifiers, names and other details are * subject to change and should not be hardwired into * application programs. * * All characters in "c" up to the first space are * checked; thus an abbreviated ID will return the parameters * for the first station in the list which matches the * abbreviation supplied, and no station in the list will ever * contain embedded spaces. "c" must not have leading spaces. * * IMPORTANT -- BEWARE OF THE LONGITUDE SIGN CONVENTION. The * longitude returned by sla_OBS is west-positive in accordance * with astronomical usage. However, this sign convention is * left-handed and is the opposite of the one used by geographers; * elsewhere in PAL the preferable east-positive convention is * used. In particular, note that for use in palAop, palAoppa * and palOap the sign of the longitude must be reversed. * * Users are urged to inform the author of any improvements * they would like to see made. For example: * * typographical corrections * more accurate parameters * better station identifiers or names * additional stations * Authors: * PTW: Patrick T. Wallace * TIMJ: Tim Jenness (JAC, Hawaii) * {enter_new_authors_here} * Notes: * - Differs from the SLA interface in that the output short name * is not the same variable as the input short name. This simplifies * consting. Additionally the size of the output buffers are now * specified in the API and a status integer is returned. * History: * 2012-03-06 (TIMJ): * Initial version containing entries from SLA/F as of 15 March 2002 * with a 2008 tweak to the JCMT GPS position. * Adapted with permission from the Fortran SLALIB library. * 2014-04-08 (TIMJ): * Add APEX and NANTEN2 * {enter_further_changes_here} * Copyright: * Copyright (C) 2002 Rutherford Appleton Laboratory * Copyright (C) 2012 Science and Technology Facilities Council. * Copyright (C) 2014 Cornell University. * All Rights Reserved. * Licence: * This program is free software; you can redistribute it and/or * modify it under the terms of the GNU General Public License as * published by the Free Software Foundation; either version 3 of * the License, or (at your option) any later version. * * This program is distributed in the hope that it will be * useful, but WITHOUT ANY WARRANTY; without even the implied * warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR * PURPOSE. See the GNU General Public License for more details. * * You should have received a copy of the GNU General Public License * along with this program; if not, write to the Free Software * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, * MA 02110-1301, USA. * Bugs: * {note_any_bugs_here} *- */ #if HAVE_CONFIG_H # include #endif #include /* We prefer to use the starutil package. */ #if HAVE_STAR_UTIL_H #include "star/util.h" #else /* This version is just a straight copy without putting ellipsis on the end. */ static void star__strellcpy( char * dest, const char * src, size_t size ) { # if HAVE_STRLCPY strlcpy( dest, src, size ); # else strncpy( dest, src, size ); dest[size-1] = '\0'; # endif } #define star_strellcpy(dest, src, size) star__strellcpy(dest, src, size) #endif #include "pal.h" #include "palmac.h" /* Helper macros to convert degrees to radians in longitude and latitude */ #define WEST(ID,IAM,AS) PAL__DAS2R*((60.0*(60.0*(double)ID+(double)IAM))+(double)AS) #define NORTH(ID,IAM,AS) WEST(ID,IAM,AS) #define EAST(ID,IAM,AS) -1.0*WEST(ID,IAM,AS) #define SOUTH(ID,IAM,AS) -1.0*WEST(ID,IAM,AS) struct telData { double w; double p; double h; char shortname[11]; char longname[41]; }; int palObs( size_t n, const char * c, char * ident, size_t identlen, char * name, size_t namelen, double * w, double * p, double * h ) { const struct telData telData[] = { /* AAT (Observer's Guide) AAT */ { EAST(149,3,57.91), SOUTH(31,16,37.34), 1164E0, "AAT", "Anglo-Australian 3.9m Telescope" }, /* WHT (Gemini, April 1987) LPO4.2 */ { WEST(17,52,53.9), NORTH(28,45,38.1), 2332E0, "LPO4.2", "William Herschel 4.2m Telescope" }, /* INT (Gemini, April 1987) LPO2.5 */ { WEST(17,52,39.5), NORTH(28,45,43.2), 2336E0, "LPO2.5", "Isaac Newton 2.5m Telescope" }, /* JKT (Gemini, April 1987) LPO1 */ { WEST(17,52,41.2), NORTH(28,45,39.9), 2364E0, "LPO1", "Jacobus Kapteyn 1m Telescope" }, /* Lick 120" (S.L.Allen, private communication, 2002) LICK120 */ { WEST(121,38,13.689), NORTH(37,20,34.931), 1286E0, "LICK120", "Lick 120 inch" }, /* MMT 6.5m conversion (MMT Observatory website) MMT */ { WEST(110,53,4.4), NORTH(31,41,19.6), 2608E0, "MMT", "MMT 6.5m, Mt Hopkins" }, /* Victoria B.C. 1.85m (1984 Almanac) DAO72 */ { WEST(123,25,1.18), NORTH(48,31,11.9), 238E0, "DAO72", "DAO Victoria BC 1.85 metre" }, /* Las Campanas (1983 Almanac) DUPONT */ { WEST(70,42,9.), SOUTH(29,0,11.), 2280E0, "DUPONT", "Du Pont 2.5m Telescope, Las Campanas" }, /* Mt Hopkins 1.5m (1983 Almanac) MTHOP1.5 */ { WEST(110,52,39.00), NORTH(31,40,51.4), 2344E0, "MTHOP1.5", "Mt Hopkins 1.5 metre" }, /* Mt Stromlo 74" (1983 Almanac) STROMLO74 */ { EAST(149,0,27.59), SOUTH(35,19,14.3), 767E0, "STROMLO74", "Mount Stromlo 74 inch" }, /* ANU 2.3m, SSO (Gary Hovey) ANU2.3 */ { EAST(149,3,40.3), SOUTH(31,16,24.1), 1149E0, "ANU2.3", "Siding Spring 2.3 metre" }, /* Greenbank 140' (1983 Almanac) GBVA140 */ { WEST(79,50,9.61), NORTH(38,26,15.4), 881E0, "GBVA140", "Greenbank 140 foot" }, /* Cerro Tololo 4m (1982 Almanac) TOLOLO4M */ { WEST(70,48,53.6), SOUTH(30,9,57.8), 2235E0, "TOLOLO4M", "Cerro Tololo 4 metre" }, /* Cerro Tololo 1.5m (1982 Almanac) TOLOLO1.5M */ { WEST(70,48,54.5), SOUTH(30,9,56.3), 2225E0, "TOLOLO1.5M", "Cerro Tololo 1.5 metre" }, /* Tidbinbilla 64m (1982 Almanac) TIDBINBLA */ { EAST(148,58,48.20), SOUTH(35,24,14.3), 670E0, "TIDBINBLA", "Tidbinbilla 64 metre" }, /* Bloemfontein 1.52m (1981 Almanac) BLOEMF */ { EAST(26,24,18.), SOUTH(29,2,18.), 1387E0, "BLOEMF", "Bloemfontein 1.52 metre" }, /* Bosque Alegre 1.54m (1981 Almanac) BOSQALEGRE */ { WEST(64,32,48.0), SOUTH(31,35,53.), 1250E0, "BOSQALEGRE", "Bosque Alegre 1.54 metre" }, /* USNO 61" astrographic reflector, Flagstaff (1981 Almanac) FLAGSTF61 */ { WEST(111,44,23.6), NORTH(35,11,2.5), 2316E0, "FLAGSTF61", "USNO 61 inch astrograph, Flagstaff" }, /* Lowell 72" (1981 Almanac) LOWELL72 */ { WEST(111,32,9.3), NORTH(35,5,48.6), 2198E0, "LOWELL72", "Perkins 72 inch, Lowell" }, /* Harvard 1.55m (1981 Almanac) HARVARD */ { WEST(71,33,29.32), NORTH(42,30,19.0), 185E0, "HARVARD", "Harvard College Observatory 1.55m" }, /* Okayama 1.88m (1981 Almanac) OKAYAMA */ { EAST(133,35,47.29), NORTH(34,34,26.1), 372E0, "OKAYAMA", "Okayama 1.88 metre" }, /* Kitt Peak Mayall 4m (1981 Almanac) KPNO158 */ { WEST(111,35,57.61), NORTH(31,57,50.3), 2120E0, "KPNO158", "Kitt Peak 158 inch" }, /* Kitt Peak 90 inch (1981 Almanac) KPNO90 */ { WEST(111,35,58.24), NORTH(31,57,46.9), 2071E0, "KPNO90", "Kitt Peak 90 inch" }, /* Kitt Peak 84 inch (1981 Almanac) KPNO84 */ { WEST(111,35,51.56), NORTH(31,57,29.2), 2096E0, "KPNO84", "Kitt Peak 84 inch" }, /* Kitt Peak 36 foot (1981 Almanac) KPNO36FT */ { WEST(111,36,51.12), NORTH(31,57,12.1), 1939E0, "KPNO36FT", "Kitt Peak 36 foot" }, /* Kottamia 74" (1981 Almanac) KOTTAMIA */ { EAST(31,49,30.), NORTH(29,55,54.), 476E0, "KOTTAMIA", "Kottamia 74 inch" }, /* La Silla 3.6m (1981 Almanac) ESO3.6 */ { WEST(70,43,36.), SOUTH(29,15,36.), 2428E0, "ESO3.6", "ESO 3.6 metre" }, /* Mauna Kea 88 inch MAUNAK88 */ /* (IfA website, Richard Wainscoat) */ { WEST(155,28,9.96), NORTH(19,49,22.77), 4213.6E0, "MAUNAK88", "Mauna Kea 88 inch" }, /* UKIRT (IfA website, Richard Wainscoat) UKIRT */ { WEST(155,28,13.18), NORTH(19,49,20.75), 4198.5E0, "UKIRT", "UK Infra Red Telescope" }, /* Quebec 1.6m (1981 Almanac) QUEBEC1.6 */ { WEST(71,9,9.7), NORTH(45,27,20.6), 1114E0, "QUEBEC1.6", "Quebec 1.6 metre" }, /* Mt Ekar 1.82m (1981 Almanac) MTEKAR */ { EAST(11,34,15.), NORTH(45,50,48.), 1365E0, "MTEKAR", "Mt Ekar 1.82 metre" }, /* Mt Lemmon 60" (1981 Almanac) MTLEMMON60 */ { WEST(110,42,16.9), NORTH(32,26,33.9), 2790E0, "MTLEMMON60", "Mt Lemmon 60 inch" }, /* Mt Locke 2.7m (1981 Almanac) MCDONLD2.7 */ { WEST(104,1,17.60), NORTH(30,40,17.7), 2075E0, "MCDONLD2.7", "McDonald 2.7 metre" }, /* Mt Locke 2.1m (1981 Almanac) MCDONLD2.1 */ { WEST(104,1,20.10), NORTH(30,40,17.7), 2075E0, "MCDONLD2.1", "McDonald 2.1 metre" }, /* Palomar 200" (1981 Almanac) PALOMAR200 */ { WEST(116,51,50.), NORTH(33,21,22.), 1706E0, "PALOMAR200", "Palomar 200 inch" }, /* Palomar 60" (1981 Almanac) PALOMAR60 */ { WEST(116,51,31.), NORTH(33,20,56.), 1706E0, "PALOMAR60", "Palomar 60 inch" }, /* David Dunlap 74" (1981 Almanac) DUNLAP74 */ { WEST(79,25,20.), NORTH(43,51,46.), 244E0, "DUNLAP74", "David Dunlap 74 inch" }, /* Haute Provence 1.93m (1981 Almanac) HPROV1.93 */ { EAST(5,42,46.75), NORTH(43,55,53.3), 665E0, "HPROV1.93", "Haute Provence 1.93 metre" }, /* Haute Provence 1.52m (1981 Almanac) HPROV1.52 */ { EAST(5,42,43.82), NORTH(43,56,0.2), 667E0, "HPROV1.52", "Haute Provence 1.52 metre" }, /* San Pedro Martir 83" (1981 Almanac) SANPM83 */ { WEST(115,27,47.), NORTH(31,2,38.), 2830E0, "SANPM83", "San Pedro Martir 83 inch" }, /* Sutherland 74" (1981 Almanac) SAAO74 */ { EAST(20,48,44.3), SOUTH(32,22,43.4), 1771E0, "SAAO74", "Sutherland 74 inch" }, /* Tautenburg 2m (1981 Almanac) TAUTNBG */ { EAST(11,42,45.), NORTH(50,58,51.), 331E0, "TAUTNBG", "Tautenburg 2 metre" }, /* Catalina 61" (1981 Almanac) CATALINA61 */ { WEST(110,43,55.1), NORTH(32,25,0.7), 2510E0, "CATALINA61", "Catalina 61 inch" }, /* Steward 90" (1981 Almanac) STEWARD90 */ { WEST(111,35,58.24), NORTH(31,57,46.9), 2071E0, "STEWARD90", "Steward 90 inch" }, /* Russian 6m (1981 Almanac) USSR6 */ { EAST(41,26,30.0), NORTH(43,39,12.), 2100E0, "USSR6", "USSR 6 metre" }, /* Arecibo 1000' (1981 Almanac) ARECIBO */ { WEST(66,45,11.1), NORTH(18,20,36.6), 496E0, "ARECIBO", "Arecibo 1000 foot" }, /* Cambridge 5km (1981 Almanac) CAMB5KM */ { EAST(0,2,37.23), NORTH(52,10,12.2), 17E0, "CAMB5KM", "Cambridge 5km" }, /* Cambridge 1 mile (1981 Almanac) CAMB1MILE */ { EAST(0,2,21.64), NORTH(52,9,47.3), 17E0, "CAMB1MILE", "Cambridge 1 mile" }, /* Bonn 100m (1981 Almanac) EFFELSBERG */ { EAST(6,53,1.5), NORTH(50,31,28.6), 366E0, "EFFELSBERG", "Effelsberg 100 metre" }, /* Greenbank 300' (1981 Almanac) GBVA300 (R.I.P.) */ { WEST(79,50,56.36), NORTH(38,25,46.3), 894E0, "(R.I.P.)", "Greenbank 300 foot" }, /* Jodrell Bank Mk 1 (1981 Almanac) JODRELL1 */ { WEST(2,18,25.), NORTH(53,14,10.5), 78E0, "JODRELL1", "Jodrell Bank 250 foot" }, /* Australia Telescope Parkes Observatory PARKES */ /* (Peter te Lintel Hekkert) */ { EAST(148,15,44.3591), SOUTH(32,59,59.8657), 391.79E0, "PARKES", "Parkes 64 metre" }, /* VLA (1981 Almanac) VLA */ { WEST(107,37,3.82), NORTH(34,4,43.5), 2124E0, "VLA", "Very Large Array" }, /* Sugar Grove 150' (1981 Almanac) SUGARGROVE */ { WEST(79,16,23.), NORTH(38,31,14.), 705E0, "SUGARGROVE", "Sugar Grove 150 foot" }, /* Russian 600' (1981 Almanac) USSR600 */ { EAST(41,35,25.5), NORTH(43,49,32.), 973E0, "USSR600", "USSR 600 foot" }, /* Nobeyama 45 metre mm dish (based on 1981 Almanac entry) NOBEYAMA */ { EAST(138,29,12.), NORTH(35,56,19.), 1350E0, "NOBEYAMA", "Nobeyama 45 metre" }, /* James Clerk Maxwell 15 metre mm telescope, Mauna Kea JCMT */ /* From GPS measurements on 11Apr2007 for eSMA setup (R. Tilanus) */ { WEST(155,28,37.30), NORTH(19,49,22.22), 4124.75E0, "JCMT", "JCMT 15 metre" }, /* ESO 3.5 metre NTT, La Silla (K.Wirenstrand) ESONTT */ { WEST(70,43,7.), SOUTH(29,15,30.), 2377E0, "ESONTT", "ESO 3.5 metre NTT" }, /* St Andrews University Observatory (1982 Almanac) ST.ANDREWS */ { WEST(2,48,52.5), NORTH(56,20,12.), 30E0, "ST.ANDREWS", "St Andrews" }, /* Apache Point 3.5 metre (R.Owen) APO3.5 */ { WEST(105,49,11.56), NORTH(32,46,48.96), 2809E0, "APO3.5", "Apache Point 3.5m" }, /* W.M.Keck Observatory, Telescope 1 KECK1 */ /* (William Lupton) */ { WEST(155,28,28.99), NORTH(19,49,33.41), 4160E0, "KECK1", "Keck 10m Telescope #1" }, /* Tautenberg Schmidt (1983 Almanac) TAUTSCHM */ { EAST(11,42,45.0), NORTH(50,58,51.0), 331E0, "TAUTSCHM", "Tautenberg 1.34 metre Schmidt" }, /* Palomar Schmidt (1981 Almanac) PALOMAR48 */ { WEST(116,51,32.0), NORTH(33,21,26.0), 1706E0, "PALOMAR48", "Palomar 48-inch Schmidt" }, /* UK Schmidt, Siding Spring (1983 Almanac) UKST */ { EAST(149,4,12.8), SOUTH(31,16,27.8), 1145E0, "UKST", "UK 1.2 metre Schmidt, Siding Spring" }, /* Kiso Schmidt, Japan (1981 Almanac) KISO */ { EAST(137,37,42.2), NORTH(35,47,38.7), 1130E0, "KISO", "Kiso 1.05 metre Schmidt, Japan" }, /* ESO Schmidt, La Silla (1981 Almanac) ESOSCHM */ { WEST(70,43,46.5), SOUTH(29,15,25.8), 2347E0, "ESOSCHM", "ESO 1 metre Schmidt, La Silla" }, /* Australia Telescope Compact Array ATCA */ /* (WGS84 coordinates of Station 35, Mark Calabretta) */ { EAST(149,33,0.500), SOUTH(30,18,46.385), 236.9E0, "ATCA", "Australia Telescope Compact Array" }, /* Australia Telescope Mopra Observatory MOPRA */ /* (Peter te Lintel Hekkert) */ { EAST(149,5,58.732), SOUTH(31,16,4.451), 850E0, "MOPRA", "ATNF Mopra Observatory" }, /* Subaru telescope, Mauna Kea SUBARU */ /* (IfA website, Richard Wainscoat) */ { WEST(155,28,33.67), NORTH(19,49,31.81), 4163E0, "SUBARU", "Subaru 8m telescope" }, /* Canada-France-Hawaii Telescope, Mauna Kea CFHT */ /* (IfA website, Richard Wainscoat) */ { WEST(155,28,7.95), NORTH(19,49,30.91), 4204.1E0, "CFHT", "Canada-France-Hawaii 3.6m Telescope" }, /* W.M.Keck Observatory, Telescope 2 KECK2 */ /* (William Lupton) */ { WEST(155,28,27.24), NORTH(19,49,35.62), 4159.6E0, "KECK2", "Keck 10m Telescope #2" }, /* Gemini North, Mauna Kea GEMININ */ /* (IfA website, Richard Wainscoat) */ { WEST(155,28,8.57), NORTH(19,49,25.69), 4213.4E0, "GEMININ", "Gemini North 8-m telescope" }, /* Five College Radio Astronomy Observatory FCRAO */ /* (Tim Jenness) */ { WEST(72,20,42.0), NORTH(42,23,30.0), 314E0, "FCRAO", "Five College Radio Astronomy Obs" }, /* NASA Infra Red Telescope Facility IRTF */ /* (IfA website, Richard Wainscoat) */ { WEST(155,28,19.20), NORTH(19,49,34.39), 4168.1E0, "IRTF", "NASA IR Telescope Facility, Mauna Kea" }, /* Caltech Submillimeter Observatory CSO */ /* (IfA website, Richard Wainscoat; height estimated) */ { WEST(155,28,31.79), NORTH(19,49,20.78), 4080E0, "CSO", "Caltech Sub-mm Observatory, Mauna Kea" }, /* ESO VLT, UT1 VLT1 */ /* (ESO website, VLT Whitebook Chapter 2) */ { WEST(70,24,11.642), SOUTH(24,37,33.117), 2635.43, "VLT1", "ESO VLT, Paranal, Chile: UT1" }, /* ESO VLT, UT2 VLT2 */ /* (ESO website, VLT Whitebook Chapter 2) */ { WEST(70,24,10.855), SOUTH(24,37,31.465), 2635.43, "VLT2", "ESO VLT, Paranal, Chile: UT2" }, /* ESO VLT, UT3 VLT3 */ /* (ESO website, VLT Whitebook Chapter 2) */ { WEST(70,24,9.896), SOUTH(24,37,30.300), 2635.43, "VLT3", "ESO VLT, Paranal, Chile: UT3" }, /* ESO VLT, UT4 VLT4 */ /* (ESO website, VLT Whitebook Chapter 2) */ { WEST(70,24,8.000), SOUTH(24,37,31.000), 2635.43, "VLT4", "ESO VLT, Paranal, Chile: UT4" }, /* Gemini South, Cerro Pachon GEMINIS */ /* (GPS readings by Patrick Wallace) */ { WEST(70,44,11.5), SOUTH(30,14,26.7), 2738E0, "GEMINIS", "Gemini South 8-m telescope" }, /* Cologne Observatory for Submillimeter Astronomy (KOSMA) KOSMA3M */ /* (Holger Jakob) */ { EAST(7,47,3.48), NORTH(45,58,59.772), 3141E0, "KOSMA3M", "KOSMA 3m telescope, Gornergrat" }, /* Magellan 1, 6.5m telescope at Las Campanas, Chile MAGELLAN1 */ /* (Skip Schaller) */ { WEST(70,41,31.9), SOUTH(29,0,51.7), 2408E0, "MAGELLAN1", "Magellan 1, 6.5m, Las Campanas" }, /* Magellan 2, 6.5m telescope at Las Campanas, Chile MAGELLAN2 */ /* (Skip Schaller) */ { WEST(70,41,33.5), SOUTH(29,0,50.3), 2408E0, "MAGELLAN2", "Magellan 2, 6.5m, Las Campanas" }, /* APEX - Atacama Pathfinder EXperiment, Llano de Chajnantor APEX */ /* (APEX web site) */ { WEST(67,45,33.0), SOUTH(23,0,20.8), 5105E0, "APEX", "APEX 12m telescope, Llano de Chajnantor" }, /* NANTEN2 Submillimeter Observatory, 4m telescope Atacame desert NANTEN2 */ /* (NANTEN2 web site) */ { WEST(67,42,8.0), SOUTH(22,57,47.0), 4865E0, "NANTEN2", "NANTEN2 4m telescope, Pampa la Bola" } }; int retval = -1; /* Return status. 0 if found. -1 if no match */ /* Work out the number of telescopes */ const size_t NTEL = sizeof(telData) / sizeof(struct telData); /* Prefill the return buffer in a pessimistic manner */ star_strellcpy( name, "?", namelen ); if (n > 0) { if (n <= NTEL) { /* Index into telData with correction for zero-based indexing */ struct telData thistel; thistel = telData[n-1]; *w = thistel.w; *p = thistel.p; *h = thistel.h; star_strellcpy( ident, thistel.shortname, identlen ); star_strellcpy( name, thistel.longname, namelen ); retval = 0; } } else { /* Searching */ size_t i; for (i=0; i. * Bugs: * {note_any_bugs_here} *- */ #include "pal.h" #include "palmac.h" #include "pal1sofa.h" void palCldj ( int iy, int im, int id, double *djm, int *j ) { double djm0; *j = eraCal2jd( iy, im, id, &djm0, djm ); } double palDbear ( double a1, double b1, double a2, double b2 ) { return eraPas( a1, b1, a2, b2 ); } /* Arguments differ slightly. Assumes that the sign is always positive and dealt with externally. */ void palDaf2r ( int ideg, int iamin, double asec, double *rad, int *j ) { *j = eraAf2a( ' ', ideg, iamin, asec, rad ); } void palDav2m ( double axvec[3], double rmat[3][3] ) { eraRv2m( axvec, rmat ); } void palDcc2s ( double v[3], double *a, double *b ) { eraC2s( v, a, b ); } void palDcs2c ( double a, double b, double v[3] ) { eraS2c( a, b, v ); } void palDd2tf ( int ndp, double days, char *sign, int ihmsf[4] ) { eraD2tf( ndp, days, sign, ihmsf ); } void palDimxv ( double dm[3][3], double va[3], double vb[3] ) { eraTrxp( dm, va, vb ); } void palDm2av ( double rmat[3][3], double axvec[3] ) { eraRm2v( rmat, axvec ); } /* Requires additional SLA MJD reference date */ void palDjcl ( double djm, int *iy, int *im, int *id, double *fd, int *j ) { *j = eraJd2cal( PAL__MJD0, djm, iy, im, id, fd ); } void palDmxm ( double a[3][3], double b[3][3], double c[3][3] ) { eraRxr( a, b, c ); } void palDmxv ( double dm[3][3], double va[3], double vb[3] ) { eraRxp( dm, va, vb ); } double palDpav ( double v1[3], double v2[3] ) { return eraPap( v1, v2 ); } void palDr2af ( int ndp, double angle, char *sign, int idmsf[4] ) { eraA2af( ndp, angle, sign, idmsf ); } void palDr2tf( int ndp, double angle, char *sign, int ihmsf[4] ) { eraA2tf( ndp, angle, sign, ihmsf ); } double palDranrm ( double angle ) { return eraAnp( angle ); } double palDsep ( double a1, double b1, double a2, double b2 ) { return eraSeps( a1, b1, a2, b2 ); } double palDsepv ( double v1[3], double v2[3] ) { return eraSepp( v1, v2 ); } /* Assumes that the sign is always positive and is dealt with externally */ void palDtf2d ( int ihour, int imin, double sec, double *days, int *j ) { *j = eraTf2d( ' ', ihour, imin, sec, days ); } /* Assumes that the sign is dealt with outside this routine */ void palDtf2r ( int ihour, int imin, double sec, double *rad, int *j ) { *j = eraTf2a( ' ', ihour, imin, sec, rad ); } double palDvdv ( double va[3], double vb[3] ) { return eraPdp( va, vb ); } /* Note that the arguments are flipped */ void palDvn ( double v[3], double uv[3], double *vm ) { eraPn( v, vm, uv ); } void palDvxv ( double va[3], double vb[3], double vc[3] ) { eraPxp( va, vb, vc ); } /* Requires additional SLA MJD reference date */ double palEpb ( double date ) { return eraEpb( PAL__MJD0, date ); } double palEpb2d ( double epb ) { double djm0, djm; eraEpb2jd( epb, &djm0, &djm ); return djm; } /* Requires additional SLA MJD reference date */ double palEpj ( double date ) { return eraEpj( PAL__MJD0, date ); } double palEpj2d ( double epj ) { double djm0, djm; eraEpj2jd( epj, &djm0, &djm ); return djm; } /* Requires additional SLA MJD reference date */ double palEqeqx ( double date ) { return eraEe06a( PAL__MJD0, date ); } /* Do not use palEvp just yet */ void palFk5hz ( double r5, double d5, double epoch, double *rh, double *dh ) { /* Need to convert epoch to Julian date first */ double date1, date2; eraEpj2jd( epoch, &date1, &date2 ); eraFk5hz( r5, d5, date1, date2, rh, dh ); } /* Note that SOFA has more accurate time arguments and we use the 2006 precession model */ double palGmst ( double ut1 ) { return eraGmst06( PAL__MJD0, ut1, PAL__MJD0, ut1 ); } /* Slightly better but still not as accurate as SOFA */ double palGmsta( double date, double ut ) { date += PAL__MJD0; return eraGmst06( date, ut, date, ut ); } void palHfk5z ( double rh, double dh, double epoch, double *r5, double *d5, double *dr5, double *dd5 ) { /* Need to convert epoch to Julian date first */ double date1, date2; eraEpj2jd( epoch, &date1, &date2 ); eraHfk5z( rh, dh, date1, date2, r5, d5, dr5, dd5 ); } void palRefcoq ( double tdk, double pmb, double rh, double wl, double *refa, double *refb ) { /* Note that SLA (and therefore PAL) uses units of kelvin but SOFA uses deg C */ eraRefco( pmb, tdk - 273.15, rh, wl, refa, refb ); } pal-0.5.0/palPa.c000644 000765 000024 00000005062 12366000607 013602 0ustar00timjstaff000000 000000 /* *+ * Name: * palPa * Purpose: * HA, Dec to Parallactic Angle * Language: * Starlink ANSI C * Type of Module: * Library routine * Invocation: * double palPa( double ha, double dec, double phi ); * Arguments: * ha = double (Given) * Hour angle in radians (Geocentric apparent) * dec = double (Given) * Declination in radians (Geocentric apparent) * phi = double (Given) * Observatory latitude in radians (geodetic) * Returned Value: * palPa = double * Parallactic angle in the range -pi to +pi. * Description: * Converts HA, Dec to Parallactic Angle. * Authors: * PTW: Patrick T. Wallace * TIMJ: Tim Jenness (JAC, Hawaii) * {enter_new_authors_here} * Notes: * - The parallactic angle at a point in the sky is the position * angle of the vertical, i.e. the angle between the direction to * the pole and to the zenith. In precise applications care must * be taken only to use geocentric apparent HA,Dec and to consider * separately the effects of atmospheric refraction and telescope * mount errors. * - At the pole a zero result is returned. * History: * 2012-03-02 (TIMJ): * Initial version * Adapted with permission from the Fortran SLALIB library. * {enter_further_changes_here} * Copyright: * Copyright (C) 1995 Rutherford Appleton Laboratory * Copyright (C) 2012 Science and Technology Facilities Council. * All Rights Reserved. * Licence: * This program is free software; you can redistribute it and/or * modify it under the terms of the GNU General Public License as * published by the Free Software Foundation; either version 3 of * the License, or (at your option) any later version. * * This program is distributed in the hope that it will be * useful, but WITHOUT ANY WARRANTY; without even the implied * warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR * PURPOSE. See the GNU General Public License for more details. * * You should have received a copy of the GNU General Public License * along with this program; if not, write to the Free Software * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, * MA 02110-1301, USA. * Bugs: * {note_any_bugs_here} *- */ #include "pal.h" #include double palPa( double ha, double dec, double phi ) { double cp, sqsz, cqsz; cp = cos(phi); sqsz = cp * sin(ha); cqsz = sin(phi) * cos(dec) - cp * sin(dec) * cos(ha); if (sqsz == 0.0 && cqsz == 0.0) cqsz = 1.0; return atan2( sqsz, cqsz ); } pal-0.5.0/palPertel.c000644 000765 000024 00000017057 12366000607 014504 0ustar00timjstaff000000 000000 /* *+ * Name: * palPertel * Purpose: * Update elements by applying planetary perturbations * Language: * Starlink ANSI C * Type of Module: * Library routine * Invocation: * void palPertel (int jform, double date0, double date1, * double epoch0, double orbi0, double anode0, * double perih0, double aorq0, double e0, double am0, * double *epoch1, double *orbi1, double *anode1, * double *perih1, double *aorq1, double *e1, double *am1, * int *jstat ); * Arguments: * jform = int (Given) * Element set actually returned (1-3; Note 6) * date0 = double (Given) * Date of osculation (TT MJD) for the given elements. * date1 = double (Given) * Date of osculation (TT MJD) for the updated elements. * epoch0 = double (Given) * Epoch of elements (TT MJD) * orbi0 = double (Given) * inclination (radians) * anode0 = double (Given) * longitude of the ascending node (radians) * perih0 = double (Given) * longitude or argument of perihelion (radians) * aorq0 = double (Given) * mean distance or perihelion distance (AU) * e0 = double (Given) * eccentricity * am0 = double (Given) * mean anomaly (radians, JFORM=2 only) * epoch1 = double * (Returned) * Epoch of elements (TT MJD) * orbi1 = double * (Returned) * inclination (radians) * anode1 = double * (Returned) * longitude of the ascending node (radians) * perih1 = double * (Returned) * longitude or argument of perihelion (radians) * aorq1 = double * (Returned) * mean distance or perihelion distance (AU) * e1 = double * (Returned) * eccentricity * am1 = double * (Returned) * mean anomaly (radians, JFORM=2 only) * jstat = int * (Returned) * status: * - +102 = warning, distant epoch * - +101 = warning, large timespan ( > 100 years) * - +1 to +10 = coincident with planet (Note 6) * - 0 = OK * - -1 = illegal JFORM * - -2 = illegal E0 * - -3 = illegal AORQ0 * - -4 = internal error * - -5 = numerical error * Description: * Update the osculating orbital elements of an asteroid or comet by * applying planetary perturbations. * Authors: * PTW: Pat Wallace (STFC) * TIMJ: Tim Jenness (JAC, Hawaii) * {enter_new_authors_here} * Notes: * - Two different element-format options are available: * * Option JFORM=2, suitable for minor planets: * * EPOCH = epoch of elements (TT MJD) * ORBI = inclination i (radians) * ANODE = longitude of the ascending node, big omega (radians) * PERIH = argument of perihelion, little omega (radians) * AORQ = mean distance, a (AU) * E = eccentricity, e * AM = mean anomaly M (radians) * * Option JFORM=3, suitable for comets: * * EPOCH = epoch of perihelion (TT MJD) * ORBI = inclination i (radians) * ANODE = longitude of the ascending node, big omega (radians) * PERIH = argument of perihelion, little omega (radians) * AORQ = perihelion distance, q (AU) * E = eccentricity, e * * - DATE0, DATE1, EPOCH0 and EPOCH1 are all instants of time in * the TT timescale (formerly Ephemeris Time, ET), expressed * as Modified Julian Dates (JD-2400000.5). * * DATE0 is the instant at which the given (i.e. unperturbed) * osculating elements are correct. * * DATE1 is the specified instant at which the updated osculating * elements are correct. * * EPOCH0 and EPOCH1 will be the same as DATE0 and DATE1 * (respectively) for the JFORM=2 case, normally used for minor * planets. For the JFORM=3 case, the two epochs will refer to * perihelion passage and so will not, in general, be the same as * DATE0 and/or DATE1 though they may be similar to one another. * - The elements are with respect to the J2000 ecliptic and equinox. * - Unused elements (AM0 and AM1 for JFORM=3) are not accessed. * - See the palPertue routine for details of the algorithm used. * - This routine is not intended to be used for major planets, which * is why JFORM=1 is not available and why there is no opportunity * to specify either the longitude of perihelion or the daily * motion. However, if JFORM=2 elements are somehow obtained for a * major planet and supplied to the routine, sensible results will, * in fact, be produced. This happens because the sla_PERTUE routine * that is called to perform the calculations checks the separation * between the body and each of the planets and interprets a * suspiciously small value (0.001 AU) as an attempt to apply it to * the planet concerned. If this condition is detected, the * contribution from that planet is ignored, and the status is set to * the planet number (1-10 = Mercury, Venus, EMB, Mars, Jupiter, * Saturn, Uranus, Neptune, Earth, Moon) as a warning. * * See Also: * - Sterne, Theodore E., "An Introduction to Celestial Mechanics", * Interscience Publishers Inc., 1960. Section 6.7, p199. * History: * 2012-03-12 (TIMJ): * Initial version direct conversion of SLA/F. * Adapted with permission from the Fortran SLALIB library. * {enter_further_changes_here} * Copyright: * Copyright (C) 2004 Patrick T. Wallace * Copyright (C) 2012 Science and Technology Facilities Council. * All Rights Reserved. * Licence: * This program is free software; you can redistribute it and/or * modify it under the terms of the GNU General Public License as * published by the Free Software Foundation; either version 3 of * the License, or (at your option) any later version. * * This program is distributed in the hope that it will be * useful, but WITHOUT ANY WARRANTY; without even the implied * warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR * PURPOSE. See the GNU General Public License for more details. * * You should have received a copy of the GNU General Public License * along with this program; if not, write to the Free Software * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, * MA 02110-1301, USA. * Bugs: * {note_any_bugs_here} *- */ #include "pal.h" void palPertel (int jform, double date0, double date1, double epoch0, double orbi0, double anode0, double perih0, double aorq0, double e0, double am0, double *epoch1, double *orbi1, double *anode1, double *perih1, double *aorq1, double *e1, double *am1, int *jstat ) { double u[13], dm; int j, jf; /* Check that the elements are either minor-planet or comet format. */ if (jform < 2 || jform > 3) { *jstat = -1; return; } else { /* Provisionally set the status to OK. */ *jstat = 0; } /* Transform the elements from conventional to universal form. */ palEl2ue(date0,jform,epoch0,orbi0,anode0,perih0, aorq0,e0,am0,0.0,u,&j); if (j != 0) { *jstat = j; return; } /* Update the universal elements. */ palPertue(date1,u,&j); if (j > 0) { *jstat = j; } else if (j < 0) { *jstat = -5; return; } /* Transform from universal to conventional elements. */ palUe2el(u, jform, &jf, epoch1, orbi1, anode1, perih1, aorq1, e1, am1, &dm, &j); if (jf != jform || j != 0) *jstat = -5; } pal-0.5.0/palPertue.c000644 000765 000024 00000047671 12366000611 014515 0ustar00timjstaff000000 000000 /* *+ * Name: * palPertue * Purpose: * Update the universal elements by applying planetary perturbations * Language: * Starlink ANSI C * Type of Module: * Library routine * Invocation: * void palPertue( double date, double u[13], int *jstat ); * Arguments: * date = double (Given) * Final epoch (TT MJD) for the update elements. * u = const double [13] (Given & Returned) * Universal orbital elements (Note 1) * (0) combined mass (M+m) * (1) total energy of the orbit (alpha) * (2) reference (osculating) epoch (t0) * (3-5) position at reference epoch (r0) * (6-8) velocity at reference epoch (v0) * (9) heliocentric distance at reference epoch * (10) r0.v0 * (11) date (t) * (12) universal eccentric anomaly (psi) of date, approx * jstat = int * (Returned) * status: * +102 = warning, distant epoch * +101 = warning, large timespan ( > 100 years) * +1 to +10 = coincident with major planet (Note 5) * 0 = OK * -1 = numerical error * Description: * Update the universal elements of an asteroid or comet by applying * planetary perturbations. * Authors: * PTW: Pat Wallace (STFC) * TIMJ: Tim Jenness (JAC, Hawaii) * {enter_new_authors_here} * Notes: * - The "universal" elements are those which define the orbit for the * purposes of the method of universal variables (see reference 2). * They consist of the combined mass of the two bodies, an epoch, * and the position and velocity vectors (arbitrary reference frame) * at that epoch. The parameter set used here includes also various * quantities that can, in fact, be derived from the other * information. This approach is taken to avoiding unnecessary * computation and loss of accuracy. The supplementary quantities * are (i) alpha, which is proportional to the total energy of the * orbit, (ii) the heliocentric distance at epoch, (iii) the * outwards component of the velocity at the given epoch, (iv) an * estimate of psi, the "universal eccentric anomaly" at a given * date and (v) that date. * - The universal elements are with respect to the J2000 equator and * equinox. * - The epochs DATE, U(3) and U(12) are all Modified Julian Dates * (JD-2400000.5). * - The algorithm is a simplified form of Encke's method. It takes as * a basis the unperturbed motion of the body, and numerically * integrates the perturbing accelerations from the major planets. * The expression used is essentially Sterne's 6.7-2 (reference 1). * Everhart and Pitkin (reference 2) suggest rectifying the orbit at * each integration step by propagating the new perturbed position * and velocity as the new universal variables. In the present * routine the orbit is rectified less frequently than this, in order * to gain a slight speed advantage. However, the rectification is * done directly in terms of position and velocity, as suggested by * Everhart and Pitkin, bypassing the use of conventional orbital * elements. * * The f(q) part of the full Encke method is not used. The purpose * of this part is to avoid subtracting two nearly equal quantities * when calculating the "indirect member", which takes account of the * small change in the Sun's attraction due to the slightly displaced * position of the perturbed body. A simpler, direct calculation in * double precision proves to be faster and not significantly less * accurate. * * Apart from employing a variable timestep, and occasionally * "rectifying the orbit" to keep the indirect member small, the * integration is done in a fairly straightforward way. The * acceleration estimated for the middle of the timestep is assumed * to apply throughout that timestep; it is also used in the * extrapolation of the perturbations to the middle of the next * timestep, to predict the new disturbed position. There is no * iteration within a timestep. * * Measures are taken to reach a compromise between execution time * and accuracy. The starting-point is the goal of achieving * arcsecond accuracy for ordinary minor planets over a ten-year * timespan. This goal dictates how large the timesteps can be, * which in turn dictates how frequently the unperturbed motion has * to be recalculated from the osculating elements. * * Within predetermined limits, the timestep for the numerical * integration is varied in length in inverse proportion to the * magnitude of the net acceleration on the body from the major * planets. * * The numerical integration requires estimates of the major-planet * motions. Approximate positions for the major planets (Pluto * alone is omitted) are obtained from the routine palPlanet. Two * levels of interpolation are used, to enhance speed without * significantly degrading accuracy. At a low frequency, the routine * palPlanet is called to generate updated position+velocity "state * vectors". The only task remaining to be carried out at the full * frequency (i.e. at each integration step) is to use the state * vectors to extrapolate the planetary positions. In place of a * strictly linear extrapolation, some allowance is made for the * curvature of the orbit by scaling back the radius vector as the * linear extrapolation goes off at a tangent. * * Various other approximations are made. For example, perturbations * by Pluto and the minor planets are neglected and relativistic * effects are not taken into account. * * In the interests of simplicity, the background calculations for * the major planets are carried out en masse. The mean elements and * state vectors for all the planets are refreshed at the same time, * without regard for orbit curvature, mass or proximity. * * The Earth-Moon system is treated as a single body when the body is * distant but as separate bodies when closer to the EMB than the * parameter RNE, which incurs a time penalty but improves accuracy * for near-Earth objects. * * - This routine is not intended to be used for major planets. * However, if major-planet elements are supplied, sensible results * will, in fact, be produced. This happens because the routine * checks the separation between the body and each of the planets and * interprets a suspiciously small value (0.001 AU) as an attempt to * apply the routine to the planet concerned. If this condition is * detected, the contribution from that planet is ignored, and the * status is set to the planet number (1-10 = Mercury, Venus, EMB, * Mars, Jupiter, Saturn, Uranus, Neptune, Earth, Moon) as a warning. * See Also: * - Sterne, Theodore E., "An Introduction to Celestial Mechanics", * Interscience Publishers Inc., 1960. Section 6.7, p199. * - Everhart, E. & Pitkin, E.T., Am.J.Phys. 51, 712, 1983. * History: * 2012-03-12 (TIMJ): * Initial version direct conversion of SLA/F. * Adapted with permission from the Fortran SLALIB library. * 2012-06-21 (TIMJ): * Support a lack of copysign() function. * 2012-06-22 (TIMJ): * Check __STDC_VERSION__ * {enter_further_changes_here} * Copyright: * Copyright (C) 2004 Patrick T. Wallace * Copyright (C) 2012 Science and Technology Facilities Council. * All Rights Reserved. * Licence: * This program is free software; you can redistribute it and/or * modify it under the terms of the GNU General Public License as * published by the Free Software Foundation; either version 3 of * the License, or (at your option) any later version. * * This program is distributed in the hope that it will be * useful, but WITHOUT ANY WARRANTY; without even the implied * warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR * PURPOSE. See the GNU General Public License for more details. * * You should have received a copy of the GNU General Public License * along with this program; if not, write to the Free Software * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, * MA 02110-1301, USA. * Bugs: * {note_any_bugs_here} *- */ /* Use the config file if we have one, else look at compiler defines to see if we have C99 */ #if HAVE_CONFIG_H #include #else #ifdef __STDC_VERSION__ # if (__STDC_VERSION__ >= 199901L) # define HAVE_COPYSIGN 1 # endif #endif #endif #include #include "pal.h" #include "palmac.h" #include "pal1sofa.h" /* copysign is C99 */ #if HAVE_COPYSIGN # define COPYSIGN copysign #else # define COPYSIGN(a,b) DSIGN(a,b) #endif void palPertue( double date, double u[13], int *jstat ) { /* Distance from EMB at which Earth and Moon are treated separately */ const double RNE=1.0; /* Coincidence with major planet distance */ const double COINC=0.0001; /* Coefficient relating timestep to perturbing force */ const double TSC=1e-4; /* Minimum and maximum timestep (days) */ const double TSMIN = 0.01; const double TSMAX = 10.0; /* Age limit for major-planet state vector (days) */ const double AGEPMO=5.0; /* Age limit for major-planet mean elements (days) */ const double AGEPEL=50.0; /* Margin for error when deciding whether to renew the planetary data */ const double TINY=1e-6; /* Age limit for the body's osculating elements (before rectification) */ const double AGEBEL=100.0; /* Gaussian gravitational constant squared */ const double GCON2 = PAL__GCON * PAL__GCON; /* The final epoch */ double TFINAL; /* The body's current universal elements */ double UL[13]; /* Current reference epoch */ double T0; /* Timespan from latest orbit rectification to final epoch (days) */ double TSPAN; /* Time left to go before integration is complete */ double TLEFT; /* Time direction flag: +1=forwards, -1=backwards */ double FB; /* First-time flag */ int FIRST = 0; /* * The current perturbations */ /* Epoch (days relative to current reference epoch) */ double RTN; /* Position (AU) */ double PERP[3]; /* Velocity (AU/d) */ double PERV[3]; /* Acceleration (AU/d/d) */ double PERA[3]; /* Length of current timestep (days), and half that */ double TS,HTS; /* Epoch of middle of timestep */ double T; /* Epoch of planetary mean elements */ double TPEL = 0.0; /* Planet number (1=Mercury, 2=Venus, 3=EMB...8=Neptune) */ int NP; /* Planetary universal orbital elements */ double UP[8][13]; /* Epoch of planetary state vectors */ double TPMO = 0.0; /* State vectors for the major planets (AU,AU/s) */ double PVIN[8][6]; /* Earth velocity and position vectors (AU,AU/s) */ double VB[3],PB[3],VH[3],PE[3]; /* Moon geocentric state vector (AU,AU/s) and position part */ double PVM[6],PM[3]; /* Date to J2000 de-precession matrix */ double PMAT[3][3]; /* * Correction terms for extrapolated major planet vectors */ /* Sun-to-planet distances squared multiplied by 3 */ double R2X3[8]; /* Sunward acceleration terms, G/2R^3 */ double GC[8]; /* Tangential-to-circular correction factor */ double FC; /* Radial correction factor due to Sunwards acceleration */ double FG; /* The body's unperturbed and perturbed state vectors (AU,AU/s) */ double PV0[6],PV[6]; /* The body's perturbed and unperturbed heliocentric distances (AU) cubed */ double R03,R3; /* The perturbating accelerations, indirect and direct */ double FI[3],FD[3]; /* Sun-to-planet vector, and distance cubed */ double RHO[3],RHO3; /* Body-to-planet vector, and distance cubed */ double DELTA[3],DELTA3; /* Miscellaneous */ int I,J; double R2,W,DT,DT2,R,FT; int NE; /* Planetary inverse masses, Mercury through Neptune then Earth and Moon */ const double AMAS[10] = { 6023600., 408523.5, 328900.5, 3098710., 1047.355, 3498.5, 22869., 19314., 332946.038, 27068709. }; /* Preset the status to OK. */ *jstat = 0; /* Copy the final epoch. */ TFINAL = date; /* Copy the elements (which will be periodically updated). */ for (I=0; I<13; I++) { UL[I] = u[I]; } /* Initialize the working reference epoch. */ T0=UL[2]; /* Total timespan (days) and hence time left. */ TSPAN = TFINAL-T0; TLEFT = TSPAN; /* Warn if excessive. */ if (fabs(TSPAN) > 36525.0) *jstat=101; /* Time direction: +1 for forwards, -1 for backwards. */ FB = COPYSIGN(1.0,TSPAN); /* Initialize relative epoch for start of current timestep. */ RTN = 0.0; /* Reset the perturbations (position, velocity, acceleration). */ for (I=0; I<3; I++) { PERP[I] = 0.0; PERV[I] = 0.0; PERA[I] = 0.0; } /* Set "first iteration" flag. */ FIRST = 1; /* Step through the time left. */ while (FB*TLEFT > 0.0) { /* Magnitude of current acceleration due to planetary attractions. */ if (FIRST) { TS = TSMIN; } else { R2 = 0.0; for (I=0; I<3; I++) { W = FD[I]; R2 = R2+W*W; } W = sqrt(R2); /* Use the acceleration to decide how big a timestep can be tolerated. */ if (W != 0.0) { TS = DMIN(TSMAX,DMAX(TSMIN,TSC/W)); } else { TS = TSMAX; } } TS = TS*FB; /* Override if final epoch is imminent. */ TLEFT = TSPAN-RTN; if (fabs(TS) > fabs(TLEFT)) TS=TLEFT; /* Epoch of middle of timestep. */ HTS = TS/2.0; T = T0+RTN+HTS; /* Is it time to recompute the major-planet elements? */ if (FIRST || fabs(T-TPEL)-AGEPEL >= TINY) { /* Yes: go forward in time by just under the maximum allowed. */ TPEL = T+FB*AGEPEL; /* Compute the state vector for the new epoch. */ for (NP=1; NP<=8; NP++) { palPlanet(TPEL,NP,PV,&J); /* Warning if remote epoch, abort if error. */ if (J == 1) { *jstat = 102; } else if (J != 0) { goto ABORT; } /* Transform the vector into universal elements. */ palPv2ue(PV,TPEL,0.0,&(UP[NP-1][0]),&J); if (J != 0) goto ABORT; } } /* Is it time to recompute the major-planet motions? */ if (FIRST || fabs(T-TPMO)-AGEPMO >= TINY) { /* Yes: look ahead. */ TPMO = T+FB*AGEPMO; /* Compute the motions of each planet (AU,AU/d). */ for (NP=1; NP<=8; NP++) { /* The planet's position and velocity (AU,AU/s). */ palUe2pv(TPMO,&(UP[NP-1][0]),&(PVIN[NP-1][0]),&J); if (J != 0) goto ABORT; /* Scale velocity to AU/d. */ for (J=3; J<6; J++) { PVIN[NP-1][J] = PVIN[NP-1][J]*PAL__SPD; } /* Precompute also the extrapolation correction terms. */ R2 = 0.0; for (I=0; I<3; I++) { W = PVIN[NP-1][I]; R2 = R2+W*W; } R2X3[NP-1] = R2*3.0; GC[NP-1] = GCON2/(2.0*R2*sqrt(R2)); } } /* Reset the first-time flag. */ FIRST = 0; /* Unperturbed motion of the body at middle of timestep (AU,AU/s). */ palUe2pv(T,UL,PV0,&J); if (J != 0) goto ABORT; /* Perturbed position of the body (AU) and heliocentric distance cubed. */ R2 = 0.0; for (I=0; I<3; I++) { W = PV0[I]+PERP[I]+(PERV[I]+PERA[I]*HTS/2.0)*HTS; PV[I] = W; R2 = R2+W*W; } R3 = R2*sqrt(R2); /* The body's unperturbed heliocentric distance cubed. */ R2 = 0.0; for (I=0; I<3; I++) { W = PV0[I]; R2 = R2+W*W; } R03 = R2*sqrt(R2); /* Compute indirect and initialize direct parts of the perturbation. */ for (I=0; I<3; I++) { FI[I] = PV0[I]/R03-PV[I]/R3; FD[I] = 0.0; } /* Ready to compute the direct planetary effects. */ /* Reset the "near-Earth" flag. */ NE = 0; /* Interval from state-vector epoch to middle of current timestep. */ DT = T-TPMO; DT2 = DT*DT; /* Planet by planet, including separate Earth and Moon. */ for (NP=1; NP<10; NP++) { /* Which perturbing body? */ if (NP <= 8) { /* Planet: compute the extrapolation in longitude (squared). */ R2 = 0.0; for (J=3; J<6; J++) { W = PVIN[NP-1][J]*DT; R2 = R2+W*W; } /* Hence the tangential-to-circular correction factor. */ FC = 1.0+R2/R2X3[NP-1]; /* The radial correction factor due to the inwards acceleration. */ FG = 1.0-GC[NP-1]*DT2; /* Planet's position. */ for (I=0; I<3; I++) { RHO[I] = FG*(PVIN[NP-1][I]+FC*PVIN[NP-1][I+3]*DT); } } else if (NE) { /* Near-Earth and either Earth or Moon. */ if (NP == 9) { /* Earth: position. */ palEpv(T,PE,VH,PB,VB); for (I=0; I<3; I++) { RHO[I] = PE[I]; } } else { /* Moon: position. */ palPrec(palEpj(T),2000.0,PMAT); palDmoon(T,PVM); eraRxp(PMAT,PVM,PM); for (I=0; I<3; I++) { RHO[I] = PM[I]+PE[I]; } } } /* Proceed unless Earth or Moon and not the near-Earth case. */ if (NP <= 8 || NE) { /* Heliocentric distance cubed. */ R2 = 0.0; for (I=0; I<3; I++) { W = RHO[I]; R2 = R2+W*W; } R = sqrt(R2); RHO3 = R2*R; /* Body-to-planet vector, and distance. */ R2 = 0.0; for (I=0; I<3; I++) { W = RHO[I]-PV[I]; DELTA[I] = W; R2 = R2+W*W; } R = sqrt(R2); /* If this is the EMB, set the near-Earth flag appropriately. */ if (NP == 3 && R < RNE) NE = 1; /* Proceed unless EMB and this is the near-Earth case. */ if ( ! (NE && NP == 3) ) { /* If too close, ignore this planet and set a warning. */ if (R < COINC) { *jstat = NP; } else { /* Accumulate "direct" part of perturbation acceleration. */ DELTA3 = R2*R; W = AMAS[NP-1]; for (I=0; I<3; I++) { FD[I] = FD[I]+(DELTA[I]/DELTA3-RHO[I]/RHO3)/W; } } } } } /* Update the perturbations to the end of the timestep. */ RTN += TS; for (I=0; I<3; I++) { W = (FI[I]+FD[I])*GCON2; FT = W*TS; PERP[I] = PERP[I]+(PERV[I]+FT/2.0)*TS; PERV[I] = PERV[I]+FT; PERA[I] = W; } /* Time still to go. */ TLEFT = TSPAN-RTN; /* Is it either time to rectify the orbit or the last time through? */ if (fabs(RTN) >= AGEBEL || FB*TLEFT <= 0.0) { /* Yes: update to the end of the current timestep. */ T0 += RTN; RTN = 0.0; /* The body's unperturbed motion (AU,AU/s). */ palUe2pv(T0,UL,PV0,&J); if (J != 0) goto ABORT; /* Add and re-initialize the perturbations. */ for (I=0; I<3; I++) { J = I+3; PV[I] = PV0[I]+PERP[I]; PV[J] = PV0[J]+PERV[I]/PAL__SPD; PERP[I] = 0.0; PERV[I] = 0.0; PERA[I] = FD[I]*GCON2; } /* Use the position and velocity to set up new universal elements. */ palPv2ue(PV,T0,0.0,UL,&J); if (J != 0) goto ABORT; /* Adjust the timespan and time left. */ TSPAN = TFINAL-T0; TLEFT = TSPAN; } /* Next timestep. */ } /* Return the updated universal-element set. */ for (I=0; I<13; I++) { u[I] = UL[I]; } /* Finished. */ return; /* Miscellaneous numerical error. */ ABORT: *jstat = -1; return; } pal-0.5.0/palPlanel.c000644 000765 000024 00000020206 12366000607 014452 0ustar00timjstaff000000 000000 /* *+ * Name: * palPlanel * Purpose: * Transform conventional elements into position and velocity * Language: * Starlink ANSI C * Type of Module: * Library routine * Invocation: * void palPlanel ( double date, int jform, double epoch, double orbinc, * double anode, double perih, double aorq, double e, * double aorl, double dm, double pv[6], int *jstat ); * Arguments: * date = double (Given) * Epoch (TT MJD) of osculation (Note 1) * jform = int (Given) * Element set actually returned (1-3; Note 3) * epoch = double (Given) * Epoch of elements (TT MJD) (Note 4) * orbinc = double (Given) * inclination (radians) * anode = double (Given) * longitude of the ascending node (radians) * perih = double (Given) * longitude or argument of perihelion (radians) * aorq = double (Given) * mean distance or perihelion distance (AU) * e = double (Given) * eccentricity * aorl = double (Given) * mean anomaly or longitude (radians, JFORM=1,2 only) * dm = double (Given) * daily motion (radians, JFORM=1 only) * u = double [13] (Returned) * Universal orbital elements (Note 1) * (0) combined mass (M+m) * (1) total energy of the orbit (alpha) * (2) reference (osculating) epoch (t0) * (3-5) position at reference epoch (r0) * (6-8) velocity at reference epoch (v0) * (9) heliocentric distance at reference epoch * (10) r0.v0 * (11) date (t) * (12) universal eccentric anomaly (psi) of date, approx * jstat = int * (Returned) * status: 0 = OK * - -1 = illegal JFORM * - -2 = illegal E * - -3 = illegal AORQ * - -4 = illegal DM * - -5 = numerical error * Description: * Heliocentric position and velocity of a planet, asteroid or comet, * starting from orbital elements. * Authors: * PTW: Pat Wallace (STFC) * TIMJ: Tim Jenness (JAC, Hawaii) * {enter_new_authors_here} * Notes: * - DATE is the instant for which the prediction is required. It is * in the TT timescale (formerly Ephemeris Time, ET) and is a * Modified Julian Date (JD-2400000.5). * - The elements are with respect to the J2000 ecliptic and equinox. * - A choice of three different element-set options is available: * * Option JFORM = 1, suitable for the major planets: * * EPOCH = epoch of elements (TT MJD) * ORBINC = inclination i (radians) * ANODE = longitude of the ascending node, big omega (radians) * PERIH = longitude of perihelion, curly pi (radians) * AORQ = mean distance, a (AU) * E = eccentricity, e (range 0 to <1) * AORL = mean longitude L (radians) * DM = daily motion (radians) * * Option JFORM = 2, suitable for minor planets: * * EPOCH = epoch of elements (TT MJD) * ORBINC = inclination i (radians) * ANODE = longitude of the ascending node, big omega (radians) * PERIH = argument of perihelion, little omega (radians) * AORQ = mean distance, a (AU) * E = eccentricity, e (range 0 to <1) * AORL = mean anomaly M (radians) * * Option JFORM = 3, suitable for comets: * * EPOCH = epoch of elements and perihelion (TT MJD) * ORBINC = inclination i (radians) * ANODE = longitude of the ascending node, big omega (radians) * PERIH = argument of perihelion, little omega (radians) * AORQ = perihelion distance, q (AU) * E = eccentricity, e (range 0 to 10) * * Unused arguments (DM for JFORM=2, AORL and DM for JFORM=3) are not * accessed. * - Each of the three element sets defines an unperturbed heliocentric * orbit. For a given epoch of observation, the position of the body * in its orbit can be predicted from these elements, which are * called "osculating elements", using standard two-body analytical * solutions. However, due to planetary perturbations, a given set * of osculating elements remains usable for only as long as the * unperturbed orbit that it describes is an adequate approximation * to reality. Attached to such a set of elements is a date called * the "osculating epoch", at which the elements are, momentarily, * a perfect representation of the instantaneous position and * velocity of the body. * * Therefore, for any given problem there are up to three different * epochs in play, and it is vital to distinguish clearly between * them: * * . The epoch of observation: the moment in time for which the * position of the body is to be predicted. * * . The epoch defining the position of the body: the moment in time * at which, in the absence of purturbations, the specified * position (mean longitude, mean anomaly, or perihelion) is * reached. * * . The osculating epoch: the moment in time at which the given * elements are correct. * * For the major-planet and minor-planet cases it is usual to make * the epoch that defines the position of the body the same as the * epoch of osculation. Thus, only two different epochs are * involved: the epoch of the elements and the epoch of observation. * * For comets, the epoch of perihelion fixes the position in the * orbit and in general a different epoch of osculation will be * chosen. Thus, all three types of epoch are involved. * * For the present routine: * * . The epoch of observation is the argument DATE. * * . The epoch defining the position of the body is the argument * EPOCH. * * . The osculating epoch is not used and is assumed to be close * enough to the epoch of observation to deliver adequate accuracy. * If not, a preliminary call to sla_PERTEL may be used to update * the element-set (and its associated osculating epoch) by * applying planetary perturbations. * - The reference frame for the result is with respect to the mean * equator and equinox of epoch J2000. * - The algorithm was originally adapted from the EPHSLA program of * D.H.P.Jones (private communication, 1996). The method is based * on Stumpff's Universal Variables. * See Also: * Everhart, E. & Pitkin, E.T., Am.J.Phys. 51, 712, 1983. * History: * 2012-03-12 (TIMJ): * Initial version taken directly from SLA/F. * Adapted with permission from the Fortran SLALIB library. * {enter_further_changes_here} * Copyright: * Copyright (C) 2002 Rutherford Appleton Laboratory * Copyright (C) 2012 Science and Technology Facilities Council. * All Rights Reserved. * Licence: * This program is free software; you can redistribute it and/or * modify it under the terms of the GNU General Public License as * published by the Free Software Foundation; either version 3 of * the License, or (at your option) any later version. * * This program is distributed in the hope that it will be * useful, but WITHOUT ANY WARRANTY; without even the implied * warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR * PURPOSE. See the GNU General Public License for more details. * * You should have received a copy of the GNU General Public License * along with this program; if not, write to the Free Software * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, * MA 02110-1301, USA. * Bugs: * {note_any_bugs_here} *- */ #include "pal.h" void palPlanel ( double date, int jform, double epoch, double orbinc, double anode, double perih, double aorq, double e, double aorl, double dm, double pv[6], int *jstat ) { int j; double u[13]; /* Validate elements and convert to "universal variables" parameters. */ palEl2ue( date, jform, epoch, orbinc, anode, perih, aorq, e, aorl, dm, u, &j ); /* Determine the position and velocity */ if (j == 0) { palUe2pv( date, u, pv, &j); if (j != 0) j = -5; } /* Wrap up */ *jstat = j; } pal-0.5.0/palPlanet.c000644 000765 000024 00000005443 12366000611 014463 0ustar00timjstaff000000 000000 /* *+ * Name: * palPlanet * Purpose: * Approximate heliocentric position and velocity of major planet * Language: * Starlink ANSI C * Type of Module: * Library routine * Invocation: * void palPlanet ( double date, int np, double pv[6], int *j ); * Arguments: * date = double (Given) * TDB Modified Julian Date (JD-2400000.5). * np = int (Given) * planet (1=Mercury, 2=Venus, 3=EMB, 4=Mars, * 5=Jupiter, 6=Saturn, 7=Uranus, 8=Neptune) * pv = double [6] (Returned) * heliocentric x,y,z,xdot,ydot,zdot, J2000, equatorial triad * in units AU and AU/s. * j = int * (Returned) * - -2 = solution didn't converge. * - -1 = illegal np (1-8) * - 0 = OK * - +1 = warning: year outside 1000-3000 * Description: * Calculates the approximate heliocentric position and velocity of * the specified major planet. * Authors: * TIMJ: Tim Jenness (JAC, Hawaii) * {enter_new_authors_here} * Notes: * - See SOFA eraPlan94 for details * - Note that Pluto is supported in SLA/F but not in this routine * - Status -2 is equivalent to eraPlan94 status +2. * - Note that velocity units here match the SLA/F documentation. * History: * 2012-03-07 (TIMJ): * Initial version * Adapted with permission from the Fortran SLALIB library. * {enter_further_changes_here} * Copyright: * Copyright (C) 2012 Science and Technology Facilities Council. * All Rights Reserved. * Licence: * This program is free software; you can redistribute it and/or * modify it under the terms of the GNU General Public License as * published by the Free Software Foundation; either version 3 of * the License, or (at your option) any later version. * * This program is distributed in the hope that it will be * useful, but WITHOUT ANY WARRANTY; without even the implied * warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR * PURPOSE. See the GNU General Public License for more details. * * You should have received a copy of the GNU General Public License * along with this program; if not, write to the Free Software * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, * MA 02110-1301, USA. * Bugs: * {note_any_bugs_here} *- */ #include "pal.h" #include "palmac.h" #include "pal1sofa.h" void palPlanet ( double date, int np, double pv[6], int *j ) { double erapv[2][3]; *j = eraPlan94( PAL__MJD0, date, np, erapv ); /* Convert the outputs to the correct form and also correct AU/d to AU/s */ pv[0] = erapv[0][0]; pv[1] = erapv[0][1]; pv[2] = erapv[0][2]; pv[3] = erapv[1][0] / PAL__SPD; pv[4] = erapv[1][1] / PAL__SPD; pv[5] = erapv[1][2] / PAL__SPD; /* SLA compatibility for status */ if (*j == 2) *j = -2; } pal-0.5.0/palPlante.c000644 000765 000024 00000023624 12366000607 014471 0ustar00timjstaff000000 000000 /* *+ * Name: * palPlante * Purpose: * Topocentric RA,Dec of a Solar-System object from heliocentric orbital elements * Language: * Starlink ANSI C * Type of Module: * Library routine * Invocation: * void palPlante ( double date, double elong, double phi, int jform, * double epoch, double orbinc, double anode, double perih, * double aorq, double e, double aorl, double dm, * double *ra, double *dec, double *r, int *jstat ); * Description: * Topocentric apparent RA,Dec of a Solar-System object whose * heliocentric orbital elements are known. * Arguments: * date = double (Given) * TT MJD of observation (JD-2400000.5) * elong = double (Given) * Observer's east longitude (radians) * phi = double (Given) * Observer's geodetic latitude (radians) * jform = int (Given) * Element set actually returned (1-3; Note 6) * epoch = double (Given) * Epoch of elements (TT MJD) * orbinc = double (Given) * inclination (radians) * anode = double (Given) * longitude of the ascending node (radians) * perih = double (Given) * longitude or argument of perihelion (radians) * aorq = double (Given) * mean distance or perihelion distance (AU) * e = double (Given) * eccentricity * aorl = double (Given) * mean anomaly or longitude (radians, JFORM=1,2 only) * dm = double (Given) * daily motion (radians, JFORM=1 only) * ra = double * (Returned) * Topocentric apparent RA (radians) * dec = double * (Returned) * Topocentric apparent Dec (radians) * r = double * (Returned) * Distance from observer (AU) * jstat = int * (Returned) * status: 0 = OK * - -1 = illegal jform * - -2 = illegal e * - -3 = illegal aorq * - -4 = illegal dm * - -5 = numerical error * Authors: * PTW: Pat Wallace (STFC) * TIMJ: Tim Jenness (JAC, Hawaii) * {enter_new_authors_here} * Notes: * - DATE is the instant for which the prediction is required. It is * in the TT timescale (formerly Ephemeris Time, ET) and is a * Modified Julian Date (JD-2400000.5). * - The longitude and latitude allow correction for geocentric * parallax. This is usually a small effect, but can become * important for near-Earth asteroids. Geocentric positions can be * generated by appropriate use of routines palEpv (or palEvp) and * palUe2pv. * - The elements are with respect to the J2000 ecliptic and equinox. * - A choice of three different element-set options is available: * * Option JFORM = 1, suitable for the major planets: * * EPOCH = epoch of elements (TT MJD) * ORBINC = inclination i (radians) * ANODE = longitude of the ascending node, big omega (radians) * PERIH = longitude of perihelion, curly pi (radians) * AORQ = mean distance, a (AU) * E = eccentricity, e (range 0 to <1) * AORL = mean longitude L (radians) * DM = daily motion (radians) * * Option JFORM = 2, suitable for minor planets: * * EPOCH = epoch of elements (TT MJD) * ORBINC = inclination i (radians) * ANODE = longitude of the ascending node, big omega (radians) * PERIH = argument of perihelion, little omega (radians) * AORQ = mean distance, a (AU) * E = eccentricity, e (range 0 to <1) * AORL = mean anomaly M (radians) * * Option JFORM = 3, suitable for comets: * * EPOCH = epoch of elements and perihelion (TT MJD) * ORBINC = inclination i (radians) * ANODE = longitude of the ascending node, big omega (radians) * PERIH = argument of perihelion, little omega (radians) * AORQ = perihelion distance, q (AU) * E = eccentricity, e (range 0 to 10) * * Unused arguments (DM for JFORM=2, AORL and DM for JFORM=3) are not * accessed. * - Each of the three element sets defines an unperturbed heliocentric * orbit. For a given epoch of observation, the position of the body * in its orbit can be predicted from these elements, which are * called "osculating elements", using standard two-body analytical * solutions. However, due to planetary perturbations, a given set * of osculating elements remains usable for only as long as the * unperturbed orbit that it describes is an adequate approximation * to reality. Attached to such a set of elements is a date called * the "osculating epoch", at which the elements are, momentarily, * a perfect representation of the instantaneous position and * velocity of the body. * * Therefore, for any given problem there are up to three different * epochs in play, and it is vital to distinguish clearly between * them: * * . The epoch of observation: the moment in time for which the * position of the body is to be predicted. * * . The epoch defining the position of the body: the moment in time * at which, in the absence of purturbations, the specified * position (mean longitude, mean anomaly, or perihelion) is * reached. * * . The osculating epoch: the moment in time at which the given * elements are correct. * * For the major-planet and minor-planet cases it is usual to make * the epoch that defines the position of the body the same as the * epoch of osculation. Thus, only two different epochs are * involved: the epoch of the elements and the epoch of observation. * * For comets, the epoch of perihelion fixes the position in the * orbit and in general a different epoch of osculation will be * chosen. Thus, all three types of epoch are involved. * * For the present routine: * * . The epoch of observation is the argument DATE. * * . The epoch defining the position of the body is the argument * EPOCH. * * . The osculating epoch is not used and is assumed to be close * enough to the epoch of observation to deliver adequate accuracy. * If not, a preliminary call to sla_PERTEL may be used to update * the element-set (and its associated osculating epoch) by * applying planetary perturbations. * - Two important sources for orbital elements are Horizons, operated * by the Jet Propulsion Laboratory, Pasadena, and the Minor Planet * Center, operated by the Center for Astrophysics, Harvard. * * The JPL Horizons elements (heliocentric, J2000 ecliptic and * equinox) correspond to SLALIB arguments as follows. * * Major planets: * * JFORM = 1 * EPOCH = JDCT-2400000.5 * ORBINC = IN (in radians) * ANODE = OM (in radians) * PERIH = OM+W (in radians) * AORQ = A * E = EC * AORL = MA+OM+W (in radians) * DM = N (in radians) * * Epoch of osculation = JDCT-2400000.5 * * Minor planets: * * JFORM = 2 * EPOCH = JDCT-2400000.5 * ORBINC = IN (in radians) * ANODE = OM (in radians) * PERIH = W (in radians) * AORQ = A * E = EC * AORL = MA (in radians) * * Epoch of osculation = JDCT-2400000.5 * * Comets: * * JFORM = 3 * EPOCH = Tp-2400000.5 * ORBINC = IN (in radians) * ANODE = OM (in radians) * PERIH = W (in radians) * AORQ = QR * E = EC * * Epoch of osculation = JDCT-2400000.5 * * The MPC elements correspond to SLALIB arguments as follows. * * Minor planets: * * JFORM = 2 * EPOCH = Epoch-2400000.5 * ORBINC = Incl. (in radians) * ANODE = Node (in radians) * PERIH = Perih. (in radians) * AORQ = a * E = e * AORL = M (in radians) * * Epoch of osculation = Epoch-2400000.5 * * Comets: * * JFORM = 3 * EPOCH = T-2400000.5 * ORBINC = Incl. (in radians) * ANODE = Node. (in radians) * PERIH = Perih. (in radians) * AORQ = q * E = e * * Epoch of osculation = Epoch-2400000.5 * History: * 2012-03-12 (TIMJ): * Initial version direct conversion of SLA/F. * Adapted with permission from the Fortran SLALIB library. * {enter_further_changes_here} * Copyright: * Copyright (C) 2004 Patrick T. Wallace * Copyright (C) 2012 Science and Technology Facilities Council. * All Rights Reserved. * Licence: * This program is free software; you can redistribute it and/or * modify it under the terms of the GNU General Public License as * published by the Free Software Foundation; either version 3 of * the License, or (at your option) any later version. * * This program is distributed in the hope that it will be * useful, but WITHOUT ANY WARRANTY; without even the implied * warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR * PURPOSE. See the GNU General Public License for more details. * * You should have received a copy of the GNU General Public License * along with this program; if not, write to the Free Software * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, * MA 02110-1301, USA. * Bugs: * {note_any_bugs_here} *- */ #include "pal.h" void palPlante ( double date, double elong, double phi, int jform, double epoch, double orbinc, double anode, double perih, double aorq, double e, double aorl, double dm, double *ra, double *dec, double *r, int *jstat ) { double u[13]; /* Transform conventional elements to universal elements */ palEl2ue( date, jform, epoch, orbinc, anode, perih, aorq, e, aorl, dm, u, jstat ); /* If succcessful, make the prediction */ if (*jstat == 0) palPlantu( date, elong, phi, u, ra, dec, r, jstat ); } pal-0.5.0/palPlantu.c000644 000765 000024 00000013765 12366000611 014511 0ustar00timjstaff000000 000000 /* *+ * Name: * palPlantu * Purpose: * Topocentric RA,Dec of a Solar-System object from universal elements * Language: * Starlink ANSI C * Type of Module: * Library routine * Invocation: * void palPlantu ( double date, double elong, double phi, const double u[13], * double *ra, double *dec, double *r, int *jstat ) { * Description: * Topocentric apparent RA,Dec of a Solar-System object whose * heliocentric universal elements are known. * Arguments: * date = double (Given) * TT MJD of observation (JD-2400000.5) * elong = double (Given) * Observer's east longitude (radians) * phi = double (Given) * Observer's geodetic latitude (radians) * u = const double [13] (Given) * Universal orbital elements * - (0) combined mass (M+m) * - (1) total energy of the orbit (alpha) * - (2) reference (osculating) epoch (t0) * - (3-5) position at reference epoch (r0) * - (6-8) velocity at reference epoch (v0) * - (9) heliocentric distance at reference epoch * - (10) r0.v0 * - (11) date (t) * - (12) universal eccentric anomaly (psi) of date, approx * ra = double * (Returned) * Topocentric apparent RA (radians) * dec = double * (Returned) * Topocentric apparent Dec (radians) * r = double * (Returned) * Distance from observer (AU) * jstat = int * (Returned) * status: 0 = OK * - -1 = radius vector zero * - -2 = failed to converge * Authors: * PTW: Pat Wallace (STFC) * TIMJ: Tim Jenness (JAC, Hawaii) * {enter_new_authors_here} * Notes: * - DATE is the instant for which the prediction is required. It is * in the TT timescale (formerly Ephemeris Time, ET) and is a * Modified Julian Date (JD-2400000.5). * - The longitude and latitude allow correction for geocentric * parallax. This is usually a small effect, but can become * important for near-Earth asteroids. Geocentric positions can be * generated by appropriate use of routines palEpv (or palEvp) and * palUe2pv. * - The "universal" elements are those which define the orbit for the * purposes of the method of universal variables (see reference 2). * They consist of the combined mass of the two bodies, an epoch, * and the position and velocity vectors (arbitrary reference frame) * at that epoch. The parameter set used here includes also various * quantities that can, in fact, be derived from the other * information. This approach is taken to avoiding unnecessary * computation and loss of accuracy. The supplementary quantities * are (i) alpha, which is proportional to the total energy of the * orbit, (ii) the heliocentric distance at epoch, (iii) the * outwards component of the velocity at the given epoch, (iv) an * estimate of psi, the "universal eccentric anomaly" at a given * date and (v) that date. * - The universal elements are with respect to the J2000 equator and * equinox. * See Also: * - Sterne, Theodore E., "An Introduction to Celestial Mechanics", * Interscience Publishers Inc., 1960. Section 6.7, p199. * - Everhart, E. & Pitkin, E.T., Am.J.Phys. 51, 712, 1983. * History: * 2012-03-12 (TIMJ): * Initial version direct conversion of SLA/F. * Adapted with permission from the Fortran SLALIB library. * {enter_further_changes_here} * Copyright: * Copyright (C) 2005 Patrick T. Wallace * Copyright (C) 2012 Science and Technology Facilities Council. * All Rights Reserved. * Licence: * This program is free software; you can redistribute it and/or * modify it under the terms of the GNU General Public License as * published by the Free Software Foundation; either version 3 of * the License, or (at your option) any later version. * * This program is distributed in the hope that it will be * useful, but WITHOUT ANY WARRANTY; without even the implied * warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR * PURPOSE. See the GNU General Public License for more details. * * You should have received a copy of the GNU General Public License * along with this program; if not, write to the Free Software * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, * MA 02110-1301, USA. * Bugs: * {note_any_bugs_here} *- */ #include #include "pal.h" #include "palmac.h" #include "pal1sofa.h" void palPlantu ( double date, double elong, double phi, const double u[13], double *ra, double *dec, double *r, int *jstat ) { int i; double dvb[3], dpb[3], vsg[6], vsp[6], v[6], rmat[3][3], vgp[6], stl, vgo[6], dx, dy, dz, d, tl; double ucp[13]; /* To retain the stated const API and conform to the documentation we must copy the contents of the u array as palUe2pv updates the final two elements */ for (i=0;i<13;i++) { ucp[i] = u[i]; } /* Sun to geocentre (J2000, velocity in AU/s) */ palEpv( date, vsg, &(vsg[3]), dpb, dvb ); for (i=3; i < 6; i++) { vsg[i] /= PAL__SPD; } /* Sun to planet (J2000) */ palUe2pv( date, ucp, vsp, jstat ); /* Geocentre to planet (J2000) */ for (i=0; i<6; i++) { v[i] = vsp[i] - vsg[i]; } /* Precession and nutation to date */ palPrenut( 2000.0, date, rmat ); eraRxp(rmat, v, vgp); eraRxp( rmat, &(v[3]), &(vgp[3]) ); /* Geocentre to observer (date) */ stl = palGmst( date - palDt( palEpj(date) ) / PAL__SPD ) + elong; palPvobs( phi, 0.0, stl, vgo ); /* Observer to planet (date) */ for (i=0; i<6; i++) { v[i] = vgp[i] - vgo[i]; } /* Geometric distance (AU) */ dx = v[0]; dy = v[1]; dz = v[2]; d = sqrt( dx*dx + dy*dy + dz*dz ); /* Light time (sec) */ tl = PAL__CR * d; /* Correct position for planetary aberration */ for (i=0; i<3; i++) { v[i] -= tl * v[i+3]; } /* To RA,Dec */ eraC2s( v, ra, dec ); *ra = eraAnp( *ra ); *r = d; } pal-0.5.0/palPm.c000644 000765 000024 00000006265 12366000611 013617 0ustar00timjstaff000000 000000 /* *+ * Name: * palPm * Purpose: * Apply corrections for proper motion a star RA,Dec * Language: * Starlink ANSI C * Type of Module: * Library routine * Invocation: * void palPm ( double r0, double d0, double pr, double pd, * double px, double rv, double ep0, double ep1, * double *r1, double *d1 ); * Arguments: * r0 = double (Given) * RA at epoch ep0 (radians) * d0 = double (Given) * Dec at epoch ep0 (radians) * pr = double (Given) * RA proper motion in radians per year. * pd = double (Given) * Dec proper motion in radians per year. * px = double (Given) * Parallax (arcsec) * rv = double (Given) * Radial velocity (km/sec +ve if receding) * ep0 = double (Given) * Start epoch in years, assumed to be Julian. * ep1 = double (Given) * End epoch in years, assumed to be Julian. * r1 = double * (Returned) * RA at epoch ep1 (radians) * d1 = double * (Returned) * Dec at epoch ep1 (radians) * Description: * Apply corrections for proper motion to a star RA,Dec using the * SOFA routine eraStarpm. * Authors: * TIMJ: Tim Jenness (JAC, Hawaii) * {enter_new_authors_here} * Notes: * - Uses eraStarpm but ignores the status returns from that routine. * In particular note that parallax should not be zero when the * proper motions are non-zero. SLA/F allows parallax to be zero. * - Assumes all epochs are Julian epochs. * History: * 2012-03-02 (TIMJ): * Initial version * Adapted with permission from the Fortran SLALIB library. * {enter_further_changes_here} * Copyright: * Copyright (C) 2012 Science and Technology Facilities Council. * All Rights Reserved. * Licence: * This program is free software; you can redistribute it and/or * modify it under the terms of the GNU General Public License as * published by the Free Software Foundation; either version 3 of * the License, or (at your option) any later version. * * This program is distributed in the hope that it will be * useful, but WITHOUT ANY WARRANTY; without even the implied * warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR * PURPOSE. See the GNU General Public License for more details. * * You should have received a copy of the GNU General Public License * along with this program; if not, write to the Free Software * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, * MA 02110-1301, USA. * Bugs: * {note_any_bugs_here} *- */ #include "pal.h" #include "pal1sofa.h" void palPm ( double r0, double d0, double pr, double pd, double px, double rv, double ep0, double ep1, double *r1, double *d1 ) { int status; double ep1a, ep1b, ep2a, ep2b; double pmr2, pmd2, px2, rv2; /* SOFA requires the epochs in TDB MJD so we have to assume that the supplied epochs are Julian years */ eraEpj2jd( ep0, &ep1a, &ep1b ); eraEpj2jd( ep1, &ep2a, &ep2b ); status = eraStarpm( r0, d0, pr, pd, px, rv, ep1a, ep1b, ep2a, ep2b, r1, d1, &pmr2, &pmd2, &px2, &rv2 ); } pal-0.5.0/palPrebn.c000644 000765 000024 00000005533 12366000607 014313 0ustar00timjstaff000000 000000 /* *+ * Name: * palPrebn * Purpose: * Generate the matrix of precession between two objects (old) * Language: * Starlink ANSI C * Type of Module: * Library routine * Invocation: * void palPrebn ( double bep0, double bep1, double rmatp[3][3] ); * Arguments: * bep0 = double (Given) * Beginning Besselian epoch. * bep1 = double (Given) * Ending Besselian epoch * rmatp = double[3][3] (Returned) * precession matrix in the sense V(BEP1) = RMATP * V(BEP0) * Description: * Generate the matrix of precession between two epochs, * using the old, pre-IAU1976, Bessel-Newcomb model, using * Kinoshita's formulation * Authors: * PTW: Pat Wallace (STFC) * TIMJ: Tim Jenness (JAC, Hawaii) * {enter_new_authors_here} * See Also: * Kinoshita, H. (1975) 'Formulas for precession', SAO Special * Report No. 364, Smithsonian Institution Astrophysical * Observatory, Cambridge, Massachusetts. * History: * 2012-02-12(TIMJ): * Initial version with documentation taken from Fortran SLA * Adapted with permission from the Fortran SLALIB library. * {enter_further_changes_here} * Copyright: * Copyright (C) 1996 Rutherford Appleton Laboratory * Copyright (C) 2012 Science and Technology Facilities Council. * All Rights Reserved. * Licence: * This program is free software: you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * License as published by the Free Software Foundation, either * version 3 of the License, or (at your option) any later * version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Lesser General Public License for more details. * * You should have received a copy of the GNU Lesser General * License along with this program. If not, see * . * Bugs: * {note_any_bugs_here} *- */ #include "pal.h" #include "palmac.h" void palPrebn ( double bep0, double bep1, double rmatp[3][3] ) { double t,bigt, zeta, theta, z, tas2r, w; /* Interval between basic epoch B1850.0 and beginning epoch in TC */ bigt = (bep0-1850)/100.; /* Interval over which precession required, in tropical centuries */ t = (bep1-bep0)/100.; /* Euler angles */ tas2r = t * PAL__DAS2R; w = 2303.5548 + ( 1.39720 + 0.000059 * bigt) * bigt; zeta = ( w + ( 0.30242 - 0.000269 * bigt + 0.017996 * t ) * t ) * tas2r; z = ( w + ( 1.09478 + 0.000387 * bigt + 0.018324 * t ) * t ) * tas2r; theta = ( 2005.1125 + ( -0.85294 - 0.000365 * bigt ) * bigt + (-0.42647 - 0.000365 * bigt - 0.041802 * t ) * t ) * tas2r; /* Rotation matrix */ palDeuler("ZYZ", -zeta, theta, -z, rmatp); } pal-0.5.0/palPrec.c000644 000765 000024 00000006051 12366000611 014125 0ustar00timjstaff000000 000000 /* *+ * Name: * palPrec * Purpose: * Form the matrix of precession between two epochs (IAU 2006) * Language: * Starlink ANSI C * Type of Module: * Library routine * Invocation: * palPrec( double ep0, double ep1, double rmatp[3][3] ) * Arguments: * ep0 = double (Given) * Beginning epoch * ep1 = double (Given) * Ending epoch * rmatp = double[3][3] (Returned) * Precession matrix * Description: * The IAU 2006 precession matrix from ep0 to ep1 is found and * returned. The matrix is in the sense V(EP1) = RMATP * V(EP0). * The epochs are TDB (loosely TT) Julian epochs. * * Though the matrix method itself is rigorous, the precession * angles are expressed through canonical polynomials which are * valid only for a limited time span of a few hundred years around * the current epoch. * Authors: * PTW: Pat Wallace (STFC) * DSB: David Berry (JAC, Hawaii) * {enter_new_authors_here} * History: * 2012-02-10 (DSB): * Initial version with documentation taken from Fortran SLA * Adapted with permission from the Fortran SLALIB library. * {enter_further_changes_here} * Copyright: * Copyright (C) 1996 Rutherford Appleton Laboratory * Copyright (C) 2012 Science and Technology Facilities Council. * All Rights Reserved. * Licence: * This program is free software: you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * License as published by the Free Software Foundation, either * version 3 of the License, or (at your option) any later * version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Lesser General Public License for more details. * * You should have received a copy of the GNU Lesser General * License along with this program. If not, see * . * Bugs: * {note_any_bugs_here} *- */ #include "pal.h" #include "pal1sofa.h" void palPrec( double ep0, double ep1, double rmatp[3][3] ){ /* Local Variables: */ double rmatq[3][3]; double ep0_days; double ep1_days; /* Convert supplied dates to days since J2000 */ ep0_days = ( ep0 - 2000.0 )*ERFA_DJY; ep1_days = ( ep1 - 2000.0 )*ERFA_DJY; /* If beginning epoch is J2000, just return the rotation matrix from J2000 to EP1. */ if( ep0 == 2000.0 ) { eraPmat06( ERFA_DJ00, ep1_days, rmatp ); /* If end epoch is J2000, get the rotation matrix from J2000 to EP0 and then transpose it to get the rotation matrix from EP0 to J2000. */ } else if( ep1 == 2000.0 ) { eraPmat06( ERFA_DJ00, ep0_days, rmatp ); eraTr( rmatp, rmatp ); /* Otherwise. get the two matrices used above and multiply them together. */ } else { eraPmat06( ERFA_DJ00, ep0_days, rmatp ); eraTr( rmatp, rmatp ); eraPmat06( ERFA_DJ00, ep1_days, rmatq ); eraRxr( rmatp, rmatq, rmatp ); } } pal-0.5.0/palPreces.c000644 000765 000024 00000006641 12366000611 014462 0ustar00timjstaff000000 000000 /* *+ * Name: * palPreces * Purpose: * Precession - either FK4 or FK5 as required. * Language: * Starlink ANSI C * Type of Module: * Library routine * Invocation: * void palPreces ( const char sys[3], double ep0, double ep1, * double *ra, double *dc ); * Arguments: * sys = const char [3] (Given) * Precession to be applied: FK4 or FK5. Case insensitive. * ep0 = double (Given) * Starting epoch. * ep1 = double (Given) * Ending epoch * ra = double * (Given & Returned) * On input the RA mean equator & equinox at epoch ep0. On exit * the RA mean equator & equinox of epoch ep1. * dec = double * (Given & Returned) * On input the dec mean equator & equinox at epoch ep0. On exit * the dec mean equator & equinox of epoch ep1. * Description: * Precess coordinates using the appropriate system and epochs. * Authors: * PTW: Patrick T. Wallace * TIMJ: Tim Jenness (JAC, Hawaii) * {enter_new_authors_here} * Notes: * - Uses palPrec for FK5 data and palPrebn for FK4 data. * - The epochs are Besselian if SYSTEM='FK4' and Julian if 'FK5'. * For example, to precess coordinates in the old system from * equinox 1900.0 to 1950.0 the call would be: * palPreces( "FK4", 1900.0, 1950.0, &ra, &dc ); * - This routine will NOT correctly convert between the old and * the new systems - for example conversion from B1950 to J2000. * For these purposes see palFk425, palFk524, palFk45z and * palFk54z. * - If an invalid SYSTEM is supplied, values of -99D0,-99D0 will * be returned for both RA and DC. * History: * 2012-03-02 (TIMJ): * Initial version * Adapted with permission from the Fortran SLALIB library. * {enter_further_changes_here} * Copyright: * Copyright (C) 1995 Rutherford Appleton Laboratory * Copyright (C) 2012 Science and Technology Facilities Council. * All Rights Reserved. * Licence: * This program is free software; you can redistribute it and/or * modify it under the terms of the GNU General Public License as * published by the Free Software Foundation; either version 3 of * the License, or (at your option) any later version. * * This program is distributed in the hope that it will be * useful, but WITHOUT ANY WARRANTY; without even the implied * warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR * PURPOSE. See the GNU General Public License for more details. * * You should have received a copy of the GNU General Public License * along with this program; if not, write to the Free Software * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, * MA 02110-1301, USA. * Bugs: * {note_any_bugs_here} *- */ #include "pal.h" #include "pal1sofa.h" #include void palPreces ( const char sys[3], double ep0, double ep1, double *ra, double *dc ) { double pm[3][3]; double v1[3]; double v2[3]; /* Generate appropriate precession matrix */ if ( strncasecmp( "FK4", sys, 3 ) == 0 ) { palPrebn( ep0, ep1, pm ); } else if (strncasecmp( "FK5", sys, 3 ) == 0 ) { palPrec( ep0, ep1, pm ); } else { *ra = -99.0; *dc = -99.0; return; } /* Convert RA,Dec to x,y,z */ eraS2c( *ra, *dc, v1 ); /* Precess */ eraRxp( pm, v1, v2 ); /* Back to RA,Dec */ eraC2s( v2, ra, dc ); *ra = eraAnp( *ra ); } pal-0.5.0/palPrenut.c000644 000765 000024 00000005444 12366000611 014516 0ustar00timjstaff000000 000000 /* *+ * Name: * palPrenut * Purpose: * Form the matrix of bias-precession-nutation (IAU 2006/2000A) * Language: * Starlink ANSI C * Type of Module: * Library routine * Invocation: * void palPrenut( double epoch, double date, double rmatpn[3][3] ) * Arguments: * epoch = double (Returned) * Julian epoch for mean coordinates. * date = double (Returned) * Modified Julian Date (JD-2400000.5) for true coordinates. * rmatpn = double[3][3] (Returned) * combined NPB matrix * Description: * Form the matrix of bias-precession-nutation (IAU 2006/2000A). * The epoch and date are TT (but TDB is usually close enough). * The matrix is in the sense v(true) = rmatpn * v(mean). * Authors: * PTW: Pat Wallace (STFC) * {enter_new_authors_here} * History: * 2012-02-10 (PTW): * Initial version. * Adapted with permission from the Fortran SLALIB library. * {enter_further_changes_here} * Copyright: * Copyright (C) 2012 Science and Technology Facilities Council. * All Rights Reserved. * Licence: * This program is free software: you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * License as published by the Free Software Foundation, either * version 3 of the License, or (at your option) any later * version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Lesser General Public License for more details. * * You should have received a copy of the GNU Lesser General * License along with this program. If not, see * . * Bugs: * {note_any_bugs_here} *- */ #include "pal.h" #include "palmac.h" #include "pal1sofa.h" void palPrenut ( double epoch, double date, double rmatpn[3][3] ){ /* Local Variables: */ double bpa; double bpia; double bqa; double chia; double d1; double d2; double eps0; double epsa; double gam; double oma; double pa; double phi; double pia; double psi; double psia; double r1[3][3]; double r2[3][3]; double thetaa; double za; double zetaa; /* Specified Julian epoch as a 2-part JD. */ eraEpj2jd( epoch, &d1, &d2 ); /* P matrix, from specified epoch to J2000.0. */ eraP06e( d1, d2, &eps0, &psia, &oma, &bpa, &bqa, &pia, &bpia, &epsa, &chia, &za, &zetaa, &thetaa, &pa, &gam, &phi, &psi ); eraIr( r1 ); eraRz( -chia, r1 ); eraRx( oma, r1 ); eraRz( psia, r1 ); eraRx( -eps0, r1 ); /* NPB matrix, from J2000.0 to date. */ eraPnm06a( PAL__MJD0, date, r2 ); /* NPB matrix, from specified epoch to date. */ eraRxr( r2, r1, rmatpn ); } pal-0.5.0/palPv2el.c000644 000765 000024 00000027424 12366000611 014233 0ustar00timjstaff000000 000000 /* *+ * Name: * palPv2el * Purpose: * Position velocity to heliocentirc osculating elements * Language: * Starlink ANSI C * Type of Module: * Library routine * Invocation: * void palPv2el ( const double pv[6], double date, double pmass, int jformr, * int *jform, double *epoch, double *orbinc, * double *anode, double *perih, double *aorq, double *e, * double *aorl, double *dm, int *jstat ); * Arguments: * pv = const double [6] (Given) * Heliocentric x,y,z,xdot,ydot,zdot of date, * J2000 equatorial triad (AU,AU/s; Note 1) * date = double (Given) * Date (TT Modified Julian Date = JD-2400000.5) * pmass = double (Given) * Mass of the planet (Sun=1; Note 2) * jformr = int (Given) * Requested element set (1-3; Note 3) * jform = int * (Returned) * Element set actually returned (1-3; Note 4) * epoch = double * (Returned) * Epoch of elements (TT MJD) * orbinc = double * (Returned) * inclination (radians) * anode = double * (Returned) * longitude of the ascending node (radians) * perih = double * (Returned) * longitude or argument of perihelion (radians) * aorq = double * (Returned) * mean distance or perihelion distance (AU) * e = double * (Returned) * eccentricity * aorl = double * (Returned) * mean anomaly or longitude (radians, JFORM=1,2 only) * dm = double * (Returned) * daily motion (radians, JFORM=1 only) * jstat = int * (Returned) * status: 0 = OK * - -1 = illegal PMASS * - -2 = illegal JFORMR * - -3 = position/velocity out of range * Description: * Heliocentric osculating elements obtained from instantaneous position * and velocity. * Authors: * PTW: Pat Wallace (STFC) * TIMJ: Tim Jenness (JAC, Hawaii) * {enter_new_authors_here} * Notes: * - The PV 6-vector is with respect to the mean equator and equinox of * epoch J2000. The orbital elements produced are with respect to * the J2000 ecliptic and mean equinox. * - The mass, PMASS, is important only for the larger planets. For * most purposes (e.g. asteroids) use 0D0. Values less than zero * are illegal. * - Three different element-format options are supported: * * Option JFORM=1, suitable for the major planets: * * EPOCH = epoch of elements (TT MJD) * ORBINC = inclination i (radians) * ANODE = longitude of the ascending node, big omega (radians) * PERIH = longitude of perihelion, curly pi (radians) * AORQ = mean distance, a (AU) * E = eccentricity, e * AORL = mean longitude L (radians) * DM = daily motion (radians) * * Option JFORM=2, suitable for minor planets: * * EPOCH = epoch of elements (TT MJD) * ORBINC = inclination i (radians) * ANODE = longitude of the ascending node, big omega (radians) * PERIH = argument of perihelion, little omega (radians) * AORQ = mean distance, a (AU) * E = eccentricity, e * AORL = mean anomaly M (radians) * * Option JFORM=3, suitable for comets: * * EPOCH = epoch of perihelion (TT MJD) * ORBINC = inclination i (radians) * ANODE = longitude of the ascending node, big omega (radians) * PERIH = argument of perihelion, little omega (radians) * AORQ = perihelion distance, q (AU) * E = eccentricity, e * * - It may not be possible to generate elements in the form * requested through JFORMR. The caller is notified of the form * of elements actually returned by means of the JFORM argument: * JFORMR JFORM meaning * * 1 1 OK - elements are in the requested format * 1 2 never happens * 1 3 orbit not elliptical * * 2 1 never happens * 2 2 OK - elements are in the requested format * 2 3 orbit not elliptical * * 3 1 never happens * 3 2 never happens * 3 3 OK - elements are in the requested format * * - The arguments returned for each value of JFORM (cf Note 5: JFORM * may not be the same as JFORMR) are as follows: * * JFORM 1 2 3 * EPOCH t0 t0 T * ORBINC i i i * ANODE Omega Omega Omega * PERIH curly pi omega omega * AORQ a a q * E e e e * AORL L M - * DM n - - * * where: * * t0 is the epoch of the elements (MJD, TT) * T " epoch of perihelion (MJD, TT) * i " inclination (radians) * Omega " longitude of the ascending node (radians) * curly pi " longitude of perihelion (radians) * omega " argument of perihelion (radians) * a " mean distance (AU) * q " perihelion distance (AU) * e " eccentricity * L " longitude (radians, 0-2pi) * M " mean anomaly (radians, 0-2pi) * n " daily motion (radians) * - means no value is set * * - At very small inclinations, the longitude of the ascending node * ANODE becomes indeterminate and under some circumstances may be * set arbitrarily to zero. Similarly, if the orbit is close to * circular, the true anomaly becomes indeterminate and under some * circumstances may be set arbitrarily to zero. In such cases, * the other elements are automatically adjusted to compensate, * and so the elements remain a valid description of the orbit. * - The osculating epoch for the returned elements is the argument * DATE. * * - Reference: Sterne, Theodore E., "An Introduction to Celestial * Mechanics", Interscience Publishers, 1960 * History: * 2012-03-09 (TIMJ): * Initial version converted from SLA/F. * Adapted with permission from the Fortran SLALIB library. * {enter_further_changes_here} * Copyright: * Copyright (C) 2005 Patrick T. Wallace * Copyright (C) 2012 Science and Technology Facilities Council. * All Rights Reserved. * Licence: * This program is free software; you can redistribute it and/or * modify it under the terms of the GNU General Public License as * published by the Free Software Foundation; either version 3 of * the License, or (at your option) any later version. * * This program is distributed in the hope that it will be * useful, but WITHOUT ANY WARRANTY; without even the implied * warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR * PURPOSE. See the GNU General Public License for more details. * * You should have received a copy of the GNU General Public License * along with this program; if not, write to the Free Software * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, * MA 02110-1301, USA. * Bugs: * {note_any_bugs_here} *- */ #include #include "pal1sofa.h" #include "pal.h" #include "palmac.h" void palPv2el ( const double pv[6], double date, double pmass, int jformr, int *jform, double *epoch, double *orbinc, double *anode, double *perih, double *aorq, double *e, double *aorl, double *dm, int *jstat ) { /* Sin and cos of J2000 mean obliquity (IAU 1976) */ const double SE = 0.3977771559319137; const double CE = 0.9174820620691818; /* Minimum allowed distance (AU) and speed (AU/day) */ const double RMIN = 1e-3; const double VMIN = 1e-8; /* How close to unity the eccentricity has to be to call it a parabola */ const double PARAB = 1.0e-8; double X,Y,Z,XD,YD,ZD,R,V2,V,RDV,GMU,HX,HY,HZ, HX2PY2,H2,H,OI,BIGOM,AR,ECC,S,C,AT,U,OM, GAR3,EM1,EP1,HAT,SHAT,CHAT,AE,AM,DN,PL, EL,Q,TP,THAT,THHF,F; int JF; /* Validate arguments PMASS and JFORMR.*/ if (pmass < 0.0) { *jstat = -1; return; } if (jformr < 1 || jformr > 3) { *jstat = -2; return; } /* Provisionally assume the elements will be in the chosen form. */ JF = jformr; /* Rotate the position from equatorial to ecliptic coordinates. */ X = pv[0]; Y = pv[1]*CE+pv[2]*SE; Z = -pv[1]*SE+pv[2]*CE; /* Rotate the velocity similarly, scaling to AU/day. */ XD = PAL__SPD*pv[3]; YD = PAL__SPD*(pv[4]*CE+pv[5]*SE); ZD = PAL__SPD*(-pv[4]*SE+pv[5]*CE); /* Distance and speed. */ R = sqrt(X*X+Y*Y+Z*Z); V2 = XD*XD+YD*YD+ZD*ZD; V = sqrt(V2); /* Reject unreasonably small values. */ if (R < RMIN || V < VMIN) { *jstat = -3; return; } /* R dot V. */ RDV = X*XD+Y*YD+Z*ZD; /* Mu. */ GMU = (1.0+pmass)*PAL__GCON*PAL__GCON; /* Vector angular momentum per unit reduced mass. */ HX = Y*ZD-Z*YD; HY = Z*XD-X*ZD; HZ = X*YD-Y*XD; /* Areal constant. */ HX2PY2 = HX*HX+HY*HY; H2 = HX2PY2+HZ*HZ; H = sqrt(H2); /* Inclination. */ OI = atan2(sqrt(HX2PY2),HZ); /* Longitude of ascending node. */ if (HX != 0.0 || HY != 0.0) { BIGOM = atan2(HX,-HY); } else { BIGOM=0.0; } /* Reciprocal of mean distance etc. */ AR = 2.0/R-V2/GMU; /* Eccentricity. */ ECC = sqrt(DMAX(1.0-AR*H2/GMU,0.0)); /* True anomaly. */ S = H*RDV; C = H2-R*GMU; if (S != 0.0 || C != 0.0) { AT = atan2(S,C); } else { AT = 0.0; } /* Argument of the latitude. */ S = sin(BIGOM); C = cos(BIGOM); U = atan2((-X*S+Y*C)*cos(OI)+Z*sin(OI),X*C+Y*S); /* Argument of perihelion. */ OM = U-AT; /* Capture near-parabolic cases. */ if (fabs(ECC-1.0) < PARAB) ECC=1.0; /* Comply with JFORMR = 1 or 2 only if orbit is elliptical. */ if (ECC > 1.0) JF=3; /* Functions. */ GAR3 = GMU*AR*AR*AR; EM1 = ECC-1.0; EP1 = ECC+1.0; HAT = AT/2.0; SHAT = sin(HAT); CHAT = cos(HAT); /* Variable initializations to avoid compiler warnings. */ AM = 0.0; DN = 0.0; PL = 0.0; EL = 0.0; Q = 0.0; TP = 0.0; /* Ellipse? */ if (ECC < 1.0 ) { /* Eccentric anomaly. */ AE = 2.0*atan2(sqrt(-EM1)*SHAT,sqrt(EP1)*CHAT); /* Mean anomaly. */ AM = AE-ECC*sin(AE); /* Daily motion. */ DN = sqrt(GAR3); } /* "Major planet" element set? */ if (JF == 1) { /* Longitude of perihelion. */ PL = BIGOM+OM; /* Longitude at epoch. */ EL = PL+AM; } /* "Comet" element set? */ if (JF == 3) { /* Perihelion distance. */ Q = H2/(GMU*EP1); /* Ellipse, parabola, hyperbola? */ if (ECC < 1.0) { /* Ellipse: epoch of perihelion. */ TP = date-AM/DN; } else { /* Parabola or hyperbola: evaluate tan ( ( true anomaly ) / 2 ) */ THAT = SHAT/CHAT; if (ECC == 1.0) { /* Parabola: epoch of perihelion. */ TP = date-THAT*(1.0+THAT*THAT/3.0)*H*H2/(2.0*GMU*GMU); } else { /* Hyperbola: epoch of perihelion. */ THHF = sqrt(EM1/EP1)*THAT; F = log(1.0+THHF)-log(1.0-THHF); TP = date-(ECC*sinh(F)-F)/sqrt(-GAR3); } } } /* Return the appropriate set of elements. */ *jform = JF; *orbinc = OI; *anode = eraAnp(BIGOM); *e = ECC; if (JF == 1) { *perih = eraAnp(PL); *aorl = eraAnp(EL); *dm = DN; } else { *perih = eraAnp(OM); if (JF == 2) *aorl = eraAnp(AM); } if (JF != 3) { *epoch = date; *aorq = 1.0/AR; } else { *epoch = TP; *aorq = Q; } *jstat = 0; } pal-0.5.0/palPv2ue.c000644 000765 000024 00000012530 12366000607 014241 0ustar00timjstaff000000 000000 /* *+ * Name: * palPv2ue * Purpose: * Universal elements to position and velocity. * Language: * Starlink ANSI C * Type of Module: * Library routine * Invocation: * void palPv2ue( const double pv[6], double date, double pmass, * double u[13], int * jstat ); * Arguments: * pv = double [6] (Given) * Heliocentric x,y,z,xdot,ydot,zdot of date, (AU,AU/s; Note 1) * date = double (Given) * Date (TT modified Julian Date = JD-2400000.5) * pmass = double (Given) * Mass of the planet (Sun=1; note 2) * u = double [13] (Returned) * Universal orbital elements (Note 3) * * - (0) combined mass (M+m) * - (1) total energy of the orbit (alpha) * - (2) reference (osculating) epoch (t0) * - (3-5) position at reference epoch (r0) * - (6-8) velocity at reference epoch (v0) * - (9) heliocentric distance at reference epoch * - (10) r0.v0 * - (11) date (t) * - (12) universal eccentric anomaly (psi) of date, approx * jstat = int * (Returned) * status: 0 = OK * - -1 = illegal PMASS * - -2 = too close to Sun * - -3 = too slow * Description: * Construct a universal element set based on an instantaneous position * and velocity. * Authors: * PTW: Pat Wallace (STFC) * TIMJ: Tim Jenness (JAC, Hawaii) * {enter_new_authors_here} * Notes: * - The PV 6-vector can be with respect to any chosen inertial frame, * and the resulting universal-element set will be with respect to * the same frame. A common choice will be mean equator and ecliptic * of epoch J2000. * - The mass, PMASS, is important only for the larger planets. For * most purposes (e.g. asteroids) use 0D0. Values less than zero * are illegal. * - The "universal" elements are those which define the orbit for the * purposes of the method of universal variables (see reference). * They consist of the combined mass of the two bodies, an epoch, * and the position and velocity vectors (arbitrary reference frame) * at that epoch. The parameter set used here includes also various * quantities that can, in fact, be derived from the other * information. This approach is taken to avoiding unnecessary * computation and loss of accuracy. The supplementary quantities * are (i) alpha, which is proportional to the total energy of the * orbit, (ii) the heliocentric distance at epoch, (iii) the * outwards component of the velocity at the given epoch, (iv) an * estimate of psi, the "universal eccentric anomaly" at a given * date and (v) that date. * - Reference: Everhart, E. & Pitkin, E.T., Am.J.Phys. 51, 712, 1983. * History: * 2012-03-09 (TIMJ): * Initial version from the SLA/F implementation. * Adapted with permission from the Fortran SLALIB library. * {enter_further_changes_here} * Copyright: * Copyright (C) 1999 Rutherford Appleton Laboratory * Copyright (C) 2012 Science and Technology Facilities Council. * All Rights Reserved. * Licence: * This program is free software; you can redistribute it and/or * modify it under the terms of the GNU General Public License as * published by the Free Software Foundation; either version 3 of * the License, or (at your option) any later version. * * This program is distributed in the hope that it will be * useful, but WITHOUT ANY WARRANTY; without even the implied * warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR * PURPOSE. See the GNU General Public License for more details. * * You should have received a copy of the GNU General Public License * along with this program; if not, write to the Free Software * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, * MA 02110-1301, USA. * Bugs: * {note_any_bugs_here} *- */ #include #include "pal.h" #include "palmac.h" void palPv2ue( const double pv[6], double date, double pmass, double u[13], int * jstat ) { /* Canonical days to seconds */ const double CD2S = PAL__GCON / PAL__SPD; /* Minimum allowed distance (AU) and speed (AU per canonical day) */ const double RMIN = 1e-3; const double VMIN = 1e-3; double T0,CM,X,Y,Z,XD,YD,ZD,R,V2,V,ALPHA,RDV; /* Reference epoch. */ T0 = date; /* Combined mass (mu=M+m). */ if (pmass < 0.0 ) { /* Negative planet mass */ *jstat = -1; return; } CM = 1.0+pmass; /* Unpack the state vector, expressing velocity in AU per canonical day. */ X = pv[0]; Y = pv[1]; Z = pv[2]; XD = pv[3]/CD2S; YD = pv[4]/CD2S; ZD = pv[5]/CD2S; /* Heliocentric distance, and speed. */ R = sqrt(X*X+Y*Y+Z*Z); V2 = XD*XD+YD*YD+ZD*ZD; V = sqrt(V2); /* Reject unreasonably small values. */ if (R < RMIN) { /* Too close */ *jstat = -2; return; } if (V < VMIN) { /* Too slow */ *jstat = -3; return; } /* Total energy of the orbit. */ ALPHA = V2-2.0*CM/R; /* Outward component of velocity. */ RDV = X*XD+Y*YD+Z*ZD; /* Construct the universal-element set. */ u[0] = CM; u[1] = ALPHA; u[2] = T0; u[3] = X; u[4] = Y; u[5] = Z; u[6] = XD; u[7] = YD; u[8] = ZD; u[9] = R; u[10] = RDV; u[11] = T0; u[12] = 0.0; *jstat = 0; return; } pal-0.5.0/palPvobs.c000644 000765 000024 00000005077 12366000653 014342 0ustar00timjstaff000000 000000 /* *+ * Name: * palPvobs * Purpose: * Position and velocity of an observing station. * Language: * Starlink ANSI C * Type of Module: * Library routine * Invocation: * palPvobs( double p, double h, double stl, double pv[6] ) * Arguments: * p = double (Given) * Latitude (geodetic, radians). * h = double (Given) * Height above reference spheroid (geodetic, metres). * stl = double (Given) * Local apparent sidereal time (radians). * pv = double[ 6 ] (Returned) * position/velocity 6-vector (AU, AU/s, true equator * and equinox of date). * Description: * Returns the position and velocity of an observing station. * Notes: * - The WGS84 reference ellipsoid is used. * Authors: * PTW: Pat Wallace (STFC) * DSB: David Berry (JAC, Hawaii) * {enter_new_authors_here} * History: * 2012-02-16 (DSB): * Initial version. * Adapted with permission from the Fortran SLALIB library. * {enter_further_changes_here} * Copyright: * Copyright (C) 1995 Rutherford Appleton Laboratory * Copyright (C) 2012 Science and Technology Facilities Council. * All Rights Reserved. * Licence: * This program is free software: you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * License as published by the Free Software Foundation, either * version 3 of the License, or (at your option) any later * version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Lesser General Public License for more details. * * You should have received a copy of the GNU Lesser General * License along with this program. If not, see * . * Bugs: * {note_any_bugs_here} *- */ #include "pal.h" #include "palmac.h" #include "palmac.h" #include "pal1sofa.h" void palPvobs( double p, double h, double stl, double pv[6] ){ /* Local Variables: */ double xyz[3], z, r, s, c, v; /* Geodetic to geocentric conversion (WGS84 reference ellipsoid). */ eraGd2gc( ERFA_WGS84, 0.0, p, h, xyz ); /* Convert from metres to AU */ r = xyz[ 0 ]/ERFA_DAU; z = xyz[ 2 ]/ERFA_DAU; /* Functions of ST. */ s = sin( stl ); c = cos( stl ); /* Speed. */ v = PAL__SR*r; /* Position. */ pv[ 0 ] = r*c; pv[ 1 ] = r*s; pv[ 2 ] = z; /* Velocity. */ pv[ 3 ] = -v*s; pv[ 4 ] = v*c; pv[ 5 ] = 0.0; } pal-0.5.0/palRdplan.c000644 000765 000024 00000012733 12366000611 014460 0ustar00timjstaff000000 000000 /* *+ * Name: * palRdplan * Purpose: * Approximate topocentric apparent RA,Dec of a planet * Language: * Starlink ANSI C * Type of Module: * Library routine * Invocation: * void palRdplan( double date, int np, double elong, double phi, * double * ra, double * dec, double * diam ); * Arguments: * date = double (Given) * MJD of observation (JD-2400000.5) in TDB. For all practical * purposes TT can be used instead of TDB, and for many applications * UT will do (except for the Moon). * np = int (Given) * Planet: 1 = Mercury * 2 = Venus * 3 = Moon * 4 = Mars * 5 = Jupiter * 6 = Saturn * 7 = Uranus * 8 = Neptune * else = Sun * elong = double (Given) * Observer's east longitude (radians) * phi = double (Given) * Observer's geodetic latitude (radians) * ra = double * (Returned) * RA (topocentric apparent, radians) * dec = double * (Returned) * Dec (topocentric apparent, radians) * diam = double * (Returned) * Angular diameter (equatorial, radians) * Description: * Approximate topocentric apparent RA,Dec of a planet, and its * angular diameter. * Authors: * PTW: Patrick T. Wallace * TIMJ: Tim Jenness (JAC, Hawaii) * {enter_new_authors_here} * Notes: * - Unlike with slaRdplan, Pluto is not supported. * - The longitude and latitude allow correction for geocentric * parallax. This is a major effect for the Moon, but in the * context of the limited accuracy of the present routine its * effect on planetary positions is small (negligible for the * outer planets). Geocentric positions can be generated by * appropriate use of the routines palDmoon and eraPlan94. * History: * 2012-03-07 (TIMJ): * Initial version, with some documentation from SLA/F. * Adapted with permission from the Fortran SLALIB library. * {enter_further_changes_here} * Copyright: * Copyright (C) 1997 Rutherford Appleton Laboratory * Copyright (C) 2012 Science and Technology Facilities Council. * All Rights Reserved. * Licence: * This program is free software; you can redistribute it and/or * modify it under the terms of the GNU General Public License as * published by the Free Software Foundation; either version 3 of * the License, or (at your option) any later version. * * This program is distributed in the hope that it will be * useful, but WITHOUT ANY WARRANTY; without even the implied * warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR * PURPOSE. See the GNU General Public License for more details. * * You should have received a copy of the GNU General Public License * along with this program; if not, write to the Free Software * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, * MA 02110-1301, USA. * Bugs: * {note_any_bugs_here} *- */ #include #include "pal.h" #include "palmac.h" #include "pal1sofa.h" void palRdplan( double date, int np, double elong, double phi, double * ra, double * dec, double * diam ) { /* AU in km */ const double AUKM = 1.49597870e8; /* Equatorial radii (km) */ const double EQRAU[] = { 696000.0, /* Sun */ 2439.7, 6051.9, 1738, 3397, 71492, 60268, 25559, 24764 }; /* Local variables */ int i, j; double stl; double vgm[6]; double v[6]; double rmat[3][3]; double vse[6]; double vsg[6]; double vsp[6]; double vgo[6]; double dx,dy,dz,r,tl; /* Classify np */ if (np < 0 || np > 8 ) np=0; /* Sun */ /* Approximate local sidereal time */ stl = palGmst( date - palDt( palEpj(date)) / 86400.0) + elong; /* Geocentre to Moon (mean of date) */ palDmoon( date, v ); /* Nutation to true of date */ palNut( date, rmat ); eraRxp( rmat, v, vgm ); eraRxp( rmat, &(v[3]), &(vgm[3]) ); /* Moon? */ if (np == 3) { /* geocentre to Moon (true of date) */ for (i=0; i<6; i++) { v[i] = vgm[i]; } } else { /* Not moon: precession/nutation matrix J2000 to date */ palPrenut( 2000.0, date, rmat ); /* Sun to Earth-Moon Barycentre (J2000) */ palPlanet( date, 3, v, &j ); /* Precession and nutation to date */ eraRxp( rmat, v, vse ); eraRxp( rmat, &(v[3]), &(vse[3]) ); /* Sun to geocentre (true of date) */ for (i=0; i<6; i++) { vsg[i] = vse[i] - 0.012150581 * vgm[i]; } /* Sun ? */ if (np == 0) { /* Geocentre to Sun */ for (i=0; i<6; i++) { v[i] = -vsg[i]; } } else { /* Sun to Planet (J2000) */ palPlanet( date, np, v, &j ); /* Precession and nutation to date */ eraRxp( rmat, v, vsp ); eraRxp( rmat, &(v[3]), &(vsp[3]) ); /* Geocentre to planet */ for (i=0; i<6; i++) { v[i] = vsp[i] - vsg[i]; } } } /* Refer to origina at the observer */ palPvobs( phi, 0.0, stl, vgo ); for (i=0; i<6; i++) { v[i] -= vgo[i]; } /* Geometric distance (AU) */ dx = v[0]; dy = v[1]; dz = v[2]; r = sqrt( dx*dx + dy*dy + dz*dz ); /* Light time */ tl = PAL__CR * r; /* Correct position for planetary aberration */ for (i=0; i<3; i++) { v[i] -= tl * v[i+3]; } /* To RA,Dec */ eraC2s( v, ra, dec ); *ra = eraAnp( *ra ); /* Angular diameter (radians) */ *diam = 2.0 * asin( EQRAU[np] / (r * AUKM ) ); } pal-0.5.0/palRefco.c000644 000765 000024 00000007617 12366000607 014310 0ustar00timjstaff000000 000000 /* *+ * Name: * palRefco * Purpose: * Determine constants in atmospheric refraction model * Language: * Starlink ANSI C * Type of Module: * Library routine * Invocation: * void palRefco ( double hm, double tdk, double pmb, double rh, * double wl, double phi, double tlr, double eps, * double *refa, double *refb ); * Arguments: * hm = double (Given) * Height of the observer above sea level (metre) * tdk = double (Given) * Ambient temperature at the observer (K) * pmb = double (Given) * Pressure at the observer (millibar) * rh = double (Given) * Relative humidity at the observer (range 0-1) * wl = double (Given) * Effective wavelength of the source (micrometre) * phi = double (Given) * Latitude of the observer (radian, astronomical) * tlr = double (Given) * Temperature lapse rate in the troposphere (K/metre) * eps = double (Given) * Precision required to terminate iteration (radian) * refa = double * (Returned) * tan Z coefficient (radian) * refb = double * (Returned) * tan**3 Z coefficient (radian) * Description: * Determine the constants A and B in the atmospheric refraction * model dZ = A tan Z + B tan**3 Z. * * Z is the "observed" zenith distance (i.e. affected by refraction) * and dZ is what to add to Z to give the "topocentric" (i.e. in vacuo) * zenith distance. * Authors: * PTW: Patrick T. Wallace * TIMJ: Tim Jenness (JAC, Hawaii) * {enter_new_authors_here} * Notes: * - Typical values for the TLR and EPS arguments might be 0.0065 and * 1E-10 respectively. * * - The radio refraction is chosen by specifying WL > 100 micrometres. * * - The routine is a slower but more accurate alternative to the * palRefcoq routine. The constants it produces give perfect * agreement with palRefro at zenith distances arctan(1) (45 deg) * and arctan(4) (about 76 deg). It achieves 0.5 arcsec accuracy * for ZD < 80 deg, 0.01 arcsec accuracy for ZD < 60 deg, and * 0.001 arcsec accuracy for ZD < 45 deg. * History: * 2012-08-24 (TIMJ): * Initial version. A direct copy of the Fortran SLA implementation. * Adapted with permission from the Fortran SLALIB library. * {enter_further_changes_here} * Copyright: * Copyright (C) 2004 Rutherford Appleton Laboratory * Copyright (C) 2012 Science and Technology Facilities Council. * All Rights Reserved. * Licence: * This program is free software; you can redistribute it and/or * modify it under the terms of the GNU General Public License as * published by the Free Software Foundation; either version 3 of * the License, or (at your option) any later version. * * This program is distributed in the hope that it will be * useful, but WITHOUT ANY WARRANTY; without even the implied * warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR * PURPOSE. See the GNU General Public License for more details. * * You should have received a copy of the GNU General Public License * along with this program; if not, write to the Free Software * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, * MA 02110-1301, USA. * Bugs: * {note_any_bugs_here} *- */ #include "pal.h" void palRefco ( double hm, double tdk, double pmb, double rh, double wl, double phi, double tlr, double eps, double *refa, double *refb ) { double r1, r2; /* Sample zenith distances: arctan(1) and arctan(4) */ const double ATN1 = 0.7853981633974483; const double ATN4 = 1.325817663668033; /* Determine refraction for the two sample zenith distances */ palRefro(ATN1,hm,tdk,pmb,rh,wl,phi,tlr,eps,&r1); palRefro(ATN4,hm,tdk,pmb,rh,wl,phi,tlr,eps,&r2); /* Solve for refraction constants */ *refa = (64.0*r1-r2)/60.0; *refb = (r2-4.0*r1)/60.0; } pal-0.5.0/palRefro.c000644 000765 000024 00000033713 12366000607 014323 0ustar00timjstaff000000 000000 /* *+ * Name: * palRefro * Purpose: * Atmospheric refraction for radio and optical/IR wavelengths * Language: * Starlink ANSI C * Type of Module: * Library routine * Invocation: * void palRefro( double zobs, double hm, double tdk, double pmb, double rh, double wl, double phi, double tlr, double eps, double * ref ) { * Arguments: * zobs = double (Given) * Observed zenith distance of the source (radian) * hm = double (Given) * Height of the observer above sea level (metre) * tdk = double (Given) * Ambient temperature at the observer (K) * pmb = double (Given) * Pressure at the observer (millibar) * rh = double (Given) * Relative humidity at the observer (range 0-1) * wl = double (Given) * Effective wavelength of the source (micrometre) * phi = double (Given) * Latitude of the observer (radian, astronomical) * tlr = double (Given) * Temperature lapse rate in the troposphere (K/metre) * eps = double (Given) * Precision required to terminate iteration (radian) * ref = double * (Returned) * Refraction: in vacuao ZD minus observed ZD (radian) * Description: * Calculates the atmospheric refraction for radio and optical/IR * wavelengths. * Authors: * PTW: Patrick T. Wallace * TIMJ: Tim Jenness (JAC, Hawaii) * {enter_new_authors_here} * Notes: * - A suggested value for the TLR argument is 0.0065. The * refraction is significantly affected by TLR, and if studies * of the local atmosphere have been carried out a better TLR * value may be available. The sign of the supplied TLR value * is ignored. * * - A suggested value for the EPS argument is 1E-8. The result is * usually at least two orders of magnitude more computationally * precise than the supplied EPS value. * * - The routine computes the refraction for zenith distances up * to and a little beyond 90 deg using the method of Hohenkerk * and Sinclair (NAO Technical Notes 59 and 63, subsequently adopted * in the Explanatory Supplement, 1992 edition - see section 3.281). * * - The code is a development of the optical/IR refraction subroutine * AREF of C.Hohenkerk (HMNAO, September 1984), with extensions to * support the radio case. Apart from merely cosmetic changes, the * following modifications to the original HMNAO optical/IR refraction * code have been made: * * . The angle arguments have been changed to radians. * * . Any value of ZOBS is allowed (see note 6, below). * * . Other argument values have been limited to safe values. * * . Murray's values for the gas constants have been used * (Vectorial Astrometry, Adam Hilger, 1983). * * . The numerical integration phase has been rearranged for * extra clarity. * * . A better model for Ps(T) has been adopted (taken from * Gill, Atmosphere-Ocean Dynamics, Academic Press, 1982). * * . More accurate expressions for Pwo have been adopted * (again from Gill 1982). * * . The formula for the water vapour pressure, given the * saturation pressure and the relative humidity, is from * Crane (1976), expression 2.5.5. * . Provision for radio wavelengths has been added using * expressions devised by A.T.Sinclair, RGO (private * communication 1989). The refractivity model currently * used is from J.M.Rueger, "Refractive Index Formulae for * Electronic Distance Measurement with Radio and Millimetre * Waves", in Unisurv Report S-68 (2002), School of Surveying * and Spatial Information Systems, University of New South * Wales, Sydney, Australia. * * . The optical refractivity for dry air is from Resolution 3 of * the International Association of Geodesy adopted at the XXIIth * General Assembly in Birmingham, UK, 1999. * * . Various small changes have been made to gain speed. * * - The radio refraction is chosen by specifying WL > 100 micrometres. * Because the algorithm takes no account of the ionosphere, the * accuracy deteriorates at low frequencies, below about 30 MHz. * * - Before use, the value of ZOBS is expressed in the range +/- pi. * If this ranged ZOBS is -ve, the result REF is computed from its * absolute value before being made -ve to match. In addition, if * it has an absolute value greater than 93 deg, a fixed REF value * equal to the result for ZOBS = 93 deg is returned, appropriately * signed. * * - As in the original Hohenkerk and Sinclair algorithm, fixed values * of the water vapour polytrope exponent, the height of the * tropopause, and the height at which refraction is negligible are * used. * * - The radio refraction has been tested against work done by * Iain Coulson, JACH, (private communication 1995) for the * James Clerk Maxwell Telescope, Mauna Kea. For typical conditions, * agreement at the 0.1 arcsec level is achieved for moderate ZD, * worsening to perhaps 0.5-1.0 arcsec at ZD 80 deg. At hot and * humid sea-level sites the accuracy will not be as good. * * - It should be noted that the relative humidity RH is formally * defined in terms of "mixing ratio" rather than pressures or * densities as is often stated. It is the mass of water per unit * mass of dry air divided by that for saturated air at the same * temperature and pressure (see Gill 1982). * - The algorithm is designed for observers in the troposphere. The * supplied temperature, pressure and lapse rate are assumed to be * for a point in the troposphere and are used to define a model * atmosphere with the tropopause at 11km altitude and a constant * temperature above that. However, in practice, the refraction * values returned for stratospheric observers, at altitudes up to * 25km, are quite usable. * History: * 2012-08-24 (TIMJ): * Initial version, direct port of SLA Fortran source. * Adapted with permission from the Fortran SLALIB library. * {enter_further_changes_here} * Copyright: * Copyright (C) 2005 Patrick T. Wallace * Copyright (C) 2012 Science and Technology Facilities Council. * All Rights Reserved. * Licence: * This program is free software; you can redistribute it and/or * modify it under the terms of the GNU General Public License as * published by the Free Software Foundation; either version 3 of * the License, or (at your option) any later version. * * This program is distributed in the hope that it will be * useful, but WITHOUT ANY WARRANTY; without even the implied * warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR * PURPOSE. See the GNU General Public License for more details. * * You should have received a copy of the GNU General Public License * along with this program; if not, write to the Free Software * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, * MA 02110-1301, USA. * Bugs: * {note_any_bugs_here} *- */ #include #include "pal.h" #include "pal1.h" #include "palmac.h" void palRefro( double zobs, double hm, double tdk, double pmb, double rh, double wl, double phi, double tlr, double eps, double * ref ) { /* * Fixed parameters */ /* 93 degrees in radians */ const double D93 = 1.623156204; /* Universal gas constant */ const double GCR = 8314.32; /* Molecular weight of dry air */ const double DMD = 28.9644; /* Molecular weight of water vapour */ const double DMW = 18.0152; /* Mean Earth radius (metre) */ const double S = 6378120.; /* Exponent of temperature dependence of water vapour pressure */ const double DELTA = 18.36; /* Height of tropopause (metre) */ const double HT = 11000.; /* Upper limit for refractive effects (metre) */ const double HS = 80000.; /* Numerical integration: maximum number of strips. */ const int ISMAX=16384l; /* Local variables */ int is, k, n, i, j; int optic, loop; /* booleans */ double zobs1,zobs2,hmok,tdkok,pmbok,rhok,wlok,alpha, tol,wlsq,gb,a,gamal,gamma,gamm2,delm2, tdc,psat,pwo,w, c1,c2,c3,c4,c5,c6,r0,tempo,dn0,rdndr0,sk0,f0, rt,tt,dnt,rdndrt,sine,zt,ft,dnts,rdndrp,zts,fts, rs,dns,rdndrs,zs,fs,refold,z0,zrange,fb,ff,fo,fe, h,r,sz,rg,dr,tg,dn,rdndr,t,f,refp,reft; /* The refraction integrand */ #define refi(DN,RDNDR) RDNDR/(DN+RDNDR) /* Transform ZOBS into the normal range. */ zobs1 = palDrange(zobs); zobs2 = DMIN(fabs(zobs1),D93); /* keep other arguments within safe bounds. */ hmok = DMIN(DMAX(hm,-1e3),HS); tdkok = DMIN(DMAX(tdk,100.0),500.0); pmbok = DMIN(DMAX(pmb,0.0),10000.0); rhok = DMIN(DMAX(rh,0.0),1.0); wlok = DMAX(wl,0.1); alpha = DMIN(DMAX(fabs(tlr),0.001),0.01); /* tolerance for iteration. */ tol = DMIN(DMAX(fabs(eps),1e-12),0.1)/2.0; /* decide whether optical/ir or radio case - switch at 100 microns. */ optic = wlok < 100.0; /* set up model atmosphere parameters defined at the observer. */ wlsq = wlok*wlok; gb = 9.784*(1.0-0.0026*cos(phi+phi)-0.00000028*hmok); if (optic) { a = (287.6155+(1.62887+0.01360/wlsq)/wlsq) * 273.15e-6/1013.25; } else { a = 77.6890e-6; } gamal = (gb*DMD)/GCR; gamma = gamal/alpha; gamm2 = gamma-2.0; delm2 = DELTA-2.0; tdc = tdkok-273.15; psat = pow(10.0,(0.7859+0.03477*tdc)/(1.0+0.00412*tdc)) * (1.0+pmbok*(4.5e-6+6.0e-10*tdc*tdc)); if (pmbok > 0.0) { pwo = rhok*psat/(1.0-(1.0-rhok)*psat/pmbok); } else { pwo = 0.0; } w = pwo*(1.0-DMW/DMD)*gamma/(DELTA-gamma); c1 = a*(pmbok+w)/tdkok; if (optic) { c2 = (a*w+11.2684e-6*pwo)/tdkok; } else { c2 = (a*w+6.3938e-6*pwo)/tdkok; } c3 = (gamma-1.0)*alpha*c1/tdkok; c4 = (DELTA-1.0)*alpha*c2/tdkok; if (optic) { c5 = 0.0; c6 = 0.0; } else { c5 = 375463e-6*pwo/tdkok; c6 = c5*delm2*alpha/(tdkok*tdkok); } /* conditions at the observer. */ r0 = S+hmok; pal1Atmt(r0,tdkok,alpha,gamm2,delm2,c1,c2,c3,c4,c5,c6, r0,&tempo,&dn0,&rdndr0); sk0 = dn0*r0*sin(zobs2); f0 = refi(dn0,rdndr0); /* conditions in the troposphere at the tropopause. */ rt = S+DMAX(HT,hmok); pal1Atmt(r0,tdkok,alpha,gamm2,delm2,c1,c2,c3,c4,c5,c6, rt,&tt,&dnt,&rdndrt); sine = sk0/(rt*dnt); zt = atan2(sine,sqrt(DMAX(1.0-sine*sine,0.0))); ft = refi(dnt,rdndrt); /* conditions in the stratosphere at the tropopause. */ pal1Atms(rt,tt,dnt,gamal,rt,&dnts,&rdndrp); sine = sk0/(rt*dnts); zts = atan2(sine,sqrt(DMAX(1.0-sine*sine,0.0))); fts = refi(dnts,rdndrp); /* conditions at the stratosphere limit. */ rs = S+HS; pal1Atms(rt,tt,dnt,gamal,rs,&dns,&rdndrs); sine = sk0/(rs*dns); zs = atan2(sine,sqrt(DMAX(1.0-sine*sine,0.0))); fs = refi(dns,rdndrs); /* variable initialization to avoid compiler warning. */ reft = 0.0; /* integrate the refraction integral in two parts; first in the * troposphere (k=1), then in the stratosphere (k=2). */ for (k=1; k<=2; k++) { /* initialize previous refraction to ensure at least two iterations. */ refold = 1.0; /* start off with 8 strips. */ is = 8; /* start z, z range, and start and end values. */ if (k==1) { z0 = zobs2; zrange = zt-z0; fb = f0; ff = ft; } else { z0 = zts; zrange = zs-z0; fb = fts; ff = fs; } /* sums of odd and even values. */ fo = 0.0; fe = 0.0; /* first time through the loop we have to do every point. */ n = 1; /* start of iteration loop (terminates at specified precision). */ loop = 1; while (loop) { /* strip width. */ h = zrange/((double)is); /* initialize distance from earth centre for quadrature pass. */ if (k == 1) { r = r0; } else { r = rt; } /* one pass (no need to compute evens after first time). */ for (i=1; i 1e-20) { w = sk0/sz; rg = r; dr = 1.0e6; j = 0; while ( fabs(dr) > 1.0 && j < 4 ) { j++; if (k==1) { pal1Atmt(r0,tdkok,alpha,gamm2,delm2, c1,c2,c3,c4,c5,c6,rg,&tg,&dn,&rdndr); } else { pal1Atms(rt,tt,dnt,gamal,rg,&dn,&rdndr); } dr = (rg*dn-w)/(dn+rdndr); rg = rg-dr; } r = rg; } /* find the refractive index and integrand at r. */ if (k==1) { pal1Atmt(r0,tdkok,alpha,gamm2,delm2, c1,c2,c3,c4,c5,c6,r,&t,&dn,&rdndr); } else { pal1Atms(rt,tt,dnt,gamal,r,&dn,&rdndr); } f = refi(dn,rdndr); /* accumulate odd and (first time only) even values. */ if (n==1 && i%2 == 0) { fe += f; } else { fo += f; } } /* evaluate the integrand using simpson's rule. */ refp = h*(fb+4.0*fo+2.0*fe+ff)/3.0; /* has the required precision been achieved (or can't be)? */ if (fabs(refp-refold) > tol && is < ISMAX) { /* no: prepare for next iteration.*/ /* save current value for convergence test. */ refold = refp; /* double the number of strips. */ is += is; /* sum of all current values = sum of next pass's even values. */ fe += fo; /* prepare for new odd values. */ fo = 0.0; /* skip even values next time. */ n = 2; } else { /* yes: save troposphere component and terminate the loop. */ if (k==1) reft = refp; loop = 0; } } } /* result. */ *ref = reft+refp; if (zobs1 < 0.0) *ref = -(*ref); } pal-0.5.0/palRefv.c000644 000765 000024 00000012110 12366000607 014134 0ustar00timjstaff000000 000000 /* *+ * Name: * palRefv * Purpose: * Adjust an unrefracted Cartesian vector to include the effect of atmospheric refraction * Language: * Starlink ANSI C * Type of Module: * Library routine * Invocation: * void palRefv ( double vu[3], double refa, double refb, double vr[3] ); * Arguments: * vu[3] = double (Given) * Unrefracted position of the source (Az/El 3-vector) * refa = double (Given) * tan Z coefficient (radian) * refb = double (Given) * tan**3 Z coefficient (radian) * vr[3] = double (Returned) * Refracted position of the source (Az/El 3-vector) * Description: * Adjust an unrefracted Cartesian vector to include the effect of * atmospheric refraction, using the simple A tan Z + B tan**3 Z * model. * Authors: * TIMJ: Tim Jenness * PTW: Patrick Wallace * {enter_new_authors_here} * Notes: * - This routine applies the adjustment for refraction in the * opposite sense to the usual one - it takes an unrefracted * (in vacuo) position and produces an observed (refracted) * position, whereas the A tan Z + B tan**3 Z model strictly * applies to the case where an observed position is to have the * refraction removed. The unrefracted to refracted case is * harder, and requires an inverted form of the text-book * refraction models; the algorithm used here is equivalent to * one iteration of the Newton-Raphson method applied to the above * formula. * * - Though optimized for speed rather than precision, the present * routine achieves consistency with the refracted-to-unrefracted * A tan Z + B tan**3 Z model at better than 1 microarcsecond within * 30 degrees of the zenith and remains within 1 milliarcsecond to * beyond ZD 70 degrees. The inherent accuracy of the model is, of * course, far worse than this - see the documentation for sla_REFCO * for more information. * * - At low elevations (below about 3 degrees) the refraction * correction is held back to prevent arithmetic problems and * wildly wrong results. For optical/IR wavelengths, over a wide * range of observer heights and corresponding temperatures and * pressures, the following levels of accuracy (arcsec, worst case) * are achieved, relative to numerical integration through a model * atmosphere: * * ZD error * * 80 0.7 * 81 1.3 * 82 2.5 * 83 5 * 84 10 * 85 20 * 86 55 * 87 160 * 88 360 * 89 640 * 90 1100 * 91 1700 } relevant only to * 92 2600 } high-elevation sites * * The results for radio are slightly worse over most of the range, * becoming significantly worse below ZD=88 and unusable beyond * ZD=90. * * - See also the routine palRefz, which performs the adjustment to * the zenith distance rather than in Cartesian Az/El coordinates. * The present routine is faster than palRefz and, except very low down, * is equally accurate for all practical purposes. However, beyond * about ZD 84 degrees palRefz should be used, and for the utmost * accuracy iterative use of palRefro should be considered. * History: * 2014-07-15 (TIMJ): * Initial version. A direct copy of the Fortran SLA implementation. * Adapted with permission from the Fortran SLALIB library. * {enter_further_changes_here} * Copyright: * Copyright (C) 2014 Tim Jenness * Copyright (C) 2004 Patrick Wallace * All Rights Reserved. * Licence: * This program is free software; you can redistribute it and/or * modify it under the terms of the GNU General Public License as * published by the Free Software Foundation; either version 3 of * the License, or (at your option) any later version. * * This program is distributed in the hope that it will be * useful, but WITHOUT ANY WARRANTY; without even the implied * warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR * PURPOSE. See the GNU General Public License for more details. * * You should have received a copy of the GNU General Public License * along with this program; if not, write to the Free Software * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, * MA 02110-1301, USA. * Bugs: * {note_any_bugs_here} *- */ #include "pal.h" #include "palmac.h" #include void palRefv ( double vu[3], double refa, double refb, double vr[3] ) { double x,y,z1,z,zsq,rsq,r,wb,wt,d,cd,f; /* Initial estimate = unrefracted vector */ x = vu[0]; y = vu[1]; z1 = vu[2]; /* Keep correction approximately constant below about 3 deg elevation */ z = DMAX(z1,0.05); /* One Newton-Raphson iteration */ zsq = z*z; rsq = x*x+y*y; r = sqrt(rsq); wb = refb*rsq/zsq; wt = (refa+wb)/(1.0+(refa+3.0*wb)*(zsq+rsq)/zsq); d = wt*r/z; cd = 1.0-d*d/2.0; f = cd*(1.0-wt); /* Post-refraction x,y,z */ vr[0] = x*f; vr[1] = y*f; vr[2] = cd*(z+d*r)+(z1-z); } pal-0.5.0/palRefz.c000644 000765 000024 00000013775 12366000607 014162 0ustar00timjstaff000000 000000 /* *+ * Name: * palRefz * Purpose: * Adjust unrefracted zenith distance * Language: * Starlink ANSI C * Type of Module: * Library routine * Invocation: * void palRefz ( double zu, double refa, double refb, double *zr ); * Arguments: * zu = double (Given) * Unrefracted zenith distance of the source (radians) * refa = double (Given) * tan Z coefficient (radians) * refb = double (Given) * tan**3 Z coefficient (radian) * zr = double * (Returned) * Refracted zenith distance (radians) * Description: * Adjust an unrefracted zenith distance to include the effect of * atmospheric refraction, using the simple A tan Z + B tan**3 Z * model (plus special handling for large ZDs). * Authors: * PTW: Patrick T. Wallace * TIMJ: Tim Jenness (JAC, Hawaii) * {enter_new_authors_here} * Notes: * - This routine applies the adjustment for refraction in the * opposite sense to the usual one - it takes an unrefracted * (in vacuo) position and produces an observed (refracted) * position, whereas the A tan Z + B tan**3 Z model strictly * applies to the case where an observed position is to have the * refraction removed. The unrefracted to refracted case is * harder, and requires an inverted form of the text-book * refraction models; the formula used here is based on the * Newton-Raphson method. For the utmost numerical consistency * with the refracted to unrefracted model, two iterations are * carried out, achieving agreement at the 1D-11 arcseconds level * for a ZD of 80 degrees. The inherent accuracy of the model * is, of course, far worse than this - see the documentation for * palRefco for more information. * * - At ZD 83 degrees, the rapidly-worsening A tan Z + B tan^3 Z * model is abandoned and an empirical formula takes over. For * optical/IR wavelengths, over a wide range of observer heights and * corresponding temperatures and pressures, the following levels of * accuracy (arcsec, worst case) are achieved, relative to numerical * integration through a model atmosphere: * * ZR error * * 80 0.7 * 81 1.3 * 82 2.4 * 83 4.7 * 84 6.2 * 85 6.4 * 86 8 * 87 10 * 88 15 * 89 30 * 90 60 * 91 150 } relevant only to * 92 400 } high-elevation sites * * For radio wavelengths the errors are typically 50% larger than * the optical figures and by ZD 85 deg are twice as bad, worsening * rapidly below that. To maintain 1 arcsec accuracy down to ZD=85 * at the Green Bank site, Condon (2004) has suggested amplifying * the amount of refraction predicted by palRefz below 10.8 deg * elevation by the factor (1+0.00195*(10.8-E_t)), where E_t is the * unrefracted elevation in degrees. * * The high-ZD model is scaled to match the normal model at the * transition point; there is no glitch. * * - Beyond 93 deg zenith distance, the refraction is held at its * 93 deg value. * * - See also the routine palRefv, which performs the adjustment in * Cartesian Az/El coordinates, and with the emphasis on speed * rather than numerical accuracy. * References: * Condon,J.J., Refraction Corrections for the GBT, PTCS/PN/35.2, * NRAO Green Bank, 2004. * History: * 2012-08-24 (TIMJ): * Initial version, ported directly from Fortran SLA * Adapted with permission from the Fortran SLALIB library. * {enter_further_changes_here} * Copyright: * Copyright (C) 2004 Rutherford Appleton Laboratory * Copyright (C) 2012 Science and Technology Facilities Council. * All Rights Reserved. * Licence: * This program is free software; you can redistribute it and/or * modify it under the terms of the GNU General Public License as * published by the Free Software Foundation; either version 3 of * the License, or (at your option) any later version. * * This program is distributed in the hope that it will be * useful, but WITHOUT ANY WARRANTY; without even the implied * warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR * PURPOSE. See the GNU General Public License for more details. * * You should have received a copy of the GNU General Public License * along with this program; if not, write to the Free Software * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, * MA 02110-1301, USA. * Bugs: * {note_any_bugs_here} *- */ #include #include "pal.h" #include "palmac.h" void palRefz ( double zu, double refa, double refb, double *zr ) { /* Constants */ /* Largest usable ZD (deg) */ const double D93 = 93.0; /* ZD at which one model hands over to the other (radians) */ const double Z83 = 83.0 * PAL__DD2R; /* coefficients for high ZD model (used beyond ZD 83 deg) */ const double C1 = +0.55445; const double C2 = -0.01133; const double C3 = +0.00202; const double C4 = +0.28385; const double C5 = +0.02390; /* High-ZD-model prefiction (deg) for that point */ const double REF83 = (C1+C2*7.0+C3*49.0)/(1.0+C4*7.0+C5*49.0); double zu1,zl,s,c,t,tsq,tcu,ref,e,e2; /* perform calculations for zu or 83 deg, whichever is smaller */ zu1 = DMIN(zu,Z83); /* functions of ZD */ zl = zu1; s = sin(zl); c = cos(zl); t = s/c; tsq = t*t; tcu = t*tsq; /* refracted zd (mathematically to better than 1 mas at 70 deg) */ zl = zl-(refa*t+refb*tcu)/(1.0+(refa+3.0*refb*tsq)/(c*c)); /* further iteration */ s = sin(zl); c = cos(zl); t = s/c; tsq = t*t; tcu = t*tsq; ref = zu1-zl+ (zl-zu1+refa*t+refb*tcu)/(1.0+(refa+3.0*refb*tsq)/(c*c)); /* special handling for large zu */ if (zu > zu1) { e = 90.0-DMIN(D93,zu*PAL__DR2D); e2 = e*e; ref = (ref/REF83)*(C1+C2*e+C3*e2)/(1.0+C4*e+C5*e2); } /* return refracted zd */ *zr = zu-ref; } pal-0.5.0/palRverot.c000644 000765 000024 00000005217 12366000607 014525 0ustar00timjstaff000000 000000 /* *+ * Name: * palRverot * Purpose: * Velocity component in a given direction due to Earth rotation * Language: * Starlink ANSI C * Type of Module: * Library routine * Invocation: * double palRverot ( double phi, double ra, double da, double st ); * Arguments: * phi = double (Given) * latitude of observing station (geodetic) (radians) * ra = double (Given) * apparent RA (radians) * da = double (Given) * apparent Dec (radians) * st = double (Given) 8 Local apparent sidereal time. * Returned Value: * palRverot = double * Component of Earth rotation in direction RA,DA (km/s). * The result is +ve when the observatory is receding from the * given point on the sky. * Description: * Calculate the velocity component in a given direction due to Earth * rotation. * * The simple algorithm used assumes a spherical Earth, of * a radius chosen to give results accurate to about 0.0005 km/s * for observing stations at typical latitudes and heights. For * applications requiring greater precision, use the routine * palPvobs. * Authors: * PTW: Patrick T. Wallace * TIMJ: Tim Jenness (JAC, Hawaii) * {enter_new_authors_here} * History: * 2012-03-02 (TIMJ): * Initial version * Adapted with permission from the Fortran SLALIB library. * {enter_further_changes_here} * Copyright: * Copyright (C) 1995 Rutherford Appleton Laboratory * Copyright (C) 2012 Science and Technology Facilities Council. * All Rights Reserved. * Licence: * This program is free software; you can redistribute it and/or * modify it under the terms of the GNU General Public License as * published by the Free Software Foundation; either version 3 of * the License, or (at your option) any later version. * * This program is distributed in the hope that it will be * useful, but WITHOUT ANY WARRANTY; without even the implied * warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR * PURPOSE. See the GNU General Public License for more details. * * You should have received a copy of the GNU General Public License * along with this program; if not, write to the Free Software * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, * MA 02110-1301, USA. * Bugs: * {note_any_bugs_here} *- */ #include "pal.h" #include double palRverot ( double phi, double ra, double da, double st ) { /* Nominal mean sidereal speed of Earth equator in km/s (the actual * value is about 0.4651) */ const double espeed = 0.4655; return espeed * cos(phi) * sin(st-ra) * cos(da); } pal-0.5.0/palRvgalc.c000644 000765 000024 00000006016 12366000611 014453 0ustar00timjstaff000000 000000 /* *+ * Name: * palRvgalc * Purpose: * Velocity component in a given direction due to the rotation * of the Galaxy. * Language: * Starlink ANSI C * Type of Module: * Library routine * Invocation: * double palRvgalc( double r2000, double d2000 ) * Arguments: * r2000 = double (Given) * J2000.0 mean RA (radians) * d2000 = double (Given) * J2000.0 mean Dec (radians) * Returned Value: * Component of dynamical LSR motion in direction R2000,D2000 (km/s). * Description: * This function returns the Component of dynamical LSR motion in * the direction of R2000,D2000. The result is +ve when the dynamical * LSR is receding from the given point on the sky. * * Notes: * - The Local Standard of Rest used here is a point in the * vicinity of the Sun which is in a circular orbit around * the Galactic centre. Sometimes called the "dynamical" LSR, * it is not to be confused with a "kinematical" LSR, which * is the mean standard of rest of star catalogues or stellar * populations. * * Reference: * - The orbital speed of 220 km/s used here comes from Kerr & * Lynden-Bell (1986), MNRAS, 221, p1023. * Authors: * PTW: Pat Wallace (STFC) * DSB: David Berry (JAC, Hawaii) * {enter_new_authors_here} * History: * 2012-02-16 (DSB): * Initial version. * Adapted with permission from the Fortran SLALIB library. * {enter_further_changes_here} * Copyright: * Copyright (C) 1995 Rutherford Appleton Laboratory * Copyright (C) 2012 Science and Technology Facilities Council. * All Rights Reserved. * Licence: * This program is free software: you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * License as published by the Free Software Foundation, either * version 3 of the License, or (at your option) any later * version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Lesser General Public License for more details. * * You should have received a copy of the GNU Lesser General * License along with this program. If not, see * . * Bugs: * {note_any_bugs_here} *- */ #include "pal.h" #include "pal1sofa.h" double palRvgalc( double r2000, double d2000 ){ /* Local Variables: */ double vb[ 3 ]; /* * LSR velocity due to Galactic rotation * * Speed = 220 km/s * Apex = L2,B2 90deg, 0deg * = RA,Dec 21 12 01.1 +48 19 47 J2000.0 * * This is expressed in the form of a J2000.0 x,y,z vector: * * VA(1) = X = -SPEED*COS(RA)*COS(DEC) * VA(2) = Y = -SPEED*SIN(RA)*COS(DEC) * VA(3) = Z = -SPEED*SIN(DEC) */ double va[ 3 ] = { -108.70408, +97.86251, -164.33610 }; /* Convert given J2000 RA,Dec to x,y,z. */ eraS2c( r2000, d2000, vb ); /* Compute dot product with LSR motion vector. */ return eraPdp( va, vb ); } pal-0.5.0/palRvlg.c000644 000765 000024 00000005355 12366000611 014154 0ustar00timjstaff000000 000000 /* *+ * Name: * palRvlg * Purpose: * Velocity component in a given direction due to Galactic rotation * and motion of the local group. * Language: * Starlink ANSI C * Type of Module: * Library routine * Invocation: * double palRvlg( double r2000, double d2000 ) * Arguments: * r2000 = double (Given) * J2000.0 mean RA (radians) * d2000 = double (Given) * J2000.0 mean Dec (radians) * Returned Value: * Component of SOLAR motion in direction R2000,D2000 (km/s). * Description: * This function returns the velocity component in a given * direction due to the combination of the rotation of the * Galaxy and the motion of the Galaxy relative to the mean * motion of the local group. The result is +ve when the Sun * is receding from the given point on the sky. * * Reference: * - IAU Trans 1976, 168, p201. * Authors: * PTW: Pat Wallace (STFC) * DSB: David Berry (JAC, Hawaii) * {enter_new_authors_here} * History: * 2012-02-16 (DSB): * Initial version. * Adapted with permission from the Fortran SLALIB library. * {enter_further_changes_here} * Copyright: * Copyright (C) 1995 Rutherford Appleton Laboratory * Copyright (C) 2012 Science and Technology Facilities Council. * All Rights Reserved. * Licence: * This program is free software: you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * License as published by the Free Software Foundation, either * version 3 of the License, or (at your option) any later * version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Lesser General Public License for more details. * * You should have received a copy of the GNU Lesser General * License along with this program. If not, see * . * Bugs: * {note_any_bugs_here} *- */ #include "pal.h" #include "pal1sofa.h" double palRvlg( double r2000, double d2000 ){ /* Local Variables: */ double vb[ 3 ]; /* * * Solar velocity due to Galactic rotation and translation * * Speed = 300 km/s * * Apex = L2,B2 90deg, 0deg * = RA,Dec 21 12 01.1 +48 19 47 J2000.0 * * This is expressed in the form of a J2000.0 x,y,z vector: * * VA(1) = X = -SPEED*COS(RA)*COS(DEC) * VA(2) = Y = -SPEED*SIN(RA)*COS(DEC) * VA(3) = Z = -SPEED*SIN(DEC) */ double va[ 3 ] = { -148.23284, +133.44888, -224.09467 }; /* Convert given J2000 RA,Dec to x,y,z. */ eraS2c( r2000, d2000, vb ); /* Compute dot product with Solar motion vector. */ return eraPdp( va, vb ); } pal-0.5.0/palRvlsrd.c000644 000765 000024 00000007122 12366000611 014510 0ustar00timjstaff000000 000000 /* *+ * Name: * palRvlsrd * Purpose: * Velocity component in a given direction due to the Sun's motion * with respect to the dynamical Local Standard of Rest. * Language: * Starlink ANSI C * Type of Module: * Library routine * Invocation: * double palRvlsrd( double r2000, double d2000 ) * Arguments: * r2000 = double (Given) * J2000.0 mean RA (radians) * d2000 = double (Given) * J2000.0 mean Dec (radians) * Returned Value: * Component of "peculiar" solar motion in direction R2000,D2000 (km/s). * Description: * This function returns the velocity component in a given direction * due to the Sun's motion with respect to the dynamical Local Standard * of Rest. The result is +ve when the Sun is receding from the given * point on the sky. * Notes: * - The Local Standard of Rest used here is the "dynamical" LSR, * a point in the vicinity of the Sun which is in a circular orbit * around the Galactic centre. The Sun's motion with respect to the * dynamical LSR is called the "peculiar" solar motion. * - There is another type of LSR, called a "kinematical" LSR. A * kinematical LSR is the mean standard of rest of specified star * catalogues or stellar populations, and several slightly different * kinematical LSRs are in use. The Sun's motion with respect to an * agreed kinematical LSR is known as the "standard" solar motion. * To obtain a radial velocity correction with respect to an adopted * kinematical LSR use the routine sla_RVLSRK. * Reference: * - Delhaye (1965), in "Stars and Stellar Systems", vol 5, p73. * Authors: * PTW: Pat Wallace (STFC) * DSB: David Berry (JAC, Hawaii) * {enter_new_authors_here} * History: * 2012-02-16 (DSB): * Initial version. * Adapted with permission from the Fortran SLALIB library. * {enter_further_changes_here} * Copyright: * Copyright (C) 1995 Rutherford Appleton Laboratory * Copyright (C) 2012 Science and Technology Facilities Council. * All Rights Reserved. * Licence: * This program is free software: you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * License as published by the Free Software Foundation, either * version 3 of the License, or (at your option) any later * version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Lesser General Public License for more details. * * You should have received a copy of the GNU Lesser General * License along with this program. If not, see * . * Bugs: * {note_any_bugs_here} *- */ #include "pal.h" #include "pal1sofa.h" double palRvlsrd( double r2000, double d2000 ){ /* Local Variables: */ double vb[ 3 ]; /* * Peculiar solar motion from Delhaye 1965: in Galactic Cartesian * coordinates (+9,+12,+7) km/s. This corresponds to about 16.6 km/s * towards Galactic coordinates L2 = 53 deg, B2 = +25 deg, or RA,Dec * 17 49 58.7 +28 07 04 J2000. * * The solar motion is expressed here in the form of a J2000.0 * equatorial Cartesian vector: * * VA(1) = X = -SPEED*COS(RA)*COS(DEC) * VA(2) = Y = -SPEED*SIN(RA)*COS(DEC) * VA(3) = Z = -SPEED*SIN(DEC) */ double va[ 3 ] = { +0.63823, +14.58542, -7.80116 }; /* Convert given J2000 RA,Dec to x,y,z. */ eraS2c( r2000, d2000, vb ); /* Compute dot product with Solar motion vector. */ return eraPdp( va, vb ); } pal-0.5.0/palRvlsrk.c000644 000765 000024 00000006745 12366000611 014531 0ustar00timjstaff000000 000000 /* *+ * Name: * palRvlsrk * Purpose: * Velocity component in a given direction due to the Sun's motion * with respect to an adopted kinematic Local Standard of Rest. * Language: * Starlink ANSI C * Type of Module: * Library routine * Invocation: * double palRvlsrk( double r2000, double d2000 ) * Arguments: * r2000 = double (Given) * J2000.0 mean RA (radians) * d2000 = double (Given) * J2000.0 mean Dec (radians) * Returned Value: * Component of "standard" solar motion in direction R2000,D2000 (km/s). * Description: * This function returns the velocity component in a given direction * due to the Sun's motion with respect to an adopted kinematic * Local Standard of Rest. The result is +ve when the Sun is receding * from the given point on the sky. * Notes: * - The Local Standard of Rest used here is one of several * "kinematical" LSRs in common use. A kinematical LSR is the mean * standard of rest of specified star catalogues or stellar * populations. The Sun's motion with respect to a kinematical LSR * is known as the "standard" solar motion. * - There is another sort of LSR, the "dynamical" LSR, which is a * point in the vicinity of the Sun which is in a circular orbit * around the Galactic centre. The Sun's motion with respect to * the dynamical LSR is called the "peculiar" solar motion. To * obtain a radial velocity correction with respect to the * dynamical LSR use the routine sla_RVLSRD. * Reference: * - Delhaye (1965), in "Stars and Stellar Systems", vol 5, p73. * Authors: * PTW: Pat Wallace (STFC) * DSB: David Berry (JAC, Hawaii) * {enter_new_authors_here} * History: * 2012-02-16 (DSB): * Initial version. * Adapted with permission from the Fortran SLALIB library. * {enter_further_changes_here} * Copyright: * Copyright (C) 1995 Rutherford Appleton Laboratory * Copyright (C) 2012 Science and Technology Facilities Council. * All Rights Reserved. * Licence: * This program is free software: you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * License as published by the Free Software Foundation, either * version 3 of the License, or (at your option) any later * version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Lesser General Public License for more details. * * You should have received a copy of the GNU Lesser General * License along with this program. If not, see * . * Bugs: * {note_any_bugs_here} *- */ #include "pal.h" #include "pal1sofa.h" double palRvlsrk( double r2000, double d2000 ){ /* Local Variables: */ double vb[ 3 ]; /* * Standard solar motion (from Methods of Experimental Physics, ed Meeks, * vol 12, part C, sec 6.1.5.2, p281): * * 20 km/s towards RA 18h Dec +30d (1900). * * The solar motion is expressed here in the form of a J2000.0 * equatorial Cartesian vector: * * VA(1) = X = -SPEED*COS(RA)*COS(DEC) * VA(2) = Y = -SPEED*SIN(RA)*COS(DEC) * VA(3) = Z = -SPEED*SIN(DEC) */ double va[ 3 ] = { -0.29000, +17.31726, -10.00141 }; /* Convert given J2000 RA,Dec to x,y,z. */ eraS2c( r2000, d2000, vb ); /* Compute dot product with Solar motion vector. */ return eraPdp( va, vb ); } pal-0.5.0/palSubet.c000644 000765 000024 00000005724 12366000611 014324 0ustar00timjstaff000000 000000 /* *+ * Name: * palSubet * Purpose: * Remove the E-terms from a pre IAU 1976 catalogue RA,Dec * Language: * Starlink ANSI C * Type of Module: * Library routine * Invocation: * void palSubet ( double rc, double dc, double eq, * double *rm, double *dm ); * Arguments: * rc = double (Given) * RA with E-terms included (radians) * dc = double (Given) * Dec with E-terms included (radians) * eq = double (Given) * Besselian epoch of mean equator and equinox * rm = double * (Returned) * RA without E-terms (radians) * dm = double * (Returned) * Dec without E-terms (radians) * Description: * Remove the E-terms (elliptic component of annual aberration) * from a pre IAU 1976 catalogue RA,Dec to give a mean place. * Authors: * PTW: Pat Wallace (STFC) * TIMJ: Tim Jenness (JAC, Hawaii) * {enter_new_authors_here} * Notes: * Most star positions from pre-1984 optical catalogues (or * derived from astrometry using such stars) embody the * E-terms. This routine converts such a position to a * formal mean place (allowing, for example, comparison with a * pulsar timing position). * See Also: * Explanatory Supplement to the Astronomical Ephemeris, * section 2D, page 48. * History: * 2012-02-12(TIMJ): * Initial version with documentation taken from Fortran SLA * Adapted with permission from the Fortran SLALIB library. * {enter_further_changes_here} * Copyright: * Copyright (C) 1995 Rutherford Appleton Laboratory * Copyright (C) 2012 Science and Technology Facilities Council. * All Rights Reserved. * Licence: * This program is free software: you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * License as published by the Free Software Foundation, either * version 3 of the License, or (at your option) any later * version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Lesser General Public License for more details. * * You should have received a copy of the GNU Lesser General * License along with this program. If not, see * . * Bugs: * {note_any_bugs_here} *- */ #include "pal.h" #include "pal1sofa.h" void palSubet ( double rc, double dc, double eq, double *rm, double *dm ) { double a[3]; /* The E-terms */ double v[3]; double f; int i; /* Note the preference for IAU routines */ /* Retrieve the E-terms */ palEtrms( eq, a ); /* Spherical to Cartesian */ eraS2c( rc, dc, v ); /* Include the E-terms */ f = 1.0 + eraPdp( v, a ); for (i=0; i<3; i++) { v[i] = f*v[i] - a[i]; } /* Cartesian to spherical */ eraC2s( v, rm, dm ); /* Bring RA into conventional range */ *rm = eraAnp( *rm ); } pal-0.5.0/palSupgal.c000644 000765 000024 00000006116 12366000611 014471 0ustar00timjstaff000000 000000 /* *+ * Name: * palSupgal * Purpose: * Convert from supergalactic to galactic coordinates * Language: * Starlink ANSI C * Type of Module: * Library routine * Invocation: * void palSupgal ( double dsl, double dsb, double *dl, double *db ); * Arguments: * dsl = double (Given) * Supergalactic longitude. * dsb = double (Given) * Supergalactic latitude. * dl = double * (Returned) * Galactic longitude. * db = double * (Returned) * Galactic latitude. * Description: * Transformation from de Vaucouleurs supergalactic coordinates * to IAU 1958 galactic coordinates * Authors: * PTW: Pat Wallace (STFC) * TIMJ: Tim Jenness (JAC, Hawaii) * {enter_new_authors_here} * See Also: * - de Vaucouleurs, de Vaucouleurs, & Corwin, Second Reference * Catalogue of Bright Galaxies, U. Texas, page 8. * - Systems & Applied Sciences Corp., Documentation for the * machine-readable version of the above catalogue, * Contract NAS 5-26490. * * (These two references give different values for the galactic * longitude of the supergalactic origin. Both are wrong; the * correct value is L2=137.37.) * History: * 2012-02-12(TIMJ): * Initial version with documentation taken from Fortran SLA * Adapted with permission from the Fortran SLALIB library. * {enter_further_changes_here} * Copyright: * Copyright (C) 1995 Rutherford Appleton Laboratory * Copyright (C) 2012 Science and Technology Facilities Council. * All Rights Reserved. * Licence: * This program is free software: you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * License as published by the Free Software Foundation, either * version 3 of the License, or (at your option) any later * version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Lesser General Public License for more details. * * You should have received a copy of the GNU Lesser General * License along with this program. If not, see * . * Bugs: * {note_any_bugs_here} *- */ #include "pal.h" #include "pal1sofa.h" void palSupgal ( double dsl, double dsb, double *dl, double *db ) { double v1[3]; double v2[3]; /* * System of supergalactic coordinates: * * SGL SGB L2 B2 (deg) * - +90 47.37 +6.32 * 0 0 - 0 * * Galactic to supergalactic rotation matrix: */ double rmat[3][3] = { { -0.735742574804,+0.677261296414,+0.000000000000 }, { -0.074553778365,-0.080991471307,+0.993922590400 }, { +0.673145302109,+0.731271165817,+0.110081262225 } }; /* Spherical to Cartesian */ eraS2c( dsl, dsb, v1 ); /* Supergalactic to galactic */ eraTrxp( rmat, v1, v2 ); /* Cartesian to spherical */ eraC2s( v2, dl, db ); /* Express in conventional ranges */ *dl = eraAnp( *dl ); *db = eraAnpm( *db ); } pal-0.5.0/palTest.c000644 000765 000024 00000157312 12366000607 014167 0ustar00timjstaff000000 000000 /* *+ * Name: * palTest * Purpose: * Test the PAL library * Language: * Starlink ANSI C * Type of Module: * Application * Description: * Test the PAL library is functioning correctly. Uses some of the SLA test code. * Authors: * TIMJ: Tim Jenness (JAC, Hawaii) * {enter_new_authors_here} * History: * 2012-02-08 (TIMJ): * Initial version * Adapted with permission from the Fortran SLALIB library. * {enter_further_changes_here} * Copyright: * Copyright (C) 2012 Science and Technology Facilities Council. * All Rights Reserved. * Licence: * This program is free software; you can redistribute it and/or * modify it under the terms of the GNU General Public License as * published by the Free Software Foundation; either version 3 of * the License, or (at your option) any later version. * * This program is distributed in the hope that it will be * useful, but WITHOUT ANY WARRANTY; without even the implied * warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR * PURPOSE. See the GNU General Public License for more details. * * You should have received a copy of the GNU General Public License * along with this program; if not, write to the Free Software * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 * USA. * Bugs: * {note_any_bugs_here} *- */ #include #include #include #include "pal.h" #include "palmac.h" static int verbose = 1; /* Support functions to allow to test results. viv and vvd match the SOFA implementations */ static void viv(int ival, int ivalok, const char *func, const char *test, int *status) /* ** - - - - ** v i v ** - - - - ** ** Validate an integer result. ** ** Internal function used by t_sofa_c program. ** ** Given: ** ival int value computed by function under test ** ivalok int correct value ** func char[] name of function under test ** test char[] name of individual test ** ** Given and returned: ** status int set to FALSE if test fails ** ** This revision: 2009 November 4 */ { if (ival != ivalok) { *status = 1; printf("%s failed: %s want %d got %d\n", func, test, ivalok, ival); } else if (verbose) { printf("%s passed: %s want %d got %d\n", func, test, ivalok, ival); } return; } static void vvd(double val, double valok, double dval, const char *func, const char *test, int *status) /* ** - - - - ** v v d ** - - - - ** ** Validate a double result. ** ** Internal function used by t_sofa_c program. ** ** Given: ** val double value computed by function under test ** valok double expected value ** dval double maximum allowable error ** func char[] name of function under test ** test char[] name of individual test ** ** Given and returned: ** status int set to FALSE if test fails ** ** This revision: 2008 June 8 */ { double a, f; /* absolute and fractional error */ a = val - valok; if (fabs(a) > dval) { f = fabs(valok / a); *status = 1; printf("%s failed: %s want %.20g got %.20g (1/%.3g)\n", func, test, valok, val, f); } else if (verbose) { printf("%s passed: %s want %.20g got %.20g\n", func, test, valok, val); } return; } /* Verify a string */ static void vcs( const char * val, const char * valok, const char * func, const char * test, int *status ) { if (strcmp(val, valok) != 0) { *status = 1; printf("%s failed: %s want %s got %s\n", func, test, valok, val ); } else if (verbose) { printf("%s passed: %s want %s got %s\n", func, test, valok, val ); } return; } /* Verify the 3x3 rmat matrix */ static void vrmat( double rmat[3][3], double expected[3][3], const char * func, double dval, int * status ) { int i; char buf[10]; for( i = 0; i < 3; i++ ) { int j; for( j = 0; j < 3; j++ ) { sprintf( buf, "%d,%d", i, j ); vvd( rmat[i][j], expected[i][j], dval, func, buf, status ); } } } /* Verify a vector */ static void vvec( int len, double *vec, double *expected, const char *func, int *status ) { int i; char buf[10]; for( i = 0; i < len; i++ ) { sprintf( buf, "%d", i ); vvd( vec[i], expected[i], 1e-12, func, buf, status ); } } /******************************************************************/ /* TEST FUNCTIONS */ /* Adding E-terms */ static void t_addet( int *status ) { double r1,d1,r2,d2; double rm = 2.; double dm = -1.; double eq = 1975.; palAddet ( rm, dm, eq, &r1, &d1 ); vvd ( r1 - rm, 2.983864874295250e-6, 1e-12, "palAddet", "R", status ); vvd ( d1 - dm, 2.379650804185118e-7, 1e-12, "palAddet", "D", status ); palSubet ( r1, d1, eq, &r2, &d2 ); vvd ( r2 - rm, 0, 1e-12, "palSubet", "R", status ); vvd ( d2 - dm, 0, 1e-12, "palSubet", "D", status ); } static void t_afin( int * status ) { int j; int i = 1; double d = 0.0; const char * s = "12 34 56.7 |"; const char * s2 = "45 00 00.000 "; palDafin (s, &i, &d, &j); viv ( i, 12, "palDafin", "I", status ); vvd ( d, 0.2196045986911432, 1e-12, "palDafin", "A", status ); viv ( j, 0, "palDafin", "J", status ); i = 1; palDafin (s2, &i, &d, &j); viv ( i, 14, "palDafin", "I", status ); vvd ( d, PAL__DPI/4.0, 1e-12, "palDafin", "A", status ); viv ( j, 0, "palDafin", "J", status ); } /* Airmass */ static void t_airmas( int *status ) { vvd ( palAirmas ( 1.2354 ), 3.015698990074724, 1e-12, "palAirmas", " ", status ); } /* Apparent to mean place */ static void t_amp ( int *status ) { double rm, dm; /* Original SLA test is not accurate since palMapqk differs from slaMapqk */ palAmp ( 2.345, -1.234, 50100, 1990, &rm, &dm ); vvd ( rm, 2.344472180027961, 1e-6, "palAmp", "R", status ); vvd ( dm, -1.233573099847705, 1e-7, "palAmp", "D", status ); /* This is the palMapqk test */ palAmp( 1.234, -0.567, 55927.0, 2010.0, &rm, &dm ); vvd( rm, 1.2335120411026936349, 1.0E-12, "palAmp", "rm", status ); vvd( dm, -0.56702908706930343907, 1.0E-12, "palAmp", "dm", status ); } /* Apparent to Observed place */ static void t_aop ( int *status ) { int i; double rap, dap, date, dut, elongm, phim, hm, xp, yp, tdk, pmb, rh, wl, tlr, aob, zob, hob, dob, rob, aoprms[14]; dap = -0.1234; date = 51000.1; dut = 25.0; elongm = 2.1; phim = 0.5; hm = 3000.0; xp = -0.5e-6; yp = 1.0e-6; tdk = 280.0; pmb = 550.0; rh = 0.6; tlr = 0.006; for (i=1; i<=3; i++) { if ( i == 1 ) { rap = 2.7; wl = 0.45; } else if ( i == 2 ) { rap = 2.345; } else { wl = 1.0e6; } palAop ( rap, dap, date, dut, elongm, phim, hm, xp, yp, tdk, pmb, rh, wl, tlr, &aob, &zob, &hob, &dob, &rob ); if ( i == 1 ) { vvd( aob, 1.812817787123283034, 1e-10, "palAop", "lo aob", status ); vvd( zob, 1.393860816635714034, 1e-8, "palAop", "lo zob", status ); vvd( hob, -1.297808009092456683, 1e-8, "palAop", "lo hob", status ); vvd( dob, -0.122967060534561, 1e-8, "palAop", "lo dob", status ); vvd( rob, 2.699270287872084, 1e-8, "palAop", "lo rob", status ); } else if ( i == 2 ) { vvd( aob, 2.019928026670621442, 1e-10, "palAop", "aob/o", status ); vvd( zob, 1.101316172427482466, 1e-10, "palAop", "zob/o", status ); vvd( hob, -0.9432923558497740862, 1e-10, "palAop", "hob/o", status ); vvd( dob, -0.1232144708194224, 1e-10, "palAop", "dob/o", status ); vvd( rob, 2.344754634629428, 1e-10, "palAop", "rob/o", status ); } else { vvd( aob, 2.019928026670621442, 1e-10, "palAop", "aob/r", status ); vvd( zob, 1.101267532198003760, 1e-10, "palAop", "zob/r", status ); vvd( hob, -0.9432533138143315937, 1e-10, "palAop", "hob/r", status ); vvd( dob, -0.1231850665614878, 1e-10, "palAop", "dob/r", status ); vvd( rob, 2.344715592593984, 1e-10, "palAop", "rob/r", status ); } } date = 48000.3; wl = 0.45; palAoppa ( date, dut, elongm, phim, hm, xp, yp, tdk, pmb, rh, wl, tlr, aoprms ); vvd( aoprms[0], 0.4999993892136306, 1e-13, "palAoppa", "0", status ); vvd( aoprms[1], 0.4794250025886467, 1e-13, "palAoppa", "1", status ); vvd( aoprms[2], 0.8775828547167932, 1e-13, "palAoppa", "2", status ); vvd( aoprms[3], 1.363180872136126e-6, 1e-13, "palAoppa", "3", status ); vvd( aoprms[4], 3000.0, 1e-10, "palAoppa", "4", status ); vvd( aoprms[5], 280.0, 1e-11, "palAoppa", "5", status ); vvd( aoprms[6], 550.0, 1e-11, "palAoppa", "6", status ); vvd( aoprms[7], 0.6, 1e-13, "palAoppa", "7", status ); vvd( aoprms[8], 0.45, 1e-13, "palAoppa", "8", status ); vvd( aoprms[9], 0.006, 1e-15, "palAoppa", "9", status ); vvd( aoprms[10], 0.0001562803328459898, 1e-13, "palAoppa", "10", status ); vvd( aoprms[11], -1.792293660141e-7, 1e-13, "palAoppa", "11", status ); vvd( aoprms[12], 2.101874231495843, 1e-13, "palAoppa", "12", status ); vvd( aoprms[13], 7.601916802079765, 1e-8, "palAoppa", "13", status ); palOap ( "r", 1.6, -1.01, date, dut, elongm, phim, hm, xp, yp, tdk, pmb, rh, wl, tlr, &rap, &dap ); vvd( rap, 1.601197569844787, 1e-10, "palOap", "rr", status ); vvd( dap, -1.012528566544262, 1e-10, "palOap", "rd", status ); palOap ( "h", -1.234, 2.34, date, dut, elongm, phim, hm, xp, yp, tdk, pmb, rh, wl, tlr, &rap, &dap ); vvd( rap, 5.693087688154886463, 1e-10, "palOap", "hr", status ); vvd( dap, 0.8010281167405444, 1e-10, "palOap", "hd", status ); palOap ( "a", 6.1, 1.1, date, dut, elongm, phim, hm, xp, yp, tdk, pmb, rh, wl, tlr, &rap, &dap ); vvd( rap, 5.894305175192448940, 1e-10, "palOap", "ar", status ); vvd( dap, 1.406150707974922, 1e-10, "palOap", "ad", status ); palOapqk ( "r", 2.1, -0.345, aoprms, &rap, &dap ); vvd( rap, 2.10023962776202, 1e-10, "palOapqk", "rr", status ); vvd( dap, -0.3452428692888919, 1e-10, "palOapqk", "rd", status ); palOapqk ( "h", -0.01, 1.03, aoprms, &rap, &dap ); vvd( rap, 1.328731933634564995, 1e-10, "palOapqk", "hr", status ); vvd( dap, 1.030091538647746, 1e-10, "palOapqk", "hd", status ); palOapqk ( "a", 4.321, 0.987, aoprms, &rap, &dap ); vvd( rap, 0.4375507112075065923, 1e-10, "palOapqk", "ar", status ); vvd( dap, -0.01520898480744436, 1e-10, "palOapqk", "ad", status ); palAoppat ( date + PAL__DS2R, aoprms ); vvd( aoprms[13], 7.602374979243502, 1e-8, "palAoppat", " ", status ); } /* Bearings */ static void t_bear( int *status ) { double a1 = 1.234; double b1 = -0.123; double a2 = 2.345; double b2 = 0.789; double d1[3]; double d2[3]; vvd ( palDbear ( a1, b1, a2, b2 ), 0.7045970341781791, 1e-12, "palDbear", " ", status ); palDcs2c ( a1, b1, d1 ); palDcs2c ( a2, b2, d2 ); vvd ( palDpav ( d1, d2 ), 0.7045970341781791, 1e-12, "palDpav", " ", status ); } /* Calendar to MJD */ static void t_caldj( int *status ) { int j; double djm; palCaldj ( 1999, 12, 31, &djm, &j ); vvd ( djm, 51543, 0, "palCaldj", " ", status ); viv ( j, 0, "palCaldj", "J", status ); } /* palDaf2r */ static void t_caf2r( int * status ) { int j; double dr; palDaf2r ( 76, 54, 32.1, &dr, &j ); vvd ( dr, 1.342313819975276, 1e-12, "palDaf2r", "r", status ); viv ( j, 0, "palDaf2r", "j", status ); } /* Test palDcc2s routines */ static void t_cc2s( int * status ) { double dv[3] = { 100., -50., 25. }; double da, db; palDcc2s ( dv, &da, &db ); vvd ( da, -0.4636476090008061, 1e-12, "palDcc2s", "A", status ); vvd ( db, 0.2199879773954594, 1e-12, "palDcc2s", "B", status ); } /* palDd2tf */ static void t_cd2tf( int *status ) { int ihmsf[4]; char s; palDd2tf ( 4, -0.987654321, &s, ihmsf ); viv ( s, '-', "palDd2tf", "S", status ); viv ( ihmsf[0], 23, "palDd2tf", "(1)", status ); viv ( ihmsf[1], 42, "palDd2tf", "(2)", status ); viv ( ihmsf[2], 13, "palDd2tf", "(3)", status ); viv ( ihmsf[3], 3333, "palDd2tf", "(4)", status ); } /* Calendar to MJD */ static void t_cldj( int *status ) { double d; int j; palCldj ( 1899, 12, 31, &d, &j ); vvd ( d, 15019, 0, "palCldj", "D", status ); viv ( j, 0, "palCldj", "J", status ); } /* palDr2af */ static void t_cr2af( int *status ) { char s; int idmsf[4]; palDr2af ( 4, 2.345, &s, idmsf ); viv ( s, '+', "palDr2af", "S", status ); viv ( idmsf[0], 134, "palDr2af", "(1)", status ); viv ( idmsf[1], 21, "palDr2af", "(2)", status ); viv ( idmsf[2], 30, "palDr2af", "(3)", status ); viv ( idmsf[3], 9706, "palDr2af", "(4)", status ); } /* palDr2tf */ static void t_cr2tf( int *status ) { char s; int ihmsf[4]; palDr2tf ( 4, -3.01234, &s, ihmsf ); viv ( s, '-', "palDr2tf", "S", status ); viv ( ihmsf[0], 11, "palDr2tf", "(1)", status ); viv ( ihmsf[1], 30, "palDr2tf", "(2)", status ); viv ( ihmsf[2], 22, "palDr2tf", "(3)", status ); viv ( ihmsf[3], 6484, "palDr2tf", "(4)", status ); } /* palDtf2d */ static void t_ctf2d( int *status ) { double dd; int j; palDtf2d (23, 56, 59.1, &dd, &j); vvd ( dd, 0.99790625, 1e-12, "palDtf2d", "D", status ); viv ( j, 0, "palDtf2d", "J", status ); } /* palDtf2r */ static void t_ctf2r( int *status ) { double dr; int j; palDtf2r (23, 56, 59.1, &dr, &j); vvd ( dr, 6.270029887942679, 1e-12, "palDtf2r", "R", status ); viv ( j, 0, "palDtf2r", "J", status ); } static void t_dat ( int *status ) { vvd ( palDat ( 43900 ), 18, 0, "palDat", " ", status ); vvd ( palDtt ( 40404 ), 39.709746, 1e-12, "palDtt", " ", status ); vvd ( palDt ( 500 ), 4686.7, 1e-10, "palDt", "500", status ); vvd ( palDt ( 1400 ), 408, 1e-11, "palDt", "1400", status ); vvd ( palDt ( 1950 ), 27.99145626, 1e-12, "palDt", "1950", status ); } /* Dates */ static void t_djcal( int *status ) { const double djm = 50123.9999; int iy, im, id; int iydmf[4]; int j; double f; palDjcal ( 4, djm, iydmf, &j ); viv ( iydmf[0], 1996, "palDjcal", "Y", status ); viv ( iydmf[1], 2, "palDjcal", "M", status ); viv ( iydmf[2], 10, "palDjcal", "D", status ); viv ( iydmf[3], 9999, "palDjcal", "F", status ); viv ( j, 0, "palDjcal", "J", status ); palDjcl ( djm, &iy, &im, &id, &f, &j ); viv ( iy, 1996, "palDjcl", "Y", status ); viv ( im, 2, "palDjcl", "M", status ); viv ( id, 10, "palDjcl", "D", status ); vvd ( f, 0.9999, 1e-7, "palDjcl", "F", status ); viv ( j, 0, "palDjcl", "J", status ); } /* Matrix inversion */ static void t_dmat( int *status ) { int j; int iw[3]; double dd; double da[9] = { 2.22, 1.6578, 1.380522, 1.6578, 1.380522, 1.22548578, 1.380522, 1.22548578, 1.1356276122 }; double dv[3] = { 2.28625, 1.7128825, 1.429432225 }; palDmat( 3, da, dv, &dd, &j, iw ); vvd ( da[0], 18.02550629769198, 1e-10, "palDmat", "a[0]", status ); vvd ( da[1], -52.16386644917280607, 1e-10, "palDmat", "a[1]", status ); vvd ( da[2], 34.37875949717850495, 1e-10, "palDmat", "a[2]", status ); vvd ( da[3], -52.16386644917280607, 1e-10, "palDmat", "a[3]", status ); vvd ( da[4], 168.1778099099805627, 1e-10, "palDmat", "a[4]", status ); vvd ( da[5], -118.0722869694232670, 1e-10, "palDmat", "a[5]", status ); vvd ( da[6], 34.37875949717850495, 1e-10, "palDmat", "a[6]", status ); vvd ( da[7], -118.0722869694232670, 1e-10, "palDmat", "a[7]", status ); vvd ( da[8], 86.50307003740151262, 1e-10, "palDmat", "a[8]", status ); vvd ( dv[0], 1.002346480763383, 1e-12, "palDmat", "v[0]", status ); vvd ( dv[1], 0.03285594016974583489, 1e-12, "palDmat", "v[1]", status ); vvd ( dv[2], 0.004760688414885247309, 1e-12, "palDmat", "v[2]", status ); vvd ( dd, 0.003658344147359863, 1e-12, "palDmat", "D", status ); viv ( j, 0, "palDmat", "J", status ); } /* Test palDe2h and palDh2e routines */ static void t_e2h( int *status ) { double dh, dd, dp, da, de; dh = -0.3; dd = -1.1; dp = -0.7; palDe2h( dh, dd, dp, &da, &de ); vvd( da, 2.820087515852369, 1e-12, "palDe2h", "AZ", status); vvd( de, 1.132711866443304, 1e-12, "palDe2h", "EL", status ); palDh2e( da, de, dp, &dh, &dd ); vvd( dh, -0.3, 1e-12, "palDh2e", "HA", status); vvd( dd, -1.1, 1e-12, "palDh2e", "DEC", status ); } /* Epochs */ static void t_epb( int *status ) { vvd ( palEpb( 45123 ), 1982.419793168669, 1e-8, "palEpb", " ", status ); } static void t_epb2d( int *status ) { vvd ( palEpb2d( 1975.5 ), 42595.5995279655, 1e-7, "palEpb2d", " ", status ); } static void t_epco( int *status ) { vvd ( palEpco ( 'B', 'J', 2000 ), 2000.001277513665, 1e-7, "palEpco", "BJ", status ); vvd ( palEpco ( 'J', 'B', 1950 ), 1949.999790442300, 1e-7, "palEpco", "JB", status ); vvd ( palEpco ( 'J', 'j', 2000 ), 2000, 1e-7, "palEpco", "JJ", status ); } static void t_epj( int *status ) { vvd ( palEpj( 42999 ), 1976.603696098563, 1e-7, "palEpj", " ", status ); } static void t_epj2d( int *status ) { vvd ( palEpj2d( 2010.077 ), 55225.124250, 1e-6, "palEpj2d", " ", status ); } /* Equation of the equinoxes */ /* Use SOFA test because of change in precession model */ static void t_eqeqx (int *status ) { vvd ( palEqeqx( 53736. ), -0.8834195072043790156e-5, 1e-15, "palEqeqx", " ", status ); } /* E-terms */ static void t_etrms( int * status ) { double ev[3]; palEtrms ( 1976.9, ev ); vvd ( ev[0], -1.621617102537041e-6, 1e-18, "palEtrms", "X", status ); vvd ( ev[1], -3.310070088507914e-7, 1e-18, "palEtrms", "Y", status ); vvd ( ev[2], -1.435296627515719e-7, 1e-18, "palEtrms", "Z", status ); } /* J2000 to Galactic */ static void t_eqgal( int *status ) { double dl, db; palEqgal ( 5.67, -1.23, &dl, &db ); vvd ( dl, 5.612270780904526, 1e-12, "palEqgal", "DL", status ); vvd ( db, -0.6800521449061520, 1e-12, "palEqgal", "DB", status ); } /* Galactic to J2000 equatorial */ static void t_galeq( int *status ) { double dr, dd; palGaleq ( 5.67, -1.23, &dr, &dd ); vvd ( dr, 0.04729270418071426, 1e-12, "palGaleq", "DR", status ); vvd ( dd, -0.7834003666745548, 1e-12, "palGaleq", "DD", status ); } /* Galactic to supergalactic */ static void t_galsup(int *status ) { double dsl, dsb; palGalsup ( 6.1, -1.4, &dsl, &dsb ); vvd ( dsl, 4.567933268859171, 1e-12, "palGalsup", "DSL", status ); vvd ( dsb, -0.01862369899731829, 1e-12, "palGalsup", "DSB", status ); } /* Geocentric coordinates */ /* This is not from sla_test.f */ static void t_geoc( int *status ) { double r; double z; /* JCMT */ const double lat = 19.822838905884 * PAL__DD2R; const double alt = 4120.0; palGeoc( lat, alt, &r, &z ); /* Note the lower tolerance than normal since the models in SLA differ from the more up to date model in SOFA */ vvd( r, 4.01502667039618e-05, 1e-10, "palGeoc", "R", status ); vvd( z, 1.43762411970295e-05, 1e-10, "palGeoc", "Z", status ); } /* Galactic to Fk4 */ static void t_ge50 ( int *status ) { double dr, dd; palGe50( 6.1, -1.55, &dr, &dd ); vvd ( dr, 0.1966825219934508, 1e-12, "palGe50", "DR", status ); vvd ( dd, -0.4924752701678960, 1e-12, "palGe50", "DD", status ); } /* GMST */ /* We use the SOFA test values rather than the values from SLA because the precession models have changed */ static void t_gmst( int *status ) { vvd ( palGmst( 53736. ), 1.754174971870091203, 1e-12, "palGmst", " ", status ); vvd ( palGmsta( 53736., 0.0 ), 1.754174971870091203, 1e-12, "palGmsta", " ", status ); } /* FK5 */ static void t_fk52h ( int *status ) { double r5, d5, dr5, dd5, rh, dh; palFk5hz ( 1.234, -0.987, 1980, &rh, &dh ); vvd ( rh, 1.234000136713611301, 1e-13, "palFk5hz", "R", status ); vvd ( dh, -0.9869999702020807601, 1e-13, "palFk5hz", "D", status ); palHfk5z ( rh, dh, 1980, &r5, &d5, &dr5, &dd5 ); vvd ( r5, 1.234, 1e-13, "palHfk5z", "R", status ); vvd ( d5, -0.987, 1e-13, "palHfk5z", "D", status ); vvd ( dr5, 0.000000006822074, 1e-13, "palHfk5z", "DR", status ); vvd ( dd5, -0.000000002334012, 1e-13, "palHfk5z", "DD", status ); } static void t_intin( int *status ) { const char s[] = " -12345, , -0 2000 + "; /* 1234567890123456789012345678 */ int i = 1; long n = 0; int j; palIntin ( s, &i, &n, &j ); viv ( i, 10, "palIntin", "I1", status ); viv ( n, -12345, "palIntin", "V1", status ); viv ( j, -1, "palIntin", "J1", status ); palIntin ( s, &i, &n, &j ); viv ( i, 12, "palIntin", "I2", status ); viv ( n, -12345, "palIntin", "V2", status ); viv ( j, 1, "palIntin", "J2", status ); palIntin ( s, &i, &n, &j ); viv ( i, 17, "palIntin", "I3", status ); viv ( n, 0, "palIntin", "V3", status ); viv ( j, -1, "palIntin", "J3", status ); palIntin ( s, &i, &n, &j ); viv ( i, 23, "palIntin", "I4", status ); viv ( n, 2000, "palIntin", "V4", status ); viv ( j, 0, "palIntin", "J4", status ); palIntin ( s, &i, &n, &j ); viv ( i, 29, "palIntin", "I5", status ); viv ( n, 2000, "palIntin", "V5", status ); viv ( j, 1, "palIntin", "J5", status ); /* Note that strtol does not care about a + */ } /* Moon */ static void t_moon ( int *status ) { double pv[6]; double expected1[] = { 0.00229161514616454, 0.000973912029208393, 0.000669931538978146, -3.44709700068209e-09, 5.44477533462392e-09, 2.11785724844417e-09 }; /* SLA test only include slaMoon so we use the example from SUN/67 */ palDmoon( 48634.4687174074, pv ); vvec( 6, pv, expected1, "palDmoon", status ); } /* Nutation */ static void t_nut( int *status ) { double dpsi, deps, eps0; double expected[3][3] = { { 9.999999969492166e-1, 7.166577986249302e-5, 3.107382973077677e-5 }, { -7.166503970900504e-5, 9.999999971483732e-1, -2.381965032461830e-5 }, { -3.107553669598237e-5, 2.381742334472628e-5, 9.999999992335206818e-1 } }; double rmatn[3][3]; /* SLA tests with low precision */ palNut( 46012.32, rmatn ); vrmat( rmatn, expected, "palNut", 1.0e-3, status ); /* Use the SOFA tests */ palNutc( 54388.0, &dpsi, &deps, &eps0 ); vvd( eps0, 0.4090749229387258204, 1e-14, "palNutc", "eps0", status); palNutc( 53736.0, &dpsi, &deps, &eps0 ); vvd(dpsi, -0.9630912025820308797e-5, 1e-13, "palNutc", "dpsi", status); vvd(deps, 0.4063238496887249798e-4, 1e-13, "palNutc", "deps", status); } /* palPrebn */ static void t_prebn( int *status ) { double rmatp[3][3]; double prebn_expected[3][3] = { { 9.999257613786738e-1, -1.117444640880939e-2, -4.858341150654265e-3 }, { 1.117444639746558e-2, 9.999375635561940e-1, -2.714797892626396e-5 }, { 4.858341176745641e-3, -2.714330927085065e-5, 9.999881978224798e-1 }, }; palPrebn ( 1925., 1975., rmatp ); vrmat( rmatp, prebn_expected, "palPrebn", 1.0e-12, status ); } /* Range */ static void t_range( int *status ) { vvd ( palDrange ( -4 ), 2.283185307179586, 1e-12, "palDrange", " ", status ); } static void t_ranorm( int *status ) { vvd ( palDranrm ( -0.1 ), 6.183185307179587, 1e-12, "palDranrm", "2", status ); } /* Separation routines */ static void t_sep( int *status ) { double d1[3] = { 1.0, 0.1, 0.2 }; double d2[3] = { -3.0, 1e-3, 0.2 }; double ad1, bd1, ad2, bd2; palDcc2s( d1, &ad1, &bd1 ); palDcc2s( d2, &ad2, &bd2 ); vvd ( palDsep ( ad1, bd1, ad2, bd2 ), 2.8603919190246608, 1e-7, "palDsep", " ", status ); vvd ( palDsepv ( d1, d2 ), 2.8603919190246608, 1e-7, "palDsepv", " ", status ); } /* Supergalactic */ static void t_supgal( int *status ) { double dl, db; palSupgal ( 6.1, -1.4, &dl, &db ); vvd ( dl, 3.798775860769474, 1e-12, "palSupgal", "DL", status ); vvd ( db, -0.1397070490669407, 1e-12, "palSupgal", "DB", status ); } /* Test spherical tangent-plane-projection routines */ static void t_tp( int *status ) { int j; double dr0, dd0, dr1, dd1, dx, dy, dr2, dd2, dr01, dd01, dr02, dd02; dr0 = 3.1; dd0 = -0.9; dr1 = dr0 + 0.2; dd1 = dd0 - 0.1; palDs2tp( dr1, dd1, dr0, dd0, &dx, &dy, &j ); vvd( dx, 0.1086112301590404, 1e-12, "palDs2tp", "x", status ); vvd( dy, -0.1095506200711452, 1e-12, "palDs2tp", "y", status ); viv( j, 0, "palDs2tp", "j", status ); palDtp2s( dx, dy, dr0, dd0, &dr2, &dd2 ); vvd( dr2 - dr1, 0., 1e-12, "palDtp2s", "r", status ); vvd( dd2 - dd1, 0., 1e-12, "palDtp2s", "d", status ); palDtps2c( dx, dy, dr2, dd2, &dr01, &dd01, &dr02, &dd02, &j ); vvd( dr01, 3.1, 1e-12, "palDtps2c", "r1", status); vvd( dd01, -0.9, 1e-12, "palDtps2c", "d1", status); vvd( dr02, 0.3584073464102072, 1e-12, "palDtps2c", "r2", status); vvd( dd02, -2.023361658234722, 1e-12, "palDtps2c", "d2", status ); viv( j, 1, "palDtps2c", "n", status ); } /* Test all the 3-vector and 3x3 matrix routines. */ static void t_vecmat( int * status ) { int i; /* palDav2m */ double drm1[3][3]; double dav[3] = { -0.123, 0.0987, 0.0654 }; double dav2m_expected[3][3] = { { 0.9930075842721269, 0.05902743090199868, -0.1022335560329612 }, { -0.07113807138648245, 0.9903204657727545, -0.1191836812279541 }, { 0.09420887631983825, 0.1256229973879967, 0.9875948309655174 }, }; /* palDeuler */ double drm2[3][3]; double deuler_expected[3][3] = { { -0.1681574770810878, 0.1981362273264315, 0.9656423242187410 }, { -0.2285369373983370, 0.9450659587140423, -0.2337117924378156 }, { -0.9589024617479674, -0.2599853247796050, -0.1136384607117296 } }; /* palDmxm */ double drm[3][3]; double dmxm_expected[3][3] = { { -0.09010460088585805, 0.3075993402463796, 0.9472400998581048 }, { -0.3161868071070688, 0.8930686362478707, -0.3200848543149236 }, { -0.9444083141897035, -0.3283459407855694, 0.01678926022795169 }, }; /* palDcs2c et al */ double dv1[3]; double dv2[3]; double dv3[3]; double dv4[3]; double dv5[3]; double dv6[3]; double dv7[3]; double dvm; /* palDav2m */ palDav2m( dav, drm1 ); vrmat( drm1, dav2m_expected, "palDav2m", 1.0e-12, status ); /* Test palDeuler */ palDeuler( "YZY", 2.345, -0.333, 2.222, drm2 ); vrmat( drm2, deuler_expected, "palDeuler", 1.0e-12, status ); /* palDmxm */ palDmxm( drm2, drm1, drm ); vrmat( drm, dmxm_expected, "palDmxm", 1.0e-12, status ); /* palDcs2c */ palDcs2c( 3.0123, -0.999, dv1 ); vvd ( dv1[0], -0.5366267667260525, 1e-12, "palDcs2c", "x", status ); vvd ( dv1[1], 0.06977111097651444, 1e-12, "palDcs2c", "y", status ); vvd ( dv1[2], -0.8409302618566215, 1e-12, "palDcs2c", "z", status ); /* palDmxv */ palDmxv( drm1, dv1, dv2 ); palDmxv( drm2, dv2, dv3 ); vvd ( dv3[0], -0.7267487768696160, 1e-12, "palDmxv", "x", status ); vvd ( dv3[1], 0.5011537352639822, 1e-12, "palDmxv", "y", status ); vvd ( dv3[2], 0.4697671220397141, 1e-12, "palDmxv", "z", status ); /* palDimxv */ palDimxv( drm, dv3, dv4 ); vvd ( dv4[0], -0.5366267667260526, 1e-12, "palDimxv", "X", status ); vvd ( dv4[1], 0.06977111097651445, 1e-12, "palDimxv", "Y", status ); vvd ( dv4[2], -0.8409302618566215, 1e-12, "palDimxv", "Z", status ); /* palDm2av */ palDm2av( drm, dv5 ); vvd ( dv5[0], 0.006889040510209034, 1e-12, "palDm2av", "X", status ); vvd ( dv5[1], -1.577473205461961, 1e-12, "palDm2av", "Y", status ); vvd ( dv5[2], 0.5201843672856759, 1e-12, "palDm2av", "Z", status ); for (i=0; i<3; i++) { dv5[i] *= 1000.0; } /* palDvn */ palDvn( dv5, dv6, &dvm ); vvd ( dv6[0], 0.004147420704640065, 1e-12, "palDvn", "X", status ); vvd ( dv6[1], -0.9496888606842218, 1e-12, "palDvn", "Y", status ); vvd ( dv6[2], 0.3131674740355448, 1e-12, "palDvn", "Z", status ); vvd ( dvm, 1661.042127339937, 1e-9, "palDvn", "M", status ); vvd ( palDvdv ( dv6, dv1 ), -0.3318384698006295, 1e-12, "palDvn", " ", status ); /* palDvxv */ palDvxv( dv6, dv1, dv7 ); vvd ( dv7[0], 0.7767720597123304, 1e-12, "palDvxv", "X", status ); vvd ( dv7[1], -0.1645663574562769, 1e-12, "palDvxv", "Y", status ); vvd ( dv7[2], -0.5093390925544726, 1e-12, "palDvxv", "Z", status ); } static void t_ecmat( int *status ) { double rmat[3][3]; double expected[3][3] = { { 1.0, 0.0, 0.0 }, { 0.0, 0.91749307789883549624, 0.3977517467060596168 }, { 0.0, -0.3977517467060596168, 0.91749307789883549624 } }; palEcmat( 55966.46, rmat ); vrmat( rmat, expected, "palEcmat", 1.0e-12, status ); } static void t_eqecl ( int *status ) { double dl, db; palEqecl ( 0.789, -0.123, 46555, &dl, &db ); /* Slight changes from SLA for 2006 precession/nutation */ vvd ( dl, 0.7036566430349022, 1e-6, "palEqecl", "L", status ); vvd ( db, -0.4036047164116848, 1e-6, "palEqecl", "B", status ); } static void t_prec( int *status ) { double rmat[3][3]; double expected[3][3] = { { 0.9999856154510, -0.0049192906204, -0.0021376320580 }, { 0.0049192906805, 0.9999879002027, -5.2297405698747e-06 }, { 0.0021376319197, -5.2859681191735e-06, 0.9999977152483 } }; palPrec( 1990.0, 2012.0, rmat ); vrmat( rmat, expected, "palPrec", 1.0e-12, status ); } static void t_preces( int *status ) { double ra; double dc; ra = 6.28; dc = -1.123; palPreces ( "FK4", 1925, 1950, &ra, &dc ); vvd ( ra, 0.002403604864728447, 1e-12, "palPreces", "R", status ); vvd ( dc, -1.120570643322045, 1e-12, "palPreces", "D", status ); /* This is the SLA test but PAL now uses the IAU 2006 precession model so we need to loosen the comparison */ ra = 0.0123; dc = 1.0987; palPreces ( "FK5", 2050, 1990, &ra, &dc ); vvd ( ra, 6.282003602708382, 1e-6, "palPreces", "R", status ); vvd ( dc, 1.092870326188383, 1e-6, "palPreces", "D", status ); } static void t_evp( int *status ) { double dvb[3],dpb[3],dvh[3],dph[3]; double vbex[3] = { 1.6957348127008098514e-07, -9.1093446116039685966e-08, -3.9528532243991863036e-08 }; double pbex[3] = {-0.49771075259730546136, -0.80273812396332311359, -0.34851593942866060383 }; double vhex[3] = { 1.6964379181455713805e-07, -9.1147224045727438391e-08, -3.9553158272334222497e-08 }; double phex[3] = { -0.50169124421419830639, -0.80650980174901798492, -0.34997162028527262212 }; double vbex2[3] = { -0.0109187426811683, -0.0124652546173285, -0.0054047731809662 }; double pbex2[3] = { -0.7714104440491060, +0.5598412061824225, +0.2425996277722475 }; double vhex2[3] = { -0.0109189182414732, -0.0124718726844084, -0.0054075694180650 }; double phex2[3] = { -0.7757238809297653, +0.5598052241363390, +0.2426998466481708 }; palEvp( 2010.0, 2012.0, dvb, dpb, dvh, dph ); vvec( 3, dvb, vbex, "palEvp", status ); vvec( 3, dpb, pbex, "palEvp", status ); vvec( 3, dvh, vhex, "palEvp", status ); vvec( 3, dph, phex, "palEvp", status ); palEpv ( 53411.52501161, dph, dvh, dpb, dvb ); vvec( 3, dvb, vbex2, "palEpv", status ); vvec( 3, dpb, pbex2, "palEpv", status ); vvec( 3, dvh, vhex2, "palEpv", status ); vvec( 3, dph, phex2, "palEpv", status ); } static void t_map( int *status ) { double ra, da; palMap ( 6.123, -0.999, 1.23e-5, -0.987e-5, 0.123, 32.1, 1999, 43210.9, &ra, &da ); /* These are the SLA tests but and they agree to 0.1 arcsec with PAL/SOFA. We expect a slight difference from the change to nutation models. */ vvd ( ra, 6.117130429775647, 1e-6, "palMap", "RA", status ); vvd ( da, -1.000880769038632, 1e-8, "palMap", "DA", status ); } static void t_mappa( int *status ) { double amprms[21]; double expected[21] = {1.9986310746064646082, -0.1728200754134739392, 0.88745394651412767839, 0.38472374350184274094, -0.17245634725219796679, 0.90374808622520386159, 0.3917884696321610738, 2.0075929387510784968e-08, -9.9464149073251757597e-05, -1.6125306981057062306e-05, -6.9897255793245634435e-06, 0.99999999489900059935, 0.99999983777998024959, -0.00052248206600935195865, -0.00022683144398381763045, 0.00052248547063364874764, 0.99999986339269864022, 1.4950491424992534218e-05, 0.00022682360163333854623, -1.5069005133483779417e-05, 0.99999997416198904698}; palMappa( 2010.0, 55927.0, amprms ); vvec( 21, amprms, expected, "palMappa", status ); } static void t_mapqkz( int *status ) { double amprms[21], ra, da; palMappa( 2010.0, 55927.0, amprms ); palMapqkz( 1.234, -0.567, amprms, &ra, &da ); vvd( ra, 1.2344879748414849807, 1.0E-12, "palMapqkz", "ra", status ); vvd( da, -0.56697099554368701746, 1.0E-12, "palMapqkz", "da", status ); /* Try the same with palMapqk and zero parallax and proper motion */ palMapqk( 1.234, -0.567, 0., 0., 0., 0., amprms, &ra, &da ); vvd( ra, 1.2344879748414849807, 1.0E-7, "palMapqkz", "ra", status ); vvd( da, -0.56697099554368701746, 1.0E-7, "palMapqkz", "da", status ); } static void t_ampqk( int *status ) { double amprms[21], rm, dm; palMappa( 2010.0, 55927.0, amprms ); palAmpqk( 1.234, -0.567, amprms, &rm, &dm ); vvd( rm, 1.2335120411026936349, 1.0E-12, "palAmpqk", "rm", status ); vvd( dm, -0.56702908706930343907, 1.0E-12, "palAmpqk", "dm", status ); } static void t_fk45z( int *status ) { double r2000, d2000; palFk45z( 1.2, -0.3, 1960.0, &r2000, &d2000 ); vvd( r2000, 1.2097812228966762227, 1.0E-12, "palFk45z", "r2000", status ); vvd( d2000, -0.29826111711331398935, 1.0E-12, "palFk45z", "d2000", status ); } static void t_fk54z( int *status ) { double r1950, d1950, dr1950, dd1950; palFk54z( 1.2, -0.3, 1960.0, &r1950, &d1950, &dr1950, &dd1950 ); vvd( r1950, 1.1902221805755279771, 1.0E-12, "palFk54z", "r1950", status ); vvd( d1950, -0.30178317645793828472, 1.0E-12, "palFk54z", "d1950", status ); vvd( dr1950, -1.7830874775952945507e-08, 1.0E-12, "palFk54z", "dr1950", status ); vvd( dd1950, 7.196059425334821089e-09, 1.0E-12, "palFk54z", "dd1950", status ); } static void t_flotin( int * status ) { int j; const char * s = " 12.345, , -0 1E3-4 2000 E "; /* 123456789012345678901234567890123 */ int i = 1; double dv = 0.0; palDfltin ( s, &i, &dv, &j ); viv ( i, 10, "palDfltin", "I1", status ); vvd ( dv, 12.345, 1e-12, "palDfltin", "V1", status ); viv ( j, 0, "palDfltin", "J1", status ); palDfltin ( s, &i, &dv, &j ); viv ( i, 12, "palDfltin", "I2", status ); vvd ( dv, 12.345, 1e-12, "palDfltin", "V2", status ); viv ( j, 1, "palDfltin", "J2", status ); palDfltin ( s, &i, &dv, &j ); viv ( i, 16, "palDfltin", "I3", status ); vvd ( dv, 0, 0, "palDfltin", "V3", status ); viv ( j, -1, "palDfltin", "J3", status ); palDfltin ( s, &i, &dv, &j ); viv ( i, 19, "palDfltin", "I4", status ); vvd ( dv, 1000, 0, "palDfltin", "V4", status ); viv ( j, 0, "palDfltin", "J4", status ); palDfltin ( s, &i, &dv, &j ); viv ( i, 22, "palDfltin", "I5", status ); vvd ( dv, -4, 0, "palDfltin", "V5", status ); viv ( j, -1, "palDfltin", "J5", status ); palDfltin ( s, &i, &dv, &j ); viv ( i, 28, "palDfltin", "I6", status ); vvd ( dv, 2000, 0, "palDfltin", "V6", status ); viv ( j, 0, "palDfltin", "J6", status ); palDfltin ( s, &i, &dv, &j ); viv ( i, 34, "palDfltin", "I7", status ); vvd ( dv, 2000, 0, "palDfltin", "V7", status ); viv ( j, 1, "palDfltin", "J7", status ); /* differs from slaDfltin */ /* Now test overflow and underflow */ i = 1; palDfltin( " 1D600 ", &i, &dv, &j ); viv ( i, 8, "palDfltin", "I8", status ); vvd ( dv, HUGE_VAL, 0, "palDfltin", "V8", status ); viv ( j, 2, "palDfltin", "J8", status ); } static void t_obs( int * status ) { char shortname[11]; char longname[41]; double w, p, h; int lstat; lstat = palObs( 0, "MMT", shortname, sizeof(shortname), longname, sizeof(longname), &w, &p, &h ); vcs ( shortname, "MMT", "palObs", "1/C", status ); vcs ( longname, "MMT 6.5m, Mt Hopkins", "palObs", "1/NAME", status ); vvd ( w, 1.935300584055477, 1e-8, "palObs", "1/W", status ); vvd ( p, 0.5530735081550342238, 1e-10, "palObs", "1/P", status ); vvd ( h, 2608, 1e-10, "palObs", "1/H", status ); viv( lstat, 0, "palObs", "retval", status ); lstat = palObs ( 61, NULL, shortname, sizeof(shortname), longname, sizeof(longname), &w, &p, &h ); vcs ( shortname, "KECK1", "palObs", "2/C", status ); vcs ( longname, "Keck 10m Telescope #1", "palObs", "2/NAME", status ); vvd ( w, 2.713545757918895, 1e-8, "palObs", "2/W", status ); vvd ( p, 0.3460280563536619, 1e-8, "palObs", "2/P", status ); vvd ( h, 4160, 1e-10, "palObs", "2/H", status ); viv( lstat, 0, "palObs", "retval", status ); lstat = palObs ( 83, NULL, shortname, sizeof(shortname), longname, sizeof(longname), &w, &p, &h ); vcs ( shortname, "MAGELLAN2", "palObs", "3/C", status ); vcs ( longname, "Magellan 2, 6.5m, Las Campanas", "palObs", "3/NAME", status ); vvd ( w, 1.233819305534497, 1e-8, "palObs", "3/W", status ); vvd ( p, -0.506389344359954, 1e-8, "palObs", "3/P", status ); vvd ( h, 2408, 1e-10, "palObs", "3/H", status ); viv( lstat, 0, "palObs", "retval", status ); /* the first argument here should be 1 greater than the number of items * in const struct telData defined in palObs.c */ lstat = palObs ( 86, NULL, shortname, sizeof(shortname), longname, sizeof(longname), &w, &p, &h ); vcs ( longname, "?", "palObs", "4/NAME", status ); viv( lstat, -1, "palObs", "retval", status ); lstat = palObs ( 0, "MISSING", shortname, sizeof(shortname), longname, sizeof(longname), &w, &p, &h ); vcs ( longname, "?", "palObs", "5/NAME", status ); viv( lstat, -1, "palObs", "retval", status ); lstat = palObs( 0, "mmt", shortname, sizeof(shortname), longname, sizeof(longname), &w, &p, &h ); vcs ( shortname, "MMT", "palObs", "6/C", status ); vcs ( longname, "MMT 6.5m, Mt Hopkins", "palObs", "6/NAME", status ); vvd ( w, 1.935300584055477, 1e-8, "palObs", "6/W", status ); vvd ( p, 0.5530735081550342238, 1e-10, "palObs", "6/P", status ); vvd ( h, 2608, 1e-10, "palObs", "6/H", status ); viv( lstat, 0, "palObs", "retval", status ); } static void t_pa( int *status ) { vvd ( palPa ( -1.567, 1.5123, 0.987 ), -1.486288540423851, 1e-12, "palPa", " ", status ); vvd ( palPa ( 0, 0.789, 0.789 ), 0, 0, "palPa", "zenith", status ); } static void t_planet( int * status ) { int j; double pv[6]; double u[13]; double expected1[6] = { 0., 0., 0., 0., 0., 0. }; double expectedue1[13] = { 1.000878908362435284, -0.3336263027874777288, 50000., 2.840425801310305210, 0.1264380368035014224, -0.2287711835229143197, -0.01301062595106185195, 0.5657102158104651697, 0.2189745287281794885, 2.852427310959998500, -0.01552349065435120900, 50000., 0.0 }; double expectedue2[13] = { 1.00006, -4.856142884511782, 50000., 0.3, -0.2, 0.1, -0.4520378601821727, 0.4018114312730424, -.3515850023639121, 0.3741657386773941, -0.2511321445456515, 50000., 0. }; double expectedue3[13] = { 1.000000000000000, -0.3329769417028020949, 50100., 2.638884303608524597, 1.070994304747824305, 0.1544112080167568589, -0.2188240619161439344, 0.5207557453451906385, 0.2217782439275216936, 2.852118859689216658, 0.01452010174371893229, 50100. }; double expectedpv[6] = { 0.07944764084631667011, -0.04118141077419014775, 0.002915180702063625400, -0.6890132370721108608e-6, 0.4326690733487621457e-6, -0.1763249096254134306e-6, }; double expectedpv2[6] = { 1.947628959288897677, -1.013736058752235271, -0.3536409947732733647, 2.742247411571786194e-8, 1.170467244079075911e-7, 3.709878268217564005e-8 }; double ra,dec,diam, r; int jform; double epoch, orbinc, anode, perih, aorq, e, aorl, dm; /* palEl2ue */ palEl2ue ( 50000, 1, 49000, 0.1, 2, 0.2, 3, 0.05, 3, 0.003312, u, &j ); vvec( 13, u, expectedue1, "palEl2ue", status ); viv ( j, 0, "palEl2ue", "J", status ); /* palPertel */ palPertel ( 2, 43000., 43200., 43000., 0.2, 3, 4, 5, 0.02, 6, &epoch, &orbinc, &anode, &perih, &aorq, &e, &aorl, &j ); vvd ( epoch, 43200., 1e-10, "palPertel", "EPOCH", status ); vvd ( orbinc, 0.1995661466545422381, 1e-7, "palPertel", "ORBINC", status ); vvd ( anode, 2.998052737821591215, 1e-7, "palPertel", "ANODE", status ); vvd ( perih, 4.009516448441143636, 1e-6, "palPertel", "PERIH", status ); vvd ( aorq, 5.014216294790922323, 1e-7, "palPertel", "AORQ", status ); vvd ( e, 0.02281386258309823607, 1e-7, "palPertel", "E", status ); vvd ( aorl, 0.01735248648779583748, 1e-6, "palPertel", "AORL", status ); viv ( j, 0, "palPertel", "J", status ); /* palPertue */ palPertue ( 50100, u, &j ); vvec( 13, u, expectedue3, "palPertue", status ); viv ( j, 0, "palPertue", "J", status ); /* palPlanel */ palPlanel ( 50600, 2, 50500, 0.1, 3, 5, 2, 0.3, 4, 0, pv, &j ); vvec( 6, pv, expectedpv2, "palPlanel", status ); viv ( j, 0, "palPlanel", "J", status ); /* palPlanet */ palPlanet( 1e6, 0, pv, &j ); vvec( 6, pv, expected1, "palPlanet 1", status ); viv ( j, -1, "palPlanet", "J 1", status ); palPlanet( 1e6, 9, pv, &j); viv ( j, -1, "palPlanet", "J 2", status ); palPlanet ( -320000, 3, pv, &j ); vvd ( pv[0], 0.9308038666827242603, 1e-11, "palPlanet", "pv[0] 3", status ); vvd ( pv[1], 0.3258319040252137618, 1e-11, "palPlanet", "pv[1] 3", status ); vvd ( pv[2], 0.1422794544477122021, 1e-11, "palPlanet", "pv[2] 3", status ); vvd ( pv[3], -7.441503423889371696e-8, 1e-17, "palPlanet", "pv[3] 3", status ); vvd ( pv[4], 1.699734557528650689e-7, 1e-17, "palPlanet", "pv[4] 3", status ); vvd ( pv[5], 7.415505123001430864e-8, 1e-17, "palPlanet", "pv[5] 3", status ); viv ( j, 1, "palPlanet", "J 3", status ); palPlanet ( 43999.9, 1, pv, &j ); vvd ( pv[0], 0.2945293959257422246, 1e-11, "palPlanet", "pv[0] 4", status ); vvd ( pv[1], -0.2452204176601052181, 1e-11, "palPlanet", "pv[1] 4", status ); vvd ( pv[2], -0.1615427700571978643, 1e-11, "palPlanet", "pv[2] 4", status ); vvd ( pv[3], 1.636421147459047057e-7, 1e-18, "palPlanet", "pv[3] 4", status ); vvd ( pv[4], 2.252949422574889753e-7, 1e-18, "palPlanet", "pv[4] 4", status ); vvd ( pv[5], 1.033542799062371839e-7, 1e-18, "palPlanet", "pv[5] 4", status ); viv ( j, 0, "palPlanet", "J 4", status ); /* palPlante test would go here */ palPlante ( 50600., -1.23, 0.456, 2, 50500., 0.1, 3., 5., 2., 0.3, 4., 0., &ra, &dec, &r, &j ); vvd ( ra, 6.222958101333794007, 1e-6, "palPlante", "RA", status ); vvd ( dec, 0.01142220305739771601, 1e-6, "palPlante", "DEC", status ); vvd ( r, 2.288902494080167624, 1e-8, "palPlante", "R", status ); viv ( j, 0, "palPlante", "J", status ); u[0] = 1.0005; u[1] = -0.3; u[2] = 55000.; u[3] = 2.8; u[4] = 0.1; u[5] = -0.2; u[6] = -0.01; u[7] = 0.5; u[8] = 0.22; u[9] = 2.8; u[10] = -0.015; u[11] = 55001.; u[12] = 0; /* palPlantu */ palPlantu ( 55001., -1.23, 0.456, u, &ra, &dec, &r, &j ); vvd ( ra, 0.3531814831241686647, 1e-6, "palPlantu", "RA", status ); vvd ( dec, 0.06940344580567131328, 1e-6, "palPlantu", "DEC", status ); vvd ( r, 3.031687170873274464, 1e-8, "palPlantu", "R", status ); viv ( j, 0, "palPlantu", "J", status ); /* palPv2el */ pv[0] = 0.3; pv[1] = -0.2; pv[2] = 0.1; pv[3] = -0.9e-7; pv[4] = 0.8e-7; pv[5] = -0.7e-7; palPv2el ( pv, 50000, 0.00006, 1, &jform, &epoch, &orbinc, &anode, &perih, &aorq, &e, &aorl, &dm, &j ); viv ( jform, 1, "palPv2el", "JFORM", status ); vvd ( epoch, 50000, 1e-10, "palPv2el", "EPOCH", status ); vvd ( orbinc, 1.52099895268912, 1e-12, "palPv2el", "ORBINC", status ); vvd ( anode, 2.720503180538650, 1e-12, "palPv2el", "ANODE", status ); vvd ( perih, 2.194081512031836, 1e-12, "palPv2el", "PERIH", status ); vvd ( aorq, 0.2059371035373771, 1e-12, "palPv2el", "AORQ", status ); vvd ( e, 0.9866822985810528, 1e-12, "palPv2el", "E", status ); vvd ( aorl, 0.2012758344836794, 1e-12, "palPv2el", "AORL", status ); vvd ( dm, 0.1840740507951820, 1e-12, "palPv2el", "DM", status ); viv ( j, 0, "palPv2el", "J", status ); /* palPv2ue */ palPv2ue ( pv, 50000., 0.00006, u, &j ); vvec( 13, u, expectedue2, "palPv2ue", status ); viv ( j, 0, "palPv2ue", "J", status ); /* Planets */ palRdplan ( 40999.9, 0, 0.1, -0.9, &ra, &dec, &diam ); vvd ( ra, 5.772270359389275837, 1e-6, "palRdplan", "ra 0", status ); vvd ( dec, -0.2089207338795416192, 1e-7, "palRdplan", "dec 0", status ); vvd ( diam, 9.415338935229717875e-3, 1e-10, "palRdplan", "diam 0", status ); palRdplan ( 41999.9, 1, 1.1, -0.9, &ra, &dec, &diam ); vvd ( ra, 3.866363420052936653, 1e-6, "palRdplan", "ra 1", status ); vvd ( dec, -0.2594430577550113130, 1e-7, "palRdplan", "dec 1", status ); vvd ( diam, 4.638468996795023071e-5, 1e-14, "palRdplan", "diam 1", status ); palRdplan ( 42999.9, 2, 2.1, 0.9, &ra, &dec, &diam ); vvd ( ra, 2.695383203184077378, 1e-6, "palRdplan", "ra 2", status ); vvd ( dec, 0.2124044506294805126, 1e-7, "palRdplan", "dec 2", status ); vvd ( diam, 4.892222838681000389e-5, 1e-14, "palRdplan", "diam 2", status ); palRdplan ( 43999.9, 3, 3.1, 0.9, &ra, &dec, &diam ); vvd ( ra, 2.908326678461540165, 1e-7, "palRdplan", "ra 3", status ); vvd ( dec, 0.08729783126905579385, 1e-7, "palRdplan", "dec 3", status ); vvd ( diam, 8.581305866034962476e-3, 1e-7, "palRdplan", "diam 3", status ); palRdplan ( 44999.9, 4, -0.1, 1.1, &ra, &dec, &diam ); vvd ( ra, 3.429840787472851721, 1e-6, "palRdplan", "ra 4", status ); vvd ( dec, -0.06979851055261161013, 1e-7, "palRdplan", "dec 4", status ); vvd ( diam, 4.540536678439300199e-5, 1e-14, "palRdplan", "diam 4", status ); palRdplan ( 45999.9, 5, -1.1, 0.1, &ra, &dec, &diam ); vvd ( ra, 4.864669466449422548, 1e-6, "palRdplan", "ra 5", status ); vvd ( dec, -0.4077714497908953354, 1e-7, "palRdplan", "dec 5", status ); vvd ( diam, 1.727945579027815576e-4, 1e-14, "palRdplan", "diam 5", status ); palRdplan ( 46999.9, 6, -2.1, -0.1, &ra, &dec, &diam ); vvd ( ra, 4.432929829176388766, 1e-6, "palRdplan", "ra 6", status ); vvd ( dec, -0.3682820877854730530, 1e-7, "palRdplan", "dec 6", status ); vvd ( diam, 8.670829016099083311e-5, 1e-14, "palRdplan", "diam 6", status ); palRdplan ( 47999.9, 7, -3.1, -1.1, &ra, &dec, &diam ); vvd ( ra, 4.894972492286818487, 1e-6, "palRdplan", "ra 7", status ); vvd ( dec, -0.4084068901053653125, 1e-7, "palRdplan", "dec 7", status ); vvd ( diam, 1.793916783975974163e-5, 1e-14, "palRdplan", "diam 7", status ); palRdplan ( 48999.9, 8, 0, 0, &ra, &dec, &diam ); vvd ( ra, 5.066050284760144000, 1e-6, "palRdplan", "ra 8", status ); vvd ( dec, -0.3744690779683850609, 1e-7, "palRdplan", "dec 8", status ); vvd ( diam, 1.062210086082700563e-5, 1e-14, "palRdplan", "diam 8", status ); /* palUe2el */ palUe2el ( u, 1, &jform, &epoch, &orbinc, &anode, &perih, &aorq, &e, &aorl, &dm, &j ); viv ( jform, 1, "palUe2el", "JFORM", status ); vvd ( epoch, 50000.00000000000, 1e-10, "palUe2el", "EPOCH", status ); vvd ( orbinc, 1.520998952689120, 1e-12, "palUe2el", "ORBINC", status ); vvd ( anode, 2.720503180538650, 1e-12, "palUe2el", "ANODE", status ); vvd ( perih, 2.194081512031836, 1e-12, "palUe2el", "PERIH", status ); vvd ( aorq, 0.2059371035373771, 1e-12, "palUe2el", "AORQ", status ); vvd ( e, 0.9866822985810528, 1e-12, "palUe2el", "E", status ); vvd ( aorl, 0.2012758344836794, 1e-12, "palUe2el", "AORL", status ); viv ( j, 0, "palUe2el", "J", status ); /* palUe2pv */ palUe2pv( 50010., u, pv, &j ); /* Update the final two elements of the expecte UE array */ expectedue2[11] = 50010.; expectedue2[12] = 0.7194308220038886856; vvec( 13, u, expectedue2, "palUe2pv", status ); vvec( 6, pv, expectedpv, "palUe2pv", status ); viv ( j, 0, "palUe2pv", "J", status ); } static void t_pm( int * status ) { double ra2, dec2; double ra1, dec1, pmr1, pmd1, px1, rv1; ra1 = 5.43; dec1 = -0.87; pmr1 = -0.33e-5; pmd1 = 0.77e-5; px1 = 0.7; rv1 = 50.3*365.2422/365.25; palPm ( ra1, dec1, pmr1, pmd1, px1, rv1, 1899, 1943, &ra2, &dec2 ); vvd ( ra2, 5.429855087793875, 1e-10, "palPm", "R", status ); vvd ( dec2, -0.8696617307805072, 1e-10, "palPm", "D", status ); /* SOFA test */ ra1 = 0.01686756; dec1 = -1.093989828; pmr1 = -1.78323516e-5; pmd1 = 2.336024047e-6; px1 = 0.74723; rv1 = -21.6; palPm(ra1, dec1, pmr1, pmd1, px1, rv1, palEpj(50083.0), palEpj(53736.0), &ra2, &dec2); vvd(ra2, 0.01668919069414242368, 1e-13, "palPm", "ra", status); vvd(dec2, -1.093966454217127879, 1e-13, "palPm", "dec", status); } static void t_pvobs( int *status ) { double pv[6]; double expected[6] = { -4.7683600138836167813e-06, 1.0419056712717953176e-05, 4.099831053320363277e-05, -7.5976959740661272483e-10, -3.4771429582640930371e-10, 0.0}; palPvobs( 1.3, 10000.0, 2.0, pv ); vvec( 6, pv, expected, "palPvobs", status ); } static void t_rv( int *status ) { vvd ( palRverot ( -0.777, 5.67, -0.3, 3.19 ), -0.1948098355075913, 1e-6, "palRverot", " ", status ); vvd ( palRvgalc ( 1.11E0, -0.99E0 ), 158.9630759840254, 1e-3, "palRvgalc", " ", status ); vvd ( palRvlg ( 3.97E0, 1.09E0 ), -197.818762175363, 1e-3, "palRvlg", " ", status ); vvd ( palRvlsrd ( 6.01E0, 0.1E0 ), -4.082811335150567, 1e-4, "palRvlsrd", " ", status ); vvd ( palRvlsrk ( 6.01E0, 0.1E0 ), -5.925180579830265, 1e-4, "palRvlsrk", " ", status ); } static void t_rvgalc( int *status ) { double rv; rv = palRvgalc( 2.7, -1.0 ); vvd( rv, 213.98084425751144977, 1.0E-12, "palRvgalc", "rv", status ); } static void t_rvlg( int *status ) { double rv; rv = palRvlg( 2.7, -1.0 ); vvd( rv, 291.79205281252404802, 1.0E-12, "palRvlg", "rv", status ); } static void t_rvlsrd( int *status ) { double rv; rv = palRvlsrd( 2.7, -1.0 ); vvd( rv, 9.620674692097630043, 1.0E-12, "palRvlsrd", "rv", status ); } static void t_rvlsrk( int *status ) { double rv; rv = palRvlsrk( 2.7, -1.0 ); vvd( rv, 12.556356851411955233, 1.0E-12, "palRvlsrk", "rv", status ); } static void t_refco( int *status ) { double phpa, tc, rh, wl, refa, refb; phpa = 800.0; tc = 10.0 + 273.15; /* SLA uses kelvin */ rh = 0.9; wl = 0.4; palRefcoq(tc, phpa, rh, wl, &refa, &refb); vvd(refa, 0.2264949956241415009e-3, 1e-15, "palRefcoq", "refa", status); vvd(refb, -0.2598658261729343970e-6, 1e-18, "palRefcoq", "refb", status); } static void t_ref( int *status ) { double ref, refa, refb, refa2, refb2, vu[3], vr[3], zr; palRefro( 1.4, 3456.7, 280, 678.9, 0.9, 0.55, -0.3, 0.006, 1e-9, &ref ); vvd( ref, 0.00106715763018568, 1e-12, "palRefro", "o", status ); palRefro( 1.4, 3456.7, 280, 678.9, 0.9, 1000, -0.3, 0.006, 1e-9, &ref ); vvd( ref, 0.001296416185295403, 1e-12, "palRefro", "r", status ); palRefcoq( 275.9, 709.3, 0.9, 101, &refa, &refb ); vvd( refa, 2.324736903790639e-4, 1e-12, "palRefcoq", "a/r", status ); vvd( refb, -2.442884551059e-7, 1e-15, "palRefcoq", "b/r", status ); palRefco( 2111.1, 275.9, 709.3, 0.9, 101, -1.03, 0.0067, 1e-12, &refa, &refb ); vvd( refa, 2.324673985217244e-4, 1e-12, "palRefco", "a/r", status ); vvd( refb, -2.265040682496e-7, 1e-15, "palRefco", "b/r", status ); palRefcoq( 275.9, 709.3, 0.9, 0.77, &refa, &refb ); vvd( refa, 2.007406521596588e-4, 1e-12, "palRefcoq", "a", status ); vvd( refb, -2.264210092590e-7, 1e-15, "palRefcoq", "b", status ); palRefco( 2111.1, 275.9, 709.3, 0.9, 0.77, -1.03, 0.0067, 1e-12, &refa, &refb ); vvd( refa, 2.007202720084551e-4, 1e-12, "palRefco", "a", status ); vvd( refb, -2.223037748876e-7, 1e-15, "palRefco", "b", status ); palAtmdsp ( 275.9, 709.3, 0.9, 0.77, refa, refb, 0.5, &refa2, &refb2 ); vvd ( refa2, 2.034523658888048e-4, 1e-12, "palAtmdsp", "a", status ); vvd ( refb2, -2.250855362179e-7, 1e-15, "palAtmdsp", "b", status ); palDcs2c ( 0.345, 0.456, vu ); palRefv ( vu, refa, refb, vr ); vvd ( vr[0], 0.8447487047790478, 1e-12, "palRefv", "x1", status ); vvd ( vr[1], 0.3035794890562339, 1e-12, "palRefv", "y1", status ); vvd ( vr[2], 0.4407256738589851, 1e-12, "palRefv", "z1", status ); palDcs2c ( 3.7, 0.03, vu ); palRefv ( vu, refa, refb, vr ); vvd ( vr[0], -0.8476187691681673, 1e-12, "palRefv", "x2", status ); vvd ( vr[1], -0.5295354802804889, 1e-12, "palRefv", "y2", status ); vvd ( vr[2], 0.0322914582168426, 1e-12, "palRefv", "z2", status ); palRefz ( 0.567, refa, refb, &zr ); vvd ( zr, 0.566872285910534, 1e-12, "palRefz", "hi el", status ); palRefz ( 1.55, refa, refb, &zr ); vvd ( zr, 1.545697350690958, 1e-12, "palRefz", "lo el", status ); } /**********************************************************************/ int main (void) { /* Use the SLA and SOFA conventions */ int status = 0; /* Unix and SAE convention */ t_addet(&status); t_afin(&status); t_ampqk(&status); t_aop(&status); t_airmas(&status); t_amp(&status); t_bear(&status); t_caf2r(&status); t_caldj(&status); t_cc2s(&status); t_cd2tf(&status); t_cldj(&status); t_cr2af(&status); t_cr2tf(&status); t_ctf2d(&status); t_ctf2r(&status); t_dat(&status); t_djcal(&status); t_dmat(&status); t_epb(&status); t_epb2d(&status); t_epco(&status); t_epj(&status); t_epj2d(&status); t_eqecl(&status); t_eqeqx(&status); t_etrms(&status); t_eqgal(&status); t_evp(&status); t_fk45z(&status); t_fk54z(&status); t_flotin(&status); t_galeq(&status); t_galsup(&status); t_ge50(&status); t_geoc(&status); t_gmst(&status); t_fk52h(&status); t_intin(&status); t_prec(&status); t_preces(&status); t_ecmat(&status); t_e2h(&status); t_map(&status); t_mappa(&status); t_mapqkz(&status); t_moon(&status); t_nut(&status); t_obs(&status); t_pa(&status); t_planet(&status); t_pm(&status); t_prebn(&status); t_pvobs(&status); t_range(&status); t_ranorm(&status); t_ref(&status); t_refco(&status); t_rv(&status); t_rvgalc(&status); t_rvlg(&status); t_rvlsrd(&status); t_rvlsrk(&status); t_sep(&status); t_supgal(&status); t_tp(&status); t_vecmat(&status); return status; } pal-0.5.0/palUe2el.c000644 000765 000024 00000021774 12366000607 014226 0ustar00timjstaff000000 000000 /* *+ * Name: * palUe2el * Purpose: * Universal elements to heliocentric osculating elements * Language: * Starlink ANSI C * Type of Module: * Library routine * Invocation: * void palUe2el ( const double u[13], int jformr, * int *jform, double *epoch, double *orbinc, * double *anode, double *perih, double *aorq, double *e, * double *aorl, double *dm, int *jstat ); * Arguments: * u = const double [13] (Given) * Universal orbital elements (Note 1) * (0) combined mass (M+m) * (1) total energy of the orbit (alpha) * (2) reference (osculating) epoch (t0) * (3-5) position at reference epoch (r0) * (6-8) velocity at reference epoch (v0) * (9) heliocentric distance at reference epoch * (10) r0.v0 * (11) date (t) * (12) universal eccentric anomaly (psi) of date, approx * jformr = int (Given) * Requested element set (1-3; Note 3) * jform = int * (Returned) * Element set actually returned (1-3; Note 4) * epoch = double * (Returned) * Epoch of elements (TT MJD) * orbinc = double * (Returned) * inclination (radians) * anode = double * (Returned) * longitude of the ascending node (radians) * perih = double * (Returned) * longitude or argument of perihelion (radians) * aorq = double * (Returned) * mean distance or perihelion distance (AU) * e = double * (Returned) * eccentricity * aorl = double * (Returned) * mean anomaly or longitude (radians, JFORM=1,2 only) * dm = double * (Returned) * daily motion (radians, JFORM=1 only) * jstat = int * (Returned) * status: 0 = OK * -1 = illegal combined mass * -2 = illegal JFORMR * -3 = position/velocity out of range * Description: * Transform universal elements into conventional heliocentric * osculating elements. * Authors: * PTW: Patrick T. Wallace * TIMJ: Tim Jenness (JAC, Hawaii) * {enter_new_authors_here} * Notes: * - The "universal" elements are those which define the orbit for the * purposes of the method of universal variables (see reference 2). * They consist of the combined mass of the two bodies, an epoch, * and the position and velocity vectors (arbitrary reference frame) * at that epoch. The parameter set used here includes also various * quantities that can, in fact, be derived from the other * information. This approach is taken to avoiding unnecessary * computation and loss of accuracy. The supplementary quantities * are (i) alpha, which is proportional to the total energy of the * orbit, (ii) the heliocentric distance at epoch, (iii) the * outwards component of the velocity at the given epoch, (iv) an * estimate of psi, the "universal eccentric anomaly" at a given * date and (v) that date. * - The universal elements are with respect to the mean equator and * equinox of epoch J2000. The orbital elements produced are with * respect to the J2000 ecliptic and mean equinox. * - Three different element-format options are supported: * * Option JFORM=1, suitable for the major planets: * * EPOCH = epoch of elements (TT MJD) * ORBINC = inclination i (radians) * ANODE = longitude of the ascending node, big omega (radians) * PERIH = longitude of perihelion, curly pi (radians) * AORQ = mean distance, a (AU) * E = eccentricity, e * AORL = mean longitude L (radians) * DM = daily motion (radians) * * Option JFORM=2, suitable for minor planets: * * EPOCH = epoch of elements (TT MJD) * ORBINC = inclination i (radians) * ANODE = longitude of the ascending node, big omega (radians) * PERIH = argument of perihelion, little omega (radians) * AORQ = mean distance, a (AU) * E = eccentricity, e * AORL = mean anomaly M (radians) * * Option JFORM=3, suitable for comets: * * EPOCH = epoch of perihelion (TT MJD) * ORBINC = inclination i (radians) * ANODE = longitude of the ascending node, big omega (radians) * PERIH = argument of perihelion, little omega (radians) * AORQ = perihelion distance, q (AU) * E = eccentricity, e * * - It may not be possible to generate elements in the form * requested through JFORMR. The caller is notified of the form * of elements actually returned by means of the JFORM argument: * * JFORMR JFORM meaning * * 1 1 OK - elements are in the requested format * 1 2 never happens * 1 3 orbit not elliptical * * 2 1 never happens * 2 2 OK - elements are in the requested format * 2 3 orbit not elliptical * * 3 1 never happens * 3 2 never happens * 3 3 OK - elements are in the requested format * * - The arguments returned for each value of JFORM (cf Note 6: JFORM * may not be the same as JFORMR) are as follows: * * JFORM 1 2 3 * EPOCH t0 t0 T * ORBINC i i i * ANODE Omega Omega Omega * PERIH curly pi omega omega * AORQ a a q * E e e e * AORL L M - * DM n - - * * where: * * t0 is the epoch of the elements (MJD, TT) * T " epoch of perihelion (MJD, TT) * i " inclination (radians) * Omega " longitude of the ascending node (radians) * curly pi " longitude of perihelion (radians) * omega " argument of perihelion (radians) * a " mean distance (AU) * q " perihelion distance (AU) * e " eccentricity * L " longitude (radians, 0-2pi) * M " mean anomaly (radians, 0-2pi) * n " daily motion (radians) * - means no value is set * * - At very small inclinations, the longitude of the ascending node * ANODE becomes indeterminate and under some circumstances may be * set arbitrarily to zero. Similarly, if the orbit is close to * circular, the true anomaly becomes indeterminate and under some * circumstances may be set arbitrarily to zero. In such cases, * the other elements are automatically adjusted to compensate, * and so the elements remain a valid description of the orbit. * See Also: * - Sterne, Theodore E., "An Introduction to Celestial Mechanics", * Interscience Publishers Inc., 1960. Section 6.7, p199. * - Everhart, E. & Pitkin, E.T., Am.J.Phys. 51, 712, 1983. * History: * 2012-03-09 (TIMJ): * Initial version * Adapted with permission from the Fortran SLALIB library. * {enter_further_changes_here} * Copyright: * Copyright (C) 1999 Rutherford Appleton Laboratory * Copyright (C) 2012 Science and Technology Facilities Council. * All Rights Reserved. * Licence: * This program is free software; you can redistribute it and/or * modify it under the terms of the GNU General Public License as * published by the Free Software Foundation; either version 3 of * the License, or (at your option) any later version. * * This program is distributed in the hope that it will be * useful, but WITHOUT ANY WARRANTY; without even the implied * warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR * PURPOSE. See the GNU General Public License for more details. * * You should have received a copy of the GNU General Public License * along with this program; if not, write to the Free Software * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, * MA 02110-1301, USA. * Bugs: * {note_any_bugs_here} *- */ #include "pal.h" #include "palmac.h" void palUe2el ( const double u[], int jformr, int *jform, double *epoch, double *orbinc, double *anode, double *perih, double *aorq, double *e, double *aorl, double *dm, int *jstat ) { /* Canonical days to seconds */ const double CD2S = PAL__GCON / PAL__SPD; int i; double pmass, date, pv[6]; /* Unpack the universal elements */ pmass = u[0] - 1.0; date = u[2]; for (i=0; i<3; i++) { pv[i] = u[i+3]; pv[i+3] = u[i+6] * CD2S; } /* Convert the position and velocity etc into conventional elements */ palPv2el( pv, date, pmass, jformr, jform, epoch, orbinc, anode, perih, aorq, e, aorl, dm, jstat ); } pal-0.5.0/palUe2pv.c000644 000765 000024 00000020442 12366000607 014242 0ustar00timjstaff000000 000000 /* *+ * Name: * palUe2pv * Purpose: * Heliocentric position and velocity of a planet, asteroid or comet, from universal elements * Language: * Starlink ANSI C * Type of Module: * Library routine * Invocation: * void palUe2pv( double date, double u[13], double pv[6], int *jstat ); * Arguments: * date = double (Given) * TT Modified Julian date (JD-2400000.5). * u = double [13] (Given & Returned) * Universal orbital elements (updated, see note 1) * given (0) combined mass (M+m) * " (1) total energy of the orbit (alpha) * " (2) reference (osculating) epoch (t0) * " (3-5) position at reference epoch (r0) * " (6-8) velocity at reference epoch (v0) * " (9) heliocentric distance at reference epoch * " (10) r0.v0 * returned (11) date (t) * " (12) universal eccentric anomaly (psi) of date * jstat = int * (Returned) * status: 0 = OK * -1 = radius vector zero * -2 = failed to converge * Description: * Heliocentric position and velocity of a planet, asteroid or comet, * starting from orbital elements in the "universal variables" form. * Authors: * PTW: Pat Wallace (STFC) * TIMJ: Tim Jenness (JAC, Hawaii) * {enter_new_authors_here} * Notes: * - The "universal" elements are those which define the orbit for the * purposes of the method of universal variables (see reference). * They consist of the combined mass of the two bodies, an epoch, * and the position and velocity vectors (arbitrary reference frame) * at that epoch. The parameter set used here includes also various * quantities that can, in fact, be derived from the other * information. This approach is taken to avoiding unnecessary * computation and loss of accuracy. The supplementary quantities * are (i) alpha, which is proportional to the total energy of the * orbit, (ii) the heliocentric distance at epoch, (iii) the * outwards component of the velocity at the given epoch, (iv) an * estimate of psi, the "universal eccentric anomaly" at a given * date and (v) that date. * - The companion routine is palEl2ue. This takes the conventional * orbital elements and transforms them into the set of numbers * needed by the present routine. A single prediction requires one * one call to palEl2ue followed by one call to the present routine; * for convenience, the two calls are packaged as the routine * sla_PLANEL. Multiple predictions may be made by again * calling palEl2ue once, but then calling the present routine * multiple times, which is faster than multiple calls to palPlanel. * - It is not obligatory to use palEl2ue to obtain the parameters. * However, it should be noted that because palEl2ue performs its * own validation, no checks on the contents of the array U are made * by the present routine. - DATE is the instant for which the prediction is required. It is * in the TT timescale (formerly Ephemeris Time, ET) and is a * Modified Julian Date (JD-2400000.5). - The universal elements supplied in the array U are in canonical * units (solar masses, AU and canonical days). The position and * velocity are not sensitive to the choice of reference frame. The * palEl2ue routine in fact produces coordinates with respect to the * J2000 equator and equinox. * - The algorithm was originally adapted from the EPHSLA program of * D.H.P.Jones (private communication, 1996). The method is based * on Stumpff's Universal Variables. * - Reference: Everhart, E. & Pitkin, E.T., Am.J.Phys. 51, 712, 1983. * History: * 2012-03-09 (TIMJ): * Initial version cloned from SLA/F. * Adapted with permission from the Fortran SLALIB library. * {enter_further_changes_here} * Copyright: * Copyright (C) 2005 Rutherford Appleton Laboratory * Copyright (C) 2012 Science and Technology Facilities Council. * All Rights Reserved. * Licence: * This program is free software; you can redistribute it and/or * modify it under the terms of the GNU General Public License as * published by the Free Software Foundation; either version 3 of * the License, or (at your option) any later version. * * This program is distributed in the hope that it will be * useful, but WITHOUT ANY WARRANTY; without even the implied * warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR * PURPOSE. See the GNU General Public License for more details. * * You should have received a copy of the GNU General Public License * along with this program; if not, write to the Free Software * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, * MA 02110-1301, USA. * Bugs: * {note_any_bugs_here} *- */ #include #include "pal.h" #include "palmac.h" void palUe2pv( double date, double u[13], double pv[6], int *jstat ) { /* Canonical days to seconds */ const double CD2S = PAL__GCON / PAL__SPD; /* Test value for solution and maximum number of iterations */ const double TEST = 1e-13; const int NITMAX = 25; int I, NIT, N; double CM,ALPHA,T0,P0[3],V0[3],R0,SIGMA0,T,PSI,DT,W, TOL,PSJ,PSJ2,BETA,S0,S1,S2,S3, FF,R,F,G,FD,GD; double PLAST = 0.0; double FLAST = 0.0; /* Unpack the parameters. */ CM = u[0]; ALPHA = u[1]; T0 = u[2]; for (I=0; I<3; I++) { P0[I] = u[I+3]; V0[I] = u[I+6]; } R0 = u[9]; SIGMA0 = u[10]; T = u[11]; PSI = u[12]; /* Approximately update the universal eccentric anomaly. */ PSI = PSI+(date-T)*PAL__GCON/R0; /* Time from reference epoch to date (in Canonical Days: a canonical * day is 58.1324409... days, defined as 1/PAL__GCON). */ DT = (date-T0)*PAL__GCON; /* Refine the universal eccentric anomaly, psi. */ NIT = 1; W = 1.0; TOL = 0.0; while (fabs(W) >= TOL) { /* Form half angles until BETA small enough. */ N = 0; PSJ = PSI; PSJ2 = PSJ*PSJ; BETA = ALPHA*PSJ2; while (fabs(BETA) > 0.7) { N = N+1; BETA = BETA/4.0; PSJ = PSJ/2.0; PSJ2 = PSJ2/4.0; } /* Calculate Universal Variables S0,S1,S2,S3 by nested series. */ S3 = PSJ*PSJ2*((((((BETA/210.0+1.0) *BETA/156.0+1.0) *BETA/110.0+1.0) *BETA/72.0+1.0) *BETA/42.0+1.0) *BETA/20.0+1.0)/6.0; S2 = PSJ2*((((((BETA/182.0+1.0) *BETA/132.0+1.0) *BETA/90.0+1.0) *BETA/56.0+1.0) *BETA/30.0+1.0) *BETA/12.0+1.0)/2.0; S1 = PSJ+ALPHA*S3; S0 = 1.0+ALPHA*S2; /* Undo the angle-halving. */ TOL = TEST; while (N > 0) { S3 = 2.0*(S0*S3+PSJ*S2); S2 = 2.0*S1*S1; S1 = 2.0*S0*S1; S0 = 2.0*S0*S0-1.0; PSJ = PSJ+PSJ; TOL += TOL; N--; } /* Values of F and F' corresponding to the current value of psi. */ FF = R0*S1+SIGMA0*S2+CM*S3-DT; R = R0*S0+SIGMA0*S1+CM*S2; /* If first iteration, create dummy "last F". */ if ( NIT == 1) FLAST = FF; /* Check for sign change. */ if ( FF*FLAST < 0.0 ) { /* Sign change: get psi adjustment using secant method. */ W = FF*(PLAST-PSI)/(FLAST-FF); } else { /* No sign change: use Newton-Raphson method instead. */ if (R == 0.0) { /* Null radius vector */ *jstat = -1; return; } W = FF/R; } /* Save the last psi and F values. */ PLAST = PSI; FLAST = FF; /* Apply the Newton-Raphson or secant adjustment to psi. */ PSI = PSI-W; /* Next iteration, unless too many already. */ if (NIT > NITMAX) { *jstat = -2; /* Failed to converge */ return; } NIT++; } /* Project the position and velocity vectors (scaling velocity to AU/s). */ W = CM*S2; F = 1.0-W/R0; G = DT-CM*S3; FD = -CM*S1/(R0*R); GD = 1.0-W/R; for (I=0; I<3; I++) { pv[I] = P0[I]*F+V0[I]*G; pv[I+3] = CD2S*(P0[I]*FD+V0[I]*GD); } /* Update the parameters to allow speedy prediction of PSI next time. */ u[11] = date; u[12] = PSI; /* OK exit. */ *jstat = 0; return; } pal-0.5.0/._README.md000644 000765 000024 00000000265 12366007414 014100 0ustar00timjstaff000000 000000 Mac OS X  2ƒµATTRµ˜˜com.apple.quarantineq/0002;53d80137;Marked\x202;pal-0.5.0/README.md000644 000765 000024 00000005214 12366007414 013662 0ustar00timjstaff000000 000000 PAL - Positional Astronomy Library ================================== The PAL library is a partial re-implementation of Pat Wallace's popular SLALIB library written in C using a Gnu GPL license and layered on top of the IAU's SOFA library (or the BSD-licensed ERFA) where appropriate. PAL attempts to stick to the SLA C API where possible although `palObs()` has a more C-like API than the equivalent `slaObs()` function. In most cases it is enough to simply change the function prefix of a routine in order to link against PAL rather than SLALIB. Routines calling SOFA use modern nutation and precession models so will return slightly different answers than native SLALIB. PAL functions not available in SOFA were ported from the Fortran version of SLALIB that ships as part of the Starlink software and uses a GPL licence. See `pal.news` for release notes. Building -------- A simple `configure` script is provided: ./configure --prefix=/usr/local make make install The tests can be run using `make check`. Use `--prefix` to specify an install location. Given the history of the source code as a Starlink library the default will be `/star`. Requirements ------------ Requires that either the SOFA C library or the ERFA library variant (which has a more permissive license than SOFA) be installed. The `configure` script will abort if neither SOFA nor ERFA can be found. SOFA can be obtained either from or from an unofficial github repository (with a configure script) at . ERFA can be downloaded from . Missing Functions ----------------- Not all SLALIB functions have been added. New routines are added to PAL as demand arises. Language Bindings ----------------- A Perl binding of PAL is available () named `Astro::PAL` and is available from CPAN at . This is a standalone distribution that comes with its own copies of PAL and SOFA and so can be installed directly from the `cpan` shell. A Python binding of PAL is available (). This is a standalone distribution that comes with its own copies of PAL and SOFA. The Starlink AST () library now uses PAL and can be built either with a private PAL or with an external PAL. Documentation ------------- The description paper for PAL is: ["_PAL: A Positional Astronomy Library_"](http://adsabs.harvard.edu/abs/2013ASPC..475..307J), Jenness, T. & Berry, D. S., in _Astronomical Data Anaysis Software and Systems XXII_, Friedel, D. N. (ed), ASP Conf. Ser. **475**, p307. pal-0.5.0/sun267.htx_tar000644 000765 000024 00003053000 12365763733 015055 0ustar00timjstaff000000 000000 sun267.htx/000755 000765 000024 00000000000 12365763733 013051 5ustar00timjstaff000000 000000 sun267.htx/.star2html-init000644 000765 000024 00000004460 12365763500 015727 0ustar00timjstaff000000 000000 # Star2html latex2html defaults file. $ADDRESS = 'PAL --- Positional Astronomy Library
Starlink User Note 267
Tim Jenness
2012 March 23
E-mail:starlink@jiscmail.ac.uk

Copyright © 2012 Science and Technology Facilities Council
'; $TITLE = 'PAL --- Positional Astronomy Library'; $NO_NAVIGATION = 0; $TOP_NAVIGATION = 1; $BOTTOM_NAVIGATION = 1; $AUTO_NAVIGATION = 0; $INDEX_IN_NAVIGATION = 1; $CONTENTS_IN_NAVIGATION = 1; $NEXT_PAGE_IN_NAVIGATION = 1; $PREVIOUS_PAGE_IN_NAVIGATION = 1; $INFO = 1; $SHOW_SECTION_NUMBERS = 0; $LINE_WIDTH = 500; $WORDS_IN_PAGE = 200; $default_language = english; $WORDS_IN_NAVIGATION_PANEL_TITLES = 4; $MATH_SCALE_FACTOR = 1.5; $FIGURE_SCALE_FACTOR = 1; $TRANSPARENT_FIGURES = 1; $PAPERSIZE = a3; $ICONSERVER = '.'; $WHITE_BACKGROUND = 1; $LATEX_COLOR = '\pagecolor{white}'; sub top_navigation_panel { # Start with a horizontal rule (3-d dividing line) "

". # Now add a few buttons with a space between them "$NEXT $UP $PREVIOUS $CONTENTS $INDEX $CUSTOM_BUTTONS" . "
\n" . # Line break # If ``next'' section exists, add its title to the navigation panel ($NEXT_TITLE ? " Next: $NEXT_TITLE
\n" : undef) . # Similarly with the ``up'' title ... ($UP_TITLE ? "Up: $UP_TITLE
\n" : undef) . # ... and the ``previous'' title ($PREVIOUS_TITLE ? " Previous: $PREVIOUS_TITLE\n" : undef) . # Line Break, horizontal rule (3-d dividing line) and new paragraph "

\n" } sub bot_navigation_panel { # Start with a horizontal rule (3-d dividing line) "


". # Now add a few buttons with a space between them "$NEXT $UP $PREVIOUS $CONTENTS $INDEX $CUSTOM_BUTTONS" . "
\n" . # Line break # If ``next'' section exists, add its title to the navigation panel ($NEXT_TITLE ? " Next: $NEXT_TITLE
\n" : undef) . # Similarly with the ``up'' title ... ($UP_TITLE ? "Up: $UP_TITLE
\n" : undef) . # ... and the ``previous'' title ($PREVIOUS_TITLE ? " Previous: $PREVIOUS_TITLE\n" : undef) . # Line Break, horizontal rule (3-d dividing line) and new paragraph "

\n" } $WORDS_IN_NAVIGATION_PANEL_TITLES=20; 1; 1; sun267.htx/contents_motif.gif000644 000765 000024 00000000341 12365763733 016571 0ustar00timjstaff000000 000000 GIF89aAñ¿¿¿çççooo[!ù,A²Œ©Ëí£œM€³Þ¼ûr‚„扆㕶®¹–ïLgñ6äCÍw–Îv/¢¤1b”(fS…\‚tÆnÄfÖì•ûÅü¸S)VH6›·ÄvÒMw”ntõ-O×Eq'zWEµ§§ÅÇ’‡¸¨†˜´5–HH©æG×ø'ÉÆ˜Wùøˆ)§ÅDõ§GÇi× Ù +[»Ak›‹›[»Ë3" Babel <3.9f> and hyphenation patterns for 78 languages loaded. (/usr/local/texlive/2013/texmf-dist/tex/latex/base/article.cls Document Class: article 2007/10/19 v1.4h Standard LaTeX document class (/usr/local/texlive/2013/texmf-dist/tex/latex/base/size11.clo File: size11.clo 2007/10/19 v1.4h Standard LaTeX file (size option) ) \c@part=\count79 \c@section=\count80 \c@subsection=\count81 \c@subsubsection=\count82 \c@paragraph=\count83 \c@subparagraph=\count84 \c@figure=\count85 \c@table=\count86 \abovecaptionskip=\skip41 \belowcaptionskip=\skip42 \bibindent=\dimen102 ) (/usr/local/texlive/2013/texmf-dist/tex/latex/base/ifthen.sty Package: ifthen 2001/05/26 v1.1c Standard LaTeX ifthen package (DPC) ) (/Users/timj/work/pal/sun267_htx/html.sty) (/Users/timj/work/pal/sun267_htx/s tar2html.sty) \sstbannerlength=\skip43 \sstcaptionlength=\skip44 \sstexampleslength=\skip45 \sstexampleswidth=\skip46 (/usr/local/texlive/2013/texmf-dist/tex/latex/graphics/color.sty Package: color 2005/11/14 v1.0j Standard LaTeX Color (DPC) (/usr/local/texlive/2013/texmf-dist/tex/latex/latexconfig/color.cfg File: color.cfg 2007/01/18 v1.5 color configuration of teTeX/TeXLive ) Package color Info: Driver file: dvips.def on input line 130. (/usr/local/texlive/2013/texmf-dist/tex/latex/graphics/dvips.def File: dvips.def 1999/02/16 v3.0i Driver-dependant file (DPC,SPQR) ) (/usr/local/texlive/2013/texmf-dist/tex/latex/graphics/dvipsnam.def File: dvipsnam.def 1999/02/16 v3.0i Driver-dependant file (DPC,SPQR) )) (/usr/local/texlive/2013/texmf-dist/tex/latex/base/inputenc.sty Package: inputenc 2008/03/30 v1.1d Input encoding file \inpenc@prehook=\toks14 \inpenc@posthook=\toks15 ) \sizebox=\box26 \lthtmlwrite=\write3 No file images.aux. \openout1 = `images.aux'. LaTeX Font Info: Checking defaults for OML/cmm/m/it on input line 441. LaTeX Font Info: ... okay on input line 441. LaTeX Font Info: Checking defaults for T1/cmr/m/n on input line 441. LaTeX Font Info: ... okay on input line 441. LaTeX Font Info: Checking defaults for OT1/cmr/m/n on input line 441. LaTeX Font Info: ... okay on input line 441. LaTeX Font Info: Checking defaults for OMS/cmsy/m/n on input line 441. LaTeX Font Info: ... okay on input line 441. LaTeX Font Info: Checking defaults for OMX/cmex/m/n on input line 441. LaTeX Font Info: ... okay on input line 441. LaTeX Font Info: Checking defaults for U/cmr/m/n on input line 441. LaTeX Font Info: ... okay on input line 441. latex2htmlLength hsize=698.0pt latex2htmlLength vsize=902.0pt latex2htmlLength hoffset=0.0pt latex2htmlLength voffset=0.0pt latex2htmlLength topmargin=0.0pt latex2htmlLength topskip=0.00003pt latex2htmlLength headheight=0.0pt latex2htmlLength headsep=0.0pt latex2htmlLength parskip=6.0pt plus 2.0pt minus 2.0pt latex2htmlLength oddsidemargin=0.0pt latex2htmlLength evensidemargin=0.0pt LaTeX Font Info: External font `cmex10' loaded for size (Font) <10.95> on input line 475. LaTeX Font Info: External font `cmex10' loaded for size (Font) <8> on input line 475. LaTeX Font Info: External font `cmex10' loaded for size (Font) <6> on input line 475. l2hSize :tex2html_wrap_inline709:7.07185pt::0.0pt::6.02254pt. [1 ] l2hSize :tex2html_wrap_inline1202:7.57185pt::7.57185pt::9.06422pt. [2 ] l2hSize :tex2html_wrap_inline2787:7.57185pt::7.57185pt::9.06422pt. [3 ] l2hSize :tex2html_wrap_inline4893:7.57185pt::7.57185pt::9.06422pt. [4 ] (./images.aux) ) Here is how much of TeX's memory you used: 665 strings out of 493316 8925 string characters out of 6137930 56017 words of memory out of 5000000 4174 multiletter control sequences out of 15000+600000 6379 words of font info for 23 fonts, out of 8000000 for 9000 957 hyphenation exceptions out of 8191 21i,5n,19p,162b,151s stack positions out of 5000i,500n,10000p,200000b,80000s Output written on images.dvi (4 pages, 996 bytes). sun267.htx/images.pl000644 000765 000024 00000000135 12365763733 014652 0ustar00timjstaff000000 000000 # LaTeX2HTML 2012-Starlink (1.2) # Associate images original text with physical files. 1; sun267.htx/images.tex000644 000765 000024 00000036052 12365763504 015042 0ustar00timjstaff000000 000000 \batchmode \documentclass[twoside,11pt]{article} \RequirePackage{ifthen} \input{/Users/timj/work/pal/sun267_htx/html.sty} \input{/Users/timj/work/pal/sun267_htx/star2html.sty} \pagestyle{myheadings} % \providecommand{\stardoccategory}{Starlink User Note}% \providecommand{\stardocinitials}{SUN}% \providecommand{\stardocsource}{sun267.1}% \providecommand{\stardoccopyright}{Copyright \copyright\ 2012 Science and Technology Facilities Council} % \providecommand{\stardocnumber}{267.1}% \providecommand{\stardocauthors}{Tim Jenness}% \providecommand{\stardocdate}{2012 March 23}% \providecommand{\stardoctitle}{PAL --- Positional Astronomy Library}% \providecommand{\stardocversion}{0.1.0}% \providecommand{\stardocmanual}{Programmer's Manual}% \providecommand{\stardocabstract}{ PAL provides a subset of the Fortran SLALIB library but written in C using the SLALIB C API. Where possible the PAL routines are implemented using the C SOFA library. It is provided with a GPL license. } % \providecommand{\stardocname}{SUN/267.1} \markboth{SUN/267.1}{SUN/267.1} \setlength{\textwidth}{160mm} \setlength{\textheight}{230mm} \setlength{\topmargin}{-2mm} \setlength{\oddsidemargin}{0mm} \setlength{\evensidemargin}{0mm} \setlength{\parindent}{0mm} \setlength{\parskip}{\medskipamount} \setlength{\unitlength}{1mm} \newlength{\sstbannerlength} \newlength{\sstcaptionlength} \newlength{\sstexampleslength} \newlength{\sstexampleswidth} % \providecommand{\ssttt}{\tt} % \providecommand{\sstroutine}[3]{ \goodbreak \markboth{{SUN/267.1}~ --- #1}{{SUN/267.1}~ --- #1} \rule{\textwidth}{0.5mm} \vspace{-7ex} \newline \settowidth{\sstbannerlength}{{\Large {\bf #1}}} \setlength{\sstcaptionlength}{\textwidth} \setlength{\sstexampleslength}{\textwidth} \addtolength{\sstbannerlength}{0.5em} \addtolength{\sstcaptionlength}{-2.0\sstbannerlength} \addtolength{\sstcaptionlength}{-5.0pt} \settowidth{\sstexampleswidth}{{\bf Examples:}} \addtolength{\sstexampleslength}{-\sstexampleswidth} \parbox[t]{\sstbannerlength}{\flushleft{\Large {\bf #1}}} \parbox[t]{\sstcaptionlength}{\center{\Large #2}} \parbox[t]{\sstbannerlength}{\flushright{\Large {\bf #1}}} \begin{description} #3 \end{description} } % \providecommand{\sstatt}[1]{\sf #1}% \providecommand{\sstatt}[1]{\large{\tt #1}}% \providecommand{\sstattribute}[3]{ \goodbreak \markboth{{SUN/267.1}~ --- #1}{{SUN/267.1}~ --- #1} \rule{\textwidth}{0.5mm} \vspace{-7ex} \newline \settowidth{\sstbannerlength}{{\Large {1}}} \setlength{\sstcaptionlength}{\textwidth} \setlength{\sstexampleslength}{\textwidth} \addtolength{\sstbannerlength}{0.5em} \addtolength{\sstcaptionlength}{-2.0\sstbannerlength} \addtolength{\sstcaptionlength}{-4.9pt} \settowidth{\sstexampleswidth}{{\bf Examples:}} \addtolength{\sstexampleslength}{-\sstexampleswidth} \parbox[t]{\sstbannerlength}{\flushleft{\Large {1}}} \parbox[t]{\sstcaptionlength}{\center{\Large #2}} \parbox[t]{\sstbannerlength}{\flushright{\Large {1}}} \begin{description} #3 \end{description} } % \providecommand{\sstdescription}[1]{\item[Description:] #1} % \providecommand{\sstusage}[1]{\goodbreak \item[Usage:] \mbox{} \\[1.3ex]{\raggedright \tt #1}} % \providecommand{\sstinvocation}[1]{\item[Invocation:]\hspace{0.4em}{\tt #1}} % \providecommand{\sstattributetype}[1]{ \item[Type:] \mbox{} \\ #1 } % \providecommand{\sstarguments}[1]{ \item[Arguments:] \mbox{} \\ \vspace{-3.5ex} \begin{description} #1 \end{description} } % \providecommand{\sstreturnedvalue}[1]{ \item[Returned Value:] \mbox{} \\ \vspace{-3.5ex} \begin{description} #1 \end{description} } % \providecommand{\sstparameters}[1]{ \goodbreak \item[Parameters:] \mbox{} \\ \vspace{-3.5ex} \begin{description} #1 \end{description} } % \providecommand{\sstapplicability}[1]{ \item[Class Applicability:] \mbox{} \\ \vspace{-3.5ex} \begin{description} #1 \end{description} } % \providecommand{\sstexamples}[1]{ \goodbreak \item[Examples:] \mbox{} \\ \vspace{-3.5ex} \begin{description} #1 \end{description} } % \providecommand{\sstsubsection}[1]{ \item[{#1}] \mbox{} \\} % \providecommand{\sstexamplesubsection}[2]{\sloppy \item[\parbox{\sstexampleslength}{\tt #1}] \mbox{} \vspace{1.0ex} \\#2 } % \providecommand{\sstnotes}[1]{\goodbreak \item[Notes:] \mbox{} \\[1.3ex] #1} % \providecommand{\sstdiytopic}[2]{\item[{\hspace{-0.35em}#1\hspace{-0.35em}:}] \mbox{} \\[1.3ex] #2} % \providecommand{\sstdiylist}[2]{ \item[#1:] \mbox{} \\ \vspace{-3.5ex} \begin{description} #2 \end{description} } % \providecommand{\sstimplementationstatus}[1]{ \item[{Implementation Status:}] \mbox{} \\[1.3ex] #1} % \providecommand{\sstbugs}[1]{\item[Bugs:] #1} % \providecommand{\sstitemlist}[1]{ \mbox{} \\ \vspace{-3.5ex} \begin{itemize} #1 \end{itemize} } % \providecommand{\sstitem}{\item} % \providecommand{\sstroutine}[3]{ \subsection{#1\xlabel{#1}-\label{#1}#2} \begin{description} #3 \end{description} } % \providecommand{\sstattribute}[3]{ \subsubsection{#1\xlabel{#1}-\label{#1}#2} \begin{description} #3 \end{description} \\ } % \providecommand{\sstdescription}[1]{\item[Description:] \begin{description} #1 \end{description} \\ } % \providecommand{\sstusage}[1]{\item[Usage:] \begin{description} {\tt #1} \end{description} \\ } % \providecommand{\sstinvocation}[1]{\item[Invocation:] \begin{description} {\tt #1} \end{description} \\ } % \providecommand{\sstarguments}[1]{ \item[Arguments:] \\ \begin{description} #1 \end{description} \\ } % \providecommand{\sstreturnedvalue}[1]{ \item[Returned Value:] \\ \begin{description} #1 \end{description} \\ } % \providecommand{\sstparameters}[1]{ \item[Parameters:] \\ \begin{description} #1 \end{description} \\ } % \providecommand{\sstapplicability}[1]{% \item[Class Applicability:] \begin{description} #1 \end{description} \\ } % \providecommand{\sstexamples}[1]{ \item[Examples:] \\ \begin{description} #1 \end{description} \\ } % \providecommand{\sstsubsection}[1]{\item[{#1}]} % \providecommand{\sstexamplesubsection}[2]{\item[{\tt #1}] #2\\} % \providecommand{\sstnotes}[1]{\item[Notes:] #1 } % \providecommand{\sstdiytopic}[2]{\item[{#1}] #2 } % \providecommand{\sstimplementationstatus}[1]{ \item[Implementation Status:] #1 } % \providecommand{\sstitemlist}[1]{ \begin{itemize} #1 \end{itemize} \\ }% \providecommand{\sstitem}{\item} % \renewcommand{\thepage}{\roman{page}} \usepackage[dvips]{color} \pagecolor{white} \usepackage[]{inputenc} \makeatletter \makeatletter \count@=\the\catcode`\_ \catcode`\_=8 \newenvironment{tex2html_wrap}{}{}% \catcode`\<=12\catcode`\_=\count@ \newcommand{\providedcommand}[1]{\expandafter\providecommand\csname #1\endcsname}% \newcommand{\renewedcommand}[1]{\expandafter\providecommand\csname #1\endcsname{}% \expandafter\renewcommand\csname #1\endcsname}% \newcommand{\newedenvironment}[1]{\newenvironment{#1}{}{}\renewenvironment{#1}}% \let\newedcommand\renewedcommand \let\renewedenvironment\newedenvironment \makeatother \let\mathon=$ \let\mathoff=$ \ifx\AtBeginDocument\undefined \newcommand{\AtBeginDocument}[1]{}\fi \newbox\sizebox \setlength{\hoffset}{0pt}\setlength{\voffset}{0pt} \addtolength{\textheight}{\footskip}\setlength{\footskip}{0pt} \addtolength{\textheight}{\topmargin}\setlength{\topmargin}{0pt} \addtolength{\textheight}{\headheight}\setlength{\headheight}{0pt} \addtolength{\textheight}{\headsep}\setlength{\headsep}{0pt} \setlength{\textwidth}{698pt} \setlength{\textheight}{902pt} \newwrite\lthtmlwrite \makeatletter \let\realnormalsize=\normalsize \global\topskip=2sp \def\preveqno{}\let\real@float=\@float \let\realend@float=\end@float \def\@float{\let\@savefreelist\@freelist\real@float} \def\liih@math{\ifmmode$\else\bad@math\fi} \def\end@float{\realend@float\global\let\@freelist\@savefreelist} \let\real@dbflt=\@dbflt \let\end@dblfloat=\end@float \let\@largefloatcheck=\relax \let\if@boxedmulticols=\iftrue \def\@dbflt{\let\@savefreelist\@freelist\real@dbflt} \def\adjustnormalsize{\def\normalsize{\mathsurround=0pt \realnormalsize \parindent=0pt\abovedisplayskip=0pt\belowdisplayskip=0pt}% \def\phantompar{\csname par\endcsname}\normalsize}% \def\lthtmltypeout#1{{\let\protect\string \immediate\write\lthtmlwrite{#1}}}% \newcommand\lthtmlhboxmathA{\adjustnormalsize\setbox\sizebox=\hbox\bgroup\kern.05em }% \newcommand\lthtmlhboxmathB{\adjustnormalsize\setbox\sizebox=\hbox to\hsize\bgroup\hfill }% \newcommand\lthtmlvboxmathA{\adjustnormalsize\setbox\sizebox=\vbox\bgroup % \let\ifinner=\iffalse \let\)\liih@math }% \newcommand\lthtmlboxmathZ{\@next\next\@currlist{}{\def\next{\voidb@x}}% \expandafter\box\next\egroup}% \newcommand\lthtmlmathtype[1]{\gdef\lthtmlmathenv{#1}}% \newcommand\lthtmllogmath{\dimen0\ht\sizebox \advance\dimen0\dp\sizebox \ifdim\dimen0>.95\vsize \lthtmltypeout{% *** image for \lthtmlmathenv\space is too tall at \the\dimen0, reducing to .95 vsize ***}% \ht\sizebox.95\vsize \dp\sizebox\z@ \fi \lthtmltypeout{l2hSize % :\lthtmlmathenv:\the\ht\sizebox::\the\dp\sizebox::\the\wd\sizebox.\preveqno}}% \newcommand\lthtmlfigureA[1]{\let\@savefreelist\@freelist \lthtmlmathtype{#1}\lthtmlvboxmathA}% \newcommand\lthtmlpictureA{\bgroup\catcode`\_=8 \lthtmlpictureB}% \newcommand\lthtmlpictureB[1]{\lthtmlmathtype{#1}\egroup \let\@savefreelist\@freelist \lthtmlhboxmathB}% \newcommand\lthtmlpictureZ[1]{\hfill\lthtmlfigureZ}% \newcommand\lthtmlfigureZ{\lthtmlboxmathZ\lthtmllogmath\copy\sizebox \global\let\@freelist\@savefreelist}% \newcommand\lthtmldisplayA{\bgroup\catcode`\_=8 \lthtmldisplayAi}% \newcommand\lthtmldisplayAi[1]{\lthtmlmathtype{#1}\egroup\lthtmlvboxmathA}% \newcommand\lthtmldisplayB[1]{\edef\preveqno{(\theequation)}% \lthtmldisplayA{#1}\let\@eqnnum\relax}% \newcommand\lthtmldisplayZ{\lthtmlboxmathZ\lthtmllogmath\lthtmlsetmath}% \newcommand\lthtmlinlinemathA{\bgroup\catcode`\_=8 \lthtmlinlinemathB} \newcommand\lthtmlinlinemathB[1]{\lthtmlmathtype{#1}\egroup\lthtmlhboxmathA \vrule height1.5ex width0pt }% \newcommand\lthtmlinlineA{\bgroup\catcode`\_=8 \lthtmlinlineB}% \newcommand\lthtmlinlineB[1]{\lthtmlmathtype{#1}\egroup\lthtmlhboxmathA}% \newcommand\lthtmlinlineZ{\egroup\expandafter\ifdim\dp\sizebox>0pt % \expandafter\centerinlinemath\fi\lthtmllogmath\lthtmlsetinline} \newcommand\lthtmlinlinemathZ{\egroup\expandafter\ifdim\dp\sizebox>0pt % \expandafter\centerinlinemath\fi\lthtmllogmath\lthtmlsetmath} \newcommand\lthtmlindisplaymathZ{\egroup % \centerinlinemath\lthtmllogmath\lthtmlsetmath} \def\lthtmlsetinline{\hbox{\vrule width.1em \vtop{\vbox{% \kern.1em\copy\sizebox}\ifdim\dp\sizebox>0pt\kern.1em\else\kern.3pt\fi \ifdim\hsize>\wd\sizebox \hrule depth1pt\fi}}} \def\lthtmlsetmath{\hbox{\vrule width.1em\kern-.05em\vtop{\vbox{% \kern.1em\kern0.75 pt\hbox{\hglue.17em\copy\sizebox\hglue0.75 pt}}\kern.3pt% \ifdim\dp\sizebox>0pt\kern.1em\fi \kern0.75 pt% \ifdim\hsize>\wd\sizebox \hrule depth1pt\fi}}} \def\centerinlinemath{% \dimen1=\ifdim\ht\sizebox<\dp\sizebox \dp\sizebox\else\ht\sizebox\fi \advance\dimen1by.5pt \vrule width0pt height\dimen1 depth\dimen1 \dp\sizebox=\dimen1\ht\sizebox=\dimen1\relax} \def\lthtmlcheckvsize{\ifdim\ht\sizebox<\vsize \ifdim\wd\sizebox<\hsize\expandafter\hfill\fi \expandafter\vfill \else\expandafter\vss\fi}% \providecommand{\selectlanguage}[1]{}% \makeatletter \tracingstats = 1 \begin{document} \pagestyle{empty}\thispagestyle{empty}\lthtmltypeout{}% \lthtmltypeout{latex2htmlLength hsize=\the\hsize}\lthtmltypeout{}% \lthtmltypeout{latex2htmlLength vsize=\the\vsize}\lthtmltypeout{}% \lthtmltypeout{latex2htmlLength hoffset=\the\hoffset}\lthtmltypeout{}% \lthtmltypeout{latex2htmlLength voffset=\the\voffset}\lthtmltypeout{}% \lthtmltypeout{latex2htmlLength topmargin=\the\topmargin}\lthtmltypeout{}% \lthtmltypeout{latex2htmlLength topskip=\the\topskip}\lthtmltypeout{}% \lthtmltypeout{latex2htmlLength headheight=\the\headheight}\lthtmltypeout{}% \lthtmltypeout{latex2htmlLength headsep=\the\headsep}\lthtmltypeout{}% \lthtmltypeout{latex2htmlLength parskip=\the\parskip}\lthtmltypeout{}% \lthtmltypeout{latex2htmlLength oddsidemargin=\the\oddsidemargin}\lthtmltypeout{}% \makeatletter \if@twoside\lthtmltypeout{latex2htmlLength evensidemargin=\the\evensidemargin}% \else\lthtmltypeout{latex2htmlLength evensidemargin=\the\oddsidemargin}\fi% \lthtmltypeout{}% \makeatother \setcounter{page}{1} \onecolumn % !!! IMAGES START HERE !!! \stepcounter{section} \renewcommand{\thepage}{\arabic{page}} \stepcounter{section} \stepcounter{section} \appendix \stepcounter{section} \stepcounter{subsection} \stepcounter{subsection} \stepcounter{subsection} {\newpage\clearpage \lthtmlinlinemathA{tex2html_wrap_inline709}% $*$% \lthtmlinlinemathZ \lthtmlcheckvsize\clearpage} \stepcounter{subsection} \stepcounter{subsection} \stepcounter{subsection} \stepcounter{subsection} \stepcounter{subsection} {\newpage\clearpage \lthtmlinlinemathA{tex2html_wrap_inline1202}% $+$% \lthtmlinlinemathZ \lthtmlcheckvsize\clearpage} \stepcounter{subsection} \stepcounter{subsection} \stepcounter{subsection} \stepcounter{subsection} \stepcounter{subsection} \stepcounter{subsection} \stepcounter{subsection} \stepcounter{subsection} \stepcounter{subsection} \stepcounter{subsection} \stepcounter{subsection} \stepcounter{subsection} \stepcounter{subsection} \stepcounter{subsection} \stepcounter{subsection} \stepcounter{subsection} {\newpage\clearpage \lthtmlinlinemathA{tex2html_wrap_inline2787}% $<$% \lthtmlinlinemathZ \lthtmlcheckvsize\clearpage} \stepcounter{subsection} \stepcounter{subsection} \stepcounter{subsection} \stepcounter{subsection} \stepcounter{subsection} \stepcounter{subsection} \stepcounter{subsection} \stepcounter{subsection} \stepcounter{subsection} \stepcounter{subsection} \stepcounter{subsection} \stepcounter{subsection} \stepcounter{subsection} \stepcounter{subsection} \stepcounter{subsection} \stepcounter{subsection} \stepcounter{subsection} \stepcounter{subsection} \stepcounter{subsection} \stepcounter{subsection} \stepcounter{subsection} {\newpage\clearpage \lthtmlinlinemathA{tex2html_wrap_inline4893}% $>$% \lthtmlinlinemathZ \lthtmlcheckvsize\clearpage} \stepcounter{subsection} \stepcounter{subsection} \stepcounter{subsection} \stepcounter{subsection} \stepcounter{subsection} \stepcounter{subsection} \stepcounter{subsection} \stepcounter{subsection} \stepcounter{subsection} \stepcounter{subsection} \stepcounter{subsection} \stepcounter{subsection} \stepcounter{subsection} \stepcounter{subsection} \stepcounter{subsection} \stepcounter{subsection} \stepcounter{subsection} \stepcounter{subsection} \stepcounter{subsection} \stepcounter{subsection} \stepcounter{subsection} \stepcounter{subsection} \stepcounter{subsection} \stepcounter{subsection} \stepcounter{subsection} \end{document} sun267.htx/img1.png000644 000765 000024 00000000000 12365763732 014401 0ustar00timjstaff000000 000000 sun267.htx/img2.png000644 000765 000024 00000000000 12365763731 014401 0ustar00timjstaff000000 000000 sun267.htx/img3.png000644 000765 000024 00000000000 12365763730 014401 0ustar00timjstaff000000 000000 sun267.htx/img4.png000644 000765 000024 00000000000 12365763703 014402 0ustar00timjstaff000000 000000 sun267.htx/internals.pl000644 000765 000024 00000046524 12365763733 015420 0ustar00timjstaff000000 000000 # LaTeX2HTML 2012-Starlink (1.2) # Associate internals original text with physical files. $key = q/palDrange/; $ref_files{$key} = "$dir".q|node22.html|; $noresave{$key} = "$nosave"; $key = q/xref_palFk45z/; $ref_files{$key} = "$dir".q|node35.html|; $noresave{$key} = "$nosave"; $key = q/____palSupgal_/; $ref_files{$key} = "$dir".q|node72.html|; $noresave{$key} = "$nosave"; $key = q/palPv2ue/; $ref_files{$key} = "$dir".q|node63.html|; $noresave{$key} = "$nosave"; $key = q/palDeuler/; $ref_files{$key} = "$dir".q|node14.html|; $noresave{$key} = "$nosave"; $key = q/____palDh2e_/; $ref_files{$key} = "$dir".q|node16.html|; $noresave{$key} = "$nosave"; $key = q/palPv2el/; $ref_files{$key} = "$dir".q|node62.html|; $noresave{$key} = "$nosave"; $key = q/xref_palAmp/; $ref_files{$key} = "$dir".q|node9.html|; $noresave{$key} = "$nosave"; $key = q/____palPlante_/; $ref_files{$key} = "$dir".q|node55.html|; $noresave{$key} = "$nosave"; $key = q/xref_palMapqk/; $ref_files{$key} = "$dir".q|node45.html|; $noresave{$key} = "$nosave"; $key = q/xref_palPvobs/; $ref_files{$key} = "$dir".q|node64.html|; $noresave{$key} = "$nosave"; $key = q/palIntin/; $ref_files{$key} = "$dir".q|node42.html|; $noresave{$key} = "$nosave"; $key = q/palPa/; $ref_files{$key} = "$dir".q|node50.html|; $noresave{$key} = "$nosave"; $key = q/____palPlantu_/; $ref_files{$key} = "$dir".q|node56.html|; $noresave{$key} = "$nosave"; $key = q/xref_palRvlg/; $ref_files{$key} = "$dir".q|node68.html|; $noresave{$key} = "$nosave"; $key = q/xref_palDtt/; $ref_files{$key} = "$dir".q|node26.html|; $noresave{$key} = "$nosave"; $key = q/xref_palPlanet/; $ref_files{$key} = "$dir".q|node54.html|; $noresave{$key} = "$nosave"; $key = q/____palCaldj_/; $ref_files{$key} = "$dir".q|node11.html|; $noresave{$key} = "$nosave"; $key = q/palRdplan/; $ref_files{$key} = "$dir".q|node65.html|; $noresave{$key} = "$nosave"; $key = q/palPlanet/; $ref_files{$key} = "$dir".q|node54.html|; $noresave{$key} = "$nosave"; $key = q/palDtps2c/; $ref_files{$key} = "$dir".q|node25.html|; $noresave{$key} = "$nosave"; $key = q/xref_palDrange/; $ref_files{$key} = "$dir".q|node22.html|; $noresave{$key} = "$nosave"; $key = q/____palDtt_/; $ref_files{$key} = "$dir".q|node26.html|; $noresave{$key} = "$nosave"; $key = q/____palRvgalc_/; $ref_files{$key} = "$dir".q|node67.html|; $noresave{$key} = "$nosave"; $key = q/xref_palGeoc/; $ref_files{$key} = "$dir".q|node41.html|; $noresave{$key} = "$nosave"; $key = q/palEpco/; $ref_files{$key} = "$dir".q|node29.html|; $noresave{$key} = "$nosave"; $key = q/palDafin/; $ref_files{$key} = "$dir".q|node12.html|; $noresave{$key} = "$nosave"; $key = q/palMapqk/; $ref_files{$key} = "$dir".q|node45.html|; $noresave{$key} = "$nosave"; $key = q/____palFk54z_/; $ref_files{$key} = "$dir".q|node37.html|; $noresave{$key} = "$nosave"; $key = q/____palEpco_/; $ref_files{$key} = "$dir".q|node29.html|; $noresave{$key} = "$nosave"; $key = q/xref_palDtps2c/; $ref_files{$key} = "$dir".q|node25.html|; $noresave{$key} = "$nosave"; $key = q/xref_palEpv/; $ref_files{$key} = "$dir".q|node30.html|; $noresave{$key} = "$nosave"; $key = q/____palPreces_/; $ref_files{$key} = "$dir".q|node60.html|; $noresave{$key} = "$nosave"; $key = q/xref_palMappa/; $ref_files{$key} = "$dir".q|node44.html|; $noresave{$key} = "$nosave"; $key = q/palFk524/; $ref_files{$key} = "$dir".q|node36.html|; $noresave{$key} = "$nosave"; $key = q/xref_palEl2ue/; $ref_files{$key} = "$dir".q|node28.html|; $noresave{$key} = "$nosave"; $key = q/palNutc/; $ref_files{$key} = "$dir".q|node48.html|; $noresave{$key} = "$nosave"; $key = q/palPertue/; $ref_files{$key} = "$dir".q|node52.html|; $noresave{$key} = "$nosave"; $key = q/xref_palDe2h/; $ref_files{$key} = "$dir".q|node13.html|; $noresave{$key} = "$nosave"; $key = q/xref_palNut/; $ref_files{$key} = "$dir".q|node47.html|; $noresave{$key} = "$nosave"; $key = q/xref_palEqgal/; $ref_files{$key} = "$dir".q|node33.html|; $noresave{$key} = "$nosave"; $key = q/____palDrange_/; $ref_files{$key} = "$dir".q|node22.html|; $noresave{$key} = "$nosave"; $key = q/palSubet/; $ref_files{$key} = "$dir".q|node71.html|; $noresave{$key} = "$nosave"; $key = q/xref_palEtrms/; $ref_files{$key} = "$dir".q|node31.html|; $noresave{$key} = "$nosave"; $key = q/____palDs2tp_/; $ref_files{$key} = "$dir".q|node19.html|; $noresave{$key} = "$nosave"; $key = q/xref_palEqecl/; $ref_files{$key} = "$dir".q|node32.html|; $noresave{$key} = "$nosave"; $key = q/____palUe2pv_/; $ref_files{$key} = "$dir".q|node74.html|; $noresave{$key} = "$nosave"; $key = q/xref_palEpco/; $ref_files{$key} = "$dir".q|node29.html|; $noresave{$key} = "$nosave"; $key = q/palDtp2s/; $ref_files{$key} = "$dir".q|node24.html|; $noresave{$key} = "$nosave"; $key = q/____palDeuler_/; $ref_files{$key} = "$dir".q|node14.html|; $noresave{$key} = "$nosave"; $key = q/____palPertel_/; $ref_files{$key} = "$dir".q|node51.html|; $noresave{$key} = "$nosave"; $key = q/____palGalsup_/; $ref_files{$key} = "$dir".q|node39.html|; $noresave{$key} = "$nosave"; $key = q/xref_palPv2el/; $ref_files{$key} = "$dir".q|node62.html|; $noresave{$key} = "$nosave"; $key = q/palPlante/; $ref_files{$key} = "$dir".q|node55.html|; $noresave{$key} = "$nosave"; $key = q/xref_palDfltin/; $ref_files{$key} = "$dir".q|node15.html|; $noresave{$key} = "$nosave"; $key = q/palGe50/; $ref_files{$key} = "$dir".q|node40.html|; $noresave{$key} = "$nosave"; $key = q/xref_palRdplan/; $ref_files{$key} = "$dir".q|node65.html|; $noresave{$key} = "$nosave"; $key = q/palGeoc/; $ref_files{$key} = "$dir".q|node41.html|; $noresave{$key} = "$nosave"; $key = q/xref_palEcmat/; $ref_files{$key} = "$dir".q|node27.html|; $noresave{$key} = "$nosave"; $key = q/____palDt_/; $ref_files{$key} = "$dir".q|node23.html|; $noresave{$key} = "$nosave"; $key = q/palRverot/; $ref_files{$key} = "$dir".q|node66.html|; $noresave{$key} = "$nosave"; $key = q/____palPvobs_/; $ref_files{$key} = "$dir".q|node64.html|; $noresave{$key} = "$nosave"; $key = q/APP:SPEC/; $ref_files{$key} = "$dir".q|node4.html|; $noresave{$key} = "$nosave"; $key = q/____palPv2ue_/; $ref_files{$key} = "$dir".q|node63.html|; $noresave{$key} = "$nosave"; $key = q/xref_palGalsup/; $ref_files{$key} = "$dir".q|node39.html|; $noresave{$key} = "$nosave"; $key = q/xref_palAirmas/; $ref_files{$key} = "$dir".q|node8.html|; $noresave{$key} = "$nosave"; $key = q/xref_palUe2pv/; $ref_files{$key} = "$dir".q|node74.html|; $noresave{$key} = "$nosave"; $key = q/____palMap_/; $ref_files{$key} = "$dir".q|node43.html|; $noresave{$key} = "$nosave"; $key = q/palMappa/; $ref_files{$key} = "$dir".q|node44.html|; $noresave{$key} = "$nosave"; $key = q/____palEqgal_/; $ref_files{$key} = "$dir".q|node33.html|; $noresave{$key} = "$nosave"; $key = q/palDh2e/; $ref_files{$key} = "$dir".q|node16.html|; $noresave{$key} = "$nosave"; $key = q/palEqgal/; $ref_files{$key} = "$dir".q|node33.html|; $noresave{$key} = "$nosave"; $key = q/xref_palMap/; $ref_files{$key} = "$dir".q|node43.html|; $noresave{$key} = "$nosave"; $key = q/xref_palUe2el/; $ref_files{$key} = "$dir".q|node73.html|; $noresave{$key} = "$nosave"; $key = q/xref_palDafin/; $ref_files{$key} = "$dir".q|node12.html|; $noresave{$key} = "$nosave"; $key = q/palRvgalc/; $ref_files{$key} = "$dir".q|node67.html|; $noresave{$key} = "$nosave"; $key = q/palEl2ue/; $ref_files{$key} = "$dir".q|node28.html|; $noresave{$key} = "$nosave"; $key = q/____palDjcal_/; $ref_files{$key} = "$dir".q|node17.html|; $noresave{$key} = "$nosave"; $key = q/palGaleq/; $ref_files{$key} = "$dir".q|node38.html|; $noresave{$key} = "$nosave"; $key = q/xref_palRvgalc/; $ref_files{$key} = "$dir".q|node67.html|; $noresave{$key} = "$nosave"; $key = q/xref_palFk54z/; $ref_files{$key} = "$dir".q|node37.html|; $noresave{$key} = "$nosave"; $key = q/xref_palPv2ue/; $ref_files{$key} = "$dir".q|node63.html|; $noresave{$key} = "$nosave"; $key = q/palMapqkz/; $ref_files{$key} = "$dir".q|node46.html|; $noresave{$key} = "$nosave"; $key = q/xref_palPertel/; $ref_files{$key} = "$dir".q|node51.html|; $noresave{$key} = "$nosave"; $key = q/____palRverot_/; $ref_files{$key} = "$dir".q|node66.html|; $noresave{$key} = "$nosave"; $key = q/palPm/; $ref_files{$key} = "$dir".q|node57.html|; $noresave{$key} = "$nosave"; $key = q/palUe2pv/; $ref_files{$key} = "$dir".q|node74.html|; $noresave{$key} = "$nosave"; $key = q/____palNutc_/; $ref_files{$key} = "$dir".q|node48.html|; $noresave{$key} = "$nosave"; $key = q/xref_palSubet/; $ref_files{$key} = "$dir".q|node71.html|; $noresave{$key} = "$nosave"; $key = q/palDs2tp/; $ref_files{$key} = "$dir".q|node19.html|; $noresave{$key} = "$nosave"; $key = q/____palDtps2c_/; $ref_files{$key} = "$dir".q|node25.html|; $noresave{$key} = "$nosave"; $key = q/xref_palPm/; $ref_files{$key} = "$dir".q|node57.html|; $noresave{$key} = "$nosave"; $key = q/____palEpv_/; $ref_files{$key} = "$dir".q|node30.html|; $noresave{$key} = "$nosave"; $key = q/____palRvlg_/; $ref_files{$key} = "$dir".q|node68.html|; $noresave{$key} = "$nosave"; $key = q/xref_palPrenut/; $ref_files{$key} = "$dir".q|node61.html|; $noresave{$key} = "$nosave"; $key = q/xref_palRvlsrk/; $ref_files{$key} = "$dir".q|node70.html|; $noresave{$key} = "$nosave"; $key = q/xref_palDh2e/; $ref_files{$key} = "$dir".q|node16.html|; $noresave{$key} = "$nosave"; $key = q/xref_palAddet/; $ref_files{$key} = "$dir".q|node7.html|; $noresave{$key} = "$nosave"; $key = q/____palDe2h_/; $ref_files{$key} = "$dir".q|node13.html|; $noresave{$key} = "$nosave"; $key = q/xref_palPreces/; $ref_files{$key} = "$dir".q|node60.html|; $noresave{$key} = "$nosave"; $key = q/palRvlg/; $ref_files{$key} = "$dir".q|node68.html|; $noresave{$key} = "$nosave"; $key = q/palPlantu/; $ref_files{$key} = "$dir".q|node56.html|; $noresave{$key} = "$nosave"; $key = q/xref_palDs2tp/; $ref_files{$key} = "$dir".q|node19.html|; $noresave{$key} = "$nosave"; $key = q/stardoccontents/; $ref_files{$key} = "$dir".q|sun267.html|; $noresave{$key} = "$nosave"; $key = q/xref_palSupgal/; $ref_files{$key} = "$dir".q|node72.html|; $noresave{$key} = "$nosave"; $key = q/____palNut_/; $ref_files{$key} = "$dir".q|node47.html|; $noresave{$key} = "$nosave"; $key = q/palEvp/; $ref_files{$key} = "$dir".q|node34.html|; $noresave{$key} = "$nosave"; $key = q/____palObs_/; $ref_files{$key} = "$dir".q|node49.html|; $noresave{$key} = "$nosave"; $key = q/xref_palDtp2s/; $ref_files{$key} = "$dir".q|node24.html|; $noresave{$key} = "$nosave"; $key = q/xref_palIntin/; $ref_files{$key} = "$dir".q|node42.html|; $noresave{$key} = "$nosave"; $key = q/____palMapqkz_/; $ref_files{$key} = "$dir".q|node46.html|; $noresave{$key} = "$nosave"; $key = q/xref_palDjcal/; $ref_files{$key} = "$dir".q|node17.html|; $noresave{$key} = "$nosave"; $key = q/palEcmat/; $ref_files{$key} = "$dir".q|node27.html|; $noresave{$key} = "$nosave"; $key = q/palUe2el/; $ref_files{$key} = "$dir".q|node73.html|; $noresave{$key} = "$nosave"; $key = q/xref_palAmpqk/; $ref_files{$key} = "$dir".q|node10.html|; $noresave{$key} = "$nosave"; $key = q/____palPrec_/; $ref_files{$key} = "$dir".q|node59.html|; $noresave{$key} = "$nosave"; $key = q/____palEcmat_/; $ref_files{$key} = "$dir".q|node27.html|; $noresave{$key} = "$nosave"; $key = q/palNut/; $ref_files{$key} = "$dir".q|node47.html|; $noresave{$key} = "$nosave"; $key = q/____palDmat_/; $ref_files{$key} = "$dir".q|node18.html|; $noresave{$key} = "$nosave"; $key = q/xref_palDmoon/; $ref_files{$key} = "$dir".q|node21.html|; $noresave{$key} = "$nosave"; $key = q/____palMappa_/; $ref_files{$key} = "$dir".q|node44.html|; $noresave{$key} = "$nosave"; $key = q/____palEvp_/; $ref_files{$key} = "$dir".q|node34.html|; $noresave{$key} = "$nosave"; $key = q/palDe2h/; $ref_files{$key} = "$dir".q|node13.html|; $noresave{$key} = "$nosave"; $key = q/palSupgal/; $ref_files{$key} = "$dir".q|node72.html|; $noresave{$key} = "$nosave"; $key = q/____palEl2ue_/; $ref_files{$key} = "$dir".q|node28.html|; $noresave{$key} = "$nosave"; $key = q/palRvlsrd/; $ref_files{$key} = "$dir".q|node69.html|; $noresave{$key} = "$nosave"; $key = q/____palAmpqk_/; $ref_files{$key} = "$dir".q|node10.html|; $noresave{$key} = "$nosave"; $key = q/palPvobs/; $ref_files{$key} = "$dir".q|node64.html|; $noresave{$key} = "$nosave"; $key = q/palAmp/; $ref_files{$key} = "$dir".q|node9.html|; $noresave{$key} = "$nosave"; $key = q/palPreces/; $ref_files{$key} = "$dir".q|node60.html|; $noresave{$key} = "$nosave"; $key = q/____palFk524_/; $ref_files{$key} = "$dir".q|node36.html|; $noresave{$key} = "$nosave"; $key = q/xref_palCaldj/; $ref_files{$key} = "$dir".q|node11.html|; $noresave{$key} = "$nosave"; $key = q/____palDtp2s_/; $ref_files{$key} = "$dir".q|node24.html|; $noresave{$key} = "$nosave"; $key = q/____palIntin_/; $ref_files{$key} = "$dir".q|node42.html|; $noresave{$key} = "$nosave"; $key = q/____palAirmas_/; $ref_files{$key} = "$dir".q|node8.html|; $noresave{$key} = "$nosave"; $key = q/____palPertue_/; $ref_files{$key} = "$dir".q|node52.html|; $noresave{$key} = "$nosave"; $key = q/____palPm_/; $ref_files{$key} = "$dir".q|node57.html|; $noresave{$key} = "$nosave"; $key = q/____palSubet_/; $ref_files{$key} = "$dir".q|node71.html|; $noresave{$key} = "$nosave"; $key = q/xref_abstract/; $ref_files{$key} = "$dir".q|node1.html|; $noresave{$key} = "$nosave"; $key = q/palPlanel/; $ref_files{$key} = "$dir".q|node53.html|; $noresave{$key} = "$nosave"; $key = q/xref_palDeuler/; $ref_files{$key} = "$dir".q|node14.html|; $noresave{$key} = "$nosave"; $key = q/palPrebn/; $ref_files{$key} = "$dir".q|node58.html|; $noresave{$key} = "$nosave"; $key = q/xref_palNutc/; $ref_files{$key} = "$dir".q|node48.html|; $noresave{$key} = "$nosave"; $key = q/____palPlanel_/; $ref_files{$key} = "$dir".q|node53.html|; $noresave{$key} = "$nosave"; $key = q/palDtt/; $ref_files{$key} = "$dir".q|node26.html|; $noresave{$key} = "$nosave"; $key = q/____palRdplan_/; $ref_files{$key} = "$dir".q|node65.html|; $noresave{$key} = "$nosave"; $key = q/palMap/; $ref_files{$key} = "$dir".q|node43.html|; $noresave{$key} = "$nosave"; $key = q/____palDfltin_/; $ref_files{$key} = "$dir".q|node15.html|; $noresave{$key} = "$nosave"; $key = q/xref_palDt/; $ref_files{$key} = "$dir".q|node23.html|; $noresave{$key} = "$nosave"; $key = q/____palPa_/; $ref_files{$key} = "$dir".q|node50.html|; $noresave{$key} = "$nosave"; $key = q/palCaldj/; $ref_files{$key} = "$dir".q|node11.html|; $noresave{$key} = "$nosave"; $key = q/xref_/; $ref_files{$key} = "$dir".q|sun267.html|; $noresave{$key} = "$nosave"; $key = q/palEqecl/; $ref_files{$key} = "$dir".q|node32.html|; $noresave{$key} = "$nosave"; $key = q/____palGeoc_/; $ref_files{$key} = "$dir".q|node41.html|; $noresave{$key} = "$nosave"; $key = q/palPrec/; $ref_files{$key} = "$dir".q|node59.html|; $noresave{$key} = "$nosave"; $key = q/palPertel/; $ref_files{$key} = "$dir".q|node51.html|; $noresave{$key} = "$nosave"; $key = q/palRvlsrk/; $ref_files{$key} = "$dir".q|node70.html|; $noresave{$key} = "$nosave"; $key = q/____palGe50_/; $ref_files{$key} = "$dir".q|node40.html|; $noresave{$key} = "$nosave"; $key = q/xref_palDmat/; $ref_files{$key} = "$dir".q|node18.html|; $noresave{$key} = "$nosave"; $key = q/palAmpqk/; $ref_files{$key} = "$dir".q|node10.html|; $noresave{$key} = "$nosave"; $key = q/xref_palPlante/; $ref_files{$key} = "$dir".q|node55.html|; $noresave{$key} = "$nosave"; $key = q/palPrenut/; $ref_files{$key} = "$dir".q|node61.html|; $noresave{$key} = "$nosave"; $key = q/palFk45z/; $ref_files{$key} = "$dir".q|node35.html|; $noresave{$key} = "$nosave"; $key = q/xref_palPlantu/; $ref_files{$key} = "$dir".q|node56.html|; $noresave{$key} = "$nosave"; $key = q/____palMapqk_/; $ref_files{$key} = "$dir".q|node45.html|; $noresave{$key} = "$nosave"; $key = q/xref_palRvlsrd/; $ref_files{$key} = "$dir".q|node69.html|; $noresave{$key} = "$nosave"; $key = q/xref_palPertue/; $ref_files{$key} = "$dir".q|node52.html|; $noresave{$key} = "$nosave"; $key = q/____palPlanet_/; $ref_files{$key} = "$dir".q|node54.html|; $noresave{$key} = "$nosave"; $key = q/____palRvlsrd_/; $ref_files{$key} = "$dir".q|node69.html|; $noresave{$key} = "$nosave"; $key = q/xref_palGe50/; $ref_files{$key} = "$dir".q|node40.html|; $noresave{$key} = "$nosave"; $key = q/xref_palGaleq/; $ref_files{$key} = "$dir".q|node38.html|; $noresave{$key} = "$nosave"; $key = q/palDmoon/; $ref_files{$key} = "$dir".q|node21.html|; $noresave{$key} = "$nosave"; $key = q/____palEtrms_/; $ref_files{$key} = "$dir".q|node31.html|; $noresave{$key} = "$nosave"; $key = q/palGalsup/; $ref_files{$key} = "$dir".q|node39.html|; $noresave{$key} = "$nosave"; $key = q/xref_palPa/; $ref_files{$key} = "$dir".q|node50.html|; $noresave{$key} = "$nosave"; $key = q/____palPrenut_/; $ref_files{$key} = "$dir".q|node61.html|; $noresave{$key} = "$nosave"; $key = q/palFk54z/; $ref_files{$key} = "$dir".q|node37.html|; $noresave{$key} = "$nosave"; $key = q/palDfltin/; $ref_files{$key} = "$dir".q|node15.html|; $noresave{$key} = "$nosave"; $key = q/palEtrms/; $ref_files{$key} = "$dir".q|node31.html|; $noresave{$key} = "$nosave"; $key = q/xref_palPrebn/; $ref_files{$key} = "$dir".q|node58.html|; $noresave{$key} = "$nosave"; $key = q/palDt/; $ref_files{$key} = "$dir".q|node23.html|; $noresave{$key} = "$nosave"; $key = q/palObs/; $ref_files{$key} = "$dir".q|node49.html|; $noresave{$key} = "$nosave"; $key = q/____palFk45z_/; $ref_files{$key} = "$dir".q|node35.html|; $noresave{$key} = "$nosave"; $key = q/____palRvlsrk_/; $ref_files{$key} = "$dir".q|node70.html|; $noresave{$key} = "$nosave"; $key = q/xref_palObs/; $ref_files{$key} = "$dir".q|node49.html|; $noresave{$key} = "$nosave"; $key = q/____palPv2el_/; $ref_files{$key} = "$dir".q|node62.html|; $noresave{$key} = "$nosave"; $key = q/palAirmas/; $ref_files{$key} = "$dir".q|node8.html|; $noresave{$key} = "$nosave"; $key = q/____palGaleq_/; $ref_files{$key} = "$dir".q|node38.html|; $noresave{$key} = "$nosave"; $key = q/____palDmoon_/; $ref_files{$key} = "$dir".q|node21.html|; $noresave{$key} = "$nosave"; $key = q/____palAmp_/; $ref_files{$key} = "$dir".q|node9.html|; $noresave{$key} = "$nosave"; $key = q/palDjcal/; $ref_files{$key} = "$dir".q|node17.html|; $noresave{$key} = "$nosave"; $key = q/xref_palPrec/; $ref_files{$key} = "$dir".q|node59.html|; $noresave{$key} = "$nosave"; $key = q/xref_palFk524/; $ref_files{$key} = "$dir".q|node36.html|; $noresave{$key} = "$nosave"; $key = q/xref_palEvp/; $ref_files{$key} = "$dir".q|node34.html|; $noresave{$key} = "$nosave"; $key = q/____palPrebn_/; $ref_files{$key} = "$dir".q|node58.html|; $noresave{$key} = "$nosave"; $key = q/____palAddet_/; $ref_files{$key} = "$dir".q|node7.html|; $noresave{$key} = "$nosave"; $key = q/palEpv/; $ref_files{$key} = "$dir".q|node30.html|; $noresave{$key} = "$nosave"; $key = q/____palDafin_/; $ref_files{$key} = "$dir".q|node12.html|; $noresave{$key} = "$nosave"; $key = q/palDmat/; $ref_files{$key} = "$dir".q|node18.html|; $noresave{$key} = "$nosave"; $key = q/xref_palRverot/; $ref_files{$key} = "$dir".q|node66.html|; $noresave{$key} = "$nosave"; $key = q/palAddet/; $ref_files{$key} = "$dir".q|node7.html|; $noresave{$key} = "$nosave"; $key = q/____palUe2el_/; $ref_files{$key} = "$dir".q|node73.html|; $noresave{$key} = "$nosave"; $key = q/xref_palPlanel/; $ref_files{$key} = "$dir".q|node53.html|; $noresave{$key} = "$nosave"; $key = q/____palEqecl_/; $ref_files{$key} = "$dir".q|node32.html|; $noresave{$key} = "$nosave"; $key = q/xref_palMapqkz/; $ref_files{$key} = "$dir".q|node46.html|; $noresave{$key} = "$nosave"; 1; sun267.htx/labels.pl000644 000765 000024 00000052331 12365763733 014654 0ustar00timjstaff000000 000000 # LaTeX2HTML 2012-Starlink (1.2) # Associate labels original text with physical files. $key = q/____palNut_/; $external_labels{$key} = "$URL/" . q|node47.html|; $noresave{$key} = "$nosave"; $key = q/xref_palSupgal/; $external_labels{$key} = "$URL/" . q|node72.html|; $noresave{$key} = "$nosave"; $key = q/stardoccontents/; $external_labels{$key} = "$URL/" . q|sun267.html|; $noresave{$key} = "$nosave"; $key = q/xref_palDs2tp/; $external_labels{$key} = "$URL/" . q|node19.html|; $noresave{$key} = "$nosave"; $key = q/palPlantu/; $external_labels{$key} = "$URL/" . q|node56.html|; $noresave{$key} = "$nosave"; $key = q/palRvlg/; $external_labels{$key} = "$URL/" . q|node68.html|; $noresave{$key} = "$nosave"; $key = q/____palEvp_/; $external_labels{$key} = "$URL/" . q|node34.html|; $noresave{$key} = "$nosave"; $key = q/xref_palDmoon/; $external_labels{$key} = "$URL/" . q|node21.html|; $noresave{$key} = "$nosave"; $key = q/____palMappa_/; $external_labels{$key} = "$URL/" . q|node44.html|; $noresave{$key} = "$nosave"; $key = q/____palPrec_/; $external_labels{$key} = "$URL/" . q|node59.html|; $noresave{$key} = "$nosave"; $key = q/____palEcmat_/; $external_labels{$key} = "$URL/" . q|node27.html|; $noresave{$key} = "$nosave"; $key = q/palNut/; $external_labels{$key} = "$URL/" . q|node47.html|; $noresave{$key} = "$nosave"; $key = q/____palDmat_/; $external_labels{$key} = "$URL/" . q|node18.html|; $noresave{$key} = "$nosave"; $key = q/xref_palAmpqk/; $external_labels{$key} = "$URL/" . q|node10.html|; $noresave{$key} = "$nosave"; $key = q/palUe2el/; $external_labels{$key} = "$URL/" . q|node73.html|; $noresave{$key} = "$nosave"; $key = q/palEcmat/; $external_labels{$key} = "$URL/" . q|node27.html|; $noresave{$key} = "$nosave"; $key = q/____palMapqkz_/; $external_labels{$key} = "$URL/" . q|node46.html|; $noresave{$key} = "$nosave"; $key = q/xref_palDjcal/; $external_labels{$key} = "$URL/" . q|node17.html|; $noresave{$key} = "$nosave"; $key = q/xref_palIntin/; $external_labels{$key} = "$URL/" . q|node42.html|; $noresave{$key} = "$nosave"; $key = q/xref_palDtp2s/; $external_labels{$key} = "$URL/" . q|node24.html|; $noresave{$key} = "$nosave"; $key = q/palEvp/; $external_labels{$key} = "$URL/" . q|node34.html|; $noresave{$key} = "$nosave"; $key = q/____palObs_/; $external_labels{$key} = "$URL/" . q|node49.html|; $noresave{$key} = "$nosave"; $key = q/____palPm_/; $external_labels{$key} = "$URL/" . q|node57.html|; $noresave{$key} = "$nosave"; $key = q/____palAirmas_/; $external_labels{$key} = "$URL/" . q|node8.html|; $noresave{$key} = "$nosave"; $key = q/____palPertue_/; $external_labels{$key} = "$URL/" . q|node52.html|; $noresave{$key} = "$nosave"; $key = q/____palFk524_/; $external_labels{$key} = "$URL/" . q|node36.html|; $noresave{$key} = "$nosave"; $key = q/xref_palCaldj/; $external_labels{$key} = "$URL/" . q|node11.html|; $noresave{$key} = "$nosave"; $key = q/palPreces/; $external_labels{$key} = "$URL/" . q|node60.html|; $noresave{$key} = "$nosave"; $key = q/____palDtp2s_/; $external_labels{$key} = "$URL/" . q|node24.html|; $noresave{$key} = "$nosave"; $key = q/____palIntin_/; $external_labels{$key} = "$URL/" . q|node42.html|; $noresave{$key} = "$nosave"; $key = q/palAmp/; $external_labels{$key} = "$URL/" . q|node9.html|; $noresave{$key} = "$nosave"; $key = q/____palAmpqk_/; $external_labels{$key} = "$URL/" . q|node10.html|; $noresave{$key} = "$nosave"; $key = q/palPvobs/; $external_labels{$key} = "$URL/" . q|node64.html|; $noresave{$key} = "$nosave"; $key = q/____palEl2ue_/; $external_labels{$key} = "$URL/" . q|node28.html|; $noresave{$key} = "$nosave"; $key = q/palRvlsrd/; $external_labels{$key} = "$URL/" . q|node69.html|; $noresave{$key} = "$nosave"; $key = q/palDe2h/; $external_labels{$key} = "$URL/" . q|node13.html|; $noresave{$key} = "$nosave"; $key = q/palSupgal/; $external_labels{$key} = "$URL/" . q|node72.html|; $noresave{$key} = "$nosave"; $key = q/____palPa_/; $external_labels{$key} = "$URL/" . q|node50.html|; $noresave{$key} = "$nosave"; $key = q/xref_palDt/; $external_labels{$key} = "$URL/" . q|node23.html|; $noresave{$key} = "$nosave"; $key = q/xref_/; $external_labels{$key} = "$URL/" . q|sun267.html|; $noresave{$key} = "$nosave"; $key = q/palCaldj/; $external_labels{$key} = "$URL/" . q|node11.html|; $noresave{$key} = "$nosave"; $key = q/palEqecl/; $external_labels{$key} = "$URL/" . q|node32.html|; $noresave{$key} = "$nosave"; $key = q/____palGeoc_/; $external_labels{$key} = "$URL/" . q|node41.html|; $noresave{$key} = "$nosave"; $key = q/____palDfltin_/; $external_labels{$key} = "$URL/" . q|node15.html|; $noresave{$key} = "$nosave"; $key = q/palMap/; $external_labels{$key} = "$URL/" . q|node43.html|; $noresave{$key} = "$nosave"; $key = q/____palRdplan_/; $external_labels{$key} = "$URL/" . q|node65.html|; $noresave{$key} = "$nosave"; $key = q/palDtt/; $external_labels{$key} = "$URL/" . q|node26.html|; $noresave{$key} = "$nosave"; $key = q/____palPlanel_/; $external_labels{$key} = "$URL/" . q|node53.html|; $noresave{$key} = "$nosave"; $key = q/xref_palDeuler/; $external_labels{$key} = "$URL/" . q|node14.html|; $noresave{$key} = "$nosave"; $key = q/palPrebn/; $external_labels{$key} = "$URL/" . q|node58.html|; $noresave{$key} = "$nosave"; $key = q/xref_palNutc/; $external_labels{$key} = "$URL/" . q|node48.html|; $noresave{$key} = "$nosave"; $key = q/palPlanel/; $external_labels{$key} = "$URL/" . q|node53.html|; $noresave{$key} = "$nosave"; $key = q/____palSubet_/; $external_labels{$key} = "$URL/" . q|node71.html|; $noresave{$key} = "$nosave"; $key = q/xref_abstract/; $external_labels{$key} = "$URL/" . q|node1.html|; $noresave{$key} = "$nosave"; $key = q/xref_palGe50/; $external_labels{$key} = "$URL/" . q|node40.html|; $noresave{$key} = "$nosave"; $key = q/____palRvlsrd_/; $external_labels{$key} = "$URL/" . q|node69.html|; $noresave{$key} = "$nosave"; $key = q/xref_palGaleq/; $external_labels{$key} = "$URL/" . q|node38.html|; $noresave{$key} = "$nosave"; $key = q/____palPlanet_/; $external_labels{$key} = "$URL/" . q|node54.html|; $noresave{$key} = "$nosave"; $key = q/xref_palPertue/; $external_labels{$key} = "$URL/" . q|node52.html|; $noresave{$key} = "$nosave"; $key = q/____palMapqk_/; $external_labels{$key} = "$URL/" . q|node45.html|; $noresave{$key} = "$nosave"; $key = q/xref_palRvlsrd/; $external_labels{$key} = "$URL/" . q|node69.html|; $noresave{$key} = "$nosave"; $key = q/xref_palPlantu/; $external_labels{$key} = "$URL/" . q|node56.html|; $noresave{$key} = "$nosave"; $key = q/palFk45z/; $external_labels{$key} = "$URL/" . q|node35.html|; $noresave{$key} = "$nosave"; $key = q/palAmpqk/; $external_labels{$key} = "$URL/" . q|node10.html|; $noresave{$key} = "$nosave"; $key = q/xref_palPlante/; $external_labels{$key} = "$URL/" . q|node55.html|; $noresave{$key} = "$nosave"; $key = q/palPrenut/; $external_labels{$key} = "$URL/" . q|node61.html|; $noresave{$key} = "$nosave"; $key = q/____palGe50_/; $external_labels{$key} = "$URL/" . q|node40.html|; $noresave{$key} = "$nosave"; $key = q/palRvlsrk/; $external_labels{$key} = "$URL/" . q|node70.html|; $noresave{$key} = "$nosave"; $key = q/xref_palDmat/; $external_labels{$key} = "$URL/" . q|node18.html|; $noresave{$key} = "$nosave"; $key = q/palPrec/; $external_labels{$key} = "$URL/" . q|node59.html|; $noresave{$key} = "$nosave"; $key = q/palPertel/; $external_labels{$key} = "$URL/" . q|node51.html|; $noresave{$key} = "$nosave"; $key = q/____palPv2el_/; $external_labels{$key} = "$URL/" . q|node62.html|; $noresave{$key} = "$nosave"; $key = q/xref_palObs/; $external_labels{$key} = "$URL/" . q|node49.html|; $noresave{$key} = "$nosave"; $key = q/____palRvlsrk_/; $external_labels{$key} = "$URL/" . q|node70.html|; $noresave{$key} = "$nosave"; $key = q/____palFk45z_/; $external_labels{$key} = "$URL/" . q|node35.html|; $noresave{$key} = "$nosave"; $key = q/palObs/; $external_labels{$key} = "$URL/" . q|node49.html|; $noresave{$key} = "$nosave"; $key = q/palDt/; $external_labels{$key} = "$URL/" . q|node23.html|; $noresave{$key} = "$nosave"; $key = q/xref_palPrebn/; $external_labels{$key} = "$URL/" . q|node58.html|; $noresave{$key} = "$nosave"; $key = q/palDfltin/; $external_labels{$key} = "$URL/" . q|node15.html|; $noresave{$key} = "$nosave"; $key = q/palEtrms/; $external_labels{$key} = "$URL/" . q|node31.html|; $noresave{$key} = "$nosave"; $key = q/palDmoon/; $external_labels{$key} = "$URL/" . q|node21.html|; $noresave{$key} = "$nosave"; $key = q/____palEtrms_/; $external_labels{$key} = "$URL/" . q|node31.html|; $noresave{$key} = "$nosave"; $key = q/palGalsup/; $external_labels{$key} = "$URL/" . q|node39.html|; $noresave{$key} = "$nosave"; $key = q/xref_palPa/; $external_labels{$key} = "$URL/" . q|node50.html|; $noresave{$key} = "$nosave"; $key = q/____palPrenut_/; $external_labels{$key} = "$URL/" . q|node61.html|; $noresave{$key} = "$nosave"; $key = q/palFk54z/; $external_labels{$key} = "$URL/" . q|node37.html|; $noresave{$key} = "$nosave"; $key = q/xref_palRverot/; $external_labels{$key} = "$URL/" . q|node66.html|; $noresave{$key} = "$nosave"; $key = q/____palDafin_/; $external_labels{$key} = "$URL/" . q|node12.html|; $noresave{$key} = "$nosave"; $key = q/palDmat/; $external_labels{$key} = "$URL/" . q|node18.html|; $noresave{$key} = "$nosave"; $key = q/____palPrebn_/; $external_labels{$key} = "$URL/" . q|node58.html|; $noresave{$key} = "$nosave"; $key = q/____palAddet_/; $external_labels{$key} = "$URL/" . q|node7.html|; $noresave{$key} = "$nosave"; $key = q/palEpv/; $external_labels{$key} = "$URL/" . q|node30.html|; $noresave{$key} = "$nosave"; $key = q/xref_palPrec/; $external_labels{$key} = "$URL/" . q|node59.html|; $noresave{$key} = "$nosave"; $key = q/xref_palFk524/; $external_labels{$key} = "$URL/" . q|node36.html|; $noresave{$key} = "$nosave"; $key = q/xref_palEvp/; $external_labels{$key} = "$URL/" . q|node34.html|; $noresave{$key} = "$nosave"; $key = q/palDjcal/; $external_labels{$key} = "$URL/" . q|node17.html|; $noresave{$key} = "$nosave"; $key = q/____palAmp_/; $external_labels{$key} = "$URL/" . q|node9.html|; $noresave{$key} = "$nosave"; $key = q/____palGaleq_/; $external_labels{$key} = "$URL/" . q|node38.html|; $noresave{$key} = "$nosave"; $key = q/____palDmoon_/; $external_labels{$key} = "$URL/" . q|node21.html|; $noresave{$key} = "$nosave"; $key = q/palAirmas/; $external_labels{$key} = "$URL/" . q|node8.html|; $noresave{$key} = "$nosave"; $key = q/____palEqecl_/; $external_labels{$key} = "$URL/" . q|node32.html|; $noresave{$key} = "$nosave"; $key = q/xref_palMapqkz/; $external_labels{$key} = "$URL/" . q|node46.html|; $noresave{$key} = "$nosave"; $key = q/xref_palPlanel/; $external_labels{$key} = "$URL/" . q|node53.html|; $noresave{$key} = "$nosave"; $key = q/palAddet/; $external_labels{$key} = "$URL/" . q|node7.html|; $noresave{$key} = "$nosave"; $key = q/____palUe2el_/; $external_labels{$key} = "$URL/" . q|node73.html|; $noresave{$key} = "$nosave"; $key = q/xref_palPvobs/; $external_labels{$key} = "$URL/" . q|node64.html|; $noresave{$key} = "$nosave"; $key = q/____palPlante_/; $external_labels{$key} = "$URL/" . q|node55.html|; $noresave{$key} = "$nosave"; $key = q/xref_palMapqk/; $external_labels{$key} = "$URL/" . q|node45.html|; $noresave{$key} = "$nosave"; $key = q/____palDh2e_/; $external_labels{$key} = "$URL/" . q|node16.html|; $noresave{$key} = "$nosave"; $key = q/palPv2el/; $external_labels{$key} = "$URL/" . q|node62.html|; $noresave{$key} = "$nosave"; $key = q/xref_palAmp/; $external_labels{$key} = "$URL/" . q|node9.html|; $noresave{$key} = "$nosave"; $key = q/palDeuler/; $external_labels{$key} = "$URL/" . q|node14.html|; $noresave{$key} = "$nosave"; $key = q/xref_palFk45z/; $external_labels{$key} = "$URL/" . q|node35.html|; $noresave{$key} = "$nosave"; $key = q/palDrange/; $external_labels{$key} = "$URL/" . q|node22.html|; $noresave{$key} = "$nosave"; $key = q/palPv2ue/; $external_labels{$key} = "$URL/" . q|node63.html|; $noresave{$key} = "$nosave"; $key = q/____palSupgal_/; $external_labels{$key} = "$URL/" . q|node72.html|; $noresave{$key} = "$nosave"; $key = q/palRdplan/; $external_labels{$key} = "$URL/" . q|node65.html|; $noresave{$key} = "$nosave"; $key = q/xref_palPlanet/; $external_labels{$key} = "$URL/" . q|node54.html|; $noresave{$key} = "$nosave"; $key = q/____palCaldj_/; $external_labels{$key} = "$URL/" . q|node11.html|; $noresave{$key} = "$nosave"; $key = q/xref_palDtt/; $external_labels{$key} = "$URL/" . q|node26.html|; $noresave{$key} = "$nosave"; $key = q/____palPlantu_/; $external_labels{$key} = "$URL/" . q|node56.html|; $noresave{$key} = "$nosave"; $key = q/xref_palRvlg/; $external_labels{$key} = "$URL/" . q|node68.html|; $noresave{$key} = "$nosave"; $key = q/palPa/; $external_labels{$key} = "$URL/" . q|node50.html|; $noresave{$key} = "$nosave"; $key = q/palIntin/; $external_labels{$key} = "$URL/" . q|node42.html|; $noresave{$key} = "$nosave"; $key = q/xref_palEl2ue/; $external_labels{$key} = "$URL/" . q|node28.html|; $noresave{$key} = "$nosave"; $key = q/xref_palDtps2c/; $external_labels{$key} = "$URL/" . q|node25.html|; $noresave{$key} = "$nosave"; $key = q/xref_palEpv/; $external_labels{$key} = "$URL/" . q|node30.html|; $noresave{$key} = "$nosave"; $key = q/____palPreces_/; $external_labels{$key} = "$URL/" . q|node60.html|; $noresave{$key} = "$nosave"; $key = q/xref_palMappa/; $external_labels{$key} = "$URL/" . q|node44.html|; $noresave{$key} = "$nosave"; $key = q/palFk524/; $external_labels{$key} = "$URL/" . q|node36.html|; $noresave{$key} = "$nosave"; $key = q/____palFk54z_/; $external_labels{$key} = "$URL/" . q|node37.html|; $noresave{$key} = "$nosave"; $key = q/____palEpco_/; $external_labels{$key} = "$URL/" . q|node29.html|; $noresave{$key} = "$nosave"; $key = q/palMapqk/; $external_labels{$key} = "$URL/" . q|node45.html|; $noresave{$key} = "$nosave"; $key = q/xref_palGeoc/; $external_labels{$key} = "$URL/" . q|node41.html|; $noresave{$key} = "$nosave"; $key = q/____palRvgalc_/; $external_labels{$key} = "$URL/" . q|node67.html|; $noresave{$key} = "$nosave"; $key = q/palEpco/; $external_labels{$key} = "$URL/" . q|node29.html|; $noresave{$key} = "$nosave"; $key = q/palDafin/; $external_labels{$key} = "$URL/" . q|node12.html|; $noresave{$key} = "$nosave"; $key = q/____palDtt_/; $external_labels{$key} = "$URL/" . q|node26.html|; $noresave{$key} = "$nosave"; $key = q/xref_palDrange/; $external_labels{$key} = "$URL/" . q|node22.html|; $noresave{$key} = "$nosave"; $key = q/palPlanet/; $external_labels{$key} = "$URL/" . q|node54.html|; $noresave{$key} = "$nosave"; $key = q/palDtps2c/; $external_labels{$key} = "$URL/" . q|node25.html|; $noresave{$key} = "$nosave"; $key = q/____palDeuler_/; $external_labels{$key} = "$URL/" . q|node14.html|; $noresave{$key} = "$nosave"; $key = q/____palPertel_/; $external_labels{$key} = "$URL/" . q|node51.html|; $noresave{$key} = "$nosave"; $key = q/xref_palEpco/; $external_labels{$key} = "$URL/" . q|node29.html|; $noresave{$key} = "$nosave"; $key = q/____palUe2pv_/; $external_labels{$key} = "$URL/" . q|node74.html|; $noresave{$key} = "$nosave"; $key = q/palDtp2s/; $external_labels{$key} = "$URL/" . q|node24.html|; $noresave{$key} = "$nosave"; $key = q/xref_palEtrms/; $external_labels{$key} = "$URL/" . q|node31.html|; $noresave{$key} = "$nosave"; $key = q/xref_palEqecl/; $external_labels{$key} = "$URL/" . q|node32.html|; $noresave{$key} = "$nosave"; $key = q/____palDs2tp_/; $external_labels{$key} = "$URL/" . q|node19.html|; $noresave{$key} = "$nosave"; $key = q/palSubet/; $external_labels{$key} = "$URL/" . q|node71.html|; $noresave{$key} = "$nosave"; $key = q/____palDrange_/; $external_labels{$key} = "$URL/" . q|node22.html|; $noresave{$key} = "$nosave"; $key = q/xref_palEqgal/; $external_labels{$key} = "$URL/" . q|node33.html|; $noresave{$key} = "$nosave"; $key = q/xref_palNut/; $external_labels{$key} = "$URL/" . q|node47.html|; $noresave{$key} = "$nosave"; $key = q/palPertue/; $external_labels{$key} = "$URL/" . q|node52.html|; $noresave{$key} = "$nosave"; $key = q/xref_palDe2h/; $external_labels{$key} = "$URL/" . q|node13.html|; $noresave{$key} = "$nosave"; $key = q/palNutc/; $external_labels{$key} = "$URL/" . q|node48.html|; $noresave{$key} = "$nosave"; $key = q/xref_palGalsup/; $external_labels{$key} = "$URL/" . q|node39.html|; $noresave{$key} = "$nosave"; $key = q/____palPv2ue_/; $external_labels{$key} = "$URL/" . q|node63.html|; $noresave{$key} = "$nosave"; $key = q/APP:SPEC/; $external_labels{$key} = "$URL/" . q|node4.html|; $noresave{$key} = "$nosave"; $key = q/____palPvobs_/; $external_labels{$key} = "$URL/" . q|node64.html|; $noresave{$key} = "$nosave"; $key = q/palRverot/; $external_labels{$key} = "$URL/" . q|node66.html|; $noresave{$key} = "$nosave"; $key = q/____palDt_/; $external_labels{$key} = "$URL/" . q|node23.html|; $noresave{$key} = "$nosave"; $key = q/palGeoc/; $external_labels{$key} = "$URL/" . q|node41.html|; $noresave{$key} = "$nosave"; $key = q/xref_palEcmat/; $external_labels{$key} = "$URL/" . q|node27.html|; $noresave{$key} = "$nosave"; $key = q/palGe50/; $external_labels{$key} = "$URL/" . q|node40.html|; $noresave{$key} = "$nosave"; $key = q/xref_palRdplan/; $external_labels{$key} = "$URL/" . q|node65.html|; $noresave{$key} = "$nosave"; $key = q/xref_palDfltin/; $external_labels{$key} = "$URL/" . q|node15.html|; $noresave{$key} = "$nosave"; $key = q/xref_palPv2el/; $external_labels{$key} = "$URL/" . q|node62.html|; $noresave{$key} = "$nosave"; $key = q/palPlante/; $external_labels{$key} = "$URL/" . q|node55.html|; $noresave{$key} = "$nosave"; $key = q/____palGalsup_/; $external_labels{$key} = "$URL/" . q|node39.html|; $noresave{$key} = "$nosave"; $key = q/palRvgalc/; $external_labels{$key} = "$URL/" . q|node67.html|; $noresave{$key} = "$nosave"; $key = q/xref_palUe2el/; $external_labels{$key} = "$URL/" . q|node73.html|; $noresave{$key} = "$nosave"; $key = q/xref_palDafin/; $external_labels{$key} = "$URL/" . q|node12.html|; $noresave{$key} = "$nosave"; $key = q/xref_palMap/; $external_labels{$key} = "$URL/" . q|node43.html|; $noresave{$key} = "$nosave"; $key = q/palEqgal/; $external_labels{$key} = "$URL/" . q|node33.html|; $noresave{$key} = "$nosave"; $key = q/____palEqgal_/; $external_labels{$key} = "$URL/" . q|node33.html|; $noresave{$key} = "$nosave"; $key = q/palDh2e/; $external_labels{$key} = "$URL/" . q|node16.html|; $noresave{$key} = "$nosave"; $key = q/palMappa/; $external_labels{$key} = "$URL/" . q|node44.html|; $noresave{$key} = "$nosave"; $key = q/xref_palAirmas/; $external_labels{$key} = "$URL/" . q|node8.html|; $noresave{$key} = "$nosave"; $key = q/xref_palUe2pv/; $external_labels{$key} = "$URL/" . q|node74.html|; $noresave{$key} = "$nosave"; $key = q/____palMap_/; $external_labels{$key} = "$URL/" . q|node43.html|; $noresave{$key} = "$nosave"; $key = q/palUe2pv/; $external_labels{$key} = "$URL/" . q|node74.html|; $noresave{$key} = "$nosave"; $key = q/palPm/; $external_labels{$key} = "$URL/" . q|node57.html|; $noresave{$key} = "$nosave"; $key = q/____palRverot_/; $external_labels{$key} = "$URL/" . q|node66.html|; $noresave{$key} = "$nosave"; $key = q/palMapqkz/; $external_labels{$key} = "$URL/" . q|node46.html|; $noresave{$key} = "$nosave"; $key = q/xref_palPertel/; $external_labels{$key} = "$URL/" . q|node51.html|; $noresave{$key} = "$nosave"; $key = q/xref_palFk54z/; $external_labels{$key} = "$URL/" . q|node37.html|; $noresave{$key} = "$nosave"; $key = q/xref_palPv2ue/; $external_labels{$key} = "$URL/" . q|node63.html|; $noresave{$key} = "$nosave"; $key = q/palGaleq/; $external_labels{$key} = "$URL/" . q|node38.html|; $noresave{$key} = "$nosave"; $key = q/xref_palRvgalc/; $external_labels{$key} = "$URL/" . q|node67.html|; $noresave{$key} = "$nosave"; $key = q/palEl2ue/; $external_labels{$key} = "$URL/" . q|node28.html|; $noresave{$key} = "$nosave"; $key = q/____palDjcal_/; $external_labels{$key} = "$URL/" . q|node17.html|; $noresave{$key} = "$nosave"; $key = q/____palDe2h_/; $external_labels{$key} = "$URL/" . q|node13.html|; $noresave{$key} = "$nosave"; $key = q/xref_palPreces/; $external_labels{$key} = "$URL/" . q|node60.html|; $noresave{$key} = "$nosave"; $key = q/xref_palAddet/; $external_labels{$key} = "$URL/" . q|node7.html|; $noresave{$key} = "$nosave"; $key = q/xref_palPrenut/; $external_labels{$key} = "$URL/" . q|node61.html|; $noresave{$key} = "$nosave"; $key = q/xref_palRvlsrk/; $external_labels{$key} = "$URL/" . q|node70.html|; $noresave{$key} = "$nosave"; $key = q/xref_palDh2e/; $external_labels{$key} = "$URL/" . q|node16.html|; $noresave{$key} = "$nosave"; $key = q/____palDtps2c_/; $external_labels{$key} = "$URL/" . q|node25.html|; $noresave{$key} = "$nosave"; $key = q/____palEpv_/; $external_labels{$key} = "$URL/" . q|node30.html|; $noresave{$key} = "$nosave"; $key = q/xref_palPm/; $external_labels{$key} = "$URL/" . q|node57.html|; $noresave{$key} = "$nosave"; $key = q/____palRvlg_/; $external_labels{$key} = "$URL/" . q|node68.html|; $noresave{$key} = "$nosave"; $key = q/xref_palSubet/; $external_labels{$key} = "$URL/" . q|node71.html|; $noresave{$key} = "$nosave"; $key = q/palDs2tp/; $external_labels{$key} = "$URL/" . q|node19.html|; $noresave{$key} = "$nosave"; $key = q/____palNutc_/; $external_labels{$key} = "$URL/" . q|node48.html|; $noresave{$key} = "$nosave"; 1; # LaTeX2HTML 2012-Starlink (1.2) # labels from external_latex_labels array. 1; sun267.htx/next.png000644 000765 000024 00000000365 12365763733 014541 0ustar00timjstaff000000 000000 ‰PNG  IHDR%wìu PLTE¿¿¿oooççç[Íã¹tRNS@æØf—IDATxœmŽ1 Ã0 EQF >ŠÁk >B‡ú>†¬…NÙ3û¯=Œ¡k¡•äШ¾Ÿ?²d”Œ M53–—³³ˆkARMê9®êNÈlúà :CÕü5¥t•·¥læ¸]o¦÷ÁDª­×/ûÜ¡_ç\lŽEÄ6¶ãtÄUˆê›é¬è{Ccs=Ëßû@ªuwÿû¡®·ˆz Abstract


next up previous 250
Next: Introduction
Up: PAL Positional Astronomy Library
Previous: PAL Positional Astronomy Library


Abstract

PAL provides a subset of the Fortran SLALIB library but written in C using the SLALIB C API. Where possible the PAL routines are implemented using the C SOFA library. It is provided with a GPL license.



next up previous 250
Next: Introduction
Up: PAL Positional Astronomy Library
Previous: PAL Positional Astronomy Library

PAL --- Positional Astronomy Library
Starlink User Note 267
Tim Jenness
2012 March 23
E-mail:starlink@jiscmail.ac.uk

Copyright © 2012 Science and Technology Facilities Council
sun267.htx/node10.html000644 000765 000024 00000011701 12365763733 015025 0ustar00timjstaff000000 000000 palAmpqk - Convert star RA,Dec from geocentric apparent to mean place

next up previous 250
Next: palCaldj - Gregorian Calendar to Modified Julian Date
Up: Function Descriptions
Previous: palAmp - Convert star RA,Dec from geocentric apparaent to mean place


palAmpqk - Convert star RA,Dec from geocentric apparent to mean place

Description:
Convert star RA,Dec from geocentric apparent to mean place. The "mean" coordinate system is in fact close to ICRS. Use of this function is appropriate when efficiency is important and where many star positions are all to be transformed for one epoch and equinox. The star-independent parameters can be obtained by calling the palMappa function.

Invocation:
void palAmpqk ( double ra, double da, double amprms[21], double rm, double dm )

Arguments:

ra = double (Given)
Apparent RA (radians).
da = double (Given)
Apparent Dec (radians).
amprms = double[21] (Given)
Star-independent mean-to-apparent parameters (see palMappa): (0) time interval for proper motion (Julian years) (1-3) barycentric position of the Earth (AU) (4-6) not used (7) not used (8-10) abv: barycentric Earth velocity in units of c (11) sqrt(1-vv) where v=modulus(abv) (12-20) precession/nutation (3,3) matrix
rm = double (Returned)
Mean RA (radians).
dm = double (Returned)
Mean Dec (radians).



next up previous 250
Next: palCaldj - Gregorian Calendar to Modified Julian Date
Up: Function Descriptions
Previous: palAmp - Convert star RA,Dec from geocentric apparaent to mean place

PAL --- Positional Astronomy Library
Starlink User Note 267
Tim Jenness
2012 March 23
E-mail:starlink@jiscmail.ac.uk

Copyright © 2012 Science and Technology Facilities Council
sun267.htx/node11.html000644 000765 000024 00000011614 12365763733 015031 0ustar00timjstaff000000 000000 palCaldj - Gregorian Calendar to Modified Julian Date

next up previous 250
Next: palDafin - Sexagesimal character string to angle
Up: Function Descriptions
Previous: palAmpqk - Convert star RA,Dec from geocentric apparent to mean place


palCaldj - Gregorian Calendar to Modified Julian Date

Description:
Modified Julian Date to Gregorian Calendar with special behaviour for 2-digit years relating to 1950 to 2049.

Invocation:
void palCaldj ( int iy, int im, int id, double djm, int j );

Arguments:

iy = int (Given)
Year in the Gregorian calendar
im = int (Given)
Month in the Gergorian calendar
id = int (Given)
Day in the Gregorian calendar
djm = double (Returned)
Modified Julian Date (JD-2400000.5) for 0 hrs
j = status (Returned)
0 = OK. See iauCal2jd for other values.

Notes:
  • Uses iauCal2jd

  • Unlike iauCal2jd this routine treats the years 0-100 as referring to the end of the 20th Century and beginning of the 21st Century. If this behaviour is not acceptable use the SOFA routine directly or palCldj. Acceptable years are 00-49, interpreted as 2000-2049, 50-99, " " 1950-1999, all others, interpreted literally.

  • Unlike SLA this routine will work with negative years.



next up previous 250
Next: palDafin - Sexagesimal character string to angle
Up: Function Descriptions
Previous: palAmpqk - Convert star RA,Dec from geocentric apparent to mean place

PAL --- Positional Astronomy Library
Starlink User Note 267
Tim Jenness
2012 March 23
E-mail:starlink@jiscmail.ac.uk

Copyright © 2012 Science and Technology Facilities Council
sun267.htx/node12.html000644 000765 000024 00000016015 12365763733 015032 0ustar00timjstaff000000 000000 palDafin - Sexagesimal character string to angle

next up previous 250
Next: palDe2h - Equatorial to horizon coordinates: HA,Dec to Az,E
Up: Function Descriptions
Previous: palCaldj - Gregorian Calendar to Modified Julian Date


palDafin - Sexagesimal character string to angle

Description:
Extracts an angle from a sexagesimal string with degrees, arcmin, arcsec fields using space or comma delimiters.

Invocation:
void palDafin ( const char string, int ipos, double a, int j );

Arguments:

string = const char (Given)
String containing deg, arcmin, arcsec fields
ipos = int (Given & Returned)
Position to start decoding "string". First character is position 1 for compatibility with SLA. After calling this routine "iptr" will be positioned after the sexagesimal string.
a = double (Returned)
Angle in radians.
j = int (Returned)
status: 0 = OK 1 = default, A unchanged
  • 1 = bad degrees )

  • 2 = bad arcminutes ) (note 3)

  • 3 = bad arcseconds )


Notes:
  • The first three "fields" in STRING are degrees, arcminutes, arcseconds, separated by spaces or commas. The degrees field may be signed, but not the others. The decoding is carried out by the palDfltin routine and is free-format.

  • Successive fields may be absent, defaulting to zero. For zero status, the only combinations allowed are degrees alone, degrees and arcminutes, and all three fields present. If all three fields are omitted, a status of 1 is returned and A is unchanged. In all other cases A is changed.

  • Range checking:


The degrees field is not range checked. However, it is expected to be integral unless the other two fields are absent.

The arcminutes field is expected to be 0-59, and integral if the arcseconds field is present. If the arcseconds field is absent, the arcminutes is expected to be 0-59.9999...

The arcseconds field is expected to be 0-59.9999...

  • Decoding continues even when a check has failed. Under these circumstances the field takes the supplied value, defaulting to zero, and the result A is computed and returned.

  • Further fields after the three expected ones are not treated as an error. The pointer IPOS is left in the correct state for further decoding with the present routine or with palDfltin etc. See the example, above.

  • If STRING contains hours, minutes, seconds instead of degrees etc, or if the required units are turns (or days) instead of radians, the result A should be multiplied as follows:


for to obtain multiply STRING A in A by

d ' " radians 1 = 1.0 d ' " turns 1/2pi = 0.1591549430918953358 h m s radians 15 = 15.0 h m s days 15/2pi = 2.3873241463784300365

Example
argument before after

STRING '-57 17 44.806 12 34 56.7' unchanged IPTR 1 16 (points to 12...) A ? -1.00000D0 J ? 0



next up previous 250
Next: palDe2h - Equatorial to horizon coordinates: HA,Dec to Az,E
Up: Function Descriptions
Previous: palCaldj - Gregorian Calendar to Modified Julian Date

PAL --- Positional Astronomy Library
Starlink User Note 267
Tim Jenness
2012 March 23
E-mail:starlink@jiscmail.ac.uk

Copyright © 2012 Science and Technology Facilities Council
sun267.htx/node13.html000644 000765 000024 00000013117 12365763733 015033 0ustar00timjstaff000000 000000 palDe2h - Equatorial to horizon coordinates: HA,Dec to Az,E

next up previous 250
Next: palDeuler - Form a rotation matrix from the Euler angles
Up: Function Descriptions
Previous: palDafin - Sexagesimal character string to angle


palDe2h - Equatorial to horizon coordinates: HA,Dec to Az,E

Description:
Convert equatorial to horizon coordinates.

Invocation:
palDe2h( double ha, double dec, double phi, double az, double el );

Arguments:

ha = double (Given)
Hour angle (radians)
dec = double (Given)
Declination (radians)
phi = double (Given)
Observatory latitude (radians)
az = double (Returned)
Azimuth (radians)
el = double (Returned)
Elevation (radians)

Notes:
  • All the arguments are angles in radians.

  • Azimuth is returned in the range 0-2pi; north is zero, and east is pi/2. Elevation is returned in the range /-pi/2.

  • The latitude must be geodetic. In critical applications, corrections for polar motion should be applied.

  • In some applications it will be important to specify the correct type of hour angle and declination in order to produce the required type of azimuth and elevation. In particular, it may be important to distinguish between elevation as affected by refraction, which would require the "observed" HA,Dec, and the elevation in vacuo, which would require the "topocentric" HA,Dec. If the effects of diurnal aberration can be neglected, the "apparent" HA,Dec may be used instead of the topocentric HA,Dec.

  • No range checking of arguments is carried out.

  • In applications which involve many such calculations, rather than calling the present routine it will be more efficient to use inline code, having previously computed fixed terms such as sine and cosine of latitude, and (for tracking a star) sine and cosine of declination.



next up previous 250
Next: palDeuler - Form a rotation matrix from the Euler angles
Up: Function Descriptions
Previous: palDafin - Sexagesimal character string to angle

PAL --- Positional Astronomy Library
Starlink User Note 267
Tim Jenness
2012 March 23
E-mail:starlink@jiscmail.ac.uk

Copyright © 2012 Science and Technology Facilities Council
sun267.htx/node14.html000644 000765 000024 00000012730 12365763733 015034 0ustar00timjstaff000000 000000 palDeuler - Form a rotation matrix from the Euler angles

next up previous 250
Next: palDfltin - Convert free-format input into double precision floating point
Up: Function Descriptions
Previous: palDe2h - Equatorial to horizon coordinates: HA,Dec to Az,E


palDeuler - Form a rotation matrix from the Euler angles

Description:
A rotation is positive when the reference frame rotates anticlockwise as seen looking towards the origin from the positive region of the specified axis.

The characters of ORDER define which axes the three successive rotations are about. A typical value is 'ZXZ', indicating that RMAT is to become the direction cosine matrix corresponding to rotations of the reference frame through PHI radians about the old Z-axis, followed by THETA radians about the resulting X-axis, then PSI radians about the resulting Z-axis.

The axis names can be any of the following, in any order or combination: X, Y, Z, uppercase or lowercase, 1, 2, 3. Normal axis labelling/numbering conventions apply; the xyz (=123) triad is right-handed. Thus, the 'ZXZ' example given above could be written 'zxz' or '313' (or even 'ZxZ' or '3xZ'). ORDER is terminated by length or by the first unrecognized character.

Fewer than three rotations are acceptable, in which case the later angle arguments are ignored. If all rotations are zero, the identity matrix is produced.


Invocation:
void palDeuler ( const char order, double phi, double theta, double psi, double rmat[3][3] );

Arguments:

order = const char[] (Given)
Specifies about which axes the rotation occurs
phi = double (Given)
1st rotation (radians)
theta = double (Given)
2nd rotation (radians)
psi = double (Given)
3rd rotation (radians)
rmat = double[3][3] (Given & Returned)
Rotation matrix



next up previous 250
Next: palDfltin - Convert free-format input into double precision floating point
Up: Function Descriptions
Previous: palDe2h - Equatorial to horizon coordinates: HA,Dec to Az,E

PAL --- Positional Astronomy Library
Starlink User Note 267
Tim Jenness
2012 March 23
E-mail:starlink@jiscmail.ac.uk

Copyright © 2012 Science and Technology Facilities Council
sun267.htx/node15.html000644 000765 000024 00000012761 12365763733 015041 0ustar00timjstaff000000 000000 palDfltin - Convert free-format input into double precision floating point

next up previous 250
Next: palDh2e - Horizon to equatorial coordinates: Az,El to HA,Dec
Up: Function Descriptions
Previous: palDeuler - Form a rotation matrix from the Euler angles


palDfltin - Convert free-format input into double precision floating point

Description:
Extracts a number from an input string starting at the specified index.

Invocation:
void palDfltin( const char string, int nstrt, double dreslt, int jflag );

Arguments:

string = const char (Given)
String containing number to be decoded.
nstrt = int (Given and Returned)
Character number indicating where decoding should start. On output its value is updated to be the location of the possible next value. For compatibility with SLA the first character is index 1.
dreslt = double (Returned)
Result. Not updated when jflag=1.
jflag = int (Returned)
status: -1 = -OK, 0 = OK, 1 = null, 2 = error

Notes:
  • Uses the strtod() system call to do the parsing. This may lead to subtle differences when compared to the SLA/F parsing.

  • All "D" characters are converted to "E" to handle fortran exponents.

  • Commas are recognized as a special case and are skipped if one happens to be the next character when updating nstrt. Additionally the output nstrt position will skip past any trailing space.

  • If no number can be found flag will be set to 1.

  • If the number overflows or underflows jflag will be set to 2. For overflow the returned result will have the value HUGE_VAL, for underflow it will have the value 0.0.

  • For compatiblity with SLA/F -0 will be returned as "0" with jflag == -1.

  • Unlike slaDfltin a standalone "E" will return status 1 (could not find a number) rather than 2 (bad number).



next up previous 250
Next: palDh2e - Horizon to equatorial coordinates: Az,El to HA,Dec
Up: Function Descriptions
Previous: palDeuler - Form a rotation matrix from the Euler angles

PAL --- Positional Astronomy Library
Starlink User Note 267
Tim Jenness
2012 March 23
E-mail:starlink@jiscmail.ac.uk

Copyright © 2012 Science and Technology Facilities Council
sun267.htx/node16.html000644 000765 000024 00000013065 12365763733 015040 0ustar00timjstaff000000 000000 palDh2e - Horizon to equatorial coordinates: Az,El to HA,Dec

next up previous 250
Next: palDjcal - Modified Julian Date to Gregorian Calendar
Up: Function Descriptions
Previous: palDfltin - Convert free-format input into double precision floating point


palDh2e - Horizon to equatorial coordinates: Az,El to HA,Dec

Description:
Convert horizon to equatorial coordinates.

Invocation:
palDh2e( double az, double el, double phi, double ha, double dec );

Arguments:

az = double (Given)
Azimuth (radians)
el = double (Given)
Elevation (radians)
phi = double (Given)
Observatory latitude (radians)
ha = double (Returned)
Hour angle (radians)
dec = double (Returned)
Declination (radians)

Notes:
  • All the arguments are angles in radians.

  • The sign convention for azimuth is north zero, east pi/2.

  • HA is returned in the range /-pi. Declination is returned in the range /-pi/2.

  • The latitude is (in principle) geodetic. In critical applications, corrections for polar motion should be applied.

  • In some applications it will be important to specify the correct type of elevation in order to produce the required type of HA,Dec. In particular, it may be important to distinguish between the elevation as affected by refraction, which will yield the "observed" HA,Dec, and the elevation in vacuo, which will yield the "topocentric" HA,Dec. If the effects of diurnal aberration can be neglected, the topocentric HA,Dec may be used as an approximation to the "apparent" HA,Dec.

  • No range checking of arguments is done.

  • In applications which involve many such calculations, rather than calling the present routine it will be more efficient to use inline code, having previously computed fixed terms such as sine and cosine of latitude.



next up previous 250
Next: palDjcal - Modified Julian Date to Gregorian Calendar
Up: Function Descriptions
Previous: palDfltin - Convert free-format input into double precision floating point

PAL --- Positional Astronomy Library
Starlink User Note 267
Tim Jenness
2012 March 23
E-mail:starlink@jiscmail.ac.uk

Copyright © 2012 Science and Technology Facilities Council
sun267.htx/node17.html000644 000765 000024 00000010575 12365763733 015044 0ustar00timjstaff000000 000000 palDjcal - Modified Julian Date to Gregorian Calendar

next up previous 250
Next: palDmat - Matrix inversion & solution of simultaneous equations
Up: Function Descriptions
Previous: palDh2e - Horizon to equatorial coordinates: Az,El to HA,Dec


palDjcal - Modified Julian Date to Gregorian Calendar

Description:
Modified Julian Date to Gregorian Calendar, expressed in a form convenient for formatting messages (namely rounded to a specified precision, and with the fields stored in a single array)

Invocation:
void palDjcal ( int ndp, double djm, int iymdf[4], int j );

Arguments:

ndp = int (Given)
Number of decimal places of days in fraction.
djm = double (Given)
Modified Julian Date (JD-2400000.5)
iymdf[4] = int[] (Returned)
Year, month, day, fraction in Gregorian calendar.
j = status (Returned)
0 = OK. See iauJd2cal for other values.

Notes:
  • Uses iauJd2cal



next up previous 250
Next: palDmat - Matrix inversion & solution of simultaneous equations
Up: Function Descriptions
Previous: palDh2e - Horizon to equatorial coordinates: Az,El to HA,Dec

PAL --- Positional Astronomy Library
Starlink User Note 267
Tim Jenness
2012 March 23
E-mail:starlink@jiscmail.ac.uk

Copyright © 2012 Science and Technology Facilities Council
sun267.htx/node18.html000644 000765 000024 00000012201 12365763733 015031 0ustar00timjstaff000000 000000 palDmat - Matrix inversion & solution of simultaneous equations

next up previous 250
Next: palDs2tp - Spherical to tangent plane projection
Up: Function Descriptions
Previous: palDjcal - Modified Julian Date to Gregorian Calendar


palDmat - Matrix inversion & solution of simultaneous equations

Description:
Matrix inversion & solution of simultaneous equations For the set of n simultaneous equations in n unknowns: A.Y = X this routine calculates the inverse of A, the determinant of matrix A and the vector of N unknowns.

Invocation:
void palDmat( int n, double a, double y, double d, int jf, int iw );

Arguments:

n = int (Given)
Number of simultaneous equations and number of unknowns.
a = double[] (Given & Returned)
A non-singular NxN matrix (implemented as a contiguous block of memory). After calling this routine "a" contains the inverse of the matrix.
y = double[] (Given & Returned)
The vector of N unknowns. On exit this vector contains the N solutions.
d = double (Returned)
The determinant.
jf = int (Returned)
The singularity flag. If the matrix is non-singular, jf=0 is returned. If the matrix is singular, jf=-1 & d=0.0 are returned. In the latter case, the contents of array "a" on return are undefined.

Notes:
  • Implemented using Gaussian elimination with partial pivoting.

  • Optimized for speed rather than accuracy with errors 1 to 4 times those of routines optimized for accuracy.



next up previous 250
Next: palDs2tp - Spherical to tangent plane projection
Up: Function Descriptions
Previous: palDjcal - Modified Julian Date to Gregorian Calendar

PAL --- Positional Astronomy Library
Starlink User Note 267
Tim Jenness
2012 March 23
E-mail:starlink@jiscmail.ac.uk

Copyright © 2012 Science and Technology Facilities Council
sun267.htx/node19.html000644 000765 000024 00000011547 12365763733 015046 0ustar00timjstaff000000 000000 palDs2tp - Spherical to tangent plane projection

next up previous 250
Next: palDtt - Return offset between UTC and TT
Up: Function Descriptions
Previous: palDmat - Matrix inversion & solution of simultaneous equations


palDs2tp - Spherical to tangent plane projection

Description:
Projection of spherical coordinates onto tangent plane: "gnomonic" projection - "standard coordinates"

Invocation:
palDs2tp( double ra, double dec, double raz, double decz, double xi, double eta, int j );

Arguments:

ra = double (Given)
RA spherical coordinate of point to be projected (radians)
dec = double (Given)
Dec spherical coordinate of point to be projected (radians)
raz = double (Given)
RA spherical coordinate of tangent point (radians)
decz = double (Given)
Dec spherical coordinate of tangent point (radians)
xi = double (Returned)
First rectangular coordinate on tangent plane (radians)
eta = double (Returned)
Second rectangular coordinate on tangent plane (radians)
j = int (Returned)
status: 0 = OK, star on tangent plane 1 = error, star too far from axis 2 = error, antistar on tangent plane 3 = error, antistar too far from axis



next up previous 250
Next: palDtt - Return offset between UTC and TT
Up: Function Descriptions
Previous: palDmat - Matrix inversion & solution of simultaneous equations

PAL --- Positional Astronomy Library
Starlink User Note 267
Tim Jenness
2012 March 23
E-mail:starlink@jiscmail.ac.uk

Copyright © 2012 Science and Technology Facilities Council
sun267.htx/node2.html000644 000765 000024 00000006344 12365763733 014755 0ustar00timjstaff000000 000000 Introduction

next up previous 250
Next: Citing PAL
Up: PAL Positional Astronomy Library
Previous: Abstract

Introduction

This library provides a C library designed as a API-compatible replacement for the C SLALIB library (SUN/67) and uses a GPL licence so is freely redistributable. Where possible the functions call equivalent SOFA routines (Hohenkerk, C., 2011, Scholarpedia, 6, 11404) and use current IAU 2006 standards. This means that any functions that rely on nutation or precession will return slightly different answers to the SLA functions.


next up previous 250
Next: Citing PAL
Up: PAL Positional Astronomy Library
Previous: Abstract

PAL --- Positional Astronomy Library
Starlink User Note 267
Tim Jenness
2012 March 23
E-mail:starlink@jiscmail.ac.uk

Copyright © 2012 Science and Technology Facilities Council
sun267.htx/node20.html000644 000765 000024 00000011034 12365763733 015025 0ustar00timjstaff000000 000000 palDtt - Return offset between UTC and TT

next up previous 250
Next: palDmoon - Approximate geocentric position and velocity of the Moon
Up: Function Descriptions
Previous: palDs2tp - Spherical to tangent plane projection


palDtt - Return offset between UTC and TT

Description:
Increment to be applied to Coordinated Universal Time UTC to give International Atomic Time (TAI).

Invocation:
dat = palDat( double utc );

Arguments:

utc = double (Given)
UTC date as a modified JD (JD-2400000.5)

Returned Value:

dat = double
TAI-UTC in seconds

Notes:
  • This routine converts the MJD argument to calendar date before calling the SOFA iauDat function.

  • This routine matches the slaDat interface which differs from the iauDat interface. Consider coding directly to the SOFA interface.

  • See iauDat for a description of error conditions when calling this function with a time outside of the UTC range.

  • The status argument from iauDat is ignored. This is reasonable since the error codes are mainly related to incorrect calendar dates when calculating the JD internally.



next up previous 250
Next: palDmoon - Approximate geocentric position and velocity of the Moon
Up: Function Descriptions
Previous: palDs2tp - Spherical to tangent plane projection

PAL --- Positional Astronomy Library
Starlink User Note 267
Tim Jenness
2012 March 23
E-mail:starlink@jiscmail.ac.uk

Copyright © 2012 Science and Technology Facilities Council
sun267.htx/node21.html000644 000765 000024 00000012375 12365763733 015037 0ustar00timjstaff000000 000000 palDmoon - Approximate geocentric position and velocity of the Moon

next up previous 250
Next: palDrange - Normalize angle into range /- pi
Up: Function Descriptions
Previous: palDtt - Return offset between UTC and TT


palDmoon - Approximate geocentric position and velocity of the Moon

Description:
Calculate the approximate geocentric position of the Moon using a full implementation of the algorithm published by Meeus (l'Astronomie, June 1984, p348).

Invocation:
void palDmoon( double date, double pv[6] );

Arguments:

date = double (Given)
TDB as a Modified Julian Date (JD-2400000.5)
pv = double [6] (Returned)
Moon x,y,z,xdot,ydot,zdot, mean equator and equinox of date (AU, AU/s)

Notes:
  • Meeus quotes accuracies of 10 arcsec in longitude, 3 arcsec in latitude and 0.2 arcsec in HP (equivalent to about 20 km in distance). Comparison with JPL DE200 over the interval 1960-2025 gives RMS errors of 3.7 arcsec and 83 mas/hour in longitude, 2.3 arcsec and 48 mas/hour in latitude, 11 km and 81 mm/s in distance. The maximum errors over the same interval are 18 arcsec and 0.50 arcsec/hour in longitude, 11 arcsec and 0.24 arcsec/hour in latitude, 40 km and 0.29 m/s in distance.

  • The original algorithm is expressed in terms of the obsolete timescale Ephemeris Time. Either TDB or TT can be used, but not UT without incurring significant errors (30 arcsec at the present time) due to the Moon's 0.5 arcsec/sec movement.

  • The algorithm is based on pre IAU 1976 standards. However, the result has been moved onto the new (FK5) equinox, an adjustment which is in any case much smaller than the intrinsic accuracy of the procedure.

  • Velocity is obtained by a complete analytical differentiation of the Meeus model.



next up previous 250
Next: palDrange - Normalize angle into range /- pi
Up: Function Descriptions
Previous: palDtt - Return offset between UTC and TT

PAL --- Positional Astronomy Library
Starlink User Note 267
Tim Jenness
2012 March 23
E-mail:starlink@jiscmail.ac.uk

Copyright © 2012 Science and Technology Facilities Council
sun267.htx/node22.html000644 000765 000024 00000007400 12365763733 015031 0ustar00timjstaff000000 000000 palDrange - Normalize angle into range /- pi

next up previous 250
Next: palDt - Estimate the offset between dynamical time and UT
Up: Function Descriptions
Previous: palDmoon - Approximate geocentric position and velocity of the Moon


palDrange - Normalize angle into range /- pi

Description:
The result is "angle" expressed in the range /- pi. If the supplied value for "angle" is equal to /- pi, it is returned unchanged.

Invocation:
palDrange( double angle )

Arguments:

angle = double (Given)
The angle in radians.



next up previous 250
Next: palDt - Estimate the offset between dynamical time and UT
Up: Function Descriptions
Previous: palDmoon - Approximate geocentric position and velocity of the Moon

PAL --- Positional Astronomy Library
Starlink User Note 267
Tim Jenness
2012 March 23
E-mail:starlink@jiscmail.ac.uk

Copyright © 2012 Science and Technology Facilities Council
sun267.htx/node23.html000644 000765 000024 00000012446 12365763733 015040 0ustar00timjstaff000000 000000 palDt - Estimate the offset between dynamical time and UT

next up previous 250
Next: palDtp2s - Tangent plane to spherical coordinates
Up: Function Descriptions
Previous: palDrange - Normalize angle into range /- pi


palDt - Estimate the offset between dynamical time and UT

Description:
Estimate the offset between dynamical time and Universal Time for a given historical epoch.

Invocation:
double palDt( double epoch );

Arguments:

epoch = double (Given)
Julian epoch (e.g. 1850.0)

Returned Value:

palDt = double
Rough estimate of ET-UT (after 1984, TT-UT) at the given epoch, in seconds.

Notes:
  • Depending on the epoch, one of three parabolic approximations is used:


before 979 Stephenson & Morrison's 390 BC to AD 948 model 979 to 1708 Stephenson & Morrison's 948 to 1600 model after 1708 McCarthy & Babcock's post-1650 model

The breakpoints are chosen to ensure continuity: they occur at places where the adjacent models give the same answer as each other.

  • The accuracy is modest, with errors of up to 20 sec during the interval since 1650, rising to perhaps 30 min by 1000 BC. Comparatively accurate values from AD 1600 are tabulated in the Astronomical Almanac (see section K8 of the 1995 AA).

  • The use of double-precision for both argument and result is purely for compatibility with other SLALIB time routines.

  • The models used are based on a lunar tidal acceleration value of -26.00 arcsec per century.

See Also
Explanatory Supplement to the Astronomical Almanac, ed P.K.Seidelmann, University Science Books (1992), section 2.553, p83. This contains references to the Stephenson & Morrison and McCarthy & Babcock papers.


next up previous 250
Next: palDtp2s - Tangent plane to spherical coordinates
Up: Function Descriptions
Previous: palDrange - Normalize angle into range /- pi

PAL --- Positional Astronomy Library
Starlink User Note 267
Tim Jenness
2012 March 23
E-mail:starlink@jiscmail.ac.uk

Copyright © 2012 Science and Technology Facilities Council
sun267.htx/node24.html000644 000765 000024 00000010764 12365763733 015042 0ustar00timjstaff000000 000000 palDtp2s - Tangent plane to spherical coordinates

next up previous 250
Next: palDtps2c - Determine RA,Dec of tangent point from coordinates
Up: Function Descriptions
Previous: palDt - Estimate the offset between dynamical time and UT


palDtp2s - Tangent plane to spherical coordinates

Description:
Transform tangent plane coordinates into spherical.

Invocation:
palDtp2s( double xi, double eta, double raz, double decz, double ra, double dec);

Arguments:

xi = double (Given)
First rectangular coordinate on tangent plane (radians)
eta = double (Given)
Second rectangular coordinate on tangent plane (radians)
raz = double (Given)
RA spherical coordinate of tangent point (radians)
decz = double (Given)
Dec spherical coordinate of tangent point (radians)
ra = double (Returned)
RA spherical coordinate of point to be projected (radians)
dec = double (Returned)
Dec spherical coordinate of point to be projected (radians)



next up previous 250
Next: palDtps2c - Determine RA,Dec of tangent point from coordinates
Up: Function Descriptions
Previous: palDt - Estimate the offset between dynamical time and UT

PAL --- Positional Astronomy Library
Starlink User Note 267
Tim Jenness
2012 March 23
E-mail:starlink@jiscmail.ac.uk

Copyright © 2012 Science and Technology Facilities Council
sun267.htx/node25.html000644 000765 000024 00000014552 12365763733 015042 0ustar00timjstaff000000 000000 palDtps2c - Determine RA,Dec of tangent point from coordinates

next up previous 250
Next: palDtt - Return offset between UTC and TT
Up: Function Descriptions
Previous: palDtp2s - Tangent plane to spherical coordinates


palDtps2c - Determine RA,Dec of tangent point from coordinates

Description:
From the tangent plane coordinates of a star of known RA,Dec, determine the RA,Dec of the tangent point.

Invocation:
palDtps2c( double xi, double eta, double ra, double dec, double raz1, double decz1, double raz2, double decz2, int n);

Arguments:

xi = double (Given)
First rectangular coordinate on tangent plane (radians)
eta = double (Given)
Second rectangular coordinate on tangent plane (radians)
ra = double (Given)
RA spherical coordinate of star (radians)
dec = double (Given)
Dec spherical coordinate of star (radians)
raz1 = double (Returned)
RA spherical coordinate of tangent point, solution 1 (radians)
decz1 = double (Returned)
Dec spherical coordinate of tangent point, solution 1 (radians)
raz2 = double (Returned)
RA spherical coordinate of tangent point, solution 2 (radians)
decz2 = double (Returned)
Dec spherical coordinate of tangent point, solution 2 (radians)
n = int (Returned)
number of solutions: 0 = no solutions returned (note 2) 1 = only the first solution is useful (note 3) 2 = both solutions are useful (note 3)

Notes:
  • The RAZ1 and RAZ2 values are returned in the range 0-2pi.

  • Cases where there is no solution can only arise near the poles. For example, it is clearly impossible for a star at the pole itself to have a non-zero XI value, and hence it is meaningless to ask where the tangent point would have to be to bring about this combination of XI and DEC.

  • Also near the poles, cases can arise where there are two useful solutions. The argument N indicates whether the second of the two solutions returned is useful. N=1 indicates only one useful solution, the usual case; under these circumstances, the second solution corresponds to the "over-the-pole" case, and this is reflected in the values of RAZ2 and DECZ2 which are returned.

  • The DECZ1 and DECZ2 values are returned in the range /-pi, but in the usual, non-pole-crossing, case, the range is /-pi/2.

  • This routine is the spherical equivalent of the routine sla_DTPV2C.



next up previous 250
Next: palDtt - Return offset between UTC and TT
Up: Function Descriptions
Previous: palDtp2s - Tangent plane to spherical coordinates

PAL --- Positional Astronomy Library
Starlink User Note 267
Tim Jenness
2012 March 23
E-mail:starlink@jiscmail.ac.uk

Copyright © 2012 Science and Technology Facilities Council
sun267.htx/node26.html000644 000765 000024 00000010520 12365763733 015032 0ustar00timjstaff000000 000000 palDtt - Return offset between UTC and TT

next up previous 250
Next: palEcmat - Form the equatorial to ecliptic rotation matrix - IAU 2006 precession model
Up: Function Descriptions
Previous: palDtps2c - Determine RA,Dec of tangent point from coordinates


palDtt - Return offset between UTC and TT

Description:
Increment to be applied to Coordinated Universal Time UTC to give Terrestrial Time TT (formerly Ephemeris Time ET)

Invocation:
dtt = palDtt( double utc );

Arguments:

utc = double (Given)
UTC date as a modified JD (JD-2400000.5)

Returned Value:

dtt = double
TT-UTC in seconds

Notes:
  • Consider a comprehensive upgrade to use the time transformations in SOFA's time cookbook: http://www.iausofa.org/sofa_ts_c.pdf.

  • See iauDat for a description of error conditions when calling this function with a time outside of the UTC range. This behaviour differs from slaDtt.



next up previous 250
Next: palEcmat - Form the equatorial to ecliptic rotation matrix - IAU 2006 precession model
Up: Function Descriptions
Previous: palDtps2c - Determine RA,Dec of tangent point from coordinates

PAL --- Positional Astronomy Library
Starlink User Note 267
Tim Jenness
2012 March 23
E-mail:starlink@jiscmail.ac.uk

Copyright © 2012 Science and Technology Facilities Council
sun267.htx/node27.html000644 000765 000024 00000010173 12365763733 015037 0ustar00timjstaff000000 000000 palEcmat - Form the equatorial to ecliptic rotation matrix - IAU 2006 precession model

next up previous 250
Next: palEl2ue - Transform conventional elements into "universal" form
Up: Function Descriptions
Previous: palDtt - Return offset between UTC and TT


palEcmat - Form the equatorial to ecliptic rotation matrix - IAU 2006 precession model

Description:
The equatorial to ecliptic rotation matrix is found and returned. The matrix is in the sense V(ecl) = RMAT V(equ); the equator, equinox and ecliptic are mean of date.

Invocation:
palEcmat( double date, double rmat[3][3] )

Arguments:

date = double (Given)
TT as Modified Julian Date (JD-2400000.5). The difference between TT and TDB is of the order of a millisecond or two (i.e. about 0.02 arc-seconds).
rmat = double[3][3] (Returned)
Rotation matrix



next up previous 250
Next: palEl2ue - Transform conventional elements into "universal" form
Up: Function Descriptions
Previous: palDtt - Return offset between UTC and TT

PAL --- Positional Astronomy Library
Starlink User Note 267
Tim Jenness
2012 March 23
E-mail:starlink@jiscmail.ac.uk

Copyright © 2012 Science and Technology Facilities Council
sun267.htx/node28.html000644 000765 000024 00000023570 12365763733 015045 0ustar00timjstaff000000 000000 palEl2ue - Transform conventional elements into "universal" form

next up previous 250
Next: palEpco - Convert an epoch into the appropriate form - 'B' or 'J'
Up: Function Descriptions
Previous: palEcmat - Form the equatorial to ecliptic rotation matrix - IAU 2006 precession model


palEl2ue - Transform conventional elements into "universal" form

Description:
Transform conventional osculating elements into "universal" form.

Invocation:
void palEl2ue ( double date, int jform, double epoch, double orbinc, double anode, double perih, double aorq, double e, double aorl, double dm, double u[13], int jstat );

Arguments:

date = double (Given)
Epoch (TT MJD) of osculation (Note 3)
jform = int (Given)
Element set actually returned (1-3; Note 6)
epoch = double (Given)
Epoch of elements (TT MJD)
orbinc = double (Given)
inclination (radians)
anode = double (Given)
longitude of the ascending node (radians)
perih = double (Given)
longitude or argument of perihelion (radians)
aorq = double (Given)
mean distance or perihelion distance (AU)
e = double (Given)
eccentricity
aorl = double (Given)
mean anomaly or longitude (radians, JFORM=1,2 only)
dm = double (Given)
daily motion (radians, JFORM=1 only)
u = double [13] (Returned)
Universal orbital elements (Note 1) (0) combined mass (Mm) (1) total energy of the orbit (alpha) (2) reference (osculating) epoch (t0) (3-5) position at reference epoch (r0) (6-8) velocity at reference epoch (v0) (9) heliocentric distance at reference epoch (10) r0.v0 (11) date (t) (12) universal eccentric anomaly (psi) of date, approx
jstat = int (Returned)
status: 0 = OK
  • 1 = illegal JFORM

  • 2 = illegal E

  • 3 = illegal AORQ

  • 4 = illegal DM

  • 5 = numerical error


Notes:
  • The "universal" elements are those which define the orbit for the purposes of the method of universal variables (see reference). They consist of the combined mass of the two bodies, an epoch, and the position and velocity vectors (arbitrary reference frame) at that epoch. The parameter set used here includes also various quantities that can, in fact, be derived from the other information. This approach is taken to avoiding unnecessary computation and loss of accuracy. The supplementary quantities are (i) alpha, which is proportional to the total energy of the orbit, (ii) the heliocentric distance at epoch, (iii) the outwards component of the velocity at the given epoch, (iv) an estimate of psi, the "universal eccentric anomaly" at a given date and (v) that date.

  • The companion routine is palUe2pv. This takes the set of numbers that the present routine outputs and uses them to derive the object's position and velocity. A single prediction requires one call to the present routine followed by one call to palUe2pv; for convenience, the two calls are packaged as the routine palPlanel. Multiple predictions may be made by again calling the present routine once, but then calling palUe2pv multiple times, which is faster than multiple calls to palPlanel.

  • DATE is the epoch of osculation. It is in the TT timescale (formerly Ephemeris Time, ET) and is a Modified Julian Date (JD-2400000.5).

  • The supplied orbital elements are with respect to the J2000 ecliptic and equinox. The position and velocity parameters returned in the array U are with respect to the mean equator and equinox of epoch J2000, and are for the perihelion prior to the specified epoch.

  • The universal elements returned in the array U are in canonical units (solar masses, AU and canonical days).

  • Three different element-format options are available:


Option JFORM=1, suitable for the major planets:

EPOCH = epoch of elements (TT MJD) ORBINC = inclination i (radians) ANODE = longitude of the ascending node, big omega (radians) PERIH = longitude of perihelion, curly pi (radians) AORQ = mean distance, a (AU) E = eccentricity, e (range 0 to 1) AORL = mean longitude L (radians) DM = daily motion (radians)

Option JFORM=2, suitable for minor planets:

EPOCH = epoch of elements (TT MJD) ORBINC = inclination i (radians) ANODE = longitude of the ascending node, big omega (radians) PERIH = argument of perihelion, little omega (radians) AORQ = mean distance, a (AU) E = eccentricity, e (range 0 to 1) AORL = mean anomaly M (radians)

Option JFORM=3, suitable for comets:

EPOCH = epoch of perihelion (TT MJD) ORBINC = inclination i (radians) ANODE = longitude of the ascending node, big omega (radians) PERIH = argument of perihelion, little omega (radians) AORQ = perihelion distance, q (AU) E = eccentricity, e (range 0 to 10)

  • Unused elements (DM for JFORM=2, AORL and DM for JFORM=3) are not accessed.

  • The algorithm was originally adapted from the EPHSLA program of D.H.P.Jones (private communication, 1996). The method is based on Stumpff's Universal Variables.

See Also
Everhart & Pitkin, Am.J.Phys. 51, 712 (1983).


next up previous 250
Next: palEpco - Convert an epoch into the appropriate form - 'B' or 'J'
Up: Function Descriptions
Previous: palEcmat - Form the equatorial to ecliptic rotation matrix - IAU 2006 precession model

PAL --- Positional Astronomy Library
Starlink User Note 267
Tim Jenness
2012 March 23
E-mail:starlink@jiscmail.ac.uk

Copyright © 2012 Science and Technology Facilities Council
sun267.htx/node29.html000644 000765 000024 00000011312 12365763733 015035 0ustar00timjstaff000000 000000 palEpco - Convert an epoch into the appropriate form - 'B' or 'J'

next up previous 250
Next: palEpv - Earth position and velocity with respect to the BCRS
Up: Function Descriptions
Previous: palEl2ue - Transform conventional elements into "universal" form


palEpco - Convert an epoch into the appropriate form - 'B' or 'J'

Description:
Converts a Besselian or Julian epoch to a Julian or Besselian epoch.

Invocation:
double palEpco( char k0, char k, double e );

Arguments:

k0 = char (Given)
Form of result: 'B'=Besselian, 'J'=Julian
k = char (Given)
Form of given epoch: 'B' or 'J'.

Notes:
  • The result is always either equal to or very close to the given epoch E. The routine is required only in applications where punctilious treatment of heterogeneous mixtures of star positions is necessary.

  • k and k0 are case insensitive. This differes slightly from the Fortran SLA implementation.

  • k and k0 are not validated. They are interpreted as follows: o If k0 and k are the same the result is e o If k0 is 'b' or 'B' and k isn't the conversion is J to B. o In all other cases, the conversion is B to J.



next up previous 250
Next: palEpv - Earth position and velocity with respect to the BCRS
Up: Function Descriptions
Previous: palEl2ue - Transform conventional elements into "universal" form

PAL --- Positional Astronomy Library
Starlink User Note 267
Tim Jenness
2012 March 23
E-mail:starlink@jiscmail.ac.uk

Copyright © 2012 Science and Technology Facilities Council
sun267.htx/node3.html000644 000765 000024 00000006151 12365763733 014752 0ustar00timjstaff000000 000000 Citing PAL

next up previous 250
Next: Function Descriptions
Up: PAL Positional Astronomy Library
Previous: Introduction

Citing PAL

If you use PAL in your work please consider citing it. The description paper for PAL is: PAL: A Positional Astronomy Library, Jenness, T. & Berry, D. S., in Astronomoical Data Anaysis Software and Systems XXII, Friedel, D. N. (ed), ASP Conf. Ser. 475, p307.



next up previous 250
Next: Function Descriptions
Up: PAL Positional Astronomy Library
Previous: Introduction

PAL --- Positional Astronomy Library
Starlink User Note 267
Tim Jenness
2012 March 23
E-mail:starlink@jiscmail.ac.uk

Copyright © 2012 Science and Technology Facilities Council
sun267.htx/node30.html000644 000765 000024 00000011030 12365763733 015022 0ustar00timjstaff000000 000000 palEpv - Earth position and velocity with respect to the BCRS

next up previous 250
Next: palEtrms - Compute the E-terms vector
Up: Function Descriptions
Previous: palEpco - Convert an epoch into the appropriate form - 'B' or 'J'


palEpv - Earth position and velocity with respect to the BCRS

Description:
Earth position and velocity, heliocentric and barycentric, with respect to the Barycentric Celestial Reference System.

Invocation:
void palEpv( double date, double ph[3], double vh[3], double pb[3], double vb[3] );

Arguments:

date = double (Given)
Date, TDB Modified Julian Date (JD-2400000.5)
ph = double [3] (Returned)
Heliocentric Earth position (AU)
vh = double [3] (Returned)
Heliocentric Earth velocity (AU/day)
pb = double [3] (Returned)
Barycentric Earth position (AU)
vb = double [3] (Returned)
Barycentric Earth velocity (AU/day)

Notes:
  • See iauEpv00 for details on accuracy

  • Note that the status argument from iauEpv00 is ignored



next up previous 250
Next: palEtrms - Compute the E-terms vector
Up: Function Descriptions
Previous: palEpco - Convert an epoch into the appropriate form - 'B' or 'J'

PAL --- Positional Astronomy Library
Starlink User Note 267
Tim Jenness
2012 March 23
E-mail:starlink@jiscmail.ac.uk

Copyright © 2012 Science and Technology Facilities Council
sun267.htx/node31.html000644 000765 000024 00000010455 12365763733 015035 0ustar00timjstaff000000 000000 palEtrms - Compute the E-terms vector

next up previous 250
Next: palEqecl - Transform from J2000.0 equatorial coordinates to ecliptic coordinates
Up: Function Descriptions
Previous: palEpv - Earth position and velocity with respect to the BCRS


palEtrms - Compute the E-terms vector

Description:
Computes the E-terms (elliptic component of annual aberration) vector.

Note the use of the J2000 aberration constant (20.49552 arcsec). This is a reflection of the fact that the E-terms embodied in existing star catalogues were computed from a variety of aberration constants. Rather than adopting one of the old constants the latest value is used here.


Invocation:
void palEtrms ( double ep, double ev[3] );

Arguments:

ep = double (Given)
Besselian epoch
ev = double [3] (Returned)
E-terms as (dx,dy,dz)

See also
  • Smith, C.A. et al., 1989. Astr.J. 97, 265.

  • Yallop, B.D. et al., 1989. Astr.J. 97, 274.



next up previous 250
Next: palEqecl - Transform from J2000.0 equatorial coordinates to ecliptic coordinates
Up: Function Descriptions
Previous: palEpv - Earth position and velocity with respect to the BCRS

PAL --- Positional Astronomy Library
Starlink User Note 267
Tim Jenness
2012 March 23
E-mail:starlink@jiscmail.ac.uk

Copyright © 2012 Science and Technology Facilities Council
sun267.htx/node32.html000644 000765 000024 00000010737 12365763733 015041 0ustar00timjstaff000000 000000 palEqecl - Transform from J2000.0 equatorial coordinates to ecliptic coordinates

next up previous 250
Next: palEqgal - Convert from J2000.0 equatorial coordinates to Galactic
Up: Function Descriptions
Previous: palEtrms - Compute the E-terms vector


palEqecl - Transform from J2000.0 equatorial coordinates to ecliptic coordinates

Description:
Transform from J2000.0 equatorial coordinates to ecliptic coordinates.

Invocation:
void palEqecl( double dr, double dd, double date, double dl, double db);

Arguments:

dr = double (Given)
J2000.0 mean RA (radians)
dd = double (Given)
J2000.0 mean Dec (Radians)
date = double (Given)
TT as Modified Julian Date (JD-2400000.5). The difference between TT and TDB is of the order of a millisecond or two (i.e. about 0.02 arc-seconds).
dl = double (Returned)
Ecliptic longitude (mean of date, IAU 1980 theory, radians)
db = double (Returned)
Ecliptic latitude (mean of date, IAU 1980 theory, radians)



next up previous 250
Next: palEqgal - Convert from J2000.0 equatorial coordinates to Galactic
Up: Function Descriptions
Previous: palEtrms - Compute the E-terms vector

PAL --- Positional Astronomy Library
Starlink User Note 267
Tim Jenness
2012 March 23
E-mail:starlink@jiscmail.ac.uk

Copyright © 2012 Science and Technology Facilities Council
sun267.htx/node33.html000644 000765 000024 00000011010 12365763733 015023 0ustar00timjstaff000000 000000 palEqgal - Convert from J2000.0 equatorial coordinates to Galactic

next up previous 250
Next: palEvp - Returns the barycentric and heliocentric velocity and position of the Earth
Up: Function Descriptions
Previous: palEqecl - Transform from J2000.0 equatorial coordinates to ecliptic coordinates


palEqgal - Convert from J2000.0 equatorial coordinates to Galactic

Description:
Transformation from J2000.0 equatorial coordinates to IAU 1958 galactic coordinates.

Invocation:
void palEqgal ( double dr, double dd, double dl, double db );

Arguments:

dr = double (Given)
J2000.0 RA (radians)
dd = double (Given)
J2000.0 Dec (radians
dl = double (Returned)
Galactic longitude (radians).
db = double (Returned)
Galactic latitude (radians).

Notes:
The equatorial coordinates are J2000.0. Use the routine palGe50 if conversion to B1950.0 'FK4' coordinates is required.
See Also
Blaauw et al, Mon.Not.R.Astron.Soc.,121,123 (1960)


next up previous 250
Next: palEvp - Returns the barycentric and heliocentric velocity and position of the Earth
Up: Function Descriptions
Previous: palEqecl - Transform from J2000.0 equatorial coordinates to ecliptic coordinates

PAL --- Positional Astronomy Library
Starlink User Note 267
Tim Jenness
2012 March 23
E-mail:starlink@jiscmail.ac.uk

Copyright © 2012 Science and Technology Facilities Council
sun267.htx/node34.html000644 000765 000024 00000011653 12365763733 015041 0ustar00timjstaff000000 000000 palEvp - Returns the barycentric and heliocentric velocity and position of the Earth

next up previous 250
Next: palFk45z - Convert B1950.0 FK4 star data to J2000.0 FK5 assuming zero proper motion in the FK5 frame
Up: Function Descriptions
Previous: palEqgal - Convert from J2000.0 equatorial coordinates to Galactic


palEvp - Returns the barycentric and heliocentric velocity and position of the Earth

Description:
Returns the barycentric and heliocentric velocity and position of the Earth at a given epoch, given with respect to a specified equinox. For information about accuracy, see the function iauEpv00.

Invocation:
void palEvp( double date, double deqx, double dvb[3], double dpb[3], double dvh[3], double dph[3] )

Arguments:

date = double (Given)
TDB (loosely ET) as a Modified Julian Date (JD-2400000.5)
deqx = double (Given)
Julian epoch (e.g. 2000.0) of mean equator and equinox of the vectors returned. If deqx = 0.0, all vectors are referred to the mean equator and equinox (FK5) of epoch date.
dvb = double[3] (Returned)
Barycentric velocity (AU/s, AU)
dpb = double[3] (Returned)
Barycentric position (AU/s, AU)
dvh = double[3] (Returned)
heliocentric velocity (AU/s, AU)
dph = double[3] (Returned)
Heliocentric position (AU/s, AU)



next up previous 250
Next: palFk45z - Convert B1950.0 FK4 star data to J2000.0 FK5 assuming zero proper motion in the FK5 frame
Up: Function Descriptions
Previous: palEqgal - Convert from J2000.0 equatorial coordinates to Galactic

PAL --- Positional Astronomy Library
Starlink User Note 267
Tim Jenness
2012 March 23
E-mail:starlink@jiscmail.ac.uk

Copyright © 2012 Science and Technology Facilities Council
sun267.htx/node35.html000644 000765 000024 00000016305 12365763733 015041 0ustar00timjstaff000000 000000 palFk45z - Convert B1950.0 FK4 star data to J2000.0 FK5 assuming zero proper motion in the FK5 frame

next up previous 250
Next: palFk524 - Convert J2000.0 FK5 star data to B1950.0 FK4
Up: Function Descriptions
Previous: palEvp - Returns the barycentric and heliocentric velocity and position of the Earth


palFk45z - Convert B1950.0 FK4 star data to J2000.0 FK5 assuming zero proper motion in the FK5 frame

Description:
Convert B1950.0 FK4 star data to J2000.0 FK5 assuming zero proper motion in the FK5 frame (double precision)

This function converts stars from the Bessel-Newcomb, FK4 system to the IAU 1976, FK5, Fricke system, in such a way that the FK5 proper motion is zero. Because such a star has, in general, a non-zero proper motion in the FK4 system, the routine requires the epoch at which the position in the FK4 system was determined.

The method is from Appendix 2 of Ref 1, but using the constants of Ref 4.


Invocation:
palFk45z( double r1950, double d1950, double bepoch, double r2000, double d2000 )

Arguments:

r1950 = double (Given)
B1950.0 FK4 RA at epoch (radians).
d1950 = double (Given)
B1950.0 FK4 Dec at epoch (radians).
bepoch = double (Given)
Besselian epoch (e.g. 1979.3)
r2000 = double (Returned)
J2000.0 FK5 RA (Radians).
d2000 = double (Returned)
J2000.0 FK5 Dec(Radians).

Notes:
  • The epoch BEPOCH is strictly speaking Besselian, but if a Julian epoch is supplied the result will be affected only to a negligible extent.

  • Conversion from Besselian epoch 1950.0 to Julian epoch 2000.0 only is provided for. Conversions involving other epochs will require use of the appropriate precession, proper motion, and E-terms routines before and/or after palFk45z is called.

  • In the FK4 catalogue the proper motions of stars within 10 degrees of the poles do not embody the differential E-term effect and should, strictly speaking, be handled in a different manner from stars outside these regions. However, given the general lack of homogeneity of the star data available for routine astrometry, the difficulties of handling positions that may have been determined from astrometric fields spanning the polar and non-polar regions, the likelihood that the differential E-terms effect was not taken into account when allowing for proper motion in past astrometry, and the undesirability of a discontinuity in the algorithm, the decision has been made in this routine to include the effect of differential E-terms on the proper motions for all stars, whether polar or not. At epoch 2000, and measuring on the sky rather than in terms of dRA, the errors resulting from this simplification are less than 1 milliarcsecond in position and 1 milliarcsecond per century in proper motion.

References
  • Aoki,S., et al, 1983. Astron.Astrophys., 128, 263.

  • Smith, C.A. et al, 1989. "The transformation of astrometric catalog systems to the equinox J2000.0". Astron.J. 97, 265.

  • Yallop, B.D. et al, 1989. "Transformation of mean star places from FK4 B1950.0 to FK5 J2000.0 using matrices in 6-space". Astron.J. 97, 274.

  • Seidelmann, P.K. (ed), 1992. "Explanatory Supplement to the Astronomical Almanac", ISBN 0-935702-68-7.



next up previous 250
Next: palFk524 - Convert J2000.0 FK5 star data to B1950.0 FK4
Up: Function Descriptions
Previous: palEvp - Returns the barycentric and heliocentric velocity and position of the Earth

PAL --- Positional Astronomy Library
Starlink User Note 267
Tim Jenness
2012 March 23
E-mail:starlink@jiscmail.ac.uk

Copyright © 2012 Science and Technology Facilities Council
sun267.htx/node36.html000644 000765 000024 00000020140 12365763733 015032 0ustar00timjstaff000000 000000 palFk524 - Convert J2000.0 FK5 star data to B1950.0 FK4

next up previous 250
Next: palFk54z - Convert a J2000.0 FK5 star position to B1950.0 FK4 assuming zero proper motion and parallax
Up: Function Descriptions
Previous: palFk45z - Convert B1950.0 FK4 star data to J2000.0 FK5 assuming zero proper motion in the FK5 frame


palFk524 - Convert J2000.0 FK5 star data to B1950.0 FK4

Description:
This function converts stars from the IAU 1976, FK5, Fricke system, to the Bessel-Newcomb, FK4 system. The precepts of Smith et al (Ref 1) are followed, using the implementation by Yallop et al (Ref 2) of a matrix method due to Standish. Kinoshita's development of Andoyer's post-Newcomb precession is used. The numerical constants from Seidelmann et al (Ref 3) are used canonically.

Invocation:
palFk524( double r2000, double d2000, double dr2000, double dd2000, double p2000, double v2000, double r1950, double d1950, double dr1950, double dd1950, double p1950, double v1950 )

Arguments:

r2000 = double (Given)
J2000.0 FK5 RA (radians).
d2000 = double (Given)
J2000.0 FK5 Dec (radians).
dr2000 = double (Given)
J2000.0 FK5 RA proper motion (rad/Jul.yr)
dd2000 = double (Given)
J2000.0 FK5 Dec proper motion (rad/Jul.yr)
p2000 = double (Given)
J2000.0 FK5 parallax (arcsec)
v2000 = double (Given)
J2000.0 FK5 radial velocity (km/s, ve = moving away)
r1950 = double (Returned)
B1950.0 FK4 RA (radians).
d1950 = double (Returned)
B1950.0 FK4 Dec (radians).
dr1950 = double (Returned)
B1950.0 FK4 RA proper motion (rad/Jul.yr)
dd1950 = double (Returned)
B1950.0 FK4 Dec proper motion (rad/Jul.yr)
p1950 = double (Returned)
B1950.0 FK4 parallax (arcsec)
v1950 = double (Returned)
B1950.0 FK4 radial velocity (km/s, ve = moving away)

Notes:
  • The proper motions in RA are dRA/dt rather than cos(Dec)dRA/dt, and are per year rather than per century.

  • Note that conversion from Julian epoch 2000.0 to Besselian epoch 1950.0 only is provided for. Conversions involving other epochs will require use of the appropriate precession, proper motion, and E-terms routines before and/or after FK524 is called.

  • In the FK4 catalogue the proper motions of stars within 10 degrees of the poles do not embody the differential E-term effect and should, strictly speaking, be handled in a different manner from stars outside these regions. However, given the general lack of homogeneity of the star data available for routine astrometry, the difficulties of handling positions that may have been determined from astrometric fields spanning the polar and non-polar regions, the likelihood that the differential E-terms effect was not taken into account when allowing for proper motion in past astrometry, and the undesirability of a discontinuity in the algorithm, the decision has been made in this routine to include the effect of differential E-terms on the proper motions for all stars, whether polar or not. At epoch 2000, and measuring on the sky rather than in terms of dRA, the errors resulting from this simplification are less than 1 milliarcsecond in position and 1 milliarcsecond per century in proper motion.

References
  • Smith, C.A. et al, 1989. "The transformation of astrometric catalog systems to the equinox J2000.0". Astron.J. 97, 265.

  • Yallop, B.D. et al, 1989. "Transformation of mean star places from FK4 B1950.0 to FK5 J2000.0 using matrices in 6-space". Astron.J. 97, 274.

  • Seidelmann, P.K. (ed), 1992. "Explanatory Supplement to the Astronomical Almanac", ISBN 0-935702-68-7.



next up previous 250
Next: palFk54z - Convert a J2000.0 FK5 star position to B1950.0 FK4 assuming zero proper motion and parallax
Up: Function Descriptions
Previous: palFk45z - Convert B1950.0 FK4 star data to J2000.0 FK5 assuming zero proper motion in the FK5 frame

PAL --- Positional Astronomy Library
Starlink User Note 267
Tim Jenness
2012 March 23
E-mail:starlink@jiscmail.ac.uk

Copyright © 2012 Science and Technology Facilities Council
sun267.htx/node37.html000644 000765 000024 00000013561 12365763733 015044 0ustar00timjstaff000000 000000 palFk54z - Convert a J2000.0 FK5 star position to B1950.0 FK4 assuming zero proper motion and parallax

next up previous 250
Next: palGaleq - Convert from galactic to J2000.0 equatorial coordinates
Up: Function Descriptions
Previous: palFk524 - Convert J2000.0 FK5 star data to B1950.0 FK4


palFk54z - Convert a J2000.0 FK5 star position to B1950.0 FK4 assuming zero proper motion and parallax

Description:
This function converts star positions from the IAU 1976, FK5, Fricke system to the Bessel-Newcomb, FK4 system.

Invocation:
palFk54z( double r2000, double d2000, double bepoch, double r1950, double d1950, double dr1950, double dd1950 )

Arguments:

r2000 = double (Given)
J2000.0 FK5 RA (radians).
d2000 = double (Given)
J2000.0 FK5 Dec (radians).
bepoch = double (Given)
Besselian epoch (e.g. 1950.0).
r1950 = double (Returned)
B1950 FK4 RA (radians) at epoch "bepoch".
d1950 = double (Returned)
B1950 FK4 Dec (radians) at epoch "bepoch".
dr1950 = double (Returned)
B1950 FK4 proper motion (RA) (radians/trop.yr)).
dr1950 = double (Returned)
B1950 FK4 proper motion (Dec) (radians/trop.yr)).

Notes:
  • The proper motion in RA is dRA/dt rather than cos(Dec)dRA/dt.

  • Conversion from Julian epoch 2000.0 to Besselian epoch 1950.0 only is provided for. Conversions involving other epochs will require use of the appropriate precession functions before and after this function is called.

  • The FK5 proper motions, the parallax and the radial velocity are presumed zero.

  • It is the intention that FK5 should be a close approximation to an inertial frame, so that distant objects have zero proper motion; such objects have (in general) non-zero proper motion in FK4, and this function returns those fictitious proper motions.

  • The position returned by this function is in the B1950 reference frame but at Besselian epoch BEPOCH. For comparison with catalogues the "bepoch" argument will frequently be 1950.0.



next up previous 250
Next: palGaleq - Convert from galactic to J2000.0 equatorial coordinates
Up: Function Descriptions
Previous: palFk524 - Convert J2000.0 FK5 star data to B1950.0 FK4

PAL --- Positional Astronomy Library
Starlink User Note 267
Tim Jenness
2012 March 23
E-mail:starlink@jiscmail.ac.uk

Copyright © 2012 Science and Technology Facilities Council
sun267.htx/node38.html000644 000765 000024 00000011011 12365763733 015031 0ustar00timjstaff000000 000000 palGaleq - Convert from galactic to J2000.0 equatorial coordinates

next up previous 250
Next: palGalsup - Convert from galactic to supergalactic coordinates
Up: Function Descriptions
Previous: palFk54z - Convert a J2000.0 FK5 star position to B1950.0 FK4 assuming zero proper motion and parallax


palGaleq - Convert from galactic to J2000.0 equatorial coordinates

Description:
Transformation from IAU 1958 galactic coordinates to J2000.0 equatorial coordinates.

Invocation:
void palGaleq ( double dl, double db, double dr, double dd );

Arguments:

dl = double (Given)
Galactic longitude (radians).
db = double (Given)
Galactic latitude (radians).
dr = double (Returned)
J2000.0 RA (radians)
dd = double (Returned)
J2000.0 Dec (radians)

Notes:
The equatorial coordinates are J2000.0. Use the routine palGe50 if conversion to B1950.0 'FK4' coordinates is required.
See Also
Blaauw et al, Mon.Not.R.Astron.Soc.,121,123 (1960)


next up previous 250
Next: palGalsup - Convert from galactic to supergalactic coordinates
Up: Function Descriptions
Previous: palFk54z - Convert a J2000.0 FK5 star position to B1950.0 FK4 assuming zero proper motion and parallax

PAL --- Positional Astronomy Library
Starlink User Note 267
Tim Jenness
2012 March 23
E-mail:starlink@jiscmail.ac.uk

Copyright © 2012 Science and Technology Facilities Council
sun267.htx/node39.html000644 000765 000024 00000011247 12365763733 015045 0ustar00timjstaff000000 000000 palGalsup - Convert from galactic to supergalactic coordinates

next up previous 250
Next: palGe50 - Transform Galactic Coordinate to B1950 FK4
Up: Function Descriptions
Previous: palGaleq - Convert from galactic to J2000.0 equatorial coordinates


palGalsup - Convert from galactic to supergalactic coordinates

Description:
Transformation from IAU 1958 galactic coordinates to de Vaucouleurs supergalactic coordinates.

Invocation:
void palGalsup ( double dl, double db, double dsl, double dsb );

Arguments:

dl = double (Given)
Galactic longitude.
db = double (Given)
Galactic latitude.
dsl = double (Returned)
Supergalactic longitude.
dsb = double (Returned)
Supergalactic latitude.

See Also
  • de Vaucouleurs, de Vaucouleurs, & Corwin, Second Reference Catalogue of Bright Galaxies, U. Texas, page 8.

  • Systems & Applied Sciences Corp., Documentation for the machine-readable version of the above catalogue, Contract NAS 5-26490.


(These two references give different values for the galactic longitude of the supergalactic origin. Both are wrong; the correct value is L2=137.37.)


next up previous 250
Next: palGe50 - Transform Galactic Coordinate to B1950 FK4
Up: Function Descriptions
Previous: palGaleq - Convert from galactic to J2000.0 equatorial coordinates

PAL --- Positional Astronomy Library
Starlink User Note 267
Tim Jenness
2012 March 23
E-mail:starlink@jiscmail.ac.uk

Copyright © 2012 Science and Technology Facilities Council
sun267.htx/node4.html000644 000765 000024 00000026315 12365763733 014757 0ustar00timjstaff000000 000000 Function Descriptions

next up previous 250
Next: SOFA Mappings
Up: PAL Positional Astronomy Library
Previous: Citing PAL


Function Descriptions



Subsections

next up previous 250
Next: SOFA Mappings
Up: PAL Positional Astronomy Library
Previous: Citing PAL

PAL --- Positional Astronomy Library
Starlink User Note 267
Tim Jenness
2012 March 23
E-mail:starlink@jiscmail.ac.uk

Copyright © 2012 Science and Technology Facilities Council
sun267.htx/node40.html000644 000765 000024 00000010671 12365763733 015035 0ustar00timjstaff000000 000000 palGe50 - Transform Galactic Coordinate to B1950 FK4

next up previous 250
Next: palGeoc - Convert geodetic position to geocentric
Up: Function Descriptions
Previous: palGalsup - Convert from galactic to supergalactic coordinates


palGe50 - Transform Galactic Coordinate to B1950 FK4

Description:
Transformation from IAU 1958 galactic coordinates to B1950.0 'FK4' equatorial coordinates.

Invocation:
palGe50( double dl, double db, double dr, double dd );

Arguments:

dl = double (Given)
Galactic longitude (radians)
db = double (Given)
Galactic latitude (radians)
dr = double (Returned)
B9150.0 FK4 RA.
dd = double (Returned)
B1950.0 FK4 Dec.

Notes:
  • The equatorial coordinates are B1950.0 'FK4'. Use the routine palGaleq if conversion to J2000.0 coordinates is required.

See Also
  • Blaauw et al, Mon.Not.R.Astron.Soc.,121,123 (1960)



next up previous 250
Next: palGeoc - Convert geodetic position to geocentric
Up: Function Descriptions
Previous: palGalsup - Convert from galactic to supergalactic coordinates

PAL --- Positional Astronomy Library
Starlink User Note 267
Tim Jenness
2012 March 23
E-mail:starlink@jiscmail.ac.uk

Copyright © 2012 Science and Technology Facilities Council
sun267.htx/node41.html000644 000765 000024 00000010346 12365763733 015035 0ustar00timjstaff000000 000000 palGeoc - Convert geodetic position to geocentric

next up previous 250
Next: palIntin - Convert free-format input into an integer
Up: Function Descriptions
Previous: palGe50 - Transform Galactic Coordinate to B1950 FK4


palGeoc - Convert geodetic position to geocentric

Description:
Convert geodetic position to geocentric.

Invocation:
void palGeoc( double p, double h, double r, double z );

Arguments:

p = double (Given)
latitude (radians)
h = double (Given)
height above reference spheroid (geodetic, metres)
r = double (Returned)
distance from Earth axis (AU)
z = double (Returned)
distance from plane of Earth equator (AU)

Notes:
  • Geocentric latitude can be obtained by evaluating atan2(z,r)

  • Uses WGS84 reference ellipsoid and calls iauGd2gc



next up previous 250
Next: palIntin - Convert free-format input into an integer
Up: Function Descriptions
Previous: palGe50 - Transform Galactic Coordinate to B1950 FK4

PAL --- Positional Astronomy Library
Starlink User Note 267
Tim Jenness
2012 March 23
E-mail:starlink@jiscmail.ac.uk

Copyright © 2012 Science and Technology Facilities Council
sun267.htx/node42.html000644 000765 000024 00000012062 12365763733 015033 0ustar00timjstaff000000 000000 palIntin - Convert free-format input into an integer

next up previous 250
Next: palMap - Convert star RA,Dec from mean place to geocentric apparent
Up: Function Descriptions
Previous: palGeoc - Convert geodetic position to geocentric


palIntin - Convert free-format input into an integer

Description:
Extracts a number from an input string starting at the specified index.

Invocation:
void palIntin( const char string, int nstrt, long ireslt, int jflag );

Arguments:

string = const char (Given)
String containing number to be decoded.
nstrt = int (Given and Returned)
Character number indicating where decoding should start. On output its value is updated to be the location of the possible next value. For compatibility with SLA the first character is index 1.
ireslt = long (Returned)
Result. Not updated when jflag=1.
jflag = int (Returned)
status: -1 = -OK, 0 = OK, 1 = null, 2 = error

Notes:
  • Uses the strtol() system call to do the parsing. This may lead to subtle differences when compared to the SLA/F parsing.

  • Commas are recognized as a special case and are skipped if one happens to be the next character when updating nstrt. Additionally the output nstrt position will skip past any trailing space.

  • If no number can be found flag will be set to 1.

  • If the number overflows or underflows jflag will be set to 2. For overflow the returned result will have the value LONG_MAX, for underflow it will have the value LONG_MIN.



next up previous 250
Next: palMap - Convert star RA,Dec from mean place to geocentric apparent
Up: Function Descriptions
Previous: palGeoc - Convert geodetic position to geocentric

PAL --- Positional Astronomy Library
Starlink User Note 267
Tim Jenness
2012 March 23
E-mail:starlink@jiscmail.ac.uk

Copyright © 2012 Science and Technology Facilities Council
sun267.htx/node43.html000644 000765 000024 00000012231 12365763733 015032 0ustar00timjstaff000000 000000 palMap - Convert star RA,Dec from mean place to geocentric apparent

next up previous 250
Next: palMappa - Compute parameters needed by palAmpqk and palMapqk
Up: Function Descriptions
Previous: palIntin - Convert free-format input into an integer


palMap - Convert star RA,Dec from mean place to geocentric apparent

Description:
Convert star RA,Dec from mean place to geocentric apparent.

Invocation:
void palMap( double rm, double dm, double pr, double pd, double px, double rv, double eq, double date, double ra, double da );

Arguments:

rm = double (Given)
Mean RA (radians)
dm = double (Given)
Mean declination (radians)
pr = double (Given)
RA proper motion, changes per Julian year (radians)
pd = double (Given)
Dec proper motion, changes per Julian year (radians)
px = double (Given)
Parallax (arcsec)
rv = double (Given)
Radial velocity (km/s, ve if receding)
eq = double (Given)
Epoch and equinox of star data (Julian)
date = double (Given)
TDB for apparent place (JD-2400000.5)
ra = double (Returned)
Apparent RA (radians)
dec = double (Returned)
Apparent dec (radians)

Notes:
  • Calls palMappa and palMapqk

  • The reference systems and timescales used are IAU 2006.



next up previous 250
Next: palMappa - Compute parameters needed by palAmpqk and palMapqk
Up: Function Descriptions
Previous: palIntin - Convert free-format input into an integer

PAL --- Positional Astronomy Library
Starlink User Note 267
Tim Jenness
2012 March 23
E-mail:starlink@jiscmail.ac.uk

Copyright © 2012 Science and Technology Facilities Council
sun267.htx/node44.html000644 000765 000024 00000012276 12365763733 015044 0ustar00timjstaff000000 000000 palMappa - Compute parameters needed by palAmpqk and palMapqk

next up previous 250
Next: palMapqk - Quick mean to apparent place
Up: Function Descriptions
Previous: palMap - Convert star RA,Dec from mean place to geocentric apparent


palMappa - Compute parameters needed by palAmpqk and palMapqk

Description:
Compute star-independent parameters in preparation for transformations between mean place and geocentric apparent place.

The parameters produced by this function are required in the parallax, aberration, and nutation/bias/precession parts of the mean/apparent transformations.

The reference systems and timescales used are IAU 2006.


Invocation:
void palMappa( double eq, double date, double amprms[21] )

Arguments:

eq = double (Given)
epoch of mean equinox to be used (Julian)
date = double (Given)
TDB (JD-2400000.5)
amprms = double[21] (Returned)
star-independent mean-to-apparent parameters:
  • (0) time interval for proper motion (Julian years)

  • (1-3) barycentric position of the Earth (AU)

  • (4-6) heliocentric direction of the Earth (unit vector)

  • (7) (grav rad Sun)2/(Sun-Earth distance)

  • (8-10) abv: barycentric Earth velocity in units of c

  • (11) sqrt(1-v2) where v=modulus(abv)

  • (12-20) precession/nutation (3,3) matrix


Notes:
  • For date, the distinction between the required TDB and TT is always negligible. Moreover, for all but the most critical applications UTC is adequate.

  • The vector amprms(1-3) is referred to the mean equinox and equator of epoch eq.

  • The parameters amprms produced by this function are used by palAmpqk, palMapqk and palMapqkz.



next up previous 250
Next: palMapqk - Quick mean to apparent place
Up: Function Descriptions
Previous: palMap - Convert star RA,Dec from mean place to geocentric apparent

PAL --- Positional Astronomy Library
Starlink User Note 267
Tim Jenness
2012 March 23
E-mail:starlink@jiscmail.ac.uk

Copyright © 2012 Science and Technology Facilities Council
sun267.htx/node45.html000644 000765 000024 00000012602 12365763733 015036 0ustar00timjstaff000000 000000 palMapqk - Quick mean to apparent place

next up previous 250
Next: palMapqkz - Quick mean to apparent place
Up: Function Descriptions
Previous: palMappa - Compute parameters needed by palAmpqk and palMapqk


palMapqk - Quick mean to apparent place

Description:
Quick mean to apparent place: transform a star RA,Dec from mean place to geocentric apparent place, given the star-independent parameters.

Use of this routine is appropriate when efficiency is important and where many star positions, all referred to the same equator and equinox, are to be transformed for one epoch. The star-independent parameters can be obtained by calling the palMappa routine.

If the parallax and proper motions are zero the palMapqkz routine can be used instead.


Invocation:
void palMapqk ( double rm, double dm, double pr, double pd, double px, double rv, double amprms[21], double ra, double da );

Arguments:

rm = double (Given)
Mean RA (radians)
dm = double (Given)
Mean declination (radians)
pr = double (Given)
RA proper motion, changes per Julian year (radians)
pd = double (Given)
Dec proper motion, changes per Julian year (radians)
px = double (Given)
Parallax (arcsec)
rv = double (Given)
Radial velocity (km/s, ve if receding)
amprms = double [21] (Given)
Star-independent mean-to-apparent parameters (see palMappa).
ra = double (Returned)
Apparent RA (radians)
dec = double (Returned)
Apparent dec (radians)

Notes:
  • The reference frames and timescales used are post IAU 2006.



next up previous 250
Next: palMapqkz - Quick mean to apparent place
Up: Function Descriptions
Previous: palMappa - Compute parameters needed by palAmpqk and palMapqk

PAL --- Positional Astronomy Library
Starlink User Note 267
Tim Jenness
2012 March 23
E-mail:starlink@jiscmail.ac.uk

Copyright © 2012 Science and Technology Facilities Council
sun267.htx/node46.html000644 000765 000024 00000012230 12365763733 015034 0ustar00timjstaff000000 000000 palMapqkz - Quick mean to apparent place

next up previous 250
Next: palNut - Form the matrix of nutation
Up: Function Descriptions
Previous: palMapqk - Quick mean to apparent place


palMapqkz - Quick mean to apparent place

Description:
Quick mean to apparent place: transform a star RA,dec from mean place to geocentric apparent place, given the star-independent parameters, and assuming zero parallax and proper motion.

Use of this function is appropriate when efficiency is important and where many star positions, all with parallax and proper motion either zero or already allowed for, and all referred to the same equator and equinox, are to be transformed for one epoch. The star-independent parameters can be obtained by calling the palMappa function.

The corresponding function for the case of non-zero parallax and proper motion is palMapqk.

The reference systems and timescales used are IAU 2006.

Strictly speaking, the function is not valid for solar-system sources, though the error will usually be extremely small.


Invocation:
void palMapqkz( double rm, double dm, double amprms[21], double ra, double da )

Arguments:

rm = double (Given)
Mean RA (radians).
dm = double (Given)
Mean Dec (radians).
amprms = double[21] (Given)
Star-independent mean-to-apparent parameters (see palMappa): (0-3) not used (4-6) not used (7) not used (8-10) abv: barycentric Earth velocity in units of c (11) sqrt(1-v2) where v=modulus(abv) (12-20) precession/nutation (3,3) matrix
ra = double (Returned)
Apparent RA (radians).
da = double (Returned)
Apparent Dec (radians).



next up previous 250
Next: palNut - Form the matrix of nutation
Up: Function Descriptions
Previous: palMapqk - Quick mean to apparent place

PAL --- Positional Astronomy Library
Starlink User Note 267
Tim Jenness
2012 March 23
E-mail:starlink@jiscmail.ac.uk

Copyright © 2012 Science and Technology Facilities Council
sun267.htx/node47.html000644 000765 000024 00000010366 12365763733 015045 0ustar00timjstaff000000 000000 palNut - Form the matrix of nutation

next up previous 250
Next: palNutc - Calculate nutation longitude & obliquoty components
Up: Function Descriptions
Previous: palMapqkz - Quick mean to apparent place


palNut - Form the matrix of nutation

Description:
Form the matrix of nutation for a given date using the IAU 2006 nutation model and palDeuler.

Invocation:
void palNut( double date, double rmatn[3][3] );

Arguments:

date = double (Given)
TT as modified Julian date (JD-2400000.5)
rmatn = double [3][3] (Returned)
Nutation matrix in the sense v(true)=rmatn v(mean) where v(true) is the star vector relative to the true equator and equinox of date and v(mean) is the star vector relative to the mean equator and equinox of date.

Notes:
  • Uses iauNut06a via palNutc

  • The distinction between TDB and TT is negligible. For all but the most critical applications UTC is adequate.



next up previous 250
Next: palNutc - Calculate nutation longitude & obliquoty components
Up: Function Descriptions
Previous: palMapqkz - Quick mean to apparent place

PAL --- Positional Astronomy Library
Starlink User Note 267
Tim Jenness
2012 March 23
E-mail:starlink@jiscmail.ac.uk

Copyright © 2012 Science and Technology Facilities Council
sun267.htx/node48.html000644 000765 000024 00000010600 12365763733 015035 0ustar00timjstaff000000 000000 palNutc - Calculate nutation longitude & obliquoty components

next up previous 250
Next: palObs - Parameters of selected ground-based observing stations
Up: Function Descriptions
Previous: palNut - Form the matrix of nutation


palNutc - Calculate nutation longitude & obliquoty components

Description:
Calculates the longitude obliquity components and mean obliquity using the SOFA library.

Invocation:
void palNutc( double date, double dpsi, double deps, double eps0 );

Arguments:

date = double (Given)
TT as modified Julian date (JD-2400000.5)
dpsi = double (Returned)
Nutation in longitude
deps = double (Returned)
Nutation in obliquity
eps0 = double (Returned)
Mean obliquity.

Notes:
  • Calls iauObl06 and iauNut06a and therefore uses the IAU 206 precession/nutation model.

  • Note the change from SLA/F regarding the date. TT is used rather than TDB.



next up previous 250
Next: palObs - Parameters of selected ground-based observing stations
Up: Function Descriptions
Previous: palNut - Form the matrix of nutation

PAL --- Positional Astronomy Library
Starlink User Note 267
Tim Jenness
2012 March 23
E-mail:starlink@jiscmail.ac.uk

Copyright © 2012 Science and Technology Facilities Council
sun267.htx/node49.html000644 000765 000024 00000016547 12365763733 015056 0ustar00timjstaff000000 000000 palObs - Parameters of selected ground-based observing stations

next up previous 250
Next: palPa - HA, Dec to Parallactic Angle
Up: Function Descriptions
Previous: palNutc - Calculate nutation longitude & obliquoty components


palObs - Parameters of selected ground-based observing stations

Description:
Station numbers, identifiers, names and other details are subject to change and should not be hardwired into application programs.

All characters in "c" up to the first space are checked; thus an abbreviated ID will return the parameters for the first station in the list which matches the abbreviation supplied, and no station in the list will ever contain embedded spaces. "c" must not have leading spaces.

IMPORTANT - BEWARE OF THE LONGITUDE SIGN CONVENTION. The longitude returned by sla_OBS is west-positive in accordance with astronomical usage. However, this sign convention is left-handed and is the opposite of the one used by geographers; elsewhere in PAL the preferable east-positive convention is used. In particular, note that for use in palAop, palAoppa and palOap the sign of the longitude must be reversed.

Users are urged to inform the author of any improvements they would like to see made. For example:

typographical corrections more accurate parameters better station identifiers or names additional stations


Invocation:
int palObs( size_t n, const char c, char ident, size_t identlen, char name, size_t namelen, double w, double p, double h );

Arguments:

n = size_t (Given)
Number specifying the observing station. If 0 the identifier in "c" is used to determine the observing station to use.
c = const char (Given)
Identifier specifying the observing station for which the parameters should be returned. Only used if n is 0. Can be NULL for n0. Case insensitive.
ident = char (Returned)
Identifier of the observing station selected. Will be identical to "c" if n==0. Unchanged if "n" or "c" do not match an observing station. Should be at least 11 characters (including the trailing nul).
identlen = size_t (Given)
Size of the buffer "ident" including trailing nul.
name = char (Returned)
Full name of the specified observing station. Contains "?" if "n" or "c" did not correspond to a valid station. Should be at least 41 characters (including the trailing nul).
w = double (Returned)
Longitude (radians, West ve). Unchanged if observing station could not be identified.
p = double (Returned)
Geodetic latitude (radians, North ve). Unchanged if observing station could not be identified.
h = double (Returned)
Height above sea level (metres). Unchanged if observing station could not be identified.

Returned Value:

palObs = int
0 if an observing station was returned. -1 if no match was found.

Notes:
  • Differs from the SLA interface in that the output short name is not the same variable as the input short name. This simplifies consting. Additionally the size of the output buffers are now specified in the API and a status integer is returned.



next up previous 250
Next: palPa - HA, Dec to Parallactic Angle
Up: Function Descriptions
Previous: palNutc - Calculate nutation longitude & obliquoty components

PAL --- Positional Astronomy Library
Starlink User Note 267
Tim Jenness
2012 March 23
E-mail:starlink@jiscmail.ac.uk

Copyright © 2012 Science and Technology Facilities Council
sun267.htx/node5.html000644 000765 000024 00000013674 12365763733 014764 0ustar00timjstaff000000 000000 SOFA Mappings

next up previous 250
Next: More complex functions
Up: Function Descriptions
Previous: Function Descriptions

SOFA Mappings

The following table lists PAL/SLA functions that have direct replacements in SOFA. Whilst these routines are implemented in the PAL library using SOFA new code should probably call SOFA directly.

SLA/PAL SOFA
palCldj iauCal2jd
palDbear iauPas
palDaf2r iauAf2a
palDav2m iauRv2m
palDcc2s iauC2s
palDcs2c iauS2c
palDd2tf iauD2tf
palDimxv iauTrxp
palDm2av iauRm2v
palDjcl iauJd2cal
palDmxm iauRxr
palDmxv iauRxp
palDpav iauPap
palDr2af iauA2af
palDr2tf iauA2tf
palDranrm iauAnp
palDsep iauSeps
palDsepv iauSepp
palDtf2d iauTf2d
palDtf2r iauTf2a
palDvdv iauPdp
palDvn iauPn
palDvxv iauPxp
palEpb iauEpb
palEpb2d iauEpb2d
palEpj iauEpj
palEpj2d iauEpj2jd
palEqeqx iauEe06a
palFk5hz iauFk5hz also calls iauEpj2jd
palGmst iauGmst06
palGmsta iauGmst06
palHfk5z iauHfk5z also calls iauEpj2jd


next up previous 250
Next: More complex functions
Up: Function Descriptions
Previous: Function Descriptions

PAL --- Positional Astronomy Library
Starlink User Note 267
Tim Jenness
2012 March 23
E-mail:starlink@jiscmail.ac.uk

Copyright © 2012 Science and Technology Facilities Council
sun267.htx/node50.html000644 000765 000024 00000011177 12365763733 015040 0ustar00timjstaff000000 000000 palPa - HA, Dec to Parallactic Angle

next up previous 250
Next: palPertel - Update elements by applying planetary perturbations
Up: Function Descriptions
Previous: palObs - Parameters of selected ground-based observing stations


palPa - HA, Dec to Parallactic Angle

Description:
Converts HA, Dec to Parallactic Angle.

Invocation:
double palPa( double ha, double dec, double phi );

Arguments:

ha = double (Given)
Hour angle in radians (Geocentric apparent)
dec = double (Given)
Declination in radians (Geocentric apparent)
phi = double (Given)
Observatory latitude in radians (geodetic)

Returned Value:

palPa = double
Parallactic angle in the range -pi to pi.

Notes:
  • The parallactic angle at a point in the sky is the position angle of the vertical, i.e. the angle between the direction to the pole and to the zenith. In precise applications care must be taken only to use geocentric apparent HA,Dec and to consider separately the effects of atmospheric refraction and telescope mount errors.

  • At the pole a zero result is returned.



next up previous 250
Next: palPertel - Update elements by applying planetary perturbations
Up: Function Descriptions
Previous: palObs - Parameters of selected ground-based observing stations

PAL --- Positional Astronomy Library
Starlink User Note 267
Tim Jenness
2012 March 23
E-mail:starlink@jiscmail.ac.uk

Copyright © 2012 Science and Technology Facilities Council
sun267.htx/node51.html000644 000765 000024 00000023270 12365763733 015036 0ustar00timjstaff000000 000000 palPertel - Update elements by applying planetary perturbations

next up previous 250
Next: palPertue - Update the universal elements by applying planetary perturbations
Up: Function Descriptions
Previous: palPa - HA, Dec to Parallactic Angle


palPertel - Update elements by applying planetary perturbations

Description:
Update the osculating orbital elements of an asteroid or comet by applying planetary perturbations.

Invocation:
void palPertel (int jform, double date0, double date1, double epoch0, double orbi0, double anode0, double perih0, double aorq0, double e0, double am0, double epoch1, double orbi1, double anode1, double perih1, double aorq1, double e1, double am1, int jstat );

Arguments:

jform = int (Given)
Element set actually returned (1-3; Note 6)
date0 = double (Given)
Date of osculation (TT MJD) for the given elements.
date1 = double (Given)
Date of osculation (TT MJD) for the updated elements.
epoch0 = double (Given)
Epoch of elements (TT MJD)
orbi0 = double (Given)
inclination (radians)
anode0 = double (Given)
longitude of the ascending node (radians)
perih0 = double (Given)
longitude or argument of perihelion (radians)
aorq0 = double (Given)
mean distance or perihelion distance (AU)
e0 = double (Given)
eccentricity
am0 = double (Given)
mean anomaly (radians, JFORM=2 only)
epoch1 = double (Returned)
Epoch of elements (TT MJD)
orbi1 = double (Returned)
inclination (radians)
anode1 = double (Returned)
longitude of the ascending node (radians)
perih1 = double (Returned)
longitude or argument of perihelion (radians)
aorq1 = double (Returned)
mean distance or perihelion distance (AU)
e1 = double (Returned)
eccentricity
am1 = double (Returned)
mean anomaly (radians, JFORM=2 only)
jstat = int (Returned)
status:
  • 102 = warning, distant epoch

  • 101 = warning, large timespan ( 100 years)

  • 1 to 10 = coincident with planet (Note 6)

  • 0 = OK

  • -1 = illegal JFORM

  • -2 = illegal E0

  • -3 = illegal AORQ0

  • -4 = internal error

  • -5 = numerical error


Notes:
  • Two different element-format options are available:


Option JFORM=2, suitable for minor planets:

EPOCH = epoch of elements (TT MJD) ORBI = inclination i (radians) ANODE = longitude of the ascending node, big omega (radians) PERIH = argument of perihelion, little omega (radians) AORQ = mean distance, a (AU) E = eccentricity, e AM = mean anomaly M (radians)

Option JFORM=3, suitable for comets:

EPOCH = epoch of perihelion (TT MJD) ORBI = inclination i (radians) ANODE = longitude of the ascending node, big omega (radians) PERIH = argument of perihelion, little omega (radians) AORQ = perihelion distance, q (AU) E = eccentricity, e

  • DATE0, DATE1, EPOCH0 and EPOCH1 are all instants of time in the TT timescale (formerly Ephemeris Time, ET), expressed as Modified Julian Dates (JD-2400000.5).


DATE0 is the instant at which the given (i.e. unperturbed) osculating elements are correct.

DATE1 is the specified instant at which the updated osculating elements are correct.

EPOCH0 and EPOCH1 will be the same as DATE0 and DATE1 (respectively) for the JFORM=2 case, normally used for minor planets. For the JFORM=3 case, the two epochs will refer to perihelion passage and so will not, in general, be the same as DATE0 and/or DATE1 though they may be similar to one another.

  • The elements are with respect to the J2000 ecliptic and equinox.

  • Unused elements (AM0 and AM1 for JFORM=3) are not accessed.

  • See the palPertue routine for details of the algorithm used.

  • This routine is not intended to be used for major planets, which is why JFORM=1 is not available and why there is no opportunity to specify either the longitude of perihelion or the daily motion. However, if JFORM=2 elements are somehow obtained for a major planet and supplied to the routine, sensible results will, in fact, be produced. This happens because the sla_PERTUE routine that is called to perform the calculations checks the separation between the body and each of the planets and interprets a suspiciously small value (0.001 AU) as an attempt to apply it to the planet concerned. If this condition is detected, the contribution from that planet is ignored, and the status is set to the planet number (1-10 = Mercury, Venus, EMB, Mars, Jupiter, Saturn, Uranus, Neptune, Earth, Moon) as a warning.

See Also
  • Sterne, Theodore E., "An Introduction to Celestial Mechanics", Interscience Publishers Inc., 1960. Section 6.7, p199.



next up previous 250
Next: palPertue - Update the universal elements by applying planetary perturbations
Up: Function Descriptions
Previous: palPa - HA, Dec to Parallactic Angle

PAL --- Positional Astronomy Library
Starlink User Note 267
Tim Jenness
2012 March 23
E-mail:starlink@jiscmail.ac.uk

Copyright © 2012 Science and Technology Facilities Council
sun267.htx/node52.html000644 000765 000024 00000025716 12365763733 015046 0ustar00timjstaff000000 000000 palPertue - Update the universal elements by applying planetary perturbations

next up previous 250
Next: palPlanel - Transform conventional elements into position and velocity
Up: Function Descriptions
Previous: palPertel - Update elements by applying planetary perturbations


palPertue - Update the universal elements by applying planetary perturbations

Description:
Update the universal elements of an asteroid or comet by applying planetary perturbations.

Invocation:
void palPertue( double date, double u[13], int jstat );

Arguments:

date = double (Given)
Final epoch (TT MJD) for the update elements.
u = const double [13] (Given & Returned)
Universal orbital elements (Note 1) (0) combined mass (Mm) (1) total energy of the orbit (alpha) (2) reference (osculating) epoch (t0) (3-5) position at reference epoch (r0) (6-8) velocity at reference epoch (v0) (9) heliocentric distance at reference epoch (10) r0.v0 (11) date (t) (12) universal eccentric anomaly (psi) of date, approx
jstat = int (Returned)
status: 102 = warning, distant epoch 101 = warning, large timespan ( 100 years) 1 to 10 = coincident with major planet (Note 5) 0 = OK
  • 1 = numerical error


Notes:
  • The "universal" elements are those which define the orbit for the purposes of the method of universal variables (see reference 2). They consist of the combined mass of the two bodies, an epoch, and the position and velocity vectors (arbitrary reference frame) at that epoch. The parameter set used here includes also various quantities that can, in fact, be derived from the other information. This approach is taken to avoiding unnecessary computation and loss of accuracy. The supplementary quantities are (i) alpha, which is proportional to the total energy of the orbit, (ii) the heliocentric distance at epoch, (iii) the outwards component of the velocity at the given epoch, (iv) an estimate of psi, the "universal eccentric anomaly" at a given date and (v) that date.

  • The universal elements are with respect to the J2000 equator and equinox.

  • The epochs DATE, U(3) and U(12) are all Modified Julian Dates (JD-2400000.5).

  • The algorithm is a simplified form of Encke's method. It takes as a basis the unperturbed motion of the body, and numerically integrates the perturbing accelerations from the major planets. The expression used is essentially Sterne's 6.7-2 (reference 1). Everhart and Pitkin (reference 2) suggest rectifying the orbit at each integration step by propagating the new perturbed position and velocity as the new universal variables. In the present routine the orbit is rectified less frequently than this, in order to gain a slight speed advantage. However, the rectification is done directly in terms of position and velocity, as suggested by Everhart and Pitkin, bypassing the use of conventional orbital elements.


The f(q) part of the full Encke method is not used. The purpose of this part is to avoid subtracting two nearly equal quantities when calculating the "indirect member", which takes account of the small change in the Sun's attraction due to the slightly displaced position of the perturbed body. A simpler, direct calculation in double precision proves to be faster and not significantly less accurate.

Apart from employing a variable timestep, and occasionally "rectifying the orbit" to keep the indirect member small, the integration is done in a fairly straightforward way. The acceleration estimated for the middle of the timestep is assumed to apply throughout that timestep; it is also used in the extrapolation of the perturbations to the middle of the next timestep, to predict the new disturbed position. There is no iteration within a timestep.

Measures are taken to reach a compromise between execution time and accuracy. The starting-point is the goal of achieving arcsecond accuracy for ordinary minor planets over a ten-year timespan. This goal dictates how large the timesteps can be, which in turn dictates how frequently the unperturbed motion has to be recalculated from the osculating elements.

Within predetermined limits, the timestep for the numerical integration is varied in length in inverse proportion to the magnitude of the net acceleration on the body from the major planets.

The numerical integration requires estimates of the major-planet motions. Approximate positions for the major planets (Pluto alone is omitted) are obtained from the routine palPlanet. Two levels of interpolation are used, to enhance speed without significantly degrading accuracy. At a low frequency, the routine palPlanet is called to generate updated positionvelocity "state vectors". The only task remaining to be carried out at the full frequency (i.e. at each integration step) is to use the state vectors to extrapolate the planetary positions. In place of a strictly linear extrapolation, some allowance is made for the curvature of the orbit by scaling back the radius vector as the linear extrapolation goes off at a tangent.

Various other approximations are made. For example, perturbations by Pluto and the minor planets are neglected and relativistic effects are not taken into account.

In the interests of simplicity, the background calculations for the major planets are carried out en masse. The mean elements and state vectors for all the planets are refreshed at the same time, without regard for orbit curvature, mass or proximity.

The Earth-Moon system is treated as a single body when the body is distant but as separate bodies when closer to the EMB than the parameter RNE, which incurs a time penalty but improves accuracy for near-Earth objects.

  • This routine is not intended to be used for major planets. However, if major-planet elements are supplied, sensible results will, in fact, be produced. This happens because the routine checks the separation between the body and each of the planets and interprets a suspiciously small value (0.001 AU) as an attempt to apply the routine to the planet concerned. If this condition is detected, the contribution from that planet is ignored, and the status is set to the planet number (1-10 = Mercury, Venus, EMB, Mars, Jupiter, Saturn, Uranus, Neptune, Earth, Moon) as a warning.

See Also
  • Sterne, Theodore E., "An Introduction to Celestial Mechanics", Interscience Publishers Inc., 1960. Section 6.7, p199.

  • Everhart, E. & Pitkin, E.T., Am.J.Phys. 51, 712, 1983.



next up previous 250
Next: palPlanel - Transform conventional elements into position and velocity
Up: Function Descriptions
Previous: palPertel - Update elements by applying planetary perturbations

PAL --- Positional Astronomy Library
Starlink User Note 267
Tim Jenness
2012 March 23
E-mail:starlink@jiscmail.ac.uk

Copyright © 2012 Science and Technology Facilities Council
sun267.htx/node53.html000644 000765 000024 00000025116 12365763733 015041 0ustar00timjstaff000000 000000 palPlanel - Transform conventional elements into position and velocity

next up previous 250
Next: palPlanet - Approximate heliocentric position and velocity of major planet
Up: Function Descriptions
Previous: palPertue - Update the universal elements by applying planetary perturbations


palPlanel - Transform conventional elements into position and velocity

Description:
Heliocentric position and velocity of a planet, asteroid or comet, starting from orbital elements.

Invocation:
void palPlanel ( double date, int jform, double epoch, double orbinc, double anode, double perih, double aorq, double e, double aorl, double dm, double pv[6], int jstat );

Arguments:

date = double (Given)
Epoch (TT MJD) of osculation (Note 1)
jform = int (Given)
Element set actually returned (1-3; Note 3)
epoch = double (Given)
Epoch of elements (TT MJD) (Note 4)
orbinc = double (Given)
inclination (radians)
anode = double (Given)
longitude of the ascending node (radians)
perih = double (Given)
longitude or argument of perihelion (radians)
aorq = double (Given)
mean distance or perihelion distance (AU)
e = double (Given)
eccentricity
aorl = double (Given)
mean anomaly or longitude (radians, JFORM=1,2 only)
dm = double (Given)
daily motion (radians, JFORM=1 only)
u = double [13] (Returned)
Universal orbital elements (Note 1) (0) combined mass (Mm) (1) total energy of the orbit (alpha) (2) reference (osculating) epoch (t0) (3-5) position at reference epoch (r0) (6-8) velocity at reference epoch (v0) (9) heliocentric distance at reference epoch (10) r0.v0 (11) date (t) (12) universal eccentric anomaly (psi) of date, approx
jstat = int (Returned)
status: 0 = OK
  • -1 = illegal JFORM

  • -2 = illegal E

  • -3 = illegal AORQ

  • -4 = illegal DM

  • -5 = numerical error


Notes:
  • DATE is the instant for which the prediction is required. It is in the TT timescale (formerly Ephemeris Time, ET) and is a Modified Julian Date (JD-2400000.5).

  • The elements are with respect to the J2000 ecliptic and equinox.

  • A choice of three different element-set options is available:


Option JFORM = 1, suitable for the major planets:

EPOCH = epoch of elements (TT MJD) ORBINC = inclination i (radians) ANODE = longitude of the ascending node, big omega (radians) PERIH = longitude of perihelion, curly pi (radians) AORQ = mean distance, a (AU) E = eccentricity, e (range 0 to 1) AORL = mean longitude L (radians) DM = daily motion (radians)

Option JFORM = 2, suitable for minor planets:

EPOCH = epoch of elements (TT MJD) ORBINC = inclination i (radians) ANODE = longitude of the ascending node, big omega (radians) PERIH = argument of perihelion, little omega (radians) AORQ = mean distance, a (AU) E = eccentricity, e (range 0 to 1) AORL = mean anomaly M (radians)

Option JFORM = 3, suitable for comets:

EPOCH = epoch of elements and perihelion (TT MJD) ORBINC = inclination i (radians) ANODE = longitude of the ascending node, big omega (radians) PERIH = argument of perihelion, little omega (radians) AORQ = perihelion distance, q (AU) E = eccentricity, e (range 0 to 10)

Unused arguments (DM for JFORM=2, AORL and DM for JFORM=3) are not accessed.

  • Each of the three element sets defines an unperturbed heliocentric orbit. For a given epoch of observation, the position of the body in its orbit can be predicted from these elements, which are called "osculating elements", using standard two-body analytical solutions. However, due to planetary perturbations, a given set of osculating elements remains usable for only as long as the unperturbed orbit that it describes is an adequate approximation to reality. Attached to such a set of elements is a date called the "osculating epoch", at which the elements are, momentarily, a perfect representation of the instantaneous position and velocity of the body.


Therefore, for any given problem there are up to three different epochs in play, and it is vital to distinguish clearly between them:

. The epoch of observation: the moment in time for which the position of the body is to be predicted.

. The epoch defining the position of the body: the moment in time at which, in the absence of purturbations, the specified position (mean longitude, mean anomaly, or perihelion) is reached.

. The osculating epoch: the moment in time at which the given elements are correct.

For the major-planet and minor-planet cases it is usual to make the epoch that defines the position of the body the same as the epoch of osculation. Thus, only two different epochs are involved: the epoch of the elements and the epoch of observation.

For comets, the epoch of perihelion fixes the position in the orbit and in general a different epoch of osculation will be chosen. Thus, all three types of epoch are involved.

For the present routine:

. The epoch of observation is the argument DATE.

. The epoch defining the position of the body is the argument EPOCH.

. The osculating epoch is not used and is assumed to be close enough to the epoch of observation to deliver adequate accuracy. If not, a preliminary call to sla_PERTEL may be used to update the element-set (and its associated osculating epoch) by applying planetary perturbations.

  • The reference frame for the result is with respect to the mean equator and equinox of epoch J2000.

  • The algorithm was originally adapted from the EPHSLA program of D.H.P.Jones (private communication, 1996). The method is based on Stumpff's Universal Variables.

See Also
Everhart, E. & Pitkin, E.T., Am.J.Phys. 51, 712, 1983.


next up previous 250
Next: palPlanet - Approximate heliocentric position and velocity of major planet
Up: Function Descriptions
Previous: palPertue - Update the universal elements by applying planetary perturbations

PAL --- Positional Astronomy Library
Starlink User Note 267
Tim Jenness
2012 March 23
E-mail:starlink@jiscmail.ac.uk

Copyright © 2012 Science and Technology Facilities Council
sun267.htx/node54.html000644 000765 000024 00000011553 12365763733 015042 0ustar00timjstaff000000 000000 palPlanet - Approximate heliocentric position and velocity of major planet

next up previous 250
Next: palPlante - Topocentric RA,Dec of a Solar-System object from heliocentric orbital elements
Up: Function Descriptions
Previous: palPlanel - Transform conventional elements into position and velocity


palPlanet - Approximate heliocentric position and velocity of major planet

Description:
Calculates the approximate heliocentric position and velocity of the specified major planet.

Invocation:
void palPlanet ( double date, int np, double pv[6], int j );

Arguments:

date = double (Given)
TDB Modified Julian Date (JD-2400000.5).
np = int (Given)
planet (1=Mercury, 2=Venus, 3=EMB, 4=Mars, 5=Jupiter, 6=Saturn, 7=Uranus, 8=Neptune)
pv = double [6] (Returned)
heliocentric x,y,z,xdot,ydot,zdot, J2000, equatorial triad in units AU and AU/s.
j = int (Returned)
  • -2 = solution didn't converge.

  • -1 = illegal np (1-8)

  • 0 = OK

  • 1 = warning: year outside 1000-3000


Notes:
  • See SOFA iauPlan94 for details

  • Note that Pluto is supported in SLA/F but not in this routine

  • Status -2 is equivalent to iauPlan94 status 2.

  • Note that velocity units here match the SLA/F documentation.



next up previous 250
Next: palPlante - Topocentric RA,Dec of a Solar-System object from heliocentric orbital elements
Up: Function Descriptions
Previous: palPlanel - Transform conventional elements into position and velocity

PAL --- Positional Astronomy Library
Starlink User Note 267
Tim Jenness
2012 March 23
E-mail:starlink@jiscmail.ac.uk

Copyright © 2012 Science and Technology Facilities Council
sun267.htx/node55.html000644 000765 000024 00000031005 12365763733 015035 0ustar00timjstaff000000 000000 palPlante - Topocentric RA,Dec of a Solar-System object from heliocentric orbital elements

next up previous 250
Next: palPlantu - Topocentric RA,Dec of a Solar-System object from universal elements
Up: Function Descriptions
Previous: palPlanet - Approximate heliocentric position and velocity of major planet


palPlante - Topocentric RA,Dec of a Solar-System object from heliocentric orbital elements

Description:
Topocentric apparent RA,Dec of a Solar-System object whose heliocentric orbital elements are known.

Invocation:
void palPlante ( double date, double elong, double phi, int jform, double epoch, double orbinc, double anode, double perih, double aorq, double e, double aorl, double dm, double ra, double dec, double r, int jstat );

Arguments:

date = double (Given)
TT MJD of observation (JD-2400000.5)
elong = double (Given)
Observer's east longitude (radians)
phi = double (Given)
Observer's geodetic latitude (radians)
jform = int (Given)
Element set actually returned (1-3; Note 6)
epoch = double (Given)
Epoch of elements (TT MJD)
orbinc = double (Given)
inclination (radians)
anode = double (Given)
longitude of the ascending node (radians)
perih = double (Given)
longitude or argument of perihelion (radians)
aorq = double (Given)
mean distance or perihelion distance (AU)
e = double (Given)
eccentricity
aorl = double (Given)
mean anomaly or longitude (radians, JFORM=1,2 only)
dm = double (Given)
daily motion (radians, JFORM=1 only)
ra = double (Returned)
Topocentric apparent RA (radians)
dec = double (Returned)
Topocentric apparent Dec (radians)
r = double (Returned)
Distance from observer (AU)
jstat = int (Returned)
status: 0 = OK
  • -1 = illegal jform

  • -2 = illegal e

  • -3 = illegal aorq

  • -4 = illegal dm

  • -5 = numerical error


Notes:
  • DATE is the instant for which the prediction is required. It is in the TT timescale (formerly Ephemeris Time, ET) and is a Modified Julian Date (JD-2400000.5).

  • The longitude and latitude allow correction for geocentric parallax. This is usually a small effect, but can become important for near-Earth asteroids. Geocentric positions can be generated by appropriate use of routines palEpv (or palEvp) and palUe2pv.

  • The elements are with respect to the J2000 ecliptic and equinox.

  • A choice of three different element-set options is available:


Option JFORM = 1, suitable for the major planets:

EPOCH = epoch of elements (TT MJD) ORBINC = inclination i (radians) ANODE = longitude of the ascending node, big omega (radians) PERIH = longitude of perihelion, curly pi (radians) AORQ = mean distance, a (AU) E = eccentricity, e (range 0 to 1) AORL = mean longitude L (radians) DM = daily motion (radians)

Option JFORM = 2, suitable for minor planets:

EPOCH = epoch of elements (TT MJD) ORBINC = inclination i (radians) ANODE = longitude of the ascending node, big omega (radians) PERIH = argument of perihelion, little omega (radians) AORQ = mean distance, a (AU) E = eccentricity, e (range 0 to 1) AORL = mean anomaly M (radians)

Option JFORM = 3, suitable for comets:

EPOCH = epoch of elements and perihelion (TT MJD) ORBINC = inclination i (radians) ANODE = longitude of the ascending node, big omega (radians) PERIH = argument of perihelion, little omega (radians) AORQ = perihelion distance, q (AU) E = eccentricity, e (range 0 to 10)

Unused arguments (DM for JFORM=2, AORL and DM for JFORM=3) are not accessed.

  • Each of the three element sets defines an unperturbed heliocentric orbit. For a given epoch of observation, the position of the body in its orbit can be predicted from these elements, which are called "osculating elements", using standard two-body analytical solutions. However, due to planetary perturbations, a given set of osculating elements remains usable for only as long as the unperturbed orbit that it describes is an adequate approximation to reality. Attached to such a set of elements is a date called the "osculating epoch", at which the elements are, momentarily, a perfect representation of the instantaneous position and velocity of the body.


Therefore, for any given problem there are up to three different epochs in play, and it is vital to distinguish clearly between them:

. The epoch of observation: the moment in time for which the position of the body is to be predicted.

. The epoch defining the position of the body: the moment in time at which, in the absence of purturbations, the specified position (mean longitude, mean anomaly, or perihelion) is reached.

. The osculating epoch: the moment in time at which the given elements are correct.

For the major-planet and minor-planet cases it is usual to make the epoch that defines the position of the body the same as the epoch of osculation. Thus, only two different epochs are involved: the epoch of the elements and the epoch of observation.

For comets, the epoch of perihelion fixes the position in the orbit and in general a different epoch of osculation will be chosen. Thus, all three types of epoch are involved.

For the present routine:

. The epoch of observation is the argument DATE.

. The epoch defining the position of the body is the argument EPOCH.

. The osculating epoch is not used and is assumed to be close enough to the epoch of observation to deliver adequate accuracy. If not, a preliminary call to sla_PERTEL may be used to update the element-set (and its associated osculating epoch) by applying planetary perturbations.

  • Two important sources for orbital elements are Horizons, operated by the Jet Propulsion Laboratory, Pasadena, and the Minor Planet Center, operated by the Center for Astrophysics, Harvard.


The JPL Horizons elements (heliocentric, J2000 ecliptic and equinox) correspond to SLALIB arguments as follows.

Major planets:

JFORM = 1 EPOCH = JDCT-2400000.5 ORBINC = IN (in radians) ANODE = OM (in radians) PERIH = OMW (in radians) AORQ = A E = EC AORL = MAOMW (in radians) DM = N (in radians)

Epoch of osculation = JDCT-2400000.5

Minor planets:

JFORM = 2 EPOCH = JDCT-2400000.5 ORBINC = IN (in radians) ANODE = OM (in radians) PERIH = W (in radians) AORQ = A E = EC AORL = MA (in radians)

Epoch of osculation = JDCT-2400000.5

Comets:

JFORM = 3 EPOCH = Tp-2400000.5 ORBINC = IN (in radians) ANODE = OM (in radians) PERIH = W (in radians) AORQ = QR E = EC

Epoch of osculation = JDCT-2400000.5

The MPC elements correspond to SLALIB arguments as follows.

Minor planets:

JFORM = 2 EPOCH = Epoch-2400000.5 ORBINC = Incl. (in radians) ANODE = Node (in radians) PERIH = Perih. (in radians) AORQ = a E = e AORL = M (in radians)

Epoch of osculation = Epoch-2400000.5

Comets:

JFORM = 3 EPOCH = T-2400000.5 ORBINC = Incl. (in radians) ANODE = Node. (in radians) PERIH = Perih. (in radians) AORQ = q E = e

Epoch of osculation = Epoch-2400000.5



next up previous 250
Next: palPlantu - Topocentric RA,Dec of a Solar-System object from universal elements
Up: Function Descriptions
Previous: palPlanet - Approximate heliocentric position and velocity of major planet

PAL --- Positional Astronomy Library
Starlink User Note 267
Tim Jenness
2012 March 23
E-mail:starlink@jiscmail.ac.uk

Copyright © 2012 Science and Technology Facilities Council
sun267.htx/node56.html000644 000765 000024 00000016541 12365763733 015046 0ustar00timjstaff000000 000000 palPlantu - Topocentric RA,Dec of a Solar-System object from universal elements

next up previous 250
Next: palPm - Apply corrections for proper motion a star RA,Dec
Up: Function Descriptions
Previous: palPlante - Topocentric RA,Dec of a Solar-System object from heliocentric orbital elements


palPlantu - Topocentric RA,Dec of a Solar-System object from universal elements

Description:
Topocentric apparent RA,Dec of a Solar-System object whose heliocentric universal elements are known.

Invocation:
void palPlantu ( double date, double elong, double phi, const double u[13], double ra, double dec, double r, int jstat ) {

Arguments:

date = double (Given)
TT MJD of observation (JD-2400000.5)
elong = double (Given)
Observer's east longitude (radians)
phi = double (Given)
Observer's geodetic latitude (radians)
u = const double [13] (Given)
Universal orbital elements
  • (0) combined mass (Mm)

  • (1) total energy of the orbit (alpha)

  • (2) reference (osculating) epoch (t0)

  • (3-5) position at reference epoch (r0)

  • (6-8) velocity at reference epoch (v0)

  • (9) heliocentric distance at reference epoch

  • (10) r0.v0

  • (11) date (t)

  • (12) universal eccentric anomaly (psi) of date, approx

ra = double (Returned)
Topocentric apparent RA (radians)
dec = double (Returned)
Topocentric apparent Dec (radians)
r = double (Returned)
Distance from observer (AU)
jstat = int (Returned)
status: 0 = OK
  • -1 = radius vector zero

  • -2 = failed to converge


Notes:
  • DATE is the instant for which the prediction is required. It is in the TT timescale (formerly Ephemeris Time, ET) and is a Modified Julian Date (JD-2400000.5).

  • The longitude and latitude allow correction for geocentric parallax. This is usually a small effect, but can become important for near-Earth asteroids. Geocentric positions can be generated by appropriate use of routines palEpv (or palEvp) and palUe2pv.

  • The "universal" elements are those which define the orbit for the purposes of the method of universal variables (see reference 2). They consist of the combined mass of the two bodies, an epoch, and the position and velocity vectors (arbitrary reference frame) at that epoch. The parameter set used here includes also various quantities that can, in fact, be derived from the other information. This approach is taken to avoiding unnecessary computation and loss of accuracy. The supplementary quantities are (i) alpha, which is proportional to the total energy of the orbit, (ii) the heliocentric distance at epoch, (iii) the outwards component of the velocity at the given epoch, (iv) an estimate of psi, the "universal eccentric anomaly" at a given date and (v) that date.

  • The universal elements are with respect to the J2000 equator and equinox.

See Also
  • Sterne, Theodore E., "An Introduction to Celestial Mechanics", Interscience Publishers Inc., 1960. Section 6.7, p199.

  • Everhart, E. & Pitkin, E.T., Am.J.Phys. 51, 712, 1983.



next up previous 250
Next: palPm - Apply corrections for proper motion a star RA,Dec
Up: Function Descriptions
Previous: palPlante - Topocentric RA,Dec of a Solar-System object from heliocentric orbital elements

PAL --- Positional Astronomy Library
Starlink User Note 267
Tim Jenness
2012 March 23
E-mail:starlink@jiscmail.ac.uk

Copyright © 2012 Science and Technology Facilities Council
sun267.htx/node57.html000644 000765 000024 00000012603 12365763733 015042 0ustar00timjstaff000000 000000 palPm - Apply corrections for proper motion a star RA,Dec

next up previous 250
Next: palPrebn - Generate the matrix of precession between two objects (old)
Up: Function Descriptions
Previous: palPlantu - Topocentric RA,Dec of a Solar-System object from universal elements


palPm - Apply corrections for proper motion a star RA,Dec

Description:
Apply corrections for proper motion to a star RA,Dec using the SOFA routine iauStarpm.

Invocation:
void palPm ( double r0, double d0, double pr, double pd, double px, double rv, double ep0, double ep1, double r1, double d1 );

Arguments:

r0 = double (Given)
RA at epoch ep0 (radians)
d0 = double (Given)
Dec at epoch ep0 (radians)
pr = double (Given)
RA proper motion in radians per year.
pd = double (Given)
Dec proper motion in radians per year.
px = double (Given)
Parallax (arcsec)
rv = double (Given)
Radial velocity (km/sec ve if receding)
ep0 = double (Given)
Start epoch in years, assumed to be Julian.
ep1 = double (Given)
End epoch in years, assumed to be Julian.
r1 = double (Returned)
RA at epoch ep1 (radians)
d1 = double (Returned)
Dec at epoch ep1 (radians)

Notes:
  • Uses iauStarpm but ignores the status returns from that routine. In particular note that parallax should not be zero when the proper motions are non-zero. SLA/F allows parallax to be zero.

  • Assumes all epochs are Julian epochs.



next up previous 250
Next: palPrebn - Generate the matrix of precession between two objects (old)
Up: Function Descriptions
Previous: palPlantu - Topocentric RA,Dec of a Solar-System object from universal elements

PAL --- Positional Astronomy Library
Starlink User Note 267
Tim Jenness
2012 March 23
E-mail:starlink@jiscmail.ac.uk

Copyright © 2012 Science and Technology Facilities Council
sun267.htx/node58.html000644 000765 000024 00000010567 12365763733 015052 0ustar00timjstaff000000 000000 palPrebn - Generate the matrix of precession between two objects (old)

next up previous 250
Next: palPrec - Form the matrix of precession between two epochs (IAU 2006)
Up: Function Descriptions
Previous: palPm - Apply corrections for proper motion a star RA,Dec


palPrebn - Generate the matrix of precession between two objects (old)

Description:
Generate the matrix of precession between two epochs, using the old, pre-IAU1976, Bessel-Newcomb model, using Kinoshita's formulation

Invocation:
void palPrebn ( double bep0, double bep1, double rmatp[3][3] );

Arguments:

bep0 = double (Given)
Beginning Besselian epoch.
bep1 = double (Given)
Ending Besselian epoch
rmatp = double[3][3] (Returned)
precession matrix in the sense V(BEP1) = RMATP V(BEP0)

See Also
Kinoshita, H. (1975) 'Formulas for precession', SAO Special Report No. 364, Smithsonian Institution Astrophysical Observatory, Cambridge, Massachusetts.


next up previous 250
Next: palPrec - Form the matrix of precession between two epochs (IAU 2006)
Up: Function Descriptions
Previous: palPm - Apply corrections for proper motion a star RA,Dec

PAL --- Positional Astronomy Library
Starlink User Note 267
Tim Jenness
2012 March 23
E-mail:starlink@jiscmail.ac.uk

Copyright © 2012 Science and Technology Facilities Council
sun267.htx/node59.html000644 000765 000024 00000010461 12365763733 015044 0ustar00timjstaff000000 000000 palPrec - Form the matrix of precession between two epochs (IAU 2006)

next up previous 250
Next: palPreces - Precession - either FK4 or FK5 as required
Up: Function Descriptions
Previous: palPrebn - Generate the matrix of precession between two objects (old)


palPrec - Form the matrix of precession between two epochs (IAU 2006)

Description:
The IAU 2006 precession matrix from ep0 to ep1 is found and returned. The matrix is in the sense V(EP1) = RMATP V(EP0). The epochs are TDB (loosely TT) Julian epochs.

Though the matrix method itself is rigorous, the precession angles are expressed through canonical polynomials which are valid only for a limited time span of a few hundred years around the current epoch.


Invocation:
palPrec( double ep0, double ep1, double rmatp[3][3] )

Arguments:

ep0 = double (Given)
Beginning epoch
ep1 = double (Given)
Ending epoch
rmatp = double[3][3] (Returned)
Precession matrix



next up previous 250
Next: palPreces - Precession - either FK4 or FK5 as required
Up: Function Descriptions
Previous: palPrebn - Generate the matrix of precession between two objects (old)

PAL --- Positional Astronomy Library
Starlink User Note 267
Tim Jenness
2012 March 23
E-mail:starlink@jiscmail.ac.uk

Copyright © 2012 Science and Technology Facilities Council
sun267.htx/node6.html000644 000765 000024 00000006053 12365763733 014756 0ustar00timjstaff000000 000000 More complex functions

next up previous 250
Next: palAddet - Add the E-terms to a pre IAU 1976 mean place
Up: Function Descriptions
Previous: SOFA Mappings

More complex functions

These functions do not have a simple equivalent in SOFA so are reimplemented either completely standalone or using multiple SOFA functions.



next up previous 250
Next: palAddet - Add the E-terms to a pre IAU 1976 mean place
Up: Function Descriptions
Previous: SOFA Mappings

PAL --- Positional Astronomy Library
Starlink User Note 267
Tim Jenness
2012 March 23
E-mail:starlink@jiscmail.ac.uk

Copyright © 2012 Science and Technology Facilities Council
sun267.htx/node60.html000644 000765 000024 00000012462 12365763733 015037 0ustar00timjstaff000000 000000 palPreces - Precession - either FK4 or FK5 as required

next up previous 250
Next: palPrenut - Form the matrix of bias-precession-nutation (IAU 2006/2000A)
Up: Function Descriptions
Previous: palPrec - Form the matrix of precession between two epochs (IAU 2006)


palPreces - Precession - either FK4 or FK5 as required

Description:
Precess coordinates using the appropriate system and epochs.

Invocation:
void palPreces ( const char sys[3], double ep0, double ep1, double ra, double dc );

Arguments:

sys = const char [3] (Given)
Precession to be applied: FK4 or FK5. Case insensitive.
ep0 = double (Given)
Starting epoch.
ep1 = double (Given)
Ending epoch
ra = double (Given & Returned)
On input the RA mean equator & equinox at epoch ep0. On exit the RA mean equator & equinox of epoch ep1.
dec = double (Given & Returned)
On input the dec mean equator & equinox at epoch ep0. On exit the dec mean equator & equinox of epoch ep1.

Notes:
  • Uses palPrec for FK5 data and palPrebn for FK4 data.

  • The epochs are Besselian if SYSTEM='FK4' and Julian if 'FK5'. For example, to precess coordinates in the old system from equinox 1900.0 to 1950.0 the call would be: palPreces( "FK4", 1900.0, 1950.0, &ra, &dc );

  • This routine will NOT correctly convert between the old and the new systems - for example conversion from B1950 to J2000. For these purposes see palFk425, palFk524, palFk45z and palFk54z.

  • If an invalid SYSTEM is supplied, values of -99D0,-99D0 will be returned for both RA and DC.



next up previous 250
Next: palPrenut - Form the matrix of bias-precession-nutation (IAU 2006/2000A)
Up: Function Descriptions
Previous: palPrec - Form the matrix of precession between two epochs (IAU 2006)

PAL --- Positional Astronomy Library
Starlink User Note 267
Tim Jenness
2012 March 23
E-mail:starlink@jiscmail.ac.uk

Copyright © 2012 Science and Technology Facilities Council
sun267.htx/node61.html000644 000765 000024 00000010257 12365763733 015040 0ustar00timjstaff000000 000000 palPrenut - Form the matrix of bias-precession-nutation (IAU 2006/2000A)

next up previous 250
Next: palPv2el - Position velocity to heliocentirc osculating elements
Up: Function Descriptions
Previous: palPreces - Precession - either FK4 or FK5 as required


palPrenut - Form the matrix of bias-precession-nutation (IAU 2006/2000A)

Description:
Form the matrix of bias-precession-nutation (IAU 2006/2000A). The epoch and date are TT (but TDB is usually close enough). The matrix is in the sense v(true) = rmatpn v(mean).

Invocation:
void palPrenut( double epoch, double date, double rmatpn[3][3] )

Arguments:

epoch = double (Returned)
Julian epoch for mean coordinates.
date = double (Returned)
Modified Julian Date (JD-2400000.5) for true coordinates.
rmatpn = double[3][3] (Returned)
combined NPB matrix



next up previous 250
Next: palPv2el - Position velocity to heliocentirc osculating elements
Up: Function Descriptions
Previous: palPreces - Precession - either FK4 or FK5 as required

PAL --- Positional Astronomy Library
Starlink User Note 267
Tim Jenness
2012 March 23
E-mail:starlink@jiscmail.ac.uk

Copyright © 2012 Science and Technology Facilities Council
sun267.htx/node62.html000644 000765 000024 00000024770 12365763733 015046 0ustar00timjstaff000000 000000 palPv2el - Position velocity to heliocentirc osculating elements

next up previous 250
Next: palPv2ue - Universal elements to position and velocity
Up: Function Descriptions
Previous: palPrenut - Form the matrix of bias-precession-nutation (IAU 2006/2000A)


palPv2el - Position velocity to heliocentirc osculating elements

Description:
Heliocentric osculating elements obtained from instantaneous position and velocity.

Invocation:
void palPv2el ( const double pv[6], double date, double pmass, int jformr, int jform, double epoch, double orbinc, double anode, double perih, double aorq, double e, double aorl, double dm, int jstat );

Arguments:

pv = const double [6] (Given)
Heliocentric x,y,z,xdot,ydot,zdot of date, J2000 equatorial triad (AU,AU/s; Note 1)
date = double (Given)
Date (TT Modified Julian Date = JD-2400000.5)
pmass = double (Given)
Mass of the planet (Sun=1; Note 2)
jformr = int (Given)
Requested element set (1-3; Note 3)
jform = int (Returned)
Element set actually returned (1-3; Note 4)
epoch = double (Returned)
Epoch of elements (TT MJD)
orbinc = double (Returned)
inclination (radians)
anode = double (Returned)
longitude of the ascending node (radians)
perih = double (Returned)
longitude or argument of perihelion (radians)
aorq = double (Returned)
mean distance or perihelion distance (AU)
e = double (Returned)
eccentricity
aorl = double (Returned)
mean anomaly or longitude (radians, JFORM=1,2 only)
dm = double (Returned)
daily motion (radians, JFORM=1 only)
jstat = int (Returned)
status: 0 = OK
  • -1 = illegal PMASS

  • -2 = illegal JFORMR

  • -3 = position/velocity out of range


Notes:
  • The PV 6-vector is with respect to the mean equator and equinox of epoch J2000. The orbital elements produced are with respect to the J2000 ecliptic and mean equinox.

  • The mass, PMASS, is important only for the larger planets. For most purposes (e.g. asteroids) use 0D0. Values less than zero are illegal.

  • Three different element-format options are supported:


Option JFORM=1, suitable for the major planets:

EPOCH = epoch of elements (TT MJD) ORBINC = inclination i (radians) ANODE = longitude of the ascending node, big omega (radians) PERIH = longitude of perihelion, curly pi (radians) AORQ = mean distance, a (AU) E = eccentricity, e AORL = mean longitude L (radians) DM = daily motion (radians)

Option JFORM=2, suitable for minor planets:

EPOCH = epoch of elements (TT MJD) ORBINC = inclination i (radians) ANODE = longitude of the ascending node, big omega (radians) PERIH = argument of perihelion, little omega (radians) AORQ = mean distance, a (AU) E = eccentricity, e AORL = mean anomaly M (radians)

Option JFORM=3, suitable for comets:

EPOCH = epoch of perihelion (TT MJD) ORBINC = inclination i (radians) ANODE = longitude of the ascending node, big omega (radians) PERIH = argument of perihelion, little omega (radians) AORQ = perihelion distance, q (AU) E = eccentricity, e

  • It may not be possible to generate elements in the form requested through JFORMR. The caller is notified of the form of elements actually returned by means of the JFORM argument:


JFORMR JFORM meaning

1 1 OK - elements are in the requested format 1 2 never happens 1 3 orbit not elliptical

2 1 never happens 2 2 OK - elements are in the requested format 2 3 orbit not elliptical

3 1 never happens 3 2 never happens 3 3 OK - elements are in the requested format

  • The arguments returned for each value of JFORM (cf Note 5: JFORM may not be the same as JFORMR) are as follows:


JFORM 1 2 3 EPOCH t0 t0 T ORBINC i i i ANODE Omega Omega Omega PERIH curly pi omega omega AORQ a a q E e e e AORL L M - DM n - -

where:

t0 is the epoch of the elements (MJD, TT) T " epoch of perihelion (MJD, TT) i " inclination (radians) Omega " longitude of the ascending node (radians) curly pi " longitude of perihelion (radians) omega " argument of perihelion (radians) a " mean distance (AU) q " perihelion distance (AU) e " eccentricity L " longitude (radians, 0-2pi) M " mean anomaly (radians, 0-2pi) n " daily motion (radians)

  • means no value is set

  • At very small inclinations, the longitude of the ascending node ANODE becomes indeterminate and under some circumstances may be set arbitrarily to zero. Similarly, if the orbit is close to circular, the true anomaly becomes indeterminate and under some circumstances may be set arbitrarily to zero. In such cases, the other elements are automatically adjusted to compensate, and so the elements remain a valid description of the orbit.

  • The osculating epoch for the returned elements is the argument DATE.

  • Reference: Sterne, Theodore E., "An Introduction to Celestial Mechanics", Interscience Publishers, 1960



next up previous 250
Next: palPv2ue - Universal elements to position and velocity
Up: Function Descriptions
Previous: palPrenut - Form the matrix of bias-precession-nutation (IAU 2006/2000A)

PAL --- Positional Astronomy Library
Starlink User Note 267
Tim Jenness
2012 March 23
E-mail:starlink@jiscmail.ac.uk

Copyright © 2012 Science and Technology Facilities Council
sun267.htx/node63.html000644 000765 000024 00000014664 12365763733 015050 0ustar00timjstaff000000 000000 palPv2ue - Universal elements to position and velocity

next up previous 250
Next: palPvobs - Position and velocity of an observing station
Up: Function Descriptions
Previous: palPv2el - Position velocity to heliocentirc osculating elements


palPv2ue - Universal elements to position and velocity

Description:
Construct a universal element set based on an instantaneous position and velocity.

Invocation:
void palPv2ue( const double pv[6], double date, double pmass, double u[13], int jstat );

Arguments:

pv = double [6] (Given)
Heliocentric x,y,z,xdot,ydot,zdot of date, (AU,AU/s; Note 1)
date = double (Given)
Date (TT modified Julian Date = JD-2400000.5)
pmass = double (Given)
Mass of the planet (Sun=1; note 2)
u = double [13] (Returned)
Universal orbital elements (Note 3)

  • (0) combined mass (Mm)

  • (1) total energy of the orbit (alpha)

  • (2) reference (osculating) epoch (t0)

  • (3-5) position at reference epoch (r0)

  • (6-8) velocity at reference epoch (v0)

  • (9) heliocentric distance at reference epoch

  • (10) r0.v0

  • (11) date (t)

  • (12) universal eccentric anomaly (psi) of date, approx

jstat = int (Returned)
status: 0 = OK
  • -1 = illegal PMASS

  • -2 = too close to Sun

  • -3 = too slow


Notes:
  • The PV 6-vector can be with respect to any chosen inertial frame, and the resulting universal-element set will be with respect to the same frame. A common choice will be mean equator and ecliptic of epoch J2000.

  • The mass, PMASS, is important only for the larger planets. For most purposes (e.g. asteroids) use 0D0. Values less than zero are illegal.

  • The "universal" elements are those which define the orbit for the purposes of the method of universal variables (see reference). They consist of the combined mass of the two bodies, an epoch, and the position and velocity vectors (arbitrary reference frame) at that epoch. The parameter set used here includes also various quantities that can, in fact, be derived from the other information. This approach is taken to avoiding unnecessary computation and loss of accuracy. The supplementary quantities are (i) alpha, which is proportional to the total energy of the orbit, (ii) the heliocentric distance at epoch, (iii) the outwards component of the velocity at the given epoch, (iv) an estimate of psi, the "universal eccentric anomaly" at a given date and (v) that date.

  • Reference: Everhart, E. & Pitkin, E.T., Am.J.Phys. 51, 712, 1983.



next up previous 250
Next: palPvobs - Position and velocity of an observing station
Up: Function Descriptions
Previous: palPv2el - Position velocity to heliocentirc osculating elements

PAL --- Positional Astronomy Library
Starlink User Note 267
Tim Jenness
2012 March 23
E-mail:starlink@jiscmail.ac.uk

Copyright © 2012 Science and Technology Facilities Council
sun267.htx/node64.html000644 000765 000024 00000010457 12365763733 015045 0ustar00timjstaff000000 000000 palPvobs - Position and velocity of an observing station

next up previous 250
Next: palRdplan - Approximate topocentric apparent RA,Dec of a planet
Up: Function Descriptions
Previous: palPv2ue - Universal elements to position and velocity


palPvobs - Position and velocity of an observing station

Description:
Returns the position and velocity of an observing station.

Invocation:
palPvobs( double p, double h, double stl, double pv[6] )

Arguments:

p = double (Given)
Latitude (geodetic, radians).
h = double (Given)
Height above reference spheroid (geodetic, metres).
stl = double (Given)
Local apparent sidereal time (radians).
pv = double[ 6 ] (Returned)
position/velocity 6-vector (AU, AU/s, true equator and equinox of date).

Notes:
  • The WGS84 reference ellipsoid is used.



next up previous 250
Next: palRdplan - Approximate topocentric apparent RA,Dec of a planet
Up: Function Descriptions
Previous: palPv2ue - Universal elements to position and velocity

PAL --- Positional Astronomy Library
Starlink User Note 267
Tim Jenness
2012 March 23
E-mail:starlink@jiscmail.ac.uk

Copyright © 2012 Science and Technology Facilities Council
sun267.htx/node65.html000644 000765 000024 00000013032 12365763733 015036 0ustar00timjstaff000000 000000 palRdplan - Approximate topocentric apparent RA,Dec of a planet

next up previous 250
Next: palRverot - Velocity component in a given direction due to Earth rotation
Up: Function Descriptions
Previous: palPvobs - Position and velocity of an observing station


palRdplan - Approximate topocentric apparent RA,Dec of a planet

Description:
Approximate topocentric apparent RA,Dec of a planet, and its angular diameter.

Invocation:
void palRdplan( double date, int np, double elong, double phi, double ra, double dec, double diam );

Arguments:

date = double (Given)
MJD of observation (JD-2400000.5) in TDB. For all practical purposes TT can be used instead of TDB, and for many applications UT will do (except for the Moon).
np = int (Given)
Planet: 1 = Mercury 2 = Venus 3 = Moon 4 = Mars 5 = Jupiter 6 = Saturn 7 = Uranus 8 = Neptune else = Sun
elong = double (Given)
Observer's east longitude (radians)
phi = double (Given)
Observer's geodetic latitude (radians)
ra = double (Returned)
RA (topocentric apparent, radians)
dec = double (Returned)
Dec (topocentric apparent, radians)
diam = double (Returned)
Angular diameter (equatorial, radians)

Notes:
  • Unlike with slaRdplan, Pluto is not supported.

  • The longitude and latitude allow correction for geocentric parallax. This is a major effect for the Moon, but in the context of the limited accuracy of the present routine its effect on planetary positions is small (negligible for the outer planets). Geocentric positions can be generated by appropriate use of the routines palDmoon and iauPlan94.



next up previous 250
Next: palRverot - Velocity component in a given direction due to Earth rotation
Up: Function Descriptions
Previous: palPvobs - Position and velocity of an observing station

PAL --- Positional Astronomy Library
Starlink User Note 267
Tim Jenness
2012 March 23
E-mail:starlink@jiscmail.ac.uk

Copyright © 2012 Science and Technology Facilities Council
sun267.htx/node66.html000644 000765 000024 00000011423 12365763733 015041 0ustar00timjstaff000000 000000 palRverot - Velocity component in a given direction due to Earth rotation

next up previous 250
Next: palRvgalc - Velocity component in a given direction due to the rotation of the Galaxy
Up: Function Descriptions
Previous: palRdplan - Approximate topocentric apparent RA,Dec of a planet


palRverot - Velocity component in a given direction due to Earth rotation

Description:
Calculate the velocity component in a given direction due to Earth rotation.

The simple algorithm used assumes a spherical Earth, of a radius chosen to give results accurate to about 0.0005 km/s for observing stations at typical latitudes and heights. For applications requiring greater precision, use the routine palPvobs.


Invocation:
double palRverot ( double phi, double ra, double da, double st );

Arguments:

phi = double (Given)
latitude of observing station (geodetic) (radians)
ra = double (Given)
apparent RA (radians)
da = double (Given)
apparent Dec (radians)
st = double (Given)

Returned Value:

palRverot = double
Component of Earth rotation in direction RA,DA (km/s). The result is ve when the observatory is receding from the given point on the sky.



next up previous 250
Next: palRvgalc - Velocity component in a given direction due to the rotation of the Galaxy
Up: Function Descriptions
Previous: palRdplan - Approximate topocentric apparent RA,Dec of a planet

PAL --- Positional Astronomy Library
Starlink User Note 267
Tim Jenness
2012 March 23
E-mail:starlink@jiscmail.ac.uk

Copyright © 2012 Science and Technology Facilities Council
sun267.htx/node67.html000644 000765 000024 00000011776 12365763733 015055 0ustar00timjstaff000000 000000 palRvgalc - Velocity component in a given direction due to the rotation of the Galaxy

next up previous 250
Next: palRvlg - Velocity component in a given direction due to Galactic rotation and motion of the local group
Up: Function Descriptions
Previous: palRverot - Velocity component in a given direction due to Earth rotation


palRvgalc - Velocity component in a given direction due to the rotation of the Galaxy

Description:
This function returns the Component of dynamical LSR motion in the direction of R2000,D2000. The result is ve when the dynamical LSR is receding from the given point on the sky.

Invocation:
double palRvgalc( double r2000, double d2000 )

Arguments:

r2000 = double (Given)
J2000.0 mean RA (radians)
d2000 = double (Given)
J2000.0 mean Dec (radians)

Returned Value:

Component of dynamical LSR motion in direction R2000,D2000 (km/s).

Notes:
  • The Local Standard of Rest used here is a point in the vicinity of the Sun which is in a circular orbit around the Galactic centre. Sometimes called the "dynamical" LSR, it is not to be confused with a "kinematical" LSR, which is the mean standard of rest of star catalogues or stellar populations.

Reference
  • The orbital speed of 220 km/s used here comes from Kerr & Lynden-Bell (1986), MNRAS, 221, p1023.



next up previous 250
Next: palRvlg - Velocity component in a given direction due to Galactic rotation and motion of the local group
Up: Function Descriptions
Previous: palRverot - Velocity component in a given direction due to Earth rotation

PAL --- Positional Astronomy Library
Starlink User Note 267
Tim Jenness
2012 March 23
E-mail:starlink@jiscmail.ac.uk

Copyright © 2012 Science and Technology Facilities Council
sun267.htx/node68.html000644 000765 000024 00000011254 12365763733 015045 0ustar00timjstaff000000 000000 palRvlg - Velocity component in a given direction due to Galactic rotation and motion of the local group

next up previous 250
Next: palRvlsrd - Velocity component in a given direction due to the Sun's motion with respect to the dynamical Local Standard
Up: Function Descriptions
Previous: palRvgalc - Velocity component in a given direction due to the rotation of the Galaxy


palRvlg - Velocity component in a given direction due to Galactic rotation and motion of the local group

Description:
This function returns the velocity component in a given direction due to the combination of the rotation of the Galaxy and the motion of the Galaxy relative to the mean motion of the local group. The result is ve when the Sun is receding from the given point on the sky.

Invocation:
double palRvlg( double r2000, double d2000 )

Arguments:

r2000 = double (Given)
J2000.0 mean RA (radians)
d2000 = double (Given)
J2000.0 mean Dec (radians)

Returned Value:

Component of SOLAR motion in direction R2000,D2000 (km/s).

Reference
  • IAU Trans 1976, 168, p201.



next up previous 250
Next: palRvlsrd - Velocity component in a given direction due to the Sun's motion with respect to the dynamical Local Standard
Up: Function Descriptions
Previous: palRvgalc - Velocity component in a given direction due to the rotation of the Galaxy

PAL --- Positional Astronomy Library
Starlink User Note 267
Tim Jenness
2012 March 23
E-mail:starlink@jiscmail.ac.uk

Copyright © 2012 Science and Technology Facilities Council
sun267.htx/node69.html000644 000765 000024 00000013356 12365763733 015053 0ustar00timjstaff000000 000000 palRvlsrd - Velocity component in a given direction due to the Sun's motion with respect to the dynamical Local Standard of Rest

next up previous 250
Next: palRvlsrk - Velocity component in a given direction due to the Sun's motion with respect to an adopted kinematic Local
Up: Function Descriptions
Previous: palRvlg - Velocity component in a given direction due to Galactic rotation and motion of the local group


palRvlsrd - Velocity component in a given direction due to the Sun's motion with respect to the dynamical Local Standard of Rest

Description:
This function returns the velocity component in a given direction due to the Sun's motion with respect to the dynamical Local Standard of Rest. The result is ve when the Sun is receding from the given point on the sky.

Invocation:
double palRvlsrd( double r2000, double d2000 )

Arguments:

r2000 = double (Given)
J2000.0 mean RA (radians)
d2000 = double (Given)
J2000.0 mean Dec (radians)

Returned Value:

Component of "peculiar" solar motion in direction R2000,D2000 (km/s).

Notes:
  • The Local Standard of Rest used here is the "dynamical" LSR, a point in the vicinity of the Sun which is in a circular orbit around the Galactic centre. The Sun's motion with respect to the dynamical LSR is called the "peculiar" solar motion.

  • There is another type of LSR, called a "kinematical" LSR. A kinematical LSR is the mean standard of rest of specified star catalogues or stellar populations, and several slightly different kinematical LSRs are in use. The Sun's motion with respect to an agreed kinematical LSR is known as the "standard" solar motion. To obtain a radial velocity correction with respect to an adopted kinematical LSR use the routine sla_RVLSRK.

Reference
  • Delhaye (1965), in "Stars and Stellar Systems", vol 5, p73.



next up previous 250
Next: palRvlsrk - Velocity component in a given direction due to the Sun's motion with respect to an adopted kinematic Local
Up: Function Descriptions
Previous: palRvlg - Velocity component in a given direction due to Galactic rotation and motion of the local group

PAL --- Positional Astronomy Library
Starlink User Note 267
Tim Jenness
2012 March 23
E-mail:starlink@jiscmail.ac.uk

Copyright © 2012 Science and Technology Facilities Council
sun267.htx/node7.html000644 000765 000024 00000011363 12365763733 014757 0ustar00timjstaff000000 000000 palAddet - Add the E-terms to a pre IAU 1976 mean place

next up previous 250
Next: palAirmas - Air mass at given zenith distance
Up: Function Descriptions
Previous: More complex functions


palAddet - Add the E-terms to a pre IAU 1976 mean place

Description:
Add the E-terms (elliptic component of annual aberration) to a pre IAU 1976 mean place to conform to the old catalogue convention.

Invocation:
void palAddet ( double rm, double dm, double eq, double rc, double dc );

Arguments:

rm = double (Given)
RA without E-terms (radians)
dm = double (Given)
Dec without E-terms (radians)
eq = double (Given)
Besselian epoch of mean equator and equinox
rc = double (Returned)
RA with E-terms included (radians)
dc = double (Returned)
Dec with E-terms included (radians)

Notes:
Most star positions from pre-1984 optical catalogues (or derived from astrometry using such stars) embody the E-terms. If it is necessary to convert a formal mean place (for example a pulsar timing position) to one consistent with such a star catalogue, then the RA,Dec should be adjusted using this routine.
See Also
Explanatory Supplement to the Astronomical Ephemeris, section 2D, page 48.


next up previous 250
Next: palAirmas - Air mass at given zenith distance
Up: Function Descriptions
Previous: More complex functions

PAL --- Positional Astronomy Library
Starlink User Note 267
Tim Jenness
2012 March 23
E-mail:starlink@jiscmail.ac.uk

Copyright © 2012 Science and Technology Facilities Council
sun267.htx/node70.html000644 000765 000024 00000013224 12365763733 015035 0ustar00timjstaff000000 000000 palRvlsrk - Velocity component in a given direction due to the Sun's motion with respect to an adopted kinematic Local Standard of Rest

next up previous 250
Next: palSubet - Remove the E-terms from a pre IAU 1976 catalogue RA,Dec
Up: Function Descriptions
Previous: palRvlsrd - Velocity component in a given direction due to the Sun's motion with respect to the dynamical Local Standard


palRvlsrk - Velocity component in a given direction due to the Sun's motion with respect to an adopted kinematic Local Standard of Rest

Description:
This function returns the velocity component in a given direction due to the Sun's motion with respect to an adopted kinematic Local Standard of Rest. The result is ve when the Sun is receding from the given point on the sky.

Invocation:
double palRvlsrk( double r2000, double d2000 )

Arguments:

r2000 = double (Given)
J2000.0 mean RA (radians)
d2000 = double (Given)
J2000.0 mean Dec (radians)

Returned Value:

Component of "standard" solar motion in direction R2000,D2000 (km/s).

Notes:
  • The Local Standard of Rest used here is one of several "kinematical" LSRs in common use. A kinematical LSR is the mean standard of rest of specified star catalogues or stellar populations. The Sun's motion with respect to a kinematical LSR is known as the "standard" solar motion.

  • There is another sort of LSR, the "dynamical" LSR, which is a point in the vicinity of the Sun which is in a circular orbit around the Galactic centre. The Sun's motion with respect to the dynamical LSR is called the "peculiar" solar motion. To obtain a radial velocity correction with respect to the dynamical LSR use the routine sla_RVLSRD.

Reference
  • Delhaye (1965), in "Stars and Stellar Systems", vol 5, p73.



next up previous 250
Next: palSubet - Remove the E-terms from a pre IAU 1976 catalogue RA,Dec
Up: Function Descriptions
Previous: palRvlsrd - Velocity component in a given direction due to the Sun's motion with respect to the dynamical Local Standard

PAL --- Positional Astronomy Library
Starlink User Note 267
Tim Jenness
2012 March 23
E-mail:starlink@jiscmail.ac.uk

Copyright © 2012 Science and Technology Facilities Council
sun267.htx/node71.html000644 000765 000024 00000011655 12365763733 015044 0ustar00timjstaff000000 000000 palSubet - Remove the E-terms from a pre IAU 1976 catalogue RA,Dec

next up previous 250
Next: palSupgal - Convert from supergalactic to galactic coordinates
Up: Function Descriptions
Previous: palRvlsrk - Velocity component in a given direction due to the Sun's motion with respect to an adopted kinematic Local


palSubet - Remove the E-terms from a pre IAU 1976 catalogue RA,Dec

Description:
Remove the E-terms (elliptic component of annual aberration) from a pre IAU 1976 catalogue RA,Dec to give a mean place.

Invocation:
void palSubet ( double rc, double dc, double eq, double rm, double dm );

Arguments:

rc = double (Given)
RA with E-terms included (radians)
dc = double (Given)
Dec with E-terms included (radians)
eq = double (Given)
Besselian epoch of mean equator and equinox
rm = double (Returned)
RA without E-terms (radians)
dm = double (Returned)
Dec without E-terms (radians)

Notes:
Most star positions from pre-1984 optical catalogues (or derived from astrometry using such stars) embody the E-terms. This routine converts such a position to a formal mean place (allowing, for example, comparison with a pulsar timing position).
See Also
Explanatory Supplement to the Astronomical Ephemeris, section 2D, page 48.


next up previous 250
Next: palSupgal - Convert from supergalactic to galactic coordinates
Up: Function Descriptions
Previous: palRvlsrk - Velocity component in a given direction due to the Sun's motion with respect to an adopted kinematic Local

PAL --- Positional Astronomy Library
Starlink User Note 267
Tim Jenness
2012 March 23
E-mail:starlink@jiscmail.ac.uk

Copyright © 2012 Science and Technology Facilities Council
sun267.htx/node72.html000644 000765 000024 00000011300 12365763733 015030 0ustar00timjstaff000000 000000 palSupgal - Convert from supergalactic to galactic coordinates

next up previous 250
Next: palUe2el - Universal elements to heliocentric osculating elements
Up: Function Descriptions
Previous: palSubet - Remove the E-terms from a pre IAU 1976 catalogue RA,Dec


palSupgal - Convert from supergalactic to galactic coordinates

Description:
Transformation from de Vaucouleurs supergalactic coordinates to IAU 1958 galactic coordinates

Invocation:
void palSupgal ( double dsl, double dsb, double dl, double db );

Arguments:

dsl = double (Given)
Supergalactic longitude.
dsb = double (Given)
Supergalactic latitude.
dl = double (Returned)
Galactic longitude.
db = double (Returned)
Galactic latitude.

See Also
  • de Vaucouleurs, de Vaucouleurs, & Corwin, Second Reference Catalogue of Bright Galaxies, U. Texas, page 8.

  • Systems & Applied Sciences Corp., Documentation for the machine-readable version of the above catalogue, Contract NAS 5-26490.


(These two references give different values for the galactic longitude of the supergalactic origin. Both are wrong; the correct value is L2=137.37.)


next up previous 250
Next: palUe2el - Universal elements to heliocentric osculating elements
Up: Function Descriptions
Previous: palSubet - Remove the E-terms from a pre IAU 1976 catalogue RA,Dec

PAL --- Positional Astronomy Library
Starlink User Note 267
Tim Jenness
2012 March 23
E-mail:starlink@jiscmail.ac.uk

Copyright © 2012 Science and Technology Facilities Council
sun267.htx/node73.html000644 000765 000024 00000027077 12365763733 015053 0ustar00timjstaff000000 000000 palUe2el - Universal elements to heliocentric osculating elements

next up previous 250
Next: palUe2pv - Heliocentric position and velocity of a planet, asteroid or comet, from universal elements
Up: Function Descriptions
Previous: palSupgal - Convert from supergalactic to galactic coordinates


palUe2el - Universal elements to heliocentric osculating elements

Description:
Transform universal elements into conventional heliocentric osculating elements.

Invocation:
void palUe2el ( const double u[13], int jformr, int jform, double epoch, double orbinc, double anode, double perih, double aorq, double e, double aorl, double dm, int jstat );

Arguments:

u = const double [13] (Given)
Universal orbital elements (Note 1) (0) combined mass (Mm) (1) total energy of the orbit (alpha) (2) reference (osculating) epoch (t0) (3-5) position at reference epoch (r0) (6-8) velocity at reference epoch (v0) (9) heliocentric distance at reference epoch (10) r0.v0 (11) date (t) (12) universal eccentric anomaly (psi) of date, approx
jformr = int (Given)
Requested element set (1-3; Note 3)
jform = int (Returned)
Element set actually returned (1-3; Note 4)
epoch = double (Returned)
Epoch of elements (TT MJD)
orbinc = double (Returned)
inclination (radians)
anode = double (Returned)
longitude of the ascending node (radians)
perih = double (Returned)
longitude or argument of perihelion (radians)
aorq = double (Returned)
mean distance or perihelion distance (AU)
e = double (Returned)
eccentricity
aorl = double (Returned)
mean anomaly or longitude (radians, JFORM=1,2 only)
dm = double (Returned)
daily motion (radians, JFORM=1 only)
jstat = int (Returned)
status: 0 = OK
  • 1 = illegal combined mass

  • 2 = illegal JFORMR

  • 3 = position/velocity out of range


Notes:
  • The "universal" elements are those which define the orbit for the purposes of the method of universal variables (see reference 2). They consist of the combined mass of the two bodies, an epoch, and the position and velocity vectors (arbitrary reference frame) at that epoch. The parameter set used here includes also various quantities that can, in fact, be derived from the other information. This approach is taken to avoiding unnecessary computation and loss of accuracy. The supplementary quantities are (i) alpha, which is proportional to the total energy of the orbit, (ii) the heliocentric distance at epoch, (iii) the outwards component of the velocity at the given epoch, (iv) an estimate of psi, the "universal eccentric anomaly" at a given date and (v) that date.

  • The universal elements are with respect to the mean equator and equinox of epoch J2000. The orbital elements produced are with respect to the J2000 ecliptic and mean equinox.

  • Three different element-format options are supported:


Option JFORM=1, suitable for the major planets:

EPOCH = epoch of elements (TT MJD) ORBINC = inclination i (radians) ANODE = longitude of the ascending node, big omega (radians) PERIH = longitude of perihelion, curly pi (radians) AORQ = mean distance, a (AU) E = eccentricity, e AORL = mean longitude L (radians) DM = daily motion (radians)

Option JFORM=2, suitable for minor planets:

EPOCH = epoch of elements (TT MJD) ORBINC = inclination i (radians) ANODE = longitude of the ascending node, big omega (radians) PERIH = argument of perihelion, little omega (radians) AORQ = mean distance, a (AU) E = eccentricity, e AORL = mean anomaly M (radians)

Option JFORM=3, suitable for comets:

EPOCH = epoch of perihelion (TT MJD) ORBINC = inclination i (radians) ANODE = longitude of the ascending node, big omega (radians) PERIH = argument of perihelion, little omega (radians) AORQ = perihelion distance, q (AU) E = eccentricity, e

  • It may not be possible to generate elements in the form requested through JFORMR. The caller is notified of the form of elements actually returned by means of the JFORM argument:


JFORMR JFORM meaning

1 1 OK - elements are in the requested format 1 2 never happens 1 3 orbit not elliptical

2 1 never happens 2 2 OK - elements are in the requested format 2 3 orbit not elliptical

3 1 never happens 3 2 never happens 3 3 OK - elements are in the requested format

  • The arguments returned for each value of JFORM (cf Note 6: JFORM may not be the same as JFORMR) are as follows:


JFORM 1 2 3 EPOCH t0 t0 T ORBINC i i i ANODE Omega Omega Omega PERIH curly pi omega omega AORQ a a q E e e e AORL L M - DM n - -

where:

t0 is the epoch of the elements (MJD, TT) T " epoch of perihelion (MJD, TT) i " inclination (radians) Omega " longitude of the ascending node (radians) curly pi " longitude of perihelion (radians) omega " argument of perihelion (radians) a " mean distance (AU) q " perihelion distance (AU) e " eccentricity L " longitude (radians, 0-2pi) M " mean anomaly (radians, 0-2pi) n " daily motion (radians)

  • means no value is set

  • At very small inclinations, the longitude of the ascending node ANODE becomes indeterminate and under some circumstances may be set arbitrarily to zero. Similarly, if the orbit is close to circular, the true anomaly becomes indeterminate and under some circumstances may be set arbitrarily to zero. In such cases, the other elements are automatically adjusted to compensate, and so the elements remain a valid description of the orbit.


See Also:
  • Sterne, Theodore E., "An Introduction to Celestial Mechanics", Interscience Publishers Inc., 1960. Section 6.7, p199.

  • Everhart, E. & Pitkin, E.T., Am.J.Phys. 51, 712, 1983.



next up previous 250
Next: palUe2pv - Heliocentric position and velocity of a planet, asteroid or comet, from universal elements
Up: Function Descriptions
Previous: palSupgal - Convert from supergalactic to galactic coordinates

PAL --- Positional Astronomy Library
Starlink User Note 267
Tim Jenness
2012 March 23
E-mail:starlink@jiscmail.ac.uk

Copyright © 2012 Science and Technology Facilities Council
sun267.htx/node74.html000644 000765 000024 00000016363 12365763733 015050 0ustar00timjstaff000000 000000 palUe2pv - Heliocentric position and velocity of a planet, asteroid or comet, from universal elements

next up previous 250
Next: About this document ...
Up: Function Descriptions
Previous: palUe2el - Universal elements to heliocentric osculating elements


palUe2pv - Heliocentric position and velocity of a planet, asteroid or comet, from universal elements

Description:
Heliocentric position and velocity of a planet, asteroid or comet, starting from orbital elements in the "universal variables" form.

Invocation:
void palUe2pv( double date, double u[13], double pv[6], int jstat );

Arguments:

date = double (Given)
TT Modified Julian date (JD-2400000.5).
u = double [13] (Given & Returned)
Universal orbital elements (updated, see note 1) given (0) combined mass (Mm) " (1) total energy of the orbit (alpha) " (2) reference (osculating) epoch (t0) " (3-5) position at reference epoch (r0) " (6-8) velocity at reference epoch (v0) " (9) heliocentric distance at reference epoch " (10) r0.v0 returned (11) date (t) " (12) universal eccentric anomaly (psi) of date
jstat = int (Returned)
status: 0 = OK
  • 1 = radius vector zero

  • 2 = failed to converge


Notes:
  • The "universal" elements are those which define the orbit for the purposes of the method of universal variables (see reference). They consist of the combined mass of the two bodies, an epoch, and the position and velocity vectors (arbitrary reference frame) at that epoch. The parameter set used here includes also various quantities that can, in fact, be derived from the other information. This approach is taken to avoiding unnecessary computation and loss of accuracy. The supplementary quantities are (i) alpha, which is proportional to the total energy of the orbit, (ii) the heliocentric distance at epoch, (iii) the outwards component of the velocity at the given epoch, (iv) an estimate of psi, the "universal eccentric anomaly" at a given date and (v) that date.

  • The companion routine is palEl2ue. This takes the conventional orbital elements and transforms them into the set of numbers needed by the present routine. A single prediction requires one one call to palEl2ue followed by one call to the present routine; for convenience, the two calls are packaged as the routine sla_PLANEL. Multiple predictions may be made by again calling palEl2ue once, but then calling the present routine multiple times, which is faster than multiple calls to palPlanel.

  • It is not obligatory to use palEl2ue to obtain the parameters. However, it should be noted that because palEl2ue performs its own validation, no checks on the contents of the array U are made by the present routine. in the TT timescale (formerly Ephemeris Time, ET) and is a Modified Julian Date (JD-2400000.5). units (solar masses, AU and canonical days). The position and velocity are not sensitive to the choice of reference frame. The palEl2ue routine in fact produces coordinates with respect to the J2000 equator and equinox.

  • The algorithm was originally adapted from the EPHSLA program of D.H.P.Jones (private communication, 1996). The method is based on Stumpff's Universal Variables.

  • Reference: Everhart, E. & Pitkin, E.T., Am.J.Phys. 51, 712, 1983.



next up previous 250
Next: About this document ...
Up: Function Descriptions
Previous: palUe2el - Universal elements to heliocentric osculating elements

PAL --- Positional Astronomy Library
Starlink User Note 267
Tim Jenness
2012 March 23
E-mail:starlink@jiscmail.ac.uk

Copyright © 2012 Science and Technology Facilities Council
sun267.htx/node75.html000644 000765 000024 00000006723 12365763733 015050 0ustar00timjstaff000000 000000 About this document ...

next up previous 250
Up: PAL Positional Astronomy Library
Previous: palUe2pv - Heliocentric position and velocity of a planet, asteroid or comet, from universal elements

About this document ...

This document was generated using the LaTeX2HTML translator Version 2012-Starlink (1.2)

Copyright © 1993, 1994, 1995, 1996, Nikos Drakos, Computer Based Learning Unit, University of Leeds.
Copyright © 1997, 1998, 1999, Ross Moore, Mathematics Department, Macquarie University, Sydney.

The command line arguments were:
latex2html -init_file .star2html-init -no_subdir -tmp /Users/timj/work/pal/sun267_htx -no_auto_link -local_icons /Users/timj/work/pal/sun267_htx/sun267.tex

The translation was initiated by Tim Jenness on 2014-07-29


next up previous 250
Up: PAL Positional Astronomy Library
Previous: palUe2pv - Heliocentric position and velocity of a planet, asteroid or comet, from universal elements

PAL --- Positional Astronomy Library
Starlink User Note 267
Tim Jenness
2012 March 23
E-mail:starlink@jiscmail.ac.uk

Copyright © 2012 Science and Technology Facilities Council
sun267.htx/node8.html000644 000765 000024 00000011650 12365763733 014757 0ustar00timjstaff000000 000000 palAirmas - Air mass at given zenith distance

next up previous 250
Next: palAmp - Convert star RA,Dec from geocentric apparaent to mean place
Up: Function Descriptions
Previous: palAddet - Add the E-terms to a pre IAU 1976 mean place


palAirmas - Air mass at given zenith distance

Description:
Calculates the airmass at the observed zenith distance.

Invocation:
double palAirmas( double zd );

Arguments:

zd = double (Given)
Observed zenith distance (radians)

Notes:
  • The "observed" zenith distance referred to above means "as affected by refraction".

  • Uses Hardie's (1962) polynomial fit to Bemporad's data for the relative air mass, X, in units of thickness at the zenith as tabulated by Schoenberg (1929). This is adequate for all normal needs as it is accurate to better than 0.1% up to X = 6.8 and better than 1% up to X = 10. Bemporad's tabulated values are unlikely to be trustworthy to such accuracy because of variations in density, pressure and other conditions in the atmosphere from those assumed in his work.

  • The sign of the ZD is ignored.

  • At zenith distances greater than about ZD = 87 degrees the air mass is held constant to avoid arithmetic overflows.

See Also
  • Hardie, R.H., 1962, in "Astronomical Techniques" ed. W.A. Hiltner, University of Chicago Press, p180.

  • Schoenberg, E., 1929, Hdb. d. Ap., Berlin, Julius Springer, 2, 268.



next up previous 250
Next: palAmp - Convert star RA,Dec from geocentric apparaent to mean place
Up: Function Descriptions
Previous: palAddet - Add the E-terms to a pre IAU 1976 mean place

PAL --- Positional Astronomy Library
Starlink User Note 267
Tim Jenness
2012 March 23
E-mail:starlink@jiscmail.ac.uk

Copyright © 2012 Science and Technology Facilities Council
sun267.htx/node9.html000644 000765 000024 00000011073 12365763733 014757 0ustar00timjstaff000000 000000 palAmp - Convert star RA,Dec from geocentric apparaent to mean place

next up previous 250
Next: palAmpqk - Convert star RA,Dec from geocentric apparent to mean place
Up: Function Descriptions
Previous: palAirmas - Air mass at given zenith distance


palAmp - Convert star RA,Dec from geocentric apparaent to mean place

Description:
Convert star RA,Dec from geocentric apparent to mean place. The mean coordinate system is close to ICRS. See palAmpqk for details.

Invocation:
void palAmp ( double ra, double da, double date, double eq, double rm, double dm );

Arguments:

ra = double (Given)
Apparent RA (radians)
dec = double (Given)
Apparent Dec (radians)
date = double (Given)
TDB for apparent place (JD-2400000.5)
eq = double (Given)
Equinox: Julian epoch of mean place.
rm = double (Returned)
Mean RA (radians)
dm = double (Returned)
Mean Dec (radians)

Notes:
  • See palMappa and palAmpqk for details.



next up previous 250
Next: palAmpqk - Convert star RA,Dec from geocentric apparent to mean place
Up: Function Descriptions
Previous: palAirmas - Air mass at given zenith distance

PAL --- Positional Astronomy Library
Starlink User Note 267
Tim Jenness
2012 March 23
E-mail:starlink@jiscmail.ac.uk

Copyright © 2012 Science and Technology Facilities Council
sun267.htx/prev.png000644 000765 000024 00000000427 12365763733 014536 0ustar00timjstaff000000 000000 ‰PNG  IHDR?GŸýT PLTE¿¿¿oooççç[Íã¹tRNS@æØf¹IDATxœ…= Ã0 …_pF—Dà5àK¤÷ t têÞ¡Cñ)éèät-´ªÓ}ñüYÒ#% À¡Æ4”ÒÍ¥d/Çùªåvµë`3 v3tâE$ Sãà™ù£ç°5•ªs}jßf/‹¹šÀŒˆˆ”hQ!žÜäÛ•=KV_³ªN8âK›Àþ8’!û™)Š‚x'‡Éë‘ÒȸÙD˜ˆ¹^Kù ê-êŸþsNH¼!%³IEND®B`‚sun267.htx/prev_g.png000644 000765 000024 00000000507 12365763733 015043 0ustar00timjstaff000000 000000 ‰PNG  IHDR?šJtRNS¿-Mc%IDATxœÍ”ÁuÄ D?~´5ým9î`ÓD:p9€cÇäm.™ÂBBb$9d¾b`Hí¨ž°UI:Bu:±éΓE»-'ƒ}› Øã²ØC|,¤÷tÇ%ì„}yF²sP©ª=šT¯’„¨Â.¢+—9döGƒ+WZ­~paòâÛnP8ðã9ÔâÔ5îil u9ä'»öͩβ ý²‘ÁÖ’á_¼ÿ¹+þxež ôŒUþ+Ôi„Îÿþ@i’ZfG-Κ6)nsU~!ÃL,À’cšˆÔwámP,ßv®zSßñ§Hµ¹Ë=hy™êW:þCý>Gæõ'ÿoå²i=Q)ÂIEND®B`‚sun267.htx/section0.tex000644 000765 000024 00000000727 12365763500 015315 0ustar00timjstaff000000 000000 \section{Introduction} This library provides a C library designed as a API-compatible replacement for the C SLALIB library (SUN/67) and uses a GPL licence so is freely redistributable. Where possible the functions call equivalent SOFA routines (Hohenkerk, C., 2011, Scholarpedia, \textbf{6}, \emph{11404}) and use current IAU 2006 standards. This means that any functions that rely on nutation or precession will return slightly different answers to the SLA functions. sun267.htx/section1.tex000644 000765 000024 00000000507 12365763500 015312 0ustar00timjstaff000000 000000 \section{Citing PAL} If you use PAL in your work please consider citing it. The description paper for PAL is: \emph{PAL: A Positional Astronomy Library}, Jenness, T. \& Berry, D. S., in \emph{Astronomoical Data Anaysis Software and Systems XXII}, Friedel, D. N. (ed), ASP Conf.\ Ser. \textbf{475}, p307. \clearpage \appendix sun267.htx/section10.tex000644 000765 000024 00000007544 12365763500 015402 0ustar00timjstaff000000 000000 \sstroutine{ palDafin }{ Sexagesimal character string to angle }{ \sstdescription{ Extracts an angle from a sexagesimal string with degrees, arcmin, arcsec fields using space or comma delimiters. } \sstinvocation{ void palDafin ( const char $*$string, int $*$ipos, double $*$a, int $*$j ); } \sstarguments{ \sstsubsection{ string = const char $*$ (Given) }{ String containing deg, arcmin, arcsec fields } \sstsubsection{ ipos = int $*$ (Given \& Returned) }{ Position to start decoding {\tt "}string{\tt "}. First character is position 1 for compatibility with SLA. After calling this routine {\tt "}iptr{\tt "} will be positioned after the sexagesimal string. } \sstsubsection{ a = double $*$ (Returned) }{ Angle in radians. } \sstsubsection{ j = int $*$ (Returned) }{ status: 0 = OK $+$1 = default, A unchanged \sstitemlist{ \sstitem 1 = bad degrees ) \sstitem 2 = bad arcminutes ) (note 3) \sstitem 3 = bad arcseconds ) } } } \sstnotes{ \sstitemlist{ \sstitem The first three {\tt "}fields{\tt "} in STRING are degrees, arcminutes, arcseconds, separated by spaces or commas. The degrees field may be signed, but not the others. The decoding is carried out by the palDfltin routine and is free-format. \sstitem Successive fields may be absent, defaulting to zero. For zero status, the only combinations allowed are degrees alone, degrees and arcminutes, and all three fields present. If all three fields are omitted, a status of $+$1 is returned and A is unchanged. In all other cases A is changed. \sstitem Range checking: } The degrees field is not range checked. However, it is expected to be integral unless the other two fields are absent. The arcminutes field is expected to be 0-59, and integral if the arcseconds field is present. If the arcseconds field is absent, the arcminutes is expected to be 0-59.9999... The arcseconds field is expected to be 0-59.9999... \sstitemlist{ \sstitem Decoding continues even when a check has failed. Under these circumstances the field takes the supplied value, defaulting to zero, and the result A is computed and returned. \sstitem Further fields after the three expected ones are not treated as an error. The pointer IPOS is left in the correct state for further decoding with the present routine or with palDfltin etc. See the example, above. \sstitem If STRING contains hours, minutes, seconds instead of degrees etc, or if the required units are turns (or days) instead of radians, the result A should be multiplied as follows: } for to obtain multiply STRING A in A by d {\tt '} {\tt "} radians 1 = 1.0 d {\tt '} {\tt "} turns 1/2pi = 0.1591549430918953358 h m s radians 15 = 15.0 h m s days 15/2pi = 2.3873241463784300365 } \sstdiytopic{ Example }{ argument before after STRING {\tt '}-57 17 44.806 12 34 56.7{\tt '} unchanged IPTR 1 16 (points to 12...) A ? -1.00000D0 J ? 0 } } sun267.htx/section11.tex000644 000765 000024 00000004431 12365763500 015373 0ustar00timjstaff000000 000000 \sstroutine{ palDe2h }{ Equatorial to horizon coordinates: HA,Dec to Az,E }{ \sstdescription{ Convert equatorial to horizon coordinates. } \sstinvocation{ palDe2h( double ha, double dec, double phi, double $*$ az, double $*$ el ); } \sstarguments{ \sstsubsection{ ha = double $*$ (Given) }{ Hour angle (radians) } \sstsubsection{ dec = double $*$ (Given) }{ Declination (radians) } \sstsubsection{ phi = double (Given) }{ Observatory latitude (radians) } \sstsubsection{ az = double $*$ (Returned) }{ Azimuth (radians) } \sstsubsection{ el = double $*$ (Returned) }{ Elevation (radians) } } \sstnotes{ \sstitemlist{ \sstitem All the arguments are angles in radians. \sstitem Azimuth is returned in the range 0-2pi; north is zero, and east is $+$pi/2. Elevation is returned in the range $+$/-pi/2. \sstitem The latitude must be geodetic. In critical applications, corrections for polar motion should be applied. \sstitem In some applications it will be important to specify the correct type of hour angle and declination in order to produce the required type of azimuth and elevation. In particular, it may be important to distinguish between elevation as affected by refraction, which would require the {\tt "}observed{\tt "} HA,Dec, and the elevation in vacuo, which would require the {\tt "}topocentric{\tt "} HA,Dec. If the effects of diurnal aberration can be neglected, the {\tt "}apparent{\tt "} HA,Dec may be used instead of the topocentric HA,Dec. \sstitem No range checking of arguments is carried out. \sstitem In applications which involve many such calculations, rather than calling the present routine it will be more efficient to use inline code, having previously computed fixed terms such as sine and cosine of latitude, and (for tracking a star) sine and cosine of declination. } } } sun267.htx/section12.tex000644 000765 000024 00000004015 12365763500 015372 0ustar00timjstaff000000 000000 \sstroutine{ palDeuler }{ Form a rotation matrix from the Euler angles }{ \sstdescription{ A rotation is positive when the reference frame rotates anticlockwise as seen looking towards the origin from the positive region of the specified axis. The characters of ORDER define which axes the three successive rotations are about. A typical value is {\tt '}ZXZ{\tt '}, indicating that RMAT is to become the direction cosine matrix corresponding to rotations of the reference frame through PHI radians about the old Z-axis, followed by THETA radians about the resulting X-axis, then PSI radians about the resulting Z-axis. The axis names can be any of the following, in any order or combination: X, Y, Z, uppercase or lowercase, 1, 2, 3. Normal axis labelling/numbering conventions apply; the xyz (=123) triad is right-handed. Thus, the {\tt '}ZXZ{\tt '} example given above could be written {\tt '}zxz{\tt '} or {\tt '}313{\tt '} (or even {\tt '}ZxZ{\tt '} or {\tt '}3xZ{\tt '}). ORDER is terminated by length or by the first unrecognized character. Fewer than three rotations are acceptable, in which case the later angle arguments are ignored. If all rotations are zero, the identity matrix is produced. } \sstinvocation{ void palDeuler ( const char $*$order, double phi, double theta, double psi, double rmat[3][3] ); } \sstarguments{ \sstsubsection{ order = const char[] (Given) }{ Specifies about which axes the rotation occurs } \sstsubsection{ phi = double (Given) }{ 1st rotation (radians) } \sstsubsection{ theta = double (Given) }{ 2nd rotation (radians) } \sstsubsection{ psi = double (Given) }{ 3rd rotation (radians) } \sstsubsection{ rmat = double[3][3] (Given \& Returned) }{ Rotation matrix } } } sun267.htx/section13.tex000644 000765 000024 00000004237 12365763500 015401 0ustar00timjstaff000000 000000 \sstroutine{ palDfltin }{ Convert free-format input into double precision floating point }{ \sstdescription{ Extracts a number from an input string starting at the specified index. } \sstinvocation{ void palDfltin( const char $*$ string, int $*$nstrt, double $*$dreslt, int $*$jflag ); } \sstarguments{ \sstsubsection{ string = const char $*$ (Given) }{ String containing number to be decoded. } \sstsubsection{ nstrt = int $*$ (Given and Returned) }{ Character number indicating where decoding should start. On output its value is updated to be the location of the possible next value. For compatibility with SLA the first character is index 1. } \sstsubsection{ dreslt = double $*$ (Returned) }{ Result. Not updated when jflag=1. } \sstsubsection{ jflag = int $*$ (Returned) }{ status: -1 = -OK, 0 = $+$OK, 1 = null, 2 = error } } \sstnotes{ \sstitemlist{ \sstitem Uses the strtod() system call to do the parsing. This may lead to subtle differences when compared to the SLA/F parsing. \sstitem All {\tt "}D{\tt "} characters are converted to {\tt "}E{\tt "} to handle fortran exponents. \sstitem Commas are recognized as a special case and are skipped if one happens to be the next character when updating nstrt. Additionally the output nstrt position will skip past any trailing space. \sstitem If no number can be found flag will be set to 1. \sstitem If the number overflows or underflows jflag will be set to 2. For overflow the returned result will have the value HUGE\_VAL, for underflow it will have the value 0.0. \sstitem For compatiblity with SLA/F -0 will be returned as {\tt "}0{\tt "} with jflag == -1. \sstitem Unlike slaDfltin a standalone {\tt "}E{\tt "} will return status 1 (could not find a number) rather than 2 (bad number). } } } sun267.htx/section14.tex000644 000765 000024 00000004330 12365763500 015374 0ustar00timjstaff000000 000000 \sstroutine{ palDh2e }{ Horizon to equatorial coordinates: Az,El to HA,Dec }{ \sstdescription{ Convert horizon to equatorial coordinates. } \sstinvocation{ palDh2e( double az, double el, double phi, double $*$ ha, double $*$ dec ); } \sstarguments{ \sstsubsection{ az = double (Given) }{ Azimuth (radians) } \sstsubsection{ el = double (Given) }{ Elevation (radians) } \sstsubsection{ phi = double (Given) }{ Observatory latitude (radians) } \sstsubsection{ ha = double $*$ (Returned) }{ Hour angle (radians) } \sstsubsection{ dec = double $*$ (Returned) }{ Declination (radians) } } \sstnotes{ \sstitemlist{ \sstitem All the arguments are angles in radians. \sstitem The sign convention for azimuth is north zero, east $+$pi/2. \sstitem HA is returned in the range $+$/-pi. Declination is returned in the range $+$/-pi/2. \sstitem The latitude is (in principle) geodetic. In critical applications, corrections for polar motion should be applied. \sstitem In some applications it will be important to specify the correct type of elevation in order to produce the required type of HA,Dec. In particular, it may be important to distinguish between the elevation as affected by refraction, which will yield the {\tt "}observed{\tt "} HA,Dec, and the elevation in vacuo, which will yield the {\tt "}topocentric{\tt "} HA,Dec. If the effects of diurnal aberration can be neglected, the topocentric HA,Dec may be used as an approximation to the {\tt "}apparent{\tt "} HA,Dec. \sstitem No range checking of arguments is done. \sstitem In applications which involve many such calculations, rather than calling the present routine it will be more efficient to use inline code, having previously computed fixed terms such as sine and cosine of latitude. } } } sun267.htx/section15.tex000644 000765 000024 00000001762 12365763500 015403 0ustar00timjstaff000000 000000 \sstroutine{ palDjcal }{ Modified Julian Date to Gregorian Calendar }{ \sstdescription{ Modified Julian Date to Gregorian Calendar, expressed in a form convenient for formatting messages (namely rounded to a specified precision, and with the fields stored in a single array) } \sstinvocation{ void palDjcal ( int ndp, double djm, int iymdf[4], int $*$j ); } \sstarguments{ \sstsubsection{ ndp = int (Given) }{ Number of decimal places of days in fraction. } \sstsubsection{ djm = double (Given) }{ Modified Julian Date (JD-2400000.5) } \sstsubsection{ iymdf[4] = int[] (Returned) }{ Year, month, day, fraction in Gregorian calendar. } \sstsubsection{ j = status (Returned) }{ 0 = OK. See iauJd2cal for other values. } } \sstnotes{ \sstitemlist{ \sstitem Uses iauJd2cal } } } sun267.htx/section16.tex000644 000765 000024 00000003400 12365763500 015373 0ustar00timjstaff000000 000000 \sstroutine{ palDmat }{ Matrix inversion \& solution of simultaneous equations }{ \sstdescription{ Matrix inversion \& solution of simultaneous equations For the set of n simultaneous equations in n unknowns: A.Y = X this routine calculates the inverse of A, the determinant of matrix A and the vector of N unknowns. } \sstinvocation{ void palDmat( int n, double $*$a, double $*$y, double $*$d, int $*$jf, int $*$iw ); } \sstarguments{ \sstsubsection{ n = int (Given) }{ Number of simultaneous equations and number of unknowns. } \sstsubsection{ a = double[] (Given \& Returned) }{ A non-singular NxN matrix (implemented as a contiguous block of memory). After calling this routine {\tt "}a{\tt "} contains the inverse of the matrix. } \sstsubsection{ y = double[] (Given \& Returned) }{ The vector of N unknowns. On exit this vector contains the N solutions. } \sstsubsection{ d = double $*$ (Returned) }{ The determinant. } \sstsubsection{ jf = int $*$ (Returned) }{ The singularity flag. If the matrix is non-singular, jf=0 is returned. If the matrix is singular, jf=-1 \& d=0.0 are returned. In the latter case, the contents of array {\tt "}a{\tt "} on return are undefined. } } \sstnotes{ \sstitemlist{ \sstitem Implemented using Gaussian elimination with partial pivoting. \sstitem Optimized for speed rather than accuracy with errors 1 to 4 times those of routines optimized for accuracy. } } } sun267.htx/section17.tex000644 000765 000024 00000002734 12365763500 015405 0ustar00timjstaff000000 000000 \sstroutine{ palDs2tp }{ Spherical to tangent plane projection }{ \sstdescription{ Projection of spherical coordinates onto tangent plane: {\tt "}gnomonic{\tt "} projection - {\tt "}standard coordinates{\tt "} } \sstinvocation{ palDs2tp( double ra, double dec, double raz, double decz, double $*$xi, double $*$eta, int $*$j ); } \sstarguments{ \sstsubsection{ ra = double (Given) }{ RA spherical coordinate of point to be projected (radians) } \sstsubsection{ dec = double (Given) }{ Dec spherical coordinate of point to be projected (radians) } \sstsubsection{ raz = double (Given) }{ RA spherical coordinate of tangent point (radians) } \sstsubsection{ decz = double (Given) }{ Dec spherical coordinate of tangent point (radians) } \sstsubsection{ xi = double $*$ (Returned) }{ First rectangular coordinate on tangent plane (radians) } \sstsubsection{ eta = double $*$ (Returned) }{ Second rectangular coordinate on tangent plane (radians) } \sstsubsection{ j = int $*$ (Returned) }{ status: 0 = OK, star on tangent plane 1 = error, star too far from axis 2 = error, antistar on tangent plane 3 = error, antistar too far from axis } } } sun267.htx/section18.tex000644 000765 000024 00000002333 12365763500 015401 0ustar00timjstaff000000 000000 \sstroutine{ palDtt }{ Return offset between UTC and TT }{ \sstdescription{ Increment to be applied to Coordinated Universal Time UTC to give International Atomic Time (TAI). } \sstinvocation{ dat = palDat( double utc ); } \sstarguments{ \sstsubsection{ utc = double (Given) }{ UTC date as a modified JD (JD-2400000.5) } } \sstreturnedvalue{ \sstsubsection{ dat = double }{ TAI-UTC in seconds } } \sstnotes{ \sstitemlist{ \sstitem This routine converts the MJD argument to calendar date before calling the SOFA iauDat function. \sstitem This routine matches the slaDat interface which differs from the iauDat interface. Consider coding directly to the SOFA interface. \sstitem See iauDat for a description of error conditions when calling this function with a time outside of the UTC range. \sstitem The status argument from iauDat is ignored. This is reasonable since the error codes are mainly related to incorrect calendar dates when calculating the JD internally. } } } sun267.htx/section19.tex000644 000765 000024 00000003760 12365763500 015407 0ustar00timjstaff000000 000000 \sstroutine{ palDmoon }{ Approximate geocentric position and velocity of the Moon }{ \sstdescription{ Calculate the approximate geocentric position of the Moon using a full implementation of the algorithm published by Meeus (l{\tt '}Astronomie, June 1984, p348). } \sstinvocation{ void palDmoon( double date, double pv[6] ); } \sstarguments{ \sstsubsection{ date = double (Given) }{ TDB as a Modified Julian Date (JD-2400000.5) } \sstsubsection{ pv = double [6] (Returned) }{ Moon x,y,z,xdot,ydot,zdot, mean equator and equinox of date (AU, AU/s) } } \sstnotes{ \sstitemlist{ \sstitem Meeus quotes accuracies of 10 arcsec in longitude, 3 arcsec in latitude and 0.2 arcsec in HP (equivalent to about 20 km in distance). Comparison with JPL DE200 over the interval 1960-2025 gives RMS errors of 3.7 arcsec and 83 mas/hour in longitude, 2.3 arcsec and 48 mas/hour in latitude, 11 km and 81 mm/s in distance. The maximum errors over the same interval are 18 arcsec and 0.50 arcsec/hour in longitude, 11 arcsec and 0.24 arcsec/hour in latitude, 40 km and 0.29 m/s in distance. \sstitem The original algorithm is expressed in terms of the obsolete timescale Ephemeris Time. Either TDB or TT can be used, but not UT without incurring significant errors (30 arcsec at the present time) due to the Moon{\tt '}s 0.5 arcsec/sec movement. \sstitem The algorithm is based on pre IAU 1976 standards. However, the result has been moved onto the new (FK5) equinox, an adjustment which is in any case much smaller than the intrinsic accuracy of the procedure. \sstitem Velocity is obtained by a complete analytical differentiation of the Meeus model. } } } sun267.htx/section2.tex000644 000765 000024 00000000061 12365763500 015306 0ustar00timjstaff000000 000000 \section{\label{APP:SPEC}Function Descriptions} sun267.htx/section20.tex000644 000765 000024 00000000712 12365763500 015371 0ustar00timjstaff000000 000000 \sstroutine{ palDrange }{ Normalize angle into range $+$/- pi }{ \sstdescription{ The result is {\tt "}angle{\tt "} expressed in the range $+$/- pi. If the supplied value for {\tt "}angle{\tt "} is equal to $+$/- pi, it is returned unchanged. } \sstinvocation{ palDrange( double angle ) } \sstarguments{ \sstsubsection{ angle = double (Given) }{ The angle in radians. } } } sun267.htx/section21.tex000644 000765 000024 00000003746 12365763500 015404 0ustar00timjstaff000000 000000 \sstroutine{ palDt }{ Estimate the offset between dynamical time and UT }{ \sstdescription{ Estimate the offset between dynamical time and Universal Time for a given historical epoch. } \sstinvocation{ double palDt( double epoch ); } \sstarguments{ \sstsubsection{ epoch = double (Given) }{ Julian epoch (e.g. 1850.0) } } \sstreturnedvalue{ \sstsubsection{ palDt = double }{ Rough estimate of ET-UT (after 1984, TT-UT) at the given epoch, in seconds. } } \sstnotes{ \sstitemlist{ \sstitem Depending on the epoch, one of three parabolic approximations is used: } before 979 Stephenson \& Morrison{\tt '}s 390 BC to AD 948 model 979 to 1708 Stephenson \& Morrison{\tt '}s 948 to 1600 model after 1708 McCarthy \& Babcock{\tt '}s post-1650 model The breakpoints are chosen to ensure continuity: they occur at places where the adjacent models give the same answer as each other. \sstitemlist{ \sstitem The accuracy is modest, with errors of up to 20 sec during the interval since 1650, rising to perhaps 30 min by 1000 BC. Comparatively accurate values from AD 1600 are tabulated in the Astronomical Almanac (see section K8 of the 1995 AA). \sstitem The use of double-precision for both argument and result is purely for compatibility with other SLALIB time routines. \sstitem The models used are based on a lunar tidal acceleration value of -26.00 arcsec per century. } } \sstdiytopic{ See Also }{ Explanatory Supplement to the Astronomical Almanac, ed P.K.Seidelmann, University Science Books (1992), section 2.553, p83. This contains references to the Stephenson \& Morrison and McCarthy \& Babcock papers. } } sun267.htx/section22.tex000644 000765 000024 00000002153 12365763500 015374 0ustar00timjstaff000000 000000 \sstroutine{ palDtp2s }{ Tangent plane to spherical coordinates }{ \sstdescription{ Transform tangent plane coordinates into spherical. } \sstinvocation{ palDtp2s( double xi, double eta, double raz, double decz, double $*$ra, double $*$dec); } \sstarguments{ \sstsubsection{ xi = double (Given) }{ First rectangular coordinate on tangent plane (radians) } \sstsubsection{ eta = double (Given) }{ Second rectangular coordinate on tangent plane (radians) } \sstsubsection{ raz = double (Given) }{ RA spherical coordinate of tangent point (radians) } \sstsubsection{ decz = double (Given) }{ Dec spherical coordinate of tangent point (radians) } \sstsubsection{ ra = double $*$ (Returned) }{ RA spherical coordinate of point to be projected (radians) } \sstsubsection{ dec = double $*$ (Returned) }{ Dec spherical coordinate of point to be projected (radians) } } } sun267.htx/section23.tex000644 000765 000024 00000005773 12365763500 015410 0ustar00timjstaff000000 000000 \sstroutine{ palDtps2c }{ Determine RA,Dec of tangent point from coordinates }{ \sstdescription{ From the tangent plane coordinates of a star of known RA,Dec, determine the RA,Dec of the tangent point. } \sstinvocation{ palDtps2c( double xi, double eta, double ra, double dec, double $*$ raz1, double decz1, double $*$ raz2, double decz2, int $*$n); } \sstarguments{ \sstsubsection{ xi = double (Given) }{ First rectangular coordinate on tangent plane (radians) } \sstsubsection{ eta = double (Given) }{ Second rectangular coordinate on tangent plane (radians) } \sstsubsection{ ra = double (Given) }{ RA spherical coordinate of star (radians) } \sstsubsection{ dec = double (Given) }{ Dec spherical coordinate of star (radians) } \sstsubsection{ raz1 = double $*$ (Returned) }{ RA spherical coordinate of tangent point, solution 1 (radians) } \sstsubsection{ decz1 = double $*$ (Returned) }{ Dec spherical coordinate of tangent point, solution 1 (radians) } \sstsubsection{ raz2 = double $*$ (Returned) }{ RA spherical coordinate of tangent point, solution 2 (radians) } \sstsubsection{ decz2 = double $*$ (Returned) }{ Dec spherical coordinate of tangent point, solution 2 (radians) } \sstsubsection{ n = int $*$ (Returned) }{ number of solutions: 0 = no solutions returned (note 2) 1 = only the first solution is useful (note 3) 2 = both solutions are useful (note 3) } } \sstnotes{ \sstitemlist{ \sstitem The RAZ1 and RAZ2 values are returned in the range 0-2pi. \sstitem Cases where there is no solution can only arise near the poles. For example, it is clearly impossible for a star at the pole itself to have a non-zero XI value, and hence it is meaningless to ask where the tangent point would have to be to bring about this combination of XI and DEC. \sstitem Also near the poles, cases can arise where there are two useful solutions. The argument N indicates whether the second of the two solutions returned is useful. N=1 indicates only one useful solution, the usual case; under these circumstances, the second solution corresponds to the {\tt "}over-the-pole{\tt "} case, and this is reflected in the values of RAZ2 and DECZ2 which are returned. \sstitem The DECZ1 and DECZ2 values are returned in the range $+$/-pi, but in the usual, non-pole-crossing, case, the range is $+$/-pi/2. \sstitem This routine is the spherical equivalent of the routine sla\_DTPV2C. } } } sun267.htx/section24.tex000644 000765 000024 00000001662 12365763500 015402 0ustar00timjstaff000000 000000 \sstroutine{ palDtt }{ Return offset between UTC and TT }{ \sstdescription{ Increment to be applied to Coordinated Universal Time UTC to give Terrestrial Time TT (formerly Ephemeris Time ET) } \sstinvocation{ dtt = palDtt( double utc ); } \sstarguments{ \sstsubsection{ utc = double (Given) }{ UTC date as a modified JD (JD-2400000.5) } } \sstreturnedvalue{ \sstsubsection{ dtt = double }{ TT-UTC in seconds } } \sstnotes{ \sstitemlist{ \sstitem Consider a comprehensive upgrade to use the time transformations in SOFA{\tt '}s time cookbook: http://www.iausofa.org/sofa\_ts\_c.pdf. \sstitem See iauDat for a description of error conditions when calling this function with a time outside of the UTC range. This behaviour differs from slaDtt. } } } sun267.htx/section25.tex000644 000765 000024 00000001413 12365763500 015375 0ustar00timjstaff000000 000000 \sstroutine{ palEcmat }{ Form the equatorial to ecliptic rotation matrix - IAU 2006 precession model }{ \sstdescription{ The equatorial to ecliptic rotation matrix is found and returned. The matrix is in the sense V(ecl) = RMAT $*$ V(equ); the equator, equinox and ecliptic are mean of date. } \sstinvocation{ palEcmat( double date, double rmat[3][3] ) } \sstarguments{ \sstsubsection{ date = double (Given) }{ TT as Modified Julian Date (JD-2400000.5). The difference between TT and TDB is of the order of a millisecond or two (i.e. about 0.02 arc-seconds). } \sstsubsection{ rmat = double[3][3] (Returned) }{ Rotation matrix } } } sun267.htx/section26.tex000644 000765 000024 00000014764 12365763500 015413 0ustar00timjstaff000000 000000 \sstroutine{ palEl2ue }{ Transform conventional elements into {\tt "}universal{\tt "} form }{ \sstdescription{ Transform conventional osculating elements into {\tt "}universal{\tt "} form. } \sstinvocation{ void palEl2ue ( double date, int jform, double epoch, double orbinc, double anode, double perih, double aorq, double e, double aorl, double dm, double u[13], int $*$jstat ); } \sstarguments{ \sstsubsection{ date = double (Given) }{ Epoch (TT MJD) of osculation (Note 3) } \sstsubsection{ jform = int (Given) }{ Element set actually returned (1-3; Note 6) } \sstsubsection{ epoch = double (Given) }{ Epoch of elements (TT MJD) } \sstsubsection{ orbinc = double (Given) }{ inclination (radians) } \sstsubsection{ anode = double (Given) }{ longitude of the ascending node (radians) } \sstsubsection{ perih = double (Given) }{ longitude or argument of perihelion (radians) } \sstsubsection{ aorq = double (Given) }{ mean distance or perihelion distance (AU) } \sstsubsection{ e = double (Given) }{ eccentricity } \sstsubsection{ aorl = double (Given) }{ mean anomaly or longitude (radians, JFORM=1,2 only) } \sstsubsection{ dm = double (Given) }{ daily motion (radians, JFORM=1 only) } \sstsubsection{ u = double [13] (Returned) }{ Universal orbital elements (Note 1) (0) combined mass (M$+$m) (1) total energy of the orbit (alpha) (2) reference (osculating) epoch (t0) (3-5) position at reference epoch (r0) (6-8) velocity at reference epoch (v0) (9) heliocentric distance at reference epoch (10) r0.v0 (11) date (t) (12) universal eccentric anomaly (psi) of date, approx } \sstsubsection{ jstat = int $*$ (Returned) }{ status: 0 = OK \sstitemlist{ \sstitem 1 = illegal JFORM \sstitem 2 = illegal E \sstitem 3 = illegal AORQ \sstitem 4 = illegal DM \sstitem 5 = numerical error } } } \sstnotes{ \sstitemlist{ \sstitem The {\tt "}universal{\tt "} elements are those which define the orbit for the purposes of the method of universal variables (see reference). They consist of the combined mass of the two bodies, an epoch, and the position and velocity vectors (arbitrary reference frame) at that epoch. The parameter set used here includes also various quantities that can, in fact, be derived from the other information. This approach is taken to avoiding unnecessary computation and loss of accuracy. The supplementary quantities are (i) alpha, which is proportional to the total energy of the orbit, (ii) the heliocentric distance at epoch, (iii) the outwards component of the velocity at the given epoch, (iv) an estimate of psi, the {\tt "}universal eccentric anomaly{\tt "} at a given date and (v) that date. \sstitem The companion routine is palUe2pv. This takes the set of numbers that the present routine outputs and uses them to derive the object{\tt '}s position and velocity. A single prediction requires one call to the present routine followed by one call to palUe2pv; for convenience, the two calls are packaged as the routine palPlanel. Multiple predictions may be made by again calling the present routine once, but then calling palUe2pv multiple times, which is faster than multiple calls to palPlanel. \sstitem DATE is the epoch of osculation. It is in the TT timescale (formerly Ephemeris Time, ET) and is a Modified Julian Date (JD-2400000.5). \sstitem The supplied orbital elements are with respect to the J2000 ecliptic and equinox. The position and velocity parameters returned in the array U are with respect to the mean equator and equinox of epoch J2000, and are for the perihelion prior to the specified epoch. \sstitem The universal elements returned in the array U are in canonical units (solar masses, AU and canonical days). \sstitem Three different element-format options are available: } Option JFORM=1, suitable for the major planets: EPOCH = epoch of elements (TT MJD) ORBINC = inclination i (radians) ANODE = longitude of the ascending node, big omega (radians) PERIH = longitude of perihelion, curly pi (radians) AORQ = mean distance, a (AU) E = eccentricity, e (range 0 to $<$1) AORL = mean longitude L (radians) DM = daily motion (radians) Option JFORM=2, suitable for minor planets: EPOCH = epoch of elements (TT MJD) ORBINC = inclination i (radians) ANODE = longitude of the ascending node, big omega (radians) PERIH = argument of perihelion, little omega (radians) AORQ = mean distance, a (AU) E = eccentricity, e (range 0 to $<$1) AORL = mean anomaly M (radians) Option JFORM=3, suitable for comets: EPOCH = epoch of perihelion (TT MJD) ORBINC = inclination i (radians) ANODE = longitude of the ascending node, big omega (radians) PERIH = argument of perihelion, little omega (radians) AORQ = perihelion distance, q (AU) E = eccentricity, e (range 0 to 10) \sstitemlist{ \sstitem Unused elements (DM for JFORM=2, AORL and DM for JFORM=3) are not accessed. \sstitem The algorithm was originally adapted from the EPHSLA program of D.H.P.Jones (private communication, 1996). The method is based on Stumpff{\tt '}s Universal Variables. } } \sstdiytopic{ See Also }{ Everhart \& Pitkin, Am.J.Phys. 51, 712 (1983). } } sun267.htx/section27.tex000644 000765 000024 00000002471 12365763500 015404 0ustar00timjstaff000000 000000 \sstroutine{ palEpco }{ Convert an epoch into the appropriate form - {\tt '}B{\tt '} or {\tt '}J{\tt '} }{ \sstdescription{ Converts a Besselian or Julian epoch to a Julian or Besselian epoch. } \sstinvocation{ double palEpco( char k0, char k, double e ); } \sstarguments{ \sstsubsection{ k0 = char (Given) }{ Form of result: {\tt '}B{\tt '}=Besselian, {\tt '}J{\tt '}=Julian } \sstsubsection{ k = char (Given) }{ Form of given epoch: {\tt '}B{\tt '} or {\tt '}J{\tt '}. } } \sstnotes{ \sstitemlist{ \sstitem The result is always either equal to or very close to the given epoch E. The routine is required only in applications where punctilious treatment of heterogeneous mixtures of star positions is necessary. \sstitem k and k0 are case insensitive. This differes slightly from the Fortran SLA implementation. \sstitem k and k0 are not validated. They are interpreted as follows: o If k0 and k are the same the result is e o If k0 is {\tt '}b{\tt '} or {\tt '}B{\tt '} and k isn{\tt '}t the conversion is J to B. o In all other cases, the conversion is B to J. } } } sun267.htx/section28.tex000644 000765 000024 00000002251 12365763500 015401 0ustar00timjstaff000000 000000 \sstroutine{ palEpv }{ Earth position and velocity with respect to the BCRS }{ \sstdescription{ Earth position and velocity, heliocentric and barycentric, with respect to the Barycentric Celestial Reference System. } \sstinvocation{ void palEpv( double date, double ph[3], double vh[3], double pb[3], double vb[3] ); } \sstarguments{ \sstsubsection{ date = double (Given) }{ Date, TDB Modified Julian Date (JD-2400000.5) } \sstsubsection{ ph = double [3] (Returned) }{ Heliocentric Earth position (AU) } \sstsubsection{ vh = double [3] (Returned) }{ Heliocentric Earth velocity (AU/day) } \sstsubsection{ pb = double [3] (Returned) }{ Barycentric Earth position (AU) } \sstsubsection{ vb = double [3] (Returned) }{ Barycentric Earth velocity (AU/day) } } \sstnotes{ \sstitemlist{ \sstitem See iauEpv00 for details on accuracy \sstitem Note that the status argument from iauEpv00 is ignored } } } sun267.htx/section29.tex000644 000765 000024 00000001745 12365763500 015411 0ustar00timjstaff000000 000000 \sstroutine{ palEtrms }{ Compute the E-terms vector }{ \sstdescription{ Computes the E-terms (elliptic component of annual aberration) vector. Note the use of the J2000 aberration constant (20.49552 arcsec). This is a reflection of the fact that the E-terms embodied in existing star catalogues were computed from a variety of aberration constants. Rather than adopting one of the old constants the latest value is used here. } \sstinvocation{ void palEtrms ( double ep, double ev[3] ); } \sstarguments{ \sstsubsection{ ep = double (Given) }{ Besselian epoch } \sstsubsection{ ev = double [3] (Returned) }{ E-terms as (dx,dy,dz) } } \sstdiytopic{ See also }{ \sstitemlist{ \sstitem Smith, C.A. et al., 1989. Astr.J. 97, 265. \sstitem Yallop, B.D. et al., 1989. Astr.J. 97, 274. } } } sun267.htx/section3.tex000644 000765 000024 00000003056 12365763500 015316 0ustar00timjstaff000000 000000 \subsection{SOFA Mappings} The following table lists PAL/SLA functions that have direct replacements in SOFA. Whilst these routines are implemented in the PAL library using SOFA new code should probably call SOFA directly. \begin{tabular}{ll} SLA/PAL & SOFA \\ \texttt{palCldj} & \texttt{iauCal2jd} \\ \texttt{palDbear} & \texttt{iauPas} \\ \texttt{palDaf2r} & \texttt{iauAf2a} \\ \texttt{palDav2m} & \texttt{iauRv2m} \\ \texttt{palDcc2s} & \texttt{iauC2s} \\ \texttt{palDcs2c} & \texttt{iauS2c} \\ \texttt{palDd2tf} & \texttt{iauD2tf}\\ \texttt{palDimxv} & \texttt{iauTrxp}\\ \texttt{palDm2av} & \texttt{iauRm2v}\\ \texttt{palDjcl} & \texttt{iauJd2cal}\\ \texttt{palDmxm} & \texttt{iauRxr}\\ \texttt{palDmxv} & \texttt{iauRxp}\\ \texttt{palDpav} & \texttt{iauPap}\\ \texttt{palDr2af} & \texttt{iauA2af}\\ \texttt{palDr2tf} & \texttt{iauA2tf}\\ \texttt{palDranrm} & \texttt{iauAnp}\\ \texttt{palDsep} & \texttt{iauSeps}\\ \texttt{palDsepv} & \texttt{iauSepp}\\ \texttt{palDtf2d} & \texttt{iauTf2d}\\ \texttt{palDtf2r} & \texttt{iauTf2a}\\ \texttt{palDvdv} & \texttt{iauPdp}\\ \texttt{palDvn} & \texttt{iauPn}\\ \texttt{palDvxv} & \texttt{iauPxp}\\ \texttt{palEpb} & \texttt{iauEpb}\\ \texttt{palEpb2d} & \texttt{iauEpb2d}\\ \texttt{palEpj} & \texttt{iauEpj}\\ \texttt{palEpj2d} & \texttt{iauEpj2jd}\\ \texttt{palEqeqx} & \texttt{iauEe06a}\\ \texttt{palFk5hz} & \texttt{iauFk5hz} \textit{also calls iauEpj2jd}\\ \texttt{palGmst} & \texttt{iauGmst06}\\ \texttt{palGmsta} & \texttt{iauGmst06}\\ \texttt{palHfk5z} & \texttt{iauHfk5z} \textit{also calls iauEpj2jd}\\ \end{tabular} sun267.htx/section30.tex000644 000765 000024 00000002114 12365763500 015370 0ustar00timjstaff000000 000000 \sstroutine{ palEqecl }{ Transform from J2000.0 equatorial coordinates to ecliptic coordinates }{ \sstdescription{ Transform from J2000.0 equatorial coordinates to ecliptic coordinates. } \sstinvocation{ void palEqecl( double dr, double dd, double date, double $*$dl, double $*$db); } \sstarguments{ \sstsubsection{ dr = double (Given) }{ J2000.0 mean RA (radians) } \sstsubsection{ dd = double (Given) }{ J2000.0 mean Dec (Radians) } \sstsubsection{ date = double (Given) }{ TT as Modified Julian Date (JD-2400000.5). The difference between TT and TDB is of the order of a millisecond or two (i.e. about 0.02 arc-seconds). } \sstsubsection{ dl = double $*$ (Returned) }{ Ecliptic longitude (mean of date, IAU 1980 theory, radians) } \sstsubsection{ db = double $*$ (Returned) }{ Ecliptic latitude (mean of date, IAU 1980 theory, radians) } } } sun267.htx/section31.tex000644 000765 000024 00000002004 12365763500 015367 0ustar00timjstaff000000 000000 \sstroutine{ palEqgal }{ Convert from J2000.0 equatorial coordinates to Galactic }{ \sstdescription{ Transformation from J2000.0 equatorial coordinates to IAU 1958 galactic coordinates. } \sstinvocation{ void palEqgal ( double dr, double dd, double $*$dl, double $*$db ); } \sstarguments{ \sstsubsection{ dr = double (Given) }{ J2000.0 RA (radians) } \sstsubsection{ dd = double (Given) }{ J2000.0 Dec (radians } \sstsubsection{ dl = double $*$ (Returned) }{ Galactic longitude (radians). } \sstsubsection{ db = double $*$ (Returned) }{ Galactic latitude (radians). } } \sstnotes{ The equatorial coordinates are J2000.0. Use the routine palGe50 if conversion to B1950.0 {\tt '}FK4{\tt '} coordinates is required. } \sstdiytopic{ See Also }{ Blaauw et al, Mon.Not.R.Astron.Soc.,121,123 (1960) } } sun267.htx/section32.tex000644 000765 000024 00000002571 12365763500 015401 0ustar00timjstaff000000 000000 \sstroutine{ palEvp }{ Returns the barycentric and heliocentric velocity and position of the Earth }{ \sstdescription{ Returns the barycentric and heliocentric velocity and position of the Earth at a given epoch, given with respect to a specified equinox. For information about accuracy, see the function iauEpv00. } \sstinvocation{ void palEvp( double date, double deqx, double dvb[3], double dpb[3], double dvh[3], double dph[3] ) } \sstarguments{ \sstsubsection{ date = double (Given) }{ TDB (loosely ET) as a Modified Julian Date (JD-2400000.5) } \sstsubsection{ deqx = double (Given) }{ Julian epoch (e.g. 2000.0) of mean equator and equinox of the vectors returned. If deqx $<$= 0.0, all vectors are referred to the mean equator and equinox (FK5) of epoch date. } \sstsubsection{ dvb = double[3] (Returned) }{ Barycentric velocity (AU/s, AU) } \sstsubsection{ dpb = double[3] (Returned) }{ Barycentric position (AU/s, AU) } \sstsubsection{ dvh = double[3] (Returned) }{ heliocentric velocity (AU/s, AU) } \sstsubsection{ dph = double[3] (Returned) }{ Heliocentric position (AU/s, AU) } } } sun267.htx/section33.tex000644 000765 000024 00000007356 12365763500 015410 0ustar00timjstaff000000 000000 \sstroutine{ palFk45z }{ Convert B1950.0 FK4 star data to J2000.0 FK5 assuming zero proper motion in the FK5 frame }{ \sstdescription{ Convert B1950.0 FK4 star data to J2000.0 FK5 assuming zero proper motion in the FK5 frame (double precision) This function converts stars from the Bessel-Newcomb, FK4 system to the IAU 1976, FK5, Fricke system, in such a way that the FK5 proper motion is zero. Because such a star has, in general, a non-zero proper motion in the FK4 system, the routine requires the epoch at which the position in the FK4 system was determined. The method is from Appendix 2 of Ref 1, but using the constants of Ref 4. } \sstinvocation{ palFk45z( double r1950, double d1950, double bepoch, double $*$r2000, double $*$d2000 ) } \sstarguments{ \sstsubsection{ r1950 = double (Given) }{ B1950.0 FK4 RA at epoch (radians). } \sstsubsection{ d1950 = double (Given) }{ B1950.0 FK4 Dec at epoch (radians). } \sstsubsection{ bepoch = double (Given) }{ Besselian epoch (e.g. 1979.3) } \sstsubsection{ r2000 = double (Returned) }{ J2000.0 FK5 RA (Radians). } \sstsubsection{ d2000 = double (Returned) }{ J2000.0 FK5 Dec(Radians). } } \sstnotes{ \sstitemlist{ \sstitem The epoch BEPOCH is strictly speaking Besselian, but if a Julian epoch is supplied the result will be affected only to a negligible extent. \sstitem Conversion from Besselian epoch 1950.0 to Julian epoch 2000.0 only is provided for. Conversions involving other epochs will require use of the appropriate precession, proper motion, and E-terms routines before and/or after palFk45z is called. \sstitem In the FK4 catalogue the proper motions of stars within 10 degrees of the poles do not embody the differential E-term effect and should, strictly speaking, be handled in a different manner from stars outside these regions. However, given the general lack of homogeneity of the star data available for routine astrometry, the difficulties of handling positions that may have been determined from astrometric fields spanning the polar and non-polar regions, the likelihood that the differential E-terms effect was not taken into account when allowing for proper motion in past astrometry, and the undesirability of a discontinuity in the algorithm, the decision has been made in this routine to include the effect of differential E-terms on the proper motions for all stars, whether polar or not. At epoch 2000, and measuring on the sky rather than in terms of dRA, the errors resulting from this simplification are less than 1 milliarcsecond in position and 1 milliarcsecond per century in proper motion. } } \sstdiytopic{ References }{ \sstitemlist{ \sstitem Aoki,S., et al, 1983. Astron.Astrophys., 128, 263. \sstitem Smith, C.A. et al, 1989. {\tt "}The transformation of astrometric catalog systems to the equinox J2000.0{\tt "}. Astron.J. 97, 265. \sstitem Yallop, B.D. et al, 1989. {\tt "}Transformation of mean star places from FK4 B1950.0 to FK5 J2000.0 using matrices in 6-space{\tt "}. Astron.J. 97, 274. \sstitem Seidelmann, P.K. (ed), 1992. {\tt "}Explanatory Supplement to the Astronomical Almanac{\tt "}, ISBN 0-935702-68-7. } } } sun267.htx/section34.tex000644 000765 000024 00000010751 12365763500 015402 0ustar00timjstaff000000 000000 \sstroutine{ palFk524 }{ Convert J2000.0 FK5 star data to B1950.0 FK4 }{ \sstdescription{ This function converts stars from the IAU 1976, FK5, Fricke system, to the Bessel-Newcomb, FK4 system. The precepts of Smith et al (Ref 1) are followed, using the implementation by Yallop et al (Ref 2) of a matrix method due to Standish. Kinoshita{\tt '}s development of Andoyer{\tt '}s post-Newcomb precession is used. The numerical constants from Seidelmann et al (Ref 3) are used canonically. } \sstinvocation{ palFk524( double r2000, double d2000, double dr2000, double dd2000, double p2000, double v2000, double $*$r1950, double $*$d1950, double $*$dr1950, double $*$dd1950, double $*$p1950, double $*$v1950 ) } \sstarguments{ \sstsubsection{ r2000 = double (Given) }{ J2000.0 FK5 RA (radians). } \sstsubsection{ d2000 = double (Given) }{ J2000.0 FK5 Dec (radians). } \sstsubsection{ dr2000 = double (Given) }{ J2000.0 FK5 RA proper motion (rad/Jul.yr) } \sstsubsection{ dd2000 = double (Given) }{ J2000.0 FK5 Dec proper motion (rad/Jul.yr) } \sstsubsection{ p2000 = double (Given) }{ J2000.0 FK5 parallax (arcsec) } \sstsubsection{ v2000 = double (Given) }{ J2000.0 FK5 radial velocity (km/s, $+$ve = moving away) } \sstsubsection{ r1950 = double $*$ (Returned) }{ B1950.0 FK4 RA (radians). } \sstsubsection{ d1950 = double $*$ (Returned) }{ B1950.0 FK4 Dec (radians). } \sstsubsection{ dr1950 = double $*$ (Returned) }{ B1950.0 FK4 RA proper motion (rad/Jul.yr) } \sstsubsection{ dd1950 = double $*$ (Returned) }{ B1950.0 FK4 Dec proper motion (rad/Jul.yr) } \sstsubsection{ p1950 = double $*$ (Returned) }{ B1950.0 FK4 parallax (arcsec) } \sstsubsection{ v1950 = double $*$ (Returned) }{ B1950.0 FK4 radial velocity (km/s, $+$ve = moving away) } } \sstnotes{ \sstitemlist{ \sstitem The proper motions in RA are dRA/dt rather than cos(Dec)$*$dRA/dt, and are per year rather than per century. \sstitem Note that conversion from Julian epoch 2000.0 to Besselian epoch 1950.0 only is provided for. Conversions involving other epochs will require use of the appropriate precession, proper motion, and E-terms routines before and/or after FK524 is called. \sstitem In the FK4 catalogue the proper motions of stars within 10 degrees of the poles do not embody the differential E-term effect and should, strictly speaking, be handled in a different manner from stars outside these regions. However, given the general lack of homogeneity of the star data available for routine astrometry, the difficulties of handling positions that may have been determined from astrometric fields spanning the polar and non-polar regions, the likelihood that the differential E-terms effect was not taken into account when allowing for proper motion in past astrometry, and the undesirability of a discontinuity in the algorithm, the decision has been made in this routine to include the effect of differential E-terms on the proper motions for all stars, whether polar or not. At epoch 2000, and measuring on the sky rather than in terms of dRA, the errors resulting from this simplification are less than 1 milliarcsecond in position and 1 milliarcsecond per century in proper motion. } } \sstdiytopic{ References }{ \sstitemlist{ \sstitem Smith, C.A. et al, 1989. {\tt "}The transformation of astrometric catalog systems to the equinox J2000.0{\tt "}. Astron.J. 97, 265. \sstitem Yallop, B.D. et al, 1989. {\tt "}Transformation of mean star places from FK4 B1950.0 to FK5 J2000.0 using matrices in 6-space{\tt "}. Astron.J. 97, 274. \sstitem Seidelmann, P.K. (ed), 1992. {\tt "}Explanatory Supplement to the Astronomical Almanac{\tt "}, ISBN 0-935702-68-7. } } } sun267.htx/section35.tex000644 000765 000024 00000004616 12365763500 015406 0ustar00timjstaff000000 000000 \sstroutine{ palFk54z }{ Convert a J2000.0 FK5 star position to B1950.0 FK4 assuming zero proper motion and parallax }{ \sstdescription{ This function converts star positions from the IAU 1976, FK5, Fricke system to the Bessel-Newcomb, FK4 system. } \sstinvocation{ palFk54z( double r2000, double d2000, double bepoch, double $*$r1950, double $*$d1950, double $*$dr1950, double $*$dd1950 ) } \sstarguments{ \sstsubsection{ r2000 = double (Given) }{ J2000.0 FK5 RA (radians). } \sstsubsection{ d2000 = double (Given) }{ J2000.0 FK5 Dec (radians). } \sstsubsection{ bepoch = double (Given) }{ Besselian epoch (e.g. 1950.0). } \sstsubsection{ r1950 = double $*$ (Returned) }{ B1950 FK4 RA (radians) at epoch {\tt "}bepoch{\tt "}. } \sstsubsection{ d1950 = double $*$ (Returned) }{ B1950 FK4 Dec (radians) at epoch {\tt "}bepoch{\tt "}. } \sstsubsection{ dr1950 = double $*$ (Returned) }{ B1950 FK4 proper motion (RA) (radians/trop.yr)). } \sstsubsection{ dr1950 = double $*$ (Returned) }{ B1950 FK4 proper motion (Dec) (radians/trop.yr)). } } \sstnotes{ \sstitemlist{ \sstitem The proper motion in RA is dRA/dt rather than cos(Dec)$*$dRA/dt. \sstitem Conversion from Julian epoch 2000.0 to Besselian epoch 1950.0 only is provided for. Conversions involving other epochs will require use of the appropriate precession functions before and after this function is called. \sstitem The FK5 proper motions, the parallax and the radial velocity are presumed zero. \sstitem It is the intention that FK5 should be a close approximation to an inertial frame, so that distant objects have zero proper motion; such objects have (in general) non-zero proper motion in FK4, and this function returns those fictitious proper motions. \sstitem The position returned by this function is in the B1950 reference frame but at Besselian epoch BEPOCH. For comparison with catalogues the {\tt "}bepoch{\tt "} argument will frequently be 1950.0. } } } sun267.htx/section36.tex000644 000765 000024 00000002005 12365763500 015375 0ustar00timjstaff000000 000000 \sstroutine{ palGaleq }{ Convert from galactic to J2000.0 equatorial coordinates }{ \sstdescription{ Transformation from IAU 1958 galactic coordinates to J2000.0 equatorial coordinates. } \sstinvocation{ void palGaleq ( double dl, double db, double $*$dr, double $*$dd ); } \sstarguments{ \sstsubsection{ dl = double (Given) }{ Galactic longitude (radians). } \sstsubsection{ db = double (Given) }{ Galactic latitude (radians). } \sstsubsection{ dr = double $*$ (Returned) }{ J2000.0 RA (radians) } \sstsubsection{ dd = double $*$ (Returned) }{ J2000.0 Dec (radians) } } \sstnotes{ The equatorial coordinates are J2000.0. Use the routine palGe50 if conversion to B1950.0 {\tt '}FK4{\tt '} coordinates is required. } \sstdiytopic{ See Also }{ Blaauw et al, Mon.Not.R.Astron.Soc.,121,123 (1960) } } sun267.htx/section37.tex000644 000765 000024 00000002461 12365763500 015404 0ustar00timjstaff000000 000000 \sstroutine{ palGalsup }{ Convert from galactic to supergalactic coordinates }{ \sstdescription{ Transformation from IAU 1958 galactic coordinates to de Vaucouleurs supergalactic coordinates. } \sstinvocation{ void palGalsup ( double dl, double db, double $*$dsl, double $*$dsb ); } \sstarguments{ \sstsubsection{ dl = double (Given) }{ Galactic longitude. } \sstsubsection{ db = double (Given) }{ Galactic latitude. } \sstsubsection{ dsl = double $*$ (Returned) }{ Supergalactic longitude. } \sstsubsection{ dsb = double $*$ (Returned) }{ Supergalactic latitude. } } \sstdiytopic{ See Also }{ \sstitemlist{ \sstitem de Vaucouleurs, de Vaucouleurs, \& Corwin, Second Reference Catalogue of Bright Galaxies, U. Texas, page 8. \sstitem Systems \& Applied Sciences Corp., Documentation for the machine-readable version of the above catalogue, Contract NAS 5-26490. } (These two references give different values for the galactic longitude of the supergalactic origin. Both are wrong; the correct value is L2=137.37.) } } sun267.htx/section38.tex000644 000765 000024 00000002127 12365763500 015404 0ustar00timjstaff000000 000000 \sstroutine{ palGe50 }{ Transform Galactic Coordinate to B1950 FK4 }{ \sstdescription{ Transformation from IAU 1958 galactic coordinates to B1950.0 {\tt '}FK4{\tt '} equatorial coordinates. } \sstinvocation{ palGe50( double dl, double db, double $*$dr, double $*$dd ); } \sstarguments{ \sstsubsection{ dl = double (Given) }{ Galactic longitude (radians) } \sstsubsection{ db = double (Given) }{ Galactic latitude (radians) } \sstsubsection{ dr = double $*$ (Returned) }{ B9150.0 FK4 RA. } \sstsubsection{ dd = double $*$ (Returned) }{ B1950.0 FK4 Dec. } } \sstnotes{ \sstitemlist{ \sstitem The equatorial coordinates are B1950.0 {\tt '}FK4{\tt '}. Use the routine palGaleq if conversion to J2000.0 coordinates is required. } } \sstdiytopic{ See Also }{ \sstitemlist{ \sstitem Blaauw et al, Mon.Not.R.Astron.Soc.,121,123 (1960) } } } sun267.htx/section39.tex000644 000765 000024 00000001651 12365763500 015406 0ustar00timjstaff000000 000000 \sstroutine{ palGeoc }{ Convert geodetic position to geocentric }{ \sstdescription{ Convert geodetic position to geocentric. } \sstinvocation{ void palGeoc( double p, double h, double $*$ r, double $*$z ); } \sstarguments{ \sstsubsection{ p = double (Given) }{ latitude (radians) } \sstsubsection{ h = double (Given) }{ height above reference spheroid (geodetic, metres) } \sstsubsection{ r = double $*$ (Returned) }{ distance from Earth axis (AU) } \sstsubsection{ z = double $*$ (Returned) }{ distance from plane of Earth equator (AU) } } \sstnotes{ \sstitemlist{ \sstitem Geocentric latitude can be obtained by evaluating atan2(z,r) \sstitem Uses WGS84 reference ellipsoid and calls iauGd2gc } } } sun267.htx/section4.tex000644 000765 000024 00000000662 12365763500 015317 0ustar00timjstaff000000 000000 \subsection{More complex functions} These functions do not have a simple equivalent in SOFA so are reimplemented either completely standalone or using multiple SOFA functions. %% Regenerate everything after this from the prologues using SST by %% running "make palsun.tex". We do not build this automatically as %% there is no particular need for an SST dependency. %% Some manual tweaking is required after creating the SST tex. sun267.htx/section40.tex000644 000765 000024 00000003400 12365763500 015370 0ustar00timjstaff000000 000000 \sstroutine{ palIntin }{ Convert free-format input into an integer }{ \sstdescription{ Extracts a number from an input string starting at the specified index. } \sstinvocation{ void palIntin( const char $*$ string, int $*$nstrt, long $*$ireslt, int $*$jflag ); } \sstarguments{ \sstsubsection{ string = const char $*$ (Given) }{ String containing number to be decoded. } \sstsubsection{ nstrt = int $*$ (Given and Returned) }{ Character number indicating where decoding should start. On output its value is updated to be the location of the possible next value. For compatibility with SLA the first character is index 1. } \sstsubsection{ ireslt = long $*$ (Returned) }{ Result. Not updated when jflag=1. } \sstsubsection{ jflag = int $*$ (Returned) }{ status: -1 = -OK, 0 = $+$OK, 1 = null, 2 = error } } \sstnotes{ \sstitemlist{ \sstitem Uses the strtol() system call to do the parsing. This may lead to subtle differences when compared to the SLA/F parsing. \sstitem Commas are recognized as a special case and are skipped if one happens to be the next character when updating nstrt. Additionally the output nstrt position will skip past any trailing space. \sstitem If no number can be found flag will be set to 1. \sstitem If the number overflows or underflows jflag will be set to 2. For overflow the returned result will have the value LONG\_MAX, for underflow it will have the value LONG\_MIN. } } } sun267.htx/section41.tex000644 000765 000024 00000003263 12365763500 015400 0ustar00timjstaff000000 000000 \sstroutine{ palMap }{ Convert star RA,Dec from mean place to geocentric apparent }{ \sstdescription{ Convert star RA,Dec from mean place to geocentric apparent. } \sstinvocation{ void palMap( double rm, double dm, double pr, double pd, double px, double rv, double eq, double date, double $*$ra, double $*$da ); } \sstarguments{ \sstsubsection{ rm = double (Given) }{ Mean RA (radians) } \sstsubsection{ dm = double (Given) }{ Mean declination (radians) } \sstsubsection{ pr = double (Given) }{ RA proper motion, changes per Julian year (radians) } \sstsubsection{ pd = double (Given) }{ Dec proper motion, changes per Julian year (radians) } \sstsubsection{ px = double (Given) }{ Parallax (arcsec) } \sstsubsection{ rv = double (Given) }{ Radial velocity (km/s, $+$ve if receding) } \sstsubsection{ eq = double (Given) }{ Epoch and equinox of star data (Julian) } \sstsubsection{ date = double (Given) }{ TDB for apparent place (JD-2400000.5) } \sstsubsection{ ra = double $*$ (Returned) }{ Apparent RA (radians) } \sstsubsection{ dec = double $*$ (Returned) }{ Apparent dec (radians) } } \sstnotes{ \sstitemlist{ \sstitem Calls palMappa and palMapqk \sstitem The reference systems and timescales used are IAU 2006. } } } sun267.htx/section42.tex000644 000765 000024 00000004025 12365763500 015376 0ustar00timjstaff000000 000000 \sstroutine{ palMappa }{ Compute parameters needed by palAmpqk and palMapqk }{ \sstdescription{ Compute star-independent parameters in preparation for transformations between mean place and geocentric apparent place. The parameters produced by this function are required in the parallax, aberration, and nutation/bias/precession parts of the mean/apparent transformations. The reference systems and timescales used are IAU 2006. } \sstinvocation{ void palMappa( double eq, double date, double amprms[21] ) } \sstarguments{ \sstsubsection{ eq = double (Given) }{ epoch of mean equinox to be used (Julian) } \sstsubsection{ date = double (Given) }{ TDB (JD-2400000.5) } \sstsubsection{ amprms = double[21] (Returned) }{ star-independent mean-to-apparent parameters: \sstitemlist{ \sstitem (0) time interval for proper motion (Julian years) \sstitem (1-3) barycentric position of the Earth (AU) \sstitem (4-6) heliocentric direction of the Earth (unit vector) \sstitem (7) (grav rad Sun)$*$2/(Sun-Earth distance) \sstitem (8-10) abv: barycentric Earth velocity in units of c \sstitem (11) sqrt(1-v$*$$*$2) where v=modulus(abv) \sstitem (12-20) precession/nutation (3,3) matrix } } } \sstnotes{ \sstitemlist{ \sstitem For date, the distinction between the required TDB and TT is always negligible. Moreover, for all but the most critical applications UTC is adequate. \sstitem The vector amprms(1-3) is referred to the mean equinox and equator of epoch eq. \sstitem The parameters amprms produced by this function are used by palAmpqk, palMapqk and palMapqkz. } } } sun267.htx/section43.tex000644 000765 000024 00000003763 12365763500 015407 0ustar00timjstaff000000 000000 \sstroutine{ palMapqk }{ Quick mean to apparent place }{ \sstdescription{ Quick mean to apparent place: transform a star RA,Dec from mean place to geocentric apparent place, given the star-independent parameters. Use of this routine is appropriate when efficiency is important and where many star positions, all referred to the same equator and equinox, are to be transformed for one epoch. The star-independent parameters can be obtained by calling the palMappa routine. If the parallax and proper motions are zero the palMapqkz routine can be used instead. } \sstinvocation{ void palMapqk ( double rm, double dm, double pr, double pd, double px, double rv, double amprms[21], double $*$ra, double $*$da ); } \sstarguments{ \sstsubsection{ rm = double (Given) }{ Mean RA (radians) } \sstsubsection{ dm = double (Given) }{ Mean declination (radians) } \sstsubsection{ pr = double (Given) }{ RA proper motion, changes per Julian year (radians) } \sstsubsection{ pd = double (Given) }{ Dec proper motion, changes per Julian year (radians) } \sstsubsection{ px = double (Given) }{ Parallax (arcsec) } \sstsubsection{ rv = double (Given) }{ Radial velocity (km/s, $+$ve if receding) } \sstsubsection{ amprms = double [21] (Given) }{ Star-independent mean-to-apparent parameters (see palMappa). } \sstsubsection{ ra = double $*$ (Returned) }{ Apparent RA (radians) } \sstsubsection{ dec = double $*$ (Returned) }{ Apparent dec (radians) } } \sstnotes{ \sstitemlist{ \sstitem The reference frames and timescales used are post IAU 2006. } } } sun267.htx/section44.tex000644 000765 000024 00000003631 12365763500 015402 0ustar00timjstaff000000 000000 \sstroutine{ palMapqkz }{ Quick mean to apparent place }{ \sstdescription{ Quick mean to apparent place: transform a star RA,dec from mean place to geocentric apparent place, given the star-independent parameters, and assuming zero parallax and proper motion. Use of this function is appropriate when efficiency is important and where many star positions, all with parallax and proper motion either zero or already allowed for, and all referred to the same equator and equinox, are to be transformed for one epoch. The star-independent parameters can be obtained by calling the palMappa function. The corresponding function for the case of non-zero parallax and proper motion is palMapqk. The reference systems and timescales used are IAU 2006. Strictly speaking, the function is not valid for solar-system sources, though the error will usually be extremely small. } \sstinvocation{ void palMapqkz( double rm, double dm, double amprms[21], double $*$ra, double $*$da ) } \sstarguments{ \sstsubsection{ rm = double (Given) }{ Mean RA (radians). } \sstsubsection{ dm = double (Given) }{ Mean Dec (radians). } \sstsubsection{ amprms = double[21] (Given) }{ Star-independent mean-to-apparent parameters (see palMappa): (0-3) not used (4-6) not used (7) not used (8-10) abv: barycentric Earth velocity in units of c (11) sqrt(1-v$*$$*$2) where v=modulus(abv) (12-20) precession/nutation (3,3) matrix } \sstsubsection{ ra = double $*$ (Returned) }{ Apparent RA (radians). } \sstsubsection{ da = double $*$ (Returned) }{ Apparent Dec (radians). } } } sun267.htx/section45.tex000644 000765 000024 00000001762 12365763500 015406 0ustar00timjstaff000000 000000 \sstroutine{ palNut }{ Form the matrix of nutation }{ \sstdescription{ Form the matrix of nutation for a given date using the IAU 2006 nutation model and palDeuler. } \sstinvocation{ void palNut( double date, double rmatn[3][3] ); } \sstarguments{ \sstsubsection{ date = double (Given) }{ TT as modified Julian date (JD-2400000.5) } \sstsubsection{ rmatn = double [3][3] (Returned) }{ Nutation matrix in the sense v(true)=rmatn $*$ v(mean) where v(true) is the star vector relative to the true equator and equinox of date and v(mean) is the star vector relative to the mean equator and equinox of date. } } \sstnotes{ \sstitemlist{ \sstitem Uses iauNut06a via palNutc \sstitem The distinction between TDB and TT is negligible. For all but the most critical applications UTC is adequate. } } } sun267.htx/section46.tex000644 000765 000024 00000002063 12365763500 015402 0ustar00timjstaff000000 000000 \sstroutine{ palNutc }{ Calculate nutation longitude \& obliquoty components }{ \sstdescription{ Calculates the longitude $*$ obliquity components and mean obliquity using the SOFA library. } \sstinvocation{ void palNutc( double date, double $*$ dpsi, double $*$deps, double $*$eps0 ); } \sstarguments{ \sstsubsection{ date = double (Given) }{ TT as modified Julian date (JD-2400000.5) } \sstsubsection{ dpsi = double $*$ (Returned) }{ Nutation in longitude } \sstsubsection{ deps = double $*$ (Returned) }{ Nutation in obliquity } \sstsubsection{ eps0 = double $*$ (Returned) }{ Mean obliquity. } } \sstnotes{ \sstitemlist{ \sstitem Calls iauObl06 and iauNut06a and therefore uses the IAU 206 precession/nutation model. \sstitem Note the change from SLA/F regarding the date. TT is used rather than TDB. } } } sun267.htx/section47.tex000644 000765 000024 00000007547 12365763500 015417 0ustar00timjstaff000000 000000 \sstroutine{ palObs }{ Parameters of selected ground-based observing stations }{ \sstdescription{ Station numbers, identifiers, names and other details are subject to change and should not be hardwired into application programs. All characters in {\tt "}c{\tt "} up to the first space are checked; thus an abbreviated ID will return the parameters for the first station in the list which matches the abbreviation supplied, and no station in the list will ever contain embedded spaces. {\tt "}c{\tt "} must not have leading spaces. IMPORTANT -- BEWARE OF THE LONGITUDE SIGN CONVENTION. The longitude returned by sla\_OBS is west-positive in accordance with astronomical usage. However, this sign convention is left-handed and is the opposite of the one used by geographers; elsewhere in PAL the preferable east-positive convention is used. In particular, note that for use in palAop, palAoppa and palOap the sign of the longitude must be reversed. Users are urged to inform the author of any improvements they would like to see made. For example: typographical corrections more accurate parameters better station identifiers or names additional stations } \sstinvocation{ int palObs( size\_t n, const char $*$ c, char $*$ ident, size\_t identlen, char $*$ name, size\_t namelen, double $*$ w, double $*$ p, double $*$ h ); } \sstarguments{ \sstsubsection{ n = size\_t (Given) }{ Number specifying the observing station. If 0 the identifier in {\tt "}c{\tt "} is used to determine the observing station to use. } \sstsubsection{ c = const char $*$ (Given) }{ Identifier specifying the observing station for which the parameters should be returned. Only used if n is 0. Can be NULL for n$>$0. Case insensitive. } \sstsubsection{ ident = char $*$ (Returned) }{ Identifier of the observing station selected. Will be identical to {\tt "}c{\tt "} if n==0. Unchanged if {\tt "}n{\tt "} or {\tt "}c{\tt "} do not match an observing station. Should be at least 11 characters (including the trailing nul). } \sstsubsection{ identlen = size\_t (Given) }{ Size of the buffer {\tt "}ident{\tt "} including trailing nul. } \sstsubsection{ name = char $*$ (Returned) }{ Full name of the specified observing station. Contains {\tt "}?{\tt "} if {\tt "}n{\tt "} or {\tt "}c{\tt "} did not correspond to a valid station. Should be at least 41 characters (including the trailing nul). } \sstsubsection{ w = double $*$ (Returned) }{ Longitude (radians, West $+$ve). Unchanged if observing station could not be identified. } \sstsubsection{ p = double $*$ (Returned) }{ Geodetic latitude (radians, North $+$ve). Unchanged if observing station could not be identified. } \sstsubsection{ h = double $*$ (Returned) }{ Height above sea level (metres). Unchanged if observing station could not be identified. } } \sstreturnedvalue{ \sstsubsection{ palObs = int }{ 0 if an observing station was returned. -1 if no match was found. } } \sstnotes{ \sstitemlist{ \sstitem Differs from the SLA interface in that the output short name is not the same variable as the input short name. This simplifies consting. Additionally the size of the output buffers are now specified in the API and a status integer is returned. } } } sun267.htx/section48.tex000644 000765 000024 00000002365 12365763500 015411 0ustar00timjstaff000000 000000 \sstroutine{ palPa }{ HA, Dec to Parallactic Angle }{ \sstdescription{ Converts HA, Dec to Parallactic Angle. } \sstinvocation{ double palPa( double ha, double dec, double phi ); } \sstarguments{ \sstsubsection{ ha = double (Given) }{ Hour angle in radians (Geocentric apparent) } \sstsubsection{ dec = double (Given) }{ Declination in radians (Geocentric apparent) } \sstsubsection{ phi = double (Given) }{ Observatory latitude in radians (geodetic) } } \sstreturnedvalue{ \sstsubsection{ palPa = double }{ Parallactic angle in the range -pi to $+$pi. } } \sstnotes{ \sstitemlist{ \sstitem The parallactic angle at a point in the sky is the position angle of the vertical, i.e. the angle between the direction to the pole and to the zenith. In precise applications care must be taken only to use geocentric apparent HA,Dec and to consider separately the effects of atmospheric refraction and telescope mount errors. \sstitem At the pole a zero result is returned. } } } sun267.htx/section49.tex000644 000765 000024 00000014615 12365763500 015413 0ustar00timjstaff000000 000000 \sstroutine{ palPertel }{ Update elements by applying planetary perturbations }{ \sstdescription{ Update the osculating orbital elements of an asteroid or comet by applying planetary perturbations. } \sstinvocation{ void palPertel (int jform, double date0, double date1, double epoch0, double orbi0, double anode0, double perih0, double aorq0, double e0, double am0, double $*$epoch1, double $*$orbi1, double $*$anode1, double $*$perih1, double $*$aorq1, double $*$e1, double $*$am1, int $*$jstat ); } \sstarguments{ \sstsubsection{ jform = int (Given) }{ Element set actually returned (1-3; Note 6) } \sstsubsection{ date0 = double (Given) }{ Date of osculation (TT MJD) for the given elements. } \sstsubsection{ date1 = double (Given) }{ Date of osculation (TT MJD) for the updated elements. } \sstsubsection{ epoch0 = double (Given) }{ Epoch of elements (TT MJD) } \sstsubsection{ orbi0 = double (Given) }{ inclination (radians) } \sstsubsection{ anode0 = double (Given) }{ longitude of the ascending node (radians) } \sstsubsection{ perih0 = double (Given) }{ longitude or argument of perihelion (radians) } \sstsubsection{ aorq0 = double (Given) }{ mean distance or perihelion distance (AU) } \sstsubsection{ e0 = double (Given) }{ eccentricity } \sstsubsection{ am0 = double (Given) }{ mean anomaly (radians, JFORM=2 only) } \sstsubsection{ epoch1 = double $*$ (Returned) }{ Epoch of elements (TT MJD) } \sstsubsection{ orbi1 = double $*$ (Returned) }{ inclination (radians) } \sstsubsection{ anode1 = double $*$ (Returned) }{ longitude of the ascending node (radians) } \sstsubsection{ perih1 = double $*$ (Returned) }{ longitude or argument of perihelion (radians) } \sstsubsection{ aorq1 = double $*$ (Returned) }{ mean distance or perihelion distance (AU) } \sstsubsection{ e1 = double $*$ (Returned) }{ eccentricity } \sstsubsection{ am1 = double $*$ (Returned) }{ mean anomaly (radians, JFORM=2 only) } \sstsubsection{ jstat = int $*$ (Returned) }{ status: \sstitemlist{ \sstitem $+$102 = warning, distant epoch \sstitem $+$101 = warning, large timespan ( $>$ 100 years) \sstitem $+$1 to $+$10 = coincident with planet (Note 6) \sstitem 0 = OK \sstitem -1 = illegal JFORM \sstitem -2 = illegal E0 \sstitem -3 = illegal AORQ0 \sstitem -4 = internal error \sstitem -5 = numerical error } } } \sstnotes{ \sstitemlist{ \sstitem Two different element-format options are available: } Option JFORM=2, suitable for minor planets: EPOCH = epoch of elements (TT MJD) ORBI = inclination i (radians) ANODE = longitude of the ascending node, big omega (radians) PERIH = argument of perihelion, little omega (radians) AORQ = mean distance, a (AU) E = eccentricity, e AM = mean anomaly M (radians) Option JFORM=3, suitable for comets: EPOCH = epoch of perihelion (TT MJD) ORBI = inclination i (radians) ANODE = longitude of the ascending node, big omega (radians) PERIH = argument of perihelion, little omega (radians) AORQ = perihelion distance, q (AU) E = eccentricity, e \sstitemlist{ \sstitem DATE0, DATE1, EPOCH0 and EPOCH1 are all instants of time in the TT timescale (formerly Ephemeris Time, ET), expressed as Modified Julian Dates (JD-2400000.5). } DATE0 is the instant at which the given (i.e. unperturbed) osculating elements are correct. DATE1 is the specified instant at which the updated osculating elements are correct. EPOCH0 and EPOCH1 will be the same as DATE0 and DATE1 (respectively) for the JFORM=2 case, normally used for minor planets. For the JFORM=3 case, the two epochs will refer to perihelion passage and so will not, in general, be the same as DATE0 and/or DATE1 though they may be similar to one another. \sstitemlist{ \sstitem The elements are with respect to the J2000 ecliptic and equinox. \sstitem Unused elements (AM0 and AM1 for JFORM=3) are not accessed. \sstitem See the palPertue routine for details of the algorithm used. \sstitem This routine is not intended to be used for major planets, which is why JFORM=1 is not available and why there is no opportunity to specify either the longitude of perihelion or the daily motion. However, if JFORM=2 elements are somehow obtained for a major planet and supplied to the routine, sensible results will, in fact, be produced. This happens because the sla\_PERTUE routine that is called to perform the calculations checks the separation between the body and each of the planets and interprets a suspiciously small value (0.001 AU) as an attempt to apply it to the planet concerned. If this condition is detected, the contribution from that planet is ignored, and the status is set to the planet number (1-10 = Mercury, Venus, EMB, Mars, Jupiter, Saturn, Uranus, Neptune, Earth, Moon) as a warning. } } \sstdiytopic{ See Also }{ \sstitemlist{ \sstitem Sterne, Theodore E., {\tt "}An Introduction to Celestial Mechanics{\tt "}, Interscience Publishers Inc., 1960. Section 6.7, p199. } } } sun267.htx/section5.tex000644 000765 000024 00000002705 12365763500 015320 0ustar00timjstaff000000 000000 \sstroutine{ palAddet }{ Add the E-terms to a pre IAU 1976 mean place }{ \sstdescription{ Add the E-terms (elliptic component of annual aberration) to a pre IAU 1976 mean place to conform to the old catalogue convention. } \sstinvocation{ void palAddet ( double rm, double dm, double eq, double $*$rc, double $*$dc ); } \sstarguments{ \sstsubsection{ rm = double (Given) }{ RA without E-terms (radians) } \sstsubsection{ dm = double (Given) }{ Dec without E-terms (radians) } \sstsubsection{ eq = double (Given) }{ Besselian epoch of mean equator and equinox } \sstsubsection{ rc = double $*$ (Returned) }{ RA with E-terms included (radians) } \sstsubsection{ dc = double $*$ (Returned) }{ Dec with E-terms included (radians) } } \sstnotes{ Most star positions from pre-1984 optical catalogues (or derived from astrometry using such stars) embody the E-terms. If it is necessary to convert a formal mean place (for example a pulsar timing position) to one consistent with such a star catalogue, then the RA,Dec should be adjusted using this routine. } \sstdiytopic{ See Also }{ Explanatory Supplement to the Astronomical Ephemeris, section 2D, page 48. } } sun267.htx/section50.tex000644 000765 000024 00000017227 12365763500 015405 0ustar00timjstaff000000 000000 \sstroutine{ palPertue }{ Update the universal elements by applying planetary perturbations }{ \sstdescription{ Update the universal elements of an asteroid or comet by applying planetary perturbations. } \sstinvocation{ void palPertue( double date, double u[13], int $*$jstat ); } \sstarguments{ \sstsubsection{ date = double (Given) }{ Final epoch (TT MJD) for the update elements. } \sstsubsection{ u = const double [13] (Given \& Returned) }{ Universal orbital elements (Note 1) (0) combined mass (M$+$m) (1) total energy of the orbit (alpha) (2) reference (osculating) epoch (t0) (3-5) position at reference epoch (r0) (6-8) velocity at reference epoch (v0) (9) heliocentric distance at reference epoch (10) r0.v0 (11) date (t) (12) universal eccentric anomaly (psi) of date, approx } \sstsubsection{ jstat = int $*$ (Returned) }{ status: $+$102 = warning, distant epoch $+$101 = warning, large timespan ( $>$ 100 years) $+$1 to $+$10 = coincident with major planet (Note 5) 0 = OK \sstitemlist{ \sstitem 1 = numerical error } } } \sstnotes{ \sstitemlist{ \sstitem The {\tt "}universal{\tt "} elements are those which define the orbit for the purposes of the method of universal variables (see reference 2). They consist of the combined mass of the two bodies, an epoch, and the position and velocity vectors (arbitrary reference frame) at that epoch. The parameter set used here includes also various quantities that can, in fact, be derived from the other information. This approach is taken to avoiding unnecessary computation and loss of accuracy. The supplementary quantities are (i) alpha, which is proportional to the total energy of the orbit, (ii) the heliocentric distance at epoch, (iii) the outwards component of the velocity at the given epoch, (iv) an estimate of psi, the {\tt "}universal eccentric anomaly{\tt "} at a given date and (v) that date. \sstitem The universal elements are with respect to the J2000 equator and equinox. \sstitem The epochs DATE, U(3) and U(12) are all Modified Julian Dates (JD-2400000.5). \sstitem The algorithm is a simplified form of Encke{\tt '}s method. It takes as a basis the unperturbed motion of the body, and numerically integrates the perturbing accelerations from the major planets. The expression used is essentially Sterne{\tt '}s 6.7-2 (reference 1). Everhart and Pitkin (reference 2) suggest rectifying the orbit at each integration step by propagating the new perturbed position and velocity as the new universal variables. In the present routine the orbit is rectified less frequently than this, in order to gain a slight speed advantage. However, the rectification is done directly in terms of position and velocity, as suggested by Everhart and Pitkin, bypassing the use of conventional orbital elements. } The f(q) part of the full Encke method is not used. The purpose of this part is to avoid subtracting two nearly equal quantities when calculating the {\tt "}indirect member{\tt "}, which takes account of the small change in the Sun{\tt '}s attraction due to the slightly displaced position of the perturbed body. A simpler, direct calculation in double precision proves to be faster and not significantly less accurate. Apart from employing a variable timestep, and occasionally {\tt "}rectifying the orbit{\tt "} to keep the indirect member small, the integration is done in a fairly straightforward way. The acceleration estimated for the middle of the timestep is assumed to apply throughout that timestep; it is also used in the extrapolation of the perturbations to the middle of the next timestep, to predict the new disturbed position. There is no iteration within a timestep. Measures are taken to reach a compromise between execution time and accuracy. The starting-point is the goal of achieving arcsecond accuracy for ordinary minor planets over a ten-year timespan. This goal dictates how large the timesteps can be, which in turn dictates how frequently the unperturbed motion has to be recalculated from the osculating elements. Within predetermined limits, the timestep for the numerical integration is varied in length in inverse proportion to the magnitude of the net acceleration on the body from the major planets. The numerical integration requires estimates of the major-planet motions. Approximate positions for the major planets (Pluto alone is omitted) are obtained from the routine palPlanet. Two levels of interpolation are used, to enhance speed without significantly degrading accuracy. At a low frequency, the routine palPlanet is called to generate updated position$+$velocity {\tt "}state vectors{\tt "}. The only task remaining to be carried out at the full frequency (i.e. at each integration step) is to use the state vectors to extrapolate the planetary positions. In place of a strictly linear extrapolation, some allowance is made for the curvature of the orbit by scaling back the radius vector as the linear extrapolation goes off at a tangent. Various other approximations are made. For example, perturbations by Pluto and the minor planets are neglected and relativistic effects are not taken into account. In the interests of simplicity, the background calculations for the major planets are carried out en masse. The mean elements and state vectors for all the planets are refreshed at the same time, without regard for orbit curvature, mass or proximity. The Earth-Moon system is treated as a single body when the body is distant but as separate bodies when closer to the EMB than the parameter RNE, which incurs a time penalty but improves accuracy for near-Earth objects. \sstitemlist{ \sstitem This routine is not intended to be used for major planets. However, if major-planet elements are supplied, sensible results will, in fact, be produced. This happens because the routine checks the separation between the body and each of the planets and interprets a suspiciously small value (0.001 AU) as an attempt to apply the routine to the planet concerned. If this condition is detected, the contribution from that planet is ignored, and the status is set to the planet number (1-10 = Mercury, Venus, EMB, Mars, Jupiter, Saturn, Uranus, Neptune, Earth, Moon) as a warning. } } \sstdiytopic{ See Also }{ \sstitemlist{ \sstitem Sterne, Theodore E., {\tt "}An Introduction to Celestial Mechanics{\tt "}, Interscience Publishers Inc., 1960. Section 6.7, p199. \sstitem Everhart, E. \& Pitkin, E.T., Am.J.Phys. 51, 712, 1983. } } } sun267.htx/section51.tex000644 000765 000024 00000016347 12365763500 015410 0ustar00timjstaff000000 000000 \sstroutine{ palPlanel }{ Transform conventional elements into position and velocity }{ \sstdescription{ Heliocentric position and velocity of a planet, asteroid or comet, starting from orbital elements. } \sstinvocation{ void palPlanel ( double date, int jform, double epoch, double orbinc, double anode, double perih, double aorq, double e, double aorl, double dm, double pv[6], int $*$jstat ); } \sstarguments{ \sstsubsection{ date = double (Given) }{ Epoch (TT MJD) of osculation (Note 1) } \sstsubsection{ jform = int (Given) }{ Element set actually returned (1-3; Note 3) } \sstsubsection{ epoch = double (Given) }{ Epoch of elements (TT MJD) (Note 4) } \sstsubsection{ orbinc = double (Given) }{ inclination (radians) } \sstsubsection{ anode = double (Given) }{ longitude of the ascending node (radians) } \sstsubsection{ perih = double (Given) }{ longitude or argument of perihelion (radians) } \sstsubsection{ aorq = double (Given) }{ mean distance or perihelion distance (AU) } \sstsubsection{ e = double (Given) }{ eccentricity } \sstsubsection{ aorl = double (Given) }{ mean anomaly or longitude (radians, JFORM=1,2 only) } \sstsubsection{ dm = double (Given) }{ daily motion (radians, JFORM=1 only) } \sstsubsection{ u = double [13] (Returned) }{ Universal orbital elements (Note 1) (0) combined mass (M$+$m) (1) total energy of the orbit (alpha) (2) reference (osculating) epoch (t0) (3-5) position at reference epoch (r0) (6-8) velocity at reference epoch (v0) (9) heliocentric distance at reference epoch (10) r0.v0 (11) date (t) (12) universal eccentric anomaly (psi) of date, approx } \sstsubsection{ jstat = int $*$ (Returned) }{ status: 0 = OK \sstitemlist{ \sstitem -1 = illegal JFORM \sstitem -2 = illegal E \sstitem -3 = illegal AORQ \sstitem -4 = illegal DM \sstitem -5 = numerical error } } } \sstnotes{ \sstitemlist{ \sstitem DATE is the instant for which the prediction is required. It is in the TT timescale (formerly Ephemeris Time, ET) and is a Modified Julian Date (JD-2400000.5). \sstitem The elements are with respect to the J2000 ecliptic and equinox. \sstitem A choice of three different element-set options is available: } Option JFORM = 1, suitable for the major planets: EPOCH = epoch of elements (TT MJD) ORBINC = inclination i (radians) ANODE = longitude of the ascending node, big omega (radians) PERIH = longitude of perihelion, curly pi (radians) AORQ = mean distance, a (AU) E = eccentricity, e (range 0 to $<$1) AORL = mean longitude L (radians) DM = daily motion (radians) Option JFORM = 2, suitable for minor planets: EPOCH = epoch of elements (TT MJD) ORBINC = inclination i (radians) ANODE = longitude of the ascending node, big omega (radians) PERIH = argument of perihelion, little omega (radians) AORQ = mean distance, a (AU) E = eccentricity, e (range 0 to $<$1) AORL = mean anomaly M (radians) Option JFORM = 3, suitable for comets: EPOCH = epoch of elements and perihelion (TT MJD) ORBINC = inclination i (radians) ANODE = longitude of the ascending node, big omega (radians) PERIH = argument of perihelion, little omega (radians) AORQ = perihelion distance, q (AU) E = eccentricity, e (range 0 to 10) Unused arguments (DM for JFORM=2, AORL and DM for JFORM=3) are not accessed. \sstitemlist{ \sstitem Each of the three element sets defines an unperturbed heliocentric orbit. For a given epoch of observation, the position of the body in its orbit can be predicted from these elements, which are called {\tt "}osculating elements{\tt "}, using standard two-body analytical solutions. However, due to planetary perturbations, a given set of osculating elements remains usable for only as long as the unperturbed orbit that it describes is an adequate approximation to reality. Attached to such a set of elements is a date called the {\tt "}osculating epoch{\tt "}, at which the elements are, momentarily, a perfect representation of the instantaneous position and velocity of the body. } Therefore, for any given problem there are up to three different epochs in play, and it is vital to distinguish clearly between them: . The epoch of observation: the moment in time for which the position of the body is to be predicted. . The epoch defining the position of the body: the moment in time at which, in the absence of purturbations, the specified position (mean longitude, mean anomaly, or perihelion) is reached. . The osculating epoch: the moment in time at which the given elements are correct. For the major-planet and minor-planet cases it is usual to make the epoch that defines the position of the body the same as the epoch of osculation. Thus, only two different epochs are involved: the epoch of the elements and the epoch of observation. For comets, the epoch of perihelion fixes the position in the orbit and in general a different epoch of osculation will be chosen. Thus, all three types of epoch are involved. For the present routine: . The epoch of observation is the argument DATE. . The epoch defining the position of the body is the argument EPOCH. . The osculating epoch is not used and is assumed to be close enough to the epoch of observation to deliver adequate accuracy. If not, a preliminary call to sla\_PERTEL may be used to update the element-set (and its associated osculating epoch) by applying planetary perturbations. \sstitemlist{ \sstitem The reference frame for the result is with respect to the mean equator and equinox of epoch J2000. \sstitem The algorithm was originally adapted from the EPHSLA program of D.H.P.Jones (private communication, 1996). The method is based on Stumpff{\tt '}s Universal Variables. } } \sstdiytopic{ See Also }{ Everhart, E. \& Pitkin, E.T., Am.J.Phys. 51, 712, 1983. } } sun267.htx/section52.tex000644 000765 000024 00000002766 12365763500 015411 0ustar00timjstaff000000 000000 \sstroutine{ palPlanet }{ Approximate heliocentric position and velocity of major planet }{ \sstdescription{ Calculates the approximate heliocentric position and velocity of the specified major planet. } \sstinvocation{ void palPlanet ( double date, int np, double pv[6], int $*$j ); } \sstarguments{ \sstsubsection{ date = double (Given) }{ TDB Modified Julian Date (JD-2400000.5). } \sstsubsection{ np = int (Given) }{ planet (1=Mercury, 2=Venus, 3=EMB, 4=Mars, 5=Jupiter, 6=Saturn, 7=Uranus, 8=Neptune) } \sstsubsection{ pv = double [6] (Returned) }{ heliocentric x,y,z,xdot,ydot,zdot, J2000, equatorial triad in units AU and AU/s. } \sstsubsection{ j = int $*$ (Returned) }{ \sstitemlist{ \sstitem -2 = solution didn{\tt '}t converge. \sstitem -1 = illegal np (1-8) \sstitem 0 = OK \sstitem $+$1 = warning: year outside 1000-3000 } } } \sstnotes{ \sstitemlist{ \sstitem See SOFA iauPlan94 for details \sstitem Note that Pluto is supported in SLA/F but not in this routine \sstitem Status -2 is equivalent to iauPlan94 status $+$2. \sstitem Note that velocity units here match the SLA/F documentation. } } } sun267.htx/section53.tex000644 000765 000024 00000022231 12365763500 015377 0ustar00timjstaff000000 000000 \sstroutine{ palPlante }{ Topocentric RA,Dec of a Solar-System object from heliocentric orbital elements }{ \sstdescription{ Topocentric apparent RA,Dec of a Solar-System object whose heliocentric orbital elements are known. } \sstinvocation{ void palPlante ( double date, double elong, double phi, int jform, double epoch, double orbinc, double anode, double perih, double aorq, double e, double aorl, double dm, double $*$ra, double $*$dec, double $*$r, int $*$jstat ); } \sstarguments{ \sstsubsection{ date = double (Given) }{ TT MJD of observation (JD-2400000.5) } \sstsubsection{ elong = double (Given) }{ Observer{\tt '}s east longitude (radians) } \sstsubsection{ phi = double (Given) }{ Observer{\tt '}s geodetic latitude (radians) } \sstsubsection{ jform = int (Given) }{ Element set actually returned (1-3; Note 6) } \sstsubsection{ epoch = double (Given) }{ Epoch of elements (TT MJD) } \sstsubsection{ orbinc = double (Given) }{ inclination (radians) } \sstsubsection{ anode = double (Given) }{ longitude of the ascending node (radians) } \sstsubsection{ perih = double (Given) }{ longitude or argument of perihelion (radians) } \sstsubsection{ aorq = double (Given) }{ mean distance or perihelion distance (AU) } \sstsubsection{ e = double (Given) }{ eccentricity } \sstsubsection{ aorl = double (Given) }{ mean anomaly or longitude (radians, JFORM=1,2 only) } \sstsubsection{ dm = double (Given) }{ daily motion (radians, JFORM=1 only) } \sstsubsection{ ra = double $*$ (Returned) }{ Topocentric apparent RA (radians) } \sstsubsection{ dec = double $*$ (Returned) }{ Topocentric apparent Dec (radians) } \sstsubsection{ r = double $*$ (Returned) }{ Distance from observer (AU) } \sstsubsection{ jstat = int $*$ (Returned) }{ status: 0 = OK \sstitemlist{ \sstitem -1 = illegal jform \sstitem -2 = illegal e \sstitem -3 = illegal aorq \sstitem -4 = illegal dm \sstitem -5 = numerical error } } } \sstnotes{ \sstitemlist{ \sstitem DATE is the instant for which the prediction is required. It is in the TT timescale (formerly Ephemeris Time, ET) and is a Modified Julian Date (JD-2400000.5). \sstitem The longitude and latitude allow correction for geocentric parallax. This is usually a small effect, but can become important for near-Earth asteroids. Geocentric positions can be generated by appropriate use of routines palEpv (or palEvp) and palUe2pv. \sstitem The elements are with respect to the J2000 ecliptic and equinox. \sstitem A choice of three different element-set options is available: } Option JFORM = 1, suitable for the major planets: EPOCH = epoch of elements (TT MJD) ORBINC = inclination i (radians) ANODE = longitude of the ascending node, big omega (radians) PERIH = longitude of perihelion, curly pi (radians) AORQ = mean distance, a (AU) E = eccentricity, e (range 0 to $<$1) AORL = mean longitude L (radians) DM = daily motion (radians) Option JFORM = 2, suitable for minor planets: EPOCH = epoch of elements (TT MJD) ORBINC = inclination i (radians) ANODE = longitude of the ascending node, big omega (radians) PERIH = argument of perihelion, little omega (radians) AORQ = mean distance, a (AU) E = eccentricity, e (range 0 to $<$1) AORL = mean anomaly M (radians) Option JFORM = 3, suitable for comets: EPOCH = epoch of elements and perihelion (TT MJD) ORBINC = inclination i (radians) ANODE = longitude of the ascending node, big omega (radians) PERIH = argument of perihelion, little omega (radians) AORQ = perihelion distance, q (AU) E = eccentricity, e (range 0 to 10) Unused arguments (DM for JFORM=2, AORL and DM for JFORM=3) are not accessed. \sstitemlist{ \sstitem Each of the three element sets defines an unperturbed heliocentric orbit. For a given epoch of observation, the position of the body in its orbit can be predicted from these elements, which are called {\tt "}osculating elements{\tt "}, using standard two-body analytical solutions. However, due to planetary perturbations, a given set of osculating elements remains usable for only as long as the unperturbed orbit that it describes is an adequate approximation to reality. Attached to such a set of elements is a date called the {\tt "}osculating epoch{\tt "}, at which the elements are, momentarily, a perfect representation of the instantaneous position and velocity of the body. } Therefore, for any given problem there are up to three different epochs in play, and it is vital to distinguish clearly between them: . The epoch of observation: the moment in time for which the position of the body is to be predicted. . The epoch defining the position of the body: the moment in time at which, in the absence of purturbations, the specified position (mean longitude, mean anomaly, or perihelion) is reached. . The osculating epoch: the moment in time at which the given elements are correct. For the major-planet and minor-planet cases it is usual to make the epoch that defines the position of the body the same as the epoch of osculation. Thus, only two different epochs are involved: the epoch of the elements and the epoch of observation. For comets, the epoch of perihelion fixes the position in the orbit and in general a different epoch of osculation will be chosen. Thus, all three types of epoch are involved. For the present routine: . The epoch of observation is the argument DATE. . The epoch defining the position of the body is the argument EPOCH. . The osculating epoch is not used and is assumed to be close enough to the epoch of observation to deliver adequate accuracy. If not, a preliminary call to sla\_PERTEL may be used to update the element-set (and its associated osculating epoch) by applying planetary perturbations. \sstitemlist{ \sstitem Two important sources for orbital elements are Horizons, operated by the Jet Propulsion Laboratory, Pasadena, and the Minor Planet Center, operated by the Center for Astrophysics, Harvard. } The JPL Horizons elements (heliocentric, J2000 ecliptic and equinox) correspond to SLALIB arguments as follows. Major planets: JFORM = 1 EPOCH = JDCT-2400000.5 ORBINC = IN (in radians) ANODE = OM (in radians) PERIH = OM$+$W (in radians) AORQ = A E = EC AORL = MA$+$OM$+$W (in radians) DM = N (in radians) Epoch of osculation = JDCT-2400000.5 Minor planets: JFORM = 2 EPOCH = JDCT-2400000.5 ORBINC = IN (in radians) ANODE = OM (in radians) PERIH = W (in radians) AORQ = A E = EC AORL = MA (in radians) Epoch of osculation = JDCT-2400000.5 Comets: JFORM = 3 EPOCH = Tp-2400000.5 ORBINC = IN (in radians) ANODE = OM (in radians) PERIH = W (in radians) AORQ = QR E = EC Epoch of osculation = JDCT-2400000.5 The MPC elements correspond to SLALIB arguments as follows. Minor planets: JFORM = 2 EPOCH = Epoch-2400000.5 ORBINC = Incl. (in radians) ANODE = Node (in radians) PERIH = Perih. (in radians) AORQ = a E = e AORL = M (in radians) Epoch of osculation = Epoch-2400000.5 Comets: JFORM = 3 EPOCH = T-2400000.5 ORBINC = Incl. (in radians) ANODE = Node. (in radians) PERIH = Perih. (in radians) AORQ = q E = e Epoch of osculation = Epoch-2400000.5 } } sun267.htx/section54.tex000644 000765 000024 00000010145 12365763500 015401 0ustar00timjstaff000000 000000 \sstroutine{ palPlantu }{ Topocentric RA,Dec of a Solar-System object from universal elements }{ \sstdescription{ Topocentric apparent RA,Dec of a Solar-System object whose heliocentric universal elements are known. } \sstinvocation{ void palPlantu ( double date, double elong, double phi, const double u[13], double $*$ra, double $*$dec, double $*$r, int $*$jstat ) \{ } \sstarguments{ \sstsubsection{ date = double (Given) }{ TT MJD of observation (JD-2400000.5) } \sstsubsection{ elong = double (Given) }{ Observer{\tt '}s east longitude (radians) } \sstsubsection{ phi = double (Given) }{ Observer{\tt '}s geodetic latitude (radians) } \sstsubsection{ u = const double [13] (Given) }{ Universal orbital elements \sstitemlist{ \sstitem (0) combined mass (M$+$m) \sstitem (1) total energy of the orbit (alpha) \sstitem (2) reference (osculating) epoch (t0) \sstitem (3-5) position at reference epoch (r0) \sstitem (6-8) velocity at reference epoch (v0) \sstitem (9) heliocentric distance at reference epoch \sstitem (10) r0.v0 \sstitem (11) date (t) \sstitem (12) universal eccentric anomaly (psi) of date, approx } } \sstsubsection{ ra = double $*$ (Returned) }{ Topocentric apparent RA (radians) } \sstsubsection{ dec = double $*$ (Returned) }{ Topocentric apparent Dec (radians) } \sstsubsection{ r = double $*$ (Returned) }{ Distance from observer (AU) } \sstsubsection{ jstat = int $*$ (Returned) }{ status: 0 = OK \sstitemlist{ \sstitem -1 = radius vector zero \sstitem -2 = failed to converge } } } \sstnotes{ \sstitemlist{ \sstitem DATE is the instant for which the prediction is required. It is in the TT timescale (formerly Ephemeris Time, ET) and is a Modified Julian Date (JD-2400000.5). \sstitem The longitude and latitude allow correction for geocentric parallax. This is usually a small effect, but can become important for near-Earth asteroids. Geocentric positions can be generated by appropriate use of routines palEpv (or palEvp) and palUe2pv. \sstitem The {\tt "}universal{\tt "} elements are those which define the orbit for the purposes of the method of universal variables (see reference 2). They consist of the combined mass of the two bodies, an epoch, and the position and velocity vectors (arbitrary reference frame) at that epoch. The parameter set used here includes also various quantities that can, in fact, be derived from the other information. This approach is taken to avoiding unnecessary computation and loss of accuracy. The supplementary quantities are (i) alpha, which is proportional to the total energy of the orbit, (ii) the heliocentric distance at epoch, (iii) the outwards component of the velocity at the given epoch, (iv) an estimate of psi, the {\tt "}universal eccentric anomaly{\tt "} at a given date and (v) that date. \sstitem The universal elements are with respect to the J2000 equator and equinox. } } \sstdiytopic{ See Also }{ \sstitemlist{ \sstitem Sterne, Theodore E., {\tt "}An Introduction to Celestial Mechanics{\tt "}, Interscience Publishers Inc., 1960. Section 6.7, p199. \sstitem Everhart, E. \& Pitkin, E.T., Am.J.Phys. 51, 712, 1983. } } } sun267.htx/section55.tex000644 000765 000024 00000003553 12365763500 015407 0ustar00timjstaff000000 000000 \sstroutine{ palPm }{ Apply corrections for proper motion a star RA,Dec }{ \sstdescription{ Apply corrections for proper motion to a star RA,Dec using the SOFA routine iauStarpm. } \sstinvocation{ void palPm ( double r0, double d0, double pr, double pd, double px, double rv, double ep0, double ep1, double $*$r1, double $*$d1 ); } \sstarguments{ \sstsubsection{ r0 = double (Given) }{ RA at epoch ep0 (radians) } \sstsubsection{ d0 = double (Given) }{ Dec at epoch ep0 (radians) } \sstsubsection{ pr = double (Given) }{ RA proper motion in radians per year. } \sstsubsection{ pd = double (Given) }{ Dec proper motion in radians per year. } \sstsubsection{ px = double (Given) }{ Parallax (arcsec) } \sstsubsection{ rv = double (Given) }{ Radial velocity (km/sec $+$ve if receding) } \sstsubsection{ ep0 = double (Given) }{ Start epoch in years, assumed to be Julian. } \sstsubsection{ ep1 = double (Given) }{ End epoch in years, assumed to be Julian. } \sstsubsection{ r1 = double $*$ (Returned) }{ RA at epoch ep1 (radians) } \sstsubsection{ d1 = double $*$ (Returned) }{ Dec at epoch ep1 (radians) } } \sstnotes{ \sstitemlist{ \sstitem Uses iauStarpm but ignores the status returns from that routine. In particular note that parallax should not be zero when the proper motions are non-zero. SLA/F allows parallax to be zero. \sstitem Assumes all epochs are Julian epochs. } } } sun267.htx/section56.tex000644 000765 000024 00000001722 12365763500 015404 0ustar00timjstaff000000 000000 \sstroutine{ palPrebn }{ Generate the matrix of precession between two objects (old) }{ \sstdescription{ Generate the matrix of precession between two epochs, using the old, pre-IAU1976, Bessel-Newcomb model, using Kinoshita{\tt '}s formulation } \sstinvocation{ void palPrebn ( double bep0, double bep1, double rmatp[3][3] ); } \sstarguments{ \sstsubsection{ bep0 = double (Given) }{ Beginning Besselian epoch. } \sstsubsection{ bep1 = double (Given) }{ Ending Besselian epoch } \sstsubsection{ rmatp = double[3][3] (Returned) }{ precession matrix in the sense V(BEP1) = RMATP $*$ V(BEP0) } } \sstdiytopic{ See Also }{ Kinoshita, H. (1975) {\tt '}Formulas for precession{\tt '}, SAO Special Report No. 364, Smithsonian Institution Astrophysical Observatory, Cambridge, Massachusetts. } } sun267.htx/section57.tex000644 000765 000024 00000001655 12365763500 015412 0ustar00timjstaff000000 000000 \sstroutine{ palPrec }{ Form the matrix of precession between two epochs (IAU 2006) }{ \sstdescription{ The IAU 2006 precession matrix from ep0 to ep1 is found and returned. The matrix is in the sense V(EP1) = RMATP $*$ V(EP0). The epochs are TDB (loosely TT) Julian epochs. Though the matrix method itself is rigorous, the precession angles are expressed through canonical polynomials which are valid only for a limited time span of a few hundred years around the current epoch. } \sstinvocation{ palPrec( double ep0, double ep1, double rmatp[3][3] ) } \sstarguments{ \sstsubsection{ ep0 = double (Given) }{ Beginning epoch } \sstsubsection{ ep1 = double (Given) }{ Ending epoch } \sstsubsection{ rmatp = double[3][3] (Returned) }{ Precession matrix } } } sun267.htx/section58.tex000644 000765 000024 00000003571 12365763500 015412 0ustar00timjstaff000000 000000 \sstroutine{ palPreces }{ Precession - either FK4 or FK5 as required }{ \sstdescription{ Precess coordinates using the appropriate system and epochs. } \sstinvocation{ void palPreces ( const char sys[3], double ep0, double ep1, double $*$ra, double $*$dc ); } \sstarguments{ \sstsubsection{ sys = const char [3] (Given) }{ Precession to be applied: FK4 or FK5. Case insensitive. } \sstsubsection{ ep0 = double (Given) }{ Starting epoch. } \sstsubsection{ ep1 = double (Given) }{ Ending epoch } \sstsubsection{ ra = double $*$ (Given \& Returned) }{ On input the RA mean equator \& equinox at epoch ep0. On exit the RA mean equator \& equinox of epoch ep1. } \sstsubsection{ dec = double $*$ (Given \& Returned) }{ On input the dec mean equator \& equinox at epoch ep0. On exit the dec mean equator \& equinox of epoch ep1. } } \sstnotes{ \sstitemlist{ \sstitem Uses palPrec for FK5 data and palPrebn for FK4 data. \sstitem The epochs are Besselian if SYSTEM={\tt '}FK4{\tt '} and Julian if {\tt '}FK5{\tt '}. For example, to precess coordinates in the old system from equinox 1900.0 to 1950.0 the call would be: palPreces( {\tt "}FK4{\tt "}, 1900.0, 1950.0, \&ra, \&dc ); \sstitem This routine will NOT correctly convert between the old and the new systems - for example conversion from B1950 to J2000. For these purposes see palFk425, palFk524, palFk45z and palFk54z. \sstitem If an invalid SYSTEM is supplied, values of -99D0,-99D0 will be returned for both RA and DC. } } } sun267.htx/section59.tex000644 000765 000024 00000001453 12365763500 015410 0ustar00timjstaff000000 000000 \sstroutine{ palPrenut }{ Form the matrix of bias-precession-nutation (IAU 2006/2000A) }{ \sstdescription{ Form the matrix of bias-precession-nutation (IAU 2006/2000A). The epoch and date are TT (but TDB is usually close enough). The matrix is in the sense v(true) = rmatpn $*$ v(mean). } \sstinvocation{ void palPrenut( double epoch, double date, double rmatpn[3][3] ) } \sstarguments{ \sstsubsection{ epoch = double (Returned) }{ Julian epoch for mean coordinates. } \sstsubsection{ date = double (Returned) }{ Modified Julian Date (JD-2400000.5) for true coordinates. } \sstsubsection{ rmatpn = double[3][3] (Returned) }{ combined NPB matrix } } } sun267.htx/section6.tex000644 000765 000024 00000003233 12365763500 015316 0ustar00timjstaff000000 000000 \sstroutine{ palAirmas }{ Air mass at given zenith distance }{ \sstdescription{ Calculates the airmass at the observed zenith distance. } \sstinvocation{ double palAirmas( double zd ); } \sstarguments{ \sstsubsection{ zd = double (Given) }{ Observed zenith distance (radians) } } \sstnotes{ \sstitemlist{ \sstitem The {\tt "}observed{\tt "} zenith distance referred to above means {\tt "}as affected by refraction{\tt "}. \sstitem Uses Hardie{\tt '}s (1962) polynomial fit to Bemporad{\tt '}s data for the relative air mass, X, in units of thickness at the zenith as tabulated by Schoenberg (1929). This is adequate for all normal needs as it is accurate to better than 0.1\% up to X = 6.8 and better than 1\% up to X = 10. Bemporad{\tt '}s tabulated values are unlikely to be trustworthy to such accuracy because of variations in density, pressure and other conditions in the atmosphere from those assumed in his work. \sstitem The sign of the ZD is ignored. \sstitem At zenith distances greater than about ZD = 87 degrees the air mass is held constant to avoid arithmetic overflows. } } \sstdiytopic{ See Also }{ \sstitemlist{ \sstitem Hardie, R.H., 1962, in {\tt "}Astronomical Techniques{\tt "} ed. W.A. Hiltner, University of Chicago Press, p180. \sstitem Schoenberg, E., 1929, Hdb. d. Ap., Berlin, Julius Springer, 2, 268. } } } sun267.htx/section60.tex000644 000765 000024 00000016275 12365763500 015410 0ustar00timjstaff000000 000000 \sstroutine{ palPv2el }{ Position velocity to heliocentirc osculating elements }{ \sstdescription{ Heliocentric osculating elements obtained from instantaneous position and velocity. } \sstinvocation{ void palPv2el ( const double pv[6], double date, double pmass, int jformr, int $*$jform, double $*$epoch, double $*$orbinc, double $*$anode, double $*$perih, double $*$aorq, double $*$e, double $*$aorl, double $*$dm, int $*$jstat ); } \sstarguments{ \sstsubsection{ pv = const double [6] (Given) }{ Heliocentric x,y,z,xdot,ydot,zdot of date, J2000 equatorial triad (AU,AU/s; Note 1) } \sstsubsection{ date = double (Given) }{ Date (TT Modified Julian Date = JD-2400000.5) } \sstsubsection{ pmass = double (Given) }{ Mass of the planet (Sun=1; Note 2) } \sstsubsection{ jformr = int (Given) }{ Requested element set (1-3; Note 3) } \sstsubsection{ jform = int $*$ (Returned) }{ Element set actually returned (1-3; Note 4) } \sstsubsection{ epoch = double $*$ (Returned) }{ Epoch of elements (TT MJD) } \sstsubsection{ orbinc = double $*$ (Returned) }{ inclination (radians) } \sstsubsection{ anode = double $*$ (Returned) }{ longitude of the ascending node (radians) } \sstsubsection{ perih = double $*$ (Returned) }{ longitude or argument of perihelion (radians) } \sstsubsection{ aorq = double $*$ (Returned) }{ mean distance or perihelion distance (AU) } \sstsubsection{ e = double $*$ (Returned) }{ eccentricity } \sstsubsection{ aorl = double $*$ (Returned) }{ mean anomaly or longitude (radians, JFORM=1,2 only) } \sstsubsection{ dm = double $*$ (Returned) }{ daily motion (radians, JFORM=1 only) } \sstsubsection{ jstat = int $*$ (Returned) }{ status: 0 = OK \sstitemlist{ \sstitem -1 = illegal PMASS \sstitem -2 = illegal JFORMR \sstitem -3 = position/velocity out of range } } } \sstnotes{ \sstitemlist{ \sstitem The PV 6-vector is with respect to the mean equator and equinox of epoch J2000. The orbital elements produced are with respect to the J2000 ecliptic and mean equinox. \sstitem The mass, PMASS, is important only for the larger planets. For most purposes (e.g. asteroids) use 0D0. Values less than zero are illegal. \sstitem Three different element-format options are supported: } Option JFORM=1, suitable for the major planets: EPOCH = epoch of elements (TT MJD) ORBINC = inclination i (radians) ANODE = longitude of the ascending node, big omega (radians) PERIH = longitude of perihelion, curly pi (radians) AORQ = mean distance, a (AU) E = eccentricity, e AORL = mean longitude L (radians) DM = daily motion (radians) Option JFORM=2, suitable for minor planets: EPOCH = epoch of elements (TT MJD) ORBINC = inclination i (radians) ANODE = longitude of the ascending node, big omega (radians) PERIH = argument of perihelion, little omega (radians) AORQ = mean distance, a (AU) E = eccentricity, e AORL = mean anomaly M (radians) Option JFORM=3, suitable for comets: EPOCH = epoch of perihelion (TT MJD) ORBINC = inclination i (radians) ANODE = longitude of the ascending node, big omega (radians) PERIH = argument of perihelion, little omega (radians) AORQ = perihelion distance, q (AU) E = eccentricity, e \sstitemlist{ \sstitem It may not be possible to generate elements in the form requested through JFORMR. The caller is notified of the form of elements actually returned by means of the JFORM argument: } JFORMR JFORM meaning 1 1 OK - elements are in the requested format 1 2 never happens 1 3 orbit not elliptical 2 1 never happens 2 2 OK - elements are in the requested format 2 3 orbit not elliptical 3 1 never happens 3 2 never happens 3 3 OK - elements are in the requested format \sstitemlist{ \sstitem The arguments returned for each value of JFORM (cf Note 5: JFORM may not be the same as JFORMR) are as follows: } JFORM 1 2 3 EPOCH t0 t0 T ORBINC i i i ANODE Omega Omega Omega PERIH curly pi omega omega AORQ a a q E e e e AORL L M - DM n - - where: t0 is the epoch of the elements (MJD, TT) T {\tt "} epoch of perihelion (MJD, TT) i {\tt "} inclination (radians) Omega {\tt "} longitude of the ascending node (radians) curly pi {\tt "} longitude of perihelion (radians) omega {\tt "} argument of perihelion (radians) a {\tt "} mean distance (AU) q {\tt "} perihelion distance (AU) e {\tt "} eccentricity L {\tt "} longitude (radians, 0-2pi) M {\tt "} mean anomaly (radians, 0-2pi) n {\tt "} daily motion (radians) \sstitemlist{ \sstitem means no value is set \sstitem At very small inclinations, the longitude of the ascending node ANODE becomes indeterminate and under some circumstances may be set arbitrarily to zero. Similarly, if the orbit is close to circular, the true anomaly becomes indeterminate and under some circumstances may be set arbitrarily to zero. In such cases, the other elements are automatically adjusted to compensate, and so the elements remain a valid description of the orbit. \sstitem The osculating epoch for the returned elements is the argument DATE. \sstitem Reference: Sterne, Theodore E., {\tt "}An Introduction to Celestial Mechanics{\tt "}, Interscience Publishers, 1960 } } } sun267.htx/section61.tex000644 000765 000024 00000006534 12365763500 015406 0ustar00timjstaff000000 000000 \sstroutine{ palPv2ue }{ Universal elements to position and velocity }{ \sstdescription{ Construct a universal element set based on an instantaneous position and velocity. } \sstinvocation{ void palPv2ue( const double pv[6], double date, double pmass, double u[13], int $*$ jstat ); } \sstarguments{ \sstsubsection{ pv = double [6] (Given) }{ Heliocentric x,y,z,xdot,ydot,zdot of date, (AU,AU/s; Note 1) } \sstsubsection{ date = double (Given) }{ Date (TT modified Julian Date = JD-2400000.5) } \sstsubsection{ pmass = double (Given) }{ Mass of the planet (Sun=1; note 2) } \sstsubsection{ u = double [13] (Returned) }{ Universal orbital elements (Note 3) \sstitemlist{ \sstitem (0) combined mass (M$+$m) \sstitem (1) total energy of the orbit (alpha) \sstitem (2) reference (osculating) epoch (t0) \sstitem (3-5) position at reference epoch (r0) \sstitem (6-8) velocity at reference epoch (v0) \sstitem (9) heliocentric distance at reference epoch \sstitem (10) r0.v0 \sstitem (11) date (t) \sstitem (12) universal eccentric anomaly (psi) of date, approx } } \sstsubsection{ jstat = int $*$ (Returned) }{ status: 0 = OK \sstitemlist{ \sstitem -1 = illegal PMASS \sstitem -2 = too close to Sun \sstitem -3 = too slow } } } \sstnotes{ \sstitemlist{ \sstitem The PV 6-vector can be with respect to any chosen inertial frame, and the resulting universal-element set will be with respect to the same frame. A common choice will be mean equator and ecliptic of epoch J2000. \sstitem The mass, PMASS, is important only for the larger planets. For most purposes (e.g. asteroids) use 0D0. Values less than zero are illegal. \sstitem The {\tt "}universal{\tt "} elements are those which define the orbit for the purposes of the method of universal variables (see reference). They consist of the combined mass of the two bodies, an epoch, and the position and velocity vectors (arbitrary reference frame) at that epoch. The parameter set used here includes also various quantities that can, in fact, be derived from the other information. This approach is taken to avoiding unnecessary computation and loss of accuracy. The supplementary quantities are (i) alpha, which is proportional to the total energy of the orbit, (ii) the heliocentric distance at epoch, (iii) the outwards component of the velocity at the given epoch, (iv) an estimate of psi, the {\tt "}universal eccentric anomaly{\tt "} at a given date and (v) that date. \sstitem Reference: Everhart, E. \& Pitkin, E.T., Am.J.Phys. 51, 712, 1983. } } } sun267.htx/section62.tex000644 000765 000024 00000001657 12365763500 015410 0ustar00timjstaff000000 000000 \sstroutine{ palPvobs }{ Position and velocity of an observing station }{ \sstdescription{ Returns the position and velocity of an observing station. } \sstinvocation{ palPvobs( double p, double h, double stl, double pv[6] ) } \sstarguments{ \sstsubsection{ p = double (Given) }{ Latitude (geodetic, radians). } \sstsubsection{ h = double (Given) }{ Height above reference spheroid (geodetic, metres). } \sstsubsection{ stl = double (Given) }{ Local apparent sidereal time (radians). } \sstsubsection{ pv = double[ 6 ] (Returned) }{ position/velocity 6-vector (AU, AU/s, true equator and equinox of date). } } \sstnotes{ \sstitemlist{ \sstitem The WGS84 reference ellipsoid is used. } } } sun267.htx/section63.tex000644 000765 000024 00000004117 12365763500 015403 0ustar00timjstaff000000 000000 \sstroutine{ palRdplan }{ Approximate topocentric apparent RA,Dec of a planet }{ \sstdescription{ Approximate topocentric apparent RA,Dec of a planet, and its angular diameter. } \sstinvocation{ void palRdplan( double date, int np, double elong, double phi, double $*$ ra, double $*$ dec, double $*$ diam ); } \sstarguments{ \sstsubsection{ date = double (Given) }{ MJD of observation (JD-2400000.5) in TDB. For all practical purposes TT can be used instead of TDB, and for many applications UT will do (except for the Moon). } \sstsubsection{ np = int (Given) }{ Planet: 1 = Mercury 2 = Venus 3 = Moon 4 = Mars 5 = Jupiter 6 = Saturn 7 = Uranus 8 = Neptune else = Sun } \sstsubsection{ elong = double (Given) }{ Observer{\tt '}s east longitude (radians) } \sstsubsection{ phi = double (Given) }{ Observer{\tt '}s geodetic latitude (radians) } \sstsubsection{ ra = double $*$ (Returned) }{ RA (topocentric apparent, radians) } \sstsubsection{ dec = double $*$ (Returned) }{ Dec (topocentric apparent, radians) } \sstsubsection{ diam = double $*$ (Returned) }{ Angular diameter (equatorial, radians) } } \sstnotes{ \sstitemlist{ \sstitem Unlike with slaRdplan, Pluto is not supported. \sstitem The longitude and latitude allow correction for geocentric parallax. This is a major effect for the Moon, but in the context of the limited accuracy of the present routine its effect on planetary positions is small (negligible for the outer planets). Geocentric positions can be generated by appropriate use of the routines palDmoon and iauPlan94. } } } sun267.htx/section64.tex000644 000765 000024 00000002365 12365763500 015407 0ustar00timjstaff000000 000000 \sstroutine{ palRverot }{ Velocity component in a given direction due to Earth rotation }{ \sstdescription{ Calculate the velocity component in a given direction due to Earth rotation. The simple algorithm used assumes a spherical Earth, of a radius chosen to give results accurate to about 0.0005 km/s for observing stations at typical latitudes and heights. For applications requiring greater precision, use the routine palPvobs. } \sstinvocation{ double palRverot ( double phi, double ra, double da, double st ); } \sstarguments{ \sstsubsection{ phi = double (Given) }{ latitude of observing station (geodetic) (radians) } \sstsubsection{ ra = double (Given) }{ apparent RA (radians) } \sstsubsection{ da = double (Given) }{ apparent Dec (radians) } \sstsubsection{ st = double (Given) }{ } } \sstreturnedvalue{ \sstsubsection{ palRverot = double }{ Component of Earth rotation in direction RA,DA (km/s). The result is $+$ve when the observatory is receding from the given point on the sky. } } } sun267.htx/section65.tex000644 000765 000024 00000002644 12365763500 015410 0ustar00timjstaff000000 000000 \sstroutine{ palRvgalc }{ Velocity component in a given direction due to the rotation of the Galaxy }{ \sstdescription{ This function returns the Component of dynamical LSR motion in the direction of R2000,D2000. The result is $+$ve when the dynamical LSR is receding from the given point on the sky. } \sstinvocation{ double palRvgalc( double r2000, double d2000 ) } \sstarguments{ \sstsubsection{ r2000 = double (Given) }{ J2000.0 mean RA (radians) } \sstsubsection{ d2000 = double (Given) }{ J2000.0 mean Dec (radians) } } \sstreturnedvalue{ \sstsubsection{ Component of dynamical LSR motion in direction R2000,D2000 (km/s). }{ } } \sstnotes{ \sstitemlist{ \sstitem The Local Standard of Rest used here is a point in the vicinity of the Sun which is in a circular orbit around the Galactic centre. Sometimes called the {\tt "}dynamical{\tt "} LSR, it is not to be confused with a {\tt "}kinematical{\tt "} LSR, which is the mean standard of rest of star catalogues or stellar populations. } } \sstdiytopic{ Reference }{ \sstitemlist{ \sstitem The orbital speed of 220 km/s used here comes from Kerr \& Lynden-Bell (1986), MNRAS, 221, p1023. } } } sun267.htx/section66.tex000644 000765 000024 00000002012 12365763500 015376 0ustar00timjstaff000000 000000 \sstroutine{ palRvlg }{ Velocity component in a given direction due to Galactic rotation and motion of the local group }{ \sstdescription{ This function returns the velocity component in a given direction due to the combination of the rotation of the Galaxy and the motion of the Galaxy relative to the mean motion of the local group. The result is $+$ve when the Sun is receding from the given point on the sky. } \sstinvocation{ double palRvlg( double r2000, double d2000 ) } \sstarguments{ \sstsubsection{ r2000 = double (Given) }{ J2000.0 mean RA (radians) } \sstsubsection{ d2000 = double (Given) }{ J2000.0 mean Dec (radians) } } \sstreturnedvalue{ \sstsubsection{ Component of SOLAR motion in direction R2000,D2000 (km/s). }{ } } \sstdiytopic{ Reference }{ \sstitemlist{ \sstitem IAU Trans 1976, 168, p201. } } } sun267.htx/section67.tex000644 000765 000024 00000003721 12365763500 015407 0ustar00timjstaff000000 000000 \sstroutine{ palRvlsrd }{ Velocity component in a given direction due to the Sun{\tt '}s motion with respect to the dynamical Local Standard of Rest }{ \sstdescription{ This function returns the velocity component in a given direction due to the Sun{\tt '}s motion with respect to the dynamical Local Standard of Rest. The result is $+$ve when the Sun is receding from the given point on the sky. } \sstinvocation{ double palRvlsrd( double r2000, double d2000 ) } \sstarguments{ \sstsubsection{ r2000 = double (Given) }{ J2000.0 mean RA (radians) } \sstsubsection{ d2000 = double (Given) }{ J2000.0 mean Dec (radians) } } \sstreturnedvalue{ \sstsubsection{ Component of {\tt "}peculiar{\tt "} solar motion in direction R2000,D2000 (km/s). }{ } } \sstnotes{ \sstitemlist{ \sstitem The Local Standard of Rest used here is the {\tt "}dynamical{\tt "} LSR, a point in the vicinity of the Sun which is in a circular orbit around the Galactic centre. The Sun{\tt '}s motion with respect to the dynamical LSR is called the {\tt "}peculiar{\tt "} solar motion. \sstitem There is another type of LSR, called a {\tt "}kinematical{\tt "} LSR. A kinematical LSR is the mean standard of rest of specified star catalogues or stellar populations, and several slightly different kinematical LSRs are in use. The Sun{\tt '}s motion with respect to an agreed kinematical LSR is known as the {\tt "}standard{\tt "} solar motion. To obtain a radial velocity correction with respect to an adopted kinematical LSR use the routine sla\_RVLSRK. } } \sstdiytopic{ Reference }{ \sstitemlist{ \sstitem Delhaye (1965), in {\tt "}Stars and Stellar Systems{\tt "}, vol 5, p73. } } } sun267.htx/section68.tex000644 000765 000024 00000003661 12365763500 015413 0ustar00timjstaff000000 000000 \sstroutine{ palRvlsrk }{ Velocity component in a given direction due to the Sun{\tt '}s motion with respect to an adopted kinematic Local Standard of Rest }{ \sstdescription{ This function returns the velocity component in a given direction due to the Sun{\tt '}s motion with respect to an adopted kinematic Local Standard of Rest. The result is $+$ve when the Sun is receding from the given point on the sky. } \sstinvocation{ double palRvlsrk( double r2000, double d2000 ) } \sstarguments{ \sstsubsection{ r2000 = double (Given) }{ J2000.0 mean RA (radians) } \sstsubsection{ d2000 = double (Given) }{ J2000.0 mean Dec (radians) } } \sstreturnedvalue{ \sstsubsection{ Component of {\tt "}standard{\tt "} solar motion in direction R2000,D2000 (km/s). }{ } } \sstnotes{ \sstitemlist{ \sstitem The Local Standard of Rest used here is one of several {\tt "}kinematical{\tt "} LSRs in common use. A kinematical LSR is the mean standard of rest of specified star catalogues or stellar populations. The Sun{\tt '}s motion with respect to a kinematical LSR is known as the {\tt "}standard{\tt "} solar motion. \sstitem There is another sort of LSR, the {\tt "}dynamical{\tt "} LSR, which is a point in the vicinity of the Sun which is in a circular orbit around the Galactic centre. The Sun{\tt '}s motion with respect to the dynamical LSR is called the {\tt "}peculiar{\tt "} solar motion. To obtain a radial velocity correction with respect to the dynamical LSR use the routine sla\_RVLSRD. } } \sstdiytopic{ Reference }{ \sstitemlist{ \sstitem Delhaye (1965), in {\tt "}Stars and Stellar Systems{\tt "}, vol 5, p73. } } } sun267.htx/section69.tex000644 000765 000024 00000002573 12365763500 015415 0ustar00timjstaff000000 000000 \sstroutine{ palSubet }{ Remove the E-terms from a pre IAU 1976 catalogue RA,Dec }{ \sstdescription{ Remove the E-terms (elliptic component of annual aberration) from a pre IAU 1976 catalogue RA,Dec to give a mean place. } \sstinvocation{ void palSubet ( double rc, double dc, double eq, double $*$rm, double $*$dm ); } \sstarguments{ \sstsubsection{ rc = double (Given) }{ RA with E-terms included (radians) } \sstsubsection{ dc = double (Given) }{ Dec with E-terms included (radians) } \sstsubsection{ eq = double (Given) }{ Besselian epoch of mean equator and equinox } \sstsubsection{ rm = double $*$ (Returned) }{ RA without E-terms (radians) } \sstsubsection{ dm = double $*$ (Returned) }{ Dec without E-terms (radians) } } \sstnotes{ Most star positions from pre-1984 optical catalogues (or derived from astrometry using such stars) embody the E-terms. This routine converts such a position to a formal mean place (allowing, for example, comparison with a pulsar timing position). } \sstdiytopic{ See Also }{ Explanatory Supplement to the Astronomical Ephemeris, section 2D, page 48. } } sun267.htx/section7.tex000644 000765 000024 00000002227 12365763500 015321 0ustar00timjstaff000000 000000 \sstroutine{ palAmp }{ Convert star RA,Dec from geocentric apparaent to mean place }{ \sstdescription{ Convert star RA,Dec from geocentric apparent to mean place. The mean coordinate system is close to ICRS. See palAmpqk for details. } \sstinvocation{ void palAmp ( double ra, double da, double date, double eq, double $*$rm, double $*$dm ); } \sstarguments{ \sstsubsection{ ra = double (Given) }{ Apparent RA (radians) } \sstsubsection{ dec = double (Given) }{ Apparent Dec (radians) } \sstsubsection{ date = double (Given) }{ TDB for apparent place (JD-2400000.5) } \sstsubsection{ eq = double (Given) }{ Equinox: Julian epoch of mean place. } \sstsubsection{ rm = double $*$ (Returned) }{ Mean RA (radians) } \sstsubsection{ dm = double $*$ (Returned) }{ Mean Dec (radians) } } \sstnotes{ \sstitemlist{ \sstitem See palMappa and palAmpqk for details. } } } sun267.htx/section70.tex000644 000765 000024 00000002460 12365763500 015400 0ustar00timjstaff000000 000000 \sstroutine{ palSupgal }{ Convert from supergalactic to galactic coordinates }{ \sstdescription{ Transformation from de Vaucouleurs supergalactic coordinates to IAU 1958 galactic coordinates } \sstinvocation{ void palSupgal ( double dsl, double dsb, double $*$dl, double $*$db ); } \sstarguments{ \sstsubsection{ dsl = double (Given) }{ Supergalactic longitude. } \sstsubsection{ dsb = double (Given) }{ Supergalactic latitude. } \sstsubsection{ dl = double $*$ (Returned) }{ Galactic longitude. } \sstsubsection{ db = double $*$ (Returned) }{ Galactic latitude. } } \sstdiytopic{ See Also }{ \sstitemlist{ \sstitem de Vaucouleurs, de Vaucouleurs, \& Corwin, Second Reference Catalogue of Bright Galaxies, U. Texas, page 8. \sstitem Systems \& Applied Sciences Corp., Documentation for the machine-readable version of the above catalogue, Contract NAS 5-26490. } (These two references give different values for the galactic longitude of the supergalactic origin. Both are wrong; the correct value is L2=137.37.) } } sun267.htx/section71.tex000644 000765 000024 00000020422 12365763500 015377 0ustar00timjstaff000000 000000 \sstroutine{ palUe2el }{ Universal elements to heliocentric osculating elements }{ \sstdescription{ Transform universal elements into conventional heliocentric osculating elements. } \sstinvocation{ void palUe2el ( const double u[13], int jformr, int $*$jform, double $*$epoch, double $*$orbinc, double $*$anode, double $*$perih, double $*$aorq, double $*$e, double $*$aorl, double $*$dm, int $*$jstat ); } \sstarguments{ \sstsubsection{ u = const double [13] (Given) }{ Universal orbital elements (Note 1) (0) combined mass (M$+$m) (1) total energy of the orbit (alpha) (2) reference (osculating) epoch (t0) (3-5) position at reference epoch (r0) (6-8) velocity at reference epoch (v0) (9) heliocentric distance at reference epoch (10) r0.v0 (11) date (t) (12) universal eccentric anomaly (psi) of date, approx } \sstsubsection{ jformr = int (Given) }{ Requested element set (1-3; Note 3) } \sstsubsection{ jform = int $*$ (Returned) }{ Element set actually returned (1-3; Note 4) } \sstsubsection{ epoch = double $*$ (Returned) }{ Epoch of elements (TT MJD) } \sstsubsection{ orbinc = double $*$ (Returned) }{ inclination (radians) } \sstsubsection{ anode = double $*$ (Returned) }{ longitude of the ascending node (radians) } \sstsubsection{ perih = double $*$ (Returned) }{ longitude or argument of perihelion (radians) } \sstsubsection{ aorq = double $*$ (Returned) }{ mean distance or perihelion distance (AU) } \sstsubsection{ e = double $*$ (Returned) }{ eccentricity } \sstsubsection{ aorl = double $*$ (Returned) }{ mean anomaly or longitude (radians, JFORM=1,2 only) } \sstsubsection{ dm = double $*$ (Returned) }{ daily motion (radians, JFORM=1 only) } \sstsubsection{ jstat = int $*$ (Returned) }{ status: 0 = OK \sstitemlist{ \sstitem 1 = illegal combined mass \sstitem 2 = illegal JFORMR \sstitem 3 = position/velocity out of range } } } \sstnotes{ \sstitemlist{ \sstitem The {\tt "}universal{\tt "} elements are those which define the orbit for the purposes of the method of universal variables (see reference 2). They consist of the combined mass of the two bodies, an epoch, and the position and velocity vectors (arbitrary reference frame) at that epoch. The parameter set used here includes also various quantities that can, in fact, be derived from the other information. This approach is taken to avoiding unnecessary computation and loss of accuracy. The supplementary quantities are (i) alpha, which is proportional to the total energy of the orbit, (ii) the heliocentric distance at epoch, (iii) the outwards component of the velocity at the given epoch, (iv) an estimate of psi, the {\tt "}universal eccentric anomaly{\tt "} at a given date and (v) that date. \sstitem The universal elements are with respect to the mean equator and equinox of epoch J2000. The orbital elements produced are with respect to the J2000 ecliptic and mean equinox. \sstitem Three different element-format options are supported: } Option JFORM=1, suitable for the major planets: EPOCH = epoch of elements (TT MJD) ORBINC = inclination i (radians) ANODE = longitude of the ascending node, big omega (radians) PERIH = longitude of perihelion, curly pi (radians) AORQ = mean distance, a (AU) E = eccentricity, e AORL = mean longitude L (radians) DM = daily motion (radians) Option JFORM=2, suitable for minor planets: EPOCH = epoch of elements (TT MJD) ORBINC = inclination i (radians) ANODE = longitude of the ascending node, big omega (radians) PERIH = argument of perihelion, little omega (radians) AORQ = mean distance, a (AU) E = eccentricity, e AORL = mean anomaly M (radians) Option JFORM=3, suitable for comets: EPOCH = epoch of perihelion (TT MJD) ORBINC = inclination i (radians) ANODE = longitude of the ascending node, big omega (radians) PERIH = argument of perihelion, little omega (radians) AORQ = perihelion distance, q (AU) E = eccentricity, e \sstitemlist{ \sstitem It may not be possible to generate elements in the form requested through JFORMR. The caller is notified of the form of elements actually returned by means of the JFORM argument: } JFORMR JFORM meaning 1 1 OK - elements are in the requested format 1 2 never happens 1 3 orbit not elliptical 2 1 never happens 2 2 OK - elements are in the requested format 2 3 orbit not elliptical 3 1 never happens 3 2 never happens 3 3 OK - elements are in the requested format \sstitemlist{ \sstitem The arguments returned for each value of JFORM (cf Note 6: JFORM may not be the same as JFORMR) are as follows: } JFORM 1 2 3 EPOCH t0 t0 T ORBINC i i i ANODE Omega Omega Omega PERIH curly pi omega omega AORQ a a q E e e e AORL L M - DM n - - where: t0 is the epoch of the elements (MJD, TT) T {\tt "} epoch of perihelion (MJD, TT) i {\tt "} inclination (radians) Omega {\tt "} longitude of the ascending node (radians) curly pi {\tt "} longitude of perihelion (radians) omega {\tt "} argument of perihelion (radians) a {\tt "} mean distance (AU) q {\tt "} perihelion distance (AU) e {\tt "} eccentricity L {\tt "} longitude (radians, 0-2pi) M {\tt "} mean anomaly (radians, 0-2pi) n {\tt "} daily motion (radians) \sstitemlist{ \sstitem means no value is set \sstitem At very small inclinations, the longitude of the ascending node ANODE becomes indeterminate and under some circumstances may be set arbitrarily to zero. Similarly, if the orbit is close to circular, the true anomaly becomes indeterminate and under some circumstances may be set arbitrarily to zero. In such cases, the other elements are automatically adjusted to compensate, and so the elements remain a valid description of the orbit. } See Also: \sstitemlist{ \sstitem Sterne, Theodore E., {\tt "}An Introduction to Celestial Mechanics{\tt "}, Interscience Publishers Inc., 1960. Section 6.7, p199. \sstitem Everhart, E. \& Pitkin, E.T., Am.J.Phys. 51, 712, 1983. } } } sun267.htx/section72.tex000644 000765 000024 00000010007 12365763500 015376 0ustar00timjstaff000000 000000 \sstroutine{ palUe2pv }{ Heliocentric position and velocity of a planet, asteroid or comet, from universal elements }{ \sstdescription{ Heliocentric position and velocity of a planet, asteroid or comet, starting from orbital elements in the {\tt "}universal variables{\tt "} form. } \sstinvocation{ void palUe2pv( double date, double u[13], double pv[6], int $*$jstat ); } \sstarguments{ \sstsubsection{ date = double (Given) }{ TT Modified Julian date (JD-2400000.5). } \sstsubsection{ u = double [13] (Given \& Returned) }{ Universal orbital elements (updated, see note 1) given (0) combined mass (M$+$m) {\tt "} (1) total energy of the orbit (alpha) {\tt "} (2) reference (osculating) epoch (t0) {\tt "} (3-5) position at reference epoch (r0) {\tt "} (6-8) velocity at reference epoch (v0) {\tt "} (9) heliocentric distance at reference epoch {\tt "} (10) r0.v0 returned (11) date (t) {\tt "} (12) universal eccentric anomaly (psi) of date } \sstsubsection{ jstat = int $*$ (Returned) }{ status: 0 = OK \sstitemlist{ \sstitem 1 = radius vector zero \sstitem 2 = failed to converge } } } \sstnotes{ \sstitemlist{ \sstitem The {\tt "}universal{\tt "} elements are those which define the orbit for the purposes of the method of universal variables (see reference). They consist of the combined mass of the two bodies, an epoch, and the position and velocity vectors (arbitrary reference frame) at that epoch. The parameter set used here includes also various quantities that can, in fact, be derived from the other information. This approach is taken to avoiding unnecessary computation and loss of accuracy. The supplementary quantities are (i) alpha, which is proportional to the total energy of the orbit, (ii) the heliocentric distance at epoch, (iii) the outwards component of the velocity at the given epoch, (iv) an estimate of psi, the {\tt "}universal eccentric anomaly{\tt "} at a given date and (v) that date. \sstitem The companion routine is palEl2ue. This takes the conventional orbital elements and transforms them into the set of numbers needed by the present routine. A single prediction requires one one call to palEl2ue followed by one call to the present routine; for convenience, the two calls are packaged as the routine sla\_PLANEL. Multiple predictions may be made by again calling palEl2ue once, but then calling the present routine multiple times, which is faster than multiple calls to palPlanel. \sstitem It is not obligatory to use palEl2ue to obtain the parameters. However, it should be noted that because palEl2ue performs its own validation, no checks on the contents of the array U are made by the present routine. in the TT timescale (formerly Ephemeris Time, ET) and is a Modified Julian Date (JD-2400000.5). units (solar masses, AU and canonical days). The position and velocity are not sensitive to the choice of reference frame. The palEl2ue routine in fact produces coordinates with respect to the J2000 equator and equinox. \sstitem The algorithm was originally adapted from the EPHSLA program of D.H.P.Jones (private communication, 1996). The method is based on Stumpff{\tt '}s Universal Variables. \sstitem Reference: Everhart, E. \& Pitkin, E.T., Am.J.Phys. 51, 712, 1983. } } } % ? End of main text \end{document} sun267.htx/section8.tex000644 000765 000024 00000003035 12365763500 015320 0ustar00timjstaff000000 000000 \sstroutine{ palAmpqk }{ Convert star RA,Dec from geocentric apparent to mean place }{ \sstdescription{ Convert star RA,Dec from geocentric apparent to mean place. The {\tt "}mean{\tt "} coordinate system is in fact close to ICRS. Use of this function is appropriate when efficiency is important and where many star positions are all to be transformed for one epoch and equinox. The star-independent parameters can be obtained by calling the palMappa function. } \sstinvocation{ void palAmpqk ( double ra, double da, double amprms[21], double $*$rm, double $*$dm ) } \sstarguments{ \sstsubsection{ ra = double (Given) }{ Apparent RA (radians). } \sstsubsection{ da = double (Given) }{ Apparent Dec (radians). } \sstsubsection{ amprms = double[21] (Given) }{ Star-independent mean-to-apparent parameters (see palMappa): (0) time interval for proper motion (Julian years) (1-3) barycentric position of the Earth (AU) (4-6) not used (7) not used (8-10) abv: barycentric Earth velocity in units of c (11) sqrt(1-v$*$v) where v=modulus(abv) (12-20) precession/nutation (3,3) matrix } \sstsubsection{ rm = double (Returned) }{ Mean RA (radians). } \sstsubsection{ dm = double (Returned) }{ Mean Dec (radians). } } } sun267.htx/section9.tex000644 000765 000024 00000003034 12365763500 015320 0ustar00timjstaff000000 000000 \sstroutine{ palCaldj }{ Gregorian Calendar to Modified Julian Date }{ \sstdescription{ Modified Julian Date to Gregorian Calendar with special behaviour for 2-digit years relating to 1950 to 2049. } \sstinvocation{ void palCaldj ( int iy, int im, int id, double $*$djm, int $*$j ); } \sstarguments{ \sstsubsection{ iy = int (Given) }{ Year in the Gregorian calendar } \sstsubsection{ im = int (Given) }{ Month in the Gergorian calendar } \sstsubsection{ id = int (Given) }{ Day in the Gregorian calendar } \sstsubsection{ djm = double $*$ (Returned) }{ Modified Julian Date (JD-2400000.5) for 0 hrs } \sstsubsection{ j = status (Returned) }{ 0 = OK. See iauCal2jd for other values. } } \sstnotes{ \sstitemlist{ \sstitem Uses iauCal2jd \sstitem Unlike iauCal2jd this routine treats the years 0-100 as referring to the end of the 20th Century and beginning of the 21st Century. If this behaviour is not acceptable use the SOFA routine directly or palCldj. Acceptable years are 00-49, interpreted as 2000-2049, 50-99, {\tt "} {\tt "} 1950-1999, all others, interpreted literally. \sstitem Unlike SLA this routine will work with negative years. } } } sun267.htx/source.gif000644 000765 000024 00000000301 12365763733 015032 0ustar00timjstaff000000 000000 GIF89a €½½½¿¿¿ÀÀÀÁÁÁÂÂÂøüøÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿ,vÉI«½8çÀ»ÿ`0‰š&bQ€jëªÂ)¥+ŽoŒ"*9#\K÷ëE¡œ È«ÙlÁá’†ô<£"Óx­Þ²Ó¦—s‰j©•1îÊì°öÆ‹BŸí¾Í‡Ìms‚`rƒsg1Š‹ŒSŽŽ>”u%—˜™;sun267.htx/star2html.perl000644 000765 000024 00000002323 12365763500 015645 0ustar00timjstaff000000 000000 package main; # The base name for all document cross reference roots. # For local documents this would be: # $DOCBASE = '/star/docs/'; # And for remote documents at RAL: $DOCBASE = 'http://www.starlink.ac.uk/cgi-bin/htxserver/'; sub do_cmd_xref{ my $arg = shift; my ($text, $docname, $label); $arg =~ s/$next_pair_pr_rx/$text = $2; ''/eo; $arg =~ s/$next_pair_pr_rx/$docname = $2; ''/eo; $arg =~ s/$next_pair_pr_rx/$label = $2; ''/eo; # Default for local documents would be: #join('','',$text,'',$arg); # And for remote ones (notice?). join('','',$text,'',$arg); } sub do_cmd_xlabel{ local($_) = @_; my $label; s/$next_pair_pr_rx/$label = $2; ''/eo; $label =~ s/\n//g; $label =~ s/ //g; $label =~ s/\t//g; $label = 'xref_' . $label; &anchor_label( $label, $CURRENT_FILE, $_); } sub do_env_quote { join('',"
","@_","
"); } sub do_env_quotation { join('',"
","@_","
"); } sub do_env_verse { join('',"
","@_","
"); } 1;# This must be the last line sun267.htx/star2html.sty000644 000765 000024 00000000000 12365763500 015510 0ustar00timjstaff000000 000000 sun267.htx/sun267.css000644 000765 000024 00000001573 12365763733 014635 0ustar00timjstaff000000 000000 /* Century Schoolbook font is very similar to Computer Modern Math: cmmi */ .MATH { font-family: "Century Schoolbook", serif; } .MATH I { font-family: "Century Schoolbook", serif; font-style: italic } .BOLDMATH { font-family: "Century Schoolbook", serif; font-weight: bold } /* implement both fixed-size and relative sizes */ SMALL.XTINY { font-size : xx-small } SMALL.TINY { font-size : x-small } SMALL.SCRIPTSIZE { font-size : smaller } SMALL.FOOTNOTESIZE { font-size : small } SMALL.SMALL { } BIG.LARGE { } BIG.XLARGE { font-size : large } BIG.XXLARGE { font-size : x-large } BIG.HUGE { font-size : larger } BIG.XHUGE { font-size : xx-large } /* heading styles */ H1 { } H2 { } H3 { } H4 { } H5 { } /* mathematics styles */ DIV.displaymath { } /* math displays */ TD.eqno { } /* equation-number cells */ /* document-specific styles come next */ sun267.htx/sun267.html000644 000765 000024 00000026727 12365763733 015021 0ustar00timjstaff000000 000000 PAL -- Positional Astronomy Library

next up previous 250
Next: Abstract


PAL -- Positional Astronomy Library
0.1.0
Programmer's Manual


Starlink User Note 267.1
Tim Jenness
2012 March 23

Joint Astronomy Centre
Science & Technology Facilities Council

Starlink Project

247 Retrieve hardcopy


Contents





next up previous 250
Next: Abstract


PAL --- Positional Astronomy Library
Starlink User Note 267
Tim Jenness
2012 March 23
E-mail:starlink@jiscmail.ac.uk

Copyright © 2012 Science and Technology Facilities Council
sun267.htx/up.png000644 000765 000024 00000000323 12365763733 014201 0ustar00timjstaff000000 000000 ‰PNG  IHDRîë5À PLTE¿¿¿oooççç[Íã¹tRNS@æØfuIDATxœ]1ƒ0 EŸdÆ&Cwr„,Ü'köŽ•7n)âIT xO²¾m”'<æ‡Qßüâ²1A ¹ÙàB›­ÓPÕÔ+†× ñ:æ²×ŠpÛ­Yh/ãiOî.c7ùÏN¤´¾põ±_×Ä/11Ab$·}IEND®B`‚sun267.htx/up_g.png000644 000765 000024 00000000347 12365763733 014515 0ustar00timjstaff000000 000000 ‰PNG  IHDR¶î‚tRNS¿-Mc% IDATxœ}‘Á Å C(ke¿ŽÃÿà%Ø€5þhCKk‰ ;±Dj€Q)Aj`UžqR«%BdÀqRÀ*™["ý愎2$Z ƒŸÌÑɼ£\Sæöc³%2žLhyóÒ%@lhzÉÁõ3â0bê€rÛ½‰,b[ž.i(ì1ÇAKú×].bMSü›³ø>ÆGB¿®Æñæú„À-¢RIEND®B`‚sun267.htx/WARNINGS000644 000765 000024 00000000271 12365763503 014217 0ustar00timjstaff000000 000000 redefining command \thepage Substitution of arg to sstatt delayed. The sun267.aux file was not found, so sections will not be numbered and cross-references will be shown as icons. pal-0.5.0/._sun267.pdf000644 000765 000024 00000000261 12365763500 014360 0ustar00timjstaff000000 000000 Mac OS X  2±ATTR±˜˜com.apple.quarantineq/0002;53c2cae5;Preview;pal-0.5.0/sun267.pdf000644 000765 000024 00001042257 12365763500 014157 0ustar00timjstaff000000 000000 %PDF-1.5 %ÐÔÅØ 3 0 obj << /Length 664 /Filter /FlateDecode >> stream xÚ…SMsÓ0½çWøòÁªW–,ù˜f(ÓNZÂÄ ÇQ#YÉ ?ž•å”:Ãi׫Ý÷Þ~ø²ž]\L §U^AR?$’%¥”Tñ*©·ÉgrÓëÓ¬ŠÌïRÆHŸ±ýþ£ m½Óé—ú¡Ô9TQ1ÊD™äi}wÁJIaÊ­Z ÁBnvJΠ BL­Ñ¶ÕÈÃJò&IêT1¢ÛÝí»þñŸ¯B¼iMg¼ÑCÌ]ôÛ¢XÓJÔ1‚Ÿ:[ûÆuÆ~‹õ+×§™ä«nýÿ³ïí"Ç]ï'罉—s(¨’2ɘ¢¼*"^möXVäF[«‡aä̰ª,åKf–‹©·‹ÇOV„¢Ù»zö}¨7O ¬OHEóœ'í~b\¬"ÊqÓN'³³Ë°x ãT*9ª(iŽœ"”O X¥'óeX´ ¿¢Y¥~À1÷¶éb,\F'žŽc'PHŠÂ±çŠ*¥"ÜÒl\ãŽqFȘ‚v&h ¸}^!ùÔxNæÏÉgR³ Uå ÓUpëúG×ì÷Ú½¢¬ÛÆE‡¦ûCÉiÁËñäU%r*A¡’d¾ÁVšxï1ƒJPÜ_Và,;HãˆxÎÉSä‡Ù† ‘&šá°´~ÿ¬ ~‡§©£×‹©mLZ/çËëËèwÓØÆÍÁÇ’ŸÎx¯§t3ÙE4‡ÁØÇèúþqñÚ…ÏW×4ÍXÉȧÆ?ztŸÐH\÷`6݃óÜ:+¸þà m‡§æToöOÞ£L‹×Ûœä½[D˜õ‡«È> stream xÚmޱŽÂ0 †÷>…Çt¨kÇIÓ® :0°¦»P( µèÞž‹Â!n³?}þÏ|Q÷l ;êüœÇ‚Ž ø|¨Ë/¿¬{í^-C„-7@YZoVµnrvß«?¹jœAgÁóé\êVݾãᘆKºkP;BÑ]ö£¿yË$a¨^¼Obû_=´æù©&Öe%"jâ0†!-FmÇ]¦¾lE !=t§Ót¸eÞ'¾ ñ/qøÉl>]Ç_’J‹…/î°O½ endstream endobj 18 0 obj << /Length 959 /Filter /FlateDecode >> stream xÚ}TßoÛ8 ~ï_‘§ƒ ,ªõË–÷–v×» Á.@2Ü€íT[i„:vNvVä¿i)©[{E‘?ò#ï¶7·<Ÿ±”iÁfÛÝ,糜 š39ÛV³ïdóõË-ÏrÊ’ÿ¶Ÿo˜K©iª‹Yl£ g3&©G›ùÅh.Õ™º˜ÎãŠ,›D0Òû6™ÃYÊÞµÍÔW)ø§Tˆà¾Ý»<„&µ{ôÆŸñ’“#Äášüt•Ï&÷á}d¬ ظ§ÆVѰ &Ña±^ÎËöp4½{¬mÐy{¬Mi¶ÁOú Üµ>8ö{;úK“Íj±ZÞ!ÌJªd’ÍB ò#U)Ö8ËAb¨ãÄ4UxÚšr>Fˆ}‚ïd¦Hiê:Höÿ“û™¨Œ˜úZ$ÔoþyHcdWI|{ê]c£;Vàïvo›gô°þùè ¨#OÄœlÊ„çdßÖÆcÒ9tæCä‹óEdœrÍ/Ô̦8•Qž‹‹EŒÂßDÑTªWz3™Ê©8¼ Bé‹Yè#"úˆ€¡C ç2ͨ€{Çòäý+§˜$Ë^¾† OÓ,H]¯:ì 0,¼¬i¢ØïMŒb†çpÁ6Æ–½µò) ÁÜ çàl&1¼ ÅðÄÛ»ÆH§ô=µ_RAä]òè/ ñÚ=í|Ã_ðZ¹)v[ Cd ÿ˜Ðã¾g˜0‰£4WTtjó¤XoèLHÇsï€{OàŸ+²N I«ßì-w8”'å.ØÖAX'Z`¸(âš7¦>Ü^¸PHFžƒâX[sñ/ì¬hZ^2ÙõØlÍ¡ÙÑÖVéÝ1v™0¿÷°‘¤gºS—\ÓL_‡`ä9¸|Œlã¹Ç$ë¶s˜‚©Ã};&Q HÔÎAµ‚5‡*\uf G½ŽßàôÙbÿ‘MdZ|ØbÒ‚ü‡&wøf=ÖóŒ0+M>Ñð¼¡Qáš)ÔLèú÷8ùÖ•CÒ×'Ó›ˆ0ái̹ƒ¡ª#˜¢7Ë›v׿˜!öKé¸Ìì.LùŒïí¡ ß¾-—“Åœ²”Šƒt@¤ÞÙÊÖQƒxq"¾ÐpÇ]j+Ü@Ñ`±Yá¾mvÑxc=Z™,‡=–^¹ s5™š¦šéw™Eš1oþÜÞü?… endstream endobj 22 0 obj << /Length 897 /Filter /FlateDecode >> stream xÚ­VM“Ú8½Ï¯ðÑ>`,ٲ͑²•šl¦¶ö°µa‹`"ŒlɯßnK`A¢=íIjùéµ^7èé·ÍÃ|E˜G¢p-ˆ·Ùyõ2‡I¼MéýíÓàŸÍÇùŠf6(‰¢0'©iÌúÏ?æ4ÍBb°Ä#I')EììžÅ,ÌS¦·,ƒ!”ù«`‘øÇ¦ª¶ fqÆü'Ѫêp¡ŸøH¸`lä‹F¢ 5dÕTëϫǥæùÄ»®j¾Ž[‘ÈABÆšc³Á,¡ÔßµR¶Íüo°S/ |+ÍWYõCÓØ òØ_¾Ì×ñ_–zmgdôfãžúÃ@YOÍ}CVVJ D'y!jÑ à’£j4rÔE(Õñ_ûJöÊBÐ+fj:ìEì1Ë|Õ‡ª½Ž¸2ËUÝÉkQšÅFÃÞ @\ât «­â껎ýXœ^O¥ÃF|Ó“¢ f µ4\ý¾=J“¨Síªi¸ .¥-"1Ͱ‰ãØÔ 6AÁÃÏÂE–{3 ?‰ô²çe97-CBrÃBE·?½k¿±ãòQ–87IR¿âÇG.é¡üÕáú´\A–”ľòÞä;j—;ÊÈ­'äF?·EAû øH¹‹žp XÒa7Ÿ0r «ú|šuî\Èšr ùVÓ“ y(äTö%……Cy}®'äÛY9sã!'œóŒ·p¯Ü‰S”[õYbäD7Hw%oö;ZŒÙ—MçÝ‹n:äZtÎvЪ8 z†-­.bäFª¤óç{*íZ–.5'¸hÀ&ôߦq’Ù |u6ð¹ÛNl8a¶^º ›ñà†Ý2îîŠIñó»x?[P¥®®¾²ý ªCí~¹}uÁN˜\œ—˾Åë4÷‹€ËÀ¿ iîý›ãÝ_‚³ ÕýQ>Ôà.×`¥ŽSãG>ú?±¿ï¾2K¡ÿg…·/P˜‡‹˜Â<#¿¼î~9¤×‡:.e‰íþ–­›kÉØÏüÊõо¬çâýXØÀ¥ñi½Ž.£eãV“g´xÌ£ L z=Lå8·-LRÙ+=×Úû‹ÆA›’˶ÚŽ[…cr} ÀRÔG9T£\¹³ðkiFÿ~xÞ<ü îjÃÖ endstream endobj 26 0 obj << /Length 1281 /Filter /FlateDecode >> stream xÚµWQs¤6 ~ß_Á#;“u0 íôaÓä:éL¯Ó$÷ÔëoBðÃ5¹é¯dyYvKz¹vû‚mYÒ'Y’/îçïBéñ€eAƽ»'COòˆI.¼»ÒûÕ¿ýðþ´"¢¹ŠÒ”‰Tz+‘°(p^¹T¦èªm_éö›9Èð¿©í"d;NFÛqñ1ˆU×(® J¡›írvêVµ@ôÄ×ÚÏ[Kƒ¼v¤{8úªërÔ dr÷Oíh°Èâ‘MY\XdÌ•LBð€ h·€{9Xa*Èc@*t»Ñ]C " çd èºtlyŸ×úap§áþþ~”¢ÖlÖ¡d¡ŒìÈF×í2 á4|là ø‰/’_$,N£/>é 4ŠÃxïu»B'ЬÔÃ}­hÞ5g'–sDõtH¤Ð;P$ &C±ÓäcDsúÆLÄ#SW|Qì*’päø¼IzYŒÆóoç£?•åöëîah”u@o,â^y#Ž î™Ó"üïp#RHB¤¨¬ïÅéÌâKù‘I7k ¥?ªþQ=Ò>‹D$ºËË*oÍDð¡E£d!ÿƒ¶—ª8¹º.몧ө“È eŒª«Ý=W[›M´ýx=IÌ@ȰO êiÈ{ÝÑ"oKâjÕj<øüf³ºbά™ˆO2&>sþ‘±$’{¦8¸Qýеª| –Uœ±ðbnƃU[ÔC©Êÿ~o5\r&âô†CI E¾¿'1=æ”Ç#Á‚]ñ^÷ÊÌ–Ð]Ö ’]”þ¤ VBžú¦Ï;š¹H5(ˆ†È›N7Ž¡S $´ÒXemÑ„ÅX”Ü!´B;¹¥ê**Oå±ÄÜô0W}÷BëÁTíƒM„Á!†fØÝÁ…Õٸ KÕàÞýxѤ_¾Ðµ |œAÓ—Æþõ†¨UïFCc« ¸½9iC5Éû+¡-èi3§=¬Ø‚pW7]uG""LsF©ç¼ÙÚ|“Ø®‡íPtÎûªA8ˆ>u™nY4ÐÞÐt5•é]'@4w0ÛÃ8ù%E€=¼ó"”ÊHÚ³uÿyTsÜ¬ÏÆè6›k—´î­\‡’—¿ ‘‹or1õ8•!–NcÖW­zµqixP> stream xÚµ]oÜ6òÝ¿bQ 8-àeDŠúÊ!ë8màŠ;{ƒmî–h›È®´¦´i}èï g´^9²ãôR?˜#r8ß_Ü“Õѳd:“±(ãRÎV—³\Ír™ˆ\êÙªžýéùWoŸý òC¤$ID¡³YL8çï~z¦²\Èù"Ëòè\²hkÖËÍ–®Ëâðúb¸¿HRQd)Qù©ím÷œÙe‡ø:I¦g XKFþËœIÄ'plumiDO)¡•¾›¢“ŠTfŒö¢³þÓ\‘­§èi)’8y”^4`ŒÿÙÆõ×s4CT»®7MeñKGÞ^ZïK8ë[ZÍÅ|Ì[”€Ä ì5M7%,¡tòt MÇœÀ®‰­z` #–â9Þ òySõ®m&ÙJ- žÎVLyÜ\ „²«•_ãðwMt¬£×Æ×nÒûi. €øÆ?¾($ü§±,3«¤-ye}Û´gÖ¸™ œº§st®'vèÞLÆÌ ‘%ÅE*î‰T›ÞtÙzæ ?—QðâÚô`ˆ›<â3ã{cºî¹ÍJç¢, É ùSÍF xh®Á5v·@«£¯ö’NûkWaŒ|llÇG¦Ž,m !›¦ãCs±é0Úeˆ3<:¯Û`6Ûàå€õW„AîP%ºC̹. ÛSv!+ÀZ#mLmov¦FÈ“e‘Y¯ hZ¿1lmÝñ9¯®çuدªß“#ggƒ˜}o™|m‚b!¿'h·_zOË Z2QŠÏÏ4h'9ù–¹è=8<` <` <`}Oˆ/+F£é—ƒS%J@î}]¾ ßïÂç§yЦÞY>6Þ²œÍÚ} Em}»—˜B2ÉE®ï…$ÛËQõå»®ÇØþm”€ ÊUÉ´ŒºÅ}‘㪀³«Êì:¦Šq+‰ìÁz×ÑfÞªmÓ¹À÷v^èò$Ñq´õ;Ït‚ÇAH?‘UÛÔnO=aê ¥ VxÓoÚn ·-\úv3 ´Ý€<7CÏ t•!RfÓ|œ.·\AÿBµ]]³X»b¶d»½IôË)¸AÅ+H3[kQ–¨b®,¡Ö`n4h,9ªŒ÷]¶#Œ+oMHü ÔAhè³;&„²ãíôYä´Ö¢ˆŠ*î`Q%Èñzm×5!ÃQv" ö#+´úÖ±c!ûëí¡Ö†ïvb=Ø( ÓÁo˜¸ FêBa•²à‚rnÑEE-×];—eôÐì•æÉ_˜½¨c‘yt&^‹föPÞuLJHõô!bÙõ¾Å\QñŽ£Õ´²”ò»Áš3ÅGÅBåIÆw³†í"Ó:úY,±zíÖ}c=+ô®qì‘P¨d7ÙB()Ç> íÓ\±ãÿä˜Rf+‹ø[çÉcõ˜Dx%ÀöÊ¢¼®/PaP½æu¹|vbýÚ5|çínívœêç[ïš«`üTŒ¯²"huôjuts„ÆgßI®Âk ÚážNÑHÉ BÚ·³Ë£ÿà‹EÉLš‰Î¿X’4 T½;Êfy8¿„!ö.… åø‚ìôeÑÙòøÔVsÙ…ó+Û†ö[Ùp¹÷ŽQÌvk¼áÝàmÃ4ç è8ºÅíÚT<§ŽõRø ƒœ;¼þØ›ªÌE¦SÈT)J- ÿÔv•w[l1ϧ‚,gjd‘âÐ"™,’É;‹Ìó;‹PÕÅÒFV´`Ëõ.ìÀ56ì@T¥ªàŽ2:®ZO”CZ‹¼(ÇV­]±Ð‹n»ÞnÆM§Zï›åPaß¼<;§–϶Ð2ÐÀ¨È6(uó‘N.áçE„kÛ·~ Ðª<Ô”Q¡}ÓÌV…ÁûQe2Jí<i±ÑO¡ú§*`} ªÛÝÅÚìÍñç›õôfo'¶íÍxsòiïØ{åëC'“Ï,¡Óý‹×o¾H;Ûký$Šõfo ùÏIWÈX‚äØK³RpHO?6Ì(00d/”jhqÞPk|‹Þ› ·Ðú?ºàMÛ„ÇàTÑ-E⌠µçÞÙ’" IÂôíà5@ðž6Ń’_‡lüÛŤ¤ÿä¤äüÆ‚®NOx(2Ó|&:×"Ÿ·§ 1þ‰ô«4°7ß^þW7;ׄ©í÷çÔS±y¤- *~w¯—» ›+ä ¤x².~3¥ËDFæØ‹&’²ÿ°•%ÙRŸÙ~ç[?d  „LïÙâ_{e>Ï úÁAF_rOV2R'ƒ–©(3ù–¥ÎEF+P¥ endstream endobj 32 0 obj << /Length 1661 /Filter /FlateDecode >> stream xÚ½XKoÜ8 ¾çW{ò±b=üꢇô‰.›¤‡EÛƒc+‰ºc{"{Ò°?~IQžñ$n›´Û½Œ%ФÈO$Eͳóƒ£W" xÌŠ¸àÁùe‰ ã’e\çuð><{÷öH¤ã‹(M³ðü¤áª\7«E$òðæïÅÇó?Ž^ñdªF©œÅyĤ%ñ<ù”'™"™° ‘° ‚k¢oÎÍý˜9œnê¹>$^è¾²f5˜®}2wØ™`1l9…&Ghr€ÌVùˆ ŽF\p ¸44"Pò(€—q\9€“)(€8à—pÀ‘Ã-¢"NÂókß‹`©K²­¥¿Í9˜AFz§}F «’ä›z"%bŠî@=’yÙÙÚ´å€I‘a¿éÁ‘Å¡é‰fZš_‚ë%à@ ղ뽜 àyóüôŒé[Zwéy®FÔ´ÆlóªÜ®ÝßBÍv+kÈ,Xø|­[ZÒåiä‚4ÞÏÊè¶Ú€O…rŠD‘„ƦΥ‹„Ö˶&Pl5ÑâØÐ Ò½†Þ`Ìõ^ž„’°\.‰‚à÷ÂqûÕÁ–m¥£Ñ5­º2‚ƒ®õ,Ú«§4Ä ºžsÎ,h¾Y›¶CC¿Îªˆ!¾BÄIÎêÈ´µ×ªAÊ­ñpôu@ü–´íi^¹ôñ g…×Õ]@¥kGy¿ý…‡ˆÄ–KÓ^Ñd¸öb¾¬b¬Ì9G_!l6ãEÆDa*$“9 ¼iR@Ã+7°í4ù÷R!KY’Ë1n;V'"ñ¥k9Î>ÄIL£º[_,5myxŸXÏËfe›þ½à÷g®)™‚EŠ}ˆc9g÷^ÛæÐIË™ŒïTá¯ïUrwË=h§ºÙÂgŠi$:NBÇöjÝhw(ÝÍäNkEFåÞN‹÷j.çøQ[ü„ø¿6îDu;Ù{ÿÒ.hëIÁ:/ d¸ŒOévF¶¬ dê›­­ÆŒ©oêÿÐÊñ„î›IwïÙ™ùôw!7c+FáOÚ{v¯flYá®hè¢ýëW¦eDä±³ Çî '®Pƒ…ÆrP­‡ÒŸ¶—‘‡c˜HìÊ/..¶ùfq9ÕÃÚ¶º~L®žP§=[úàÔzôïq•¥þ•F~³ðÝ{=‰8eNùñÏ'^¸»o|V> stream xÚ½XK“Û6¾Ï¯På°EU,˜x$½•ÃÄŽ]v6öÆ39Å{ÀĉD*$ädªöǧ R¢Ì™Ñ$»Ñ…@“hô»¿Ö·×Ï_ódÆc–Ç9Ÿ]/g©˜¥\²”«Ùu9û9Òóÿ\¿{þZ¤ÇIÉPbúäê§÷Ï…NŸ/´N£ÿâCG;³ye>Å\ÕÄgÇ"ÏYW/dÂ2§ªœ/d&£o𡢪žK9¢}Š“øMõ)¶† lGÒsdšÍ Ax¾2s‘EwÀDÇ9jZºµÅ…ŒÞ´vÕ´•©i[˜­KÓNJ=ðOY–ò”·Û‘Ôe³¿ÙØ`6=²mÎòT÷fûÇrê’œi™>JâÖíÛÚ–÷)½Ð9Kó„´V9ü¡™/@ï²BØ’t{·ß z¾2Î’%ðŽw`˜W‹ù‚GBÅøc@Hüþ›eÓÒ±˜ë¶{Ü@’D¹™§sÆí»ƒOÓîØ¥½rAˆoH¶ß3Ú_ÙàÒÊì_š¸ jáUÔ€ÓƒŸç‰ŽÌfo;6©H‚.!N!®û\xß8Û½˜ò¬Š™Ô ‚9g2Éz×ñtR!¿ìüSg»S¡'.X„S#ÞyC½©~Á㨱q¦×ºêèEÛì]U‡¯\k /ÄÂ:Ðï<'Ó†W1ÓÒôlìÒ¶mU¯ÿ&0é9@vÑ›fyxZ€¼#'‹Ø­Ñ2YôÒÖx+ÄÉL]ÒâÆ¹]Uuí/D²ÅgHð,¼sø3G•äÑÛáPÕX¯}ùø\5û–èýûºñLóÈ…Ý9rþT‹}‡Rˆ ¿"ºúðzÎ9.‰Vó’áq_V­-ÜæŽv>ráTÓ—›ò¥Upôp¥ NIƒSpkÚÀ+Ž*†ë‹)ªmÛ]k/øe7my8(b: JâEkŠ´QXfšÅš÷‘ö}þÕdLf,=´ žOžçý f³9ÊÐ.P¿ˆ› ð=xOFl:WxÂtžþÕdñ%å_—}»¨Bži‚›ßª^òßðTÓþÒÓ)xeTÛ•qзÐCDRÈKñÝõůhÃxƱý*l®±˜Û ¤©=#gœ)žÎZ;[^üxñ-6nÁg\1©´[Þ±Åê‹þ›͹€Š• -ÜþnV¶«¶µ:*PÞµiMá|ÅRç(©%¼Á¤Fš©WC«I#2ÎR9ð È\1µV3óжmW´ÕÎUMýbÊm©UEÏÿ»ßŠêÛJùçŸ+Ÿ!°\¶Í6éÑ4FB¯¬ƒ÷`UÚUk­ÈêN[l«ú°élAŸù&»))› EYšå§u (u;S„ÖÛwÕ¢Ùn -K»©¶ã÷4&hHÔ˜KòÛo=PòØÈ;@Ì±áÆ D³$“½á>7ˆ¹¨ÞEKH9¿ÃÎL«¢©±|ú庇Eã„ã‰Ì¢&€Í賄©dˆ2÷3b\ÕnНÕŒ‡ØwW»¦ LÀaêøÈY|ÍÃ’BÿÇÕS8Þ†æÿœt´’šÉXO°yÙ®ö[K¸˜ È ÊÚ¡W‹cëŽpWð#R <~Ÿ/a-¹x2H}š#P`\ò8¿êåô9@åÞT}/W˜~}‡R6”z½Rï,¼^í|Š4Ýä¬1a’@çÞ"tÏ?èžGÁ¼ÊÁJãÚñoßZº s€àªà `ºu¸ŒÁTEùÁzѶg2ËÍzâö.§è+¨ARËó9lIã4ÜUmçHöµ:´$y$ ÏWäHã8âôÆCyºÙî ÈÝTœé¶«;ª¾<¡¦£8ë ºÆ†ŽÓB–F—Kjmv;À…ˆA@J›´oø°jzþ”YÓ”yÔé¡D¹všÓ±~Ìj( z€€U ]Àfd;š@AÓëš ´ãè '8Î> stream xÚ­Ë’Û6ò>_¡ÚK¨ÚL¼0[®ÔdmÇÎÁëx”S¼ŽDX¡H™8våã·ÝÉ1ãx¶¢ªF£ßÝà÷Û«'/”[ÉX¤q*WÛÃÊ©•“Z8iVÛýê—èöç×OTâ„\o’ÄEàDç¬|–«ãú¿ÛŸ¼vJÀ/bŸ®b:ïG%Sœ‰pÊ®6Ú ŸXB}K·D‘¦ÁÛ~·ËÛ¶øm­|”¯7*‰ñ¤ÉË}K«S¶V.úH‹;Ü€—ݵy…›Ý5‚M´ÏY_vEuO]Mã§¼©ÅzcT½X{ÕͧYÛe]ß2™îÈÔUÉ÷îê2xWTÙ…ö7 W˲vE]»ÚÈ(+ËyúÚ3°Éq¢€Ãû&Ï[Zde]å×8×6ªË¹Ý©¨Rßᦌ1FI¨ÝÎlÔnœ›<¨ÉG˜²nRâýÕð¬aJV_(lB 1‚€QŸŠ®Ë÷È‹M£ŒvI…ŒÀ4ÿ)i,Þä]ßTA+H/à›)–‰új‡ì³ê>߃Ýll£WÕÈå‚5Ø ŒªµŽvYô¨M  @wÐ.Õ%?f×ÜH'¼ôqã·HuzKDø\ñÛÀïFøÓK‰[t2í’‰åN;o«º£Ý†oi(—ýJ®†šr2zYãònäU ʽnJ×bÉè÷5¸89àíºœoÆÀÁñná9°›•é«b—€<_6Lwá«&ÀÄ»`EÞVã°žù«Zº©â¤Çà@f‚ðQ‡2%Y˜ÿ>¶:¼¦éíj¼±)jL °²#áítÄNŠì´ù®®ö_bã«‚uu”1¥:êlêØS]v„\PÓ$*jNul Q-°@µˆ~BÌí’Lí 9eÙ,±üÿßú0fAy8ÿV>&bŸ‹á¢}(ò&ð”ÈšBE!˜£¨¢Õ‡ã0ËøÔ%!Þ tÌøè!+ʘÎÅÑÏÕCá`Ÿ6çãE³ëO<«ÝpáƒPëé Ûgô-/)™@ëÏç²Èë·µM cö¡ÈøxVñšNadòø‘¤„œÝÂB¼!PÁ×BU<÷œ4èè‚K9ÿïN¹¡’÷ ç?({Ù¡£A”i”Ÿù€ ·³r-9óâÉ&Ï.ˆÙ€V1­¦©ì/ £ÚwùzHÍb´¿ùÏ-`Ç0–ù¡cHE#1“]Ý4À--°Ø2ü€ÝŒŽÁÙ.ʈ±Ÿ˜¹7‚>ÝñÍI:"@S÷à¼[7“ƒŸ;$v sÛV1¦»jÁØè6Ïg‰ã=;Ëàˆ!a…Â%Š®¿Û;B"¥Ünß¾zýÎå%¾³"4k°{¬û»>ûi‚dȘÅÎty¶'J5Sk7,@|>HŠ“T#b5ècé}_4ùbœôUÑ…’ÿá#‡aïb× Í÷rú±4XÆÆ#w¸ÜáØdû"«Pã¸P04ÎohhA%Ÿ¾¤_\„®Sg•À]»Äþ¡/TøöO:rTtŠš¼ ¾S@}ªh9¹ë#!^Œ7éåØ×n†ZÞ åhÏ>2s¨T€?.ò šºè‹ÎäDª/ÎÄŠ$|IÃS|$Ó|ñJo„óîñw²éÃOÔ¹˜Üê¢XH›JнÑpاVk뉉#aœh` s,a>–"&ƒI¥6ñ³ ?’žOd.ÞƒÿPZâwžÒ „öN+#M¢&cX–ÙÏ"\9a¼bGÑtçsÊk蛾]RÔpF¦"±lïOc*Ûðº¡:LÓðÄUØÍŒg,Ü”ŒÆ[`ÆÂË÷b^hÀé½(y4Fø8a˜‚ÞKÚÐÚ&Â-]*¥ÒØ/Þ ÝN¢ŒÙ{‰h¿z³}Ë·òÐå˜F楩¿•¥‚N‹‹ ¡ßѰ‘"Æß³Ác°¤æ‰àGRÿw¤ô€xõ|{õþJ¿ñJâ7 …êOÛ®f,ž×+) tùM¾:\ýtõ}øš!WÒm@Xúš¡b%”–c¿[¤STo…w~ÐÐó÷}ÖÕMšwÅï|¦ì>*Z‡š u©ª 2ÙÆh½¼¹†vñrE— ïÜ\ô›O×ϹŽÍø–^ ¯ôjŠ;ç}:¿î7&;Û¡amwMqÆO ‹QᔈGŸø7Õ:~vdŒ|ª†K"Ö¤†ºÞ¯›ð.šêA,²É7Î’<¼Óµ‚ká_Ð1<ǧÏÝ%ÂúK:f… ƒÂCVÙh_÷wÂü˜]„gz>sèBc¡R`Ý_Üãä§åHÒË+ûô—tý8’9}Ì€Hƒ\Ì cð_–3•Ós½ßpþw\€5„¤ñ‚j‘rj=âÇOyÚ›/Hâä´lM¤ñózšèdD²ñE0}^… ²à¥›DŠ$¶sQ_BÆoÇê¾Ì‡g£¡nAtbéšÐ›+ж†Ô"2½}Ö¯Ó x5|˜î‘b&Âk=rH‰ñT ¡Æ"NåÃTù?ar endstream endobj 42 0 obj << /Length 2518 /Filter /FlateDecode >> stream xÚµYK“Û¸¾Ï¯PåªVâŸNía¶lÇNU¼ï¤Êq6 I¬P¤$=ÊO7ºA‘3´=®8h t£_C?]_\¾ÑJ~dbu½[%r•å'"\]—«zéú_×¹|-“é$%#?IãU@s~ýû»K'¾Xoã8ñþƒŸØ;åõK=ÔÚ‘N9leúJ‰ÕVE~GÄèt¨Ö[•*ïGü„^Ù7µ&ÒoAü¹ú´VÒÓ t³^d~ mA‚ˆyþ|ÓióiÅ^޷昩Ыó¾ê‡Y+bmò²Ê›nÂx~Þ‘sê+bœ?,•´ÏTø*SNY¿ZÚ!ócŸ'EÁ{ݦÑåçdÝÆ/… aÃŒ^=TǵL½¡?¤Èi-¼o/ÄK×Ï®>‹Âï/`”ø ØãLÀWµæË¬Úæ,"É‚vë­ð>+f$|™(´>_f)q|×öº{±$W‡«-|S¡ÜÁE²hy¶éÄ»ªk2­þ é¹ÙGÝàÝôå†í/oöµîh^Õ/Ì_:×–7›ã35³»á®"òŒ½ PŸFõ•<ØÐ—d€†ƒr3ØÊSõ'hKá5­™ó ½mÚ 6SŽÙé¼ëç»þpª.¥¿Þ†*…{u»Ï®—fƒ` ÂÔ« Û)Ë)mÔ¶;)Ð~¸ÜÒ6ßS‘×v£(šè‘r­˜ ÃÍz+‡öº…nꕺ¯ 9÷¶¡±ÂT@Ìkêå§S =T@‡:Œ…W´ÆèÂRhή5Ô8Y¦msÿØZÅMæ§;´CÍúº±«œõá~ºüº‚\\xžŠP¸0½®=jjÁFpÇ ÞrÞC›±ª§ïm…žƒ­Q{vøÈ‚š>'"zßò&'š]T»{9ðRÖSqíýɉÊkw4ê1|NtÇ%’)'x‰E]5ÎF“„ 0Áó•ÚP†C'Ã?šGÜ0ú÷¡2Öˆa"œ-¡³‘Ñ »}ó™ß&Ω`‘¶á0"A³‚Á·‹÷Ê Ù–²Áó(«r™ï˜[¥PgÔ:v–´ŽtM&WV]_5û¡êçÕ X«å[üÑñ숞‡m$åÁžÜ꘸ã ¡É‹í’<ÈhCèö6‹qìÎlìbÔ2uP÷dº3;¡òE9ÛýÃ’yäÄ3ZB(b¹Ä0à/ê‹ü2Øq̇o®6/uÁòpÈt–GêCRÅ_ºþbhŸ(•‰=óC)fÁsª hª è³ JS_¨ôùúé[6û[pâ3p´æ‘ò7~EY±’seÙ Ö¾;Ü64ÛSGÝ–ÇË ÅXðŸÑÎYxÄŠ…±"熋’¤G#ÁÀÔ ‘-wsÎ? òÅpú,y¾ò P6`[2.é‹H~E_*Vs}ÑÑÛï~! Ý9v½ÎKJ¥Vçܪ¾pµvØ]Îb6Q‰Ÿ†é·çÛw­CEœ×!®[#×öóoˆB4N»·*FXEnLåDm‡þÿ‘ø”³Ýi˽_ ªôQ5VÑMø¥œŒ­‰½ Ô0ÜB‹‹ÊY¬¥Ùô_°*æÖÔ#çÂa¡ õ6}â[Œð”Ÿªvèê{7ÿxzº³¯!¼£°û$)hsDeˈ |»@iDÌí`ìut¤ØX+qGŒÉŠäÝÙКœçbÅA &÷¡&Fˆ7¶¡ó<Þ2žlá– òL€†5Ó‹W׿_˜¬ÖêPÍøTâÅñia„‹ÕJø¡HVF¯v»ø «|H*î0–\åË(ö³0uà`^«gÓÉ)D¾±º{½N%‚#𓲒ÂÇ´ý˜™0Ä@4ÅßQwgZžÍV¨¼Wv+â€U‡-È gÇ”T–ñ˜v¾ü¢ ÒÈ™úR²Ë¾Ô ëîÅ’ë&Òâ1”^LX‚§DÀÐ_|Àuç¯H¾=h;Q2êDz§!„ÜcQ0L±Ì53dXU5GSkH·UÇërž×!²y( ý$ÍæV‹Ûsïs,7%¾1‚·¦Ú»’‰og:¼ ¥½zÏ%÷9ÌŽk:ÆÔE…Þé¢k~WQkí:õ“,›ÕO1Gñ\\—‹Êر÷óû—¯Þ©Ä6¼hGÝi^Ù;¶ýÁh.¼ |ºëP”±söÚ1ÃôœœM .ÄR¡"‚+¶,⊵Kæ ÖÇI;‰§Iâ_?|\b#…‰èùl6|¦¦´¹ÈH†šÊ{yÿ׫5T×ãÙi¼¥>GüÂqH ÃŒ²â’”èc,ƒ!î7™Ÿ&é\ƒ¶&c“iádöT)×Lif!Ù䊀bm"u(§œ éì`8wßûÑyó–üžBSþÁ=»%̦µ˜(k´g›²2¨Àkp;`rËEPÓ±vÁö5& 7¯@”kTðQÏçPÎ} :äQ(`7Ô|a°îÃv²yo¶~ùõí¾éÄŽ©Ï¸ôÉÊd"?u×tâ®S׈„ÜÕ€¾;"ZÀŒ´Ø©«ã8¡"±'F±·Ãv„#`MRýt1ÕHoù öˆ+o87¾@» ¼ýdž~äþpâèdм[¬ì)—‡ÞôJíä ejÁ@r_á«U(—š££n,Ö¿¶ìÒÊ2؞醡ºcg9ÑËÈ=˜ÜÛw6gû°èîþáŒC~R¹÷ÎG ^ˆ(>LRÎ``UxòÚP,ñÕg›ùú@/W {Ñg«ä8ñÃgİôaØ GСïòã©Ö$ÊžCyC]gë#–æiö•©EX—$ûhž8|kª¾§¤úDÌLùI=_̇»‡E>‘žŸÅÙlCXÀöØ—ÙiòüÈèjùí£ö•/¦;¡‘¡„™ð´Ó°ðUFÐßäî>.߀­¯žq¼£ï¤±ÏœŠÖä27z£OúbƒMë™´% †-LHw)ÛµnöøÄ‡óœÊ§ã/aÑézN±Iè‡1áÐ@zn÷MõàÀ×AP˜bÁ7Ø»w³ˆÑ^cÖÒ a[¾1Ô‡Xô #‹±°7ÁS8Íâ)¤ç½N}~Sc Cz´Â‡ólXæx)”^nWzeγ²Þîa#zµo >-mœé‘ŸÜÿ2Sxþ+æüÇÅôÁ£*]dî'o' r&O jöÖ[ŽÛN{e endstream endobj 45 0 obj << /Length 1620 /Filter /FlateDecode >> stream xÚ­XKoÜ6¾ûW=»hD‹"õJ‘ƒópÑ4qNI´Äõ*ÕJ[J²¢?¾C)K6k¯ÆŠ/f¾™ùfè—gGǧqЈQAƒ³MÅAFÉ(ΪàÓêÃÇ·ÇqšºÓ4[ý«éj/š×Ÿ#š u»þröÛñ)MæB8ÏI”A„2 {&ŸŸ Ý¡%$O<úk»fñêRÿtë~K1Ô]ûÜJHª¦$É™ûÈeWWë0‰£œ©pú9J"•]Ûv¸ eÆ ™4Kc'ôs1ß§Âîuª’êÊ­ºñ¼‘VmíY¶rËuø@Æ4!” ýÄ¢±ï}ÔN ŸØø› ¤?{!Ž3g žÌˆ62OÔŸ“æ¡7¸Œ‚9 ‹HÌÒ™Qàœ­^èwèé•R¿ ~ú‚s ñ/õ:¤è9Ùj•|A ’ƒŽÆF^ØÛ¯Ã8_ɲ†ˆâ²‘Œ­Ä¹YíÆçWÛº\ÃÂVOùJ\»ƒ€'T7˜XÁ=q¶*ËQõ^h&M2’3« 8la±ýÆÄï0öƒO?-O‰jMWµhû™ÀÿWÓf¤  §×3n«»z2§çc•„È}z™z»uy”t©uGU<ô#èZY¢¿Íæ÷ ­á㪾֯½9;úûˆDÕÌ“˜$Y”»#½Æ Ki(lŽþÕ¤ tÞêLÖàpã[?ÈŽKÑ4ö½ŸUwKÎ^¨X‡` <ÛÖöC;ár&ÕRN?žQéµ¥\PŽmÇoÂϤºraé Ç”Èèǧ¸Ç Y{]CLÚ^oÝ·0-n‡AzÈøz%”M‡~ðÉIæ½ÑkŸœ€5÷Ê(L$Ø ʲ\%”\”bw_˜açÓ•™«ÿÆÛ¤óÃÕwnÜB5!êÁ]œ-½mÏåµ½y´¯½ßŸq”5¤ :ÌŸ¯ºÝNhðò‚¸ umýAMo¸øèQ)hÿEƒ+¥èí«¶)˜ ëÿª÷ö¾`·j]ó\[… [áN´öKxžã—ìâVú š­—1½SÄ`É&QÍ ¸½ÖEØ4™:@W'UUkì¡ZCö÷1Å`àú†é-\vÕ»¶Ev¯jð© ÷é»î?.¢ud¡CS (åÓ l/JIÜíû?_A™ endstream endobj 48 0 obj << /Length 2036 /Filter /FlateDecode >> stream xÚµËrã6òî¯P퉪˜4>@f+'3“ÉVj¶vãÉ%³•‚)ØÂ†">&±k?~»ÑEÊôXJ&l€~¿ôõÍÅÕ–­X•qÉV7w+ÁW‚%‘`éêf³ú)`ñú?7ÿ¸zÃÅôT’ð(-’UL‡~xÿîŠç"bë0ÏEð?|äÁ^Ö¯¶\¹ïóé÷!/yÄX¹ “,*òŒÐ|ˆ™ Ósšhé/ûîn&I4ŸiЬy ;ü½]‡ð«Z:PɆL/wfh6ô%Ü—É{ÿ¦ëzát§z:Û°h‘GbÈò(Kعìð.Ø*Z,òÃË$0k.‚k AÒ .ëè+ÓÒ˜£Ý5£üÿ: 2ŒïÄ0®F†ñÅ2Œ·!ÃàÑ:L¼YÉx‹½ú )GŒ´ªÚFmPÀmf•¥%qݪn¨û¹èÓ`+xiÏ"íë,d=8øÛ÷ß¾v²)‚eY” /ÛŸ—ÄŸE‚'~\3Æ‚ëï/½q8ÛÅH2$ îm 'Gñ3–#ÀâÜ™Î9–3jÄ»Ùíe¯ok ¨yð”ö["ç‡ï¯¯Þ0ŒåŽ Gø¨6{HvKbæ‹8ãž’¿½(çx ¨*Ë>‰£Œ’<õ'<3 Ù²÷ܯ¾"ºÃg\“<‚¨ôG|ó}Së_œrÓ¢A-_áÕ½n ñÁƒ®—ÍFÖ¦Q‹6™ŠH¤/ʪð' [D)ÿ4X ‘„…ÊEIŸ#¡ýМÑãCœÅ•ê ½6¦÷p–6/6N“¥à˜uq0e’.Ž<]‚K´Þ9|Hæ>gñ­t¦ö n«Õ‹×7¿^0à.^1LR™È#V¬ªÝ‚Ò oLV,J™Xµjuwñ¯‹¯1»qò`Þe·,WL97KQŽ&GË$bå˜áÞšV?$žç” Ða~dÄT¨2Ö•L»ÑìU÷%Ï,¸~¼|]£°X\Fi9ÕÛëËWªrF<£›Aº%¨{rzN{1³ù¤Ä0šHrÀAç_©®jõ¾×¦ùrÉ~ ÅùèÒߘfã]ÜŽRH’1#ŽRp1±Z‡˜zfbˆ©t7†œEsù®Y'®…+eÈâSŠç>}(Bœ<ФÖaƳ`c†ÛZÑZ>^>ªz¸ßê9t!¦ðÄ:ºÚ‡8Nýž…ŽÝÊÑæ<*Ëò<´2˜U˜‚ã$™[úÏßeÏEÄE2—ýu{?ì”U@ßY‰¯fctÈŠ(ç.vÊGP ¤Œ»E: A(üoµÕžj|`x¨Ê¨`.J¸ÊïúQ[¿|„GD­ÜhÙt4sF<‡Ä©êÏGš—áëZQ.G;<„-¢<¿C{?‡H°°Ï.ÀÞvªudšöȬä~ب?%R(qˆ]°^þ¢ Ö[Ì3z>õœ,þ·+7žc6Ì!©ÄÙQ¤4ƒK)²¹¯ÕL+ ’syD':‘IA^<…Iq“yTxçÍ|¼®jŒžÚÜSˆu™ukˆÿ¥sëwÆ&¢nÒØÖWÀ3|%ΩŒ®}<Ö»Òðâ¾sºiÕDIÓŽÇÉ íÔ9tÝl}ã¦ï³VÓLFôŽ<Öûò8iGncZzT­q}‚’K‰_ìõÿÜ=áÛë9ó’ÜK°÷¼¶ _§…/®Â½ÆŽ-MŸÐIèÒº„ÐÄßùJÊ (šXpˆQ°æÂšº¥ `ûV7•Þ×ʽݾWƈÕë ¸ÍR…ƒÝƒ€¶å~_k*!:ÔÈÁÚVUB_àMT´Ô²]jYwæ ÉnKó“æÉÞ\)L Š>³è,—Út³S´šrˆŒÚTá;|\Fð¢w{û †-Énë9DMÛªÒwngë>u¢sPl}ö#÷p³¹£-u”2…uû‰L]ˆƒúж¥ ÛKÔ6•Ž›¡R¡ÛáH •¦n­Ù"ض¹û‘38`¯‡§«£C”~醤†Èe ¶1€‚ÁRæ:zøbgûøz¹â\Ö‚m õ)÷ÝaoÈ‚ûAw[‚9t=Hp©Ú±œáâH^’Ø¥aá v‘€Ì‘mÂFÝ=®[u×JkÉÈN è·ºÂ}w³ëaõ •mð!^ºPU1ôrGo¨â@~6KS%qòRÇs~z¨5ä$.!cX5û¨Tz›ÊF›*]ä*ý¨¥Œûx"†dœtáʉÁã]l@S)NlôÆÙ‡ý­\‚iuµ8ðHì$âSȸܶ² !ÆuÎib˜;óá9ô1ÎF:‚·¿Ñå1âé[êÖ OØ )îF€mdk´¸KôÄÒß“ÏxÄ«@^ÁÞ+:qè`ŸDO9Ž¥ŽBæÐMfM®\ƒik'‹¿ëÝ$ùÆó2 x'«®JåàÜO,™G,ã§Ï©¼²‡Qy•hõÎ~Ñ›‡Ù(¸\ù`cõW$&ÆŽÓ@¦ÞÈ8:­¯ÆL=NNáÜN6>Ã[7>ó’5†í1³ü0W‚m7W¢ƒ5I‚ê}«:g­‹Ãh3@Ô¶BuÙž~:šMÿÈ  hÝ ½.¯´s(ÀÈ43´i‡­©GÌ•/Z.éÝM»â2¤ò£6CW?øó»ýГsdv÷ûò0½WíÎiØŠMÛ¹CuކÔÅU;/öÀƒÅ¸~Ñ—/ãàíÿ`b„ñ endstream endobj 51 0 obj << /Length 1723 /Filter /FlateDecode >> stream xÚ½XKoÜ6¾ûW=ZÀˈ")J)|pê&ˆ‹¸hã ’”×–³’6’Ö±þøÎp(­´ÑÖ´ñÁ¢FCr¾y|îóóƒ§/Bíñ€%A½ó¥§COsÁ4—Þyæ½÷ß¼={FšñÙ<Š´ÿ7>"®N®éjöñüôé ®†+H²HH/ 8G¥ƒ_ϾpÇM"­Y,oQ L*Á”g’k¯6ÞòàƒçÖ<îqÉ„ŒBg^q0Óê;†$CÝ$`\%¯«Ù<Ô~–¸4Ùl.ÂÈ?ݬò´Ä±öOÒÖ´­èù²6UÝ+ü’®L™Í¸ŸÖ´ÝØ4(ÆQ·ßŽeñÐEs‘(&¥òæ!gžvƉiu¾nóª|6åX²¶â‰Gxäêñ(‡GŽñ(‡'­ ­¹Yצih)åçN+¥¹Ëª.H°¨Êl|ÿL™xÓ~Ûk¡åÞ\J¦ãÄ›s kBãiÛæå(GÊ/`·ôÂ4ôö!PA™fuKïuµ)Á×™µ'r "²ÍÚÂ7‹-~®k˜¨¹¿Èð#BÓ¡Ÿ–îû×¼½tË]šn_˜¾Ê¬ÒoÚª†ÅC@Ö»àXwa· (VƉê:EgÜ>îP³P í@ºÌ}UÎD^„6<þ"F>E>b*]䯫à(EŸcö =H£¼liPfëCeÕælÇWÅáŽb~[dË÷òã@N)>²C@º'IŸâ‚@L™ ¹ nsJW½qüç=µ Y|1òÎq}±)ŒuQÛXŸÀævÙ9¡¬àßÅÂ?‡Ä(á ’¡?^æÖæÄfTTƒ”+Ðå(\¯Ò…Mà¡%ƒ“vy³¬ÓÆ—Mú ·"‚'# H#h]¿ Ù·¤¦õ¤cG÷8…j:™c9…2À?µ7Í'Pty5¥÷·hþ4í¦.Mö0ïf0ÙéñR{éÞ1Ú¿Á†‡©‹Á82CV„×…cÅ{êj„­iÓvÓ|°€,9"«ÿÑûã'O7§Y¸ $X”ª¦q¼æöz¦"?]m0?¹? GqGLH×±Ëþª5ͳ©ò—ބЅ£»C‰¤'qÙaGo›®J¶¶Ou°> stream xÚÍXKsÛ6¾ëWpz¢fL„xð•NNÜdœÎ$m"÷Òô€P”ŒD² ”¤žþø.° MÊTâ¤:Ä\-ûø°>]-=§I@cRÄ V› cAF9ɨVëàϲå_«—ž³lÌÅELxJƒ™Þ^½zÄÒŒÐe”¦Yø¯}¤a+·Æàvš·Gýþˆ'$O”òª1U÷Ø—Žù·îœp‘"÷»˜f^öÄ\öš]îÚmµ«ê%ËCS­—ç"Üwª¾¶K¾û®S²Æ·j«vª–F5žðI™ÜÓJm”Ü"¹U­ÀÆ€2§p䵈hJ¾Iß×­n¦ 7K6×]»ŒàÐ c¡–æ¦ò¿™gPeYîµ,ÿAº×è•ÖîJý¦þUíª)æ¦é*¤6Z³kLe#ÀH" Tº) ÞÙ8Ágƒ.¹›¿¬/,lâ€Z¨%¹ ”³ Ü-,M$V*(4 tl¿/žZ2PaƒÏ`Yh$xº¾¶@¤µ[G¬ü›ÖD„ªÒá£>Q‹eÉ’¤?ê@«ƒPÄ„€ÆIÌýe»¨ºR«ÖÊ<‡•Œ‘Žòòs%ƒF fŒñ‚g×Þ€ò ; 5,TiWÎjZ„eã ÔèµE»‹:P4¾Á7#Ñ9º#¶î¨«^­ ÚYš€ÝC6øiNuà€â9®ëf×Ô ÓŒ0‘qçÃYYath;ç…hNrÄ3xáé¼_×¶W¬¥öè¾ç»™“Š‚äYqhÃ{Ç1J’œútU/9 ?Ú˜a)Ç`˜’¥°‚í]œÄà–„ëfÿ~[áZ˳ûÄuUžÍ±ÞÎóg²|²4ïUzÇ|NñI€?«3—R"Á2¸|œãgAI¸Ëš:©2½TmæD&‘0T8C³“úYÍ™9“…Òœäl. åÓ˜B!˜’øMeöº®ÖÇÜ%YÄAz}®tçCª³`ý~+õ—QC„mý^îlÛñM¨‡4ý@OeŠEzzOA7Ãì´a=åÌ·UÙÔëÌS&~RXOfk%%”ÑÓ;ŠÛvª˜B š%³‡¢y0c«ZЦáë_Ïp<WÎKðœz ½—`I'BÜcåÅHŽñ!À·MOÞèf‡+ùYu¸bsâf†‰ê(DC*¾RŽ”'~žì•…µÄîz$Ïøl䧦žì•¶ó“UznlbŒ‘¬È¿clb1d¤ô®eæóƒ™)!é]Œ@À©9–w•‘|ù3Ö´OK7ÖøËÕênîÞÀbµš™ O>nc|3qF8dÆÿ11]Ö¥¾,#Acû|Ã5¼ÄE(Ûv«ls<›6þkd½ªí·ðîl•±¤•ÚÙ»ìe9GŒå\ãǃ ß.ý§ ]ËÈ7‚dùÁ­²öõÎ݆f§JD WÝõZ«%¤„óK{gɬ¡Íf?ÕØ±–[à'ø°ñ“f~Ù›òkí²þMÝ2r9á§î#ÄàÙõ×eç¯3>vе‚k!úž÷åÅ]~y1Û?’Íî«{1é³/šðDzHí™4Üî«ã#ƒ Ç‘âùus=v¢Álå‹XçÊß‹þ‰Ä œ endstream endobj 58 0 obj << /Length 2056 /Filter /FlateDecode >> stream xÚµXKsä6¾ûWômÕUݲøÐ+[{ðŒg6qv’l¦½—$Z¢»¹Ñ£G{œÚ€ eÉ«™­©M|0A" ô«ÃÅå[žnXæQÎ6‡ûMÊ7)aÊäæPn~ Þß~wÉ“4dÛ}’¤ÁpH‚³ª®ëv»çYÐ6Û_7—oY<ßFJ&Bn"Ú… '”Í…ö^j/â0Kb’ý®tÿÉód±iФ% óÔIÿ±tM"ýù‡“é·{‘fA·eA;¦Ñ4/@°âÿénpRÃÉ.§Á»›kâ¨î8ÖÚÊN¦%‘BUº)UGÜR îÓ; ¾o;= V¦9¾8áý÷o·Œ±à ­}÷€~,sÒÛ¨ñZáyB÷cS ¦mÂ5höÎÞ=ËÂ,c_Ž<è<08©·{¨¡@‹OÚIX­‘è+e“ ˜!Ttw¯ ·üx2ô!I”Tºs»Üwm½ØOL†"s±_¸Ëë¶éM©;¦ @, [{\§‹¡z™$?—âq;ÅãÒÅqŸ— ¸ï5ÊÁßÞ@.‡ ¦¢y©û¢3gt.ñÛ{ZÐ]çE!NKc%XÐëñ¤üYøÑ`ý‰l1Ä4Ãiqì`j½†.D¢Kè *EÞíá5jŽúFÄ+σ~PÃØ½¼{È¡BjÂ5Œ¼96péÊB‹âÛòÝØiÕ·º«üY¦)9ÐùÙ=ð||Á%XAKu˜Z™ÆÇ\§+È¥ ¼ÖZÑv™$3˳ ßI~u"Å;ôúñ…#lfšÇoQð´Íd`rñæpñႺцaZ—¹Y*6E}<£bÃBÉÒM§7÷ÿ¼xe¶a22áîAiF"!{}êì9õçó Ã²Ô{ôê|îZÔð£©)7ò$8jÄR¢&å;HválÙmO¡¬4PMiq—y˜gñüüZWn33àô‰v² #áüw$å•^ZÉY¦ßÌ7_³tù~‰, ³_$rîÃõómþj-àSFp¨ƒçµs1æAæ""ز 6\%Ø2‚-s°¡ô Ø…öÏväd¿}¯ítìmưgç~¬*¢L}®ôÞ¢ot˜fùv•óÒZžPÕ±í åÔ4=w•éOt'$<Žðý-½Ózt¡ÿsG•m‘R¸È =hYÃ5SžMQ×]Û´µÑ;w[FûâÃÑ,Ϥcž…ÌàH®z—§ Îd@Ä!wYì›f /ÔþÃÈàpEçŽ^èœ&aœM:?´lyìâªmÐXâ”íh“‘¥ÁÛ»ÿfŸ~J~!5þëªÆîD«pä|uå’'¾¶TVmÜùnç¡`NÌÕ-™þ†ƒœGjúwc­Ö¨6[Mäy˜>‹@9\¿rÑÐøÊ¹Ü?Ùð*HŸ'oÆÊ(Nפ|gß\﹌ð/ŒgÇ/ŸÎŸ=ÒgòÖ§ì²zÔÃØ5ºüûfw µþ¸ƒü+‚Ýo»e;ìžJ,6‡Ýo8!kjí-ÔF5´.ûc޳ëÀ5 Ýûù½Þ?+”¸uQL“Ëþ“È@€sHüÈ žó?¯Êö™åÁ‡±¥÷ hUc§ ãçÖ$YäÖ»¢×Ѧ¡±j›£ÆÒ^_ÎñQ¸(é$,’@D!_|³V]ce”ðàëhDdÑÛ8ðuö¬á#Ž£¢²j$šóGüZÓÜïY¨` ¬ ô²—œAÕZŸUgúÖ‰¸‚ ¨›þA»\¿áQD¼vÖ–Ð"¦Öu+¨\vjƒÕ2‚,—D{ñ§P<Ú ‹úž$~|÷žÖl©Óm}#t€DLˆ#m±"´E­úËS;vĵqá;)È2ë…“Û™K·32Ë©U½<Ùv­£E{ŒÞã;zá£oЋÍ2Fc]_öóÄäôŒäTuÒ±ðÜb1Ök*{¤¸L^úGºJ‰^ÕŽšû&±¾A®-‘`Žñ…]Dí‘€\yy\vH£¼ 2X˜#‚H<0·ÀÝc—gÞé2ò|sWOÚqŽ2LeDò¿Ö‹”e·Ê]r»ì—[<Ãü't %lçÍÑ4-2fUT­¶âG¶þxîtßãKcÙ ±Á1uO,[.ù¾Ü2îú¶Òƒ;{¥+vš¾9c`ÚÛTk¸ÒkÁr€O ¾ÒTo@#Œ ·Á>‰H´žq ±À— ÷ÃMFPz‡‡FÁæä5­#nݧ˜IZ¿ mÆØuTÜÁ´‡nÈ>³¸¿ÍgŸ l_ƒ‰hÎáâ–Búü‹®€Åö²Ë娗ýÏôá‹JüE¥—Àk%ÿw©75½ÃxГ޵í>è¦úÂu= ¡)†rþÿˆH–.%€À¾S|,uxŠð‘Ì7W¨à-MXž&´ŽWÚò‡ Jò8øÚfœGk‡Ë;ÂÇ,|«6:)4…“nVòA=Ëb˜v²( ßÃìs—ú~ˆF?áñö[*Ã,×,ÐáaÊ£@5´¢Êý0ëÜ7ûe§¶%‡S \§†H Ó'Z/7¢(-ƒX„û¼¯¡ç…›µÒÃÉWZSÜß55½ñAMµÉÓ'šìÁ¨á*ÇîOcÿÂbqê^1™ S‹‰Ôw{7(Ó¬5OÊÿ†-›/äçÁ¶˜ýþæ> stream xÚ­XÝ“¤¶ß¿b*6S9tHNåa÷îœ:U’ó‹í´;Ê1€änRùãÓ­ lصÏu/C#µZýùëfnW/¿æÉŽG,r¾;ÜïR±KyÌR.w‡j÷SÀåþ—Ã7/¿é’+–’©Hî"bº}÷ÃK¡RÆ÷¡Rið_|¨ +êמ¾zs¸úõŠw´ãxƒJS–É|Wž®pM&1Kd¼ãLòtgõîþêW7¨›à;.Y,•ðº)ÅA7N×â¶h4©Èó%3‚‰ˆïˆ¥yJ~hí©¨Íô>Œ… àhíÈ40Í^dÁÐÒ u<~ÑJ"ÉXç»Å%µÊ–Ž ãŒ3p\($<ü‰×º/­éÓ6_ùCbÂ"¸Î;ûpÕ¤àÕýXH‹Àôþ ZTŠ)•Mÿ´%;a)„ÖsC6¶™|^±˜3Bì@½^W¤*¸×©9̺“‡‘tÆÍΰ}˜FYðöžv<·ú±ëj3 û÷>ØÕ£ß¼oí–Ê!O‹fWþy|?냜Å*ž8 $aÇþu,j$%å,QRÑ™´cZ˜Y=Œ¶A‹ñmlÊ=¤åV±Í¼‚ê\@^q&¤ Þ6ûX€»àÇ%vPË[Y—*–d³îsÿ%Ñ>LDTíx‡Õ‚´/$o*ä’B¾`¯íÃxÒN«¡wjìb(ú$ e,± ”Jür¾—P¥¿g•nׯ³1g(´Š½+tç$ýÞx•)šžmÂØÉT®þ\%QÎ’$¿8uØ‚*•0y©®7ý`NÅàñÇÕbRûsÄã^´|·a Þà÷þhÝÐNunŠ“)]ÊáysšÑ®"Iï[HËŒñd•Ãf`%øT!°Bd³?aeîM”ùÒD\F3gb¶0w&ºóÎDàLÄ¥w $žÞ‡€5{ôHLþ€rØA'éýÁk\n†ÐåÒ,_gÑÑôCk½ƒ±¼;§gë~K<}Ü®PšÆŸ«B—åèbµ]©ºkËã¥Rÿò¹K­¿(ÜÇÏ_¸ßŒ5ç“î¦ ”®Ù´)“€gIÄ¢'Á)áÿ‹^ ”ýqéP`Ö@£Ù°Ÿ/ËdÃâß0-ñw¶ãƒ×__Êp©½§Õ7‡Êu6°¸´%žgòíÉÙJð6øn3áÝ%«Ýºsaºrá‹5öºl›ªgÏû.aQ6Vƒî}ÖŠUÖJ ”ŇE‘ç†2OŸ!€œ2üµµn*ÓõtÇ0é\Tÿ*JM:£uŠ\‚Ö¯‘é`õÅiÕzêýÖ¿OCµëçKüoá´e[ µÂíßAŒ º¤(Ïôæ !SsúA'σf8Òž¶¶µžÏ!<ÇŽž.NYˆˆÞÝp¢Kz©Fpµ%Ä˦ù/%·j Ÿ?‰eÜQÓ”žíŖס*IœŒéj)|~j{,ºžvâˆvN¨ŒZ¿›ªh¹òêæ#âU{4Åì0–©úL‚Èg®¡Ÿ×zté»÷¶=ÑŽÃ'ék{¡¾o‘”íˆßÅÝXƒ¼jݫ椹îÛ6íé2š]×§¢)<¾cû쵞B<í|›=nzj±yâ%]c{Ý̮Ч :êÓ³+ΰµAäAþtcD_Ñ¥é§Æ9­xÀ71—t°^ÀÐl.„S:>šý˜þ3@š:[t.h@{É9àÄu0w ÎÔÆ}gœ·’ËgüT€ä¸Û﮿{{ã½i¦Z¶í0¤ûßáÆO¯R%kxÁ…‘þ€Êew…_SΛnõØ–ÈÁTî[7ËR×Ú”.¸²üû!¢âÆåP(†ÕA·•=Ö3ÒS¥m9oÂÊÑž÷0A>9oÉL¬§ó[ígêëºo÷<6?ºà‹Ã„ÁS%>5ß|ìj( ø„9c€Xá+ú4§ Nψ¸G_f@\»ÄúÂ,<™rþœÂM*3€@™Âh_‘Œ¿ïafß²[m ÀÑx†ùÛÌöÏäÕmi4A[.ƒ lû¾§w¬e(NE‰Ry´¨hØ€±ßè@ã,´R áp4^ÄÔ Óø«ï¡£Áë@¬†¡\úa(zb òí«z4‰¤4‰Ä›“ˆaßû¢˜rçò¿Äÿciâ endstream endobj 64 0 obj << /Length 1043 /Filter /FlateDecode >> stream xÚíWK“ÛD¾ûWè(W­f§ç-(I-KÁ*s"yœlÉH2¤¶òãéÑH¶¬•×Ï rY¯{^ýuÝýùõlrÿÈt”Ä4†`¶4 4p¢A³yð[øöןï™Ò¦‘R:üì>T¸N–õšUÓßg?Ý?‚ìß #Š‹€ú @ºM“ïg“¿&€F€{DiMŒˆƒt5q6!9‘‚@è ´ÁbòËäuã еî)èøÛŽÄý½@ñ m:GfSÃÂ$ÿ`ó)Óa=8C Ë$·î_´ÞT­?Ú2K“¥ÿš¢W‹ržåImÛ—ö½b†Π{ià”éG'â1%Ç^J¨Rþă­Ò2[×Y‘3SÍp/ë!áa™äÕ¢(Wè%çaÝ3 04tÀ¸ð "˜BØh2 ð'¶¸É¨ß­ ãXKŽó)gáßîO¼0MúÔE¤áý£’N#Éd8/6ï—Öÿÿ)»{n´u2b-“§ëܦ³ÏÚžG!1µåÇ;Jù˜ã’)»M%ú€{‚H¸ôqDX,¸Ü,~JPBã³BøöP. šörñªü°YÙ&!uÕd àÐÜ1Jo·}Ê0QHŸï܇ØÍ™\.~ÈšlÚÜ=>ÆDˆýÓ6–osçcVV-íJ›:*n–IÙ#ß®|¼±È³ÖyS&ó,É‘¶HX{.í‡cëÖ;o}B¶Üè[›ùüÿ‚Ôt”|ºÒ–Éo^ zÂK‡ ú¶“íl}¬ÕY ]Aß>Ÿ6=Œs¯c¾U4PõµPã.Ÿc@GšŠŠIlÄHWÙ{#Æa¬v›$}cëM™Ûù¡@E¢l?R—âyþy;lDø¾9×X—h•2üKʶåuiôæMJO   '…OŸ>¥Ð~¢]Â-ñê~Ÿ)1.Ê$¸@‰qnˆî‹ŸèKÇ¥@µH¶¶å*óÊK!¹î|€•ÞV?Sj»ÛÚe±j&]Œ’c½óS„àAæ¦pïÜÈ@¾N()âH:v‘|{lä[±ò­?6]Lš ®t#×¶<Ùé7Ó²Wÿµª›Q„¿ Â?óÂEëŸÜõqF]Äc…ârà¦M† érÞx}#ˆ6ñ° Üm‰ìÚ¹¼ý‹JQLóVÈÈÛˆJÌÜ T帨<®)±ú¥€cR€€a;Qùc²²‹ûPÙÂQ7ÀI>}¾쀖îìY^>‡Å€}ã,›–·œBó ò«¾ýªoé¡/.oÛîz‰41/J“ÿFÂ^'Þu­¥–<Æn/µ4ö ×+Õ#³ëÎﮊåÆM"¿®Ö©§‡Ï£øí…¾6Dø"?‰Î ¡©ÿ¡l19 endstream endobj 67 0 obj << /Length 2012 /Filter /FlateDecode >> stream xÚµÙŽÛÈñ}¾BÈK(¬I±/’ò³;X?8‰-/‚h²5"L‘Z6éIûñ[ÕÕÍcÂÙ™=¨««¯ºþp¸Ú½ejÃâhïÙæpܤ|“2¥LnåæK¶ÿ:¼Û½åé|—q$¶‰iÓÇOïwʲ$â /Kf©‹§K/¡‹§H/yžô²(ÉœôäžÞèâaùHº- ž BiE˜þ_EØ,Ä ôkò“2â*ýöò2ŠSµ”Ÿew8ãÿg+1Ý},%A±dy¹ ¥H‚˜–_Ñд÷vºs¤Ð"×´V°Æ-}d´îîj›ú¿õ'íO2Ù™ž°3eÀReGàÁÎ`ôq¨'=¹gA•Â=;éñ-|&Å÷§{*g!LÞi:ðØåk† €Ø„\E ’%ò=œq®iÞMeQÌö^µ,]S'Þ'Gä‡ë¿3GwSŽ(Çò×­RA^ÚÐ|dm¦0am“œÄ_Ú¡·ÐZòK­:ŠFÿ4ê_çI’\wàÆAû<µmG´7\šl±Eî2!Üw•qgwY~pÕÅËZ›h AYo·à™­Û¦ÿ“Ÿ/µ† %Z?’°bpE ·[»å<¨Î.ŠSal´È#^+8 rš›>÷ˆž0$f@Œd¹ëz£ë#-õ-áN9ºêWüs»rÚдMø‹îܶ¿ýHØQáи· X8é¦Ðk !»|oý FœuÞTÍ-ˆÊÐR‚cn¾Ð§1»vòÀ<¼â¦e†¢Mw·C]ÒtÉÚô”ò‘é²²)´¡Ücýéeµè0ŒQ2‚$‘¡Ox·¹yóú[ÛùumPA*sF‰fu ðd—¨¯-Û:®Y#GÀ™¶P©=]3‚ùˆCnIÊ„#ÀcÈP^)‚Øã·C8Ÿ«TΣBẽ÷4TM I··Þ S  ¡‰ç a£‹‹0JœÖÝâ‚N»{J'8¢“}Òa ÑðÄÁøHT¼ÅVízFhÂ}¤°R‘LᑞŒ{8?˜!¯i;ªæ{O‚¡)-ωYÆí-ª®ÎàîàiÆ^¤¼HVèói2Ït0+Ú®ÓÆ™FSÂÚ€’Ë‘Ý-Œ”¥q”ñ±„ýÚmª(åc™ÑNÎ×…pi8£•ë(eö»·C$Æ ……&¥Î¿,å•ãÅ7RºÀ´ e›[lŒB*•YÄy¶ºdÊlS7å>ç×ýÚãîNU,ŸéPŽ÷­ýÿ@oc ¦isr áéBpÎÝÓ¹ssOV43Gó4‚ßíÂK…VÇãàóÐψ逵çköˆùd4°è0§5·/HP^BNá ÅæËA*Ôw°º Q€ª‚HÅóDZ¹b¦ƒø_5ŽK˜{ýþy¨œ””ÏSé3Ý —Ôùš7pèë¸;ž?êl7‡¿üÄ)»\½9\ý|…Žo¶ÇBÄ‘ñç+ÄI…JI–n:½9^ýõêl¬9Û0 5®±0åYFO,ºãý|'c*J&Z¨mÀª Z¹0ÚÖ%©«Œaÿ6:kÝÐʧÃk:àê‰$8œ^Dñ=4¼û1NüNÇ.ã4š‘Åóp£MÑU …/×dšò(NÆ÷cStzJRØ$Ø ÉfNòË¥®¨7QnG¼öýb‰fŠý¢k^>5•‹ŠÆÚœ9Tgןf×ÜVci†±ªÔ½û®‚Ó6|Aw—fû¥³¹ÁÂ@ŽÖþ°¿€Êñ¬©¸„•7`À0õ†íÈàÍáÁ®ûûT‹ ϯøg‹Epæ¹€†&‘ÊF».AwïvN8:‘Rš»/ú‚¤íûUâÜåDœût µª[cj‘Àª#©°kÍ 7r<ØÛÿ÷[„E!=ª,ºy¨ûó™H™ ÚrüZû>‰†3IYa_ª]™øîfÒØ»ÈN1þ"õxK8ãûÃÔ ?m±¨Å  )àa)X}<ðEæqv‡pä˜>éŠó­;ÙìY½ ”}•­§„¢î¨Ü/†¦ÅLèárÛ奛XD¤ñˆ“ÈW‚eЯrÿµBqâÆ~»eŒ×k® ðûc6†²?>ãÍìmëøÂÕž©û- Å/®…¡þñ ~l‘ êŒeýåånwwwUù`ÚcµÝíÕÂ/Û?/õfíš HTO¿¤ˆ¨V(ëùó8böËç³üG_šÀý ¶ÌMá/…$XáW¢Ù³£rïOP3  ?PRŒng륈T=Õ1.Y¹v¸j‡Î…% ;ò]wÄO›ÐÐ’ãÖ9„â± ø e¨ðü endstream endobj 70 0 obj << /Length 1406 /Filter /FlateDecode >> stream xÚÍWKoÜ6¾ï¯rÒ^ZEQjƒÇE 8EÝM/NŠDÇ ´ÒZ<€þøÎp¨•´Q‚ºqŠÆŠ‘œo¾yQÏ·«Ó‹Py<`iro{ë©ÐS\0Å#o[x7þ¯_†±b|½‰cåÿ…Øßgå‹|—uë·ÛËÓ .§'DQÈbyÀ.Z½Ø®îW„ÇQI¬K¢ÔËw+”ER0 ³ˆ+¯ÑÞíê÷Õs {s"OYxfµÝÂ*ö3 Z¥ü+—–æMÀ#]ÐË˾4èŸ XŠ:/Ï7aà“¨ãZE.®aµ=GèFW¹ÛõΞ¯;,ŸðGëŠÞ ØdAÁùsËF@6½„°‘!„K+h ÝÌße4Ý™²4­Îk{²]JÏcÒ¢¨I€6‘Ù'ý Á*¿î;:.€šDë²&ßÐ-™½™ߊ¥‰ã#eÁ‹Cð ¾¼vuâ!®¼+’8T”¥6` »Þ†"!™HÆD)Ã^/v!y(­Ø…š¬jo­¨CÚ?¢ °9ô¡éR%‰¡YMÚÄL[,X‘ñd –ð‡R×W†´7mV.+¡þñ°|ñ@Žä`¦µn¡™ñH0ÝÌ&ì5³4dJqìj, þ]7[C$M(‡ˆ)O&”Cq¶¬Cx×mÞ—BÕ{Ú0x!!/À C³z©Œ†"b|¤÷ÉFÉܼfH¦˜Ÿw*ÉåwL™ˆ£)ÿË™(0Däcµˆµ)¨Î¼8Týï· Su4ø€PúˆÞ×ùÝ‚¼nÞ™*?q÷0šÏ£}º6«êb©Gíuc–ÎÎêæ~ ÊòÒrA\™2©ÙÀþ†‹·n"q7·tá"Ï#£[ô¡í²nì¸O}ŸRБïãÿAË}±·-°¶½%Ç<¼›m‚0¾º<§{œMÌ[×¶\‚57¼ª-FX%¾yëXjD\a3ÄÇZ7 ‚ÕêÎõ̼볲üB³á&> stream xÚµYYsÛÈ~÷¯`å%`E„1ÀàÚ”œ²œŠ·´N6ÔÓî>ŒÈ¡/`qÈ«ªüøô5¨-+å¸ÊÂ=Ý==}|3üÛöÕë÷*^©Àσ\­¶‡U®Rù©Ò«í~õ“§²õ/ۯ߇éœ*Š?JÔ*`¢ßþð:LR_­7I’zÿÁOâ5¦¼.ÃÁ2•ÍlÂ<ƒN²ÚD±Ÿ%1óÙŸÖ›(‹¼7øÑÞ¾îJËC?qð÷âa…ž­ £„ë™ò*÷3³ ÄŽ¥)ÊG`Eީ¶&vkåµf_˜ª»âÁï×aæ}üñæâuU>Îdï`–ùQ,Ö.êÿ“Š~™vò£í‡¶²û¯ÙˆÎ™÷mÛýlÛ™r½ ÓЫۻ¢w‹¢”w²Rõ¢´êÞrO‘Àq"pÝÈÛÕ'\vW€VLp2ÝŒÇÍ_NçkÕ´¶¯'%*ÛÞ?ŠvþöGrp–³ýò“ILÙ óŒ2ºnäµö`[[ífÞPw»¡4}QÝOd¶‘™W£`o·†?lj]L„Ø6ñ4 »B|Ö˜~QöLF†22±°=”Ð:ç,1ÙdÓÀªgK§+˜¸=ò4JÇïLz˜k–žžK§ äÿðD^>u¶,d‘8H[ìxj_t½,Ê}Ñ®•³3DPøÁrJMS{ƒ^‰-:œi‚ÝÙÃÂáÜñ‘Äîh©ì‡LUŸŒ udÑtÅÄ}Ñ ½’MÓÖÈ÷÷¯ïO`¨þ,Ä‹ 3R/92™sH”Ÿ‡±K‘?A´$'÷“(™ˆžO ›Xù©ŽÎÍŽz ÝwëÖÚ{¿ám~ü~I¹Ü×ÐØ¨Ø×‰vÂUº˜‹¨éT”3zÃ2в´÷îPÆô¹$p#lPd‡/^yý¼(õQÑeQoysø÷_ßxƒú²Ôw7ßx‡ñ™,ÊÃÉB¡Õ¶u»©ò“4ÂÒíë8cvXZÀïtÔˆôjßüEÖØb8ã‚»‡Úýi‰Oì§S„âÐ8‡ºu„¡÷½s—û/K›;×_Ñ: à×XÛlU ð¸B#IòR”"V$,¯ã9*3Øh¸¸þJÀàžÔJ#d#¯ÑÇxMùÏÒT¶ÄCCïf(û¢)ÝìhênIñ“qÙ6PÎ÷±ÀÌÞºá‰ÄÜÄH€ús\‚ÑytÐÀ¨+’Õl­à †~\ºÄqnü$DÁ:î”â¦8‘;tò¨0«ËØ-ÄͦcÔÆù¬’IÔØ¡Û GíNh Êhnìg“_ô’ä÷U}‹±´½†cˆYá0–¸Ç¥w¢ ×=„òò GÈM«ÌûGÏ O¹J$A{»•1°`›y˜ü Úßràº9Z¼¡vL°ú«…³¹ÞN%cÌ…XÒðçÆÝ ðNFÈŸ-†²p'òNª¡ï "üçÇ|ú¶æg´1Oh±@…°7¾êbçÉ¥FBãsѹîÏDŽٙFîQîâ!lCXîÊ¢é©þ#»JÄB:DG¬(sýî/˜˜keþá…1J&‡¹Kw(\æ®/÷[yêbt¥Ü¦mÍlõ­eÂ6[€YÍ-@ljf{Å,Á1€y°oÓÓóéíþOÀI!Ì+ñk¶¼.pw~›’ßâÈì´µœ¶v·A´Õì´¡{ËÓd¸9=\AëJ^«X¸ãOuiZžÁÇ|(X°=åÝžÁŒèŒ1aMR¦ûʸ¡éZ+õƒRQ„¯R½èô¦˜ßð½X€Â:®ª¬{ë 3,¬ßE‰ï9ß9„ÿ}åøcã~‹æ?vÉÏ_ÝiçÎU6òT®W’¡lÃÕÜûä&¬I=¿þ½ºÞ¾ú/SB7 endstream endobj 78 0 obj << /Length 1948 /Filter /FlateDecode >> stream xÚÝXQsÛ8~ϯÐÓ­<«")‰Roý4îµ™m“mÓ{¹½UfNeÉ•èívfüiI޶»™¹Û¹»“A ð€/ïΞ½ä2`qTÄ îîÉÉD$YÜm‚„ï?¼}Æ3±Å2Ëdø+Y¸/ëõ~±äyXµ‹Þ]?{ÉÒ±”$áQ&’ &!¬@¦`™°4 –"ò,¥ÍõíÍ‹W‹¥ÈÓpEƒ"Ñ-üʰZÀÏm´÷Ž¡V;Õ,€ÇôDù)Nã»;š¿¹¾‚%£ÅÍ»Ë×o_LÄ릪uSÝ6Ž0ÈèÊ.›~8ñöæjí£q°„ûIòuÛlµ9l°‚,’Ð<(š”}¥šn¶´ß´Ö²:_,“¸?j·ÑîÔ¶¤#ÕâízÁÂw¯_ÑjEƒÿ8l¹ÏùïïíÕ‘…†íUƒµçc’‚,¨]ýµSšF§œ”@úºâæÞûDYá Â*"ltoʦ²öq–ƒÀ <öa¶¦£+Z©ªB‡ÊÐtºÒy¿.ò$trÔX±fë–1 Æ… à“Œó(Îs‚ßÏ…i%yz R«›‹Ó,J¥˜^”5àæÝpÂ\ ¼å8G,ÛcgÂÞÕWij)ÑEè\íZ˜ÀpzÚ»OzœV7ûýú%©øfÅÏIXЦüX;îÛÎi­?Ý×e£Lÿ|,[þ/Ó»k슙œCM=ô>X½Úгí½´‰)¨!>l8·8ÀÉôEJ8a÷ËÆÉ›= ÅúÐ6” e§ˆ¡i“Q-gëÕƒ¶ÑÜ5,mˆKçO¹‡; ñ$ɲ޶6;Z~A³Êž°±¸Õ¶®BÞM¹7öæ`qßµîŒ!YR˜ùêýDßwí¶+Æ6ŽWÑ«èã"ºnÕÏYŒØwúçE Ÿ4Š1f¢u]£+›0® %³¢ÈðV£Å2…:ËÚ%déÒ<8¸’ÝÓø±´ÎÇ)…|¾7‡ÝîM¸{›\²€Z?;¦îïæ®6$?¦÷™ `ÑÕ—5‘þŽ…`ÙiróRp ™OmÇÜ;g³|âl°1Éy°äX,ƒVàÀ$L™{2$ãCuÇŠ\@³õÝÙç37 ;1ÁcÐ,¨vgHKR´X`“A§‚û³Ï.mÇ–D"ɸëáDœD±‡¸ëÖºµbÌŸKx‡™wÄ‹ÖâÚŠVÂʾ¡<£·Jž¾U0hÊa-­è%þrÑ AIñøŽx–®&˜¨ÂâŒ+¦ÎýnNi pŽÓùrNVI~€Ó¯q¸¤c— ©gN#Ê•ñUåzNä@ÇTÆÔg,‘Y0¶{ÆoÓÐE…´ýtÁ]Ç~¥úªÓ¶j™ k‰Fó‰·ó£·{ŠÑ’"ôsh­©€JB_Ý\ý;½—~Ëy[÷Žþ6ªf‹ 8ÿqÇB> stream xÚ½XMsÛ6½ëWðVj&‚ €$Hwzˆb§­gš™ÚÊ)É"!‹JTIJ©gú㻋dRfj9mšCH.VØÝ·xð|1¹xË#, Rî-Vžžâ’)z‹Âûà‹`úiqsñV¨¾–Š%aì¤t÷þÝ…ˆãÓY+ÿ/|Äþ.«®»fÓÚ âþ3‘(&›Ɉ%qDû| ¸"í¡Sôê¬}žÎdúÙ¶ —Ï>¥Ÿ5šÛº£—Ã4Šü¬*‹¬Ó¯Dì/ÖúáD¿ÜN…ò;Ýì¦ÜotbîV©%U]UõT$þ—ör:‹ ¼š~]õ½8º%n:+ÝZclÅ ŽlÈm¶Áõ˜›uóÒèv_uô^¶ô4K± _Æ&¶‰äYO¤Ó 4 F¢íØ®Qü¬cG³ÝI¦òz‹%qÀÿtÓ–ð9ÈÚÕ¯){sFß.‹Æ#h…H² âT0ò¿ª@KJ¿k ¾†~žµº}Ebò^ŒêÄà9§ßàó†¡ÑÉõbòÇ„C\DZçcÁY¨B/ßLPFèŠô@È•×ho5ù}2Çi!8Ô“a,ì´ˆƒˆI©ÈklùÝTrp‡°LûÚ‰`8äuÖtkp zr7Au[vä>|Pþ`í€Ñiè=TÉË?héKé6€–Á=¼#‰‰Ÿ¶ë¸ˆX,¢AïÍßÜÞÙá4ˆŠ§1Ka&õTŸ– ¦Y@A°3‰sѦðJ·ySî0¦Ë±ÒRÂÆ¡O¡á@‘_(ÏŽ„àHŽDúPaªüµ®J»¨MqvM™Ÿì±Ìš³ªÌªý%¡‰ëC4Q‚hš§Es}£’tX²s·­3Šu÷FWºíÊÌVó­^éFos[¼wm§7lS8b„’𔌇‚L@ËHÀ&¿Ð}x‡#fQrœ‡º„è#Q*ƒ( ï¢Þ/+mßá xõT¼[ŸF䇯ÈwK#'¤R&Oz{°ªÒ+¸Ä<Š×Íý~£ ]kð$´+ìLLDV #¤ @~ÂGx4Ž"áçÒÀ©·h~ôðMYþ "¸"œ0…‹+;a~£-J8ÅC]ðf_•™HWäŠ$»7W3øE=ÓÃÀ¶±­ÜŒY5¥ ìVwûf«‹sâ²]þËxó ËnZÉðÉ´Ú{?xÿ¢Pß!—¢ób'Ç$QLEfäçÅ–Ø4-¿_l£“¢šâÙ> stream xÚÕXKsÛ6¾ëWðH͘0ñ"€dz°#'Ï´3u”C&Î"a‡3iS”Ûdúã»xˆ…Ž-ÇM[DX.¾ý°ØýäÓåìø5ޑЖW À Ì‚e| ß½ÿí˜$áy”$"üË<’ð&-ÏnuVÎ?-Ï_c>ôÀA eAììäÐ(b#,TQŽd­¾›GTÒðó`a^oW¥vSé'7¸Œy|¡ÛmSéÆx VHÂ~½볨ÕÍz>( SûdÖWþçQþe»å_þÆh9FL’ "‘Xxf´‡––›zŽUøÂ½J’1â‚B˜)àÖ¾yc1 ÛwĽ[íç#ø:A²n}%òkXI‹ŒñðdÓ6è¹y%¼I8š‚ùý"œ K`û0·q—õßã-ü¶ ›Ȇ٠`àìl9»aØ$°ÉDž0¤d­gfŠq8NF8 ,‚FW³ßg§6…q€¢,!>…9“H‚©»—¬jh+ ’}X˹$a“V›«ºY6"«¦¶£$<'q£Ø}Ñ·Û´­›"-Ý÷¬žGD†u“ÏqXTi«7f»@jÙ(ÛÚ»ÈÊâ¦-2·u ŒƒþíýÀÜ•X½³½ØÆYKC'öŽáx¡7Yc6®«S-Ša»ž:dNË3£ž“˜·[½'¦¦H± –“+=;óh2(otßVsJÂ;óaÉ ³tß(ëáD8pè㻫‹|qÂ;&MMp3»òcÇÍÑÄd>5 ÐÇÓWÎ1Žw(.ã˜Naå`ÔÒ¼|Ð-”#`ÎÓæS‡x_™â÷r:Ð%F”Ÿ4×Ûµ¶¼·Kt@ábr³·D<8·Í½Ýý¦°‡¦«ÇTò]<ƒ´£áZ§•KŸ‹7cü6i^@ÒÞ[Ï;·ƒÊ—ç? êBg=Ö‹§`…${~´Ë%8‰kB„¿ºû›Ð˜ÎÝâù¶,l0^8`jö<_D„Åæq³-”y.X¸ü¬µõCu£«Ì¿µ²þ¡cÀçæCëÊ­tPªÜO,Nm’ÅcÈ…ïèõ•¯,v33Ñ亯¥þв,6:«­kkêžC8u:Ò¾¹¦+Wž¶¾ÁÁ¹ß‹›,r7.îGc9uˆ;Q –èD¹í¡@w‰Þèaq‰”"cJÏE™†e]]í6×=%kC¥¯†ìÒ]Ý3÷'†É÷]÷÷ùgS7_LCñvOº¥«GR}"áòù)KbB|—2h>{ŒÂôó3ö`"6QØÓ˜&UqN+&#…»T|UWù½¼M{€fš<Ö ´¹çؾØ+PoÒ2Í Ïâ+Œ PCû½8öÕ´5*m{còÇÕ‘•C"wÀ¨' Qc`±×G`eŬšœ6'`+.ÝôõŽ;ß¹…Yâ V!!Õ˜¸ï**"@ÒHQöí·ÐU·›pš„=F@ñ\n¥Ôa^W]|÷È'KeÉaúIü$ýäT¨&Ȥ©Wÿšxâ0½bâÜ< ŽÿÛ,ß+eßvÙ.Hó«ÉW{ôÿn{Ñä½™‡Ã, endstream endobj 88 0 obj << /Length 1799 /Filter /FlateDecode >> stream xÚµXKsÛ6¾ûWèVjÆ‚ñà³ÓìØnãL2ÓD9%9Ðdq"‘2vœéï.vI“2Ý6™ä X,ØoXðlytr©‚™’"‘‰š-׳HÏ"eD¤üÙr5ûài=ÿ´¼:¹ÔÑËèX¾™Ibz÷þ͉#¡æ‹0Œ¼¿± ½}º½üì_I€Š‡„… D$çMÙØúWæKGBGÀ­!q/7v¾0*ñ QÞí\ymÚ”Užn¬¥—•󅎽²ZåE ‚‰9­,M_i)¥€Uð·ð}齯y¦éWeÛäSA?l i&_w{sØãÿlUç0tóMIóg* ¤¬R8TI‚60HH›_¦ÔDÀ3Ê—¯ü)9Z ªŽiRL"LØkc¼œÛÊÞ¶yeWbÒj¡¡3h æˆØøŠwº­Ë9èþœýX³ÙÜgÛ4m¹{ÜÛ÷lCgH·ÇÔy]|B¼§uSÁà=ÇJ+øâû(©’PB«pó£‹åÑíb"g ]:ˆ!–íŽæÆ9Ÿ¾Šf•­þ::Ã`Ðj¦|aüPs0A,Å.pq·gõ’g(Bt¿µM[ˆ¨Ù›tä]§ÕCfÁáÀe"¯©òŒèi±"ÎÝæ¨`äevÄ¢ƒEžÝòlÞàðÑ*’D}©—¸wüe7ä™8XŽziÕl8ÈGÚë ÝPò±oøÒ€æÂ$ŒAìç¶Îª|»OzE¤ÁwõSØLÌçƒÁæÂŒñ"if˜ù(0·ì6ˆ[ ¸E‚$Òð­k¸uðCæQœŒñ¿Éi_”ƒÝöq|LøÛ€ƒûR2Þçn“8„0¬i‘ÍšsÚ”úéü£T¾]ñN¼E‰"¿@Rô.ç±±NÓy±.«]Êz¢°kÒ½åMÒ,k«4{˜C8;ý8KqÄÖ.Ö!âß[·EÖáY$m/ö.!bjò’.‘3ÈËbn4˜ þ\Úô²tè1£lÄ}.»+sÐ<Ð;&&¯Êözk¹iîx‚lo¿L‘ï®?˜OS{š ³CNUc«…lž‚ÔïÒÕÿé´ºiwÖ!ÕÐ93¿À2˜SÁx|ЕÒñïØøýæHBxþÈжì>ŠIÃyFª-ÏÏ3-GSYÛíQ/–N˜sˆ”/’”†¯!ßÿêÑSaúªÝæiA<çtfu¾Ðx9Ï"ÔJØ9Ñž?NuÚŸ3 (Ž#V'C7ßÐ ·âB.ÏÕ’Y—L ÝÙ^Э«Tpàs"j¼ã…lСd‘ÁÒš•˘x[»_®‡1Ûû%ââ´5zt%BÇaJ¿MÃ¥Ýßj€ª5”Kòq€l±Ý‰Ï… ¸A{ãñth¨ÖB†Ê®mU¡í‘Œ© ©N/ì28Õ#ƒd‡ vFÈ ~ùŠÜÃq TŽó1Õö&rñj ¦üNü·{ñåya»\0wö–Íñ-¡uöôzóŸ¿¶hŸS¿?©‰›†ß+ûªLð/º<¹^ý§:˜ïÒánótè ŠØ;ÐÄ+äîú ±¶…ÛŒ®5wƒ?´©‰Š(t«ªrGD¾ßBïÌÖP,-ÞØ{\•Áü&ä³G»‹`ÏÏÎb•!’¦†^Ì>¼á×DP|w\»·%Ì´K5ÆRŽQuCÄ^ +°8ÝN¼mÉ’z‘¾è®Ÿ z3^ endstream endobj 91 0 obj << /Length 2098 /Filter /FlateDecode >> stream xÚ½XKsܸ¾ûWLåÄ©aàs«r¼rÖÞ*gËR[ë(3ƒILHŽemåǧÝœ!G”#oœ½@£ÑèLJFƒW·¯^¿•é* Däáêv³Jå* •HÃhu[­~ónþñáµLR®ý$I½c“xû¢~{Å¿¯ÿyûþõÛ0žJˆ")­ 3eS&äòU,²$&ÞwíZIï3~ìÚ‡oY ƶ?°„d¦h"âL»Œ } â`íÇ2ö*{¸«5õ»0ƒ‹§ôêúÞÛr7Ÿp*È™ *R`ƒuøjIÓXDq<2u2`K`ÓóL¨<]ùàð˜]ðünQ ‚ü›öªp/2ü.Æ!•"’/C‘§óËn{h´‹ÅÐ;ç¯Tèûa.‚ŒUu^…0eÊû+6ÑчHÂHü͸Xêv²ý + Î펈r{…b VÊ{ûs„ÈûxI„b Vï×¾Ì&ð-×ðÙÑîÛ•)Úw‹V÷MDž³ÕÕŸiκü¿Ù£hã;w‚Pîé8¡ú»‰jbcô?بû^× âWm¡ ´ØŠ5ÿÈ ó4êYd.Ũ#D%FõpèZ]}‹úïQê)DñqNêÔŸ¨,àéEz]¦ Ž{"Â,%‰ì ûžI9*Á‰17| ÂtQU×3Ïí­T9A!}…Ü»ºþåïo~Â~晞hýЙr¨yDKuqoÚ-/q©YEwwX† ¾?Œ`|ªAJLv=ì÷µÑ•ËsÁÜÙÙ¡¼N÷‡z _?˜º&êÊ,¸FérInl[²$òËÔ´z[›­!$À´þ2@²AƒX ‚Ï®aëeaxcÜÏøÑ]W)™¼élsæQòÉ3'7÷NI,csò¯zù¸ð„Öüè‘“ï÷u šŠ¼–yÛ‰¥H<5DDIà™cêè¶þì ‚d ¡ë¨» ¯¥Hb¯Óÿ:˜NÓàÐsÇn¨u0ÀN±÷)&ì;]‚ A‹%­‘›0ÒQì;8^ÂC[®×¡ç¯ýР£±Ó5=ÏÓê~8p’>ŠxmYv±h›èTŸ¹ ëˢ®uõ½Aö!²“T’ó%¨ÞŠÚnL'†48ó ÌWzšE§#±Rt<ó`†áÝ€¸*½í´ž.uªÝf„èzä©`Ê.Ūµâ´jQwÐT8` ¥2î°w|nMQõ!hX çšq±Fr¿³‡ºÈ<˜d<7Å^q9²ü”baRj]‘DðÄ‚˜c¢ð\A"6EÛ:—CêäÔ~ C°ÖÃQ$0Ö…€‡ÞbŒðî†wÀOîÜ>¸ÓøÝ¥;—“¥·5tF[IA‡ÎVÃÞè'V.ß/Yà ¼m,.2²>qœ¤)I{"U€6ê”âÄ+L]¸<‹äíh Ÿ)f†ØFÝãnå ,Mä(> ?&%ä~ƒÞÀՠ‚Ö.4tQÁ¾œqz3âhÃÎÕzÐk ôÐ# vÅ)¯…Cî<ÃJ#¦@ߊƛ5ZÐÐ਽)‰êFº®xÏ~!G­&Ç“« ^vÇ‚~Ä1!:­mýóIFgp’Q›{‚ÚììôÜÐ,YN=^0Åg:  Óêi09A0z@΢öè*‚Šû#øTÂwÝW૲´¢áaGŒ ¶® Ð\j¤d:Ká)'«ã޶‡8ð&Ç´åbÇÇ!+ò.è~㜟8W,˜rh+Ý›®¸35Ÿ`B¨smAMeúÒròqÍaÆíô’ãéÃeõÖv>TCªÓD¥KÃ…Œv¨>v¦”˜9*}.Ù,†âx¶$f|K-, áæoÔ‡5îÉÓ;îL;S±]L²I>ÅÖ3YÙ<^rz¹àÀ…ÙŠš¥¹ô·xy<¨ˆPœ[nz˜áν‘Èi•žŠN˜ ×?tG$Pè¢?t„<”ÜRK!‚NÿHŒ]1^l€®‘©`v3.s¾yzÞ @±»ÿ>^^Ѐaƒ³:°(ôzR¹K*ÁpƒS.å¸5†¹zÓ@匇þÓ 5‚ëše•Û‰µZH„ /Ste¯ÅM-ßgìHʤ³²I9ajALÍ«®’!tè¸"7`OË¥á%õÆÚ‰ðòìó)Ê$ÿ-aÇ~ÔÄ(”ë0÷ž{GÅøêÂw”Ê¿¥¸º´÷æâFpÁ¨ùRÔLóLñkúo‚V¸f¿s¹ §uðÒ–/‰úÞõßMy傊«7âR`]&IUhIU,Øò,K¿¬Bˆ,IFqYÚ1©LçK=tðÖ…ÝŒèKWòìbLÔXŒÒlÿØÚ•Ø0ãî‡D3²Âë8ÎÕˆø@hÝ%ñ…\9>Ä—ÿMÊP¾Ü¢yß ŠZžƒ/-—"‹Î~û¼,h¿b±ƒ·ÞÞ•m±w%~ÄmA ¹Hqä¢äk‘ E(Õ7Dw=ZÄA‹\&lI *붇ZÑÕîЋֈß@:ý^‹\$ÌâYúã?%júÿ$‚—_ø°wXZ†³CâC UêEëáèeQþý¢œFËQ…!ëÄ$Ì7Êùë~ü™fÞ/ñ3ª’…ô?Îý}âé0H-KÔ^lìõ\[ S.îuƒ¿Yts| Ožk]¹ òmL‰—=¤Zï²voc kœŠ,ç猃ÇÄ‚Êjæ‰ÿ®1‡áÝÍÕŠLàç*Né'™Ÿ:¯¼º¾}õ ¦] endstream endobj 95 0 obj << /Length 1415 /Filter /FlateDecode >> stream xÚÍXQoÛ6~÷¯ÐÛd¬fH‘¥}HÖehX’> ëT‰©…Z’'ÉYìÇïŽGÛ’ã´ö–´{‘Hêx¼ûîî#©³›ÉɹÐà,å©nnFHf„ nŠà÷0RÓ?nÞžœGf(%#ÃRiNB×ï.O¢Ø01ű ÿÆW.³Åù'M &?ßLþœ˜À‹ÄưD¥A^MpLiÉ´’`J˜ µÁíä×Éš‰@(&UyóâX€y‚V®®¤CÙT3-õÚÆŸšz™ðn%¡mûé |ßFœsƱ‡çš]Ÿµô½ÈúŒÆú†Þg"Õ8Ö „0,ND0h|Jëœ_¬.LÌD %wlO†Ïd’2ibhf¤ÆkÛåm¹ì˦~égíqXÎ{|3/»éL%Qx»ªsœD½‘H<Ó™Û©{'*ïëYmSQ«Ÿ[j¼9ÅIï¨#R¿˜ÎtÄÃsÐp¡7D…m™#ÜŸü"(ßÝw½­PH¤O\¯ŸÃTëàœ)ÅL’œš|8³]g³Kû*ÊÑZ0 š@ÊÁ=“<õÚh•\·4ºlmn—èöš[z_W%¬ óyh{Êô~Ï5¿²^N@O\Öz·ÍbÑ Î"[x;V]Y$ D ýáãÄ(«åÂVÖaßg©xøî¡-Óð·)@’ÁKú欓Þ:èo­ƒÁÈ[ãʨ[e}[~¦¡ 1³ýðÆ„&beé«Kk¸î³º(»9âË𢬛n^BòS–ÅÃ,S"f‘ZgÙûQ3mØ¡óÑKc3¥°”†àñ°@kç‘Ò*<­‹†ru»Ï!¦¢ø«%[ƒœjÀt6]¿I/L-¡Ï˜:]Ge}WL`Ùª³À”pŸføÍY¾ª,d=† Å Ê –È%€ˆZ *“R†×¶,ì¢ÊjL ©|ð%Þƒà«Púàãw—šÐ@ËèkžÕ`¶KW1 @„‹{Ì-¶—l€Í##á-h%»ÞÔSIÀÃQèòÎ(Àm:‘kx×¼†ö"#è°hV–Ú-RãÅcãNð3(¹€-wˆx(»|DÇÝÃqâî‘{ Ä”Þðê{Îå>4m¶›÷‰¯jN8‰8Dñ¦ÞŠ'V¼±¸8ÌdØ`£7Ɉ¦³ü@Ó56Âdù\˜Ü¡bÒëêmoñðÈ%WÏiûq…„uÓw®f)œf‡ƒ€s¹ Õ•ù _j“8„ôKéJÐÖƒõGÌ&R–ˆdœúÛc °k€®N·<ÒfE™Õ*ÝO µpLã‘à·´öµÍÿ«¹ßÝeÛÐÆb[¨¿×o}9y»Z°ûöÑ”ÚëÍ÷Aÿ¹ÜY~Ko–YK{`ö™PÖæÍ2úîiÖ_²S~*üæ¯Âõ1ÉÅ"/ûÍ¡‘ÖýTt/HòÇõÁ¿½¢±Ê¡î舊G€5Ôº? …–Hñ! û87apKØÃ¹£eRo/“tÌéWmm‹ÇPœ™„™Tc¿¾šyÕS±Þ“>½»°ué49Äݧ Íc†ÍZßø8‡áÀ«câû|¼{ pYWé3Àa˜Þ½:}%þÏFÜÿ³rÐ_Bÿg}ù¯Yÿ8•Ï®Üé! àjÞ߿ӦlC×Ɉ—Mo»—û SœI,u‰ÐÇkL„Ù»{òáÝ€þò$j'×ås½£NYÓÛ1¼é¾Œa¼:=)zj·Y?_Ïî癟’7HžÜ•\vî‡À‚jï•E?~Ûrk#ú)àY;¦mÜq·[ çƒd—éˆûS)É~÷'ÍýÏsñòn Œˆ ÷?ZVíö—þŸýN» endstream endobj 98 0 obj << /Length 2303 /Filter /FlateDecode >> stream xÚ½XKoÜȾëW râ&Í~ðe im'öFbiÁn-²GCˆY>,k±?>U]ÅrL­¥MËLwuuuuÕWæÕÍÅë÷2Ùˆ0ÈÂLlnv›Dn¡‚DèÍM±ùÙ»þéÓk'Øúqœx¿ã_ìLõþ>Ò¿mÿ}óñõ{Í%h-ƒXéMHdDL2ž3ù:”œì«(HãˆX E²&‘†“ÀOí`·¾N”7ìÍ€#íåm³•©÷l×—0u»®­‰ããX•†©ö°õ±u¿9îÙÓ‚ Ã0YxK¯lßÛgìYÄ{µ×6Õ#QË/ªû`ÔˆïyèZ§mYØb ޮ킭…Òûá››ôÄR=!z[})›;"·ÃÞv4\QÍíUÞCYUÄÓÙ_Dz³4{´;âYD0ÐñЕL=Ó_gÓlfå^˜a+¼–Îwê„«ÛáÄ`š‚¨ïüÁvuO“®‡²±<»¥í` KØôºeif7L‚ßÿIMÃ’·æ¦ªl¬"Ñã‹4€î íø\%!›%ÎàdM”Ü ¦jïF¦ÐÑj'#À ¡§Ugf öƒé˜ôPû’!-ö®³v¾uO!?WOÆ_óSÓB|ÈÔ©Er¿oǪOË,„Ëue>T¼Äæ0÷€XäH³ÉÏİ)•-H"Xbån©Å¹‚D¬MÓ8[냩“aë!Έ.ë ôÎÞ¡c ê4¤µ¿»€|pA÷Me;®–Þ]I¡ØÐ6ò4 î,œ‹6B¹•ÉqÓýšöè@-CoßÖ-n*d}$â´èÄjIš©ˆÑÈPàG±gÊÊÜV–È»¶£=EÌ öok;tÛTyp HÇ“ølçc5”Ü *|›¡œW8ÇÄo€›¾œ° 4ʽ8ª è‘&{sÊ^Dao;´°'P· ùn‹¨irT¾Ì‰Új[|fo£V+f&ƒ+§à@;âœP ƒ¦müóEFfx’Q•÷U¹w¡uJ«,‹nO#Þ3‡g2ÅÐ '³‚ÙršþÉÈU ™û#þTÌUkÎLž·#Qˆð°'F[U„iò"P^i™¤`…’ÔñG;€/ørÊÖôcšŸ€¥Ô”ÖUḭ̀r±)l_v涬÷û7ôW”=Wð¡tã‚Ûé$§àÃmÕ]ÛAæ¬Q ©N …ÍKªþ8Û›žs JL…=—\®ºáZ³|Kÿ° *Ú£‚ÁXLË{Ìœ¹«âÿj~³9>€¹YÈJ—¾’ó‚‚çRd3Ks™ïÕJD2¸S€&c8oùP‡ QiïrU¸è+Ï%º=-`»´¬ïÊ«­éÇŽ@‡’ú'Á ¿$ÆÎ \WÝÄd˜½œ¶9Ó<‘U•Ô^ñùÒa š0¥ºqÚÓ´³=¦;§Lw®S©§=%sõe}¨ÐCJ;H{¦c™Pj{"±Ž@D¨¡·*M—÷ \ÐÒzc3RŰQSü('L…Mø:ÊŽyÈ*/gÝ#(nõ˜„95†[#‘.Z£H:•_BÃ$Ôò³Ý!H¡¿ÛŠÌ{³ÖRé0ˆ…=<À+~IGu]CÔ¾¢®å‡à2À†6п©xIdi6i¼8YÈž ñ$î/k'FA æ¸¡Ö Ô™¦‡x©'÷ÆŠû1yVv`Û;ZíûÁºŽ5¦WÇùÎ2¢L-b {ìÆe߯äœü°X¹QRÈç_ãSC|¢ÊMð1 'gÉ+:IÆÑzœÉ ÕéŸé‚ÿ…ùËÉÁµD‘w¼ÅcA ç8­Øq:þ#lj@HõÇá©ç>Óì3íòLCJPË„´ôa®'ÖêØ jnÚt5=Ñp2´'ÿ¥Ñ2Pá±ô›³ñØs)…à bÅ5 ½Ø‡%·«×O˜?ûß¹9Ñën…!¤£?ãçk }r… 5‰Ôûº øUI‰B[À¯àe‘¦V/É@èä»—M'Žw_ÁsZLfxÖõx8T¶>vúHsïñ”›mں̱”Bó.±ûì×( Òä̱p9èÔWTV K|ß=ì†×WŸÈ3¡Ÿ©( ¥§~â¬rñîæâ× ;ÂÀÏ*J€YÄ&¯/¤#ÔKm ‹dÓÙÍîâŸWî{ŒØ@4Iþ#³(È ßRY~yÉæ¼"%(ˆˆoì>'¸ÏP°ÕƈŮÿâÀaB°‡EŽ(yÖùÓâ1pÀ4¾…}OæÄi>«ïÇš pìýf»–…/J•<ö¡(>©çÒ©XâF/¯Ê|åXØK†"Wl ¬3•­ÚlYU¬ìG:H§omŸwåÕy³†Da,OEƵø›|ÊUáì«Þq`ž)_…ˆ _>b§¯0øàš±Ÿh"²$æ§)økmSíaõqôrá£\ébqì7­ƒ$ÍVOh÷±kêl}|²îUœƒVðwËÀ'ßîé„õîB&`XÅÝ…<~RQ,?µ[ož(Qz,“1A‚.«hG÷Æqǽè9½x‚~km¾_.¬äS¨A¬ŽŽþ% Õš¦Q ¡ö3S‡A@-8€+ T–,­ýôqÐP²Ð³+è°ï\#…ŒŠç>~¶-ºçI†Ô¦/SÙéL‚±œ¬cGgA B­éew7bQØ ½ƒ $U'êìe6‡T¯¿âŸ>zIˆŸ¿•¶™¿¬ŒxzºtÛ¬PS‹ ½Ï—D@±)JèXPèzDÅΊsñÿÔö­ÍÿKuo]Ôâ“ð¨Ý~v5»‚~ù¸‹ž}xGW?¼ã\cÜqÇDèewêߺ` ð)Ôâxð‹c2Èɉ) ?[xª5Ô?­ÝßORÀy´RNÏîxãçä@Lö0ûÒ˶ZkÔâ,Õóû4þŒr&> stream xÚÝXÍSÝ6¿óWxz©ß OX’-[ÉôIH“LÓ–SÛƒ°õÀcƒ?’éß•wm?¿)¹ôO^I«Ýß~hWG§{Ç<òxÀt ¹wºñbáÅ\²˜‡Þiæýá µúëôõÁ±ˆ·WI¡Y$/ÀEïÞ¿=*f|µV*öÿq?Ê¿2ÅKSØkdÀ“mk¡ÄÒ[ˈ%*B>×Q°ZËDú?¹ŸÐϪ$‚Úæ ÇzàÏ Kçh¦d<-Š‚Ûvui3sÚ0Ó,Ò‰·"ëˆÄ’Ò?~ºAè?·)RÓÚd¹)›žgO4-®²W«µˆý þ'~º‚tèL, G8X,bñøYÏp—{¼Ì]J¦¥þ*ó&¶l0©X ÅD"È^õC 1ªûL=Ì` ¼ Ñ`¡¾ÝbWu…xÙ —U›WådÅ“ÃÉ€[V=ha#»©Ý¤û[†‡k–ðäÿ xüÀèÂ…»ˆ'xÞV­mž,aL:™%äpzR–ÇK âp€äô¢€¤NBêÈ-uB?'µNñ7ožd-ÒjÓ^ {Û C;Òª!,VkîO ÏåqÂ’Åä´ua‹ðl¶Ä’eÄD(æÞu?@žÎ€Â‡UEChSW—8zÝ9ªG%™ç«~‘‚€¸¨­vd›Æ{õb®ë'œ³á^íWeqƒ\sí Õ ˜g6ÙMU÷0€ ÛYøKM€C˜$ΚH‡Ã‹+„sœ©Ð„n¸¥YL¹²ßûó¢À5µ½îòÚâG×РÚàºö‚æÊ9W›–WµM ‡í–ØC°mº2mQZçA”ºAIòTSfè}f²;žÜý.§]“¹¿¦¦(l¶ì3äßà2c ¿‰îÌ Íþ æt¦‰Ì§ÅÆù>c8F;:e P›¼&oenh=ƲmºKtév{l]=¶Ú¯\à Mà$µ#ôþÕZü!#¸yC;'4UWd8}†€á‡Áù´¨šrEŽÿ)¿4ÄVô±¿†ÉK[·ˆ™pAk.í>Î4Õ’³¡PBK?˛֠ȎúHEþß6m¤\˜) pÓgÀçf&w4ùS8æn• úÃèÕ¡Ãæ=~€í7ÒÛ°=E'œÔë©=X°v ˆ[`õ“ãVŸœ* Yœè9€Äø–~.¦‚ s%é ,WR€aá_o3Œ[˜ÌB$V,Jä€É‡*‡‰hB¿ÿriGÔùà¸Ø_ žÍ‰KuuCH‡ uµÚ­«£±®®¿ÊV ¦µ~×lÔ?]Ä7 &€Ã àCÊm‹­'yÏwÍ&cZ–KMcOr€¾Ì{Ùò¶¦olF§êùåä{\Šª<ÏÛ.£ôBÝœ+éãMîÙãÉ:8à„_Èê®"î7cÆý‡ôå÷ìÉݳÌdóÇ{cRSñÎ0üؘުì½Íî«($Ã(ùŠ ÆñŠÒ3ZøÅ3Ú7¼!ÌÏòà¢àvÜêl¸Æ¾ã0ÝÊ«"XJɰû˜&É]=ëû†ÈíÀµ®º v¤º,Zd£™Tcf_Àdì@åÐ2gËÁ§$xÌÎóÎRv8, …Ýo³^˜²Þð [Ó9ä>Òã*½Ô˜‚jÿ_ª’C°vØ´5|¼£:ísÁáONW\«`p4WRý $r·ÿ endstream endobj 104 0 obj << /Length 1318 /Filter /FlateDecode >> stream xÚÅWßoÛ6~÷_¡§M&†¿)µèC’®A»¡Àjg/ë‰q(R*ÉIìßH+’£¤–n€a‘Gêx÷ÝñîÓÉzqôŽ›€Q’ЄëËÀðÀ0A “Á:þWç¸6„-#­Mø7>tx“–giÙno–®?½cj¬BJN´u¸ÁM‹Ÿ×‹/ B0½ +ëóç¸lë%KÂWs¾IJV*‘@ÅÒ;㙙ͱ~8ÜQ¬¬œîWV(ÐpÇ«òáênñ´nîŠÊËV6««Ü-|²—¶±U敜¦]ZÖ›­ŸÖ—ødáISl®°yvýU§³ÿkañHðœàSbó‘¡ýš:¹„’º±nGL押×ãÔ9  Õ_mg¯[¬õ=ÆÇñÍMYØ'2\eúèw7‚²÷Öu™¬¯fè ï’¸š¦tWÖ ®±BW„WEe£Æ¦yêʬzzÑ¢‚˜LôÞi@Ò Çï|» x@={éÈR'ùx¼rq-J\SårÚñn¬¯l‹z 4rÔr‡ÕNÐì‚ߺùj7Ë @_àù^x»T*LËíî‡*ï½2|ÜÅA06ÇCÏ&ìôtJ5§”õu¢w¿È9*#” dj×ýL4ÐN¸\ž°—âŸ\%žrM{þ#ÿĉãŸ8ºO"œ=$ž(E§QYï4¡sT‡'1r³3çÇ9‹„wøPPÛÓ é'µÀ9÷nÛ/Û´ƒ¤ÝßKab¢µœùføù­÷ ³Y¨×£¯¾Ãhgóm2+ž§1ÿp“ñl‚åÿ@dÕ“<Ö(TÚ¤9|ƒp{FZ'[> stream xÚ½X]sœ6}ß_Á[Ù¯¢">ØiìIÚ¦ÓØ™>4}A»« ¡uÜL|¯ÀààØÛ¦}ˆ¡½ºçܯCήÏÎ F9ÎItµŽ2e„¡Œ$ÑUýS±üýêõ³sšw1– ’äö›.ß½yFÓ ‘å*M³ø/wI㽬^ÕK*b«ko„ˆ±‘UoeÅ8)÷¶Þ4VµÏáéx‚KØ-PŠ™ßý“,ØžÀð·½W[µ\QšÄêÃAÚÆhYù碫ˆSêZ¹~Uš°ýŒä#˜8CGœ'ý ßÌ9ÁQ´…ç?$sv(A8}ÔŠèw å*Á"~×mÌ4 9<ó²Rü“^÷`»hܸ?Ê´ºé¢­(à„âÎ!ÝA˜aŒÅ¯)ÆŽ,OW6¦Ë­êÖo5À®6ªD³Áæ%‚ºÓ`YÈ3ÁâÓªm–$Š;ÏXˆ;=&îg•”÷£÷TY𤋮NüÍOM áÐ[tÚZ—>! tB(Ìï{9&yŠáJܱ‹—W‹ çàˆ¸šá,‡TŽŠÝÂ-%Ü1É"€L²È¨h½øeq抒ˆ$ˆ%) ÅÆ)C¸Gåâ¦ñ$.º|¼Ÿà1>¤Ë ÐÌ4ƒ€.IìàÁýFù8•ÊêÂ-A-úÀµÚº°w»ºë~w¡:kÖèpöÔWšcD8éÏžqõ^qç)â8ƒ€3”‡jý^µ…Ñ{çÃó¹èe‘Nà ùj}½·"..$`î BŒö¾”ˆ°Ô'qÿ£¢è Î'ip`’¤ÐÃ/àOÇX\È1€Iªf€Y°ÀM£ËåŠSØ*\ù…²9\W*¼<ù|m;]›© ÍS}¸/ÌfûAD ”šGÍò ÑŒ>f•£„Gò6]m|;Ÿ Ð+Y— #ZOÍæ°S·Ö÷ûˆ‘Îì úQž„m{ß ¾s—d È-92/tU÷…ùY?È$1mmÄÏJuWÚF–ZÖíÈÈÀ`%Eʯ³²ýúŽm•Þl» mêÚ§t¨‚,V}£]+£ê"<¶û­2]ª¹q§OÀ‰_ß)kÔqÍÄ™œI"É™É9JÙhÇo•=˜Z•Q´‚.šádÊQ©[+èkÓì<¼—ÒØm í¶ŸHî”SÇÞ»£pz*îÑœÿ¸Aö4ÜûJÖa±Yû눊 wî2ã6`HS7j)G¹ G ²£óÅç Ù;<®MÐ24r_=Îk+Aê”ý+xóg˜ï7KžÂtкބlÚ¨ƒþéÄÜážYï&Yð4$ ÄB²ýê*ôâR$³EªªJïÛ¡JeÜ/dUZ.Jº)f89q¼À 8Cy~'0Ü8##I~O`¸!Ok£Ôjݘ´^Cèzn—#q!ƒØ«nhoÀÒ¬¾ÈHÆúâ¾§÷õ…ÃÅþ…¾xyk,l`_úÀtùxع¿!éÌ´ä˜ÇätoíZ0dpŸpP§fœ~~s'Ô}·öf –ôY¬ëRÝþïšäU ŽÞ‰ø@hm¸ÝJ3W)$ÙŒ³ãT‡g'H]ÛÙ^*ÆK_ÒÃ78kl°Z5@ø×1 Ÿ0me¿º·¬+¹ñ\ <¡¾Áóa0< žhzòâ)?™f!Æn¥p?(ÎpÏ}ÊlËÆ³íQݳêZ #ð—£ò _©®Å‡µ/e/ð'ó¡T…û0è%Ðߣ“ÁÏG5¡K{Ž˜þ„æÿœ!ŽpÒSÔPžˆ o/ zÐÁ Ãó4¹Ð]tf¢{þ‚Qù[ +5¼m·Í¡*ýkfh¹Ê ?×~­9Ø®ñu–]ût7ýä fA¹¤ÄSs𽯔¶ë{9õÌÇt‹]¯„Õ*|™ÊðI—‘WP8$Ûú/¿V{ &jukýËÁ1@‘RŸ/ìNå.Ùv{0~­+m{¿þ¨;.<2ts×ÃMz|áLÜ…¤ëëýÿ‘Ôà.´xÿDP?ãÿ/jÒ½ endstream endobj 110 0 obj << /Length 1569 /Filter /FlateDecode >> stream xÚµXmsÛ6 þî_¡ò5bD‰zë®Ü¥éukÓ-uïv·îvŒD;ZõâPRšìöã”m%jßÜ|ˆ$ŸÐ/—³Ós/²¸Ë7áÖreEžqŸE\XËÌúÝþðñâÔ #ÆçNFö?øí,ÞÉÍüåO§ç<Ø_/„ÇB_X.-÷3)ÞŸäÎËñ‡Í͵jŠvîø±o¿À‡°‹ºZ“/¡ô™ËÃa“O®ëOm“’½I{©ÚNW*ƒw>Þ =x,T—ªéŠ–Í!„}Q#>_ØÝfîx‘ÉVe$ùr­*|óí¿>¹<ëœMrç ‹Aäð%Ülb–Œ¸çÕÜ÷ìvŠ~è2ò§Ð¢¸Ì‹‰½Hh]Óʶkž}‡×DÔyÿó ½¹#ù³­|<¿š{±Ý…ôFƒJëZO,àÌ‹|ËñBæFœ`# š°p™‚ ý˜…¡7çÑazLô±Q `‰»½VôÒ´º­ ´]o3PêÚÍ}Óª’ÆSYfIMϬ~ b#u“Wk  öìåunö(åèž> %³±ž¦»j £"Ë€¯´ªR@<ñÈI»ØKë6b²WR/Þ.NÏi ¦Í¹ `8F·×lÊšŽ1Ekxˆ9¬ËR"Ù8±½h•Öë*ÿ»GˆÃz4t¬TšË‚$©lÌRYe”5Ÿó .ˆíA]¾Âglו™r-‡•Ù©· <¯h'#MصRwxÞ=n§º×RË´UšDÆèžKÉ ÆdŽ&Q…‘Ó' n/²,·y]A¸ÜÓjr ¼Ô]»éÚ½U$&•u“ã2ý’÷ÁƒH| ïF6-9ZögíÞ„–yAÐ`¨ÙÈTÛÙoVæˆ×´%õÿ_‘ýµ Pi"ÕˆécUw•‰Ùm&±aüpv£Úq|ó'Ð ¥#—¼$>ÍjÝÎ{ Bï¿¿4fP“ 71ºMú8…¨¢x˜øÑSí‘Ô$𠨢$´ÏçP"êo‚ 1CÁ…£çLÅ •J4º¯uø¶ð íÔ?Hn·ó ´eљϷï/^ãŽ<ÁŸù|kÝ?§°j™ñnñÛ ©\!GÄóÀ†4š·ôÀÆ=Øh ,2‹f€:œ0WDck|ïÁÜào.ú˜œ½ZÎnfXª]‹cs%<5Ö³Òr†2àæ¾Å™à‘¥•µšý:{Ù·eÜâ‚ùkXß– 7f\ÃIßkÀ’ý™Üuçñ. WÆ Sܦüa]ïóXh_.NÎTJÒ•®aNI¥êÏ*LÙ2èâ­†PeãQ£´Vu¹©êwlužÒHÁ²IhÎ鈛çû, ÚéÑ{Ð:"?èYÁ¥,4^;SMªó ¦ÊçS®‰À{°×¾I¶çŤcH&[{`^ÒuIãÆ ŒuÕd;¢õx Žix ÂénÐ@s<ÎâĤÜ7}çw‹ÿp’æ>µq'² öj·uG9ðcAì\è;«»+ì'ð]—'…Ù”p£§„Ù”ð•Hà¨c´õíÄZu3…Zë±x"Å{ÐíáñyÜ ‡ã£)‚í•DËÿT¦1“¤{Ä&½ì ÙAŒÝ¼Ðë®TÔåS/kùÀlxGpÝÈà-GׂÁF(B÷¾Îû@QÕ׺úí}c/ͽÛFóåb(»«e–Ëjè ÷ô}ãc¸dßd¦Rè_¤i…´´Ü„t£”Œ©A×›Q·SÖˆù„@›²Z÷× œ>šûSWäáû>]iç›'R²hŸ<²ãóÝæÇ#H8þ„ß"•»ãóýÑAó_òn‡Pêï&p98¤¾ýˆÆ2­2ÕµÂT$èvÔÿ¹> stream xÚµXIoÛF¾ûWðHæh6rÈ98[‘ ÐF9¥9ÐÔØ&ÊE’JôÇ÷ÍFR2•Ôiíƒ=ç}oÿÆ/6ë7$FÎH°¹  aHl¶ÁçáÕ—Í»õ*æ§åˆð,ÀöÐÇOÖ4ˆ¬¢$áßúOîòê}¾Ûåö’Î/ˆhFQ’ñ b1J“ØÞ³•Å*b) Ÿë?<ܶÃu%€ä¦@ :ùbÌ–¤d(ab:ã?d?¨FnaLÜGÚn”2D`‚غ”lV4 {€Å˜ƒÉ¸¹RåÛ2oºÙÇŠÆQ7R£öÊm/»gKzqŒX¢­’!!ˆNÄX;ôê½Ì«ª³øFÛYÞl-Z»¼$áþ¯%á‘»1"€U¤‘¾¹“Vš’7¬UH+³»ïzYw'HúrEÂz‘PvE^I·?trëN*÷ýÛ+m÷Ov•bœ åâõæbA@8ˆÙ˜g(#,(ê ½ÆcpgAœˆ@Éàæâ÷‹:Ø) GŒ'Ô{Ì Ø…sõIÄfó³G)OGk·õnè5Hª]åµì¥ê켑rk4K_kü÷v ×_Õs©@œ»pƒt2W[+ÑdÑ_Gð)&SÌ¿þaÒAj!nŒ Ìx’Ø/^T¹ë˶y¶ähAy§ŠóŒ…]Ÿ«¨l¶R£LC #Ÿ'z{nžñP{½±Ã’zW µgoZe½‚l‚Ym6;»xmïŒÑ"ΑH³c«õZîWýKJX ™Zæn´«r”°DBŠ·²5w¹* ‚'iÏí &þÀI!¯Å,ú9&Çë¹jÿ¶C¡B/A@ã°¿+ÝÁ›¡)œ1`fÂ_”Ü¥òŸ–ÿl&®ªòo—0%i˜;3)mXP±mü„”‡=6£ÛÐ;¯¯Ë¼[ƒW Ùu‡-$ªï¬òí]ê}¢kË®éÄ}çÍõï‹hRþ‡bñ°õW‘ÂØÙâm³b4<è_­Î¾°Èç qÜ{§Ì'Ä¡-GLã1õtW°+®™±Ü_>\Üæ½\XÎ못ϔ|±ó³ÍÅA9RåJݵ4úô¶É !x=¢ߨå~©Õš%­Ào¥1†lεJ’¡ÐÌÊ•—PÚwÖ>x|6òPÇuÓê#ß\\µvãÚä‹sèäc éÝPA§=k‹n^®*hûþjúZ³yõb†êUD!)áÅÂf¼€ÎúÝ#üeYøƒºìÝõm´PâÆúµÈN2ÄaA JÓì1ô@+‚ÖÙeí<\ZéRVqæ•]5ÍÀ Õî|@@5tðÛ~¬PS\Øù½®®2W3>vŽãÄ(Iøc• ›Ô¸ÎÕ½éÂ)×:ÀŠ6 ºrÂù |¾†Òz7±H[¹ž4’ ô¬ÊÅ–á­¦8‹™‡¯Wº5ÍaMébê`Zoѷꉔ“ zz«r-ñ`± ·[‡æœ|àZËž G‚cS)Ý!ºÖ¢àÎht°ÿÒ zÖôŠ†Ù¯*šÂ“®¹á °ü3èå<ž‚nNVfÑdQ9—½çŸpªtŽÕ^;iëÅSä ™Ôèöª·ùsX’”`x йoÎùçX $|½“žž×žvUƒ®ØYñ¬ËRŠbÍ‹QQ uB2±¨µ© ŽbM±Ë.gEˆ’*¿-ww‚’ñéÈõt|Œ oVÐj ýN°g$<£Žf&ÄD|9òS8äx¦çÜPq¥Û¿™1WX6S/VgV6vÁ`˜ç•!ï¹aÇn­‘·Uy[BKDsúê»ÜûVÉÖÃz/OšPcW§‡~¢’¾˜ÕmçJ¼~ú²ð½š"œªÊ¿?ôâ§ÍK—Bnê ±MiƒŒ†~þ¢Î~éE}0Ö•Õ©exÃfä‘N­> stream xÚ½X_sÛ6 ÷§Ð£|‹‘¢D©»=¤×u×Þµ·¶éSÛÅ¢]­?¥ä4éíà HÙJ•6Þ²½ØH?€ ðéùâô¹PXå<8ßJŠÇLqœ—Á‡ðÝû×§"UŒ/WiªÂ¿ð/ »bûªè–+‘…_>/?¿<}ΓC1R –Æ2ˆHJÌqÒâ÷óÅ—fpÔ”*Å2™ëz<™Ä,‘qÀ™ä*0:Ø,Þ,žZŒ<à’Å2cšrÀÈIºGó=šüp%ãË›]µ^ ~†" k]4D -þ«°èºÂèf Æ Äé¶ÅZ“à)!3‹8ºHvè–Uœ_`ÁJ€A«žé~mªn¨ÚæÉœ/•`¨›ÀϾ”‘ƒ—’ü%õrÅCoN°V< L€eЦߴ¦¦¡‚þúVZêíÙÉ3½&zcÚšDï•‘G¼^ÍT–+Ž›˜ØKÝÚ Y;wÀ¾Šãø®cIOhô²ºÆÝÐÐp¥‰øVUSj = Ô^D î7E­mzf!EF1åÁ¼ï5mg»¡ÿáªê‰2ín¨;œ…ž MÛ™ªܺ¯WPúcÄÓu¥›õ-1üšª&h­ŠÃ*šr”aœžšf8 ä{m$¡¯V£.Å0éÑO‰‹í™…Fo´1º¤/ÈøoýD¡®¡/ýeW ­¡FܪiЗnôTÞyÝ1}‘Ö<Ü@Ì‘ÔVaͼá»^;ÕUÓº(Ùl2Š …¹ˆ³|4«YÆ"¼Æ›AÃabJ'‰)eI6&¿ë¶¥‰HjÈ€öëc”DD•íîb«‰6õÉ÷ÌrŽÙ™9f9eRÊY̧qÕÝÌ,6×3Ì¢îLÝüÓw’!ëOìpd£á£(žsOÂd2N2ÅOŦ‚åy~”Ô²}Ì¿pâ¤*·É-;3—»ZÛz»µAÌ­ÜÏY”¸ix;ÄYþ†rô²pSÿ¨l˜èµÏ]\ +8vCùJû€}{FŒ’LQVÀ用ÄMmå¥,O•óÀ#bôA³Yê5ä {ÐâGÀýQH;óøHɉ÷f˜—$0ó]Í¥v)g:÷ån[yƒo1EëÂì÷æHSmæ(ß^[“<¢Á ÎÃ`0åæñíýÑÙ{….U˜uŽxèQñÇùú?@tÖ– QͶu_5Œ÷-›Ïõiïê»_h*Uî"5z­K¸”reñ©hììE6éìqÈ6:Hü í³"Æ\ê䨶êú~WÛVN(îZ(¿ÂÞš3ÍæÏ³û_¤¢×ü§×¤6»fM%¢Ti蹓çdÐóR“çdø5sÏV"v2Œ&=¶ŸpÐnóŒ½ãƒÂøv ÀƒØªâÍ&á×j¸"ªÛðEŽBöÄQ©$å­«‹á[ƒK| Të8ÅÖ@zë?¶ö™á« §BÖãò:±™viåo IX endstream endobj 120 0 obj << /Length 1735 /Filter /FlateDecode >> stream xÚ½]oÔ8ð½¿b³Rcâ8 'ÊN ÒÁò<¸»n‘6q E÷ãoÆãd7m EÇ]Umœ{¾<Ÿy¾9zò’§+ž°")øjs¾ÊÄ*ã’e\­6»Õ‡HŠõ§Íë'/Ev¸KÊœé"]%´éÝû7O„Î_ÇZgÑßøÐÑ•©Þ ŽŽÏ™Ä’s¦„€EÊr•Ξۮ³»u¬€ˆkñ™GîÒ 7õ:æQx³×ƒqmG{L³æÑŽÖ€(›v-òèëñ:N™ÎR-=[Ç€„\gšþ¼íjœÕ,j›pÎ^ùpZdÑv ?—lçJGô;Ä`´4(Ò;ÓÅe³ ç,¬È­c)%Ø¥3µu¶ëñ]E[ß#&¹ð¥=s¦lP(BævÜ_UesAo¢Zýi®® ½ÍÖ•mÃ&ñ2–å’äC©c!D´mÁÞ}ЮÙy¢O‡74.“ A(´çôlÚ&þf»–ÞPê2_éÍ4;:v·ÔµÁ(fÝŽŒdTöãqTÅ[ûúóàžÞgl³µdšþ¶w¶î çù"Ôß’œ§ãÙ€úѺÞCpç«´ó{‚Š$Ñsî!&Þ¹®Üº ¯C¥QO’Z¤o>—À«¹8FTð]ܳ7(¾¡žøD¯m­oÖi™ªD‰”"›{êmÎDz¡ÛÚ~bÑ—„™ØAÑy})«êÐEUA: ýWt»àxö«ëlm«àm} ûXˆâ|Å"c"“ð,”§ûªYKÚÀ8ün *þ4г\£Y 7’ÈM‹Ê§" ÷ýùÛÇ$M´k‡³ÊÒº«ïwK@S_uuÿAðOs$e´™,Rƒ0ŠÂ|L¹$rÊT:¥½Î{ÓÆJp&=·ðüTÂ’â§8í Éá‹W‘ –hv'ÝÅP[®÷°’ÜSyÁ8dtÒý*—Ñ3|¨É~BûÿQúË´ÍïY2Zžõ¡îÚ1§½=!7BRÙ•>U÷+HoÙ¯&ŠKdr÷ŸJyj·wÅì)Ÿ&Zäj 2¢÷ýK9ß}§ž:ªAص1fÿ1Ùˆ™Uš"óôÖŽH*(ÉSp¯Ì_I’ÄÒËæ4m re ¡â…ª§é˜’œŽ)™„cÂcÙwä1Oö›Œ¯z7 œ–EtfºÛmPò/mya:wIËÄØªõ6Ú–.TLD•M`Ö”®'.|n ƒÌ9/ån²ì¯;çwÄ7‹¹#cÐöôAPÏo×/Ç"ðË¥kÐͳš:ÝP è… Ú!ý(föŽÊE,’=«ÎB]è!Û>ñVœ 5'ì—Çr¿»6`ů‹þ­s& 5÷ïÎ,Åß‚1tÁ (”÷³ÛŒGÁ4Pž6¥É[ë†Ú‡â"N!01¿—“Ñã§Þê~ºé2Ïeseà òz¨Ê±å’Hbûú7Á?–>Øä-õÞlj4ÚáÙ§åÇè*û›Éÿ”æS<àÚVŒC:tv¶éÃòºn°ÈéɹGì>¿S8U>íò¤±í ½p ôã gWNh©(|„L¿[X(v·þƒÈ5Œ™X`Œh‘Óç ÄPüâÒjú4/4ütü.AŸKàÒÂáÞ;ú!ÈÏÆ{~i@»÷Â.ô.sÑý8ÜÞùtP‡>XíE?˜Ÿå\tÜæ³wðáåÄ•ˆ‹f"ÁZgû§ DRCÃ!óýˆq“ý¸…zßÓ|iðÓD›ÐE•fÊ€ß.±­Y@=ޝÿ¡TíÖä]¢ÂTíÑ/Þþ6`6§Ïq‘“‰=dCï¨ðÞØ‹ª¼(Ï€dåk[ÇåÇE›`0§Sgƒ#ôÂô… ÖuÛ(Ô@WnÍâw˜ª’2|0äûÍïdÂrü޲óna§Þâú%w endstream endobj 123 0 obj << /Length 2000 /Filter /FlateDecode >> stream xÚµXÝsœF×_±u)¶ÊŒ°ë¤Èrär¤ÄZçÎW©Yírað!Å•üñéžXØà³’«èAÌô4=ýÝ?örsv~íË÷Xâ%|µyXI%yÀ$«M¶ú·sÿáöÜ$ãk7Фó>"§VÅmߥëÿlÞž_óp*@ŸEXyô~ ÓÙëÍÙÏgˆÞŠã‘”,É*=œ!M„ E°âLp¹jôêáìû³K£_qÁùV»(â 'és=’)k’°$”ƒ_«"í Õéµø‘S®}éôêòª$JQ•»¼ë3Ëð>¤Sm‹üç¾êÖ~ì|Â[V‰ÇD,W.G…žV‡zí"{©ä®%æÊû^ÄdJN^Oé‰d>pÁbŸø¯t›6yz¿\ò¾ô™·ZÝ®]áq§ÛkZXk×܃IÕh*†ûœEG9=/Xº õ]L¾Ê­¯Ì5Ö1±uLŒŽ1ªÌpá9­J"-¼Þ·y¹;jŽîw¹Œ˜/ãyîï®×œsç¢N‘oÕ|ZÇÃ=ëƒc%8Ö÷YèE$ã¦\¾óˆÿ* ¾“ª©—gîÂ8 ¬r°&ôÃ!š½Ð#BVõÛBÛ5ÄáÅŒ¼äøD0é‡ ŽŸ³qÆã1z\èŒèoû"ÇçWšÏCw{ì©``nŸÇÞúlë Ežk]À‚P>ǺèÏY0.ÃY¸—­›7®çZhjà™Â@þ}&Né·Z-ZõÙNr[‘KbkÚmçå’%ÂcA$Ì@ó%tår±ÜÌr2É 3;À謹Û^D;;I’!>^¤fô'G£ªFÓ¶oiŠaÎÍù¨þ ¸ntªÛÂ}nF×{l0ÞÜkCÙë‚-YíZS(þáŸ1]Iñ0Úb/IQ™½*wöà¡©tr]çÝÅù5í½SMfèä}ê? LáØ¾ò–žà›µ €vB× oy±¹ºd‹ˆÎ´yÑùР„<"º»m»è Ð– žùq–jÔAwºi ´Uôlu¡ÓÎ4_`Ú5U_fîV{Z´O¯ÉFƒïZÝ<¢“0¬ Už`»–Âþ@Ç!XÁ) ;ê?¯H/&L Cï¯à¹û±ÿ„Ü¡¬< ¶}‚^àQää™Å¡ã jŒåæ8tJðº,ô©LPZeƒ ´Lw*/Z¢+,\ˆá2¸â¿àa:è*zm–˜F´ñ3Íy°·[ãÛÇ\ÙšáÎÍ=ŸòÁ[ Ž“5fÁpLý œG”tLO 3‰h¿t0r­€M;¦5ðš±:e-òïiŸ“q´=¨Žbh’ùøJ„&‘=V*\Ñc’èìÅRÿ¦"¤!>ùD!ÉI!9DV! Y÷M?O7´K+JP5¼«§ešeÆÍÒ†¯eKéâÃ÷+?¢¶ÿ#éâ/$E(=:RŽj”ß+Tž $J¡U64M7€®ö˜÷ѲÓ¼ùö»»÷ˆ(6k€=·ôJâüŠØ¹|ý/ú”{ÿšðigÎ7ßX»»Û77›Wv{óæ–8¾¾»ýá5¤(J„¾Ã%³/cì{EOó ± ¦#ÔÑvøÅ:+Ôâw `\Œ1úñ‹1º»¼'Ù8qQî“qjÛ¹ö3¹Í»|p´á+‰O¥iÕdªL-ý)‡Z6+ÕvMUVh€ñö­Úá„—^è|S¡°'Œß¡T®LŧõKz%N›ïÌÍ1¥ò}ÊjSÈ5pú¡s÷ÔïÉ{‰Å_&‚[hd}4VÓî9OiO’X9Çp$ÎNcƒ¯abµ¯–©‹V?!îƒt‚*X€ ë.ÞцÊY ÷ EƒÀ­Õr<÷sÞÀ3ƒ¢à}T– ñ7ºB5]Ž¿Ä48E„µ¥5T75ÁÂCê˜&³3†›*.ªúÅtS+;K;kˆàUÓvÄ~VïNަ¿ÁvÒ €Ë6®XÚL2vN \’îZjüPn4” ûfGMÏŽmxæ%y°´½åS}·7¦ÑèˆBJzdÈ0ÝqOJŽ¿+á)ÈùD/™Ê² ðHþÓÚZ1Ñ¢ÕöæƒÊ4[J¦kÌš!úu¨ ýr©±Ñ·’Í“Ÿ¶(#GUß„$ á@_$°‚Úîó£î¦£÷uÎ$Œ³ 7ô0 G”‡äÊòÐ[šxY–£TÏ$Æå"²ÿ‘O£‚ endstream endobj 126 0 obj << /Length 2078 /Filter /FlateDecode >> stream xÚÍYQÛ6~ß_aÜ“Œ®R¤H*EZl›¦Í!H·—Íå¡) ­D¯h%Ÿ$gÑÃýøÎp(Y²µ»Þ´îÅ2Gäœùæã õÝÕÙ³W<^p&,á‹«õBG ÍE¨¹\\å‹_!—¿]ýóÙ«H{ )CÅä‚Q§wïß>‹”ùr¥”þ‡lÓòr™ % ÜŒ5¬z+‡FŤèuµQð êå ~³´+êê¹× &+UalD¿„¢ê–«8ŠqÖŸ¯Û,fÔn‹ÿÚßý»êœžY]µ^”mÒÆïp¢&‰éÕdLÌ-‚ó›¨ï•?¬TÂV¹~šÎ"·Uw~¼'/-l T€™ ¥I+p^ì­yß2"*¡ž¶Œ*½µ3«@±[„kåõ³æT*d°¼'Íy÷¨ÚX‡‘ŽNÒÊû^ÛӴЧiÝRÀÿz‘EQÈ„¦QÍÍîÖ:Ðw­CùBðP‚W< ¹4Þø F/ð!ýçeä`âßçV‡:0Ý‘V • s¶Âõûñtù,Ô±‡Lâ¼ÝÝb|_/WðkxH´[jfÅú¢ºA¡ºÍ’–þ××­m>ùWпs!.W’«àõš¤¬g©hǹºâ#ã’æÒôsvˆLÌ2lósûAC ˜ÍZŒù°Ї0mi¡»ṼœZ]MÏÜv¶¹-*Û« ãäÀšn¯Bˆ±„½è*Ä'LΠ`c@´â:d±ê÷7†'?”dèô{HÂÈ«9®šÌ–£N§ I‹01jBT¯¼+UtŒ$öHÂÿ#C¹þ½¡°±®½–»M‘¡îM?ÞÞ¦ p¸¥Å6ZtÛ¦Þú2§.ØÔhìÊ9xm×T6GôJü\•ÓPÓhsrX±¦§÷#Âû1?òû´"ΩK·ïß¼¡þn;4ÞÙTDÄGIë‹ß܃V÷=öÓ¶~ª¢jmÕ¸÷<®˜ÑèdŠ.šH`S”=-@€TÉ)ÐRchýË’±ïE–adôÔ?3Ðb&¨×øL<P0‚4÷P‚N-œpY眬T|(Ê’zíñ b( ¬"Ký{Öb°¼$I¾8=Áßq±¦5U/^ ó•fÁû @ºòŒ$$ð»šÚŽâ&­nÄp(¡’™¥Ä0T‰Ó÷3KÚ(þØ~”Rκ™=“å¸Ï_0mò„¥ä5ZGUÝ‘™nÓn ch£xŒ±XŽ>~y7¢軇*èèYÚ´õSpN~ãà/®Ò>r[“fÄnÞ?E••»&Ž–áÈéš´(½9ìJŒ³Ó™ <)]|H›ÇÓýYé #*1S8¿Ã…Ð »>ØÿõØAØYLÁAˆœw2¦†Te67Ø+KB¡ä¾¬AŸ ž9ò“v'My›¤p ›ø 3öÓ™:v¹êßÏÔ`S—äîQûj KÚ9jc¿J+¢jxUÇãÓ1zkœUß×ä‘N¹Y¯à>™zÔÇá~;˃!¥0Íøˆ’çË ±7ù—dSý(—Žû%©Ñ4yáý‰dJ'TŽÂ„rV7õ@¨+L±XD¹1Òméß \ëwôô\+˜$'ѯ‚lÏ«•Ìg˜8ƒƒßÌdŽŸÅ²w“н¿„þÓæï[ÈÿâCZ}SW7E·Ëq×’,Ò¤9î<­ÚsÊà·u…._QŽI;‡ä:T$C.ës !9%Ìr’äcs_ AŸÌ;äîðEÙÞ› Ý—“ä=î·Œüqºñ·§?†ôà ä·qÆì ¿ýÑÖnÃPaB³Š”`!òG”$ƒ?¼3X¼­¨¢ÜËOÀ™â<±Ïú°zõŽ wžÀ†÷vsž@Y_ÊÌ`ÿ œ?Åz¸gù¿óÁO¶¸ÙБç2 RÂ`"20É[‹Ô%@.Ÿ&N ¥(0Zï™G`?ª!Ù$$@ìêLt„ݰ!2à/EF”Œ"¤÷DF¿¥‡ÜKÄë1ºÈò7T½ÝÈ;ÿ^& iÈogg®µ¼/éªvâЗ’sE†Ñ2Ù¸¸¦LûèELoPîÐòiKÆNê÷÷Åp_¬ûÛJ赩0ƒŠu½«3”‚º4òwfugÛç³—ÃÌ%~`†Ð01¸AßshÂ߸/ Ê^ñ ʨ`ÝÔ·ø/ö×g z÷æ‚$9Ý6ë4óïŒgJü0¨XvÝvç…íhƒÄ”œ¹±­—Ô‡CÛ¡œÃ†¦H}¤B-u:L?*éÊOjö“7)º €|å®j°qC!ŠÛmIT╹K.€q‘çB -ñ‚f2›+OÜ?Ì4'¯üögÖÜ× iãoQ*ówvG‰ªÃjuP{\\¾öZ*ß%Ý_üíÚa”óÛm$0‡+˜†™Ïˆ¥UÕ¿ðqöÒ¶YSlÇ_¾sAŠ<ÜŽøȺé|ÑL›#Óf†ëWÐw­ñfБ¸™y&ð³M(óó¿uùS¯ÿÜu™î¿v_mÒócan³évS|¿@(ý ¤ï¼ endstream endobj 129 0 obj << /Length 1441 /Filter /FlateDecode >> stream xÚµXK“›F¾ëWpD 3 O»r°kíØ©Šó’s‰s`a$a#Àð)¹òãÓ==#ÁÅRe÷Ä0ôt÷×ïáåzñôu8Ì÷2?cÎzã$“0î%,tÖ¥ó§ûûûwOƒ8ñØrljû>b·Ëë_–Aê ©D½ükýãÓ×,³ ÃÀ‹yèøÄ…G†(­,ÕŠG^GDûBn‡½h–›Ù][ìàÙz<›šcL‹nšã7m9+´ƒ:´›=ÑÊÏsû÷¹Ìµ¢ý×4÷ËRœz ìø¶ù|Îì‘l ‘¶û&ç4‚ezg´ÚŒ}¥ìÆÇ ˆ6û£¨¬ýö(œÑñÌFç@MúÛya0›šÇe.ý6‚8€Aï:®ùÞ²Å\œá #gFWyòc¯ruLröüÌE$…2ÃL™‰¯ºXêj1Ö+:ó?ï,¯Nµšºs/Lk†ac€)ø0mЧ [ñçtÇqÚ¯º„éJ÷p×0Ãõ&·ÚÐH›•½j"çõšÖ?ýx£ykÂM+ï]Y¶ v3t;›wNöWè‡:œZ½ññ•Xc[…u¯4Aíü‡‡þÊ̘z|*pÛ-qRÞŒiglq©uÛ|xUsïr2®úC}DÛ» eÝ6ÛÑ ka9péá.UÒÐ ûýqŽ÷ÿxnl endstream endobj 133 0 obj << /Length 1173 /Filter /FlateDecode >> stream xÚÅX[s£6~ß_áG< Š$@HIg²]§»é$NSç©Ûb”X .Æ»“™þøq„/ž8©³} XHçòÛ§¼Ÿ½;½`шQ¢¨b£ÙÃ(棘$fáh–Žþð1þsvyzÁãK"™QÜôûÝõ)1ac_ˆØûÇ>„·J²›1—ž.+¡&»R|®b6òƒˆH¡°ÕØ82 o2ðÎì#ôÒbsŸi\úL#ú‹ù2¶søÁœøž+Lräƒ;‘“ù£©6©^Qâ3)7KyìUîË>Á˜Ú³Ð™)r\´ÚË$5I¾îèî»¶U“PJÔžåßÇ÷i©gWjÖU’Ïkç­sƒ.t·¢êsëýÝ‹üÑGt&TNæ|n!½ª4sSY£žž7ÈN–o`Q‹o’Ë${BxÛ$3o=ö™w‚»./¬ùÓÛ«3îr)ÏžõÁK ¨ÿέŠ6ä¦èÊS‚ÈX6uù™Ò`H«""í¦ˆÞêjSæ:݇‹/Jô™`f™¤¹Ô¢_<:ÓMU­ÛD›ÍðýêòËP)Ê{s( `®”Ñ!0Ä/‚!$¦a“Ï3“'ÕëÛC“½9F<ÕGNßIÎTßÉÝÆé"\-\³IÖP¶©ÉqÝz©‘êÿ†H; F$ B²7Èÿ€„êL¾Ó0Qí09¸aÑ K¢„Ú×.¿Û8jÚæ¡pÄ”Ä!?>‚’Huœ`*£70~üßóð/HŽª‡„ÉíT¬† Œ(þPD ’f k×fýã`#‚~Ä–…$R²QÃâAÒQ¿6ÆüÀ¨Ãé ýjáKÊšëI·Zê¬Â-–0@faÓÛ‹!›|§Ég‰˜z¡Uì«2h|®€+³Ôë¦ fjxOƒãm¨~´‚Æ·‹QŠ žl!é¤ì´Ì]W¡çE ëU¾:/ ´|ï¸xóF¾Iu7_MåÈÏ*Kr]µìº¨\û}u\h/(Ó_,ÞïÝd™~L²º>¶N¾_ç„[Y°_Ù9úgÿþvt½a_/æ’.óF¹.K˜˜GVõ”Ö:ªÀdкӗaˆÚD(Îföpó )Œ  É"Úì LœÕ}Å^jàP ËN¥µ— XðŠr™¸ ,V–¯æ:QbÅ—q$¼Äd LÏÚ^p¬ãœ„1ª®ZúÞ™W'(z½1U‚IøþÐ0™¥É·¤¦.z\îC(m®I7ÓŸ?ŽýPI ¼}èöâ´m×ðAÕD±ÞÐú¸Æ•úâd‡ê 7—§úÇôöý§ž‚Þ•¤^@ù»\³þv~=ý0iŽ7öR ™•±£þðÒ¥þð}Ký¼RïÞ¸ÅJ |c‡]¼™q¸ýdüˆ'Μ‚†PctlØá’']ó›ÿø˜ªÂðÖ>dï<®œáÃQxkˆªÍ מVZ}ø®6±ÖH°<ÐzÖã‚æp'Kãó«oUD¥Ã½à*ݧ`€cç6ñn2{÷/š(Ü+ endstream endobj 136 0 obj << /Length 2510 /Filter /FlateDecode >> stream xÚ­Y[oÛ8~ϯ0öIbU¤î]ä!¸ÛHÛiÝ}™ŠÌÄœ•%.혿çF[r„Ý)°‘‡äáá9ß¹~³¹xõV§ øy«Åæq‘êEªB?UÑb³]üâ}þòþ•NR_-WI’zâ'ñEõq©3Ï´ý`–¿nî^½Uñ˜Mi? £EÀ\Â'-V‘Šý0Q‹UûYóà‡Co›z¹ Ãл{‹l?|º¿ /‘yÝ`ûâ¡2<þØ´Ü(›½é»×Ä6X¬TæZø­?~øéÝrʼnw…ŸØ3‡å Ø6ô·Äv<Þ<òÇS8Ý™ŠdAâ× 6nßßÝ@W1»ŸÞÜŽø'ž­ËÊÖE\jy"rh‹­-êέN¼ë÷nÖn¹?ôã(gñ«¦~²ý°Åg,b˜¥^¿3Ü(ºÒÔ[[?ñxͧÚÐWÞƒ•PÐSÁK^ÈÄë¥ò>ݾãÞ•0oŸ†½©QEýtVáQE—³¢Û¾w–rÛƒ _nã×lhüû3O»â³˜¸µ]_Ô¥¹äîï'ÆÄçˉïš?W<Ô¥œ¦µ¥í±õ¼ÌBOøvu2Æ.œ[«0 ¦¾*Ã97Ìoÿ5ò߬ƒK¡)¢eŒÐ1—yE½å¶Ñ FF«Š¶FÐI:¦ aðÛÛ½áU¶ÊNV#zÝ”®,*3g4T"¸ÕÞ´Õ3‹¼>ì t-n”ÞV£à9ȸAEËÉ̇Öt쥼-“ŠŽ¿÷J z‹Œ Þ @€yÞ½‘¹¸ÿÝÍJxáŸã>‡ ÁíÇ3Ú…µ‘öHDøò‰#uTSŠðEBÑóŒï;["yÇdY ½'ûYÍ]ÆúÆ_R‘7ÔŒýÐ>psËPC&MWâÙ𣠜=y˜Ê ¥l*¢•ÝʦmMÙû“°½<ž`‡(îw°…‘x("•GÝÒÌ<˜Pô<ÏMÉE€>pÈÛ‚¶LÓ îär FΠcpð9Æ8ú‚y"2¶±¡FàÝïa-Q*wH8ltÅžZš…”T'('bÛO˜Ÿ)IqL'a½ìÑÈШž% gÊ$n×·8e" óûeÑ¡ÄQ1·…íÑøE…ÖÆ)9!¡C*ê×ð&ÐØÛÚ5ŠÌ 0ìiy˜yoQ|7ƒõQ6œÊæn4pÎ÷%å·™sÌ侎­ÈV@öæÑH^í&½ÈˆD,º®xþ ‘Í9¿ºé/.™òdjÓ•PVŸ@’­N@ §?:œ` Dxå ‚÷éwÍð´s.dž™º/8 œKؽ­Š‰"À(µ ­ÖŸÖÿoYCå~ä?’56;3õ¸T<.ÐgsÖiLcm3@ôœªf}a+92Sc6EõÔ´v‰ i/ù¯‰ŸýÂ(“$z$cÂÙ¿¬B$°} ¼$Ë…pß“Ÿ@gæðˆžÑrÜk¥ío®á*uôü$Ÿ¤£‘ßwÎ'¡s²·š h¸&R K òçoKØÍW"S~€Æ‘9vÐe‰~c¯9H¨“Ö®VäE O¹÷QFŒE†¼ž#2G]ȃ«½†Î©r) ÉÿÚqzgE+÷[ì‹RzœÌ42ÂK`íèìØ>3ƒ<Ì2Å1 @¢âx;‰ÜÁEsa@bU —‚3h¡À€yèpÛk†Ž<-µ§‹69PT´±‹I(ðƒ@ñÒñm’8:Î5}oö‡ž‰–lÏ$JÏ‹Kçüâa’@- ×Ú¶&,ÆpW¸}dz/1;Æ[+ºOð…Ä•­Ù"äS—R˜¡\x†ÓªÇ¶Ù3;¾âŒÄ®sJ~‚²•·ÈW@hÁTn\a ‰ /ú¡ã¶•oG\¡Að¤ÙrIõiWç:aÅe[@³(ÈxÜ»âϽiË¡=ÞßA¢â€K¦RLxëû7³÷EÛIýy7lOñ{Ÿám-ÏM_ÚBŠ}oÜÃúhûL½Ç¬Ç(¯G…‰+ݤpCÙ ¼.Ôp³’ÄÙ{œØá¾ez|ÕåzÎy]Au ®ñz®"ˆà¶œ†‹U˜û:ù¡‡ŠÏ=BŽîñëφ/ƒ ÝS!M¯ýËÙÈ(_)Çäoÿ3°]×ÌîVyŒ¼ŒKdœ`ÊOœºÞwï ˆ¢¶e7+JûZÅ]9ì­ ]iM]Êy?•ív+yvÈS?Mó³{T+†½­K_ ò$ÀE`±òôŠ™ø©Ì8¨<'£_¬7¿_ î‚…ÂWV•E`õhQî/ŸW¸(¨tÑšÅãÅÏoè}V-TäC°×ò>«’ º©„¬CC5y‰ÍÇ òØŽ•ùéÚÑŸI”·“6T=|On;´C8*äJ”ì ÚâÌ“ô,Ù’¯­Ìw—J|M‘ÜðžQ‡ Úz1a4sÌ©…dä Rߘ®l-½.¿žÃGªý¶«&ÕD‘»aCƒõ’9½ ‰o4î?®ª`^•£\’¾ŠÞ»åòŒŠ< Ò 67\­‰“N©wR ¿ŸG~šsüDÅJ2:õ5F‹S”_5$DøƒqZCU0ÖÕÄßÒijÐéê&†" CFÁˆÍ¤m3PÍFmÐæåKòð‹ º­û¹àné«ôܯAÎÉûQ|ü™á7LFÌòßçáV“‘"®åÕTà~S F®é:¯x–8MÆËx܉„Çÿ‡%]ÎsA  ÒLÌ÷ÖÖälxMžû™ÂÝ”ñ-—²Žû%brGž{דðQÑŒDÿ`«¢… endstream endobj 139 0 obj << /Length 3086 /Filter /FlateDecode >> stream xÚµYYܸ~ß_1ÈC¢†Ý²HÝ À½É:ðfŸv÷AÓbwsÝ-õŠÒØäǧ.êhk|ˆ±Èb±ŠG«ÿvûݳïUz£¢°ŒJus»¿ÉõM®â0WÉÍm}ós›_o_?û^çs®X§a^d73½}÷ã3å¡Úl³,þƒŸ,¸T§Ÿ6ºL׆¥¨b.e«Ë$Œcu³Ó°ÈR6l¶qÏñ“»¶q=Sêv¸;nÿ¬â_™á—(þnï7±LÃäÏ¿M?t©C‰úÅVU° -l7ÝïDKvÕi³Õ¹ÚîÎö¾cP¿ Π ¸zÇT\Âmo¸§Hß8ùn {9ã´; ‹b†såf2Þ<9/çªinßN‹hLwxÕíùÛé„áBh;IÉû¡Åói ¼êt9V,3.X…öÝ8èÌÞt¦Ù™iBëvéêms˜ØÌTA‹ŠƒÝþ;NâúhbÄ~¼M'‚Lt¶·mÃsª~U÷LG: б²=ÔÐù.Yc¶-&Â=.ÏœüZáêà8@Ú£vüδƒI²ö|©Pþý•¾rêÍÉÊ$1Îîx¨¶®¯F«z¿i×ÊŸs R¢ð>Â&/P©i¨®Ð*±E—ã˜q£¥'Ò°´}œdv´‘\6‚¤ªiÏÕéazqv’æèõ>• —Kעܫ!`tÂ<Œ#Íü Ϊ_DÛ ÷в¹„L…¥N}$ú%Šâ5=e˜ÅÙÄ”F_ ÛT…y/O×5¸?cx+‚'*Ò›m’¤¸È$É‚¸ËªkÀ[`ïIîo,9×n˜@˜š KQX¾vªºƒáÁÞž»€dêÑ]Òb½Ò¹Ól<š¿®ÆÀ8ŒíYTD‚ )°ä‹Øø@ÆQunºî'bf}Ë_Ø<çþ®µÍÎÖÆÒ>ØþÈLçj³MÓà·¶ã‘Ë©jL?Ù'‡TI'‹^*ø×?×L¢ hlU&Jû+Wùêþ©9>g´êálÀöG‡è:Xíšç*Ìr0…>‘áúÁXV˜Daœ%pÌeM^ý5+¼=úLº¨áštâ™þ°&6äpáXúúŠÀLGeŸÍ$‹= dÆYVL⌭α?¶NšŽv´zèÖv4#Ÿá™˜µ 8õÜÛ£}ÌÆ“à2t>•Ç$ <ž‡,¸Ð¡¾òÞ³•Ð<̾EÎɳ(®#’î7i;° Ç$4Ig OGn£0Ât‰WôÀTÄ.ÑË\í‚GhX À0¯~š§èJ(Ü´L¸›…•Ú‡±7ƒ<ƒY6-×RöÈQ3Ë(û:IidâS:IøS)òðЮo;Ǽ„7~tU'<Ó¡­lnßUg#~ž— r<.n•kYN<-"r b¹T(¤7w!ƒÃ#FÒÑt†i™NC—KêN®e:Ü<Ú®mÇ„ß áp"À¾z/¼Æ(ØUÍS/ž)ûj×?ew´~Ãô ŸY-ŒØµø*²2h¡Õ1Í6àç ï7ưiëxŒ2låýЏ è«÷€é¶óÕK”ªp­¤µ5d0bK4fgœ£»K¢’ÁS{¾ è˜Û2’m éEãEù"ívCWí6ÀaÑù¦pÌ —Ë1X ñ¬·«Ġ>®|`Qdb>ˆŽè“%¸î"Ð(:ÄVßµbâî90…Ñ—ƒŒö€ipc›Íȧb‹VZÐlE òGpb¢ÊNÄšU¢£Gü7I"ÑèU*ñcœÓäžJjÇÃtDV3feâÞϧ«G]}¾ªGvw»nøW Ïü´îýiiŠV4þ!àŠ=>p¸:ge^ÿHŒtX”éÿšYõny#´*¼+U å"ÿb–ŒÇôMG‡Bù3£®vË㜠<‡aG÷$’ð#°;\[A ˜ýõˆƒ„ò>H®’>Rª<ÌpÛ#=|ç8¶HsÄ(9 ¯uE² ô }‚bªmø!ñÛ⊭ʾ^bçF²ÛWO™ôŽÞ·Ó5Œ+¥ùËŠ±œG¾ñ©ñ‘y¯‡“¥Œ í—p“nºí×/·:‰ð_˜2Ôøâ Äß~èÛ§CÛὩàÌÊ%8‚Ÿ"pö|9MˆLL®„’4!Á‚v”Ý:¦"L‘˜"Z>º Ï.‡ B'b@6/à´N `éTæ±p8'®oe@| Ø«Y½ò^ceœ~Û•ƒD0”­æ&U{rë(Ì2½Üµò`<ÑÁ+ YǪCKÁ75]4~²ý{BiÐ^Š&’÷_hºáp0NæwÃìþ/K#G™àkm:cðжUõ1øÌ/våÂ\!(Q9Ìxà6À»Ku 2$KçAc>`ƒí#û-•æ.á<’²©âñŸ“%Þ]fšòy@Ïáçã¦\¼žà&rˆh?4ü<€` LªKLè²ØÆ\±É±&1›1âø„Ðâ˜eßAž»D£dQÕ¨Û:1^Æj½´&Ä’¡òàP‘‘¥â;ÙÃq,h䃜?‡r`­ùx{ÕÁ 9¦yðV0ðÊ)R6Á¥ùÄYLûÛ ÐF"ù|k ŒœµE^.Çì \òŒsË”C|¯ßx@b·€ÆºQp#TO²2ïF¦Ýù· ´¯œn.ND±_àÕËÞã`ÊÁIå#ý,0¾[|b0OeHp,õ®á”PÂ|:ÔE2Ï€Yì7ü°ø]üHÞG–±úÌ;=ö¥t -“‘féŠ ;Á™@GÛs#+FßdŒ¾Ù¢ÀÁ\¬8# ¾^”§ÅBß¿èr|Ñ­F™á^å»Y<™×ÐíÅÄã9r$ "0;qóêQLR> óÃ(d5ÿ»Á°Ö’à=Õ¾ ÙmÃÏjΆ+(’×4äe¨2ýõ Ð2Á§ç#§™2 ‹¼¼ò« ràk’q;LáLžTøL‚ä`¦w&ˆd–_5y¯ÙfzUQãíЬb'­ÂXv¢õõ|ç­è©ÑC/ß¹â)ÀqðU 8agjñ‡Qº<«¢Ë’m6òØ«I >EL/ÁÝ_ð8N•QxÀ‘ÑÒ¼R Ö0à,Ddš,ƒËàß#îGÀEW¥¿)Y%‡ž}帲4Š5­;hÞ™ÑtB0 ×¥aJÅŸ}e;òrà\ÞkàAä«.Ìȿ匉kaIáKù×67õh¾ÙX©¹‹ Ñ;¶¹˜ ³­ë“´©Ò,¹”¹Ä4¸‡ûÂaH»ðÁ _ Ë Õårzð"”ŽXK}U¿^žc AoÒø#+œ¹¨‚/WW±Åï,vãa"Eêá°Íp†FN°Gcí|Æ;{ç¼€ˆ·o¯xÇ£)²O5 õszº,W@$©íXÃðeÂÆ8ŒÕ;Žm9Ç6œÂ±cÈ¿ØÝJæ2¬¢ÁöãÝû_ˬ´+)™ÈÒVÃÈS¹¡3Rî”J©sU3/vjðâjª’ŽU)¬B²N&Ë~&`ÆÚÞG³ÄcP¬=_4«¥1Ö€Éîó¸|Ìî]âÉVLÀŽ?j)BøW6-a;-Ïo ÈSËš{yš¡î8 ÅZH~=4‡~ZŠé‘QÛ†§€ÞÙ6~@žÇÂ5¥ ß½ºýî¿^I% endstream endobj 142 0 obj << /Length 2649 /Filter /FlateDecode >> stream xÚ•YKܸ¾Ï¯h䨑iYÔ[ ä0NÆØ10†7‡Ý=pÔœnÅzôR”Çäǧ^T?,ï®/-²X$‹õøªÈ~ýpõêM\¬TVQ¥VO«"^* •®¶«Ÿƒß½Šó"TëMžÁÿð“ݾouoÚõ¯o_½QÙéi‡y’®"^!©iµIU&¹Zm’,,óŒõz“ÆIàL¿yYÇe`´JÓ™ñ ûp½y‚‡}3òÀnÐ-·¶Mí´3Bß8ÿ™;­¶;# íÍɊ΄¿Ö=7×›¸Ì5ôÒ6Ž›ìø4>B±ëàÛîÓÅTD…iä¶€¢ÕË¡Ç y¼.8뢜ÑmáL;JÊ/ 4 U‚Í”}Hš?N÷;©UóÜOˆSP (p ó Í’€œgùG Ò h¡Gó§Uð±k‰æ‹î-•‰y$ b,(ûñ¸LŠj-P­Øö Wï·Üø†3vMOŠ„ÃÍyŒN¦jov-¸í,n*dø²–ŒŒR.BÜsÆÀ¶¯<€â‡g5Æ¥×c\0b\¤Ž¸ÊaÑq¤Œ„/‰‘¡3ZX|Ñ Ù{d ™¯°y†WHà3 wÛ2ÅùµbC‡Å>kvǽ‘µµ;ÎZ8ɨ;ñ¬´¯Ù¸s1€tkvÚŠ+1’`ÀõœÇqï N®™µÓäc>>½ÃÎñ„öEïE»þL¡B¿ÕÖí7÷8¾@Nè¸Mð‡Îe ßi¨Gù ?@V+ žUÐ/L{ÞYÙ퇭‘U· ˜Œm)Ì“›÷]Ò²9h.B’*–D++7a•[u;ŒAI%ɹ±°q z¿퉺?ÆÉ‚EOƒ¿»½öËÏwUäkz0šì¬e p€o×D¦×­óy,ùèýÂê]wœa¢*äÉÛa~C¿xä`Dä ¹¸‰Ïê[ `qÅTK…7}%įIvRAbÇØ PÔo 03.ñ+7lî`MÍ->LÜa¸?_§6i•?úT KÈ­M‘øaªÍÔÉ­Äßþà®5W.Ø\B™3)©ÔOªœ¬›ÇV¦ÖOynÚV¸ð:‹ãOºvB:žXéº.¾9Õf §É#¸œ`0ï%u ß’#Œ½Pd™ÍÒ)jMUZ\x‡Æ±°/Àçуö†Ë‰ñ‚S§AÈî™$›¹£Ž©Nêyµyæeã Ã. +OìQþ9Ýõ¯2éë÷œ9ì‘“?ã4 ‹AYÑʾcÇ^(y…h'9<ÆQEŠGoP¹àžže/\F»ƒ“£B_瀣âs%ï‚m¤ óþ‹m¨ÿ(/mOöO“<¸{bºã¨nàØ6rýWWÀ€=X{\Ÿ•xÄNº² Ç<‹o̼0nG1–žbp`xoURßD¡ùtò¼ôErÂ5\pÏÇŽæç$ü³Ì„&RqïïÌ}o, œ¿µ¢,?a›Ãu…v{ÿúzé4÷ÚŽ’,ßN‡Æ1>@ïæÑ^rñG«O–ƒÑwæà¦Þ§YÂRa½Çø4ÉÞCeáxVS°h‹×?\Už‚è&S!$²Õ&N¼*åa×:$ÁM;k¸rü°„ÕifE²ÚÀ7ÍÓïÁê}횟ä ó|K¨¦ÉA…áõÒåXE*Tßq9¾éy¹;qÅæä½-çŠYþ¸;º†Þ¡{ÏÈù¶©ïéªÌ¶þÓ²Èaï<‚ŒucèF‡Û½ŸÛfÜ3”bùEu‘¬Øõ®¯CqUåQÈï>Œ Yò°ŽƒªªÅ<»ƒ` ¦`è;Œw+Ùm®è½2äíþÊÝ÷ûÔôóØC(Í›.|¾ßSU1úê„Ï”0*žV&$øÕíÃÕoWhôh¥ða™U«º»BZš¡’’x±*VÖ¬ž®þuõšþ»P+•†IšÇòßE¥À êü1ÎÿIQò–iXªÙrk°Då…‚xª€Ûç5åCª Aùô\_VþH‘W¼{'NœáÐê*J!þÔ¹Ñêâ\vj9Nj_K³]ÏŽ z£ \zxlã?)Ë0*þ‚ xÊ?ÍXÛæ€§úaÉ#Š8Œ`CÑЦmäÑÌxÔÇ{f•œ?°1‰U%Áòs ¥ü:Q1ˆU>5ãõ:0ƒ«€Y„Š1øÒ‹ÃÐÍ\¬ã‡ ¥¼Ãÿ4¥aQ^Ä=}õÀO­7{àÿÀ&} endstream endobj 145 0 obj << /Length 1355 /Filter /FlateDecode >> stream xÚ½XKsÛ6¾ûWèHMM˜ øLÆw,w⎓6•OŽ IÈP$CRJ<“ß]2y‚ …Ï‹Àjÿ<ö‚ ò<ˆqà’8ŽMŒ?8Ë„O£u|ö¬»±§¬‡CëòêßÙ‹»¡äFµ¨ãõ©£JÔ3jw’×ÔįgÙ;Ý®£´û¤oÅšRÚám†ºànXûòn¤X4Ô^q—ÒX5âû«¯n¢ä‚ªªKÔûõÇ/»ªQ¹ìŽ5"”Ä®?Òˆ ìÄÐMÐËì`û: 6à9„µƒÄö<ÏÒá¾T^¾û} [L¼[?„ŽolÓp”ä«Ahëœ\*#"ÏùÚ$åÀ cm­Ç¦>ñC6ɦû¼ÍÅ©m±çm])÷ð÷ϗͺ“ÌzÏ›½>y<ý1Ép;„tØ^u §ÿØ®) ÀP¡‘þ ž0Í«1žCXàÍlõæxS0^#¨«9l´å0…%õT—sœ(¶L‡+yc—/a˜q°¢ªy&RMð=•5ÿ¼ðÌmÈ›õ¦~Å‘Ùƒá„Øò‚ÆŸcBìymHiQm8†¹Qq_ÂjME‹eÇvI‘é"€CV‹&ºçÓýðõLË{»Ë…¹¿]'¦‰Gë·×¶ë9øGäAGþ¹Žz<÷c9Znx¯SÅìpùP=‡þüE´…ªæ:¾¤tª[‘¶UÛq¼vÝhú*½:[,Ïþê2ûÞ endstream endobj 148 0 obj << /Length 2356 /Filter /FlateDecode >> stream xÚÝYKsÜ6¾ûW¨öÄ©ÊÐ$øVeJ,—ãŠ-¯w|Jö@‘„]9áÃŽªöÇo7ºA‚3¢ä´µ‰xvïën`~Ø¿zýVdaàA^ìï.2q‘…‘Ÿ…ñž¾øÅûÇ—¯Ešùáf›¦™÷ü¤Þ±l>5e+›Í?÷ï_¿ [D ?â‹€$Ä! ©=hÂÕÛ(ñó4¡¡¿aæ’HE#ðj³¢È«6"ó:UIªwwôz©›b¯V 1’½l7"÷Fê—nòØc9Ò^X{ÏÕ€>cG\‹ÄнAî€j&Û÷.>æ~œ'fD¨×¦I‡©ŸdÑú”¯ˆ ?¯È@;Ç’ ¨ò°ós„¾7è»cv#ÁÔT;t Og;˜óÇ|Ïóõ Úÿ_†&çÍS^`Æ…‚MPè_4`‚âD&(Lq,#³ µ ïï§Ãâ¹-ý3Aìœ}‹G<3Q£^çÈÐýŒPæ'ÛQ¡ÐM`HÀ`ì®tà@„À>KÍlÍ [±íš>;’ÂlÍ×lŒi¯Q³çôùß`kÙv‡²y¤Ê7WÿÛ¢çÙVÁž2¬X1Ld©63|4Ã2ÐX¡¶ê@é+†aKÙÖT8Á6.üÃ3ÿ°bøg)_ñ'+jÊJ¶í™)Y%WL9B¥&WHת6£Lx·ˆZî3L]Î5Å I\”Ÿô;–}FG­»Á0HŒÒäÕÏ̃Ö*έp‰º~[ÛáÛl{&Ïб/iMG„dÀéZÇY]p†yžþE+šY#»×æ¨ Eë ¨CaæÇNG 0°9‰rZH3#×̈  ÕJ*´ÝÈ-`„–å»òr0–`o~§&-¿. Õ¢}5| ªº@iy¸¢5 R[Jµeq+¹ªÝ|§ÖÀ`œú[*ÖÔ¥aA±tÉ„x =@ðV>„£¨ðÞâIk[¡dúÜ«¯¸˜éÀ©m?’±žÛAöt9 ù"/hËØÍnhPÆä<3[ÆÜZÉ@ýHmª¥Aмt÷° j«ÊÖž(©õØËZU£¬©ï®ï³¸ã¸öf¹@\wzßÔ¼É< à`¡*›$Ö`‰Ÿ%3þæ Œ€kè†jjÀVè°PôÊ;!ð)~¹|ÞÉ4ÌÐOÔe_SM3þþë¶·ÖáÖ”Gêm·ßF›æ‹ž(ü0ËVyÑÐ5“¾+"²ÂÂ{×±ÜÌ“„§Wž©žÐˆI®ý…H2ÎËþ‘šW° Fú<²H§0d¨\¡v ¥ñUa.2ÁôÙ´Ð}jÚSôòP*¼íÆE£˜‹eíN°Ðµú‚S`žG_ Gëc-Áf(Òn&©E¦%—LK-‡ªW<å*þ–Nb–µüm*GT^y<öú~WŽ»qFÇî^–åêáÈò< ;Ù8²ÏÒë´æ “a‚VÀhy, åqô:À5¬fÔ¸FÇú™Q¤Rß2]àO„ŸÇÑ_#W Ü×)ª#r¨Ê”ü)ž%!D’‘4YžCoIƒWÀÊØ@˜ÔKž{èŒíÊ^5& NˆŒg¼§ìïd5Ã8ñ!Nq Îo0¢–4“žƒâå]À¾€†µ²›ê?qÒØD¦ñ¶ž‘[ü¹;Ñ`s>íd/g”¿˜ØŸêx‹y¤ŠE|¬È£ªŒ(ç˜Âtä>LMÒlޏÐtþ–¦®ð6P2*›ruGÉŒmp KQNïò²øÆÎ”(gÁ¡w?©áÚªF–½¹N°X|´”íläƒóvþ·ÈÑž00 Ý;ôq%â4b_Â| f>‚Y3› Ú´1à;ª¢ãiîõ#†W1cj^À> stream xÚ­X[wÛD~ϯðÈk£½H+…㇖¤”Ж@œ¾PG±Ö±@–T]BÓÃgfgåX©rÚy°vgG³3ß\•ç«£ã<œñ€%AÂg«ÍL‹™æ’i®f«lö«§Äü·Õùñ ¡¹¤ˆçÉ, ¦Ë«7Ç"ÒŒÏý(ÒÞßøˆ¼:-.Š´4Ißã‹$f±Šf¾ Y…$ˆÍ}`ðV[3÷U{U»î‹´ËËÚ›zî ïöÖsøÙÒAÞÒ³¬:Zô­Éh•–Ù˜'mÛ~7œv=¯­`wíº¨Z»L`:£ª pKéU×­inçaèEUID+S*/3E~;G"¤Ùœ£>Ü{‹>팣¯×}“®ïæ±D¸´ ½Ü`üVaâ¥D¨ºËË´¹#Âå¥E1¾»-Rç¢häd1ŠÁÉ¿O¹1d"Ãq\œý‚Z­Î^Y| ÆuB`¨„˜v)Z úHÅïQÇ ¹LªÀ*f)„ofG‚E9Lavh‹)QZç·e–ã]ÖãÈ•w-QÁ啵ÎAVFÄÃà½õ¦ö#ÊÝ‚4>hz¯uZמvàëÁ¼ÚF¼\¢ÈÀ¦ë›këõ–¹|A påó„%1 zp=…8-Èm¦È(ñ³1)׸շiÒ;ÙT Ѻ{Þ¶/:"bR í¯¼ÛîOÖkÇcÝ'$;“–D2ï!2í°!Üá¨yY!b¦0„@pÒgœÎE“@ùÎ|Ÿk¨QâÉP)AüßT ˜»£í_xqÚÒn _ŠâÎñfim7›¦rïPPÚ;»€ä|yùêÑ릺ä¬ =OÙKvaÓõ¼*M;…FmÝ@áJìqà­«ÝuëË|mc’[&ÂãIa`Bö‡±r! ðJ·%,3`} Ïë”2 –Xv÷²ëw5à&'Ÿ‡ *²ÃíëÇò>8Ü5WåPÁÚ´ ÒÛ9(˜6¹ï ‚àLêxl{z]˜!+xsÚmÓë$Úçò¾¢íEÞý™—û³sËg;vÎ.¶¶´XvzVy!w Š ’Ä“XZcŽÎVGï8`Ì8¶Uk&“d¶Þ!M…ˆœ‰\Ï3Ûý|ô²à3®˜T‘p YiÎDä‚ýaWM™yM5Ù»îY ‰méC¾£°‘·…žà:VOíuM¾¦#WÛœú“„ æ4úNÁ%B=w‹o›Â Ë;ÜÞ‘$›âð„jïCÃûÖ¼á@õ±BB ŒâÙ¨˜>°u2Ž˜ˆõÌWCÙ<5íºÉk4`20´€[ö=í»´°=À`úë!¯uˆ%¾¡æÃÓ¹˜‹rÈï*Ù€rÓÜgvÅЀ:×IÇ–{/5{\ï«où© ÁáÆtüi+õ¡`¸Øl,VÓ© !´§Òå\ P~°Â ÊÌÉTM€Y Œå€Ûm•ƒq¡\d·XÈh•U=$¶[„ Zæ¥ã,ëŧŒõí¯Ñoœ@Šj4y“5,„ÑeÏôÇ^9þí$:*LGÜÁã’§¹1ÑBÔµ(Œ 5µi7›@=ZâCíÍA¢ñ}n6¥%¦ºTÂb&ÆÕésòèkWχP îعí¿PnNézIwŸúBøÇBêSÆî/ÄêB¡¬GFädö¿´b< ATs—¯MÓ«]4ƒŠå[ÜQ>õí‚&R¹<{ý|Aoªåë´i{¸<ïë¼3cŒ–—)ÌV¥;ÖË«&Ý‹út—oLÝõ¥90ãóàÔ”&yBö¨_ ªc²§àôH]A¯~XX2˜îïðçcV ýËJníF±Üö^€„@QI3Úå%qÁ0a‡bìjX¯¯hM£cïê¸ý‚Ðû䚈œ‰ÌUœqÁ'wt4lÝ3M!ú`$„¡B)PJÄ0\𧌄¾ £—„Q[½ë|@Ìò¬œª,ØÆ¥üòé¨#qëÊ6[7ƒÜ˜ÇÆ[Éhi8É'™ÂG¦äEan($%·+Ür?[ãåO2]þÓŸÿéߌm£½)á ì„æ°; jÚÐyÕwmž¹²È!A| ?“ñ ƒUd»¢fá`ñ› ƓɘŒ`’£áS, ¡Ô¹üéÅœsiFn í±&Š(›¡™gð™íÿü„Æ‘ün›vtåD}EÄÜ•†¶¯ÝDÓtCÛ*|ì¿ 7¯{Üöß.÷LŠ’¦¼<’—æ6岃Êïô¥DV{ýñ”>¦ 7ã:£;As÷¢”÷ø‚Oþ_1d&|P¡·ðIOü0„~ Ó—8Ð÷΀€qÂìЂMÄsûo‘ ð¹ endstream endobj 155 0 obj << /Length 1241 /Filter /FlateDecode >> stream xÚÕXKs£F¾ëWp ª2cæÁ ì–Þò:§vØÚS6‡1Œ-Z@ÞrU~|¦™A{œ±|ˆfÔ‚îþ¾~¢‹Ùñ9Q&Ø[Üz‚xS$0ó™÷‡ýåó1ááyÀ¹ðÿ† ÷ײø­åœÄ~«æ..ŽÏq4TÃAœ2/4Z…›f³o3¬…¡‡ÁÅ,ñÒÕ d,¢(bÔÈaáÕÊ»ý>ûÐùˆ=ÌeœX9ÇÚGl´÷ÞP¼ó&>sÄ#Þ;³˜ÇįÖó@{_éÿÂO•Rçé< Zpuzt¦º3÷«[s•æ«ëªupýØ´jeo¸™óïUÚ‚q ræÐ$Ææm]Ù»—ªÈVÅÖªVTßä­,ŒU¨•u«1˜Æ$NQˆ¹7´â""†% š A¹>ĹyêL5i¯Û¼*ß¹b)ˆÆCìQÃžèØ‹Çì‘Hør½žc_Öù–R8¥p•æ2¦´»(å†ÒNð}Y5Ê{ŸÞQC"NÆa‘PÊÀK8Pÿ¯²ù÷9‰#Aõ• $!FÛ/šiâ?À¿ ‚æ§rH"‘ÈQӞć*Ï4Bõ!Óáê>~ £Ðœ²jsSXi&[uô\¬Šª¼sÈ×ËÜJó²5‡ûÛª^YbDñ˜—‘Öu•.ZÜ2u|!Ë*s¹·VuîR$«úÛX n…O"å~°pˆ³Õ3mºXFìãD'‰zú¿†!u)B,ÚÞT˪å É>Z·0SéÕÆÚY1Im=¸C# œ¦À¿oZÙn“¿wVÑnóOÊâ´¾Û@•é‚h›w¦%âNu@B„CÛµ!©uÕènr¶)ˆ ~λÒR%Øw5&œ X;4ʛŔó§‹3Sà]ûÖ‚ê¦Qõú©ùÌ\œ„…ð‡¢¥1Э)„ }3Ñåwx—ÆQÝ‹T튒ž¬Û†é'—ÚHçOÜßÑüJ6­ nçí&³­e–˲y¾ÎH8øÔ›eþ¿§ÌÄÈTÛ [`FT»åMçÁ¦A×ZGLä&÷_IÅÇݬ26ª5hdÚndQ<šOµj7u©²]4q@ß›G>W­2Ÿ–ÚënžÙ©¾/ëÈâm`°),m¥ÚŠí‡µ°ÃÚ˜ø$Hf|>cµÒ"/·=e¿zr9¨ÇhGwö]ñIÉ÷ ·K›û²Ñ»T–wíLË˾Zþ#¢¾Ctx` x{Dµ- ;{ÌÞ9Äj² œýñµ±Ò+Ìá1­”´~e¹ž¾ej£ÓƒsBÞjlŸú/ÓêýàÕ­ÒÁvž·àÒãz‹·¤W—ÚJšþ¹c÷å±xd$ç€âòêÓ‰øˆØÇËâq×ÙêðÐ2™÷ã`U×›æÜë`Ä l+do´ßŒ]\‹l‚’˜9ÖΑD¯|wS^Ù‰öA¤ É“ÅïßßK».·^›—Ò¸oW§£Ù¯©šÜ 2•îɆú…}/6Ä$68G1ìà¯fÃüä1Z…4#zöb%õ¾éAQó7HŠDÈFíèlÔ%í¯1P½Ã}sØAã‰Ô¾.9¶@pŒçÛèkc$Ø“L¿6ú5,`Œù¡A}b ^þÚÿ*÷{[úH endstream endobj 158 0 obj << /Length 2233 /Filter /FlateDecode >> stream xÚÝXKsÜ6¾ûW¨r¢ª<4ßÔê DãØªÈò:ãÓn Í Å!Ç ([UùñÛnÌ#Ê’ª¼—ðB t7ß×xü²zõæm˜ž„_ex²º=É£“<Œýxe¹ž.²,÷þÆ_æíDó±íiTxF²–l¬ee©Ÿ¥ÅÉ"Ný"KIÙƒ0§ÞSϨèL.ÀVÇÞþO5\‹†dÝvz;ku,B°„/²=nO>iëE–âÇ-‰Nù±Æ’ÇÕ?<†éĘEư•ZUûHjÝiVTL¬æ¡Ÿå1@&÷cʇÎÈþç9“À³`Uúiø"X] Oç§Eì­–àRžyª§¿ÙH´½aT“ÐF…¯U¡|s4b§e­*£ºvªRË/ƒ‚6ÿt‘æ‘÷ÞL›U{¤gµbÚÊbfqž/€°iRºy¦â_êæž‚ºÜm$F¹§°¯`ôknYAo&’hkÆÀièqWAMWÝé¦U+ˆa"k^-•/„‘4­_^,¢$ÀÏOQ¿ÿ}å^£•G˜zM×®•j[Mx(f,nšî4ʽ¯T­:­¥[ èL«…µÄiæ^ãB§hҨРG|ƒ¥Jâ\°Ñ„Qî?ôt¸g“s Óo¡XH OÂDcpâ5Œ½›Á Lc@±Ã ¸¬º­$Úî¬s¶ØË=a½Ç­z±Úl¨.z#u§ê=Kï7I‹XÉÑ̰#ë톤Ÿs¼rËÌ^Qe-[©aÝ57¨•'v;Ýí´bTĆGwKÝ Fµ²§lËŽ¿;€È® ·ÝíÀÔ6|–Ñcq÷ „E/G棘Cñf_…榯 CîjÙS-p*Cí¦ãÿ†ç~#XmÕ¨±ØO ÓAk±úíGsæœ,T¨|Ó©Š'áÖÃl´d7-Ëc©å>Åâ‚Eo§É ÝŽ`c+ÊÅÈ.ÊišyB5⦑6ICE~ÎùzÇ,Älò•_º"'ÎHržêeP5Þ:l·L[HT`í¯=hàØ! í Í…:4/?^ÿúº©µ?¹³¸föÛQƒv8̾' "Ôfc(_]^0<¡rýé—÷~¨W-¬v+x®(8èТ†$ÚÆŸ¸¾Xºá#.rÈÆ¯äå+Dü®U»¦ö–7æû$(½Å WÖ‚†”-ièÕdU1­!*C¹«H<Ö#ÇŽµk®ôb[ºÅÑôÈQøA±çÛ¿æ(YøI‘¸¡õÍò" 3?ÅÃÍ8PçDˆß'„ ™ci¼Pýý9§‹‰»óÕäØU)!Ô÷TÛv±çÙ”¾OÙ-$¸,I÷ãµ)2ö0g–BaÌRhŸ²4`–â@f) ™ñ#w,Eʽ£gl@¯‡í!|8U6Q´QÆàÂEeä\ˆÊ‡è°íŒRæ(v;£B* j̽Ý3@$í æ*¨736wŒEÙ’~g¤…[L{¬GŽ}´ŒÅ±ýþÏŒMŸEXÑvpdÖ]=I8·O3.þ>ãð yIJtB²(·¸ÁŸäà ù*ƒ ÛaB2”ØÃ Ž…Â±Ãž‚XqŸP+’?¤q®dBf”lºWe|îÌ܉!›n”PS0†«Ø b–Û ³¹ôšá^IåÁøýÈþŒÛÈhmýÀºe`œ¥Ošß30G޼x° (m˜hëËAñxÃDÙ8žéwè73/9F·%#"2˜ž‹Ãà‘=æ3½ ôöfL£Ù“5Û]-p@‡Âžgv ƒ1#w=„ŒçFÆ<kVR¡í K }×õ™³9ÌK05NZ/9š/ÅþÑ äDºK¿-ÐÑ<œ°½´RWÊ„nT!²’þCëP`Í×·šš,*øÂ»? ±ÚâߨËné½Å…¦[rfŸà·Vw茜[ÿÃ^=N#9§h¹é¥¦ ‚!àGEISÆæÉ•”GÜ’†}Ÿ›Ñq ¾'™j©“¢äTàD”!]­÷%IùeFÖÔv«»íÞN?û¼2΀èwŽŸ}¢" à`¡‚û>h&LÁ¥p Ú#à§9@¨p=º¾ðUóªžäáeè—Yü|ý<“¡ß[À4Q 8¨I`è ƒ¾x|œv »›±OytÙ‹J?Ì‹£7®ì…‘_%Þu¨ð+ª–(mßD"¯øåó¾tÐqQèûó…Ã5ü­üž"¨Ë£V…äK)ÌÞ×< »ØâãÌQl åV(¼ò&e£-Ë6Ÿ`¡kí§Ä“ýq;šJ,­†1EÁ“K­*B0\r’Zö•V<€õ*þ‹væú(jùe°¯2I^Ò3 Îó›Úò¶›äplÖR4£L+V]ÊŒáœeÝéÇk€…x,`à±÷ô-ªŸŒ¨…‘ó/Q–Qd’®›3àO#¿Hž>G®$çgœ™“ÐŒ©"EéóM@S|4di”9hJ’=˜<;¡’ Ýv.vB«ÆÓ0¦à¹ì)õ­¬ Q1LR?ˆ¢cCòëªÃ!“ž„’ÃãÊè½Ø ü6|”¤ís±{È"Þ5=¢yõ7£½¢¶÷R ¶¹£ÕFj ,£Ó‹Ûú3»Ý/÷TÑ«€q`è–*5ðWv܆“,ßo¸ zø–es»[O-Ê™lÄä~’»Ð`Ö¢fsËá›ñ9‰Nl ïMëAõüâX5RìŸ÷™ÿ†3)e»ñÖü_-W¯þý?4 endstream endobj 161 0 obj << /Length 1886 /Filter /FlateDecode >> stream xÚÕXëoÛ6ÿÞ¿Âe´võ´äùຒ NÜÔC?¬ÃÀHL¢M–<=šzØ¿;ÞQ¦Åí:`È{‘¼ûñîè·ë¯OÝpàØã©=uë»AèBLJŽ?X'ƒ­?\½v'áØŽ&“Ðú?k+²U&ò¡Yµþ´¾x}ê¦ßwÇÏØdÅPh0ò`ìMœÁÈ ÆÑ$ æx8ò§‘µ~C ;–ÜG`¸Pc\ãÅ~]«¸­dùyL,Q§Eþô#Ûªµþ¦ØÀȱh{DKsúÖ醥¬=>¤æ"­ÞE•âæZ׺™wšìx©Š… uf{0|Ö[%ŠÚžgmK™¤q-“q+)÷´nqBr‹ k©3mõ®‘™ÈO¶ãçi~OóZkœIxŠŽÌ­áïd‡î´ý=Ý©]‰ó”Í+q$ÇOáø°­Ðzx¤I´ÖÖÄ.¥éJÖÞÝ6eÝ”·*¶Õ+¤û¨Tt §x`™<«Ov`o¤àYVä÷iÝ$’íí9"/6"Û #ÏbC•eú 30 6Â=Û/¥ ˆ‰§ï3Ì=v7C†hèýR©µŠ TQ¨†/£$sLP{­ϺO?#YæD—™Ô+%[Š‹²”qÝ{”SôºÉ&Ú(´6b8‚;ùKQ޶dMd‘'$¸IóV,*YÑ0eRÊó¦jDÆ Úþ¯-y°loº@Fý Ø(ßZ‹T{x"×&Hº:·¸ÎÓ o2+¡Â$Q…Yö39ÍXA£¡ÈNlÀ ¶QÀoç\®›EC2ˆ„oƒ'Ë=:ú×ì.‡\Á „>ãºEF8I!(û2‚ócQCMc+Üc ‘`È|ƒµƒTÿ54ÚÛÄõ¼ÍîÔÑ8±äψ2;~‰¯DKLftõ‰‡úBjͶÛQ±éÈhë– îè ±—»—¹, í¢F´'ný˜B§i絘"§>¦YFœN"Õò²‚^  1ô0l¤… Às(ç°ªâŽee®~$¶OñÞÀñÉñwå³2Ò¡o•EéT¾ù–ìk8/´¨d8‘X­=ªí&€Ey߀O6Ê'fj~‡ãî{½ÿ­ ™¥½{þƒ|eø¾•é”vN À?8‡§Î¡o+Q«ëùÙs;‡6vîGQ§á¼÷$ÈÀUñ›5 š 8ŽÔ0eDUÁ†˜ˆ¿-lqgYNÁóEsÿЕ­õöú¶óL÷á÷ʼnÊ(ø-t@‰±$‚Hôø ¨%Óã¸)E¬Ú ðW·êœ€ÓÃÅòƒ)^uŸpœ¥PE¹#BŒöÔ­3×®2ÁöÄì´½p2öWwÚ?÷uãÁ8„.Ÿ%V‹‚å%õä^äŽpÚõÔr¼Ùß1²L(fT(ܘ¢ƒux$ª@K€q3F~”À挪H¥ª>bÎÙ"[ ;m’ïô¥îÌÔN÷»Ûm¶Cµ¾R¯šåðýM’FÛ9&7ºWƒ\{ìFY‚»ö¹œ†Úçk]¬Ýè #²¬EÛX½*š2Võ&êy‚ƒ¢„¡ŠCèPMÝ¿mXV%Tœ©B“þN}³A/Ë­$‡¢öŽ©BÁàBò&Ve±m²QŸÓ**pÓ©u)8¯€Ùœùªw¶'Ö ‹J$2L¢rZ´ –ØÒp¥»AÏ&²dÍÃ̓L»yÓÞœ—d£è»žýϪ§jÛ®Jc*o¾u&ÐitãK®?#ׇÿÜ 3½Â\pÔê’àkåhœy4òâª{  2³LcŒ $þ ×¶mV޳t[CîÉ_0¿5à(TûBG¢jËùThIÕ!ƒ¡—³Ëó·ý=çwÝéûÔ£øïŠ,S«LQP¹÷/cÉýaÉÛcÉ#÷øÖÇãP2‡(j•gÜuˆ„"Ok]v˜ËÙ(ðsõ<ûZ°}'@“¾ã[Íp5(Þo½5S iäž #S}|¤uÜLŽ´¡v½ì¨ý ‘~óL¨ÿÑ€­õ a¹š?÷›Ñ“šäqÛŠâ\“º¯Œï¨Bß‘1luLxª¸ôi3FËX<}B›B‘}òhµÎó8ÃçÛ>+r7´@hóG«yÅ/±ÞߟŽÀÄW»ÕäWûQõeae¾AZµ¦e«¤ÀIÉ&/ëB& endstream endobj 164 0 obj << /Length 1494 /Filter /FlateDecode >> stream xÚµXKsÛ6¾ëWðVj"Ä‹ÌäàÄNcwb;ŽrJr )ÈbJ‘*I9u§?¾»ø€ÃÔrjù  °ØýöÛøj1{þ†J‡ú$öcê,VNÈœrRá,–Î'Wó/‹³çoX8^Å™$Œ:¾^óáãùs„„ν Ýð¸Û$¿Ì“bÎ"·Ùi!öQ‹CóÐñ¸$Q µ°“í܃-%ü†n:‡ŸõÜ㜻åÊ<ët—'MVø¿p_êé‰}>þ‰Çƒ¶ Iú ×åF5õ ë•Ñáì j}qõDÓ¨=¡{ryñú­õb1:¨¸˜S÷êÕÜ£îéùk½Ë,=-ÒœÌ=Ác÷³/ý¬ÐÓU²Ì’¢†)ª'ŽÎ/ŽO¬çekßRÙÛ;í9‘"ÖÚÛš˓«Ó·zøRcv‰ö©*[£0!]àÞÔhÀ åHc‚¿ï-äÿ4°NPSÌ·³“ÅìÏÒw(rXFœøa줛Î ‰øp‡AC§RÎjö~ö Ù,¦‚p0Ã~$L+Üq˜ÓÃñxC¬V›@XÌ#æ––²J@•¥èFá^=;Vf\È+=LôãC™'•÷á®C¿Q0Ú˜Õ×sO ÷«J›[8ßg¶ëWU‰«YàîŠìRUäzJåjƒê„nS› ¶ŒgœŸÎXà‘Ä<’„rƒ€Pß8úXÕi•mÑ‘/¦B?dćCظ†-t5ËmØ¢ÀM¶Û¤2Êë™H·ôÁUúÑ¡X7jc v±kQÕ“ßÖe­ôp­ò¬c,¸:€éµ˜C°0ŠmÐou0iœ‘úçqnù ªëW%Î+È$–,$,(#¬£à)€Ïà ø)ÑnšŒa ,XÄï`½-³%˜ÍdçEð`û/F»-ËÝu®Ì8iÔ³ï§U^7óÛuffÓ²¨k†*&œÚHí>QþåÙý¥ÀCËŠÈ'4ê‹ËgßçS¶J"¤èUɃRþ(‰K•>,2"!ÔÅG)j„fE3%QøG‘øµn’¦÷+” å˜f6¬¦ÃX@ÚƒðÕÜ£zéQu³C*ëºJ 9BH nïJCQdŠNþ‘èy‚SH¶ß²–¿ª4´óHC -²,:xÞëàé‹Äu­ªÛ¹„x*svàÁØð+ÕìªB-Ti< ¥æþeð¡k•¶V_«"×°õêÈ*£˜mÿ«’NtSK}+ÛŒn°t/0ÂG7øo¤ÿ }Á´š ë»ÈžˆTû’ƒ“( @NB6 c+W™ïXaÇ[_ Úo?÷³™Z÷’‘ᙾHLZNIÌä,§$÷˜€zíà6Ó~øò­ïL¿?e¿åQë‹ògW÷uN›Ò`üwûÕ¡*Ÿ8K{ÌÒ`•d¹ZvW×¶„7ߊnT÷5í_®ŽXµ endstream endobj 167 0 obj << /Length 2095 /Filter /FlateDecode >> stream xÚµXKsܸ¾ëWLåâTih|o*m$oÙU»QÖ³§l iP;CÒ9¶ªòãÓnR¤–ÊZ‰­ƒh4€~~Ýà÷û‹7oe¾QXF¥Øìï7¹Üä"s‘löõæŸÁ‡_~z#³<Û]–åÁ¿ñ' :u¼=mÿµÿæ­HçÛ“D†Yœl"ÚäÌTÌ™v#×.NÃ"K‰÷§¶×î;â—ÙâÐ(Œ3ä.Â2•Äýk$ò5h8Þ½•Epµ-â`³ÝÅyG¿ýA3¡q½j¯'Â}kiðé`*¤ží謮MÕ›¶YiõÇÁÀZ¸Ý¥¹ ÞõËeÓ<;g¿g‚9iW©£F}@òØ?MÊQÏ4‰NÚ=Žƒ›î aê“`»/ye܂ƪ©i0ò)šþØnw SmÀ€‰fž÷ÃѨ†Æ×ª×´¯~½“I„aЇ‡kþÙ±Ñw"e”¾ÆA{o ‘Ƕy0ýPûiÂâ#]õsòñØne|¢iÕZ«GO3¹Õ̃ ö‰€¼kÁ›~W§,œ£>ƒŸ’¸¼‰`×ø;¸ùÊ5¯¸0À ihP4!.ñÂ8¸z¤ÃÕhPd¸ó×U{ÒD0§Î ×ZxyÀ;¼ôÈÐhew7Êöš+×kÛšÚ¡Ä¢ ~ÐäÄJÏ4CF>×4‰[¼ÝÌRÑäA7Ú‚ßkrüžÊѦºÎ¶51‡Ã£½'‚m‡Þ4ÚÑ á¦Ãýç§ ò^áµs·£°ð‹–Úâü-"Œ˜'J0ŠœpêOkç¤aØÈCcΨ–¶N×HKòß„a’Å#‹>B“Fb(«qD´Ž‡3Âiá–4Ÿ¦­½3[„3H³uùÁvÞáp®#ºoäÁ@Ù2”ñ2ZN$!¼Àÿ¹ß$‹â™5<é¼M3ÐÀ¨»#^$ô½Óš¶Z}¯­n*Mk’Ðd—È]ôHÔ ÂÖ¸~y™×‚VOxéDËsRŽïæ•p'¬MÛ=j ˆ@ñ?‚¡v¡â.—î¦uHeÜ|˜8jb™Î-kˆ0cG&²Ò‘óÕôcf¥/U}kñ¢¹8²·Ê2Ï“ÑV”»·ê¤9›ò2P¾Þ ¹hÄJä¬$EÖ¦"bØÄBð²¶4uš,¯‰tÐVÍ4ÕØñuG×<±kÚÁáãÀ,¢0”Žn!#Ä£Ëñt¢Ü+¥xÅ_½†’G&«™ÑB8øy"+ƒF–h¦Áª©Ð%¨s8kÓÔSmùá€^ý†¾Ö OÛ5»+‚7ô¹©Mó€ AJ4ºÒÎyß%Q ‡ÒÓžºSQl £ d8¶¼Hò¹ˆKU5XU=n‹$©³<&Oᚺî 1è £­w«¡OƇ#°b†BÆÓÝA±“4[ðIb Á-á9Ä-j `ú%‘@èÇ5¬'4& ™ø„«žoõÍ$Ñè™2}4+5‹am°«4Í0®½¿Iñã•‚ó÷@ã=J([;ZÐá³=¶‰žû~¾]¼˜ês©^Ðî»!;ÎdÓvn­óh-éÑÊïpÐCú 328¸ÎÞ׿P#eú¿AººZzÄKÕB{ô¸v£ˆáiQäX%ã©|{Óá¡ôód*_³â4HЏÔS«Âý5!ç§¾ƒáFÈû Gòú–;¥¥µPeÍ÷2Zn§>l÷|C¥]Ç=#‹‰©õÜ7ì:r£CõÔa%O>Eš/ú®>Á ø&…Üì¤ 8„ÞzX«cx,]!¶CܾôKó˜_câ5–ùu¦ÁÇŠ,$š‰²³nÑàö&¼\ šH„B|y”^5tÜ;ŽK.ò?dVxƒ"ËßÀ!;¾‡éšÒM5¦r«¢i(Å+2†•eQ *Ã=\w;Ü;|ïd™‡y^.¡A[Ž“wM^’“E™EØ9% xl|ýKæÌщ²üÚ}ô ÇòÞ%ã{3¤ëþLÓ[Óÿfšimòðê¾oE>Ì 9©VÄ^ð‹›ýÅÇ tz´øQ"ŽRhžÅ¦:] -IÑHñ¢Xä«7÷ÿ¸øÞΑ„q’Iþœ!‹2Œ¡³õZÌ?\”sƬ e:µïWPk±“Ù쉞øLÃ’HãŽJ#t –¸O-ûhŠHPžxñç«Ëkˆ0òËBÌ’)SÔÌ¥|öå$ ì“i(Æo!×ÚUÖtxówkŽÌeÁ=Ïtƒ6p©øÛG9*Vb°2)cGØÒ”„+èǃó­‘ç÷°ƒ»BW4å—#…’@exýF àðî´Ža‚ØÛ1,£-iP&Îø¥”ÐaÎí²È†< Óbz¡›ƒNQ¦l~?ÄÊA£º…lÕ4¶Ñåï‰õ±³kÄzøù’ á*–m~õye¯î¢UªXRWA"š'“ ~¢xÍR{éôX¶|löºk1Y[üeÕÕq"V“¥¯¯ìÀå{Oúr¸‰Àl;é\2›¨ªý’ÉDHB÷þ`|´èÆ7k8X†…(–‘ùó—ïž ûïŸZã×i¼ÊªÚ¨ÆÍ.Zj9Ý4CçúHOIú\üe»Ì}Äÿ+~g¿ñ— „ ¤@%ÃU‘…æ öG_Ñ” ¿\)õ7ôÈ×Ñ «,€2–Ú/W „þüõ5»¥ç”ÿâúJÊVÎKYgaÅÿ9ì6ö endstream endobj 171 0 obj << /Length 1397 /Filter /FlateDecode >> stream xÚÅWKsÛ6¾ëWðVj¾ÒÉAnãÔi㤶ÓK’%Á[ŠTÈŽ;ýñÝÅ‚²XÓ­<“Lg4£.öÛÇ·ËãËÉÑ O³2.ypyä"ÈyÂr.ƒËeð!”ÅôÓå룑ïŸJDÁRž1ºxv$²œñi”eyøþeá¦jÞi5oI/öD¢ÌYœA”¤¬ÈRÒ£o¦QR$á ü“á²ÛÎE[ã4~UßLªÜkÏKVÀ=H½ÊójYW èH’ðf*ŠP5Ý4‚ÿEmqy‡¤SÿûúȨý–ÎÒÃúŠ6µZ¨eÝ^ï]?Õß/b–9 6ñ—%Kïp[iKF©ƒãA¡Õ+zP·dýCRióŒö+c¶kµ¤‡¶£Í¹{]Ñâõ¶©«–="ÿò_¶Ëÿ`áórÕE6¨ž˜qHj_ã8»£dY’ßJãse·ºUËÇü¥%+ó|è ó™‡k ©óSþÀOÒ‡'¡Xh¬‡Ö<)…—Ãç¬Ìø—‡Ÿq0fˆþ‡¾Rð)Mr„Ÿ÷iò$ø)g"O€•2–§>úgUæù^³$“A$S°/ëñ|4ÇØÃ~o”«dÖÕ«y³¦å|‹xdÖS^·¦syhWŠN[Ù­Y;Ïùŕª¼Ým-Ô ÇÌç!›FâxÚÒ± H½Ø6•¦u @Ñt0ràkR'èªiªÏ´2«nÛ,I†wIØ.þTº#év¥Z”™ƒòFw”µJÓÆº³u‡öZWZõúÛµ!ž†?ÏŽNè Ôa¶ßš}Û=ýߌ@d yÏî¤u$º‘Ù  ïÌQñÚ4¦hD˜É'.†ìaQgìäååä ÖZpìÚ pDQ–Áb=Á=™b“€3Éó@«àjòËäû½à— â-|¿O$ô{([ï°AÓ.÷Ï‚•0xŒ¯T«teÑpžùôa]Y]&¹»¢ÿ vNc0²níýïð-úA)ÿÄâÊmu.š<–¬,å0;x?•áojaÑpK»ködRÄà îž’N’¢d1¨ìB/{Ê1 ]o0AŸ¥@.X ÷=p‚܃ƒ .‚G/ ‘8/á£}/áÚWR壟¼„oÜoutt¤Gb72 ·&–®rO%ÞÎÐßïy™gÏœÓ#)u9tú1˜¦šèL¹{èÄ9eëš._ªÆ·a1Š?ÕmgVµ­¼Û²aóLðß¾s-ð«Øµ _3W^£áÀ_ɲ{dЩS'‹…Ïr`@HÜT‚” ÂEµÖaSËXZìFÝ›®ÆKEzŸ@n…HR?ý <‡éïÙè6ÙÖP;›É'øí”òïFQy£”𤣯t2Ký*H ï #‘1žxìsø«Œ¥ÇêºnÛ]Ø)e<Ÿ=P°CcO:t ë ÿ:Ãæ¡VãXuèàä:bmãÞæÿ€ÆLp*Ö_Ï»øÁâ÷ˆ”A0ª5¾ÝýŠ¿|ÇÝeîé ú;3›‚A—ïÆš¡€Ég‡³]:œíPð‡ú«âGÇ­„ÃÄÃà /”ç¬1Ý”—á(ÛŠœÉB8¿g}·ßñ ²|þÈåJçc ·tÏŽ¸nåá t‚~rôS ýº‰„½ÐŒñÈ<~ßy03¼î-]qA„¯îãwÎû -mœÑ¬”…¶^ź¶+Óµ˜ÜŽèdkš ë´5¶¶[»Ë¬™±0¦­Üײ©•ŸfÞ΂ö&0Ûé;t‰gþï+j º^^+¿÷½c]åK=g”µ÷ÓÌßxMˆ endstream endobj 9 0 obj << /Type /ObjStm /N 100 /First 833 /Length 1209 /Filter /FlateDecode >> stream xÚÝYMo7½ï¯˜ ‡ÎFmá[ Í-È!H…"—¸°] ý÷}ìTÎXèJ»Ü8l‹–†ä{ó?V“)“ãO&¶FÌ”›7’ªÄJ¥e¦ZåD*N¹Rë/…LxÊF^ˆS©$Œ!½ûˆÕ1 ±“â҄Ĉ«#ñŠù â-9Ä{â©L“… †d®Ô§Í.JY²SM˜¸2•ŽAñª•j#üd€ÏÞxÒ(Ž8@a« @"©‘f¼º“* ‚†e!E\h5@©VH\Œ±ÊÔ:dLÖ!P+âL–z¦„¬jÂûˆWoÔ);â™®IˆHÐä…jFF;DAÖÑ´œ\©ÖžÌ„Š µ6d" ð8e°NJš01c^åf#¡*èÉɺdРS«ÜõÍàÜņ¶Úº,ÜÙ"µ ˜êµ hÔRŸ+gjÜçB†ZV™ø >òÈ¿ë*#Xãôl5ÌÌ‚^Ö±ã·yÆ8H¨¥C¦éƒÁdú1´5`†¬@^†¬"µ /˜ÂKŒ8k)Ü`vh(2­¹ö”ÖnªDÞ…a8Âaêÿ¸´41â¼8zÁ^»Éá WdVDÆ¡Ãn1º{ÀÚsÝÓÏðZ=‹­§´ËÄð üÎyººšvoÿþsO»×þØO»Ÿo>ßï?ßß‘`e½™voöw7Ý~Üßa™Þøuÿû§?Ý|¡w ot)£÷ºß¢F=„½zuù£ÑÕí®1iéŸô¦Q}lB²Ç&”yh"Ávhb”ÝëÛ›¿íïéþrM»·û/÷ôþq‚g¡sľü¶®çc)®‹€Zª‹€£{.¡O’ç#ÿ àcy}?§!y>‚ß÷ÑÕðkÀ_F§ÿÈðGËà˜ÕRSe¬ÚUŽôó7\ž!~!+ ^“y^9K«¬NHø•륬‚¥,bõ2´ ”6B«STŽÙ®Çª–ôãkUj`%ƒ×Õó»Ýº¬ÂÁZt„Vçt”ƒ YU¬|«š_ðyUƒ«,buÞº´³×àÀª#´Ú–•V¡Õ¶Ôò-+Í?þºÒXÕ ×Õ óª¥ÀÊf±j+kuŠ+.?1 ûa“E /ÕíRüaçk:B¡þ5/» ® –…[¡¥jm{Ó°àA“n{zYp¦éà•õßRýkã Yy8“mÞ™ìyÝü¥øƒ×\áw ^s¡Ê“}a¾ï.ýÂ2³¹kÛK§pìå‰rmjBN-òªÿ½8E^ó®üP XxB #Èy±ñ8ÌÈuˆb/±­È6Z± ¾Bã«h™¿b«>Ÿp,ûðܺÏúŠ=yŠYS=$g–$½à;<³ìs®6ÛVH8~XÚ÷Ñf «ÅŠÏ,ùœ½†NìƒtŠEžYõY ÓºÇn¬ððÌ?M.YCëú«FÕ´ŒÃ)¶õW,éðÌšÎÙâl{Ù‹U®:D±*­kÀXÎá™õœsuZW†X°á™›³eØÖ_±fÃ3‹6üPy¡Ïµ-:M}±-Ÿkÿ@o¡ endstream endobj 174 0 obj << /Length 1429 /Filter /FlateDecode >> stream xÚÅX_oÛ6÷§ÐS 5KŠ%uØC²6C[lËZw/mT›¶ Ø’*ÉmìÃïŽGÉR¦¬im@`ŽGòwÿO¹XΞ^FI 8Ëx&‚å&H¢ ’%BËuð>|ûî×§‘N˜˜/´NÂ?ñ¡Ã*ß_Õf5ÿ¸|õôRÄÃ”Š˜–*à´_e(4{±œ}ž `ò@à:IXª²`u˜!OÅ’ÅJ‚)‘µ 6³ßg„bRéÈ£ÓZ:A§qdcQ&âÆå<²>Ì’ga»3H¤á!ok{MÌrC¼ 4McË‚øŸæ‹( M;‡ß¯øcæ"4~ñÄ-i·©œxé~W¸°k^ DÆÒ, UÍÖó—ç(õ¶G:Œ8×À¤ÑXùˆ§Œ£‘Œ ±Pœ3ž) b%)mxnšUm«Ô{6å>0‡ë¼Ù–h(%t؃ÄIÔÐVøÞÙ¼nêò@\Sq"Ú²c’± 16å±X™wDmÚc]˜5ƒË¤ƒ‚v\(Å’4Û±÷£–îL©Uh z¶;ôÑ)Oþ¶q%œµÝÆiáÍ/çóT…Ë+ï=4OÄc'º³ÏÎå”3¦"Ñ ù›8ÞÊÄ2&»âeƒpI1\R ·’׆`-Ÿ_Ù“dÙ˜ý_^vñ,"ˆ–ìvŒ½:îm޶’®KÇ×1·—Ã&ÐTvŽ/ÛlRÒg ½•• ¦ÝQ¯‰a[À´!AçxÖv[Öå±y‚¯útÐ(Å`o^l÷Æï!½0× Ö4ÆŸßîj© Æ„u•eaWùEz÷7Ey°ù¾!î×¥l¤Wºˆ/ó8ó½]ÓkY8»µ)k$½ïíÁ¶Æ‹µö`hµ©œmqëf$¿1_‰ØáµÞBzM27hz“×ÍPÎayMÙ€#“±š/DxÄ3j¨=pb{§GÙd5ˆ(žšEPcÝM/‹¹DÀ–¯L9, £ÈO4‹!:ø¨î`HBDGq¸.Ÿö†hÈ÷'S\1Á­!¨ª÷ò#üãTýn)àš`œ×ÛãÁ8-ÚÆÁ$ôˆŒE$™Œ¼ž®É”Rr»€,Tágël`ŠÁå£|ÆÔ8#7]˜­- [lïtĤýQ“iÜáïE±~pÎCð:§u ßøzý=¯†…@öfjb±b<Ö˜¤LX&Æ Ó4S3C&¡E§]ŒÀAo^àÚ¿…¤¬‰uùZáŠ,^¾Ž‰‘7ô¬Íç£Å¼ŸjèYĔַrª‡6vL5ƒ.0eônîòÅw’¢$o]õ•*<6Ð6E¸¥·¾úäUU—UmAÍMÓšIå]±º³»ü=— ×#£/%–o,'vµÄ—§UY4­'wyM(üäÁlb>X(Èq{È뇄‘l …ªPëü›gk91vÜ}âzu*¨?Lg;L¤bì†o•T_yÁv£šà ŒœîuFÆ·÷ظ†uâAÅìv¡ÀIcÏç>«joÍúÌ00Pn‚¬ËM‰Œ˜ÑÒOyã·¸ho"L†¶hؘÙwT¼móºý§ÚÍþŸÎ?RcQ]ÈOA› üŒe©šþtS6w{Õ/ˆûÇÞ¾Kïçà$a\ÜËÁÉ#8Xk–J9¶³±æ'û Ïé„w1P'ÃËÉ] |çbž²&-8G²¿Þ\[¿éÖípþÁùÿ?r0Ž_ñ|Ä endstream endobj 178 0 obj << /Length 1863 /Filter /FlateDecode >> stream xÚµXYsÛ6~÷¯Ðô¡¥f$˜ÉäÁ®ë6îÄMcå¡“ä¢àˆ)EÊ<|M|w± MÚt|$™ÑPàXìùí‚û‹ÝC®&Üe‘ñÉâtˆIÀ=p9Y¬&åN?-ŽvEÐ_åy.ó}9qiÑÉûã]áŒOç¾8ÿáŸïlãìí¹Ð1àaŸÁ¼å0÷ }E|Ž‹ZW/ì~½t™gVGŒË€Vty`yT a+ÛûJWS8Î3ò”:Áéœ%QÿT4XÅuLsq¾êïXæôÖÛ"iájÊØÅÆ$ž[1æ<`ÒåOy±ÖÀ_øŽÞNç"t óL¦ðXW4—vɾ®*¥qN¯é)ýŸüs²øíÍ+{Ö@0Ì »Ã~“G±nW º#|g®Ï¿Ê&b"ì‚„¬ ²5yGXû •|Š„ê™ذé\JáNCÏ1¾F\Æ›m¦gø8uL yÄ”¾õ˜’íÞBl3`!lOÈgE¹Jó¸Ö–š¢Ö¡pjã`<%[Ñ ºªj½¡ñiYØ‘>kÒ¼@¿_G®Ë\ƒ,–¦nh-ã$Î2:ëb r „’»C™—FJý—m‚èê£Û¦ýРèô§oŠœ¹„íŠeé>£Ì#¥íÌÏeÜŽV @þr<-¹b2TÏËËé+§,š:ÍÑÖ€s©±5ÿZ))J0d]=)rtâ9ºB—5­íkœ¹À‡Ö9í&/  PÊõMQäTô2§IDªoÛX†s•ד N.«^ ¢Gûhd kH:.8¢…‡˜&Ò¤ N€\•e¼mJ„-:ƒ¼Hªt;g‡ÿJ¡À]ÂèU 9“–Öªkr¨ÅdRÄ\Ü&¯¿7î¾Fð CÇ€ü§ÖBJÁ‰éŠˆ'p¾W»¦¢ÿªÙn³T¯@3é Ü^Ëm§ ËzEîÌ<‘aðÃŒ^–Ænš––ºnÊ\Ûc©øÀ€Â¦¨×c6{·wËZ¿#íü¶Ø9ÛÁÌu'k¼Œ\H±h’lv&2ñ&œILJ=9Ýù{g»Á'\2OúÂv2LE¢ó F>õ¸ÓÔÖÀQCÄY U‡S¤¢ÜX0mËÜ&®Ëô’ÆÆP0¹LãjŽ Ö1¨Ê†E>Ï1‹š:®1dÑ8:CC ‚½ÞÕï‰/®¿‹Ñ»‡Ð`g ›€±@úa ÞÑïVÂr@3ð: ì®]%eºE_ŒEQÑ3Šg"¹5 :£ÀØþ;£€ER2Eؙ¬hõÞ@ê͈¸hi0hÈT:)YFCãB§û!© ‘B:‹ðü%˜Ê¼,öi“ MÕ@]º¢—$+*»[çEóym xDâLkÜÐrÁ*ŠsõÚJQé¼²Ãs .m¼lH¯Æ¥ÆÛ| ?¼…¼«=]×ïlp`™C7:ÎIƒ±0 ã£B0(Ên ®)à¥\@Ñî‡Ì°òúL…^w`h¤@9 MmJ¶!­Šf‰ c½-’õì.=8B&«|ð>Á(7Ér[!h Ð^ù¹Ùh£UMmüÄDQXl#&# Æt7:ãê55-¯ðOv! Õzg°'ËÄ#ã1ã_{‘èZLÀÂñ¿éç!Èt»övÛ6îÌî@ž~F|'Ú}C¬R¨^RÛ+I_³:4À#Žæ”Bº®©ÓÜQ”ƒ¦ÇsÕm ªÍŸ»*·Áó-Š'ЀXË”ªÈ~ütÙ·Þ"H«j’7 Ô3ªš€8½ðõ{×aAóáÚÚeþ[Ó\W©`¨3Ôãe…©äIZãëM™†þ×p_³Ñ¨ ‚×i™PÕ+ª¤ÉòÏ&{¸ 7qÏ„¶Î4æÖÏj¬Œñ22’“Þ–¯_Äa}‚<Èè(xNûãŽBeš  Á»?”ÞPŠe“£q½í>a”æU·8×Ec—ÛdnMŽ+M³ƒsCÛÏï/`©iº¯°ðއ¼ ð~ \O´àj1šñª¾‹ÇÛóþ§ÇÃ÷vW•¥§ymõ˜Ç‡ê(ؔÅ·Ë Bè”AxOCtw{l‡b0]¨„ü1Œ»#Uì›w%`Lò0gÃðIœã¼Xéa‹­.Óõ̺ÂSª:Üô§77ÇéP”gª·žtsçƒL¦Ÿxª°ÙvµùzžHuO»x?Ë/lõM{õr–%¯… þ¸«½•Põ‹³¤ô[€šG(ú=5à¦ó§Ôê{°»‹Ë™AØÙõìrUÔ³+|\Ãf͆>»jûQÇ|]°MÛY×E™ÆYÛ³¤ñªû´ãÒÍnFÝê%ÍàçcûyèÞ¾u¬™y°{{–eÚîŒXà %{CÕ©ßÔÉÑ¦Ž„ÁɃyÛЩö|ì|þ«×ÞŠ endstream endobj 181 0 obj << /Length 1457 /Filter /FlateDecode >> stream xÚµXKSÛH¾ó+|”«Ð yè•”$À&lÀ,˜\6{ÒJÉ’£»líßõŒ%›‚‹5IÝó}ýö§ÅÎÞó'Ô!¡ÒÉâzⳉO9ñ©˜,’ÉŸÖÅåéó|B§¶çùÖêâY«(;»c2›þµ8Þ;¢n_‚Œx\LàRýRÐɔꇛ»$ð\|wµŒªjjó€[3uVR4W™Ä­Žëü–ÞM9³d7tL; IªlÀàj©'(”s«¸VWaÕ·7VY”Ë×JüE“ÏèG¼?-j‰¯³ž²!е¶€8š°Ÿ×E¹, Ò\¹~% ¢àsù«‘U-<žÌäÎG­|ÊKc¨ú`¨Í?"…[|k(£HZÌë ð<ˆÀXý‡ãð15!¸†×½ä:ç²nÊ\&O1a»Rq¨°w¸E‡;Šë&ʲ{¼+µðç9Ûp"Wð³Šö7VlÜŽ9ìA¡C<Ç}{‚‡Æ‡rà̇CÂÏm?´óäêA]uä,¸>9>؆’¢¼JóxS8¡î;¸IÀHè?p8U–æQy²Œ’4Ê«mF9š;‘›‚„ÜÆ‚w1u(€ÌŠü&­›D-¬Sœ°¢*–y’æ7¸¯ €k˜×_É,ÓM?ð‰pÞß'Œ½ÀH©SCyÓ§r…Ñ¢ÐÈìõ¾Bµ³å¯MIa$ð߃(ÀáR–2ÒÀ’´ª£<ÖîaØå ÿ*2²¯è»Ü*anH†'ˆðÂw¨‚°À’!ãX—2ÓZaºß8e¶!$?$>¸Åü­ y!qŸ4/$«e„°³îƒèùö.î)æç'SjÍè.ÓŸçÙýVΟ,7¥Æ#Tð··¶ç’УCn’(5 Á²0Å@´òmŸÑò(fTçˆ)Ð=DL½qÏDIÈÞ¡%p)8² ÎÕT¦¶Ârí 1Î-bD„ŠI ¶ÑMýÑnµ]šÚš¹êH³LÞDîì_\Œ)³µ ¥Î·ÓÇžÖ·6çùËJÅVJù@éªí´Š*Uîµw§bIfºý2ùÝ©yP{Ê(¿‘£ÎåSâù`D—ú¨V5­`Ã,Â!Ü0W9„…l( Õ)0áXgßñêÙwŠ5×*}¨´Âëßi}‹«RVˆ¹AbÅxhÕ>­HLKjÃK´–åÉz7…Ž´ýƒŠ–öÁX«T3Çqx1íÉxºêGkã;ÝU©[ &6“ATêĈ•EKH -6ƒ3Ö£†ÂØk°8žŸIè7Wu›L¬Å›ä,úxÉóÙe”-¬È(ƒiW%3æb´íâ¶2a{]jfK¨ìf‚b˜çpuÝ fÂ"ƒÖIêMœ˜+eA­£i ‹ŒÒ\TZت)µ–Jj½*oIrCúÓaÁP[i‚}VËXSéöÄ9h )ëûRj”5R›1“8Õ«iÞÔ¾eY ,ºNoÎv)¥é‘à.ËAg)»ÕVCt¤§X[©¡¾v¼ªY­í"“6Â!ò!žðÄtôÏWÝ(Ó+TºtU x=þYÂû~ºTÞMm×µ~®»>´æ‡µU ×ð@‘góÏ_T s±’¹ãA©´ÉL½ÐÁ®pg=VÂÚŒ•íÍüüÓ×ÓÏñÃqMmt2úx»¹:?84Ÿ$~Çêtš~ÂáXöÆ" S8¡u•êÅÜ?y|Ø<;‹žý‚w3¼<¡¼ë±MrÉ`pwG¢"nJ‘‚Qk•âõÑÔæ>ú²Æ¸3à fµ2m¼Â&¸ò#­ýøÒcÖá@£69€2Q¨åÈÁ¾õ>e¨ü³€ÿ}ëZ1•päÂþÁI¯Êò®‘½FntR{èËã‘Þœ%¤ê‘8Ù9\ìüýÃE” endstream endobj 184 0 obj << /Length 2054 /Filter /FlateDecode >> stream xÚÝYKsÜ6 ¾çWxzÒÎXŠøÐ+3>¸Éfâ4Ž]g{j{wi/;ZÉ‘´É¤Ó_€ õØeâxšS^ñ‚€èŸWÏž¿fÉ ‹£".ØÉêî$ã'QÆäÉjsò{ðÅŸ«·Ï_ólJ%D¥©<‰‰èÃoïŸó4‹Ø"LÓ,ø?iðPVן¸ªˆÁ|›PÄ"ÐEåiB|–×W/ß,B‘'Á}ÔÃ"äyÐÀo¬𳥉æÎTj§êÐôü'ñjEíË·¯ Ë¨suóóÅû—3öº^Wº.{ÝÔv`äÑ–]ÖݸþüýÕ«¥[:ö!˜*±ÂWM}¯ûýF!IjÌ‚~«¨QvkUot}Oóuc4Û¨ÓE(ã8¸Õv¢Ù©û’–xÄÈ‚ëå‚7o¨wf™·÷{g‡ùþd@Õê­ª@ÍÓ©ä²°¢ë¾¯PÌX ÛCóx{<Ç=®nð(~¥‘3úìTYSk£»¾¬×¨™ˆ‹`ÂÍ,þmd¶œqPë5ª6kõZ÷Hûe‘Ëù°8P3ÞoîѬ¬›]Y}"!‚KüH§XqÐÌ®äq$XF+¯¬WÀ·¯iÏË3qJ<º½îË[c3˜¿kZj¬Áz}÷ÂÇÏù¶äFf)¾âÛ0oŽÌÌpt48¸7Žî ƒ{;ÌÝÆõÈL0ž-Œ;7|~ò?pq1ºøè “íÅÄÅsãâ@vFÑàÔÛ¡ûqd<óvAÞ.ÈeÂz{>÷vX>ÊæÝtš6A#l…RF c¤Ù1Ë|)–š.E_ô(; v%mÈŽÞ’b4jݲë´qpꢻWµjË^Qož{‘N×4c< 2v4Ôª{Õõjc9nÛf¿¥¹!¾n"Ob]!3Y@t•U¥Zj뎾 ‚ Hä‹}ô üönI0š‹#åz‚Ð{Œ‡ ³¶ªß·µã{‹ñig0ÙtÇÛy¼nPŒÎtpaˆJ!—ð—Eq.VÜŒ©'9àÖ_žcŒ‘w]ýBÝÐz“Õ9£kÒÈb£A×´‚¢XˆéIÙä¶+{¢±{púÔêÓÂÄMnË›±ênF.lص·Úò1ŽGrU-œ¬O%>Si¶pÛån;+–t«f‡@a´€´_±€ îÀ/&FàÿQ+ñ4­Äl×ï%?Üdš”Ld €ŠÓÀèhh ?’Ž€Ú Â4ØRïÓ"õÕ^Q×Ü °|y)]3k;õ¾é-qòb&€,ˆ‡‰Ôt¨0êr¤'Ì›uåΚ³ì Ã»äzŽè®©ªé>cêSCr”Lx–¡ÿà‡ÓGà'G”–z‰lÞÐDÏ¿+ú8´€míûX,`hé¾DþC3›6¯—æ²ÆæzßBõØèA]¾CóU¢mf{«.ÝÝ8~¤ëMp! ¾›@¾Áý_Ùn= }Aúy«ZårÆEfn üÒ] EÙ@Ãs¼ œ2§œ_œù' ¹Sê­Vä,¦mÃhrœ¥“™‹£Ÿ|¡–GEš:Š Ö4²å$[6Èv„5¿-•öIÅðVùýBYxJö¡Œ+"ËB׃Ô`|Ð'JœFé·íSD‰(¦Èø/l`C‘-U ÑenÀÍ·êXD Á€€E_¨÷à5—"Jóÿ$.™0-")ØAà‚V^°cQq°Ù¿bQ^ÀÙ‰ÇN7dœãu^pëkì ù%I“HÊÇ%üŒ*S”À}{%¥Á}j`ŠØ‘þ£ß·²Hðoûy(!e$ äÈë @Ø•„„„@˜í?Ž,’yúˆ²<2Àa¹‘¹*àšEœñGÙDž“Ó<%óÆ!УR—^¥D‰‘çãJÙ“ÍÙPèS@"’ ŸÇÁ\$Ìÿ‘èVðˆ”§Q–äD¦ãbSj÷ܰkÜ ‚­3±¼ØLß‘T˜”xóG¬OAR¶$1j4´å *˜ÌË…ò‚¸Ðò Yå¬xÊÞç6Äe‚›ÇB)8GRQsòæ—¹-8pnâ;Ø55UâJ¸DNŸp|xV ®*Ø´ _a:ÑõFõªÝ¡ ¸:æà7XàÅ,ØÃ\KcI„ØZëv½ßQ€vD·Ã”á" µ³YªzËËsâ­qÃ*¿«¶‰a ™ûƒÞéÐû^Q"Ž¢çÉŠßjî,›­ÝÌ–Ø4å0 \5šîfs.U€«å70éÛý` ûV†[¸–ÌIÛ¿ =*8‹²Á¢LY&nSmÍøÄšÌY“9k:S£M™óࢶ‹öß`Ïh_vÊ8pƃ‰Z­çµáàu€§×%O‚r߃…L]gäÀ9¼QþÚS™„F0 £ … wGa¼ ¦;KFâÀºãmÑyŒýw%ÖfFŸ™mœk[§mT·nõäñÒ`™±°“è6x öÑÎ+W5zZO0 ú0¦ÚjÊ£¢s¨ú¼åªËbƒWAy…ÞtŽïÆ«åw¨˜?EÅue¸î ü >€!{sHxZµ9æ´@KØÕß‘,XF§~,#".¾ü’(ãÅyMü.ì]n÷Ù¯éÀqʸ äÁK0_×ë²¢áKE¦/k½î¼²<ÊÁU3YŒ¶¹Šç®­Ãó!¤³àêÖZ¬ƒu½¿­tQØÙGuV¤1®}¶\=ûðs°B endstream endobj 187 0 obj << /Length 1766 /Filter /FlateDecode >> stream xÚµXKsÔF¾ûW¨r’+Ö yéÅBHB Bâ… pµc[)­´èac*?>ÝÓ£•´– […÷°µZ=_÷ôSÏWG^ŠØã!KÔ{«s/^Ì%‹¹òVkïƒúîÍ#ÅŒQûÿá%ò·YùöJôæøÓêÕ£—\O%(%X$•’-‘éè×ÕÑç#ÄÐã¸IÇ,Q©—oަ´dZI3Åc¯1ÞùÑßGÏ-<îqŤЄƒEàq’¾$ò¦°LïªâêXľiÚ¬<¤ˆ|S𩨵Déjºn‘øu[tE])«Ö´ )%pÂ5/:¼½¡íçPE*Y*ô`i25Y “„ÉP{ˆ˜PN·¦Í›b‹/:,„­œü_êªíš>ï˜~F—Þª j#iP;ñkkÜâ,kÍš–¨¶ã®Ï襬2ußyÏPô†AûZC%d¨ •(Ÿ-šÀi¯2•ƤÓÕ± þìÉøy6µF4³FÄt"k\ÕÀÐBïìþ1Ô!Qr´-×uVÇxõ!útr›¾Î:³@Þn²¶Ó•¨”IîCZ–þ—ƒà¢êœ¯ÌÀG‚¥i:€ÿ†rIEÎOvþ/œˆStãO­ÊCˆ(­æf}Ö\ôè`ЮµÆô$²ÿñ”E¡cÛ’ñÁ9¥ÿ/jg$µh–ý ÜLrßTeÉYApج] ìí¿›²pîá²)r)¥ÿå\Eú'_O¾¬ëîäÿ¾Â=­ÏéêŽFJeAâ -ú»=âmÔåÓõMeÖ‡¨ònž6­NÍYÑÑšæÐvÔjô49n6ô¢²ƒ ×éí<^Äe—cNÐah¥Úíòzƒ…笨Àe`Sî¯éÁfwøÆëŸ7w! œü€k¦¥8 ±tõh—Ê47ó uN Ð‚èßݰY¹½Ì¾ < 6æÜ4¦Ê͸sÝæ} ŤºÙŒ«f”‘ðp/GKváRz„°ßx)söš)ñ °Mø@F‚d»Ü M@ß²¼ßMGrõP Óòå]HÎ`ÞïT  ¶&Þ„ì*|£ðI»JçΡ{¨Œ1‰È~?¿‚ió[M@VÕ›¬¼¡mÛb”±ÐdÛm)¦Æƒù²XHTÈÄ~!qÔ¤˜Ô-vj|ÚÔO:µdžæ#M•ÿV 4 50ÿ̪âê¡A ”R~H*>%¥ÿúóžêCH$¢CÎ'à³Î¢(Ks1¾·¯Ÿžþ` Äl¿® ïò²nÍPZˆtÚñV?Ø)yˆò8ãõò¬ÂYK;­¥±›Ö°ø·— ‚ÏÉZp™2d¦•Ní¿}O×( °É»º!J޵ŸZDíŸY Ü;×EwI«Æ´T-LÞ…ìªñÅ!ik—ÁöNZż+È ´ÞdŠ3í†a”3„-S‰UÕáÜgAÌÆP˜™i • —%­Îõ@¶ú¨[ú(§ðÀ¢Àtg±3ˆ£$ôŸ ¨-±j§xa³< ±á`£e†ÆÜ¶_ŸQõÌ‹,óGø|ÞßY_ lçïwôIê:Ä5‡x„02Ú¨>!rѺëÆ5Í0ë½®l†Õ¹ÕO M,ʬ¹0ŽH]~‹†V܉³þÀ¿©['lÛ7C—cܾ˜ »`K6ÏÚÎ40Ì·“âѺj¾%Ç÷8,feo\ï[ê‚qŽé+Èqu¥1³<÷ö^ߨ%vßÅ~Z’£Y,vŸ¬æErA €Lß+–*Ú}™- #M¡¬lÒÅåõe1¸$Þ® N¤ÕŽÏЛ8Ëwtgcò\íŸ3’Ðûû­$LìÕ¼$n¤2úvË ±ÕhPd0ùµÄ®dcß"ì8ôð ð|nH~ *¬gjœð ù¶vCV‚C–q`ÜtEÌou_zÜ›8Ý×ÇÔ #álÒ­¯ c£0Ò”¸áñ¤›]_i9†D¢ÓQöþŒ¤Óò77Ë3Ž–xí†Cm“5Žgìv"Ñ&Q…qJrœ`€uDYHjhpȹ”€€e›¡Î& ¸¥”BzûáI—Æ'Њ*/ûµ=XÜ®lk¢Ã©£ßö#$>÷.[E€Ý}mþ¬Ø¨þ endstream endobj 191 0 obj << /Length 1838 /Filter /FlateDecode >> stream xÚ­XKsÛ8¾ûW¨ö0EUY0Að™­œr2»®IÊ“È3‡$„‚,T(’’N\µ?~»ÑMIÌÐ3I&>˜@£~¢¿†ž­Ï.^Èd!CQ„…\¬·‹,ZdR‰LÆ‹õfñ6HâåûõõÅ‹(;åRQ$â\-Bbzsûê"J3!—«4Í‚ÿá' Z]½Þ´•®é„©œU”IÉÅJ%"O:§ßé~¹RY”º>ÇQØš([]öžT–°;0Dßgï—Q˜ 3ºfO£~‡– W3=½šQ‰¼HÆËý¯¹ë›ˆ *s 5kê:Š4ˆ.§ñZ5{]=ÌI” *Nžý¥DƪY¼ëðPú]…~„šÄùÔï ¥]5¥bï8öÒ¹üÀy¾‰¦+Ã7…âù.”Ù#*#/«üÚl3’O0ã’à9\¡{_UÜN;_Û@òsAߟHÃ`²ýGë«!ÌŸ‹µ`Î˽¸7;ŸOÀ3㠑̗ɈÙd‘+oÊÙóõÙgÔ ë|’F"ÍÒE¹?CZœ ³ÔBŠXf gÛ³_Ïž!B@™–±Pq1B$q*•“]Pæoî—x?tì…â”?/DR¼pƒ7¥Â§¢”£rFÅ—oJ†7—0wL5ïQÆÝû"‹ÓŽ )l¢­ C!“h?£l>‰¯u³D"> ri¿2]él‹2žÌ:‹D˜FÇ@÷ƒ«»1§ E¤õf-ç¡z¬Fà’·ÜóòüÄr˜²åbÖVk)¡$›òßz ÷åÿ5è<@ÚS³&ÉžA” ï]âñÒrFI°i†•¡q{þgÚn†ÖõÕ µ½›¾§¡¿Ž³Ö6k.Ý݀؇0Óy ò yA½ˆ˜ |¯r<ÅO|Œ$4ægëÝaêÑÓ{\ˆ\æ°ÿ¼Ö.(xÊ¡ðmLoK¾{No¬®Ñcr>B‡“OªÉîÇ);–¾ÿ{·còÉDTà õR¨ïX¢8¹Zh› ™9˃‘P– 62=Ö'ßÒ°É{Ó;óCNüx›áÛ„ˆä‹~ÛB¿SŸx¡³Ð;šq ò$šß¹–®ÖŸMyK´”>ïi ÅP©0›o1ŒÛ*$Q:Ò-btʾqGë.‘~;â&ÀíEÇÓÞ ìM$oóõGœ °`kŸ<ŸO‹Áæã.z”áÎ…,ؘWMoº'sH‡B¥ñZbæß‚³ëëÿ;öó›<žMnSU¶íÙmÁ¼Ž†Cg6óˆîÅaöˆ©Œ?ÒÉ»h‚–E,¤(Ðb]â«MùÌÍ"^ß0žXb^gÜkyL“=óÉ”×—çW¦ô²(Dš‘T°)öSˆ³¨éçðTæðÌË#hÙ„*æíùPa0iñ]€ÊȈülÒË<q,‰czã‘ÂNðc´8Js´§dñ9’lßñqõÝPiG» :@¥3î+€7ý§À{ï“ÔÃäèéy ÆëÇàjëžõ0C½¨ïæ`xg§Ô¹8.À¨iö¼ C5Û×KŸ+l‡Ó{8t¤Å±Wüºc7¦üûssx¯¤ßx.„øØ’üûˆÀ ñw5%üùÁ°÷òú F š‡7ŒË$ Æ€ˆÇ__­¢8Ä?ŸðvÛš¾ë«g‚F/ð×Dœèª¢Aët ýާø«†Êÿ΀‡¬é[j>uügæÑ‹Å— ´­»Þh.Ï#€>ç_<â¶KŒ(µ×õ B¨,]3.í·kZùd+†ýMs„EóÙw2¦åWàvÄÌ~„”— ¿ù¿²1àP×ÓÔRnüÃHßøŠIx‰ø‚Í% ƒ—Æ•þ„´ˆh¼ôÛdRQ:bP' ’L`©iOv¿ÔŽ7%“M×Ck{ÿÐÒÉÒ-‘²qe&ð·NµWç±§4{Aêtwf²úf¨G¼þ?4S7d endstream endobj 194 0 obj << /Length 1608 /Filter /FlateDecode >> stream xÚµX[s6~÷¯à­0õÁH\éôÁ¹N;Ó4u¼4}A>G ¨'žéïJ»œ1i7y’XÝv?í~»âñåÉÙs.<…ET0ïòÚÜ,K¼ËÊûÃÿýõË3ž‰›,þ?¶ÉüNÖ7Ï}eÚ!øóòç³ç,o“$<ÌâÄ‹p—4¥Iù|Ò&a,d¢ð6qæYŠsUÝ6Û`ç±ÿ£m¿jÇ«Z¡èm”F/ôMs_5ðÁÖNgE˜ÃQ0$¥]½ê•!•iI¶P˜‡i’Nú~·¶k žO3zP'Ž}%ûÁößj­‡±R8`õ4²Ò²égZ.ÍÏòÐv7L„QDzv;ýõlOŠojüVµÁ6­Ô KB!`¾8$ÆÁÈ5Üj¾Ð=+Â"?8ÚÛ(Š×Î(À³ã¤4ºPÃhU} ÆM 8F|‰ãÅùñr‡¶sÆ#¥j,¼ƒA b_v4V(ü09E4>‡ÄáòfHTª¼'V±{A!¾Š, ó8^BñT•ÂâE_DF@h¹¿'¹u×ìë#!R( $ΛíXKƒvYÕ ÌÑùÕߣ´Ð-ë{ºAÊB.pž…|rƒ—í úGkÆ&Qg hŠ”MÖ0±Ê®;Ùüº©õ;G ¨ýû`Ã| Ê;T´¯åEÕÕ²¡k{UC‹]Ýã”ÆÚFØ9‚±›(»]½pMí é²pöûé}¹³ §KÒ…OÙT$?r×uk­|o?S¿lQå Û‡¯[ƒ‰Ï– ྰ‡ü›4p¼3¦Vb³‡6Íü¿ZDz í<)°-†sa*ËèP&,ÔÌáý_ðü¶!Æà‘5ÒÝ`;ìhrÙ¢–êÍh¯?šQÛ«Ü»;T…ƒ²,G#ËÛÕ%Øê'ÖrÓŽƒnÔÜžÉñõ`­Ï9ZfAë@â …ÖºŽ¤¹Å¸µÎ!ü¶×üeš6é÷ñ1Ï5j[ë­¦ÜÇ /è ª0 Sf~Œ‹'{E÷_¯r³¦;Þm’²;:YY)ì\¹A…[Õ(#’8ûßbδuz-š>öÔ± ÛvºiÛ'Xé<(§žîw¢È¹òær|Ɖ ©“g—'Ÿ0˜yÌ–n±(BžÇ^¹?±²$µKc… žQÞõÉo']ÑÇ<–„q’q*úâ,Y2!®¼‹Ù¼¼+æ ¨ÛÕÀ›Àú@M€ëp‰¹õÑ=áÛPL¡Ü93Ï\ÜÀçVcqÒàg¥ñ “ªÝ/çaÂ?ªlÁœgÒ8΂ՠ²t‹‘s†ràxÌvX³uÉÆàlÿrW¥rOù¯/îìAÖKð0‚3 ¢'².!I ijèÃ@˜hö]è`A—/ ƒ%6¦ìJ*ÃfètŽžÍHãt(÷•ÍC•s&(Ç“PäHÈ"ËçT› ¿×ûƒ1BÝB:v{O¯°'û~Ü«žfÑÂn§ ÚdŸîx ·$ÂÈpËpÈŒ#­/­U»¶w†Á,gÈ'{Q „5ÖÀD+Á‚\ç@g.‡V^!¬£MQ(Š E)ößíÏzìEG~ëÊgí^%ðÙ#h4KÒxw ÊAóÌÕÌQA) †wJowî^{à¬$þóÀ²šYµ¤ëjØy:ÖPPWhƒ:Y0JÊ ñR÷0—²¶c¢…ßM¬î¤¯¢`g¸\P= Ö¨ÒO}‡¸Çˆ‹AÕ{´ö¾Y˜+Q0LOš”§}.òܧe~ì-&íôé]©‘+ÂjMØwg?¬H ¢Tnž›-ø²³rÀÂË‹HÓÔU§Q‘}ÃÛ¬~ ra·Ö^Î,WÝØ\ƒ·ŸLy,È/3wð½¥kOõÇØÿzÞDl1=®’+Yɯwµ¤wÏÃÕtÿ ¾@MH;äu~Ò˜¼nz©àÂ7Aár)óëQý‡«bªã˜ê>õ’ú<*OÖRSAtí”aŠè˜ŒÝ€¦vž¢àóâüô©Ýæ?- –…©œË˜ ,cÈö¸·«AöýM€Eš¾ß©fµàÛMÁ„ÿBà ‡ÖÜÎ3–UKUÂêÚ´ûqR®”k± ôÜC¦8> stream xÚíWKÛ6¾ûW=2ºæŠIT’¦)šnÔvsizÐJ´Wˆ,¹’¼ÉýñáP–äÕ&EŠ(ЋH‡óæÇÑóíâú%=°$H¸·Ýy±ðb.YÌ•·Í½_ý0Zþ¶}uýRÄc.)Ìc/ ¦Í/¯¯E3¾\EQìÿCäÓr}_îñüâ»íâ÷þÀã¨#Šc¦Uâe‡ÒT(Y¨¤Ç™â±×o·øyñ­ÜãŠI g]q°Ž“b«bŸ–É“1sÂ×½‰o–Zø¦¬—+¡ý¬è–0<,WRÄ~VŽ@Žýº2Ò;¢Ž‘ŸÒr_Ü㦩h™ɺ¢vLùÉ  à Ké­8:”î®&žîÎÐÙ¦îÒáh½»Øþ>-Ó%÷?<¸ÐOB TÄÙ)¸ ƒçj%µb\x+0:ñ´YSш¯Ý¡‹2`èsÁÛÞ-š¦üÝ©:;-ýÆt§¦r[Î|å;gLñ”ÎOåçUz(²´¤åÍ|]ÓüP÷• ?Ê…}'z:Æz¥‹u2 ¶Õ¢C-‚ ¸z_õà…¡­Æ´§²£¹u Ư(¹´xg³ ³®?36–7›õô<Øeò¢ÚÓj×Ô‡ }ù,WÜ'óƒ©áG[šuq.A !«h$)Rùí»‡¥V>›M´ˆ™ˆ¡ö„`I(IêÕR ÿ?¶ ý,'=š$=b¡–}Òóút[‚ÚP„C½ €HãíÆÆú1=G:Má Ÿ5Ú)ý¬ÙŸÆZÞµÖTO4„!°P˜Ž­!ñRKÿÔY9’ÐÔï 빩Fê'uΦÁ I"^Ùš (ò“Vúõ3¢ Ü&Í‹´jŸtê,6fqïTþ¯ZûÂdÝÜ?.œµ½Û&'óÞ, „Ü/OæéŒÐÕÇZ«\úè8]ÊéÕ²»Er¸÷ÚÝ{ –î>£ C ѹw‡kë#LèÍRàS’Y¯ëδ®äŤäe¤àTŠ&î·g£o§&bæVnÜ›b‚õ¦K«¯\UÅšIɧQÂh¨ ±±Ä±ª|hÿÖæÑ1««åWï È’¥s–òüNä'ý>›ú®¨Ì ý ÏAœV÷¦|Žu, gì¬Í9NspÖRåS]  ÒFOˆÉ0šF¯¡!:àãÖÙR ZTÓ‘Z $þhš†h_áæ¡ÊMµz1":Â#Ot„ðx5wÏz½~¶¹¢p Á¯(ÊGÉfûvaO«ÏèÛyCûVú5¸ìÚµ€Âþñ¶}‰]QNÆõßµ«V¶RœÜû1†µè¢{‡’'9Cï:ÓÒ[b÷HÀÆô8×ÞK¥¼‘òi¬.Zû$a\&¿·Wa2êíU¨‡Þ·è²Ã„bù(¸åò¡Çù@zᦴ嗣WÞ.O†¸-„:ÍOöú eÝUŸ¸^#é;ïdœ/­ocr?<М’9Þ:“Om ÂÐðA¯@Ï>s÷7¡ï:ë±²:fuव¸¶•ƒï)üm‰IÿhÓ‰ãùèf"Øv¸WÀ]h{9ý_ rÔŒ©QöF…ÿ‘˜rÿÿïËÜÿ¢üŸc>‹J endstream endobj 200 0 obj << /Length 1791 /Filter /FlateDecode >> stream xÚÍXßoÛ6~Ï_!ì¥2V3â‰T=¤ËZ´ :Ìqû²ƒj1±YÊ$9A€ýñ»ãQ¶äÈM ¬ÀžHÉãñîã}'½^žœ¾:àK£”Ë«@‹@sÉ4WÁ2þ/?~8‰f|6OþƒMÞfåâ®l›|öçòýéU(%X"U‘†XûEf¸h®8g\§Á\ÆÌ$1­ÍEE³¹42ü æõöKiIô9Š£·ÅÝLŠÐV0àS§ó”8j—ˆ½Ö÷¨•¡^)ÃÍ*ì©ðÜ®H„z›,/²ªh›s&´ æZá}³°Ý¶©lNÖ}š¥I˜Íæ<,·ö* $g Œ˜sÃà@Úôs½¹… "¬+[áU:Ú^_Ñ…/»˜ñð õ,hfSwE]Q¿¨¼[ŠÆ®öâÞðåùÞ{x¥›Í©»s¶ÌÁ˜$QÐ*¦á&þW¶±ÕÊÎx¾¢‹‹d̈Åxo©YjRÚõ9âzÒõ®ÛÇýÝÙL˜ð#ùz9£p0 yª“—ä|žß»ÙzòËòä€#"caX%Ájs‚2Cl• À»\ ®N~?yí°Ì®˜T‰ðXŽe&1dÑ!jÓáâàhzÛ?Í `¬¬gs¸Âªèð&5®\ü ãâòŽä.2Â!‡×€S˜´ ‡ñ‚EùÖº phÒVå½ÛÕ´¦[[Ú{¹­È`928¡8z‹_LÝI3iD¿¢%µ;4æû¢[“´±-Ý ¬ôÇ×´Ípø§ãsšš?TÙ¦Xe%m¹¨ ?û¬Ê³&§Yph¶í<ÒFÑ hæ"šE鑈ߤ41 ­ 3Æ¿¯sÛ®šâ/ùj ¤Z°(Ù9e¹.À/*Nëmå¤bþÀ§í§\$°C!} œò°0CX ¼ð 3`Ã,Üpki5:¿?Ù9_A°Í÷w¸à£ Ɇï£þbÊ1Ó€º.ŒdÓã˜ÆãÂi®uð„Î0¼ðÞéÇHh  DgÐI”Bìî¸mé*¼a?’ÇÈBº3òÃýÚ½2È dät“8%Ђ›m^T×4}5õ†~“=YûWÄW@KêñAÇÃP÷0ƒ¬Ë&a €~Dï\êwTæÞøkˆØQ@uÂb³{è=!Æ"Þ?L÷$N7ŽË=Ëb÷(ßùCGFŸ5×Û'­ö8Ã5ÿ-‰÷a>Ââ‹³ç“øNm„’ߥäxÂÚÿ]Í17ƒr—~˜2m”@Hµ]mË"k¦*ÉŒJ¿ª0Vm]‚¢ƒÚGùÚGŽkõ¬Ú‡k „FÊ` çṫº³í±¢GºR雋—É„NGiP˜hÀ…8‹9[Ç…n~ÛZ?·†ŠŒd˜¼PâYàЭ"J‘ùõx¦ßgê© `óUe°BÇýŠ‹ËÅK2/#k=ý=ûᆠç:Èk«»bUT=wRRÇèôìækvÇ‘ö™6Ò>¥Cç~]¬póš†.ÃG¾þ‚6£fU4H#ÕÍ—¢óóM½­òåo³2H­ü^K9¿±ÀOJÆžŸ"}ŒreƒáúÛ8ÔytSyžp*fFÔFDìlDÄÈAõ ‰† ZÐs Ì”.qx›‚dT?Q½IGŸ>¾ èëMÝ[;xú²úlê}ÎE ®dòg¿P|_’ r çaVÕà†„L19,Â:‚> stream xÚ­XKoÜ6¾ûW½T‹zñMµè!©“¢EQ ¶›KSÊ. ÑJŽôÇwfHi%Y;m/Kq–g¾yp^\Ÿ={ÅTÄÒ$K3]ßD†G†‰Ä0]ï£?be7^ÿüì7ÓU‚g‰Ne”úEW¿ÿúŒk“°ÍVkÿƒŽïòòª»Ùr»¹œ½¼>ûpÆ`W1ÜÙÄuå*¤wž^T8ê8÷ÓwÅ=þé*?ÝÛuEí{‡2àùJÛhËðB™?»«ýšîÖù½W}å3µLŒƒÄ_¯ÝÉ$ÂòaEëÙêA ,º[Om\ëoR†ãk¿&§Ã£­mgr.j¾¯ï:·÷Þ•;ä]±óÓ_‚òòÒϯº¼ÚçMX\ßøñÒµ]ÎÌtÜf‰à2â&I3»n>;EÚVX•!¢-€ƒ å·\¸v×wxãoTº¾-@IReñM_kIeA9]ßTá/2 ~xû>Àþ0b§Azæ~:ÁN'¡iïüj´Äp2™B‚åm67Ŧ§dPÍ— ™éÔN;IjŽ Ií Ø HR‰G@ÀFĆÅp ¸€%3\À|‚ ˜.`D\$pm¡Á*n<¾/;Ï Eªàï1WÅ7^«°PÈøã-¹ ÁŸàUEhm\jwû¢zç©7M}˜í3gz°m1º?ÐH[°t<¥}ÿicEœ¬‚`ÍÁw·œ'R±ª6‚ªà‡\T4Åí̬F'ÊŽ¾¿¯û·%«¸::É›T¥ž4ý»áišž?¤ï‘î?a#[:ê…>ù¼y×IÞµ$j$ P(&ÉŽ&i<{ ù9Ž$õÇ‚nîªÉñ3˜;Ë¡ògd›¤^á—\>÷äÛäû"¯Ú“—ÙÚ}þ¿ÒªÏ {ávO—V± n‚ .):‘Ót¯7å —½;m(B!Ôª`=¿üonÃä#¾ZmEŸ^á%!"}–SF=pªË¼ñ¢aLÂ{‘§Á¼ã4µ‚©. áG¢^ßž‘R5Ô\yd zäþ¨_ëεÁÛø\ä4RŸÈž†zçMÊ̪áÓ©ø»¸³¨Ç%ŸD=ü£Ž” é«o]øïÖ5†+Ü &›okO p_Ñ8WX§=0ßé$0fòu~JR1ö9v6F+~¹ºlà *?B~<Ô¡®€e­!®Ñ_ £+k9‰ÀÔP×Cà…àZðÕS Ì(µhŒö¨ä)eÌjXUºý¸»ñ_ˆó²~×»pTÝèé̽ÛΕ«Ú⮇XRoñ>Ò†lKN%la“²/ËØÀnÌØzÌØšR&ºÌ´´Ó¾ À1÷ÃB·vЭ º…Uûˆ¼‚Ù!’/âqÞçÊÝŸ#ãð³a„Mýl•WF^»$BU%kž¾e¢á{–žìëä©Ao8æU ªhü¤­›Î‘ßÂz>÷_'ÆKóž»ÿTå‡S~ ‘×Xûˆß5v”îã-o`ÿÛÅíü°¬†hIu¼}Ü»¢kä _Áq–ˆÁó7íãè%„}OÅàÖ‹^8Ïý°+š]O¶Æ?ëæmÑ…ÿ›º¯öž<òÿ1/óÕ¦HÞaµÿ6}dš…ø=}ƒ- 6<û"oÅcoåÃ#̇Bð}©ô,¬Ìknåä½\…€‡„£Ñ‰NÞ‹tRÂðU–”MÔIÏ„l™0¥Ÿ´A¦¾,òfU3æQÿ„ËfbáŸ(ïàŸ[xÝÇ×XD‡×o ]N‡iî¯D5SÀ¤x­šƒéÄC $¢fò.ヘ/ß:@ñb>¼ËùTï8õQ˜ d)ìºÅ`WTaÒ–ùªÞ$£šÿ:eˆÑ/7Œ±ø5~±þÔ©N¤]–Œ7«ªÛ°,>Uò(,4¿¼ä¹påmîU||…a Æ2­°;¯U‡ÊTšìé8„:ª I'GçÆÃ®%ôì,)ý6ü Rô¡]³ œI®xüØp‡{Œué'*ïŒHV»XL8•ü],&uÂ@ä¡ Bí2ÁB»ìA'Ë@œÓì¥;Ô(æø(¶_^n;×Bg(<|¹ñ=,ß5aÙOÏ‘ÃïþO–MÞ÷Äsf¾6–J¡½óüß7k xè ¬0Ù¼v³E“ð@źeìßôx¼:ìQ6 ê0ÙD0AÌBI‡œw~Ý¢õgèÑ+©Ž„1¯(öpššMC% ½êè i\â9{MÃ5mAÓú †—æ Ú7 endstream endobj 206 0 obj << /Length 1491 /Filter /FlateDecode >> stream xÚ½XKÛ6¾ûWèÈ@Ä_z4ÈÁ›l‚m€ÆÞ^šd‰ö %‡’²»@|‡ʶ\%uÒM…EGÙÙO{½š]½a±GC’†)õV/f^L9‰©ðV…÷‡¿¼}Å¢˜ÐyE±ÿ—yDþ>«–ý~›Uó?W?_½¡òÔ„ŒD\x!Z©SJN•A)¡qê\’$’¨«óyÀî¿4áM¿®Š>†2|[~žsæ«&tjkš’ö éL~XÀûœû÷ewgF¿ :¥w-ŠË:¯úB83›è¬(³º=Ùbìøaˆ0žà&Åú-R´ùZå?Òs·‹úôôž_«¶U¸‚®©ý<`‰ßØß|?.œfƒ ;uPýÔg]£q’Õê´¬óâÃÅqéÝT\öm^c®~ C>µE •døAu½®Uñ%X‚H*Ïp9MŦï&Îô{O±¸8ÚˆPÁ@¸’¤ýJ¼’s/`’„Ã¥~ßtªýiÊ£6 ÉµmZØ\ÐÄo»LãÈåd[veSϩߢx£›SÐ Œ$g;+s(wv’g]V5Û^¹—L³[( WL›‹9¶˜µŒU§qÞ·e½51Ò#àÚþpKDj}Ftì.'õwf}}¸V±_<âjw§pp€™ú¶K©¿º+[\Ópeís  Ïºs*c2|Œ1Ãý𑯦Ñ;ƒ—!Þê‰èöU–«ãñgUÕîKs Ûç˜%›¡¨‡l·¯ÔsœåÍnŸé²µÛƒÚP¹uû¾j3‹]¹C›8yoð$“é $OH;æz rqQµÍœ¦þ—2Ͼh3ÏåéÍD[›’öˆþAׄhvª6èºa1„5<;,L¢ÔÍ3ÎHnöwðîàiUîÎÙk‡Î>Û*\‰ nv³š}šQ8У¦µ‹0!2”^¾›™æ\¸G‰ ±§•·™ý6»¶¤€zÔƈ9RÀSFxäÚÝyûOO•i˜’0I†òñjœ_àÌðRpA¢ím+ æ2ˆ*G¹ä©É¤„‘˜±Q{Ï1ÿ]”€3ÜH,z#÷iÊ¡êèøÚyã€JR åŒ3"9ÊY›ëropŸ<ÿ˜‘ösa¯æ/êš½xXŒ1¹ Ÿ¿ͬϛ¾R½nQˆ°$#XŒ<Ç.z ×J XæùnaP¾5îÓT&(¶&‹` ‰“t|#t{½Î¬á‚`=>^wµ! –)Øc3ò¦ó$“CúÜ”P'%“''b§¦4àh $vÜVϧ¤ë±t¢ñ1èóiMt¾‘š$RÄ)Õ¿šIÓô«ŽQ¬ÒÓÔZOãÄ ½íMÙp;ì|§ÖÙ€&„sg»­žžÎ-'rÑdKÕÔÛ² J.ç)íúô’ðÝ«.¤QQ ß.Ѩø›h”L Ø8¼·ÿôõ¥ä¾ÛdòôQÁ%qüÕ¨¾zTЪ/mÉã€DH¤)U<&i"i<™Yvx¸¤`^°ð¼8C=€¯ÛÓUñÏÕg¸øªÑÀiœl©€g¸ðAm”VuØ$NÍG‘`Ô¿ÖåöY‰2ð=”ªuÿ–`ß_‡€2 7 ?áç¹”~VõÃ+‘1nƒŠ™R÷@|(8µœjOP®)ä ÿÊÚ|;á_7ÿ 2í»Šº}q†nÞh­ÀÀïÈúk¥ûæû…½¤p!áo(†¦þ Qvºg endstream endobj 210 0 obj << /Length 1490 /Filter /FlateDecode >> stream xÚµXK“›F¾ëWpD•e–y0¸ö`—íTœ²]ÙhO¶fµ¤È€¶²Uùñéf@€ŠõŠØ{óìÇ×=ßôèÕfuù–F ‰ õ6·žbž¢œ(*¼Mê}òe¸þ²ywù–©ñ*ÎC¢©ôB·è¯›—L*B×”Êÿ?ÒßÇùe6G«7›Õ·… ¡GQ‰TŠha¼d·Â1q îQ"¨ò*ëÝ®þ\½Bóõ¨ \HÖ™'%ó¨Ó<Ö®˜ñZ’PëÞÆ›"»_3åÛªŽóuÀ™ômnw¶ÀÁ¦v#Mé¾w6Ï É´Ÿàí7U–à”òË:9äq“kêoQ­GJ/ èƒqê&²‚G¨a<o9ñE8¬¤ðÁÓÊíxmë¤ÊöMV¿v»N‚IBP×!°YkîWqQß–Õœ¡Æ?´ è”ðh¸v À¢ÌõJ7Ÿ”m×ms3 ¾ßݧ|€‹úð@Ô¼­ë[\4RHf}ïܘ$ÒpçÌïÅš3°~ZÃü$à '0HiÞÃp_fé:ˆX4Þö>‡QèZàbݸfZ¾æÖµŸ(ÿráÚYÑ-øÁ¬F£.ÖýÌ@®Cd:>‡!Ÿ33""ý¢VîÅĈÉ -”q¹-o÷er÷¤|ªé9†½+«¯Y‘<-9‚¦^$9.ÊÔþD“Xìm•= qY}{R®°…/’ ( ñ‚s"9›2Ï㚢Yê@~žbâéîû'FDp`ô²S7qs<ÉôÅ,“°cô”J^VÛ2HS·âqÚ¢0NtØ-;Í^áGô#=G`)Â-@:ù-k ÊhÑASÓú9‰ßÍ”“™bí™júŽÍ[Ö‘4Ž¢ºec]¶ aßå`÷·Áµ©[°‹ë‘Œ÷¿ì¦{é°·)# [m:ënÝ·¹kÓ2f£ÖvŠ‹óý]ìDrí4°¾ ·“½µ•-;l®Œa™Ý·wsÑÀÏÝ ® ‡…ØçA4 të / ·'nfuthÔ¡AÇÈ»>Z¨¡êñ5N£ ô0àŠŽ|t) íÁM£vüŽ´3#œv5ÕÞN üû}fè>R¸àTšÁ 9*˜Õ»ÈkÚãÌAJHîCl:)¦Ò“[mpú ·j(ʆ¡Ór6Ù$éÊ(WDÀÜ»8„îëlÙØë½è6ì÷U‰rÿ™%…ã!4D2>º~«É‰ÏC ‰õ¿N÷µýv°uƒ‡¯u‹L ,7XÛfpŽü…óÌoç#gú2ëÊ óJ eùóNô€t.‡EQxm›C”òA„+å„Þ …Ÿsðèwœ4‡8ïC\u²¿‰X„ æùP:"w„¿íàU!Ãèçå…ë&Éòf–çÀÙ>ÉO^0<›k¿÷z(®t;Nhô ‰¢1êä1VåYwœÝyYÅi™Eu´Oí¹^RB™~–h1=yYl³æÚiˆñVmS=® S÷t‚ñÂqtj w°>­ˆŸ¥c'q?…¤êè¡+Ø0í§`¹ó‚Þà=ø£ÉÕû¹ 0¢Õs€Â L=egãαáFo/¾ê;Œ—:D^"|7ËHóL4$<¤y†;D´}LÿgIF…VV *«'ÃóæLŸ”!JÐs|R‹|’†DxTé ñ=9£ìîÊwo…×º¢¬Û^ä‹¢îÎ…F*øÏ·Œˆ‘ôäqg}Y°+ûûàXKŽq-q¸êJÑÅtoÊ3+'J {†Â ¢y'…Úu€·j „ð»ÂûÊ9ùñÙ{ŒƒPJ¢8ï•S5[µ¶ÍÞĺ+§#Ës»íKóéS² I\c-[ÏþUÕÉE"-—ØÀ·áãë§uª%:ùDg÷sÏÆËé“®'—b‡“©Š‹­íÿÿã‡Æ endstream endobj 213 0 obj << /Length 2092 /Filter /FlateDecode >> stream xÚåËrÛFòî¯`í ¬i`/ºJ‡$–+öÚVV+Ÿ6{C» À @;ªÊÇo¿ RV©œv/Ä »§_Ó¯¿¿}õúÊQ¸Þ„›hq»[dj‘EzEñâv»øGð÷/Ÿ_«4[GËUšfÁoøHƒ£©¾Xe«å?o?¼~%cq¬Ö©Ž!3H#!ÊÇD+OµÒÉ:O¦ýÜt¶}Ãô*0 ×:EêÍ:SÿFÙœ¼ôòo÷Vˆ& •^'ªWò/s|’u¾ŠS]~]ª<°®5ÕC°'Ès a§Ú“ØÊl<»v¹Šugqݾieùm_H³ç×­«ãº§³¼³qwË((;~Û5n‚ƒãÉ—+`|[5»t]¬rµVz±‚ÃOâ «x°  íÛâoF›TžŸyƒ@_—I ”æ®Bú9LÂÖZÞêìÎ:[–q ÑTP<¢†MÝ–m7FV0ö€BïÊÚŠ>ÓŠ, F+B6@â‰vêX,U|ÃÍ îØl[iÛ §q`jDo{ìñYPàæ}O±e’ž·wlÙ•MÍ žˆT±œÎLè¢k\Ë´è-ãîÊÎ'4ƒÏF¶ùÃÙ9s°èE Í6éð‰Þâ•‘‰‘Dàð$)'ˆähIg¿¶V˜œZô0‚öÖY†•uQ¶x¶$®j†ÃÁcè–Í©eÀ/'Ãa òÕ½ŽaP˜ú³gÈÎÝ˸#ý-÷ÖIÌm…ÐA8Њ"Ý ¬Ãʲà`ðLÐèDƒÑeË8s<ºÆø´"ê–tæßxض–×fN{ƒI•¦Ü–õ=qBJÔ¶°mK‡‡ðø* šÃñ™Ù$¤à@‚ªÁàEå"¢ŠâäLñ°Ìã´N3ÍG…¸öt<ƒ¥½šõ1{r<ò…%¢+9f^÷œCêN MD‰µ‚èŽ×HŒ;´)À9üä"£Ðyœ­­»à5šž.ÂbUv"•iä«Ñ4÷¶*%ŒÅ~Ê‚ýHÞ¶3TUð Ã*VáùÇ¡ô#ÉcÜÓœ(=©J·m 5GxÕ"Z¨wãíÑ“©>ÖêÌ8R÷×5»q¤»OÛ±³¾zg)ªV´£íJu9ö7œ\[ʾu¾IþhdÑÅôDH«æ`ª‡9‰‘†É"Ï~·IêÜ“ë)?WQËÒ XgSwnÉZk)ÃÐãÐqâ7„KùÒ®çæ• «(ƒY(yéÀE%;w‚¨çc]èû>B“ßÊnÏ+g[è éyzöKÝ ¹Bè'ÌÈèŒêfå為Áø•ᄜ#sÑùA…aˆ:ÊÙ4•ÄœÂÔù¡°¢Q(kfäè@²4ØSA  d*.ØT\‰© UÌŽ™¢¹ˆí¼HÒƒ—¶¨Êc‡ñF,k$ìÉ'3F€‡È yðëŸÜÎJ¼m¡¬D;6zSBl4æ­¸%qL6XY±ž¶üÎA°Ðûrk·o8ÒaT])ö,c©×G™6`ÇwÈýúæÓetÁ¼ÚœÌaŒ§qã^ t\Ûbð/¢¢àXòó‘t~ÇA€Gñ7†\òƒë®|¯¤V¨©¦ 7ÚüÅ3SÁՄäÈûΖë@øØ‰G[Õ“ 9>¾CƲ1ñ,Àß~b²K_µKt bÍçn™ äù´QϧÍJÇÿU’ä©hè» ,ÆIøi’„’$¸Q’¶Ìè‘“Þ.…¹»?úñj,¿O’g2¤*»Ž-r4Ô3â8Í„\òCºi¨ÇY¢!ýGÜÆY‚°« É’lš%1f‰†AÝNøøXøã±×ORzŸF)b°œ¼<Îõóq£îïÅv¬HeLúÙØŽyüDééþä؇7á ˆ>¼ Óðx9ðÀsÅ:Ñ-À}„‡ÿÑ×C„ë¹.¤GžS„ëØWÍ3A~d‚^O‚]s°û?×h虲À"\Õëh³yÉŒõž¾A+3r«Ry$Pþ–cê¿Æ´%8‚h”º{¼•Òåߦµéð bä{Sˆ™q`ƒnYüÙ /r®9Ýï×ç×Íz&‡ùþÓCaª ?Nàš.×4jt82ÆÈ7–ÑŸßÄŒQg_ bxlÆAD<0ÐÙîäjÏ÷óS0XkÚÇâæ&o˜Ü¦|CΜO¥éÙŽ›¡ôdù5S`$Ȥß_ÿ•_WÓ:ã6IºH6ÐW#ÿ¥£“’âÖOÜ"Cñ£¶r9cäÞ¥bù\ȵ¤ÞxAÇzñ=„?Ÿ›¤&&MÄi/.÷âD­Øïšx >Äâý„â`‡×0Ç7ñÀ¶L¿Ì2=±ì¿%׺#8ž/Lêå7ý4¤FË !ušÉ!ðÚ_á?›W'˯Ô`û8÷Rn4… ðO†¦oà £Åq_%‘š ¾JÎ~ŽõWOsgšölx¸¦ñ>ù<Ñ®©ª†¿A”ññêêöÕ»ÇÅ endstream endobj 216 0 obj << /Length 2359 /Filter /FlateDecode >> stream xÚ­YKsÜ6¾ëWLå¢j=0è-dKÞHkYŠ=>99P3†Y9áC)¥öǧ rH‰Òx²«ƒð$ðáëF?0ïG¯?ðxÆC–„ Ÿ-ngZÌ4—Lóh¶X;Jÿº¸xýAèá,)4ãfÒœ/_?½ zŽçJéà¿X¨`›æ_­Ø ÜÓãæ"I ¡gs3£bZëâ~põùòx.´8‚ ‰… ή¯Žyðþx΃Ÿh  Ç傊«ÏïÎ?½§z6Uœ|º:=ós7ö.¥õûªV¯Ï>Ÿûí–m•?à™€9°{ð[XVJ”ô•”Ñ®*ƒ:Ù±ÐÁÏÔ“ŽŠßé‹3jÙAu-¿ÄGêüH—TÌ©óÔ7‹Qï¼Gk˜R^¶¬meߌFüA ÐTSÙ¬-UìJøo‚%e*(oÏÌíÆˆ·ñ‹üÆáåÅé+j-Ðæ¾îõC õCpÅx¤;%ûaJ‡ K”êf8lf‡Í6Ýc#ì¶ÊÖ6ÏÊbªl 5 £ï•Ë<+Râ.Î8OHi¢Ä“í°È(qXªt•¥EM0°“Tp J¨˜z™Ÿ„ŲŸ‘—Å]Ö´+Kë"+X:‰a%­—ïT—k•wЇAQ:Öº¯žB„9xà£jm'‰‘dÊüOp‰B•°Hò1…$ù‘dùS¨Ø ÷Ïø £,’’û¤öÓê®í´×^×øˆ¦‘¨˜EÑ~$½žmlZ‚Hï-šE¹ÄªÝp6äk·¿³3©[šIñ²žÏ#‚äØ>9· A›jÀ‚Ú%̃ø&Å¡YdÔ´é‘].½0ªl™5hžÁÇ©õÁe .ö.ŸLh$®9æ+¢7œ‹m¶;Ôå䡤br·æþCyÉÂziQnRïxà¦9±߃1$´ÿHä& ÅtlöÜL¹»«4Ëh½Mé­ø·9(Ü@Á)tm67’… 3 ;¦GÍõÔ¦TòPûS”´ãýq¬‚4o½wÌjê®m3¹³_=ÃyÀÞ'þ†G1nêü[2¨A"9U½©GBýÈDd[ql :ØD+¥œí-ÈèbAN¬›îìÞÐýZ‚«‡H§Y±²­6¿¨Í +P‡ßÔj¿nu“5Nà•ÓìkJ*ÿ´UÉ Ãý%Ûdó)¨yŠQ”‘’Åð·<¸õˬýf%îAÕ¬ö€ó²¶Ãݼ‰ÃÏá(°ª_¯_¤©Úž ºA®qCá~KtÒ6°Ì4‡Gèå=£\>a7©·EØØ±É;6yÇfG%,ãÇwTœþ£¶ o°åNŸÖÖ)ìȃjÕìql ¸D~#â m ¨É– Ö~ =ÊomÝØu8d0X󿾍)Üçn0\ûi„¾{º-jÀ&Í `"®ö÷<[Ñý^ÙzYeÛÎòÐuÂ’BŒº«ô‚ #[ Žl. ©1>_±]8×å›)S{cíp#õô¦@&ˆk±¶>x*‘^¡’àŒ½šv·¾hc¦Ewœ´Ü¹÷vÞ\´KâD(ã„„SÞëu“¥95/-©NZdËzЉÁ+Æ{±ôþÂÖC±U½Ì,ùzØîº½É³zíÃ_ˆªQc]¬¼Q?/–ì‰'*d¨MÈj¹“3ø)?cË!yü?ù3oÙ×iÕxïyÆh»©y5ÿÉŠ~lÁ|õdÃ.ØõÚYLyyð1÷4ýÑÀÿ!–£³ÅÑïG(ópÆ1í–1„¿|¶ÜaØz[qq=«ììöèç£w˜¯ >ã“‘>_—YK-}üå³nÉû¬;Î_¯â>®û ƒ4§¢.pÒ.p p5}¢Wgž~h¸›c÷8ÕæþË>ÐÂ!wÑhÐ'Û<-lãtb¥£Ñ½NÁ¦TeæW-+ú±ôÝVå†jm‘ѶUº,öD£=!]q!äjz6 OŸÒcFê# ¾:†à˜—о:Ýœ7Sz¤ •xLª Ñ( N¤Žw¤B‘ Ҿ܉¤:ÿ+“ˆHMè¡Wñ¤‚g2CaÈq¥ó žGœÞ¨j(§ƒQǪ»‘QäÜÑt>×qŒïCŽ)Ê*vÆvÊ~pÎd(¿ß–‘`M/X‰TÄ1FéMn'é ˆõ¶¬6lRÞåÜûNÓÁ–½Çi‚‹M‡²AъŦßèÞI"?æ5í£bêY•` ­¯“¿|ÜÝ~ãò׉þíý7ÕõgÅdt‹V@É^  C9Òʸ7î¿Z4ÝË„a2ÑOÒ þÏiÚ uÒräUO|.ŒHM¯J’»Ý†ntåB* Qß[,¢þ˜Ø…\ý+s¼Ûb—@<2Ú 3ü‘Y,üS˜w„ñðÈ®¨ó¢Í³Ôç(ÊŸ°\œ‚ „øÇbÜqZKú=N¥}ö(ĉÑÄiä³mZˆV‡œòëø¦DÎfR ÓµŸ†X¡%cŽÜ¯|”V[ðeãÃ3Ni"vÞùŠÝán 4ŽÞdEnÒº¦1÷œöÍàX#õ{ˆþðŒWéí9=24]MI¦ ª¶°Õ݃·{ÞBRè ¡Kd"Ü i¾]§Ïâ:a|9y Jì@UöÖVô`GËS4¹»iƒJÝ?žv4áKð´Ô“ݓ£1,‘zäwc/K­{$ìJ*§Âæäó*¸¼ÿôŠEšïCŸ1D¯æf‡ñÏiý·°Þ?5AÕX“n9"[>~œ\OÇ] Æ"Óaäø0RM¾¹O‚‡Ð.ûÀGft³ºkÛ†ì>$$•·N4à&vÖAÆÞ†w#ͳl*È$tt 1dS0£Õã”ûI¸`]´3¶ðg•.ÙÇ®½­û—°¨ÏÝa¾×æ“ÃÚýŒÞ”GV4%žpÈf§(©† ìó spRº{uíXA\-x]—v„t·tÀ«OKX„ .G©C²$ÿø–öÀÇÆ> stream xÚ­XK㸾ϯ0rHd ­Ñû±9u0½˜4fŒ;—lÐ2Ý&F–´¤Ô³ äǧ^”íŽz7¬/"‹Åbñ«'ý—í»÷ß'å*ŽÂ:ªãÕö°*“U§ag«í~õàËãç÷IQ†ñzSeðoüÁ ÚG ë¤ ž×ÿÜÞ¿ÿ>Î/¥dYi¶ŠXH‘ SuÉ´ñ\›4«"gÞÏý¨ÝwÌŸWB£0-»“*f\R€‡þüíQ Ó•À$ ódVòKrò°|„cêÌ3^Y[§Ú%pŸ(¿$†Y‘zÝê“îPæèÖ›,Íe5²`<öN†ßަAž#O÷nu3Ÿæ½Ý­ãÀŒ<;ôöj= †Éë ˆ¹ŽIýá̺®6U&éjg5«xÒ  íÛ¯ÁP mJóôDz^çÜÀ¨]‹G ÷QÁ0´f‚Õmu×À%ò8\oò(Aû¼°„¦ïœq#Oø¤„¯À«'Î{f™e{XÍhúŽI3CÔò9 X>/ÌÃKÍØ[Ǽˆ•²;3Ze…gFëòr)«N„"°–u µnzä‘Ü¡”;²!àUDA,ƒB!£¶«Ääb†}†èípTvq{•ebB$Kpî8°½¸¸Å[`´#€Ã_Î0§ýè×t§íÓ 9ËÌ|1f*3Ê©¤Ð…F>½ºÌQ·FüX° -PCðºQa„Ð ý*K¢7â7Ë"9ÑKãž~¢ð¤,¡ìÞñ2$‘ÕÉÑÂ}¸Ü¿ê—Z½ºò“øuÇ0^¨îÃö¬gVBÉŠv¸Ñ€«‹o°œ3²o|£þEIXÕùÿ[ùèæÚ ¤URíËÒ‰q ­EUþj…L+ÏBÈ¡Pþœ¡¢z% ¬²òÚWö„D𦒅¡À!p‚Ò%ýÀyÃ¥fc#Ä&.Ã<Í~k·A°£ç¨Žã¦üËt²Fá•S'u×&(±©âDrÙ 3ÜÔM(B;ôf¥Y‰IX¥Ðò“«îb)Q"ª!p­ê¦K<¬F|ô‰G†·÷ÂGJ™êÈ×`…Ø&®Îä·ÚЬNë½–sv¨ùË+YƒÕîX@œ0cTJ¤Áí’òo‹vŽs±7TßÖ?MÆR¥‚Õ¾ÓL–AE§m™„7# bžúÂØ7 To€ºóµû—Eq1ÂåÅþ;èÅþ µ)-¥]ÃzØwsuÑÁÒƒM’oä°(]¶2H@oçD_`a§Ìñ•jó¨JØfYgŸªkÕRЦYÅÜ'ÿëWÓÄçÛÏwŸB¢Y˜Ó•ñ~˜ÚÑ d¾ª¾0ŸcÂI‰£àDüɯìµ'ŸYÔ“¢î¡b,¨$“à³UkHØŒe¥Án™€xµñÍ&2=»jHú˜áà yÿùbØW›7–°zQ^qJ °”ãî‹ÓR7‹*/E¥ÞÆÄÖóV¸ÝJ«:ÝþÞ9ì¯tÁBÔ,ƒ®B¿kÍ“‚žõ…ç¬L‰ #.0¿Xîw#›(-<œ%µÔb£(¸óV|ì¥ C#&õæ†wÑÂû©Ý3Í7‰ †­ÑóòxLù8š›Ê@%µ‘Šj#˜¤9$IZD’eÀúu<áö·5{nñâàwBâëy­®9½€Îk%§IVÏAb;,$ÞWÖ*II `ò該̡‚+>T>._¥]$ˆ/£  ¡±®ø·[þ’Oƒ7 +ëa=›Ñ"ˆ/¼v7@®}±ølAZµ¾­”æ*—’ í/yxúƒ©áÛW ÏýÔ àª;P¥û›$‹ðæþ¡YWØÀŒŽùéaÚ·Êò&|Hr¬‚B·ËãÛ%Ÿ¢Ðåt¦áR‹}YÂÉYUäwX{õ?+áò¿$éi(j#ñ"Ë‹BKœlù©&ïH+ö™*»º´¼ö|¢óÈÂ73y.(aæå,?¸æ|Ÿ€E9ûA‰Ç4tÕè¥H5…çÏÿCJÌ{[—ëO½…;œxÊÏÇXx2Ðaï^ ”ƒpÂV±¹2p}Ìà¿|ºe:Àø¶Yþ~?†k0MxmÇb0¡3ø<Æÿ_Fí pâ’„~оGÞq]>& æÿ®ÿé©äQ ßâ*N\ÈûeœNà–.6 qó³âOoõ s/Ç<¾úC HLJ°²f#½D‡iY½ Iü³é÷®óòÚ °6|8r’À›eA _'Â×UJWyw·}÷Át 2 endstream endobj 231 0 obj << /Length1 2334 /Length2 18166 /Length3 0 /Length 19531 /Filter /FlateDecode >> stream xÚŒõtjÛ ‡mOlÛ6ÚØ˜$Ûi¬Æ¶ÙØlÐ6¶m;9Ù/v÷ûýÿZ第5™ëöuãJÒOªŒ¢¦öÆ ){;FV&>€¸¢˜+ €……‰…… ž’RÍÒÅô_9<¥ÈÉÙÒÞŽïâN  Ë»Lèòn¨hosµ°²X¹øX¹ùXXl,,¼ÿ5´wâHÝ,MŠL9{;3<¥¸½ƒ§“¥¹…Ë{žÿ~ИÐXyy¹þåµ9YšíŠ@ í{F  @ÕÞÄäâù?!h,\\ø˜™ÝÝÝ™€¶ÎLöNæB´ wK € Èää2üE ´ý‡<%@ÍÂÒùß U{3w ð.°±4Ù9¿»¸Ú™‚œïÙª² € »+üÛ€ðŸæX™Xÿ÷ï¿YÚýËhbboë´ó´´3˜YÚ€¥˜\<\@;Ó¿ 6Îöïþ@7 ¥ ÐøÝà_¥R¢Êà;Ãÿðs6q²tpqfr¶´ù‹#ó_aÞÛ,ig*nok ²sq†ÿ«> K'É{ß=™ÿ3\k;{w;¯ÿ"3K;S³¿h˜º:0«ÛY:º‚d%þcó.‚ÿ#3¹8YXX¸¹x GÈÃÄ‚ù¯jž )Yÿ¿sðñr°w˜½ÓùXšÞÿÁ{9Ý@'W×?ÿ‹àYY¦–&.c¹¥üŸèïbÙ¿ñûü,=º,ïëÇ `ùëïïoúïfjogãùÇü_#f–WUSÕ¦ÿå¿•bbö/FN.#' €••‹ÀýþÅçãüÝÿ²ÿ—ôÐò?Õý#¢¬™=€÷ß$Þ»÷_"nÿÙ šÿœ -à3(Ù¿ï3@ógýõX8YLÞ?Xÿ?Á¿\þÿíþ_Qþ_×ÿÿV$åjcó/=Í¿ þô@[KÏÿX¼ï³«Ëûm(Ú¿_ˆÝÿ5Õýû ÅìmLÿ¯NÖø~!¢væ6·ÑÒYÊÒdúÉÒÅÄâßKôß)¼·±´}²w¶üëÁ0²²°üÝûÍ™X¿?*Îï³ú— ô~Rÿ›RÒÎÄÞô¯Ûc{Ÿ;ÐÉ è ÿ>úwÄ ðb}?RSÇ¿vÀÌdgïòîx'ç0³w‚ÿk¢\œfÑ¿DÿFÜfñ?ˆÀ,ññ˜%ÿFܬfé?ˆÀ,ûq˜þ ÷(JÐ{”#ó§?ˆ À¬ò½ÇTýƒÞëTÿƒÞ3hüxß«þØßómÞWô¯÷ço›w©ñô^½±ÐÄôþs`æòGÎþ·üß{û·â½l“¿ç{0{›÷™ýWÂÁñ—ÄÖöO “Ùôð=%èO3ÿBŽ®ïëþÇà½ÙŸYºýñ`ýKðÇœó/k{W§ø¿˜ÿ¾WdñøÞ?ËÀ÷Zý¾wÐúðß?+{'oû¾?9̘s¾»Ú½¯ê?ôïÜìÿtæÝÙþÔï•;üQ¿sxÿi²ûŸ9p°þGú¿Sàx¯ú}°–öÿèë_}qü|§ý¦°¾ÓvþSë_äúGõïæÎïïïßÞÙ8ÛÿÑ9Ö÷¤JxÁ˜],œ@½_&³‹»ý?Þc¸þ¾7Óíð½î Û»·Ç?à{xÏÀ÷^}þSÜ{¤Ï §§úŸWÀÄÕé½Y.ÿz§ßŸˆÿâýƒ@ ø…Y{þ`«úàŽûZQwÆ1Á)ÊÍ4ZF¯§ï®È0É´5YkN·¢ÉC=¨Ë[’47"‹$/^G­0¡m‰ÊíOÞφñ*“;íðóØýãEG¢ }Dp„Œj"»Þ/ŽÞÖ­àr”yŽ®<ÈŸ 0îÝ{¥=úÊ—F¾Ìî(ïÖpÉ#<—ÿfŒVÒ (™¦Ì7ΞÁ%ûàÂHK‡~î2}s;…ž;þF"OïsÍþÕKg-æaæóJ¥›sž.ä úÈ$•—Ø~ŠΜWiqÔšà\wxìàbpoÂŒ¼™ï'\§à2FÁL…N Š®\w“L' “q%5I¬We©´Yb5ùP©a6¡¥ßà 9‘j‚¸)ý÷nâ®ãSõN:ï„X\>Öè½1[â[AŒÍÙ¾\Ϙ+€“Ò ÐÉf`«ä‹J±ªæûHª 9G7yéö½å3ß1ZAZ…z»Øê­òõ"xðà|{2þÔ¸Ÿxvòòµ3ÎbH·©ó+hÕðoØÖ„ Û+{b3÷E0ƒ,ŽòIE6Ï \ÚË ¦­3¡:„æ„ò£©Ö1)ádŸ0òÔKö“rá%åSôcŽJ¤L4‚þTSºƒŸáÄ(¡pVÀ6ÏiŸý_‹:¾k‘D¢Ž®mºó °ijy×o–#¶Éæšc0a{ÇEAÀ—ŠD3#¤Ò]ÈkŽþ ¶ÛÑbCÙ?c,»ËÊ­z’6äLß¹ÎQ…ìe¢f „ü9tÚEÔ’üð­#ï÷Iæ<ÞI*SàNR® þ)ƒŸ`}’IÉ÷¨Ì_cªÖVAŽÞpÖjªqÞåUÛM~¡€ä;HÏ6]á\Ù1F@#AVt6ÿðØc¸JMu(%ÑÂ+M®ÑþõAÄÍ:bÈå“$¡÷çŠNËLþ¥:Äò$ÌLDñðiŵ\Ú¨WàÃ| –-¸Öu¯€Àß1£ÒÙ3*Á›,Ëý±Z‹èl*’*N¥ÆþFç¼»ô{"@Í”wZ ¸^‰²¨3Œ§H1¯gm6CÑÛO†a9€ã>!ªŒ Ñd<+àX¡‘ÿ"µu_ek'o·ûå´Aáù6©†~¢“”¨?áU¡UbôöÈÑÇ$ìŽÑ\¹½äýéžMìÐ|¹ÑýÊØºKª6!@©²ÄÌŠ?ÆT˜<ΆŒžë¸‚¨Çb7Öëáîaõô$oƒAUy™­¸½à©’ŠºÔ® OϨ^_928ˆoys¥µ‡ËώŘ÷‹­~ÇùÃóbéW=m .|]úuÉòþoQŠùiÆë™$ž7j6Ëqõnè6Dî?³S—SM$sŸ³¥.ˆè¤„¦§I¾Î°ö7ªÇ•X{e®„H¶¦AJˆ‰µNCu¨Av1º58ûùŠ»9S§'à{¨ax[ö+¡ñ ö IJ Å—“t^ÎmÎÅ'm€×qÖ}wbÝk+ë zõ˜óX"šbp:Ü=•2ãO‡À=êpªˆtEªzîF´V´µ'(='"?oÎdÅ’oœd t?jP:‰Žj£Æ’%b¢Ú®Ì¬è“â‡|ïü~{”;”MæÁÒsgAY±æª+²è³±¿@6?d*/IǰêÜÕßíscêvñh…Å*ƒ;K°–ìÖ¶)¨)ö1 ebÉ!ì5 ܈Ç%Ãø ’”Éoa7I YÙÕÈ’ybj… .K4{ßSuä‡ý¼±Ú·ÌîèY8FÃÄð¨:2nuí&(þ2Y—0`H?ÓhuÎþÜ•ü¼#j‚ä׎$M<…XÐ/`bSÖ6ÞLüYU\¦Å²N!º” *;eÄ¥¯‹DbYB+oÐÆ|rø»u‚¾6í,”Ó 4õY›ÐÚ:·Ln^»xo L‡uo3-š|Ûfó\é¡Ùˆ¯:¾™â{©ð‘êLPH’‘âíì¹Ð>³ »”Þ’MIŒøJÒ‡ñg]‘Qj»qGò&r5Ë6&ÔkË{Í9æ ˺ ay£Å¡œü^Ô…‚7Ÿsþ±Îøz”ÊD‘¢ïQB³25þ•ÝGOgeK¶v¼#¬éŒ¡w;yOXeº¨ à•'}H?÷\¬¸`ÙûW<7?ï2l뜷ˆì>ª`~³ºÚž8úzv¼ä¦!5£'ja]gŸÖ\ ½ŽšÅEò"êìŒîCg?Q¸’,¾²[ /Äçö·p޹;Û€-‘Döáš±þÀBÌ›ÀÙ¨:ùÎÍüÃ*M‘ÑG¶ÔÈÖ—"Ü¥ÏÆìÐ,[¿nqÕ4j½:jàî eÎâ" Bu€0lÄ67‘Rcˆž9¢”.BÛ]aØ­BB‚ ÜvåÄ Æ jÏɵ“2ÜÜò9XM ìÚJ·ÞSºË9gõ2{t’ IÌϱ¼ù6(œR”žYo]•Œ:!ÎÙhŒàòl§–DT‹j OÒ-k_ªƒÕÜ¡²÷jƒ@µÄÌû£¡€»àšjDMSguÙ{Á3ýÇ©tTEï)èŒxS¹{=írä iO”SÔ5¥Ø-Âo^dØ6z}ëÁj øô{ð³sÑ3AÁñ{§€Æ¶ß-ÝŽ­Ç è®’ðRP¯¸–ôá5ï§XsŽ1ÿDë¤ÒlºbYí÷ƨ*ôù’MtKx‡˜õ´HÚ§³2Ä<ßíÖ« „ž¹Ø ~?S†ƒ)®¯;fÙ ŸºÆJ½Ï«­;TxÚ¸›®‰…,Â>„5×Á YÙJ¿ EÚk-Ð÷³jtŤB¬2(PNÛªfuìc4Šü;è(jIìì=6Øå¨7=W?t t»£^BÒÌÔùñ8^#£ësð”?Xµ^%<7ÄG|0o%1O]³_]F"¥$RÇÇìê°ÿZÖ¾L3 `»ÙoËmè¬ *(al4®§ÿˆ«;–0f¨'£éòK`0„™¿5±‰lW…°Êv¥§:7“¶ú¶ 3S2FÏiP“±{j2Á>éë˜çÖlø­ØHĹÞ‘E󀃨q9a[€¤£ãBRð5‡Áìäð&Jç¤Dn3!ð™—q«è[ׄWÕPI&z…i£¡£Ó¢ÍB,ÝY»#x`&nÎ6áBÛ|D¾ "”‚8¸ùox>;c9¸°G…¶^ÇXü¤§=+Nƒ^^Èr%9”½*nÖúeœ]=åñÆx-†v²ë Ë¬_ ñTGÿ·È-G2M1=þ|ÑÒ{hýçÂBhâú3Ü!wOOoÌ|¯Ã/ê¾Ø6#ÀWÅ "è4D°þh§ÎKs­óë(†“½Oc3BRc‘½©n Ê¡CV(¹¯hø ÕÙ\X”9&þäE¾Mq©¿>îB#A‚ ~‡Ç‡RTY3.ÇA¡€Ý)W$gK2܃ÃÏF÷8†¤¦ _8ñó¯ ¾›*ý F /VdAô ƒ•òÖÑHÊœ8áYòAåV¿ž%¿\«Ñž¢Ô ä‘Eijr?Xq{jØð¦Àaâ8L¤™r^‚·¼wk4îÛÔs‚‹æE­ø¹®#ðàF_>ü¡FA|»=yŒ¾”h‰"3…ðÁ3’ÉCü÷B.U`§zi²Ï‚žì~˜Iöðã0Žœ9bv×ßî’„0.~Ù0 †&ó­›)嘈3ZKшyéñ{© ¯Q5Ï:Jläf•Bàˆ·áÌ+ÓPe^‚ðp]u'•Ÿ[rÄšrKQLÌèÔźÈN²g¥É_/LF©”L*ýðD µ6Ô{ÙsüÌÕwG͢ºÓCfª(ë]^³m,›ç¢4ɯ‡#ü mFûÙ`>žñDiÆ'Èa&‘é*^Ó² Xô;˜@Ü=¨D˜°ßw$K’£pzÚt¦„:*äÁ¿Š<_â–eœ'³?^AO3B)f{ÐÌÈ=ˆ£šÁvöò…î¢O2iÀÞ‘˜¿3l¦}œy-¦ëP·QuöÕþ[7A‹âå2lY¾TxR½`êÅ<ÏysE\N®éN$9 ɤý}’‹«nã”òèÈ“¤ú)!nß/=’Õ8g wÉ·«ûÊš…c®¶ ͹h„/Êôø¸+f`¡1ƒyÁ}¯ô/da2.Kݲ"ÕÙŠˆ,ÚE ¼}ýì9k3MûöBVX:¿‘ÏÇß êZQ·µÿ~ »ÀVf‘êC럽µ÷9qO­îîìf)Xê.Ͼç¼/µ,g{_ZÅsXm‘ûR@rélóµË1\ÓW¼±àÁVïJp´ÅdJùˆ¸Ë"ôVÌ¿†ÑÛÒB±}a0‘'Ä ÅD$õ´œTž‘K ž$ý§ ÓêØ)¶:Õ˜je9 Êa:ATEšjÕ¨ù½­o=OéG+“PôÐô}#C×ùig¦â#³ùü·GÄÒ½?j ý‹úûtÈEpóËÎ~£‚%[…P :UÊá_ýåçE(¼$4«Ò#§®™?)5|0˜Hf§c‘¿Ù8è}Yîo¡õ™‚¬–;P4'ûMÁùÈsaøÃ¼BÜ™M¼‰›A>;e&Gv¬}lœ6o79Œcñy™•¼Ç¾­"¥µK–DË$ûÓݼox + ðx¸mðµãkˆ‹h*‰ÖŠècñ" Ð D2°÷|‰6È«øMÅ‹±–~»7PAYÐ) à¾Y*h-œ4¹ôj%RùÉ›ÐúÛ£Pêõø‹³ÖËÏyùb«’ô+}?ßt.‘­¸î4öæB«Ö¶ìÐ@Êdp^n¥±sŠÏ¾q=ÝB¶ ?”¶xï<úñ¾Â€s´ÆIÔŸi%˜„GgÁfy;²kÌ8TnÙÊÏb&µZ[G`ÝɉQ U>ÀꌸÒ:n¬{1n‘o`Ù-¶T×2÷>a­£I ÷%x| å:î…M¤œMíÙ‰SÖ˜¶ï1›ˆô5ËtÌúÞ‚)×[Q)Aª³ôcF^‚`è·I÷Ý!ÍŽ@î@.Sö>É„ÌA+» vØXH™\ìMä'îû„dò_ı*ôßLÔ7*ˆÔÔ6ÀirhIšŸ%å L—(»È._U#™äûÊs©¼¹CÝg¤_ðæ3s(Ö5Â'•òÌ¿ÚØþærdÓ“ýâ·žÕ¶ 6Úy\D&d§í…ÏCWâÞ—ãn šÞ`å.Û™•oüL'É»ö0<Š‹fdOéLŒ1¤"LE‰ãÙV®¥™ª¨±Pë#^6ú@2ú+Û¼s¿ÌŒŠaPo~öìj]@¹÷Ø©Q««J˜+Á~üô熴áëªÞó¬íy"Ñm]û±’ )ÍÔBvÊ™ÊÓ´ÄLGŽ>c(øÝö§+3Zêc·gŽˆñŠnI9 ¿1]ÞNÛ¯üaÇNqÈN¤Ñ ãÑcþFƒß§AËJAi#é•ñVÜšÅ‡ä™ ¿>LÁ$Í 7 ´‰iHÓø­[nãènË–hŠ ˆ|Ûßʬ庮Á80C‹¢@R–.;BÏ`QrVà¼Y;ˆW ¹r`Œçš57t{„€Wصÿ*Yó­¿ÀW–¶Qž”]ëbÌý;:˜‚òݺ×]wšË(‰‰àÖ¤_¶D4W4­›Œ]eÃ{¥~kTTæp]猅aÀ#ÏšöäIgΜtÖ[ºÈ]y¨ @°ÄÔµL2é}Ñt“ÿ ‡7¸Tå¡¥ÕO!k‰Óu»Œ6³P*g²É7D¯JÜÔþºï,Yƒ";tÖ§J­YÚÔϲ¾:éQmT8ó<^5|µºÿ•¦2×,p¶¸iubn©èÆÉ4‡é^ö$ÚZ•/dÀŠë±ÇäT•A"—ÏEÁÑ¥Bœ«Äݽ6éCÌþäÈ4m%A…úY¿¶Ù/º@}@OÈ#â马zä:Œv–4®õù5Çö`Ýcî:ÜRž4ºÊÙ5r"Á4²aAÐ W¼NKøÊ¦#(yDÃOÓÔse‰S%®arßzùˆåhòAµ­ÝBuE¾u;šö´?±ÿÜc9~xr“Í7ã çs‚ÚW/ð#>Y¯F#*€ªÃëÌ4b=xAZ|µöªy ¤oÙÝÄ(uÙiÔŒ4ˆ¯pË}Ý™d‘¥5p "ú(—!lÓ¥ïøå0Ьž•¶7Víë(\Ÿ XúJišŠjë¸üð(ß‘5Gáæ²*lŠÏ?»@ÊÒáp“Àa*@UÝb,2ÖÞáµñÍŒŒSD4®`÷ÂØó\Ÿðö‡æ,ÆÇXbÅ*—ÅYÕssCXCý¦<–ˆêCFéa­™ûÏ ûôÒÞ °ùf† Nú’ÒñKk@Ç¥¬ó¸[¸ý&E»Â·TX7šZ‰zæÆëEã 4¿ƒÈ9Óͳ•*þ%éLaa ÜO 5”WOƒý¥ª·óB[ßõ £z¶¨ý‰0ïHè ¯mQ9“Te•û"DG;SšU”¥,ÏôË–[{‰Q#µr9ñX¨å+™ÐÏ*Àåë)¢OÏõ/…sI¨s‡áÃýYâ"í¯Q‰Šcº±Ñ,ãÂ¥/ ~µÃëXú2Ýë{ó¾ñ’è7L¬ Iœ$ tH'Y¹#²Añìyíµ…A8º­g?¼×c§»ã… ïj>¾T h¥8±Ýꟑ‡–eŒÏÒ52È5'\. M¨5rÆàMð²§J²¸â³YŽM@&ùt4†þ*D!ñOx›dXnê[³DªFûaÖ¾2¾]Ë×ß!eh;®DõH¶Ý+ ¥qðÜtV~€˜ØÓ1Ö©Mþ4Á' ö.p!³ðmX£òk[÷'OÈùÊúõNýDXGû ¹¹“@úõÂÙ:ÇöІ¸˜X@™ÂÞ“Ç(«³aY%Ûð–Îö¦©exiổM‚€C~vT£ks3Ï ûºCÊ3š„#Cbÿªû]vEÄë ç½.³ÌãåÝßÔù÷NžšQÄù±’ô%$ê\YV ` gŠ”Ÿu?û¿ý”O'/®î˜`–´E>Ž)¼gÝZ‹€D«wqò$M¨B\; )‹DB¦¢Í}^¢ùÚ¾ülêp¶¿ö(ü,}‹…^d¬aFmEIm@ø'ªhé4Ø.WááéÛʃ7èêÐTàÔ&ÌyV‹÷F¡Këü¢d*MS3±~ ^¡8MÃ3Dœn,Ù©|$ƒ¾óÕ…©ÇŒkÿx6ÿ§:æÈ*{9ž °Ð ÍÏW|Kÿåj»ÔŸ„í7™,¸xé–aØ–”ÏäËÏ—‘!6¯ëÎb]T4Ö (¬83p­¡ðV°dô‚ ¯Îª}ÙÅt©‚A¸áRé쬮°ý…uJ|ߌgÚ‚ƒš¤ðØ—sŠs ixrøøŒ<<5t(rãŸ>@­D˜KM7ï-g^Ë(ëVaN”_ÖÛû¯d"ÑpØ^ £`ñ/]í)C-I†hîóCÜôÑ3ç˜Uåx ¤Ü¾ÑY†ØnÁüÚ§ÈÀüé¥Ö§0›]E§G„ÊŠÄ8jë[Édá ¨9<™èµP…›o¡ÌT݆‘|7›à&mË"ðǦ /ã3_Ur~ ù’èd]·>•ýóTù @æ÷jwÂ!áIÎnŸi]º÷ÐK+’x¯ØÆ|–hëuàŽ%KýàF3c1ßÞ`‚/ÿõ–ûº±HG@“ ªÿâ’7Øi3Í÷T»wriùäM "–3¨Íj®¢\§˜‡Lõ}ñÑÈS5gG:‚ðF(iÛ—­2uÚnhrà*rû“*Ö<Ä¢–¤}u´“ûЬ#Ú(ânÍ*2¬Àt›¾¬º­c¯$CYºÌB\¬À¬Â›.O©eÔ ’4ÊÂÌ«³s(,ô¸E´~‚B¤ãØ}Ë*Öž@°Ä× ó¸PÜÏSŸã/NTͰ鎕vðZ×$Ðjµ¦Þ¢Y«Æ?O`q}cÙ3Øñ‡bQDCË„âLùNåÑl¼âíýŒ‡@èÁ`;4¿k©€ÍNÐ’¬“ø»åÁœw‚EEs2ú%ÔM:4bÖp&Ýté“@ùgØï€”Õòž»:DwOÆæãkƒƒ€ šˆLøX)ÛÙ‚HâJîºh½¯:¿Î°ü™¬É´QõêMhúÈ—!Kw¯ÎÃÀ{³§¿Eö_OçvžV3åî–uÜSð‚ÜJØJËp´¼séÃLâUÇRnHU³æð\PIlxp§2^‹O°€œ‡ Vð¼Ìêƒ^Xå%öÞ§ŸE†?ø‹DØJ *õå^S碤÷¦‰%<¿ƒÀ+ÚËœ= Â'ÜO6ÛÁL«HgGìÏÕé±ùfïìºj¸!ñáseü«#!>ðθ·_ë¬Â® n¾NïH´¤ ·-ïûõ¦¿eŸ ÛÄÎ:êj¦žT~ºÌŠ|#t¦L±Üª¦âý?fû©f?sYC±×Ã%÷ÖÛÉô¬ 6"™~ÏèVÒèÓ®ëªá­îa®>¿…æ··?îÑÀŒ_6‚ñ´nb¾¨Ž}ŸÎÇ [°(ýó ÉjŒR #òða fâ>5ûéÕrºÀ¸M‰Üo]™Vº·Íæw¤AÕÂ̱pÚdŒÄ“jpôÈk”õ^<ü³êá_†)Îökbã4¨¥ñÈ(Myô6€5õÛBÄHìÍ‚6¬Ÿ3?í.0õù1iZ£g`9XíÈr6´ëVî+©HaäéÀNZw5®fC£{6”NHR°ì:u}Œ»k‡fØÌ¿–“v½8ͱO zÌH†Úéô˜§¡ç…Ã×F5׌<àô¶°Pø„wzw•…f Ê (Ç–Àxná‹ãf¦‹4ù5¢¾RoÔ£p$S.óÙ|n›»ål"‚ÚvÌ#—— (K²¸F”.ÁÝÑÈáZR\LAtD¤)À¦'ÅWæ/,ÕÜ[ÚY\UÛ|Û"Ú†OVÁpl¨~ºö=bçVõébÐ é’1wQ¤M…É–[ojÍíÞ8¢´qb’_à FÂ2œÂîë_åû!N¸g¢Uea¹i×Ù€K® uCUØ=d°žIŸF‰Æ:O@»¯<<ô ü:Ÿ€…¹¯uéR†|ð®]M g«ì>ŒF¸¼á¶]jY’¦q:‹"môÆÒçO¡,í32}ʈ™õ„½L évrï…=÷tq.wß©{ŽÚÖ}UF¿C-žªÈõ䟛²é#|&0¸9—mPÄþñëa¬éØc†x:1ľ»»ã ­èÅ(]Ã2No˜(H}ÄŠ©D7 imº‚œ0ÐqÉøñóêſ‹ã°VÆ[Hü\ÏÉ× y”…«¥*«H…í1²ÁÕ%&|º|zj×vøC$V]†âfUÃi™E,ÌæÅhÍ‘Ëç 6ùýÙç¬pÌ^€^Î&UÇï¶Ö=6w O¸däRzúxœ]ÚûÒÚIJíbßâ¾ãZÈdí>¶c<`’¦§va<ÂDLU{Îy| ŸT[/ÆAió ö³#è„z}ú¯ N(™dEpDÔÅÜ4"b••J{º­—1P§M%NÃg~ÍùI2¼%X|¾1)¡)¼.'újÍö»õ‰¦®Õ n`F×hÖÄÈÏxüÃÚÔ²ù]u žÙsÜå#|(§¯—>x‡%ÌséÇD;Oñ)ÒŠ¥ts°ú¼ r]YB3~> ÕaàS*S÷Ðp“`ª£’Ïl,xEºÃ‚[YBn¸ýlŒT B¡^I›`oç+È  °`_”aᆎNðBgå$äd¸ˆ1qŽ2w@œ1Ÿ|ÏΖc&‚‡^ÉX¶çƒ§”ÔµÂÁHÓ ýœœÞ¾dŽÞO}³·ü½ÒKÞGw)«pª–žªŽá—ÎAßóz‡Ÿ…ÛøÉ\2g¼*Jp„$7/ôÁJCºê-»P%Ó%FÄFç…zD+6ôàzQËß\”ßp“Àw7¸oõ¬ö$µ4Þv“1Õ¿ö9ÓLKö‹|€Âeäq #~õDØOz´”Ä«cí«Êߎ kOr£9ðl÷Ç•yXDoŠ‹ú~ôyB }s,¡ Åor¾"²\váyL>¾~—t‹d3£>AŸ§7%â*Oƒá"—BÕî`‚Õù"¬Ž-•JâA¸ÌÀúWãÊ_1hgÊ4¦Sšç€Âñ B=ã×M­˜WüMTuò6ÀÍîÑ)§YÒÍq(øpëTùD„Új(¢sì>8<ÏÞ 'wL¼ &tB‹bÐ=¨ ^ëL 2xŠÌ’póÌB»Eä°7S%Á]aTãI|bNøx•m¤yw!oåsX?&U¼˜œÉ*ŒÌ附!3xHvÔ‰QD¿Þ X˜·è€°ê´º°A‘ðW2ñ™›?L h¾MW±CÎ8§Û}}ˆÃXãr¿øÖ74¤lìbÄ Õn+ípìès§Èg¦‚ÃffuŸñ œšb±1 C†³¢¤/'q*P2'È. N£Ëß¼º7!Éžè°º·™äŒÆF?·Ž¾«yñ@:Kî·ÚOß ð®ºÔð_1eœßw4åé(¾1·øíWó>.{êÝ GÀ¿¶†‡Ý~’üò+”ƒÛÐüøh, ðL(éÇOÌæ+”f{4G~ Ô|æ‡øÖ¶ÓHŸêÚ’Þ\BÀPG³Z˜/àƒÇ†˜×V4ó –éÜŸŸù#az5]«dñÈet–mâò‹æÃ I<‘åê:û»Ãh— ç­¾]fîêÊÌ@jYŸmJ4‘{‘ìd˜$N†ãj0vXŒé ²øÆü5ãÏö“œ:«íF·pQëEù$¢,uÅF¯QYVÄ >A1ßM!ôÂ,†iÁ«µ’_ÎËvÖ¢¥3­hj¶|ÇêÛAºtkx CË‚wœ««ÚÀh&L+o2rë>µbp_(ï(2Iž¼’~ª‰d#qêêûóŸÊ~˜„ú€Ý„c>bØ­n=>œ©ÀÎða$Â&â Ňy©ñ…†àkFÿ~>úô¶žÞÇ!¨ëZ'Ý5\èõ”§´#ÎI¿­ø½Š »\HUx?Ø”\ÇábOšsi²ð$06åóQ3Þn7~,K]Cv™£Žþ‚ú¯d2Ò¤\lçk È“å“Wý%Júš-ž„µO†¹Æœ‚øzsÈÅžeš>3ñô¦t‡ØY"~3«+g?_Ó‡€±ì†Í%7€µÚ×Êׄv`7=> 4“$brÅ;cDŠNd¯û’Î+!ôN%ùÈú:aœÙ>kœu»ÒhýB˜eŽtiyD< Ÿˆî©ŸßÖ ·o }‘‘̽CíÒ†tsA,𩮾ݹúÍC?³—}c&‘­v^¯é­üùüüh[ûÓ°ÿNèå~g"•uþ’ä‰ßSÉ~Ñ[-;Ž[ßÙ Ks7ÿ©!?iœô­AŒ†B° íw|˜¾JX'Rì4BE’o8ŒÔC¬7'tÊô3Ë0W\¶+&´þbœØ[!²”G,„¥ž/_¨à©ÚšEí½ã¥ß••<„ü’*ŠWNÔ8¸ªtÖžFRTlŒ÷+歹ˆbx`žG*n&¦¯ÎT¼j¢Ö(;ØÍ©??Jâm&)Ð*>#¾ 1÷ÁpôŒ¯&ºU%íã–û¯ÔùWŸrø4l¶ <×h¿^&qÚòú+j’ôW˜R XÂW% › ~ÊÔìÅøæ¤íO‡r1ÔJ”ŸþÐ)ÈSJɧzª ¿©QÍ+¤¼Ÿ÷ûŠ’cŽ5jðÓ¬êc:Ù0r?/øרpi¨£o$òêúEW2Qá%äÇFž¯•!O/üs1ýê¼Ó+Ü­%àÊVœRB5¡Ð:YôkÁt\]Ò~xº—ß;«a¸”‘*˜è œŸmø´â~>Ëøñ@_»k:¤Èì;!—¿ÄÛ½ÑOä+ð±U¤ËÏ蹊â[ߺy´)å’1½aéTUÝŽ/>_dñgâ´ÔçÙa†Z±‚¢/ó•ÊYÒ™sI¼ö+Ñ˪#dMs”%[Z‰ê¹ÑK3Ý?’ØÆ‡$•­Y±žˆwÒî}¿Eªß?ŒS ºaSk€`ße·ß_Pž³¼Md2J‹GkÚ/æb¤¶¾…7ø†i¦³fÃ_¼¹bÂ#‘ï§k:°ÛõØÇ2"èÞÐXµ•ìµý–F÷å 9z¥A¶ *!÷ðVF›UúúÞƒç!ëg’‘ahšnzŠù–œ„ÈÅl#çnŸ´C)O‰Ó Fþ2f‰¹&bÒZ·&ö3ûðD©YÌ~ ™é9ÅE™=ýKà5lOÌ/¾Ž@ 9sU0ç†ìw<‡O€>…–ÊuYœ=¼ø«ä¸¶g˜Çy5ZW«h­¼ƒ ]@-$wjõȳ‘ ¯Ø ¶2Ö`§o½ÐHúFÍ:ÏRváYiý†ÐºDp2{M9IÏù,IÛsË覇n 3éømÑ3 –ùÉ“·Qжw„e†¾„Ô^+ƒDÞã­¨j §+wdõqÁ„0æÿÕX[›¢¥òùÇ›œáx§~¡\e>».Ax5©ôj-<•»{²é§—΃&%…°e¡½†C‡0/ÚˆiªÖ#Ùå67Ñ‘Á“IÒFë lR¦Ï—öûð¿ßnp[«!ðŠŒC´pºÕ7Î_‘§ÔMxYÁ67U„¦ü”oÌ 9¬¿\l+òeøÛÞ܉&•–Ð÷öYtã†ìÜ^BÙ~Åb1ñáÏQ‹¶Óºo¼¥çyŽÌÉ©,Jì©þþ`À¥Àn‘$: `Ü—ý9é¢5õIDU\[”óØŸ¾|8zlîÆ“~Å ^ÍŽ˜ÃP„n:((uÈ6^ÌF…~$Ñ»çÈ žBiÝí¿uoÙ£Bצ5vß#A¼›žªÙÁlà•#ç!"õ–ÞÖæ ŠCЏxùÒ¸4ÞÕ¸†6Õçʆ×F–$‘²̘¾“ÞâéüÄícµt¸uW`x¨Æ¿ŠoL÷R´6 ÆõóáçØ€Ú=×çN° úöC'ôúãµ»“ÅÄ/[qƒÛ_[3fõKƒ²hËDÍçOÛØ*e›$œ6!øÐh« P°§oÍXø<¶\êÑÙSåH 0Dâ…Í¿‰Úömlàïȋ—ÝÔÞí»gºþÀÇv1Óš3¼$bÔkB§DDô¡Ÿ2“±˜gqMªèB Æ[C:Bpúmüiç‰Ã*ûº¥ö¼õÓ«w¿@hñjBÆ·kÿL*n¼LÔalú1) ”º¼}ËP;¨Á ášU¶òP(ŸQ8¥©iÏà ¤áõÆG„ ôÿ`ö˨î+F_OÍ'jPG½î& 1èÅjAdWzúw< Ý6JÌÏTà+ïÆqJg^Wó#MÝQŽU›*«ÝµªÍ%t‰<øp ~Ï$ÿ¢a-< _˜öùªØl@ªVËñ’³RÚT+äªn»×i?\<@Üšš>/áÄM–UÃ[¸Û¡îæºy6x—ÎXì7žôTK1,XôëBŸ¯âîË0;…ÁožÒº¸G‡¨fb~yîʌϠUނΈ«5êX­ùÈ™8á°Mk?ÓÈžŒ±›.T²ªñÙ/ZÔ†`¤»•²m#9ˆõûe>K.‚òmp{Ëa –¾XäH®{®ý€[k%d<ÑÜÄ–yiàñûd@8ÂzN’H®^#}ð-åóŽðÐ@lu~-”RÛéM>¶P"eÛ€ñhKv()>üTÃÝ…!Âïü;ê2Ü(æíšz98ý_±Kü7•_ÏñßÜZݬ$J·gR~ SøŒ¾©¯ŽNÌŠZ”\{)üª#yvZ:¼¬hvR±Ñò½ŽLÝ뺠Uؤ~„ÏìK’z.>І0øBö}{D½uÔÙÎM­‰e%†®º¡ÐœeÇ`ù†ÆÑñYy楨¬Ê`cxU;¼H &NªjY¦ø¤ÖH”lâüÜæ½˜C”$CÑk7) < SÕš¶1¶gÑ|CmÄ`_]XÞ ØÏŸ8*ƒ ÌýÀò¼ªçzð`IÅV¢Í$ÄŽ ÙÃ5 Ý𛆅:¯ƒ­ôûevOµ¡xvI †Ÿ§H»r´vɰiœ_¤~ÿµ¥HÓî¥ûª#Íeë“ÈO }z…Áw?b›©­ÝÅPÄí7Ú¸Ø/ú … ü‘š^*Ð7b•<ùö*ŠAx(£vUÞ³—GËn°¼-‰íÕž’:A•­Ù(Þ yÌÑTø¬hë%pø. xà-œ*Ÿš`¿×ïþàaCgš Wà/ïT_ZŒë×½¶û0¹ô°¼¿±Ø÷³%?S,v|Í//ìJaíÊLó-_/Âõ6¶ÍYØ”  &ÏÉ3¹1+MH>f,T°~FùÄN ®ÆTéµüϪˆD>µ ßô6Õ_ó3“ÊkÍÃé™w¨è*{zìd2|'IHH˜ŒŸ¸lcÚl«ìéP.eDžVŽ'{þZñ3ÖâQÔ¾—ùs#{WªJÃÉ*îìkÆ10; Ÿ§Aúõš3w}†(D¢´‡pê„Ïkñüô¨Q.‡>ƒþÂÝê¢X[œß¡÷4˜W†NÛ3°<Éà ÚV E¢dîÆG>#>“ñ|c±´U%õ>ü©%1J×—Û³wšý£`øU#Ó’óšE#vm­@ ““vvëìÎL?·þFã-ôb¯ š^ýÂDÿÜ@ެÃ;„I/œÎÒ!$Lw4›+×wŠÂUÛ~yœÀjÁåX%ˆ_B눈F’}é‘P¬Yò2¾ó‰3î^Â6’ÎóÛæGå«–g½PÂùˆ»{?žÓÛ—u?À‡žfáÎâ$xQŠâUŸÈèý|ÿË(s¢f–-mg Í”‰ 8Vì‘Ñ(ÚA¤=ž›©Ù=tzI /lVRç½ãŠˆFÐhzQ’1·D'Í–› Þ¢­JC n’ +Ÿä«¿(§!·ÍÇD^^õOìîuØþƒ)¦Ž>3Ü6Šn±mz|ÒƒC1OCâ½êsË|ÛýÎù•li>£ì½§xûTÞóO9ß^ËöniÕÚùî“$KÌç’.U~3wîzæËVIXÖ̾¹Õù”Nyί¶ëèq ©ÚÎC*cSV7|}õÔôQÈË˰Åå>jpúEû4}s ¸±‡ÕûX\ª8šº¼O)ð]:e7Œ]a.ØÊ8ôÖÚMfËÔ)àÄ#¶µfŸ?¸u†—5JÅ?È¥.ŽÐ¼¢¨¯æÅ˜|éS-ÞJ&‹\:ÂqQâ@+ÒÆJü%å^Fùø5…Ô ¨Z›®Q£´šdNw«gôxž µ‘â­BÊãŒ<š{•Ìñ”¼+Ûˆ2}Ê\S†ñÔ¡çy†Ó2h{äœ[UZt‰xÕ£ƒH؈cjÜä‰Ç©–°€‚.ã¥É瓦8ƒÖ›Dš5(ÀÔüÒÍ¥ÛÚæé=eX$lu;„^ Úˆ·¥¡¤É/þ楻…€óðT Ÿ½;n¼í3¾ÄÙ¤žþÌûtÈþ´»ÇÇaƒË’Œš?Žì<üÙWÒ^=ˆZ+ß—e}@å OʹØðÊõ‚©L;(EcÛö“•ÛËPö»­6ÛOž·(È{:·ûóÇÑÛÎù£èÃç/ýÕ ïw§öcPxÞ9µ\ž¯"ÙKóZu<Ç/Î*ŠŒkˆøøÂû¬Ãi•5~%„ùE½¼3T‰¿tgšø46kN˜#2(-+ÆµŽ¶e•°<ëãäPËÙc"ÓÿTGç‹ëÔ´É·iýz»²ï±ÉSX壆ŸêCè‹WžPì¬` Ö¡—­Èû´ƒêâe ²WÓ$En Ë™¾¿QíþÜ\Fië34eÅuS¾LÒàþ½dIïh©­>€ÆB®”^ËÍ!€.´Äx4ÚPŠ!–JêN«OÚGRÉÆ…2=²Îƒ¿Q–5¿×’%Vë0/f¢=ˆEÝªÌ ²bÉë5¶W´žmÉÈ8z´˜qóý'5@L­.ǘ_í¼O}N¢þ ,Œ0³eAŠ1ûÙ•y&W̹¶¥xrÊ`¥TâVá¶ßødâ/Þ,G³ó$ &°HW+°£-sÊ7ÔÜ’ª"Ûmnž šQµjÄ"´…Mé#ÅØ¯`›ú2@€¡‡ÏâàH9X¸öÍ"â-?LŒ[FHºòuÕRJ-@µÞÞœŒ_Í&”ùúñ`Ïúclš ÍÖ¡3.=8”÷(Ô§½  JNàE~à3UÓUvJƒKܧ-ïÇd¾~Øò0¤/àPw“\p/_9g,Ðêy²3L|¦‹&J I‹±ÊÀF§bc¿f¯†KÚ©°ÃËßïµ p{ÓüÄôèÜÔE[Y‘í-„‰+‹y’Á_ʾ%G›6ì{6ma÷¤¦wNÂXÖ\ çA¾³üÚ+J¶”ÇͰ5ØI2¸k]^œ‹•è*HÉ‹ï¦Hõ(°ãºÈQë_·qöøZ±-´.aRBuÈô`zl#Õ{NۉıœYƒ ‡Rvíéˬ¿gåÔ@e;¦è»®€Tœq&¸ƒ^«˜¿ÉÿyxÏ™&7|”-ű%Uú)3ÓS.ªa`iê&+âœ6´LÒÙ)37îNsu°æj±ÅöòÃ78”,ÕGåÍÔ&j”þ°‹Ù¢'¯øp€ºUwQ6!;ùE^EOØGWÁôþnB…i°Ÿüè§ztE—Œ1¾;SÕaõ烙>!2÷ÀVeÿ(9åh_¾LvHÖ©(çÇÄ~XL[ž,E?6Wf”îÀFK›D(£Lñu¼AæÛjö­ê²w\Aky{Ú¢þ¬ÇåÀ.#¥–gþÌ.õÅó µS÷äúTÔ‹‡ˆtv\êMg;dCÝH MΜÑç'):„ÙsäcÕ­íñ´¾™ß.ýjƒsÈq+~G¡ˆº×ýà¯ÔäÄV+¯CJíü¨2í©¨)ô½¢¬e‹G$Q¯ò­¯ÀoB¹;XÌq¥…ã=g¸š>á“û”×]Ë:¢”ªuJâ'hE@LÇ„¥`ßscš¬©j2@dðËlÀë’Wq™z­‚•ãý5¯¾Z±z"R F— Ç9OdÓÊD»»ÞÆo—/™}Dn™/ BGÆßXƒ©Ÿ‚yùìþ¸õmñ,paBí’Fç}ñr¼{¡ ùá\õŒrï=B7 ½Øœ±s_Äù¤¥YhNÑfÝ&pe³Ç3œ .ÁË©%àªP&{}ÌTÛšÿ‚=àÙ^‘Ò¢¢ù øÖ ÂÃ8ÍéœÙS‘ÌžÒóñÅ Èï6…9ŽÎl­èþ[sŒ5B­ß«©‘)N{ÎzúÌ$¹¤JÙÛPäŽM^kËçc(;õÌ0€(ÌØrSªöWHõ º²]ñ‰%åhp áÿ'® Qõÿð„--öP‰K, ™Û}rƒÓ:Îu^ö'„ Ú³.¦éFd£JœýÏÏ[§yîìš£ÆøÓZÏïHµ·!†Ê†P7õ×: 8©-£¢ÑæmFž„.þÖÝhbVåµ[’Ù1š‡`™kò“l;$r}A¹±ð¯{b·}ïQQrÇZ©> »¢……زH—íÆQIó0~ÞrÎn#Â#'¶¢ýMêp¤Ä %„õûú«³öà·¶šNž¬dá~{ÖÈÚY ï×E ¼qihÅ…»÷™;rg7ÜfxïÙVºØÄ‡#)âóð¶Çö‰nÈZf{9ôô|à‚‡Aô+2nr²ðÆŒQ±vG:û8ÜàGÞDáLIFö?dot+á³3tÈföà•SЬ^„…zCuŠ^÷©¹gðV, c·›¼{÷eúÿµúùø¡¿”…Pl¾Ô=ö§gRE˜¡zÄŽ7OÆüîL3‚ÔBÿUv4øÁªæ…¢X½°^Ë@ƒ±]9~bßBªÈ±·§&?Qãà¥öñcŠ—‹šèŸ/OÍļè¶9­ø¬õxŸì‹è»ô”e'8¿?Êü¹f¼^4ve¢_’Ãò*o:•Aÿv@{=‹…‚lhIw«Ð€ÕWšÒÉXVºaü†N‚ö(Æ:©Œ¹ó͵•å5;nbGôÕ‡fÚR-ý½ÓÀdTJÂ\µaR¯ÒvTÙŠW<63^ä¦B‡GÑ®ø8ƒ€Ž¼Zµ9åÄÝåSÖÿH+TÄì¾`(1ú9`°ZŠ,ÙœA?×;_(aTxñb«AèS¾˜áwÕè‹d¦P𢜘`c'¸UðÜï¹)æ‘-{ÃFýÍOשY)8¹—#6S$‰ Ñ  ›'³c†vÛpŠ -û¶çˆæ`Úìr’óX“à¾Dleó$Žíë54M¦Þ‘ÐÐÙàiÕZ-‹k ݵHé)¬›'g}•˜9"U¯çGõRrv rK ê½zÒ˜ý4©D± äø³‹Ž‹¡+UÎâѵ³Ûˆé·¦ÖÌÕ9œ$ššŸìÄîw[’~ËÀ›í°e5¢‡6ýAÅa|Ül$÷|xš(¾Û?„úNÿífù#¨jË… +ŽÀÛ~ ·ÚŒÿv䤺x¸EÃÁö{OYÕ. û¯»øÍŒ¢ÝA=•ä3ˆ€iÞpž«Í_VO¯:R<åÿ*-Cfµs£>†(1½—[‘ax¹^éÖH› ŒFÐÀFqBcnzÕ64KK²TœGŠëöÔ`­{Ðã©Þ‡ß•:”=¡\-±-tÿ·Ãú‰IŸÂQ¥‰íÛªø˜oŠ »:öATX‰dKdNà ½–.<|fE±~à®ÎCÛ:ð¡Îë:@ŒFüd{ ¨f#S@hZDšþÅzŒM5,•§ìp‹¯ÊÉ J¸Kã ®Z>¸w|mÞ/\ÇŒC¸‡} †HMY¬¨'ºZPSn£$ZdHSàÇVFåÒ|šîDqN‹¼ß¸òV¶ìeR:õ<_8¾‚‡{:$mZI­7¼ü…çô˜+õõ×\aVî‡bý\8¸®•‘«ÃjSý£Ÿj’AhÈD®„0ÃÖ}ÅV’¤:qº6¶^æ®A`›Ŷö:ö]ùñ Ãr™ÑThOÕ˜‹®§àÁVõ.¡ÛÞ¾bN›öb½AM*ÝÙÊŠóS–àØË¡_ɹw¹#Ù¿½Ÿ¿·LKdզב–"Šj;Ò¸ÿ\Rmi ,­sÒüõˆy £ª øw5Ø­°”U%-j0&Þ ê2ÄÚÃ8#I0þDÁ36»Ã°øfÒz{«_G &µf”C…Ü×:<ì Ÿƒ*¿£–Äð'|M£<-ð*Ÿ"üÙqH•ýÃsà.å‘!­áϸžè òUhí1”ÂDìÕF±|ˆ‰ñRD›mÂêbK&) ‚…%fDk‘üŸv®5: 'ûH 8ä&@?úc›ŒÕ6÷JEîì,B5›œñŽßž´_ãõÿ(³RÅnô?b#ÛÇ[xfa=Þ’r›ùÕñ½Y.E’J–ò#v ï©ÄƒŒôŠ'üQ}ªpÖ&‰·žd¸o v¹o%^ÛXÌõ‹‡ƒ^Àâ£À2´ªÑ8ß@:ýëx¸&ÈøWK²:ì8;[n6âÁš›3¡;7m—[ä“+[VœÜ™n ¯ª/>Uj¬J6£€¤I|\£nËÖ>³È­ '„ÜÖð/ù—˜ŒK¹4qq8$«³òL}S´XQ'¶Ê'+Ò« VÃô§›"ÍÞ•Ü3yÿXÁ^w·Ê®À€`a 1YŽ<`i¸Avn­`l³¹øè¾x-\Ðùthõˆeò¹Fs£˜×‡ÚœSˆŒ߈Þ—y ðÁÃü*Àó§öHÏTqÈŸÜh:Xq‡á4²»x0$¸C;Íi‹ÿK2‘©Ñ#¯$ßî¸*¢ì#NsüïaÏyQ·usã¿b¬+:Ónèu;aÌY;Që4¾ò¢iûëI&†8kÅš.>kà xe¢ÛŒ§©0%gT,„°—v<^/IsÅë«GéÙ$ ,àEô®‡¹y^s§»Ä6ô}pVw+ ÚÞÜ«ü棸­Ö/QhÆë®ˆoK?¼y‹•uWT˜I`§«¸`V}âÀ ©gé aAÒ«z’ÄéÏ÷ê´N癈SæDFj²”(‚·ãÇ—³ôÍåÚF^-Õ}¤ `RïƒP0o.¢¢Ÿ/K›òg6­² ×7²Ÿ빃-)¼iϼ² že²«óªKð‘õ'‘&ˆ»ãˆÎ|{ë,ûªâŠÍ4¿m¶ë‡…ñ7Žk@]~š<žI8}¢©”†*ß}Z‚Y¤Í:/ˆ; ëÅoÀX”_㟜Ïäé?¹é?ÎFç2àóN‚³Ã¨Ï"¼éŸ‘c¾ó¢‡Ûzào)ä7µÍƒBå ¢yšÂ@j¸ÌH‰~œÔYüû=­SÆÃuØTþ׸ý?†ŸSa8çžsL¼Eœwð7›IÑ쮄@Âã¼C)ù5É5þHmS¬Ë ·‡iëŠOÝŒËc[/@MK«üD€dµJÔ!HÿÌÑÄÝÉ­:Nðr n¡™0‘½ùê«mt¬” `áeeé§ÏGî-Ç™$¡‘0%9ðЮbЛO©…Ǧ:EÀ7C—¹µSno­CÖÒ›¯.šÅA%2:ÎEè².Ÿ •†XáûÛ­@Šã“óûvRÑ‘«?âP¬H9Ñüzл îE”ÄãÆ«eyÁª¹ªVÙgCâOÛÃL¬ endstream endobj 233 0 obj << /Length1 2134 /Length2 14592 /Length3 0 /Length 15862 /Filter /FlateDecode >> stream xÚ÷PœÛò‡ ã<¸3ÜÝÝÝÝÜ]‚;—àîî®ÁÝ5¸'Xp.{Ÿ}vrþßWuoQót÷ê^¿µºßw 'QR¥6µ7IØÛ¹Ð330ñDåE´˜YLL¬ LL,ðääj–.6 ÿÚáÉ5@NΖöv<Dˆ:€.o61 Ë[ ¼½@ÆÕÀÌ `æàaæäab°01qÿ7ÐÞ‰ t³4È3dìí@Îðä¢öžN–æ.ouþû@eB `æææ¤û{9@Øädi´È],@¶oM€6U{K‹çÿ¤ â³pqqàadtwwgÚ:3Ø;™ PÓÜ-],* g“Èð—d€Ðô4xr€š…¥óªöf.î@'àÍ`ci²s~[âjg r¼U¨JË@vÿ –ûOàŸÃ030ÿ›îŸÕ%²´û{1ÐÄÄÞÖhçiig0³´%ä\<\è@;Ó¿6Îöoën@K ñ[Àß[$„•À7…ÿès6q²tpqfp¶´ùK#ã_iÞŽYÜÎTÔÞÖdçâ ÿ×þÄ,@&oçîÉøÏåZÛÙ»Ûyÿ—Ì,íLÍþ’aêêÀ¨ngéè ’û'æÍÿÛfr°311qrp@އ‰ã_Ô<@;™ÿ2¿iðñv°w˜½ÉùXšÞþÀ{;Ý@'W÷ŸŽÿ%xff€©¥‰ Àdniÿ;û›dö~»'K€.Ó[û1˜þúù÷“þ[‡™ÚÛÙxþÿûŠÕä´µE•iÿ‘ü¯SDÄÞàMÏÎ  gag03³r8Ù™>ÿ›çßø¯ú¿­J@ËvÇô;£´™=€û?"ÞNï¿BÜþé ªƆð¿ìßú úÝþzLìL&o¿˜ÿ?ÁßKþÿõþ_Yþ_ÛÿÿîHÂÕÆæo?Õþü@[KÏ"ÞúÙÕåm6äíß&Äîÿ†j‚þ3Ð"ö6¦ÿ×'í|›a;s›ÑÒYÂÒdªdébbñŸ&úï-¼%·±´)Ù;[þõÀÐ331ýßÛÌ™X¿=Tœßîêoèm¤þ·¤¸‰½é_³ÇÂÎ:9=á™ÞŒ…àÍü6¤¦ ¿{ÀÈ`gïò¶ð&Î`fïÿ×r°…ÿ2ý‡8Œ¢¿‰ À(ö›¸Œâÿ'€Qâ71%+€Qú7qå~Ó[ùßôVAá7½UPü—¸Þ*(ý&£Êoz« ú›Þ4¨ÿKÜo€¿é­‚ñoz«`ò/ýuÞŒ¦à› Ðoda{C[S ³Å!oÛ0û#ä,ÿÅ·Á{C·?Rüe°ùíÿ+ÜÞÕétoæà[Å?‹½é²üßÒê|Óiý¾ µùß”ÚþFæ7¥và›Rû‘í-öíÕõ‡ûm£¿ÝouÞ&Õþ£úK™ã¿øöœattµ›™¿GãwÔ›ž?Ô2¿éqþßòþ~kpFwû?Üoú\ÿÀ7}nœü[¸Çø&Èó|àõ[ÀÛR/ÓrÿÏô˜¸:9½½Yþ~¾½Öùï×ä2_]²7á ¶ªî|¨Æw§?˜âŸ'?ÐL¥¦÷^uêrý‰ ›L]“¸åt'œ<úu}OœêVhøÅû¤­6¬=Q¹ãéã³a¼ÊìAüÊ ÖÐtá‰pà á;z5¡Ã/Ž5¬!ÛÀ{dÈs]¹•òÑÜ$=Ë¿N„.(ÖpÈ"<—ÏÑG«Ò (Y Ï3ÎZÄ!…q¡'„£Aûá²p{7–3ýJ,O ïsÍZä­³Íó¸èµQ©ÆâÜ‹K†«ƒCy‹61Ká-rœ"ƒ½ì]Z+UlFh°Ô"Ð…td«#éYå+ŸÞÇùf Z޲7k¢¼K.2úÍF5§-·³dî…Ù°ÞY¹ûèË+ªj!Ó)HpÈÚåL‰%,­?Á†(ø–J¦û8ì8e™c7hÛw޲1áÕO(~…Å8ÏE·ÏètÖ Áùpé3=-i—­{£¦}& 6F0ú8ÆlA’à ct–­92Töj-Ž_= !k5Q·%Óã…üÚ¯}b$¸fÀwø(„±½ì¨và¼bZ® šI·â‘鳃—}ŠüÀ¢š_«›t2˜%bŒ&8Q)h\ÏYS ¦DäSⵆ™ß”Ü+òL5Ζͅ#|3­1Mø8+]>s"eà.R]1 ú &vÁœUÁª™XÐÁ01sÝ#Àű\½@È—ª†+?zJÚ$ì„C…[©8Œ™‚¸ô!C EǪïÎ"´‰6Uý—{Íëåüs#YÜ~ÿ̮ގ¦ƒh•ƜޅÂá!An×—VÖ÷ÈР‚W6†¨Î}eò¡J-÷åÝ1žfªž¥;K=ÆÛï'û¸] b†î”vGâj\–¨åø]-ÊbçFĦVóÚû”¢ J|pZZ‰¡{{à÷éK§¼Ôi&¿±VùÞíI¹cy(ó@,ŽÂv#/íL2$Íbšx´—c¸á|.Ç£JDãÓá‹äXIg—ýºÞ>Oëõü^²+ œº×ÏI»21’g¹cÔ$K©,SZc1àzé Wóµ-CE©)“{ZG'ƒÐö£ ¶}pX]\Àh ´žm¨X¨¯]ZÒ÷ƒ3Ä»\\&=Ü39Ä '¨•%¨äÎÅW_¸µÉ³˜Œª^pH^ð`ª1ʵCâ€Ï}fuAHÏŒE&šŸƒÄR‡_pK¹ÀƒÆ~ª Qé¡”·O¡çC ¬Îõ¤?“9ü@O$™!%\¿ænø¤àçÔ¹ò)Ë\Ó§=ñ…àhÀꦽñm¢ï¦ÙÚëÝf+Æ [MÒÓ¡¯Ié«N[Ð\“MqhªA<ÏomÎóUs½/ú±¤xÒÀŒ_Iò@à Ì àd+ :‚þôm}®g–Ž¿v¼\CÛäuµvw˜ËzÁâÔú ƦóHØ.n ˜~ÐØr§Ð;Œ´ÐÃó#¯D7l2Ç”gÆÒs)ÍêEôIžeßh‚Ý©Z.öš§g¿¡päçvU÷¤ïö/“\´ey£w¥Ûè$f܆Jßk|à$ ËWSÑ“›SaàØ; ¹¼@êp´28gиÖïqùè¤|« *FÀÕj|ߣmúRCqc§HæÐcÓN/„Á|fy茳M·<|œÊbsªK.;½Щ8ŸØœŽ™äÚUÒ·=Žƒù` Sº™M/ çhÇOzä.vã·ï5Ô¢òŒ UxH…¥âÆ+9Â6e_âËßÔb+‡î`G'‰ý¨%šS+N$sSÑÝ‚ª·² ¯•‡ÓžBÔXñ¼jCÓº0Ï£MÐD/@à0Êy—Ü*×þÔ8¼¢“=,êÛ0lsûx[‰ÖašÆ\8ÉÃð`NB‡1 ߵ(J`¢E[ps4‘…—?ŸšÉÑÞT1“TE—$ªÚ=îù~ˆö3|OªO˜Ý¤gùƒóQfÒ2sÌq<ÕV Û0ëÊ ÷¤Q}Gö¹‹°”Ôàp¶€cïÙÖ‡ºñ¡zé(ãÈ-1)|WqL¿#ùJÃ9ê*§Ø9Åoì7é{þl¸!óîE4PZý²A Ñ˹¤ñÌÇUÎ(E~Å¿¼›”3[¶{òüþ¨ãj?tƒËSå}uWø1×͈šè ƒX(kÞêa²,Y2.FÁñ»´N«_}zÊ܆s–vÇö¼ÊkDbÑ5¤fÿ “:Ø –Óø ò€gO1=ùÆ÷ªÜR+?”£;³œÌn$K žõØÙÃ’?ì­ºaê†hO7RcaÉî«4úÚµ¥UÉãi=ÑqQp‘†LÉ~}ÞHF0paÔD XñœîñëÀ)»®dkU–õ¦^åŸ Ñë4è°Ç}_ÓÉpXMƳ ¦¡)%ȽÇ~¬¼ûàMÊÑ#,G¬¤5¾åeŒ\œ£j2wïópFMŽ-·"k¦È‚²Q°»  RXhT«¡o½v9ùå|ºrET©hóü¤fmƒ%ÐN¹]/u6¸É=HŸDýØóäZßëJ‹aÓhz»ÏÖô­Õ«ÌDÎ9,ëAMF—ºÒm ï9äð“ f„ÂC”<&M;R­´åŹœÙµ™Äc‰ BØD’=êÔ„!p’$wiW介þ­W ^vtåf’ cš[áÉñ –üÏÒ¬E°Œe w¿‘ ;eŒþ•_£N¯Ò$‘ÃxÌòrs±SàˆR0xeJ.‘’~Úó}yÔú=«¤O‘8îeúZ^¬]عÜ%Ê\úŒV(ÿMÿu‰‡nwyEµ¸1g™ÔqeüöÆŸ}AްÔ6»[nXª5p㫜·æbž®PüºÉE‚Ö,>]}%#X¦Û¹È9 û¶ÿ&ûyT*kºy%ÐZÁ2%‚Zª>ÉI)SGÕ|ÑA8œ1{Ue¬$½·sÏ`“«¼n5*An•SªÔÏ|ÞáeÌ2Z]§é¿)Ok+ÛÜ64lFGºÎÈê[0PÃût—™ÏÈÙWÅ?nO¤Bîy¸m—B #ÒL dwþÊ!Ìôí‹E/†ŠwmŽÚ¢wU>Eê²­8?žñ‹¼û×ÛXùW«Þ#ØÒÄüSò8 là×µpÉÝ·–@A#UžíƒÊÐDó(ʃß.wFاÜñ >í{]»‘ÏÍU7Û1'póÛÝ;KA\ßÉ~ö| ÁÍð£-Z"^šmšç¥Ä~ÊG¨F+ lDTrÇoâ.¹&Sè^ãË)} 'µÒ‚îÐr†|‘wÂ[ù.^Óxšµ(÷LzLrJc†C›A®.?=H'ÈŠÖ»çÁ™rÉñ¿çHrɾ÷aýéa4yÔµ;Ê8¿•1qK²§aý@Jé^¯LÏÈxgo‘ìΉ¿›zR0ޱïž;†/Ã]DõûÉ*g5C.{ÙŽHóžŠ4 ­¡ˆHŠ£A‚¾GAèñžÙü°ä¤Ò1Õ:™?%ôô=@‡¹34º¦sCJ÷¢:}_Ù®ê&4W`ù­ÙýhÎóËiú+Ä—ñ‹PTrç±-ß =HÐcÄü>UÌÅ<ÏÁ¥½Pp}}Ý;$÷`O2g)N¨žg(Ϧòç 3ðëxµ[²}N#Ò¬ãFæ}gÞz÷IÑ„48ŸQÛy ½àù­>/ýõ Œ¤*ð#âýŽ=âr³µ+å…{êKÍgÏ0‰ï©Á›ý,Dm‰>Ò4›Ø"¢Óž‚銆£àÐlŸÑžyv“ëŒÅr5ôƒ™›ç4~<Ó‘†ÉÚK0™ÇñÚOq_'r6ÍØ$ &*­¨¼ú'yÖááÒš~mêÓƒdZVŒñ’ÇM1ërž',FïiѦòý"69gd©ÖcgÒ]J=-Áë.g'œ~µ‘7^I°â>›£åmFQäËû¬|-aͳ±0ŠÖËqr5غ佷lÆ7ì>À„·—0œM3±¾UÈXˆz ¶3Êÿé¶Œ¹HÍ’žü5-aŸìÃÇã¬÷¯ ¸çŠ£Ýêf= ·[õSMB„›sxrh]óÆÔ³+ß"4Q„ÌuÒ„kÑú O”öur‚_ÄÔ3ävÍš‹™ŠŒ`ò¨ižU~£ G¾×:Ž]gekÄ–Òù!dÅ9¢ãj4AåƒúOåG)Ô7Ä–9àà.l:)` ú¶ó`ñkŠO‰þÕ·Ôæ`–¿Úà¯Èé!dÔ‡ruÍjÕ´8ðBL°¢àÔ¡Âéî-8/¸äóÙ¦¿¼ó:ææÙ›hرúeëäv›¡tóI !ÎØßãªcÏð¾£x\®¿u Á³"´<1¨öfšeVEˆÑÛìDYôÒ§Ât¬ndùÎweÏ©áI $[ÇKÎlÜmÇ'3¥û–3ÿùyZJºTäsCƯšÞ+“££Œ³éß'¬ŽT}æ~É„y!Ì:‡F.6ïGî,Ya¿+ÝlðõÊóvÖS™³ £ŽâñRP•‘Ûð$°2ÈHN l" ¢žS›ñ‘ÕÆü©Ä#£„åK%à˽KÑ_´éÖ·kðJ ÝMݦÅ~„Ïo©0T@]©/#f†Þ]rƒa^7w<ògãhà º‹Ç:!ùuݤpóÒg•¿«ÈFXÚ…±Úm¼ñzPØ î’'qåyuØpp{Iqá}í®¬K«)“ïØ OÛ¶#„p±gkG·e%o'n&h‹Pª"IX£UÕ¨\Ãõ%ýA!»´à5K5’_ P„¤|[AÐ_3òâˆrY˜áκכOiäËgÁ2Fãü=r•ƀлN(𠽫ôLÙ¬ó®±oÒHnnŠäÛág¼w,«¹Pq¢žëz~—5¦šG' ˜[¾;‚°h~>ªÚ1Ù+í…¦e´ÉõÅ€ô ¹§?ÌEèV€ÎÔÄD×4épŠAÿýIÐï‹©?¸oq¥ šJ/9†ŽÏtrlæ-³I=Ö-X;]úJƒ‰ÇÙÞ,\¦»UEÔÓ}ÑM÷( ØAÕjIÝv"Ãné¥üIÌ:ÎcT$Ì)ë«Ekx˜Ú­òAr_XcÀE?RlÓ©»‘äÝ“ÿ.M€ëôW¯ã}ìÚÀÔZü“ 'íÙ³âz…ÈÚœfòëY\s8°«yÓ£³åî´_›f°3Mî<Æ‘)ôåÛy3hZ8âoŸw ä¿Ìy>Iš¶ÝÊ”pÔ“Én:lÇÓ¥ïÙ9ôaÉùjŠÑ~t3Ք䨮÷d†5®À€Õbƒ–•,ªÿ0pÎ9{ĺHï„…ŠÏFj‡4%œ"s½Š†“¼CŒÉËà +&»>¾n¨S<Ã[ànìqÝy‚DòüE“Ñ6ùËXÏþgñíNf— , Ql7}xÖ(ùÅ´÷+Ó÷ÙƒÝ$ª~ÒÛrj­ÅØ?Y<é-àÐaËj Âõ«Ýœx»vØ#nêvÛ½bãðÛ¿)îg6µÙ¢vΜ°æ8RÑ*² ”Þ| N[¾¡>ÉÐÇxŠpFJ‰bO…G¡–3¶ H—7еÁlõŸLéîcuCà ø0~Õ†u´Ùc$‰¨öF JjVus9L¾4ж-?W_è×´ÑÓë+„Œ`,]4Ç!ir;˜÷ëÛÊåR¼T6žÍú7*0ÈáT§Ìp“ ð½´ðceþ>¾3ÿƒBå#2)$oßëáÇYâËWâGŒ`X*2a…€’9/\'1̸ò›ÕW ýõ¨¢ÀHpYî½3àÎhæKüì> ¢Í£/±iéÉ3ÍÌpC¿Ø)ƒcqØ!Ò%ÅÆºÆ±ZØùŠ ±«š0i_6 Ìš{‰äÎûIÊܲ¸ž“a$] JÊÍ—$¬x'ãá¢4Ÿýá5ÅfÜÓwTŸ!K¾‡Ão%缸˜Í[¦²;dv÷!Çý=1¬¤@ ä—zI!ºÂæ@Oløí›®½ôÍØ×kû‡ìKf©æ”HA2mùSÞzûË“§`ÿ×DP2yVÉôc¡ý"­–T= vdžtŠ’Ì=°óË‘YÝó¼j©=+©Ù`2¼àiÌÔL aZ‹oQ ¨;f’QHôÌÞ]–æá×õÊ—9 üW õ÷Sc7¾YœŸÖgyÁ~i¤A,þ8©‰O6oÉ›,ÚQ<+¶7>âñ¬yú v]F&[^ݵè_ì÷ËRTqQøŒÍ@5O8O‚^ˆÝ`Ѓô|kÓH"z,…bq®ŸŒ»®qœPãVt£|ï5?à;Ï–ŠU8Cn–TN¢DÉ©Q°õÉ…Ÿ†0ÃkuV\4HÛÒA£ez÷nWY±‡ÛÊK@S‚Q­E\lŒ†Ü­þ”¼×îSK¨„Ú.*&în$L[F®yñDu+ŠÚCdh6•oýE§ÇÏj{º)/«@ë¸uÊû¥r•ö+uö[òÑÄEk¼‘}%Yœã2í“Òr0’°•'ÁF«bŒn¥²Ð†©Ó1 ŒShש] $†±Jë)ê-c­”ì\G¼3åÇ-ÃÚ Å÷Ç–+¢UgÕE‚FåÌïó=^„ GšôY¼jF¼÷Tq.fÝ\…Ð.w Œ½ÏG 8ÑìâÞ;‘w¯øöi‘ÌêB~*Õ°¦T¤%IýêñK˜wÐ~W`¨ã5ªtžõ… Uä‡Ã{¡Î‰&=Åg*þGX7Y¸"0ImL'"v²Ü.,³ü}Z¡˜©åáGÈkýµº¶Ï÷ֲ쟋¯›ÐKö¡yŽˆ¯QûŸ8Ô•,)Ò±`if5hÓHSÚGºÅ¡lÜ‚žì ÎKì¾5©êfÈιùF>÷Ùp {d";k-5$þ`Ö|>«®­{ ®`P}=­Þ@¹ê„Ô&œÏT,óI ruÒç‡1…b£ác·'A]/¶Û§¼îñýXІ_ÖêNïÖ.G&EàN–Ñ‚sØÞÌÀ¬XT‡Â7oÙþNlQÓu•¿²"Z.‚`ÖðY]1.¡gufp³†ÉuopEùÜÁêãe!kSEèΦ–Qè¾í€J‘"ºAgÖR1¸øÃwÆU=aÔûì7û塯T·Q©üÜ/8Á•([ZÓ +¢™ a•hu3qŸ£¨FÐÔ+’ld|V¼–`)>IÓ"s@U Ú/µýR ,»‰RÊÉPíÞßæ­>ôñç¤(U¸;pH¡º8ôíÜ¡Á_7`ÝÝ»èIoù‚ˆ«e~°Ih@I{šï]¶ ß¶.Q°šp›Â£Ñャcµµ€PVòêj`9¹É·L]3W/v@å^N¤½h_>VÉç!7IvåñBšTS@ú³›,R|1ÐÿT×Íìs-Š3¢n¢|’óŽÇG½! ™¹iˆƒÍÞû`°cš†:ìIf@­ð¸Cü|W:§÷ÓÅ¡Yçì€ëDú¸Ô'¼a~ IÆoe@†8ñKÓ+Ϭ§PÈgšƒ•~4ˆãíÿã=ܬ±×¯!Ë‹YK¼[‚^ìÎ)i´sG3’&‚„¶ú¹ýR‘PI7qòV¦Û»”<ÇŠ:òT),qð'Ô{&CtwÊç$BIœ¹@µ-‡F›»¶Sï£@ÀÕÇŠQéÃós´N(­ö{cÞrâs9) ¥nl‡RFš£s4Òƒ[¡Qªg®rÛåÝuLš9ôðB+–&rÓ)¿|ñXfêÃöŠ,®D…¯úd굿ÊU­w0z1:˜>?aËI…Ô—1ksÀ}ûvdœ(œ€ßó TËBÅ¢)?ÒLÊsTÁÖ ·)¿Lýl3ÆÐ"vÛY.UèÔnõKŸ`^\…kolÅà[d/®)k‰¬“&]4*£0sø×qÉi/T 3Û×gÄ1åødá4#Ö¶O4¤;Ç,ý5¶¯°’Á¨£ÒX·E¹ºÝM•Iñ¯2ÑâTáM‡X”AæÍm“!þ{ ‰ñk»thÞU¸#V[¾Ô°Fòä6ž/––ôòpRÞÿdžÂ—JÞwûî81Ù~ü"iD¼ÿ“q:\¿‘ ý©&Hqò‹êò•o‹õnäY€Z=û Œ`t’nÇh‘+ÏžW4i›Á‘v)kçòÅ%šØQ¶üã„LØõ騤½kæAµs._Ad~X†˜cƒï ZF­‘ÇŽ-Ãiãæ–G›©r–µt óy\âkÞÑYD5MX¥Ã7¢¨±nô¦n<À¸Ž‚œïÁÒ C•0»Ý¾X†Üþdâf5„ú³õ¨ àxÒä0X1ísÆ3þ¨!ª¿Ñs Ö,Ÿ¾<,I,±9M@ÒÍpåR60F™ÑjqÄ5›[øòNoF¢j(BØ’øéÿ7¸l0qÙ›è±Å{ P’kœ™oZ;˜çVhX¨í¾?xd3,²BÙ&ªü$Aˆ˜ŸŸ"Û>MÍ|¶ï¾Î-]ÍŒ†ðm—æ÷ÄížÉp-WÎX2%³Óm÷Å&¸LÕ£r„L‡ª¿1ÞÁÂ\lß;ÍKM¯Œ–ÏùIÅ‘¹?€Ð*ežRÈ}L „CJr æ“¡ðš-µ—õå%Ãõ Ä¦yųw\¤Á/(ã£÷b úÄ_sîù¥l~•hÁ£À£gl¢NÌ…Ü š#aß*2F™L$Üõ4Çßú°µB´ö~’r•5à—Àÿz&>×,P?¿ÊÈ¿y·ÖrÅ zÃÒÉVÙ+ÂsÚ‰#ñÂkóÍž'/#haæ}xŽ+¡ ƒÙᜀq0R¼ åÃKL|,cÑϤNvº†’êÅùFlÏÎâÑ}‹ŠJR¹ ¤!ìSLDµöR=åTBȈs‡L"gI¼=0ûÛ#*G„ÛÊ®S…åq÷ƒ ?¸ÂYcîq®âŒUŽ]dÅŠ`¬ Ç@Kÿ§XÇÓcnñG7IUøY÷9#¢Qƒ©¤’zdƒÄŸ?¤ÁK/¸{™X“×/¤ÅޝÝH,½t0`Ÿw4):‰·t’5CUò=>%ÒÛdHj„6{¼xöm;ÛE¥ã#Áv±~t?{6Jñ’ BhŒ´äÉT‹hÝÆ…/õ%¡”i÷/ΎѬ~ÖÃñ ÃéáÀ`Ô6©@ÃC^•Þ×üÔVÝX“AVëÄÓÆ¼¬ ˜¨ìÜëPŠüÁåÝA¹•0h‡ÙµÂËŸ2|Üæ]e{ÏѸr?-¾d“žÝˆ¦}‹Š²MŸ™ëwZ* XM†WƒÆ ì`”O‰p#?p‚..÷£òœOz>ÿr †iØk¿[8K>‰«Ä7÷€K;]%6 ROøðß\"Ÿu@åÛÆÁ N`Žz“Ó{¦é½(“QèÈ2[öÿzaTÑ¿96þ‚‹×ò˵+Xc£ÂJ´6‹®Vžâüƒ³¬Ÿ´ñ#"Ë„‘ÌSìEkdÓûTëªÐuÇaÛó¼‚ÜÈn%H#ã`Wз_v­n5†ÏÛ‰ÑÛúúèlknïà⎋¯ #¡ëœ×ʨ҇Bš¡Ât‹yÔùQ—BPïO>7úSp % w‹—s-hÅVÍf!†¢å/«TTöˆò%ú.Á÷ÐâŒç„žÚ ¾¤é»Î~zÀa9g!¶‚fÛãb¦u»ŠÒ+#ˆë•îæo&áÊ9‘PÊ‚ª)Ú+ø4üÑ}fhåµm3–ó’!ç$òn†²hïã\ ¸„ÊÑGà Wý"òÚÈù2/j*~+Ý]µ3áù×£pQ¦ƯÑ$S¿ØÉLÔ½?û#fîÍKt F6¯Õ¸HnïÿÒkœ8$™@ 7ºQ [íÌ3ªàgµÀ7›‰-(˜æº§P+À -|=$èÜÏvòá‰UÜ´~*±Æ’é늦¦¸ªßÀæD;à%IêqÞXZ àŸÖÅS…ÜŠˆ:QðfŒm.Jmà›¢¿/HlXz,ãà ž?/iTë¬ —I"­¹1Å¥ x‚%wBø‘ŠÚ¡þªÛvØBeÂ]ö$RCA³Õï ¨—>q{ã*ë“u£bÈÓKÒ„¬¿W‘ÏÚÐÓc6è)LŽ¡%pU­UA´ª)o¾Ÿ*“)óñ˜Ÿ‘†ï2†LG"ìj“8þâ™Áo,:r6jU‰þ鋎…}E<÷ÆéÈaðZC¯AtU¢Š¹åúW kðÂ*cnéžõx×¢¹Êdv¼ãR»0[Ãôå¯ ÍǾÇôÌg ñkØšÓÙƒ«×©¢p¢ËHŸÝÆŸd.ÕÒÀø×«\.0ã[ÇQ´$­¨¯’bÎ[°GÃl ’Ū®M2NvDW­Y¤5”ÜEÌÆj²ëuc=wÅY–U>Ï‹ö©Q‚bïáQU¤ íEùÒV­ëMZj<]¼¾äDkÇ–…MÆÁøbllY+•=ë@ 5þ“pwÍü[TºÁ¼AÍJžeìÀ$6lõ ðÙ@癌qèHÓ‘×-ŒèäHÁ‹P²}Ã&þ†±in(‹ëT"Kß„®c;Ó ãÝÏ®!–uq-W·TWðUòÖv”ÐÖaøÏ=Kà_^#Ô¢ò[õ¶…0wÁÔT ànx³’.U+ “.ógß5%]Ф…=Ô%l»  ‡såÈ‘Öû2¹Ó|¹â«ˆ ÂÖ—Û4VІÛ/› ” p/yt›6{Zx¿Ö'ÖÅýˆ)A'ëߨx¶ãZÑÞ·LP3ÞÙüM©dBʳŽiÛñŠVvû]MD£º`|ß)_%ó.ª¾Æ.9”-„*f혈h¨Í‘™Ü3RÛL=Å<7ª]®† e-­™¼¿Ø:gm\zO´‚ÅÜw™?Þ` æE5ü¢¤Â£*tNr ¬«j^Àq+£ÍidÆüê‡ðù:9šÖÍJÝ—Š®ËZve—úYøæš¢6yRz±¹´RiÈ ×o7®—…×LiygòŠÐŠ=Wÿ1ØÇU'—¿nîH8g†Ìú}x<ÔêdÏŽ7¿þø Œ>|fÕG—åÝ8Äu¾¡ÍÆ0ðÓžXƒ¦ìs£„ÙÏ··õŸÐ2Ö;Ôâ_Qsâˆ]àÝSÔ·°¼µµ ¹øÑí^3J5 Ću{¡„* lh‘(>lŸÀ·ˆ/ ê\}|™Jß¹·”Ãh|ÔZþVW,»h@x ò²LxíKÌ»uf IµêéÊ3Ên™îÝ”¹Ç±/jĆf¢¸ˆ®™Ì1"CGZ¿—wpâõÀÏêHTëÏRï®q"”bEþE4ÔC=œ™ìö-âGÊ+GWû~[É{«¬F…‹§¸{ò.+z2@ç=A/\P(CŠaYñÝ‘ ¤ R‰T)çõθY0‚JŠ!†5#ïL[ÆÖÞ#NþVAŒ>‹Â:Åm¾ jD‡®9bp8Ë­È¢ñ©«¾®Çó|Õ¡¶P6]"‡®´qaGçªqÉÇïWwBnÁ‘-â%‹[8«Ó  Ô´^‘¦ðÌ|ÛR–bMÝ#ót‘l¾ë3~Ä-¡…‡Þ÷&ÇÇ.úþ©°ýä§íóøàet¼vP0O‹»»ŠpÔ&[ù~å×7)“ѬãQ³Ô↌ÊèÛlDžÜˆþþœù³Í÷m¹T‚|7QqŠj¾ú€'žÞíBÙ¹ÀÕf·4H}ÏðqGT©©—²ŠÐ§Üè…À,”ï*öRÇq$¸ñ—Kõ9éχuÀ %´žêº4´×S´š-:A•yiÉmš]WëóãôëtÕdâµölóh©9½©gŸçèÏ­àR’a8mØ¢ÉuW¥eбÒßq6yšïVçÏœÊW}ÓüXÈM¡XÕmøü "gç ü¡jéÁ^£_xqXËÍQùN¬±ÅñþÚz3ô“P¨„Ò‚9÷J°Ú²P+Ÿ‡^#»ØÚzÝ‚²Ÿ +©wL>™öniÜð¨HJAlazÅ+Ãt ] Œ69lfn 1[rÆâ1ô>MÛpê‘|HÜô®¥•hû’Á©B©C Ç–ÏxÄzËÀ÷ª=Bq—Ô›lÖ®‰xˆå9b¨æUÙV4í©Ö!œ–˜Ü£Ÿ?Œêï ÷#4¾B‡B—-fS"otq"íüȹQ§ógzÂ)ç$¼Š³gýxPDå¹÷“ÁÙoc˜WcÚ㌪B¬Y8„T¥&NX:I©·’ÔÞ5:OÉ+©$]["iüó¯Ò6· ‘`n$ .Êèµ²Üð5U_nnTt­LÄt¾‹ÒÅ܆ÍUâ‘+ö‡÷†!j¼ Q#o÷;±±U“ìhPFsxʸÒþQF©*¾E©“^—¨“û‘ ÔóM5Û)³4š“5gì±Y|šàjsXÖ…]íáð-ÁÙÎW°îàt.ÊBÃÔ&õ97x {§û4bÞR™n.„9˜*ÔÛÚ%þVZæÙ¨ŒR°Cן_+PµŽ¯4¨É|ÓÐjw¬¾ºV¡ru¬[‘¡@Ø S(Âx÷j$_=ØÅÓ;±,4’}µÔrX¾çPMÛ‰‹(#_ë_w,b™ûñ#w}UoX\YtŒi²µÕMMËíZ-mx²,šÛSº*ƒÚßú¥?ª¼êj:ÌXô½uÔ ”I9¡ë¼—Æ£¸û¦-4>Ì4ø¨Ÿçb/:›ïAúTL¦ ¾ °ÈÐ ’ÃEU T ¶òé‹ä% Îš¡1…®6¶_à:ç#…1þ!·—ÀáÿBj¬–Üïl긜f:,ói?:ùkòщ <±ñe¾ï—‡ÀVÞ©YªY€½ß{,ëà§g¬µ{d+”r†%¾c4Æ[Kfñéhí)SܬӲyÑ£œª«eÛli-ƸIUç\ÒøBîXo“î©Y—yQ”-'ç¢.ò\ð>¥qóS²ŠÑèÐÖâs²}Š åõrãkS¨šƒáýCh2Ò±–áå„ðR|®Od½ü/$bìê4qé:ç kš QψBb%ãÞ"äé4ƒ4E.º‚¢3ȾÖm¼´o‡0fZùØQf¸Ûb™NÁ¯Lˆ zÆI .“yØ ¦6£N[ vS#÷‚îŸw2_aÚ92F„ºO˜¯Æï†ÊÁ;oh•M‘\Rã7ð~1®#~55î°XÇ®?,`ž!¯&’<íüd^~7â„x¨K:ms.CñyQƒåÄŒ Xâe=',¼WÆ—¶j4b@u¡ hî‹Ëa`Pâ…Ã+`zx=&¢vIBô~ NXj™Þ'°¤KéàF+D•k‹íÁœ“+ô5C—Óa»:6Ÿ«–.š, ~&j½j1¸˜à›ñ‘µÈ±XÓ9ŸZËç{0°ëƒÆîÏ‹ˆ;ûÃC™D6‰QÒd+‹—Åm¡Z~•¯jR Q-³¨§GàOÚѶ‰¸¢Ûgüµ#!õ÷€§eì$8ñQ}pËÚ´Dú––Ö!hÏ ã)ŠÅŸ­þGã6.¢±QvÆéqêj»•ØJÕ>¹È{Ü8«»ØÛbÀ™ñÜ–­»óé„ïc Jf¡} TÇ"Ëùd ?^.yY‡£XD¡žwKò¹¶o„œ§04ïìjJ¸l,:AB¯BZ{{®“½ÃùÎÃõžmt5ÀMðu…Ør ‹ ª¥;»‚Gx5sˆX#òĦBS–­~Ñfìˆ:á¤ìÏŒ£*ÞÍÉàÅÛõam÷2äÀ¦¡DôAÛ€ˆÀPžN"K¬ðÛOü{ðq~ÅùÁüW#å½e?Ù™.’¬Ùá£mâéŽ 1ã}oêz‹½e™tƒ¹ëz²UÿLÄ×/e­’Ô…ƒñM4¦slY¥cUBì“¶­wRv/$$Á„ÚÂè/7¾&õ?ùŸø .ÉÕ3s€„Þ!¼ОvðÊkC†nÄ <Ž÷Èú «Ý>õT›¥Y<^p{â|õˆ)ý– +®Ã±F÷lGž+"½§ÔÏ­=]ï0>ZfÝVðqÉMEoW}ëW fld˜±   šy 0m;ƒPfG8 € wfÌÅbI¨®ÇÕµÔÄQ†1 =oœ¦©'LÌL¼<6ÃCòpü°¤:‰~Ó>øç¢?…§ÖƒAŠO´¨g¿àì¶æAˆQˆ¹Gq§Î¼fÙµ­/¬Q¦,TA‡ƒ£Æ¾L?ãX,çrD—UIж:M-+*N°¾^åàØV-…¼Ì ×N‘odÍ„qÐbüh«àÕ!1`®G¤ûÉV1IØÅ—OHèÄ.Néñ s;ø¡§Ý‡"<øÝp“~õîKèèy ’ [”RUV™7ô€Xªü3^8˜6Q߯"œSˆG¬ÉZ«O‘¢>ñb Κ&i¹~×7X´È‰©µëµŠÑ«Õæ,lw†þü|ýkÞî>+ð•øÓûéþàdK gXüäê®õ¤§µ@ªN·}‹¨ðCܰˆQ=ûý€tª²Eó"¸…bñ¨{&É(—Úªånð"×tOÈûù9PEYŽA½pMà”s$anLš]‹ÀÉ~JÞǪ VÇ´¸€®1ûLèyQÞüwk³:”ÔçK!þu gt¤U_3„ëØ…ÆêÁX­—3iÔV#0ggke†¶ñ‰%ò[¯ëàÆq/ [õì²J ÀSu¨î—ŽN†=ò²>™€†&íÅþ¤j=?®ë1;²¡!í‰ã×%nÓ(aŒ¤I'â"QH»‡rÅ|ýñqÀÛgH|ìKn†v]Þol¿œRr£V~áRïëB½=IBñB šÝàÑ»»5Ê‘§J»~p÷[-6F¾N`KìÐã¦$=üC›º¢¡¦ýòQÅ)8QKE¡y{^”+q¤ê <«™¹ µ-äRGC²)ƒQ¶‹´UlÅp5ºë*›\›1•0aJ%OöNâdJÀÂòzeIðˆ"G{&ÎIYáÅèÖÀÇœdII4¯¶µÍ`Jÿê†îkzFíWÅËݨâÌ Q±§%òSbѬ]—Ÿgþ#˜Å¬j^wT<Œ£a¦Ñ¯c;Ò,P¹Rx `qWxž}=¼ \r–ܦ`ÄTVSâSã÷z…'Ì^Ʊ_†3gÕ·‘º¥„¡¡mr)®…;øŸH-˜·I_'õæ]PôÑV¬Wû»¯M{ç§+Mi>k¯ç¦E¨Ë,¹ö˜âÍú£²¡òàpq Þ2«ùÁÉw´>ÑòM|«›ºê?i{b5v²T7ì;x¤ä±Çˆ“ *ýg¢æè endstream endobj 235 0 obj << /Length1 1580 /Length2 8320 /Length3 0 /Length 9353 /Filter /FlateDecode >> stream xÚµ4œ]6¬D—èÁD7z½÷.à F™Æè=ˆè%¢D‰Þ{„è=z½Kˆ½~“§½ÏûþÿZß·f­{ε÷µ÷9{Ÿkß7 £Ž>·,n Q‚ÃÜ|<@q€¼¦¼¾< ðüø,,P„ä>‹ÄÕ ‡‰ÿ‹"ï !P6ÅÔ„ÃjîN>Ÿ°8Ÿˆ8àÅþ&Â]Å $ Ðä¨Áa7|y¸‹—+ÔÎÚèï%€Í†À'&&ÂõG8@Öâ µÁš „=ĵ£ È  ·B^ÿ•‚MÒpçåõððà9»ñÀ]í¤Ù¹P„=@âqEBÀ€ßE´@οkãÁgØCÝþôèÃm Wep‚Ú@`n¨wâ @mÐWÕh»@`’5þ$pþꀇïŸtEÿN…ý ²±;»€`^P˜Àêh+ið <\ ü›rrƒ£âAHÔ d"üqv@IVB•øWn6®P„Ôéw‘¼¿Ó ú¬ËÃ!0„þïó)@]!6¨Æ{ñþ}¿Ž0¸Ìçh …mvwá5„A_¸CTþ"¡Løÿ±ÙA! ¨ˆ y€xÚØóþÞÂÀËò‡“ï·U…Ÿ Ü`‹*âµ… þð}Ü@Háêñóù·ã¿> µA¬!vPþ²£ÌÛ?1J®PO€¥@>ð÷Jd`8ÌÉë?ô?n™×ØÐP^O›óïšÿñÊÉÁ=>|‚n~! €("A-üþ;Ï?ø»ú?¬: è_§ûWBU˜-ð{‡ßU Ú÷w%È¿ÄÁö×è°þ{ -8JÓÛFÀ(´A=øþŸáÿ?ýÿÎòÿ=’’»“Ó¶¿ÿÈêäõ%jwj@4á¨1ý/ÕòçXkBÀPwçÿõª"@¨A‘…Ù9ýÓK¨›ÔÖ"lìÿTÒßWJï…AtànÐß/7ø?>ÔèÙ8¢^.n¨ ûÓrCÍ!â»ý!¨Iûï#(Âlààß#É/$ ¹º‚¼ðQz@!!””Ty!ÿ‚¨Hè¿ €×ù?¥$^Ø¿ *þ/ˆÊìú/ˆJåö/( àEüò£b½þ€ÿU¹»«+ª5èÕ–¿ño&Äbƒ?;·‘v¨ n:¯¥õàÞ’ÄÚO97áçÊ}Ž‹èR³\‰ÓOO›S/RšíäSzîТ%÷âY÷l?|’¹ê´öÆ<ûÁuf>òG*©µ2™ÌpWÙ†/„ Àa´dÔ{%nÞù”=DñÝ^î1d)¥¿æ^,hŒ-Ô›¢øžµnCÜ"K©"¦ÚAÿ–}ˆÒ³W[[^©\ d'™³%‘`Ñ‚ qeÕeÂ,ª`oqA6ô~ÊúÙ{‘°:Ùýlj-L  ½l<`'ûA”DË~Ö!ú]ÔK·´%ø¨S†ûãRÞ¯_;þìm”¸Þ äMÂHunÍ7¥/+õJ§”âwŠ–Ä }›=Y›ƒ…1µé6’l™FÞóBMÁOû/ßIúè€÷ÏOG=á–Œ:V¾Éh_i%¾¶!/ß}D¶¯V2!ùÆ-²¦¯ãב$Ó3p°ö$ïéáN„s 2R",›’bO¢h}ãL]âÍVÎÊb›“DÅ£àŠAîø†xÇéÌ©¢&]<¾MÉWgPãóœq‹Ð _ªš/æP[?S,{a#«£ .×èö‡wÁé4}#J)ÞUºÅŠ/Ÿ~Ü0:ÌâúJdù4QÀç¼^²ßþÛ£å É;žcÎZµ”GÓÝ?Ûw—×––TR‰=¡׭_~Z’s€Š?GRÚF Ì/¿Ú(中¹¿?ÞÈf+X~&ššáM=ï⥙ð#=áØÝ½"É;˜x Ô>ÚÔ¼wÝÖÿ"ñášñɆ®>“²ƒò~w1ÛÁ<ñÁO_m{— ;á¯~6 óð×)+™ä¡0~ìÍBHTP6ü±H¨iì±ÃF5èÅI¤²è¡ÿí{åÆÏí‚Ò›|ŸêJWõymLoÞÏóe¦³Ï¬¹€x'‚­ùûs‰£›3¡‹ò^}Üa,3&9ÆZUü8ºßôn½äµƒ­5‘–‘6fàwžˆìÒ}ÂÇ¡¸i-äMx¡Å¢DýÄ2ѹ)ӽЀ¢›¡0ob&ƒ „‰%çF‡ãºz\@lrË6gn¸[æ·¸㞤áÕrÍà c“OzŸ¶ó›28$ô @¬‚¯ƒã;ÆV‚ÖË—ëKG¯-o'ZÈu>Ÿ£óZÕöúîn“ÓŸ•!“¯Ñîp!‚†Œèéí³DõžøNuB.˜iÞ<´ø° |ÿöM7àÝ#jϤ€§¤Y.šÔÓb5ßÊ'_„†*Ëõ$» ‘32ˆomFcu&¦,ü ¶L»4üúC댆|UJ-P§Œ€›ÿЮP0h‹zÁm6póÚûmÈwœ'ûg£Ùþš‚å±HEÑQî- ƒ|5)ô2¯G*f5-šƒÖg®WxAKOÃ’ˆ Yº¨Yr®¬b#%Ö€Jçô›¸‹…TÙþØÂñû‘ʧ…–®Qu–k{ô1{5f'ÈûÑONîJ ^«÷ }éoå冎Iå`ÄTÑc"\¾æIGñòÃw£ºñ¦3¿’pö²aÞÒõ#Žöiã„_k80F „f´ã…~NÉ19Æ—_EbæÒ¦ÀLã±V½Ð÷UhT|FØÎ%žj.Òä8q?œá·+ ~§7D2?„ž–~ÉfìýžGÙ ,ìêgm4ÔÀzi¸šÝåÊdQ6EŠ•«9ÛjFkÙ‘(‰‹1öÑdeoOä=v«^q‹¯Úˆ`–ËRX¯f’’ òšìJ;éϓ٧”1†AÝ“ù Q[SŠ[e<à ;:—ìë ät79Ⱥ^ÌÛ¹8aS§CË’HÖ‚8[Ç=¢ Ç«²ðò÷©ÕƒÃ#}ŸŸZùŽÇOðˆ/ùÂíoK¦±Sj`òž˜þ¶’Èš œÐƒèµé,5a8áp¯¥³¾)lØM¸¦S·_BÌ‘ú}§iy˜ñ47^ 3p|`ÎÂr€{w»¯þàðÀØW«Ž·ó² ×ïî3ÃjÀÛ¶59 Ce‹¾½R¶z¾;Uýê#ºÁLfü’hýfZûœQé22Ö]vl–û*ü#Ç—ZÛ.ÊS¿*êýè÷·ŸtÏø¼Fd1ÇÖ>¸óžÉ ‘zg†é{¼*Ñ2‡Î8T"ßâVXM˜½oä}µØ´öh{îu˜† .éL³?ýâùËÍä\¶÷¯'ÙÄs™T¨tr<Š„Œ‘&„ÔÕŒªÓÂ4ÂÓTżGcN”vTP gZ°¡øƒö{‚–•§Šò»aw­±F}{r/ÀEr“ISŸÁêf-R¶÷s?>1uÏ_4=å²ÖÀÁ'ÉÑRTáp]³•Ìâ¦ü©™÷ò¸Ca~æØç‹˜¨“h/gvìñjéö¬²ƒ©¥é}††0ª»"¹ÛW÷^@ýRÔÕS FVGíR—¯NGl2ZZvW™f’£Ÿ®Bä´Kà#ÕdÒÕ£Q®,ýˇ7·?ŽÉû"™m·©#¯« ù_¼ q¿êõèî’ç~¨üîúZ-…ÜÕÖ0Hn——é{´2áª5éÒ²;éú'bÜ71+C‘7s"ÓC¹+ /Ã-3ROd!Ï7‡aÓàŒàEõ×k‘¿*5µR$·oiy,ÃZt åúÑ-“š'ŸºëàbKÏæøøåµ9©%š·¶Z‹cwdçflßYÊPZûôZã’O=É¿¾Ó “ÞåÒ=Þ®8Á÷°ìýÚ#à´R¨ÏnA.=J–E_T\ûôó˜#!oÿök ’ˆÙ÷³ BÞœS¥ÈâèD3&j™½‚‹®œí×§Žxk>ýÖè,‹„¥–ßåo^Î0zÀÎfˆ^†2=¿å©t~ä©Ì¯ _ÀgŒ(×·=Q³-7E6®½ûb{Í’keÞ¾_Z­Ê!<­?ókÚ0:·½Ã×`c·åev¿ã¶~›éë²  ei´–>ÐóN¢q*jlëš¾Q) Â[X(•]x kób…BÀù÷èJ/Z:è 6Cg2Î"á2‰Ê‹yRd"ßrÎÛWêLt¬×¹‡nãƒoÉíbw?uhbæ*f ÝÀ7¦VÚ×E—dM,*o×ù­1_^î\È6­]37•h˜µ©Ÿò~¶ù𡜳•ž$eÔÿ¥wúäðøtTF>&ãWJú ²°¢B¬(Ã¥EñÚó7§Œì³)f*JøKÝàñaÊ5{ƒ®YÃÂKÒÌ–˜ƒ5ü¨ÖÊP|´(ËØ“Åã}ÛJ p²{}8Id ׿i×XU©’NVQQšðBGæ¬HBƒˆ¾XêÓ¥iðíFÄkKGA˜9Ù;º,›Œ3½ÉFã?]s yƒûlzR µôžeÇè{ʦ¡ë>nêuói>[þFXqÊ5%ÑW¹iz¤‡[µ Ýú@kÜ7;Çá‚¶ü6_4VÙ«Yf‰=hšT•ÝsAŽØ" bÜdö àž×7±Y±²lîW‰9ûæ\ãa2*G…‘ì!1»÷pÃÄéR»gPW¼»Œ–ŽœàVFóvm«ÜŽRÛÙÇXâx3æÖ®‚¨ÏçÙüR­Œh&Rã ©f–?iÓ}”yÁ´¡¤5?až²gW½–t¹PsqÖÍ })ãÊ·T¸»f]óºêëüÓî›×ù†£Ø&c°ÍÑ\ø2}kšqzÍI$¸}ÁÊ„ØO7T48J·2©^¼ÿ¦²Îó.;keý¹ê9gJ¥þ0nà¤_×ÏÅ™^ÏÒ¦ñ‘k÷°(8K˜!;½F†fØYœš ÉwÏÖcs"žË«.pn– Ý5úƒ›y}ƾ,.Þ·0ýÁ§;¬“Æ&ÿaëœ gK÷«P¬ëWçøtMѨ†s…U+hs&ϯï}˜ùVþÆû¿Ü뺚m"Œ-èžgÛ%ú'Cl kƒÒªHB­óÍX¡Ù¤è°cÎþBŸxiM_´W8¿lhN” 9åJ}·Ú’1âHèôëX^Î~]Â[w„v8˜â²Ü¦‘ŸJœ÷´ B^à;Ãã¾-§; “j¢.ï˜|±;5ö°ƒ>`~HÚZ!-~ÆÑ‰±^סg½c´gÈ-ÁröôE$íÉøþ8a£feùé™ÍVýú Uò·›rZНœÑäßH& £ÃêaÀ¾ËP’>µh’¶®Î%.¿W%²/F:gnd&±Ê«u×1„•…m,äÈfÎbÞyçuÈÕeX‹U0&ºžÕšWeIó^5j ê\½Ç­º»a©Ó/4¼µO÷ÙyÎ6¶ VËæÇüF'sj¼Ðš0Væ•håÇ\›žä0Rüa7±`Ó.Íæ>«Ç É$+ZOýòêê¤T ˆ.& ŽéG–vÅÉ{êØ4ìH6šëZqÞL"ù¡3äkï&“£FI‡Û×U³Ë0ºIzÕ"òºo2¡å^á×5¹qŸJ‹°q<¤£žªaˆ^ÜŽ€ M¢PF±êƒc¬@¹­Û E¢|Ð^6~ñ €hîzq}_ªRêÕA\÷Ì$ˆ³“Ìõ‹…;öGV12³éã–I‚ã@a³ÙIQ@I¤&VNÂ)¿‘ùájñ …mÐÂ+ó‹Á»€~šò.É¢ú]‡Y=Ëû¹¿ ùñMu_^æW«•ÕÎ ÉÔˆ¢Ë1¿±ª”õí•Ô³HbÅ(h™9cj\Uzm!jjè%Ÿ®/2»5˜ÒwÀÀc÷¢¶]/ß™2ˆ7O¤;žQpmáiyä$n™Tüð±ÛCf%åÝDÉuîç0ZÎÆ \±[K’­Ñíõ‘ÅŸ¾ž,nMd <…/€m-£R±~–ÉlRÐ5éHö,¼XÂeqƒ }Ÿ¥óJü)OìJúïÂ2ù¡^ß1»³hÀ>µy÷˘~Ô—p\}eïù´5§t²Ò›n×óuÊrée†^ÜP~b`bðŒ™†·˜—4îÀÈﺫ‘…×þÜYáòî$} J­ÃÒ¼ÐÕ´A™Tmm×Õ4c×Þ²Ýqò4¡]7¦Ÿ/áIÞq\ö¬%Unú=µqÇ"Ó²diÏì+!|Ÿl4ÐãŠ19þ·Úç©ÒÂ".†Ñmü%$ÌÿK­6ÇâŽ`Ô7ðZç½jbm”$÷+~…Apij@òD!I—ò9yö|ãË;d&¾J•bÉiu®R}¥ãM¦Ó*y£çöd )m]¸uÍ3Ý¡J´áÓ·"柮Þ=ì/ ÑRºÊ*nIMÒéýáãö%ä³],‘a:O9Ü*ÔöÒåý« i ÏøÙtììDf‡Óq#ÆàäOºì2†Ý¡¶j.«E©šo/F‰rnÒ©{{$[؈/ºùè¤Ïh–>d˜GE4nÙ˜j¬DMìïcn9!ýäWj|Jb›Îï7 e耮žmG±ûJ¾NjãíP½­ð¡Ù“Mžpüáì06<-¯«'Îhz€— (ó½å¤«5m]Þ,<³j› ß»š$øåiuÅ„>>`€•ºÂªÎ¥¡K0J|¦Èèþ•Ä;4››(bú!c‹²K]¯ð´¶þƒ³÷cCp§ÉˆÎŠ×ìñ«Ø]®g*öÏG24ßši{š¾õ‘³=ß©˜/¤˜¯6›:ãåLvŒ D>éÉåÜ·³“'ƒš9!§ o%$.øœŠ¼Ý$ÏL¹ m¿ß¼åWŒŽêÍ©Å0y¾=¼@3yÚ o- mR¾×{‚ýK:ûHÃ?H謔É;þ‚ýlâEÁbìð6ízm' <)ŒXЇê8ù40íª`µ$,gW¦#¡ýùü¨îiµƒV®ò‡>ó_;Jó|‹ÇGõºÝv´ñjuXÇ»ÇN•Ó…ójµ×.y¤2O¶b×"YFËö—Æ>   M§©ºô À®Ÿ0‹“,’áZ;3´}ÁnoßýVèA4âO N——Ô]7~üËß ó¥"\òsW6åòY×DÊ™_ר‡Ç'ËRh"‡}ðywv‚ ûa¡9GOÛ;åw·×ÀCK †èQó˜êv¾a Gà”„-˜ãC"Þ{×ôäB#L6Ø&©ãÍ/ð}}þ¼š°–„/ Ü©Ñ@Cf9 (7ÞñÀ»Ì|šù¤©ÊÄ¥ü\›¬F’6>KrœÙÏ:çr¬’¯y ÑlåŽ9¬±“®ßU^¹p3ÕÆ ½%o£Æ°æwž¡QJ‰_Fø ºe ¡€K6 Û3sfqVßSÜ+ܯÞðVª r ÐTöíO¿2š¬X…#ç„)ùG¥÷péúƵ \‹\'î´GyÙþ¹“–«¢ô›ÉTÕò×hgäA¸ÍÇcCB…=Lê† ó½ùç´»9ÉQ È2a,c#üú¢öd¼ÚvdÆç2¯ñ‹±K’GþoNf>éÁBeǤï<žÇv»ïl,óþŒi$ƒ-frùi¦¯‚Ýοþ±:žˆ£ý%‹G³CžØI««ÂèîjnÚàÓ¼©…'3ò[‡€åƒB¶»_⿌Æc÷¶õüC2)“äâ‡-¢íƒaÒú¡YÆ!&κ½I¦3Å•™…* œ:çõLê}SL„T-éiŠÂÓtëÁþß§^«`3œ(<#\h}éç|ª[Ø·q5ãõÎÉÓ~ m¬Žø›«õÕŸ¨ì2ÓðÒëÔ3Ware£jì¶Ç'dLÖ^öx½CKvî¾4:¡½¥†n>eM×9F}v›ížoõê—ЭRPäÓsÞ¨4«‘=Ìܦ” âfŸËg÷óð þ÷è€ÕBר9aNz¸?û1o`Jš–ŠôÏ4VÅPsL£ñáö†­Á9ÕÐLjèÛAþ½Ô­¶½ì7ä|‰áš¦7\nÙT¿À¤xª nûq°"4 ­®ôÿج6WæÒ]'·Z»ôX´\ýåøI1 .[]óÓÌÆ˜ááÎKêëžéË rSP’h¡twãMN©û‘sù§ä_|â !ƒöy«sóL:ƒRgôÿ‹ÒRÁÙà⥠¡þúSÌ5ë$Ãôm)‘o5\øã‰!WLlƒiuŠ.›O¥#` _vºxë)‰óȼå}øk#1ŸÛ5ƒÖÇ‹E-Ë3;—% ÁMØGR ‰XÏd‡ê,b™á6Í£¡J÷MhA2<æñ!±Q‘ÜÊ2wg™‘Î ÷£[h}!Ê z¨Õ ±ºWWHeüºò8"æ~îoa½?næî;Æ36•³4Ž¥|MBß<û¬ÅA¦ÄG±ÙŽÌÎd͈½}EU#žÞT¶KLUJ_­”çVÕº¥Ñ(µ<•ñ_Ó +S¬ÑŽy]¿ú˜‘…OápŠRù,œhàN¥¨B®w´&ôé’?PÐSÐX·Ôr”¦Ì•îþŒÜ4Ü@bÌø)bï¤çª //)¼T ð±9d*¤CK¿aÛYÞQß{?vÞ Áì£^u¬çÍç0죻lÛü¸|EÆïæ ü/ûSëó¹Ñ‘™d‡…ˆBc牄(æ“Y4.l½,‚H¥„'¶µ¦2Èà;¼oYӥц¢.òÒèñÇÛªÃ"Qã”á¸fíQëO#^Žœ¶Ïg=ÑÁËðÚ äeŽþ6¸3<Ö$¸”­&àŸt2›2©–Ô!u|æÛRp×·"ö#¹AiO[úÛRÝ'm·¾GaŽ—¿ÄÀ¬Ü])œˆ ÐÆ:e;Ū{=ôˆF*©12sóö*;nÔ0XmÎù»¼ó•©€å8’-–y9žGcîr¸ýÃw[NçY‰ 3Ѹ®–a,F¿߇C³®­±ÃL!ƒ)Mþ}‚¤žür‚ì÷Â_}ÏÑE¶Ü'»åAg¿œ¸ïÓE¥}‡å¨3ZMQ©© `Úe_·—˜×Ž­ø(J3‚ÔÉ% þõôƒg¤S8¤]D¯2ÕÔ=9..ùR¼N/Áܽ7§’,ˆ²ÝØu.L.¦’ÎŽa›êëô±õ>i× dõõÛ$kÏö)•+é•%†Ùè;Zö`ÒHÛ¹#²Þ¡'$Þ¦$hAlÕÊ^ì¶š¶cåÓ}zš¾ÙÅ>icЬ¸--QÊ,Q *~{N‡U[öÝs™ÓmE¥â^ Wo0ä­+޶Ðkü=yiÆÏŽÅÇ ©B®IqDb˜øKBWnâáR•÷>1õf Ièá–w¬^&~ÄŽí dp\;eá’O'ïÓƒú„_c‹ÑöòÊÆ/0GåçZá·¬~jýl9oªÖ\_çsÛ'9Êÿû†¡I½=vïÙ¸Ù !î(Τñ÷)ÁÛž!&²Î2ZÎ)>­ñŒvÚ¤< øgîôbík„×2_0Ÿi_Kçé\Vîà™Y™¥õðÝæ”ËŽ!O- Ãòá&ΫúÙ# %9B•Õ{óg·›Gß‘½©±ÄßHÊ>¡kVIða?>VßÃ"TÚ rP;$Ì/Àñ¡1@e}óÀÕØ¨Óù¹¯ÝmÒ°•u!Ù q7•f%N߬sF6!#øh~Aâ£ÍˆO¯bv˜šËÅÍgW²øYÁ>õ+ÍN6º !cÓ»i‡VËù!@ô#ßÊ2¸íŽ….Öâo:ç{söT[q4¿ ËQ!7¥ÊM·”,‡û‰\G¬9ÅTD4Q1ö~ßÕÛ¾´ ÓÈãe%F—e™bÙ©‡†åxn‘NÌk:~L(ÀNšnˆÌätOŒÌ"ÄÖ#´‰ïs-.?¶?öÒ_Ikç„%»ƒÞx_܄Ƥ½'FÕÌÿJH‚-äT¾b+÷š…LÈ:,ùIb_F“õ KR)±”Ò,È‘îܸA~ 3<£@w?çákíïǤ؉qXXÊQœÁ’³®ÚêÇD¹ˆuxªîêf;oa¶ÍAîÓ]_úÑfËÍ¥xåçìˆM«#e«t|:\i)§|£ H±L\0¤yuc†oËÍ<ŠžjP£kcŘ‚|kÂ+ »¯¤ÅÝ|±•$W‡úŒq±âVâ“Ê6Z-{¢%ÜSæ²rÓÓìlÿý/4E‚“]½gù³Ì/ÅS×Û|C·-o9¥ÈªúbÅôj Wì?7ú_Å—àÙgp¾”X¡  øöª\²õàY cš ÃÌXLÛ´¥Ä÷Ž€Ö\–Ì.Î|…ËâËP®Ïp§\ ¿·Ì§N •j%€¯ï^Üþ8‹sýªø±©V,Ët–ÕɪÚOKïfiiÑÑVǹùó‰H˜™fjDç¶™ÕõÁ~^^à %SVmlü’gF³ÃÿØ©< endstream endobj 237 0 obj << /Length1 1438 /Length2 6052 /Length3 0 /Length 7022 /Filter /FlateDecode >> stream xÚwTÓ}Û?RÂPI‘f*pÝÝ)’c ±m#é’îTR¥DBR@¥ABBEéx‡z?Ïs?ÿÿ9ï{vÎö»úú|¯Ïõ=¿qÞ¼kįh´ƒ©!X~°H ¨¬«« A aHÀÉi ǺÂþÖ8Mah ‰úe4 ‚ÅëT X¼£.Ôzà  ÁbR`q)(IþíˆDKU p{ ®P ‰€aœÊH”7îè„Å×ùûÈ å‚%%Åïü *ºÁÐp(Ô…``nøŠPˆ+Ð …ðÞÿHÁ-ã„Å¢¤=== n$ÚQŽçÐŽuÂ00´Ìx¨qƒý&à;Á1¿ FH¬' â®p( Á‡<@ØÃÐ@|u ‘¦PCüvÖùípøçp€`ð¿Òý‰¾HGü †@¡H7á G8à®0 ¾šŽÖ {AØ_8B\1H|<Äw…Øá~µª)!x„ða h8 ‹ÀÀ]/0 ^¤Á³*Â^éæC`1€‹þTàhîÞ‚†ë‚@z"|þ–à{‡ öP‚&¸û˜¦Ê¼ ðo# Iˆ Kˆaî@˜ÔI𢀱7 ö˾Pã1øù ( ÌîÃÿ|0‹~óóùOÃ?% ´‡C±@;˜#øwv¼æð[ÆÏ ÷Z€ðôAŸ=YáfD¸zÿÛý׈î©ÝU2åûù_F%%¤Ї_XÈ/$ ‚A"@qüƒß?óüëþFÿK{ÿÓÝdÔD8 %.Pàïo$¨Áýgox€ÿ,¡‡Ääþ7ÿ-A¢ (þ üÞ‚_!ÿ?ò_dù_ùÿß©=puýeçþíðÿØ!npWï?xB?Àâ—C‰_Ä»šÁ~o´.ÌþÀí¿­šX~IŽx¢óƒE@"¿õpŒÜ fŽ…:ý&ÓßÓÀ×p…#`w‘øÅŃþˆß=¨ þrÁàgöÛÁàûk¼2 ¿jÿìCEÚ_줨‚FC¼xJà%Q ¿¼ö0¯_œ X|Ùè€D.-&t¼¸áðÇ€7üÖ€‚®M\(þQ úÆ·ó‹&øVþ–]0˜ ˜œ@B¥ƒ«ƒ[+™=ùW†dH¶ÒÍ…ø‡ ¬É°Ýª£6‹ FÙYSÚÏÕ&»ÀjÖÎmzJî‡9sv|–kØk½EöùÙÕÖÙíâ&Î÷/'ú°Üš l$xb–¢Ä&UŒî&¸ËEÕN.oïØmÄIéûWuçÇDO.º5q­½ÖöÊ’,zIÓ/Ÿ ±Mv}Æ+¢» å~r‹ ZжŒHÕ˸¥-ÓzHð¬ Zèíîbíˆ Ôòx´ò#K­*ÝÇ¢"r¹ÂtæéµŸ¹Å›4>vê´ ›öÝ/æyR«õ¶–·7­nr'µ‹;Ù&9Dƒ¿àŽX©Q3tJiè¼üÕHûéœ0v¢†^¹ÄŒig:\ãõ\Ù'V­°mï©ñΑ…Ÿ´S5-†{‚¹ïè&Èž•.ñ«ã|ãáJØüWe õ²*}φŸCÐÓ×ì™}îq3! ‰4§c¹¢Éàæsjaá«ð´r“k‚uŸ{/ÞÛ÷Á‰œ=ÝimUâšr¯ˆBÄÐDãjf|3 žoßÔBÓ«¢•qžn‹û¾^‹V:½nÈB¿2\‹›è×…Ô£‘R@öœgm‘Á1 ͷʦ—ºÂ÷ØJ ãì Jôò^ïÒ¿íA¶Ù .Ð 9Èó¸7=S)Ôèñ“€ªÞÍÍÌÖ¸iz0h_³>@Ú^äi¾q!夨ԥcºÛPíXÞ™ i>ÜðõËæÑ4¸«.ÀcóžÝr÷;±pŒæqÓ6Wˆ<ìÝûƒxÙ𠇦z™ïÎÚ?q¸4ºîÏqÚìºqXQ¥K.ñwå­Üpè GmÊÇÎøÕ`‹i觯ye>:£›\áíí€~ólÉ¥þ¢…ãƒouórò´S˵Æyûß =3Æ¥al™°¦-€à6yDó+K½÷Éׯk~ÁyaØÕ)ó§AͷĶݱÁ Ç~í4«#I<•¡ÄF†cæÉÞ7hd²0µBÎÉúÖ-‹AÍTœíWbM²›C|äÆcóJ+ž)»!çW@Cœ¥~OPÓ7ì?û8Ñ‹ÈEÒD^¶öT)ú®3ص¿ÖE´Ûß±^Ph«“'C] K³T*u7)²ÂNNØzw÷®Ü*Ó†®¯Ú»r?ßü4FŽÈð²Ð6¾8ö.˜¼¢%åH7bTd‹Ý–bÈn`§>â><‡šj2V‰qÛ uoF`Cì‚fŸëm† YAáÅ}‘sÙ-Ö·èô—ÞÓNÖ¼Ú“U¾–»ïExÒÖ1énæ ßá­ëŠôõx^(Yt£2÷–¤¥–úìÞz†_‘Ø3!?í Ð7ÓJú¡—Ñ—§‹ÅÚý"@Û.J á=g®ßä<æÌ7d>iÜ‹©ì!öò yEë°¬ÆÏ‘y+ÓŽî&wÎEÅÀÐ+]Ó{mݹ ±+Û…bYq_¤lŒTä(}w¾fæÜY‘7ÓÖq4ÌàyU59wÑgéÀJƒ«&ìÁÊ(»µ· ҇ʒ°u.5 î(ÀÓŸ!GqGEòC 1h‚ȯi-Í6»å!—©GôÉÌæÞ.•ä–<8ÍÄǸ&”sUˆî]y3ZrT÷þ#y`ÿ¼Î=ÓûÏí¾ˆ˜çX ‚ :ÓË©Ž»TTß4ïn׉k­?|Òo’Z¹Ÿ¹Ô s=6Ö`éCŒžygvÁLzzÎbB‰g²"‘!ÂìC¾VìÀ «ôåUf\Sà¬^9W2S’ú{°B]¨€ $¡tïˆæ¥a5\GQk€ÉGAmB"×b^î y¬äÞ€jO¿ªG‚5¼œÇÓvÉ.‰?ïUy#½ÞÕ;—Kõʯ6z•Fdé]ǃ¸!ßœcºöH«ž‘툔½Ù’gA›tH«  Iýà É;káÀ(K¨KC/<ÆÃÙòãY9U¢ûóòz}n’6Kþû7£Ùr6µ:<,hƒý¸:VÑýü‡Æ v:~‚rC¢.4_d <ŸêŸ‰Ó‹þ ¿Í,•üáÎSz»òñu½ý7ô”ËWt÷ß÷Þ_’K¾FÝ3|¾reå‡0ïçÛfÙ*kQÛc¾Û97Ô"çû#Ϙ֧t¥mì R´49ê›S:ïõqd w3t_£=Èײ`Hðw˜ "’¼“òB¬æÓ ðqþ˜¿'âåæ3£;$òàXù 2Š ÅñîyoWîGK:—š†±/󨉶Lâh¾}Y#og|á¦0ÊKgL'7­ÚDXh¦ïÈ?•2ÑMY©±ŽZe¸Ñ e»Ef‰+8}M%8:ƬêlJâ“ ŽØW%›êœŽŠz›iûâFw–R¿ûNÕc/8+Ù¯‡˜Ê–ã&…§Ú'´ü[V-ª[ëÎÞ Ûžzä¡è “+º¦fÏ3÷>ÓÞãÇ®¥§­W–U á²ßÿˆ.$ȉaÁu®]³¶/í2V# r› 47éGXmx²ï§ïŒÛÀ¨T¯a¯š@E¿¼U^Tˆz„ì¥êõÒQyÛ¦˜Yÿð´[¯ˆõ!P'êk–Cת wÊ£AD^õÔDÖ4|&æùðȳhÌÕÎÉ–˜ OÇè9²J"¶U‹güD¥§ _ö®­•â^¥¬Ä¢ËI(7F9 •žSè FÆ}–jT¢ßNÌ}à PgÎ?Yal »É¾͉ÜUô"¹óÅÜëß•ªOù©]Z^6åô¤¸.îž¼Ôf+w‹šU˜³)PükõCûýæ±v²;†0r·q ¢²˜ö”ÿÀ÷òï¤æ3‰Š§nЏɽÏYÄö­zÒ·–ÓýHGJZQó-û©×•Õ‹®$ê½Ë­|Ü5ï+ Ô¾üMŒª]qþ`¼×Öv¹ÕYJ‚ðÁýšØ€ó3“"NÞc1fË;õJ«‹‰Sñ2ý+w£9PDÎeí=ëžØ>xɼ¼@ëùxNÃÏqà+“Âî{ÍÙÎ!~O–¯±Ê—·úØÒ*‹+À—ýä>pX×Ò•t¢R™'Ì­羯|R¡•a®‡ ÇùáÜÅôS•ÉÒø¾½eid™¼ßx†ârý ‚SÖr¨>OPÓˆq#à™¿1W LRŠ7\gºr€8½\nž*§KH®¶âéçâ¯3¢ðùkéë«ê²]Ö/œ>nð¸Td6ÁÉ%ìÆâ0Ö7½ÔÏâCÉ(7ôB3îG}s®XR£3žiywõd+ˆÉpºòãT›_ðÑÒ-êFVñ­>$ \'èPݳۊº£\î¾ÓÉzjN»©™ŸÙ3žFŒ~e9]ÿúÑ›óO'†0¤­GÂb3ÚþJþËðxyE–Ã{å¡ë¤UÏ&šÌHöQ¡ã;.¤Oƒ†ú󨩏'­t—?PS’SÑíÏÄY–¼×O®r~ç-˲[bUdÄqœ=€~ ¸E¢b_)~'t*Fc(B^…Û’h½Mp†ƒòeWUã*š“¶„¬Ð5…R¹Ü¬r¥°µ©»ƒ³5ãÒ{?< ös3ËZçÿQ§»¨8„ÃØbìüâr¢'O;1 t6‰˜AÂÔœ%µð¶`JýÕ×/R]¿EÍ9YªÛÚ]Ú‡°Id4ppÏm÷Y›ÓV¸gÔŽïm-í(“ÜzqîÑÕ¸ç|FM#Ÿ–{<3 È:Ö°**P‚‘jµêe–Ö*yU-ïÚV[ ¥£Y>#¸[x°{F–?½Á?þ(È$Øo'šœ8sêr"¸â3Oº>’„ÌÊ£ Ž}ÛC´ô¥PB“:5Ôòf³§A÷‡ÔXò1âô5Ô(`“Yôæó„œfPrä§)…›)õþË*äc·%¤¯<|²]{¾ƒ!f͵ި”uTþþ4¾6pVþhmóî²tŒUb ÚÿP#±"Bû“¢sgMLù™¸ºã㦴£7ÌR”GJ²’{—ôn2pdò6ˆÅï÷9¡)÷n‘³ÃJ¥×®Œšu ”Øû¨ŸTÓ‡È æÀËõ…1^ðÊHÓçîWâ+^$•QM >;è]òô¶šŸ°ÌšÁ¹»};“ÏøX¨]¼/í³·gÜ$òˆ*´=÷ul±ÞÓ­qªÒV—Í….û¯M'UÙÞ âðB«+4Ð8¡Ýïjó7ÍG'_3…fËo_- #N?Ûè¶ ¯L¼O€>8õn21 tY ŠÃ¿‘ÔõG0¿xØìÛb~w<ÏôU7÷:nndÃÍÇãÕãN=,oîà (JzÕ S…4Öe|Ž?3{C„•³¸¸žD­äh+ñÊáì×j¦KDŠú¹Ü塘7UœÜ3'¨!•i[B\$iü¨H í-ÿÊ»¥]ᛲTw Ö“Rɸ7Ud¤kœ+»úŽç'5WŽ„0t¬OëçOkCÕßêõFB{„Æ6@Ó„Î.‰¿W~l­¬”·µVI';‹Ž±MÙ¦Ëru/㲚mK׃1gk¯%jX¿È¢À)?(¬cÒ¶¯Ñ]§¶½ëotÎ.«={.¯z´ªÍœ™ÉU÷‘¶ä"ç°ø-è5n%ØütÏäI©{I/¡møì@‘¢,ÑD¢§·Ç‹Â\a9ºªZ¸ïêRl§€0àÛ”6ŒFä$Dy‡VÐOÖû±½\Ó^ÿ¨mjtû…ÓbtN2JUªÕ³?;g„^JC‘˜ÛYÚ)«¹·Q¬ÕkûýM’9¡×Ö\ÂzQ—¹èˆÀ”SÉm²f ÆÜIP!´Î¿£‰^«ðÊRhãV`¡”;1}OŸ“·öl홚´Ì½óÜw!?ý;}·_4Ì“SÓî ¢ÛN‹Ø+¶»ì6ZzókO–]K9]q»  ˆ?æs¢Ê]e=mËúÙíUyÕÛ? £É·6]nÏæî&(åûjQðœïjX3“ÒùÝIõ0‘W‘á HÙ²*È<-ø–üò{Bé§¹uõw½Ô‰$ Ækšºû‹ÞQô"‚º¬¾• m·semŘzHIâ±Wi‡$\úÙàO×He쎒³r›.–rÂùؤe¯f«O?|ˆ“ 7B£¸B«9"\ö–ß*,‘Õ¥EAtÂ_§Ü »Ý_ ó=IÛµ«øÄ–Nq«&1RJí÷ÛhÕgã™w·B¥–Œ%OÑÏ%Ì—õª.lî&‰šºú±Èfµ[ö<‘ê”/µbT_r%TÑoá‰%Å¢·5åY/›èŽ&$/cÛ矈铅9+M-IȇÈ^Q!yCÏbñx×[%i²í²›Y‘Íí»(ÈyН'µ¦íeY'ñ…ô`^ñ he£n ÷)*p­z+¼úJÿiì‘ )ia{ Rp?;ÂDáE‘¼³Ç7HÏ+^¿¥1lsh ³ËöÀè4_ª™vy/šjoŽ9NÑx\dïb†_q÷6•ée[ô¢ÝåÏò'þ©>LçWy¯éš>¾[1ÌÏ'üáf:1Ï]ª“‘²dæõìÒzHV°Š² ¬fì§jõ£EøÉ|±' —n£wLþ=å‚$r»£¥Æ¢>rEÏëÚù€ƒW@–²ø,ò|U±eVW3t˜ ©ÈÙ¡n¿ “•qxºÿ_i¬'òÞç…w9‹I;(Ò|ù+¡:TÄÁ»µÆÄÔ¹ßpþ}ÔÔ„YçÌ:ÇL¡âã…eê|÷Ûr•¢«æ#Û6dÉx¹Å_Hø? ‹»6ºÐÓæšüZ‚ýz={u÷«F'­“†¢Ž<–§ÜÎ1çv+¼ô²¾Øhæ;ÐÑDM7ȵa«²ö-FÆ´Ù“ ´<štð„—=V1h;•¿¤sºæˆú!)ÔW8󢯾”ˆJõaâI?W'Ý£¤=ŇušäAµ³üï—¦Œl•¯<w‡gÐËØR PØê†¹ÑJ¬±™¾m(Ëèw}/¯¯ÏÔ?š72æ•8Jh«ÓÙ|ÕÜ œ@îâŠÌ‚¾À¥zIÍZø¶‰SµkZÚ~N{~~†q3.muz$†žÚØÖIä’2»ÙÕ’\r|^P§c/F¨}9óªÂ‰ð{ËoFzROòéÿr$^/š'3‘ŸãY7´ã9™BF7¤­ÉEŠ]]êêõçI#×O¼xÖkî)úVðÖÀ¢¯Kz 7Œ‘CaNëE«:EãB"[ï^G HwyÛ 5b¼ÎÙµ½r‰ß0[®wè˜|´äKŸh¸SËÚV³¯¦€èƒ[ƒ»ùxl> stream xÚŒöP]ÙÚŠâ.Á6îînÁÝÝÙ¸»; Á‚» 8$xpwwwwBp¸»»ÏéäüïUÝ[TmÖølŽÏæZ”¤ÊjŒ¢æŽ¦@IG7FV&>€¸‚*+ €……‰…… ’RÝÚÍø1¥&ÐÅÕÚÑïq ‰HöÞÄ d§àèu·°²X¹øX¹ùXXl,,¼ÿ5ttá¼7ñ°6(0d€®”âŽNÞ.Ö–Vn cþû 1£°òòr3üíµºX›™8Lܬ€ö ÍLìjŽfÖ@7ïÿ A#`åææÄÇÌìééÉdbïÊäèb)DËð´v³¨].@sÀ_ MìÿdÆ„@ P·²výG®æháæiâ€vÖf@W‡»ƒ9Ð: &#Pr:üc,ÿà?µ°2±þî?Þ²vøÛÙÄÌÌÑÞÉÄÁÛÚÁ`am(IÊ3¹y¹1LÌÿ24±suù›x˜XÛ™˜‚ þfnU˜€üOz®f.ÖNn®L®Öv¥ÈüWP•%ÌÅíín®ñ{oí4•Ý›ùŸÎÚ:8z:øþXX;˜[ü•„¹»³†ƒµ³;PæýL@"„ß2K €“………›—t½Ì¬˜ÿ ¯îíü[Éú—”¿¯“£À”ÐßÚú‡àëj⸹¸ý}ÿTü/B`e˜[›¹L–Ö¿£ƒÄ@‹0¨ù.Ö^=Ðì±Xþúû÷É4^æŽvÞ¿Íÿî/³¢´–®‚ý?ÿ«sôø2r°Ù8Y¬ 7èÁÿÃü[€ÿ&ÿ·TÙÄú?äþˆ(ã`áàý'Pñþ›‡ÇÆ‚æ?+C øßA³ Ðü}}N3ÐëÿçøÛåÿßÜÿåÿmôÿ/!Iw;»¿Õ4ëÿÔ&öÖvÞÿ1²»h-AËáðMµ€ÿ¬²ÐÜÚÝþÿjeÜL@ë!ê`i÷o­]%­½€æÊÖnfVÿÌл ogíTvtµþë²0‚öt …3³](® ^ý­‚öé”p0s4ÿkñØ8¹&..&Þ Öƒ'À—´¡æ@¯¿GÀÌäàèr€ÒóX8º üÕQ.N³è_¢€Yì7â0‹ÿF<æ÷¿/€Yâ_ÄÍ`–üXÌR¿€Yú7b0ËüFfÙßÄEî7q‘ÿ@\~#ÅßÄEé_Äâ¢ü¸¨üF .ª¿ˆ‹Úoâ¢þ¸hüF .š¿ˆ‹Öoâ¢ý¸èü‹xA\t#ŸÉ¿ˆägbïZ¥¿.Ém@RÓßÍì_Ä Ò™9ÚF忎¿$öö¿£þ5CÌæ@PþÀß@yü3Àÿ°Šš*W«ß½ýËÇÙ´‹¿Ã€ gñ‚ ,þ€Aë?b‚ðoÈÉþôøÍ‚õ/Áïàœ™;º»üqÈÀòŠÿ›¨3VÞNV@‡?,@²?Îg¥ióÕÝö*㟩jlÿGj úýŽÌ ru-âzPɀœÿG JÆé·Ì ôÖu°Zü®9ë¤.ÿÓ vÐY q½]ÿ0åú[fíø»¥ â8Ù¹»þq&Hâü»{!w ëßwÊoP ÿ¨0+¨`¿#p‚²pÚ[ÿïpqþeôø£Îœ  ® —Õ¿T@Œ]íþVVáßôA÷=³›• ð UÄÍÓñP ÷? ¨9@3Ï? äíõ…÷þ‚jïó›(’Ð埣þçÎ4swßíï·hôÿ‹ÿþr½€fKóŽfüa6ßÂZïkD <÷Æg(÷´Òh}—\ÚÜQ`“i«³B6\~‰&u¿[Ý‘ ¹Y&yñ=i®ƒýØ’¨òãÉïÙ(^ujïÂâ$vÿÄ—Ñï}Dð„Œê"û~/Î~šÁ¶ÍಔyÎî<(Ê÷ž½R^ßûÊVF?Ìï©ìWsÉ!>—M3ÆhDë—ÌRæ›fÏá’Á¸1ÁÑ¡_z¡ÎÞþšAÏx#‘§Gð?a/òÕÝd‹}˜óY«PgsíÄ£ÀÓÅ%‚¼E¢ò;L‘ÅYðýZ´Ú¿èÕ,PD’‹ÌºÊøŽé-³ÚZ5Ê¡±§Öct©u7/FMб›X[ÚˆiäB¦„UýÃ( í–ÝHtØn!¶ÖúK³ËÂ&•p™wúû`YÇê$¨©Ë÷©Îymh¸ŸñîCjËýPãðN—¿V‰pŸ0¡¥'+„•^äê _&Q*t™ÛD§PóòG2Ï3´I¸€oÈ•Ø#>ëö]èðQÂsÎ<¿«XÿÊúKÅöÍY´;OtƒÐ·P.Å7ÓŽÔËË/xVìÆYhò3%º>實Váÿ¬Ÿ -c¾Ü¬Äfz_êM"Ÿ°Í¹x5@QÄ!#Õ³·P5©âmóÀ[Èt®Y©ñ#޳P…t÷4Šqì°>xP,4¼—÷—ùáö¯òr1C¬#G͇ËJϱ¡Ø-uî°üOíªA¹®JéR¢QÅw;s=ð¦ägêb¤öŸQµÔwÆ:‹Ÿ=ÊdÞSR-)ôÉ |ô[2X|_ÔƒW$‚ýé¶1ˆí[›Ò= RÖ»µXʬýHr£¶¡FÍ«W|15õûrŸM°ž…é±Ò‘© _»JýŽÞ&?gt:¤]<éÂNPÆÍ† Mtä«EdÓº†§hÝ2amæl?pãtpJŒ¶ShüTð¥”:k]¾ˆóm>1ÇfÛ'[ä‘äs“`•«þ·uÌ[ðrAýNpŠ÷ÂÇð“ûÏ\ɹÓ^Rù*å‘x»ÖÕ”óI9¤ Sòl`8µz9h?wŠiI£-µCàÌÑ¢àÀvæ¨1¿}N¹RÅPf—È' cä«E£FÛ|E‘E­f‚^êý&.;&ëVFÕãË ÇU‹@¬9Ù3Ùy27/=GxÅ\:Œ"¹`éI&É™ôÙóJ-‚¯ú-ØQE`ü`<qÊ8 A ›˜•¥Ô.ýMàÇ‘ýE]ãÃbÖúÕåz^ØFåQ\}}MM¦ðž±ð wÊ 6¢Ñh´^rû —²ëÑ ÛĽ4Ø2*2?Wzs“¿‹œ;ëûS††8´uv´[å·©ÿ_Þ¸Äó¯fÄ”úÎAú--ûJ¤z™Fw2-5ß«Ÿ±ú÷Í¢ðY6ˆÊ¯druX*F?{ørmà&Íëß÷ \r‡2ÈØñï “²Õ§uä˜Våp‡h»p¤†å|M"ÄuŤrÚˆ‰¼WhP"å¨?ô°)±Ìh¦VqÉ(SPØ==V41&âlêuâžÌdž¢îðáðäF¨Ø(-“L«}>ÞÉŽâ¥3¸;(T°õâú¬»'¤ç}œå¢ËøAWŒÜ×\>õÆÛ1þuC¸·P. ÛŒwdânKÿÒ2×­’J¸t'v¢÷瓌ú‰g[â~+Ež¹¢¾xSæ—ñe¥_ó"EZl^$‡<ΤòæÓU;Ž'»¬šÌуb‚"µ?ÏHYºtò}(Î&ï‚({+;¦†°<·Ö·Ø Ëz6UF/Â2V#¨î‡ùböç’08|õ¬(p‹)æp¥ƒÞ\w!Ëë"Iä¯a¸òœjמT¥Œ'35Õ9R>÷_yq©viF_Zež­ëæ}w•Ð(i¬òfsöXÐÖõÅTƒd §Çö½"Zs*q¿TÚ¯šR²,¥AÓ=gœÀöæ'n$2[ÜödÛµQ*K°åókŠÒª‰É3ï ”aŸsb”‰çˆnÜeÛñWùŽt"Ò·,jC;HÂ$ÁE¥…ñøª.:& uõªãÐìi]B˜Š¾Êù9* aÌϤj¡m¼Æ·!{ï*¾q•çÕ¶Ý™¸åÀ‰(±žä3gƒI^‘$5°{“§ï˜¡*(,LJõ龬éAÚW¼µøLDKÂÀ£Û•=”“uË U¡5Å>k‰úhÒÆA­ª ®Xã1ä_¯—\¨¢c7aµýŒ€,kSÎf:l“‡š òº‡*Æ5Ò×ÖŒ@øù©’W¬®üvëš÷€fHpz]Æu ´J|lJtÇ¾Š ‹6¦·óŇ»ªÜÍljXàp±ãKo(›xLùàiŒaÕäŽaöë–³Ó•íÄ WV 0u úÀï»V6 \©ÂŽ}¨©É¿˜ß:1ƒ‚Œ^¥Ä¤”³iÍÐÊÃS>OzÚó!Ü2WP_pS„LróQNò^=ßô)-¾]38ÖŽÆÎ²ª+{Ùtº2f´é°l.enDëåÁ„C…§f4Pλí¬YÔT2ZHp5´=+p5Ít@ñ‰ï‚ƒ­,<øÂ7O(Ÿãƒg‹vYæ‚YTPê¡ø¾=JAŠ›—BFÞú•*QtÑ’`ËÁŽËü£,ügI¥úk9ø½å±/J±¢¢¸Ã×§í ¨êïuöꨗÆÁ´–'÷B©: X‚å¯xXÌÖðÖKÓîð¦9øÝâ<½>¢ÒEs¹ìàÞL×zy^ÍÛkn¬¢î•eÙHN¢Lz…j‹l¦žIôf·Ò/çŠ@|\+Â÷£ßÖûÈÒI‰vËùé¹ô¿xzá¡ëlK!®qJT­&b¡æ­6§HÕßm]Ñ‹"Ù5bL³¯ò¸3ݸӟï,‘=Þñ_2ú ÕMQ"8þ¨ÞÈó‚dIs A›ÄC×b•ôš8Ÿ=LÝX¾ÚÇÇÔ{izßÖ/£Me“ûখ8y\w!g}ˆOÿµØ÷•ÉEŒ÷–C“Žx¥8ëc¯[™¹ùÝW°I[ųQr5ày3ü…dz‰vÁ’40ˆ‹ÑŠ7‘Åàü›[Eæ¯ÝOgà •ïž7èZ#ú‹ó“wú0Â0Ê ];‹yê¥>#‹K‡kXm¶ õRb©$ŽK9*·õnO¡…R”ŵ‘M±³·Þ)ó.ðžêƸò~§6Þ©$F>uYÖzàSL*:t¹Hj$±EÊ2$ÒZ §bãðD/µóAܧ˜eÓºÀøæ¹ÞªÄkúV¸G¦Tœ‹1<¦ÕC'‰n°Æ\lì]­R 1”¤¯’ÜM IW¶j­Ž}sh¨øenT¨`ú僥úwÅ9îÏÕpôªéó§z.E™Ïƒ:·}g:Î@ÿÖÚEB¤¢¨»EÊ?Æ%Á5$ No^£/gäB;çP¥£©¿Õ 몈Œ£Ê,mºQî¾¥duê}¥åî¥jγwÈFªÅ;Ò¡ž]1énPï¹¢Öv œÝHgv0rH†”•ÏÇF„£IAøv72™PY¯Hä+'Y¿±rih›iºÞíp€}f,_]h·bòE#¼¹Ï÷9ÝcûB~cµe¿€#ñ'kE †‹½èÛ¹k2fwÿ͵ƒî$]úÁÒ»a×ÛKÇLLSßxïyD8Rqq’(_38&­@Ý†Ó â}ÄMS§pKWå4s Æ)ý_Õã³™TòNPèM¨vH~Í™u<‡LC½) ôã>Þ_=BI¶Œ¾‰ùT Ìýð“MØc¶âø¦õvác6¸I!)ÞÜ{„”•¸–žK¤°p÷Ü{’ð:"ÞjWá¹é•vŽbóG‰ð$)Ù¤,‡‘’I!Hkç¥&z!÷Ê^AÒáyX~ǰZÏuü+RÄó˜ït0ÈØÅ~r.Ý<ïßoIë“Í”ëÁܳ¦Œ§Ÿ™q*Þó–9 ±qËþ{¹©we†1Û| ßì[Ê'õ_7N:?yO¥E4X¶;¯¢ÝL#½Qr€:ê&ó¥²>ppŽiI‡ðJdÑ«Ü%åÑÏS‡Õàn8äv¥ç7QEhFyd‡”¨Tah£ulC£ðKÌ„ú€ìþÏü1ÆÄ5“g_åÄ>®_r{ºVIªã›„’í:Tœâ?à—ÎÐv~hÈ~¨/ºfŽá‡UãF2l¾åÛuƒ’­µ9Æô*ÿ*AÃ"5Ì?Þ‚µ¢â [:d«NÝ|™óŽ?G ΙÀaq×=ØÍN^œ5Q»À9†ŸŠà¿Ðë<],¼5éÃ*®FßIX¨ÌÚ@ ‚PcCd/—MQXK¶£¹š©§€#n©ì1Û;)rÊqƒk½#ýh{V×M"¥S*7u›gª9Üc4ü;úzz~~…ÁÔL‘ޤè$Ÿƒ=΂ËÀÍêì}ÉÅ“£<4+’¨n:%~Ê[•1 Rƒa½ßÌ´ Y¡Œê©|·*ÓaÜ Psyõ6á((ëH•ÎMòóBÅ@•Náè€aG…‹p%¬mLÑà#ÜgÅ !f÷„6½—¶ùXðnÇË+Äk5aŸ©[hyr¾º:Â6µjÙ®—Ÿ*¥š\à`9£æGk1µ+é“iÜ8Ð(\°#c&¢&M•"ðÝšpôpãÁΖ !ÔßѬ-cï»1©%õönÝỚ¡ÇÌ1#-ôº„N 1Pxÿ´ÅláϾ‘’y2R<°C&Uš‚Vy@m¡à:;K¢­¥ñâÿü«¾±I§·>Æ1hvÒfl€Tºý"JIú nh,–Äè¡!Šÿðã·ñëÀømÙ&|”oÁ«äK°e¨+ÔâVÂÁœéaj¸/D?ÎFjº®D+q³á3L*ê‚1ÓEÍ"?Ù9j×)Ð\†qk,!_1^˜tÐñµY1f÷³ƒð ª2n¡–±Ë{ ܬ%Ý«{οQî>õM*€‘¨N»w294D ^´:Q²…4În<ÏÜqºDªäq÷^¥p¹NY»IvG°ð7sî¡çìò }Y3˜Ë~$¸ïÙnµÇ”M¸Çfœa»#²ÞYY ¶˜}±mRe:ɼ}ñ °gB§SÛé~ÿctÉÎû™—;»Içv^ü{eŸýQ½aCµ”;§‘T&ì}ýkñªsô,âëfÌèö%Â&ǧZÖJ‡£§÷BþN0ôûe–¼VD_ûÀ D.Œ §›¥ä~ñs–Ã|ñ8ùµ+ãâ|!ú•ÝB4dCÍÚ½"¨{m·çºmêât]ÇåÝÑûÛ_|Ÿc–͉aU‹ ׉¢nhH'Œeq ˜´Û-&e_†Z¬¶'xõfKÜßàÔpyåðÂÐzÕåJM´)v=-‡”Bõ¶!¼¢œB ½¡dhRÞZmÞqÊ—”ÉtšÕûûYwRÄû¼ßÆÐ˜èŽóü¡CßöR¡Ë7~qÐ;ñ¥/‹µãºÞ.p ØI0nì~/ïUqJ‚5¿qX—Ño¸ÌEpΜã=õdlr™^<ˆ©W=ùÎxº}T"§°Û¿ úÔ„˜)ßgßúZÞ$ Ýßf¸æ`Hä©0rÏ¿/Ð uÿB«6}Ïá£kl‹Š/Jµ°n©ÏMTò0z”PÓω£üÕ`áä…œ±À¸î+e·qJÁùZÇk™p‹ÇÈ~CýçOt Xó/*Ã[_M-ÂéWZÛ×ÃrÉàc–J4à[}¦n,-ÇLvcãÜë$ó¦Òz0´½×šÊ*&!éZ!-½qk³tÇq|•Î+È\¸Î0ìšt–:~ËJÓ8» @º+JH˜ä:¥íÿr“.í—ÑòµR”›ìÈ÷ýUf6·…¾Ÿ®{ÅAO¶¼2Ú?, K³¦ ·ß&^žè1–е%NKRÞ 2o‘vNöÑÉ®¨q£t.ëWÃB_ج QM/‰Ê"Ñ—ïGt4ÿ€C_F¼MQÌߣàòø¦†¯®ƒö‰|·J>õc¼äü@8l‚ú×é]ÏC $޹¦”ü<ý¶+V…Ôë—MCæ¦R纨¡_àVÑ}¨ºÄ>aïKÝDØï€è™¹‡ ‹"B6´ZVÆ» ­Bo Co[ÀÍ3Í÷²s~©--Ú¨þS%â.‘ƒ8ýꃢƒ‡ˆ¸/i… IÊþüБd3­r¿fÈÇãÕóQ$ïõð_î g!‰ð!ùÓá;ýŽUïõ{C¥Ýg¹ÞTú^&Ó¨³UØMù½È›bIØoHÔFùÊlLÑÎV(›Üdãa™…†ó•Þγˆ\4׃»ñ¼ jšaZ…h·/r»ê ‚ì² 9ÛßéäOJò¿cP¤úJa]©_«¨Ò%s-=;ös’¤SXïLdQòç@ñ VM»k¥V ‚ö‡Õ¦Ö™ï"ܻƲOÿÕû®d–äèÒ—ð[å¯Ã´q<¨!ÏEYž´U—–‘#Xγ|›æ6äEÍÕ«XV°ÎˆEY­®ŽÈŒÍ" rRÜŸwÈ*ýT&?Bì—=ît¯}\ýÂCü {åçêÔ0"‹ø‚,Êæì[KºEÙ/>Ï_ª!²õ âÅÏë}7o\L|–ÍÒ_ýŽM\IxmvºŒôü€ê3âÖnÃ:ÕŸ)zàò‰UÕ9UõŠ7*ëÑÍ Gâ]>‘¬¹—…öœ©V§·º. Ñ¥ÍG²¼"lFÿ‹r³þLñǪ˜'ï‡ûЮïà1e9d=ó½Yß-ÕZ×v MKµúà`Vh¾ÑQ¢=a*îi±"£w 1I]*{t|ŠŠ>PḤò‹šËˆ3Gû#0ÚÀ¹|ôGì®QG_"³ä8ð鯂åñÖ´ŠÔö”£ÆªDˤ¨C{±{Wq¾ONJ\°-NJ+swáTŸéìj 1~“B—Pˆ_0Èû´KfpÅF) Ò¼¿°ie¸E¼s4zZX8@¾<àk^ìä9Ffýh}LâÇë’8¦áëà3âÏ¥fp#¨l´s†ü©^Ъ¢î¤R¤¨ªWy§äøåEK‰«ŒÉ¼«_„ô`!õPÔ¿ ç@±jU¼‘ŸÒmut>ü3ô¾}“V²^F>ùÉv\ZŒÜt†$@êQ‚?¶Œx0J1uZ²«ó箹ãýƒUßûEopñFiv‡í=„Ñ ]†Q+=lq*dø†¾\0ë\¿××àQÛFè'rÆ(òªˆ-âêˆí²y±£ó,Ù‰Áâ‡D)Ñ„Ò6—çõs£S¿Pg–{`R¢ÔwDlš¾0Û©D+óhuÁˆxD7¦Aè~§mk«/fK­9Ǩê?×òBMdëþxýI±¤UOå‰FÒ,ߺ†"ÛxëÝ."WàÀÉБGµê3 mÉE¾ûõS:¶»&&æté#tÒlÈKŽô 9Y}"»c4¥Kß=m~ sÊd‹­—@Mƒ¢ÜÀ3,eªärF¼Ýçc6ŽR³»_òWl+’µ0å'ž‹ÆÛ_7¹iQ*Êz–Xò0e&o.uCØY4§U¯q¶_lêž¹h "·R­|.|ÅÜþÆ®™ù†5¯µã!±ÏkvÄíµñú²½8ðNx·T'äŸÓÛl‹në­< š_u¸|¬¶qø¶œ=„âëLÍä¡CÜ-–DýØDûþžb^:°‰ß?Ù÷aœ>›²âð»·„ÛÁ þ—¸£€«6‰˜Ë¬ºÌ¨ÆÏÁ¯b+¸ÔIG÷ðHÊð%<&`´¸qÒô1;;h^î{Å9-ò“u6©}Ýi ®…ÃæÐãYÔÓ ˆÎh·õ[$YÌ¿ÞâRêò„ž ¯ÞVÙE‘Šk Yå‘!tWbçÞˆYh7¥ž@¦ s˜[vS¬…)<òPÙâÏödƒ!%SЇô±,þô¥:­5zä¬$Ö4Ì¥UmÚwlŒ«Äš]>œ=þè‹ÂçÏ`¹„Ä£jÎÔCI5+ÁÙªbVñ«üÐ5㚦_þïÖí1x$k6bjK„P'Ö€°hÙ{¡Ü¶ßà©©p0&CϬ¡IHÐÅ´À-²ê×àYæ7gMàþο0†c˜áðC`ûõsÚ÷ó˜7ì&Þ ÃrHôjWJLþŒ¬³Gβ¾ÉIc¬||' V}^•/×ýr &Ê,å¦Å—aÕŠ®q=«Øºå¶‰zôcS-…š”õH?5d3–vTeìø…ÉF^ ñü§ouaù 4æúi7eç&>j¤•Ê”„þ6cŽÂdc:9R nŸ}™ˆˆÜ‹í/ÊvÏé΂‘žxævß2òšn«(ÃqúÞˬ²B¿³ëXü‡{Ûý| rµ6ÏW®’I, RYJK«AI Ÿ4w¾ê UÊ=n*û‡m—\8H>”¦ÀÙ‡UJ¤»JÑ:ˆÒg¤zÆì|t/ï35Q1u½Á¢RÙ^¯éÑ(ÞõŸÉ7ËsݶиsxL½ÔFkÇ\r(È.͆ÃXïÊ0}mƒ/\Ëë3pPšarÍ)rÇÖ•ùãübäËNRŸ¿ža†>ÝÓDVùÈ·Jéj}çdOHûÝHd\"S‹!žö,M…×u#i”‘ûº;²mÒ95­bb§†;j_È"I&ýrŠt¯Œ³ÏÞVCüòZä¬5´¹»J@YÊ•Ó]C Ä|—+—T}{åÓ( ¬6É6g6Ør§ÃJ¤¾Áî,˜–æî)$d×ãÄzªg:ê>q°®šÞò–£§M°»4Ë¿k“»åE/H¢vüÐbcG9X …‚#aº6Q|ƒb#¡o » ®±´ó´I3‡9能š.äªN·QD\i9ê‚\KŽPzmi†ðÈ ¶ÞsŸz9›fr<Ú»®WŠþ°ò*b{øEò›ÄOÅ$ùEÉ(kªš3üÔ3÷Â[©Ø{oBº§ï7¿xêI¬ažF «Éç¡õž»½âí¦tzâä-™JX±VöŸ+~è+™²|f””M»ÔÆÓ¥­ÆRŽqÚ-#¼³°Öó»ží¡èì½×/óRL;É^µV±WùùËryp@JöÞ?´W&¶¡1CJÈòb 檀õÇÆXC†ý4ÇÖ•uãŒ|iy*—¢Ó–[v+ÃÞá<|·Ù8Ž÷±w-UÕ3IZÙxhÔ TJ¼?LDk‘ÖXƒE ²dÃ6Ó™¬PP¬Ž–ȼÄb>n Liu€x¸”Ú¥—$ú;‚üéþlv‚6µú‹­°ýBz•Z#ާÞõÔJ´ôÏU’»Qe(< p~ a© é(NÕ…iæÅ‹*¯ÿ¡(l??žz¶¤VïaÍŽ¯k³Ñ[Xñ.³¨"OÝ-üzjµõ·0§j ÿ28É^µ9-„S‡òRÄÂp€Mø—Ê)Ÿ‰<òêOu6Rr–S|ïH܇Çc—šÓŠ&ì)÷…°duÔ>,.öüù§E«5ØÆŠ}—†]m›m¬–÷B¹ íÍ'HÒüzÃð ˨¶Ææ ýJƒ2»yàlà*X×¾”ÞIŒË|ypeñ~ÖVx¢‹6¨ûHüùáœB}÷vtá¯òóôJüøa†MŽt(ªc}¡ë†š¨;¾l9{Ci*euÒ-Q‰Oª†Üü­ÿS5^`çÀs »xƧ@^ /ÒC|lˆhQð=&ŒWµ^ Nõ÷ü'æœM˜¨jÇ¡“#˜óÌï¹Níøš•&†•Å,éÁò½U 2´é>I»5ñˆ—ø„ÁÏ\X¿^Z 0 oÂm°á”BG¨}"`€AF‚áaàùü4«Ùí.mWÁ¢À•ã§°î®A\’ôIgü^öiApñH «ÄÏ®_cÁŒ~>¼–"Ëä‡g·}ÇeÌ/‚  |q”•7!Œõna®ÀÖ²³ŸëÎÃqÀ ô òx×î€+ür;²ç]ý@^äpÁÏrËÅF/‘Z/¤JÛ出8½[ý¶|+]¦†k]¡žJÚŒ Ùp„@S­4Côy=æ¬ šZ.%òƒžq+i\ë½Ù•ˆàóóx·‡},’«b ~–ëF²„QÞî4j/}2Œ_âãˆ6/¹füκ~p7ž¶€>㉂‘HÑfâ=r»*'G|bÔ,l[ƒEc°qóF3Îâ»–”.ÍFNŽøì]çý)ÃÞQU÷´nwX,rبè=ÌU^KëŽivSóˆ8Ët®B4ç²ðsåe_Ù;Lç / °\íä=Lõ:")¸÷QŠÖK>5ü_Øóö]ƒI-ó™m©é1(ïÇ¿äotã­@O¨fÔ¨KÈï]ÈÙÜ´µH̉6K¹òã®Ô˱ÎÝx‰·;EP´¤“´#ì”P^pg ¾¸²a~Dz x¡ž(i'zß:ž€”šj6Å}ëI¬¿åýî.:?güç„^ðRÖŒ&et!6ÿ IØ“9´þ^"N?ÍÊ·±¶<÷Ú_Œß~–C¾€Ø‰v®ÒÏ/ÄÕg€qÄæ?~ŽÃ&cÈÞ>ÐGÛ³ïè\ž9f×r ­ùåõ0Њ¿¤óÓ(‡4 gÐe>æ×0¼,‹oC;Wì_ðãû*Y„Æü~\ìDi|˜G_^‚Î ì%ÚÏòô°@iÏÊxL$«cѰO¾Ë¹e¦‡;çÕòšš95¿?ƒ¯G’õŒÙøŽ—ñN'!(N[ó üçnuß9 %ô9¶¾%O £dSÕ‡Ë/”Š^ƒ¥8™ÖDÏmÁz½l¤»›7ê­uÁ«¹O·Œ‹ /§(Ò`F#Í2³Ä#`?ú¥-z&W¼ç»Àûq†wV'6mÓ&öN’«|ЃYж §Dæ,tìÑàSv¿Ûhüž¶õux aDáùØTL“nP,P5þ%w7^MÑ­^"ÌŽƒ»Ú?vµžt{ÖT#<û}?ø¨ ”öQ›óÈZ—8ÞýH›eœ÷ADÿÒÓ7ì/­pïÀ–µaƸ{gÝñL½Å»pgD}nÃÅLóÂbÇt=ìhº.íÏD7+E­Q?Óà³÷Ö,° «UZê1HϤLTžöµ*ºñœ9ÈÆÁÁF`+·‘åžèVãhç}‘^“ÜfDFýÕ>¸ûíAˆV4gHÈL¶æÇ/£e`²¡CÐ@}0¯+&þ¥´8ÅV@ØŽV}•0–þá%+O*›¼ZæãýU©0‡ÚCÅð.-‡{DŠ»õw¼||A)¯VCô‹¤IÊ[w_0e‘RMì`fñ%)lëÇØ‡å³k·Âز–ÕÆÖÂï.PQú¶r=7÷I:îñÀ¾ G”u+«WAÚ\Ø;Œ\Ï´N=›ë“{d7LŽnU‚Ÿ©ã¿Ô_•,fêinÌÏrÔ÷±k'èpèYê6ÌpO2*Q+ú¾b§8åÛÄ|ùé@Ë–X€ŠºÊt¤rÚ´l]ä×ÁºLÝ*ÓF» ¢¡,4Èo/­ lÈúé¾&ë×ñjw&®µŠ¦&©àÛ dhV¡³½é›;î\¸iRq!¨4hâ?,X7[:„…¼uý„ñ=ŠcZzKS"á)Œæè{ŸÉ¹Ý”Fb~¸ý°5Þsœ ­p²Êè¹æáòGþíÓ>7VÇ0á´íŸ Ð}t6hiDFýƒ>ùíVüîýêÌOY'й!uñ§…·ÁJÙ{FðÆÆ¬VÅd€zAj%³îªu.AÂ&œŠÝGÌ’®<¡­0αV1KŒÇ`V1øÄ¤œåN`*6©"ýêOy}kDò`*R<º>ž¡YœP‘ˆWÚí]i}“f£t©`—Ë„Æt>”t… ¤$«O€Žù| Sm}Ôbîš“´äÇyÞÏ^û¼_]¸ˆã'§çN(ý“¸h%AÃ#°Ð— 'ßéó8?Ã/‘èoÇÒ„¼FBë_BÕ:ÞÈvtW¼/:mo/£÷귇ϡêãW]K%íffldšŸ4©QÁ¸B•ޱ¡#ðUäÿ"c9¼v- U¯íôý©Î9C»¤M‹.âRaRâl7Ôìþ>¶Õù`*àš2J_ÞMÿµá™(|çËá|â,˜2âZ½Én…X~ËØq’¤Ù6/”R¬}w—¥ö%”‡³Üçv™1ÇMé’Ú×Ië“+x"HûêÐ[$ÇsvÒˆ~î"F’Rˆàf…4èºÑRØ~W·#H¯UÏqOGŽÀA%Œ7r³â‘TéÔåQ6Ni\¼o=ÛÉô³/]²Æ(“ô“yÖ³m?­’k[¿…ÆŸ#v$™!WyS|NfÐH µ¯]Á»‘\½èß |D /Õ±@†Ìý0þ¥@q‘_™}‚¸åHÅcb×ÃYüèÃÀ(ì>§7!©!ƒÒ‰Þ\™ÊY*YKHaÌf‹aÄn[J `•æ„%¶?œ§ÞÚvúÜÓ×ó6|Îòk§*Q{ÀNéŽÄ¿ TÊs•íeš>ý[ƨÛ—¤P½äiÜ(üÄÄá¹RÞ®ÊNÔ¤˜`vÔöNz’ì4®"Ø”zŠðð¶,a»‚ù‡eïöÑ2ºrÀU óßË }¬öà+mûÕ>¼¨nî†Î:§XÚ ½—ÅTŸžW±r_IØ#ˬ–3CÈ7rÍYu¦ßvrŒä4¨QàÒºV0"S‚ܾh©#ýÈ. ‡aà ·hpä,ÁðÍĘj<¤Ï¿c‚ž]`v‹ªøý»ÛƒN—³¬L ½ÇéYr=`?Z‡"Ì ›‘銿qʦ?LLïKŠ3é~ëø´æ5mn~ÇÎóH«òqØç³Á‡Ì¨7¤\DÄY¿rqoHÄ’äãúiª,6‡¾¦…Hê£!?ô¡®½€ú•setd@™¤ÃBv¬ú…Kí¢&=÷÷CïaiÓƒ-ì—ß¼îÖíÊ?Ÿæ|Ý“Ã~„Ãowê«XõÈ›]®rTÎuî€P’$®í%0AuÖ€tf©AQ~µÒ+f2Ë\¢Æ] b¯Ø[®gP»Â ‰ãÁCŒÃ{Ð1« “ð½'”,§´Ó¸½fbÛÖ—çß+Mîp”öý•÷˜Uü„Ùâ?Ó’›§H]—`žÔâ,à‡‚QŸDZ®J+aîh¢˜ùO…re+Öc§Õ÷¬1Ù×—‹üƒ~úž”T: å6è“ò“Ì3ÐŒáY_'%ÔȽEÛ 7„Îñ¢MÜ©æNÉîCabœ–Áæ&•ÜÒ[*ð¸–4ìzŒ”a:!¹L+¿P3f(¾’Dö»MÏ\DҸ˜ƒÇÔ}yãýº-.™ÅY"MÂTÑà$]N(ÚP<|“ó£üøMz]ðw…—óm,¶žŠÅÅúÊáF‘ l(1h ¨ýÌ6‡?{‰p¨k8yÎt¨ðY½V;8©³E’‚šÂÅãWQºc¦ÍjÜ0Æ¡Mö ž/õX/Í pò…üàÌñ«¸ÍùÌϰ"[’EšòÖÍ¡³C&lp¸.ãN'aöÎùÀŸ©/øè9 ?°¬ËH„ÐH‡‘yf½‹ÝÇžÿp=~M…i{ÎQw“Šbpj;›ß9%dL^ê}>O·v¦E#ýÚ‹|öíàËf¹ÇXw‚CfŒ+ÂÞÓ#îPºÌxÐϧÖÝ>’Ÿv%°"⚟æ, EjΈñŸlß9#ßgvRð33@# ×F!kšœùa-<Îô—¸êñSÏÑsŠN  5d¿3µÐéDy±çfdÛÔ¢üô®øT¦ASûÈÖ¾b":ƒ¶¦6ã--°Š-8úÇÑÑáFç}d"W ÎAúr‚Bï5&›ŽìÓýLÊ¡p[¢!ƒZ„]W9f¡¼QÌQŽGƒÑ¦KnŠHó>çÚbÇgtÒX Þ¼ê/»¢/HV\3î?FvÅß·ÓŠŽK`Sr žW. – ’ûõ³#ädyåá8µuø#—Emtü?@á ¨#•=…žSU™(a•¸‹@Ïb&;ûnœ,fÎû6DFEk¨Z4ÇÅb½sc!¶¼GRÄyØ(~û(ë’1××qý¦&Êø•¬÷ÃZÐw¬$D fׇ$ˆÃ[E Ø®”4‘™$*³y­·~œ´âŒ=IÝDKñ>ò?9¡Ö*qù ô8OãŠ(~-—ù`ð)ÕÊi¹!öá:¥ñ˜`ä«Ùæ7¦¨áˆ­TÆÃ z/ ‰½Yèµ8CÅU“ÑásXiz(ÇËExÁŒ®A£½xÍ2 -b§¼Öüx÷+¨†²FÑÌÊLçžôLi{ 1Ÿ÷<•øû&’âïn:wXp«¡› }ÓÏ2žƒ+ƒOÀ»±“·.RŽq:Óo]>CQZkmµ·­Ý 2#±P¥„Î*:8ÇŽå·ûHÐäŠÖ” ‡–eÜe°O1ojnHs¹§UÝõ.\,ks\ê'¾™I çL‚å7¦(ä¾±Žè²ñ«H\24|¹©#×¶ ïM9GA†×å0špt^oêu‚Ïí"²0òjžIšAqª!ÖŽLn]h/_1øY÷”bP›ËûmL8!t•÷(EÇwT£¦¡Ú’8Óh?Ìz7@oóXm[I7ê½adÜR‹(…;Té#k6Åen\‡jìE°nQ·—/¢šú¢éÄ KÞíeVÉ3‡;Ÿ¡ÝÇ(/ „À|ǼY”b&ˆÁBÝ¿E+;6¬*áAsgÙ†í!ɪZ3•V+ŽÊ¸\Ûà/„S«¬<ïs[Zá&¼§YæDâøzÒô9±µ±³ð°Æ4FB-_™·ÕxhïpýG¾«ÚÀ¡µÏOúÉX|tC4‰=84Êe®OÉ<æ–¬dã†Ù7Ôn;@•xJ€Å¦%þ´*º*k´y‰¾¶ß·ƒ‡f+ ¬Ä~Ï7Ä­#}˜-¦O?¿ËôË #Óã=t{sÒ]ÓZÑm´1>S{˜½Î+>!o²_ ’ m@“ö‹ä±'Eêkè×FLRŠÓ¸ìÉ"ë2UJß³‰–5OrË}VÙ¥3wÙr㬤ma‹¼¬b¬†ùh¡û)fEgIhGõJLj’ Ød׻Ȟ0 ·RóxÓèH[shñ=Äú|Y¯ñ¨ÿYé'¡¥‹%‡†AëÈ8g¢Â‚„kB_ƒ tݵb>RÏ/ÔnZ¶E—ž>é¥×XÙ×x??‹7|šÈð V˜‡ÆÿîÊG |nhÅ<æ6}©BÁwfÁ\”®ºêèÔúí é·¥I‘/'Í)qõ ÚÍÚ­—óÞèEöÁgëß Ðlj üEpƒÓ âÄÞƒseæÐæ%ê¼ÿyØY?ƒ”4â⃘E\ÎÐ$âÝq%PRIj×Q9,Ú8q]„@pa¢¿DX)ÕDeË "D>6½#ns¹ e?1À@Qq`Ü^0.5¾6‹>¥Ÿÿ%7Û¥**w ÓÍ–O1åÜýAð`#LÄè||>1{+%O+ÏpZÚc×ÌM¥ªmþ–ªù™(­kN,7› eê&Ϙ¨Vf4Õ*¹çx¿+JÜÚìG˰€×…ø«/Ri =;I¢A$ŒWÐÞ…]3†ßF¾sõð]¸:Ûƒ_ŒÊ/ú65ÎÚRH™du†—b̧. ¡9„†Èžæ­1¯Ü…Z'Õ{ _¥SŽØ¯&6Ús¡¤x÷Wrf÷°ØýuQ$‘¨”„‡9QõSš³+6é4~¸ˆÜKÄH¥m)§A‹‡œߢædôEù‚лsØx d\ZáÛ¡ßH„÷sMÀ°ÉÙZš %ÄÜÏ+‡`³Zp4Þ½öí'US{éùO/{=%p¿¢Â•ú±8Œõ”ß°ò¢âGÀÌ–®ëÆWËQ}:ÄÆx£’J ð»U®óá¬@‡¥V[-)&̉ÊϪß>Š&louû _’ࣗÃÞC?^zFJrÌx|ûôL}ƒçõ¦ËˆùNb½¿þ³«2 n¨ÎU>þÿ«ë‡+®€•ðýõwüãßÈâáUØßlÌ]«*cs®Gbý*CWÇŒ£ß®YÿnèseïïlÛ‘YyüÀT„·ç©F éì{ôɭصŒ-oh×N’ÑcìbÑ Ü«ÍN’Ûótú®ö0öSvÂçaƒé¨íölj.ä2ÈyÀ/¸4eCéž=lî*|‰9Ž5öݽL§»“{#¯'A¿ªËv”ª’5 s‘éBÍŽGZÛdŽ\Èï´­H@¨}ìs$4Ÿ‚Mª‡dC²RÌïõIêì¶gÚ{9hS¥+Š‚,SÚúž‚ܸ?g"¢9'[Še±íñªÐÙüן9/æµê±:}™Æ )¢ 3ŒQSÜ?2ø0‰0B(…ºrø*zõ%Á¥±B5Žì\k]£ð>1ͳݯû•g¢´øú90ÓÁ#Bé6'äŽ|åÆ ë¯×𺯄·õ}mÅ)ã³4Ëóp´$„^÷ ¹‘žÎQÑÂ*2Ôh÷B‹NÚªħþÈ&4Ì*p}Ÿf,"°È*)Æ ]vAÔJû]y2ÜÅ%×%ÁܢõQUgÇ%»ÂqÕàs Ÿï½ÔÌiÒ-9X†NŠË€ ½@ÙA´{YEñÇùÇsnMi…ÏXçä5×>ÏHöŸõt”Ú#"ÁsÇÚ9.|g²%Eç]?dW~òO¥nnpȤÁ´i6Içñ£"¥'3ÂZœø–·Ç!1jËIßé1褻¡ú< ÃßjÛÔû2×8ð€Ÿñ2meߘʴ ¦‹}5òœóúîʽôj>Go9¤þÛi”6>… 0˜šÊ‹ »Q1¸À ~š¯H^[÷Bä&ùÐ’ï¤eJ‰e÷ÔÞ +g‡“9T|½`/›<_õåù·¬¤ŠPѨ^°v=]@Œ5%L;RýÄ¥T®úàˆÅ×+ÿè¢ûm‘—5\èT„4–aø¡£µõ+_šÅÙùŒNŠU¬w³rǵëX–PÊ¿–”8dRÇWd} ¸/ZFøU®Ê@èx÷Õ,¦“Óž7·ap1ûëûTÏi[‚ñî¤Xa¬€Ô+þAD~…+°ìJ'-8Ó w\è¡/¿ô3¡ q{\ѽ<×Gÿ,ßï¼dÞÉb@î\§¢ÔMöM¶¹ˆWÆŒ»`”r‚G™Âo#¢é Z¢rf¸³šc<·M!py:º‰†Þ\KÍŠ©•°¨·YNý}Ž'žÅ`ã¥?ŸïÍnû,,»ýIÇ*óÜÓÉž®3Ëg¼Ë‘|ÿïK ³Lz¡ˆñÀ±hÒIxµM^å¹Ç_¯Eæ03Ñëa:OøÐ¹º„ËaÂW!8 sÞ¬éìc~ʤSßa,ãƒ(Þ§y¹òi>½Ø-°À…%õø[!ź͊^"])ÔS¸&ŸàÿÝ€l’\wUŠK@0x©Kû×ïMø bÉ"‡» A4žìA[2¦x;†þ‰À…-Ø£m:ÔMR¬yÐyöÚoòˆ'ÚÒá`Vüd´NQÓX‡ÈòE3o˜DU°…éJq[¾†~’îÝ/““ Œ5–—>zÄ?OÙXÌíÅ­—Y¾.ôtê*»Ùr‰”ÂC³üQKÎÜ=<úŽ ©ô|£¾l^#͵=F©æIOwXîa¾zé/˜Gùb{O¨NÚá£L[’ À^Ü1H,‘¨:T«-î ñ"ug÷\GŒÜè"Õ‹HïÑ"æMW‚ê ¯–-¤T’¤ ByrˆÔÚ¬bÀê4Ñ}‰>ÆÏt€Òà ×ªJU”°¹¤ÍWkÏã6koÙÈÓrRqlŠoš˜óë‘õ{[”(‰‡A00JR¨njxQ4C‰ÉüÑW>ŽkiÉ­ô‡àOs¾á×h{EC?”zØeÙQjþ*ÓmY¯I¥Î*L³v-• Œ~—é§<ƒÛCÖCçŒo¸H”šÔ*;Sp4ÐÏ÷oÑ#3üò‹¶dþßqn ÄçÊk7ÊkŒðìk€7ýÈ•æ Yï¬+_ 0£9Wn§ÏŽ_ øÙ&NÓáö(×&h£ž^ŽÔª]n“^þgú‘îÕLuëÊGXcà2'ðåÉ·²š­4¤˜Ï9½Î³¥º…+÷R›Øg5’i-5:³×,—Ž·E7LXj±–®l›‡ %LåoI)Ì!ŠÜúßÇ;0kU¦ÎRWXcŸ(øl Ðšÿ¾yãî‰[$1Vv-qkiáuËúþ©|*ÚK%*Ç/¹¶©Ä6$) ¥’F›ãz“œ‘z& Z<ŠÙ3Aç~†-PM+$“¸"ìi®A/OâGÖC 1!2–æ‡ÑÕ L‰‘òÈh‡7WM¸’ž"“Ò݈½ð:à7xh¿Qrªª,~±Q¸¥]nÏ}_U83Ý==|Ï꯲°ò >‡tK_1s, !…£gw.L²Þ²ãgOq‡¨u•‘ †ØêgÂzfÇíÜMB¶(˜ø_+szè#ù8—[šÄË{LPîË×6Å–Öü8¦t–¯â‡Å)ê3 R©¹XJYÉZã \‰qåF†«²(.øüB Ïî'%èèÅ–4|Q;О]ÄM´Ô¹µ¦’‘!%SÅrnô3l¨R¡E ¬Åü°Š¯ëÒ@+Ò™¯…Ò /nú¹B°]MôÍýAg Ë|i‹Ìq,ˆ1¿:º–b³Ys¤Øs”‚¿GÎòù fŒ¤¨Qò Ñ€³¸©Ð~À¢W2!lÕÔ™ÃaŒÿÚ^'╌bžFÒÿ3E™nê?ž†„Ìeº Úø}òÑrøõ«M÷º‹à*nwó>´Aæ>»¾ç;$a¨Q¦o»I-e«0˜%(ÇBçÃp'Ré„>ü´2ÓüõÍÏßdìŸÀöøŽ)Ù[©Nµº³]Ýú“a‰Äd­ŠãPûÇçÉæ—lFƒb²*hÙÒûäÙ1f2À~]MæE…â1U— tCyPZm{Ë/J ‹è óÈ%t¶NsGÐd.¦6“߸زh‰Â4’¡MÉ %²ù4»®‡íÚ·.Ô\ŒP˜÷Œ‹véíh£KìŒîȤmô­I3 æVÈR!ž§k0œWd¼ DêÏßó#ÙÅëV8¢‘HjªtÒ¥OÈŒÜ< ×#ÒD3Ýדy3çbÒÄñ°‡‰RPm`ü rNb4!<¥¿àÒ=²(†ù¤@ûö—Ù}—I² ^Á.w’ÍÉ0}EŒ—=Ã6+˜˜‹‰l Æ@dÉl‹§sK/#°úŽ”ËS6 P,;êKvüViTEx”«ñ(þ%s&¥fi@gè„… ææQ"5Ú?¼÷ Çb–ŠÊëÛûñ Ý77Œ•7úžw—ê–Ä×cÍt—ŽäKwÑNÕv3È„ÇCWÄ(Ô:qIÁâ‡éã±9ÙïÇô Ø»N™°ýò)FôýÄù°ºê½ÓÖÄZm ˆDCµhzÛ¡äÐ1{,Nœlæ\D=|ðT´Ö–©àMÝÝlýê§ÝÛî_ˆ+ú=¢y„iH„ …V¯œåMoØçÞT=[7€`!;}[Sdª4¤-UÄœ“D`Ç(De¢Û`ÉÊL%5:„-·ä±…×àÇŠ_ê[I¹ó›hÌå:·D|r[â[™‹½—Ѩ&šÊíF¼®¨¦Þ-³UÛ‰ Ü:ŸÄg‹ÇÿÙe/®RdÃ9&èßÓVé`Àòž¡L„j,Ï; ›c8¬ê s"›ÅÇ„\ëGA%ŒçGïWaã _X€oEzù2ïFÉ.¯Ô`«©Ë%ÙSgnÁFº㬹G¨˜7§o㚯ᰧR»½2þ×ôz§Û~Ä6zz]‚RÙ_r…ÔEpfúq±ùÚ9K²,_ªÎÉ&´úÖKvsÖ!•ÙdÊëåèŽ+3Þ¥Àà2xTÄ”G²ó„À²8Õ؛¸›|¾Š"R<Šßœ†QY‘¡€®ùc£··®d ¹í)x|þux_[[¿ÍkÒã¢Jœ…Û€g·‹ÛŸj‹Û¡ü`TRJ”‚Œ„/mAÒê.ó.‰íªB…~6IÏšõ3“Ó˜)ˇè'§ºC‰tc$ý"Û§]°QCÊðT¢WMWüƒ²»B†0ZT˜ÈLÞvnŸhiá &%¡Ë™›ùxaùhû¬ûŸY¬„°·Î ìÀ…+:€È/ƒ6ÒÆO-Mì>wÄió_ÂpUL»ä€cÿ]Ýšeç±Wr¿]0N••E'0ý½ÛuEX.„QÕÖ»£Á|S ›çg ¡15 ÓŸènOnS_ßjôE{jÆ”^„ Þˆ‹,“í“ýL{~TZÔ{ò3ƆÅ1C%åØ±Þ±w¨Rp1&ƒð˜ßšš¼x·,gYj.2‡²sêØ\š3fˆÄqÀ“áwBo(ñ½m×¾ð¦Ò¨ìe·¯WƒRSCzìf…ÝXHF`äl¸ªY"ê«Ê¼ªÅöÎeéf§À**üv¶·]Îܤ'èÑòlÄ\@‹k{¿Gž¢…cÌû¥l(Áô=ØUvöÏÜqN¡ñ_ /êOÿ³~<[¬®«Ýoú†Gë#AYÿeÂp|{ ê(pE&äP%¹ éIÌYÇD¿¸rÑ„Ÿ‘îâMÆ»ìºÑy‹ô!.üDû2§Ï+&p÷Á+iÄuïU•Uý#àmÞv½ƒ}âtCŸ~é´Ô‡­j—RvuœnŸ>bc¤³…°ÒY¼î6nÌÄöa4±ßÞ(ÓQÝØâÿ6EòJxo£_4¢1U'ZûtRb§Wõ¦§cš,š±¯8;Ñ9أ܃6!\Pyá ê†À>`õ¬(>󽺼kL7[å+ü;§ØŸ:{Á_» ÓIJOrü†§ïéè¾À½5p-¯Š=6¡w+¤E:]@ïHÜ…ŠÄÂ2„pàfÿ Ø^7Ì÷Õ÷%0)g< Çô™bç_SÍ®Ë6Í]uT@_^?]Âùq´º"}‘Jÿ3QíYŠ—9_éAžÊ•E*WßnàkéÎjfWE€ê;¤`bš ë.´¸þòÀ­öI¯ºRµÚ<ë ãë¨O)w 4¸~†þØÚ9TµìýqC§˜€'/g8¸6Š9ÍS©+­¿G¡ññôªûh~ÿï8‚g%aÜnýeb ‚׳0m||?R;*ìh ÞÕîÀàÞޤxSkqE“ŽU¾))b°ÔDœrÂ[_õŽTãßéµÿš ý}Ûž>s°áÌ]ÞoÊÜ¿ ö…=¨#sáÿ(þ1dÌÜ0ã¿d‡jgú¦Dþ¤è +,…MçΉgæç™`É爲øàkàZ­Ï´–Ôõµ,¥jÿ|—ÇšðúÈÈN³ Xû'ÞS<€Ë'p äSz‡Mû¥]BývÛü`‚°à¢#Ë݃d8k†Ý»±!RIì0àã:åé†0ßï¬×ܸi†˜(œáÆ,*®…úWW +òìUº’§`’š²È[hÄ?©©â÷ãå°Dlò˜Çùçƒ êŸ.I¸ÃÔAlpËêDUƒ¥Âè¹TŒpÁLÜABT+£ž¼ Ã9KîUô(Oó0.Ú±Qæ:þ‘‘F®+:½d§Åÿ§C“A+ŠZÛ’Œµ:|M’ÇDfå:<ýØE+¨qÒÿØê¥ô”¼ìtëïÀ = ¤ v¨µ¯É§hܹõ<ë ̺~ŽY;/«YL-v µ¸ùQ1£Èò<ò®EM³`û~?!¯ïl—”!a O4QomÓÎÎI„ !ôܽö—7­òð¨<ÕRïíë0g±…¢ü¸Í•k±œgÀ¿¦átÉž¸ðqE¼3”iý‰Ú O-Tí;±s0Ô Óeéݽ¹ÒNÀ¸·ß&që>¸T&™ˆõ.)7¦qüª fp–l<º"£²1zlj}«[ã…Ç΀3ýÌâEA`²Ý¤ÙW±úŠØ IÍÜÚÎes.˜„¾„¬õùãñg@Ì[Ž”Ü)ÂÉ€ky†P¼§±{,ðÞm‘?ˆm]hg…‘ÏüçO…³ç-ÿÞ¢IŒvƒƒ4ë´æïÕ= !!ßVËì”Ä_ÞtÏÇÂ1¿9cØ÷‡ûˆòXYþXt J¼èm3C{ü¥ä¼S,¤ç«ãYükQËÕ¢µÞ³^Åp/ÿž‘ˆ9*׬•ò *nP¬s{ß!eö… ·?iîb¨‡~Äöû ªoœC„²¸&ß´[®ðê‰ô´©áu@µdŸþó©Ï\w±Ž©Œ¼gŸ²<6ôí_ÇAèEÈ‘&ë¡JŠyXðš2¾_ν"á:ŽºðëGH|×qÊiQ—D gíÚ/,1<] ßT;=ŒÁegô';·“ÔÊöµ¢*ºåx¾ÎÝÐÙ¶““gßJ¾ Y KoÍÛiï ø›ØÜG…0„ˆ ÌÓîRãó-~â§êè-?&|ý`;ù‰ÿŸ‹f©hàl€óÐzÓ92+£PJ¢Þ=tŠg­_àΰÑ|JtƒÊ*ÇMèÁ9yq,MÁf#7Äë3–֜ʊt5¢u(±xO81Âõ˜äD‰õ[ìBø^‷z+R£ÑÆF“Ìßœ ³š2Ïx ò¨Ž«[…>D=!y 5FÝ  »g[¨›×P3tØjeråsÖZL´ï¬À¡ýéý“ß¶Üñ§¾öüÂ:¦r§?…„[Énez5K(õÀ8ýSE 8[Ž!f73¼'åÚëhaTGÁާCñÒ­ëÂhÖõ±¼Y.¼RŽÃÀú"b—EùE;”Ih¾†¡£³?AÔÜH®ùlWˆe7á…±IPÑ&ù%`ÕÉñJÜ4‹Pã&ŽåÜ dfï<8ò)ä`þ™|Gl—³ÊÖîà"ó@Ëó£Ì4lA[Ô=á[åäÔþ°ëØÇîuì^-‚(Îaa~¼Ël3\××4÷;¨hŽÉ[hI\W•ñ<ïëÆùŠÎN"ë³2æo‚|ãM:p$èœd°+Ƽ{×£ \OèÔì.«4ÀoYp\{b·ªN—±Ï’añÞå/rûÃí!ÏË'&÷¡ëŸ¶k{ «¢—J„òU6§ª™¼óWGùÿšäI¥ Ö»a­Æ‘¢*+Ú}væé( ²Óô*¾g"Çž”ÃpI‚¤ï;iùãZ}«©ï¯*%Ô… AÒ¼;Q’Üô°Ímj•ïæ+3½ˆQF†¸«Záv8‡™<7—›®›˜h«ÁWÍÆ$ƒ-°ç*MwžúWŠ<¾ÓÚõVœ¿Á$ñ‡¹ EõR\¬ßñ˜ÜW%­0åP:¬jUUsmV£²ç°Ñ~Œná@AûhHlàà”ÞëÅu2ÙÈv¹hÑŠdu°)îçÆð{°Œ Ûcå4ê_ÿ˜]Ò£‹Òm[fìý¢;&Å7ìu犨ÞDE\¶]¡V°&ÂC¼kmDóf(Ü'0OpÁèLJ4ð+.–TÊK‡~\áñ‹|ª‹2t´tV±!*QÐ?ª ­žZ¼sÎõy£½ e2å“‹Ée±ñÂÃd?qÖ]Ã+h߬(¤…!~¤Ð.hÓ—PÙ^äÑ⤙ºï‡=Óµt± 6Èà^¥«ÓÜä©W}ÉÚ]G­®Q£cH™)d/Û›òª¹šˆxþ-¶ØŠÙ¾ ˜êt-1$L+Í5à)& ‰ÜGÐ÷øôð7J‚¤© 0WÎö@×›3ÈO¾å™Â"4<ÝhDÿ`§obÄýSyH²í)qV‚ŠsHð¢­$¢ëø%÷½ž*Τvvñ‹R}þÆÉl𿼷¬¦XXHÖ¯Yi#Ö)oZAQÈÊVŽ{3–z¹ÈÅ—t컬ô:¿a)ú”Zù{vhU$]X#ñ(¡'œs©¢l Û=õMƈªmaÉä@û¸Bo¸D:ŠmൻÏa°M´f”µoÄðxøçjF«B>hðãåÑqY4¸ S,òjïó[ež ­ÑIØÙo²¢ˆËñ ˜y"àϬˆ®I㽸í.ïØín6¸† ~ñ~=@Q&ýúõâÈ~8ÊᶈŒß‹×/S±l/Sã¬iLnæ¯gûìàÜnéÌì²½+ú8ç[ã ^œiÕÝj  ªÃ ÆíàÈÛº4\Äò¹~>oj‰U;IGLÄEdzHEm£æh2*Ý'“ûRÚ0-V,ü`k@­Õ–îâ»èTSܤÑl„à?"n%”Ƹ“ýf½:sá>ëàk£‹ÿ0ßL(¡°Q'{ᛄe‹ùºÁU6|%ŸÈ&1gã‘ Ë'•mÎVv®M=ݽsÈd*°W†·å¹¯˜Ã¹Tí!ùt»n¸,<ùc!ˆ ñ©qÖ²û%DBO¶œ´èóÑ%{Š Ôåèàs&BÓwˆºn¡*WŽšs£ø~P×¥M×Ët ݈3àKbïÁy­à'£ÿžÞ‹s´]çÒÖ!ØÙê±xÒl×tWMVΊ”-&"ïœ`J}”€G«õ|%!›Îò=– aŠ2„ž«=˜ÏÍÝ&­À—³Öû6ÚHU4óÒÒp,­›âŸŒ±ËïéyLÛ?ÆÌòEÚòD[L¾—^ [~<¥[]’ˆ¸õO,˜³Ü™è–ácûÅpö¾Nóå¡Iâæw-¾rsÖTôõ]½ð(²ƒ[ÿwøÛ”äà çL£ÑI-ÏÒª ¦CMðô{4>ÁfiãM³ k„¶ðÉÄá, D¶p¬a³”›uí»Ì°>`à‘<¨(õ=¢{jd ª9X«È£ÃÖ Êuzù´Ð;.äðÆÔUÒ¤ª¿`™ Xl ‹·ê‰Z*´élÁ‚Ö4Ió¾ q%"ÈŒTÚwIhýM˜j»šå#œ˜4\ô[æGk“SžRmáL(&—ÇFBùáBt« s£³WIç·¶î & ç\rÒZoÄÇÐé#{øpH‚Rîa0˜é]aßP톀è‚ݲM1à¦2¬dø`f4­/!{}ÚÈ̪‰YÝN·ÜN¨UäJÜFk¼xÉ”C”£ÚàÍYw¸ŠëD’þ"“6ë0¼Qôú_ÓÓ<2ªçf GÅL]Îöt²þ­<Ö¸ñôì:â¡íîNoFx¦£gæçdPX ú)ø ‰ ÿw?¢Av/´)›ýãn¹_IÓÄ•Jí6$ÐñmíË‹²ª›Q†{F<ô¸§6ÃÌןO3÷*qÌ•÷Ù à¯Mõm5«×!«ÉÚi[G o-ß°­›‰š>ZH5"¶pªm±¨ V̉û, ¦s7ÚÞÃ=ƒClPL:œïÕŸ:8l×ëÚý>NÖ3i&ºÂzWNGðîÆH‘6¿G Á_¡ymÅĦ§Ÿq„Ô(ð¸$ÙêŒní8ª=–H!WsÀÒ‚ÜWÿxùÛpi@ƒ<3X˜§}ïÜÎ ŸF¸L£.¬cå©«°#fÎÎüTŸ¼QŸ?â‚SŠÝ=l”´Pô™vPp²Q†8þOIž² ~ DÀö‰¯Î¦>v«Þa^“1FW ìÊ š;»bé Íh¢9>üKóÙ¢„†t._CÎÞææ&ûµ lL7Íú:9Sð0!@Äç0¦v¤ù¹Ã-ÜM6“­ys÷D#r`á8ÿÎmžÁ˜âû™Jeëkƒp’‡Iˆ­±7”~b›Ú« 9ùø Ìe„ìÀQQÆ|t«È?Ïí¥c×QÃØcä¦0œ9m¨Ñ­ Çý˜ðûF¢¬ØüÖ>Aáðw°°6véÊ©Âë[Sp88w”¼LE¾L§©Emë–Âùç.ÿd¿uí,ŠëhÈdx`´ûYþÜÄLÿÙŠ1¯ÿøVÆïÕav*mÇ'øæµk)IEëã)U^@ñ?.G§=X0pX‹±¾KœÍ"¬VUczóça×,¤‰ :IQg©³(ly+üRº¨ˆÖ :³;ò.X‹`µ\6ítô†<‹Ïçenƒ°Ý–+‡ç‰_ä;Zº!˜Ÿ|Ž ŒH¢û¬“ ûþ_ë –®GŒù9™ ô™¿;oˆ£3hI}À—dH¨hdOÀvòݘH| ÀTÔüž¦Áô f§ÌùX1H8,ŸB‰ò†³’“ŒóÒ;†×bs”d7˜ùÄcai'±6•_\ï›ýt3qŽÄôJ³# endstream endobj 241 0 obj << /Length1 2406 /Length2 18221 /Length3 0 /Length 19615 /Filter /FlateDecode >> stream xÚŒ÷tÜk÷ Çnl4“ƶmÛæÄ6ÛØNc[­Æ65lÐØnðÎ9çyNûü¿o­÷]³ÖÌ\Û×¾÷¾3ä$JªôÂf&@ {Wzf&€¨¼ 3 €‰‰•‰‰œ\ÍÊÕø1¹ÐÙÅÊÁžçQg ±+H&fì ²“w°ȸÙ˜YÌ<Ìœ.Æî@€«³ÐÏçOÅÿ"ff€™•©+Àhaeð;:H 4ÿƒßÙÊ Ëš=fÓ_¯¿éƒÆËÌÁÞÖë·ùßç˨¦(«&­Lûãu""žzV6= ;3€›‹ ÀÉÎðûß(ÿòÿ/÷¿¥JÆVÿ©éw@i{s÷?@½û/ ÷ÿLÕ6†ð¿@£ Pýž|=&v&SÐóÿçùÿÛåÿߨÿåÿmòÿoAn¶¶«©þÖÿÿ¨í¬l½þcšd7WÐVÈ;€vÃþÿšjÿÙdy ™•›ÝÿÕJ»ƒ¶CØÞÂöß6Z¹HXyÍ”¬\M-ÿ¡ÿž(¼­•=PÉÁÅ꯻@ÏÌÄôt }3µÝ'. ³ú[­Óÿ¦·7u0ûkïXØ9ÆÎÎÆ^L ñbagø0ƒÔ èù÷dì\A.=?€¹ƒ3Â_'ÊÁ`þKôâ0ŠüFœFÑ߈ À(öqÅÿEœLF‰ßˆÀ(ù±¥~#V£ôoÄ`”ù@µÈþF Zä~#P-ò¿¨…(»ÒoÊ®ü²«üF ìª¿(»ÚoÊ®þ²kü‹¸AÙÿE¬ ìÆvŽ %øëvû×$5ù@ý1ý±ƒt¦¶ Cþ¯„í/‰Ýï¨>£ÙÄø1ÿ AJó?à_J«ßéXÿ‚îxÿ%°ý­ÿËÜÁÍùè ‹? ¨:Ëßµ‚:céåh ´ÿÃ$³ú‚ÚeýõËæ¢oûõÆî* Þ¿#³ƒ\íA£ÿ‡ÄÕáw1 g‡ÿQƒÈ8þVƒ‚9‚sö¶@s×ßRæÿHÿ¹þƒª£•Ãï¶³áhëæòG|ÄéjÍcõá·1û_èþG£ØAæ. ëýßø z.¶Æ.–„Uñ»&Т3ºz8ü¡y¸ýA½tÿ‚ÚáñÇ€¼=ÿ€ Þ^@P«¼—Šä tþ'Õÿ\*¦nΠ^¹þ}íƒnœÿ⿟ì@ 'ÐaeÑÁ”7غ>¸ó¡V˜Àƒ~oŠž|O3šÞgŹËí 6™º&+pÓùN8y´umGœêVh•øÅ縭6¬=I¹ã—ï³a‚Êì^Âò öÐtѱpà † U$ÛÏ:9Šñrçóù±ìÜý˜¯<¥²í4оgÁo>ý€Õ0ÿŠEqºM¼œ_N8]ÖL©žÇ)õʃ¯”Zý‡§ŸC":­ðFyñ¼tF•n][¡v °Þê–×¾gPÕ¨÷‹æ)éÙ¨0¾6c²Xòùô‰Ïæ‹ÇéDnÊS(VˆûÐGÈÀ”‘s0„Ç BnÉ@KÿèÓ§× Ô|¬ª³¸ïB̺+!dúÁqäÞ;ÑDÝv“„ìðyP2ç¹\(ˆ¹6Gç f1H4ªÚwzꜟ%b{ÏgþbÈVJ’¿!¦ýÎ7Ú}æþ¢4oéOÊÇ,Mªh¸ç²^Ô10"qoáVÛ¿sŠm²eýÖ&ôá-)1ÿâ×»\;¥JjOʧ8 #GóEK”œûégTØ+¨‹K"ùÊi½Ø/×È—ïë52Êæp<ç2µ€g¦ŽV%c²H½é(‡©œk}‚ÊiØ™l: Ô©¯E´øvÊ”ÜÛËÒœ0Æ\{”bY³ˆµ˜ /ÇZ3i¦ÍÖõES0çÞ 'Z”{5Ÿ —ÔÏì¶TÁÄÝrcg°3Z%ÓE•ö¬Aâé-Ü_›>×öSù9m1¼Çý±fæÐõÐVý Ë›¤BŸ2ÌYð— 9ñæƒoü·»YªñÉÞ¡n!è$4{›ÌÞÀÓÕÈÁBÅ;þ™œèá\ꜩ´Ê0Ýx˜Ž/˜Dêýü/Ð^ç1¸ì·XŽŸ/ZUrÕï[¯0(†™:ÛË0â)Sè·2Ëë¹0’g]¥ß„=i& ɶIÖ,ˆU q¥üUÁ+yUz5ÀNÕ·üOIlKbäW¾Ì²X`(|gÀ QàLÂ}jö˜NúD-ØY, ·™—¢a‚ÉiðÃ&3§üV†÷‹é;…žÏ4×ïVb$ {JжV|3ú߇«½™NVo –Ù.|ÚN☳Ìà€Ö…gYÙlšÉO¬³å®~“ñöSÉ—œZc¸Ùî¢}©2›Ÿ¢Óáçì™Ø~—´`C¢Â‰úÄth¯ØO+ø¾>*19c©"©qœÖÒ÷ø°8aþ#i,©ø/ ƘÏ¥äHoiBœlˆBo`XGlT‰„ üàg€Ib£œ9KJÇ/s;´žÉî“Z~¡õ‚Qh’‹¬hbD<©ÍqMùó¹ñ4ml—ŽËÎ?€¡­0E+“:´Sƒ1ÈA‘Gv’ù+žÑ ýˆÔå~ºÒ?èÆº–Am7ì6 ÷€¢-Œko!×»n0[Ò!œ»gbáƒNÕ£¿ j†g˜¯‰Á ÊWqã%󺹳Ñ+»·¬66F“j…·Jüô;HÙï}¬{]h—W‡u•Š–Ó2ÂÃé ¥èÜî¹óñ^4°”Òv®­óÕþ[çªÒ/¨DEÇü±aWSQ£öoy?˜2cêý«¹Ø¿h S R&†3Ëd R#á×`|žç³wŒÝ6vB+ˆÔ«y<¢¤7d[!úê'«_CÛd¶(``º¡Å1„Î$®3äJ7ò‚‰GýÅêø  HÜP5ŸËnVB`Å%ÂþJ³?œê¹eß%DÜ+þ BLéM =H†)}ûýÄ Õ~¥ÇQ»Bë!¿À†t«ÚC°×±»ñm2©ÿeÛµ)›è{‰!3 s~À̹ާøÙ )q‡.iNèJŸv¹9¡+Rô;ŠwÛ­=šÔ!“ʉzu·ìe4!Å·€ÕCâZ=ü¡ªøµÝ™f9‘ÚÊitR™Ýz𦋞ë×þËV"G&¬I&Ø”Vˆ :Z‚,§ŽœØãÂäó}iæ2BÁk×~ÊQ.FªhéÉüÜUX°±&ŽÈa(¼°´w|A´ùõåÎw€‡,Ïœeë€qþðÆO5ÜÝ{ÞýÒ_I J†šÑ€’ ÝZ ŽÂ)l0ê.ú&¼ àïcèåx~Fß3b}Y­žpÄ0^NCáÙ™aö|þ|5²k”£Ñ“|I!.‘ ØlŠŠ‹¼ø€‰$ú=u8“³žÞhx… ª¦JÞ}öˆèÛ·!„Âe z ©šC‹dÀ‚ÔÞl:L7Ém78Àž*Øl%6ÕaÁø¾Ô0ää³ òßzG!@–¨WQ”[A¸|›ŸÇ‚ÿTÓÀsr‚ Ú3 qàm5GüÓûÚÞUW.T?…Ü›EéX±±àωiÝ•ÅÄÝ$ñ¸£ÐþôýÀ›%0»{VÄÕ0XFìT¬øàKúœY±™†IÞ›ÿH>€îˆTÍ¢ÐÄòÑ X«†ùnøö®yk ´‰15]Ó!àÝsÒ2{®WW#Rû"ŒFûNMéÍJi[ÿU@`6*„>1© ’Á~l«?=ÌóùÇ|»þÖŸ³á$Ü 5†Ä²Ë ¨°z”ÚwC±7:‘¹1DዾûèܰY]ƒÈæÎœ(ÛÍþÊí[èrìÊè{§Œº‘]„¸ºIþŠ*nÀRœg=ÉiÄbo°§k¥ñ:kÍŸŸ±UV«Ý8ÞtÆL»7¯Ø] bÙ¨-ê³ZtÎ眅%',ÀðŒœd+æŒ:åo9 ö¯ )`·ùøçµ+[ÌÃñC%¯õe­0ÔSü”‘ªŠ^³6r܇Â΋h]‚ÍžFåÇ 7)ÒC*.äi΀;Ê&£4Î{D Þƒ$&ys|ŸåÄ_¬DðI1AªRöŽ~buL§°OÇ7^·»ÆæEAþeY¬‚âw± *¨¹"Èà›Ð{©Ð¦Ó꾊We´mêDdγü+añÕöñ/?Ù&’ é¶¶. œyÙñ¹Ç–/P”³–$u¬`ƒ¾lÞg%X¤†:òû„΢Œ¤3-HM P7ºivÍ{ûfªM4îhHËïÔ˜ÓlsôaÁN˜þ¬^5àKÍRaŸt§÷¨¦Ù“GYŽ ¼NaÔ((A² Ü-”1ÉÃË>&R)€µòÙ•"md³D¤ Ï#°ü؉Àõ•~1vé(¤kSèÊï$÷9b[- F Q>5+X©ª.ÐèÜq!<ßÈ;Úç•23+Ü)â‹6#a‡ïŒÏu)‘[!c¥wbÓVZŠ(oÝ%»Ÿÿ܈R;ñc çîS³ÌTE9MÌRmw¹œnzË@Œ ©Å­ÐòG;s÷2Q®õ±aŒàÐwï¸Õu„â Ђ&† Kƒó¬8[*Yš“•å*8ë‹{Þµ`› ý¤VÑï}³\Õµ q$=ñ,Le¢ƒòØtðn¸ÊlYƒ“þᦠ"…ByÞp‹3¨¡YM¢Å±ÌÐê¸füäçòà5™qJõÝ›9â´‹©g×e%-|æÞ :bÿçg­Ëp¡ä;¯p½"Ñ+°<êŠÍ;ùr¨¼‰nØ =(áîÞ™‰+NGÑ/y…r¥èÅ2"mL·wh·™* íÞ8xƒb«àÝ•~PcHÖ<ïì)á’£Ô›ë“Ç)º|ŠkÛÛÁµ5ï¶ý‘.0º˜²ÝDì×,n8ÝR¿ó]~­‰Iñ³ŒšôqjÉ¿6#zñm>Ùh<˾•az¹H¶·;Ô¹¡¾èá°¾)íÀlt{p#4MÐØcSõž<S[gè}þ’ÞäÈ+ŒÃñ÷ëØk»v „rºb5ÝÎk˜Â•EãàsÊAçØÕ¯+-Sü´y ‡®†Mst”þ%}JÔ«×3¥9Î4óhÛlš!ŽKdyˆ„ê>DôÑÍe³"×€ÜèP|§Õ¼ôc#Å _§³4èüí)ÖC|Èùþv²í#Ækß9y•§z£h‚­¤r^Ž}ù'ßÁÜ~‹Wþ÷Ú· Ý:Û+*‡Î•7˜… üt[q”¤–ÖÞÅ`ZÿèOŽ7f« Z¶˜qbZnĘ9’ˆmïMXä!€Uïö"h€KK›V*ßµ<¹Ú„RÅíUÑ“õT°òaò¼RÅç·Q2û Óû‚¬§ŸÕ¸™qÏ•’JkšWnôÕ|fݘҽ·4å#Uòׯ'A^Û€¯ãÍÙd>f¾ÄÀbèb¾= .Jd/Û42šèÝîÔ»K¯ßïB´ Bæ+£o _gƒ‹Õ-]ÿ²ypI)°hÎ0 IÈ5Ž)Wª¥úhM®TÚ:2*€‚Ð$©i›,0+‘ž¶ÛtñXrµžPNÑiév FÑõ^<” 5:0fü)–ÛTO éƒ$Õ‡ ¤Á/·M¡Û'У=½˜És¨`Þ!P„ѹ©´’vý Z1W[ƒ*4~HE¦'Þ®â5Å0K®æÞKyFþÐFéï¨ò éwäºYä'~sBœë ÁháGÎ@ üàÈ‘ ð3g¹ô0NÐ7°–m© yEHÍI­xqé ižk½‚Lýú¬ÅžÑõk¼h€—Æ~Ò„ìJµÚýÔòyœÞŸËkr<¾n«ùõì=ÿ…•Ë÷žhbgªlÆwç@0.Jð¶'9&N®t9¬wÃÔå­âOòm“c³þ²ŸÅú‚w)HUßÀµˆŽž!‘èFýö¶W9lÚ§ÁLL<“7Nt«Ðógßï †ƒÍ'&Œ¬àîÅoZSåÁ(0ñaÁ±»:ùÕ¼å€[³{šQãó ºÅ'Ô¼I ìöœÍåoSw½ÍÇP4þºÅªó ÌÖƒEˆHÿúµGMÆ:±Ök9.2–G‘Né¼Fƒóm·-t¼’\¬ù.£òÇ£Ùx‘IŒpnè0ÑÜ9ÂÙÌóRÜ™E˜—Hz =ùË#1šCèÏoó'%'åë½,NÖY›&ô/Æ%²Öò¬cÏ’.Lz±¦¤óê‘ÆèÂìÖö³¡ 9 »?s‡^\ÆÌ(°Ý FÁð©Þ»Nh.D ¨»÷=ÍóްƺPêV±X·—¤²ÄhBAfªØV¯¹¤çF.á÷ºÅž¬CFH°êeAh7Ž-™„4ŽyvàAšw½üiáŸý öcΙÖÓyÆñié̳EkYR0âè[Cs°kžð¢Ëß?B©Xè’\™I­ïãyúãûÞfÄRýDöKaö¾Ã övãCÀΚ‡êíj¸ßÇr]Y;±²…Ž+Û9\äÊ€‰W¸hSV`’^z2Æk“ ƒ6ç1â^Ù·^FÒ_g¡Ñ8á¢+›‡&ãà¹\8Ú«¢Qàë«ô‘£j—/â‰t×dYŒ=JvzÔl wÜes:ÓµÙði¨0¦^*_d MH«é#D†> 8žT²´Éhf±¿#†Ÿ÷³$53¸mHAc4¹íÅ÷棜òÎ*:qšN¯Œ]OجÏóc®â5a«6¿ /sbšW Ww‘ؘl™Õr@P¬«kª1ÏE‰T³Jä=d³ëYÃOOøO‰jGow¥]9×OPM-µXv3t8âq}ê–†ËBÚA3ÃÃIàÖ½ \A e¢éyP[U*¯&sާ²Rç#ü¶Þ¡Z ÷ÌžŒµò‹v+h6ä?„Á q–³kEh˯uß éFÅ|™éà‡’UÍË™Eí{Åò¤LVÀ÷‰×¸þùþ¨ª>ò#k ¾«Ý¢š­+™ô™§þÆÞ q7èoSU0ÒýÀ;ÚI`ãÚ4ñrá­õB]Z÷hÍbÔç¦yð|8·õ´ÐØþÖ²b1eMrŸÜ}/,Úâ{îòÖ{¢)mÊZÃI×uŒyZÈšÍѯ’g ؘ"È–J¾‹:s ×.áBûk?Y·pÇ;I£)-¦uÕÅD†ž?«µ{ô›à›n`>’·ó Ëz¿×›P6ó Y¸¿&r&!Š—!‚$AEÒâ7¹SUïq\Œ5Ëv¬øã¥{¼wðÒ @•pb†ó›ÕîB97ÿÀñz­ïŠÝÆ©FÐJÐì¸êÃ2?¡¥0YÅðH‚cI^àÑÏ¢õ5”@Z¸ö=c1'3-YG¶Á>'i!Y¶g‡vNP²Tÿ“Õ ã7O½‡áÎawÏòOoH§ ïm*’ÚÙ1Ñ?2d;ì8RðÄæ‹w§@…3bõhðÛ“È1nÛ/Púen½¶n$-0~ 9dÀÈh%¥*è/¸‚Í€TË;´ŽåɉƒÜTÔm”_Ç(­HŠ™ç9ƒ Å!~ù)íú´à}èüüõ;:©ˆ¾ðZ‡ ÆÂ"[+Êù )Â\7¬qEÄ„ã2Q·« Ú‰Ïõ×è÷:ì8å›´A©b"#ί´3e)xÔ$áÛ@u¯–æ_Ã×ÂÊ´v@(y\ tv“_Âï !\G3Þº¨ »,s ×WÈ& ‚—諌2fÎŽ}£Î:\WÁ^× §”Æ–Î×Ä‘™„)íO®z;Ð[èÚZÎÅ13•àék„Z®Ö¶~vO'²VqíööP¿ ½]ä\SP}U?W⽬YF™çá~qÅô$ió]…aSü4%%ù3â Kã=÷s3©ïNuDfÆ­”O Y¢þøÞ£¾Ìê¸îwòS;i#Œ¾TÊ|”U Õ#2¬¿X}üÆuÜlK=ÊQü_KÙ¸Tù@û¨¹Ú[j¬Ûûk¨„¾kÒ_­k˜¥¬$Z'ÊðþûÞTüÂcØì ðé@5 «7ÆôT²6Áµ£d§þâzÔÃ>LÛÖô¸U «È«µÝŠÌâ¯b †ã²h‘¯8é'³lŽÕù8(ö®è‰ðÝœßݦ\àS§l«95UqÓm2ºõ³~}Çôñ£íµ¼½Ë;=¹³¤Éè)Œ ¦ÙÆÆ7{¡|ÖÉ(ˆ98R |¨d¶QK™bfŽIŽu*œi"»Ò9B¢‘¿¦È𸴔wœp ôs‘lX07ìÂù¢e'sÙÂþzf¤p™íbÏö챈ûýð1höóUJ(z>Ñ_‚s:Ù _\¦Zoã(;À[Xæt`–ÁNêóô㪶`z¶½Ö¢·ÕTçŸ﹤4 aÜy7põÜ{·Cgô‘~:BþjSÚÈŠ÷m›¡ 7F´þšêR -ÊgA¿±G.ñâ[üïü»¯^äáBå¡—¥Ó(™Dã›T¿À/š†ô³ü¯éWÓпü7?äW%Þ¡`l|‹« ºþäÀFB¸‘…hºì:Ý!mf½ÝÕ9ž',¹+üò©¿­¯u[…ÏMÊC åË;­ÁZº[n¤L¡"èè_g\;5>úŸõÖ.ß“ FEÞK4ïÞf —!…tÐ×ïKæmÄ’‘Ѥµ4wûäHÒ§ ãdÑlWÌs!·3¢jÖÆ¸Õ¥’j”Ð Àg³,ê¡woeóÐÊl¢Àìu}B0•ŽÇ‹ÌÖÁàgyC”–¢Aoðb‰ÝãÃL()5‰¢Ñ“ŽÐ^(Н¿{µ0²KØXUŸ·ÆÅ0¼':@B¾e·ÈÉÚÈÙ›,°Ær-Ì\Ì?Ï.§Tj1p‹¡ï^q–ÌÕøYäYc6Œèìnb¥Oðø58Æã#z•òôKÃAd­š`øå5µqØÒaqºNG¥&ËîŠ_·ÛUv¿€Ñw¬Ç¶úÊU¾K¾!0Bpâ›Þú¿zÀ8qdnð!¥MÚÍÍfbUdû®D¼›£ÅI –(ÝâÊ3{ÉÖ<©Š7=œ¤XÐKuDš]WÏ€šCÆht…ã×¶nÍkX?5ÁT¯¤›£Îµšµä*ë)ÓœÁõÄíf}ìçs‚ä¶'§"¾¥\ñÜÃðņaßlÈÉ*ÜêµlŸÑd"ùUÄF«IÇO«H^_ö…­àsr±Ù:Ììê¸ÜHÓ>‘žÖ»âYcá…ÎsÀØÑ"´š/€žJÎ¥ý¦¯S¨Z™Äh:6ÅYÝ–µþ—Ù/¼'ê?g$p–à\˜ËO[€X5åÉSZ»t•M‚¸@GLO LÓW¤…²Þ¢û‰£›–hÜUHŒÎðÕgá¸Däm ŽY°Ê«&aOF®Ùø¹ò'·ë­NëÈXÅšV熌A‚ÕÌÛ¢2-»^¼Å•[ÏàRñÐS2ÐÙ%ûüŽè­`—T3šÄ/Ô¶Váù4³‹h\hC¥5‘¸SMíˆÔ’b$söjÌ„? 8î©XËâô\²F|õh×[í´HÀðXXU¡“±Åæ\ÒÒ\Ò|Ž= ³×#[Ñ5½è*ž k`‡X¥j£çê9ßm¼„ÇÜi>±ß“¯·@Sˆ²¢ã@’@·oâg!¡$w]›/Ð*jK7ÛÖ–TÖ>k?T­Ë>R]€¯œO‡\Q:p-›’Tä ¥T)Jçú…½ëod|e¦ ¿Ž®"‹–_é`Pµ5Õso×^B*¬”™ëÉ[Ñ Ñó9”9â)Jñ¹ÓƒÇq]p](µã»åJW_eãlMOâªÈ—‘ª/Ÿ“h÷޽.¶¾øÁ1Di3N}®E®Oã°nQÀŸV\¯áo§®ˆÁãBJ$<5ÕKÝÚÆIÉ®ªK"(µ@½è’aDæt†·ÿŠ]ÿY]z¬¾Çìç×H·7ƒF©&¸ï^> Ç„÷9&ÒḼôð(›ÄN&-50S¿+á²U¿²Évþ2VÂÊ0}¡S´@5| 2’35yKG¥…5ú„CO„g$Lþß4ƒ‰¤üŠõø#ÅÕ|¢ÊײQð´e„h˜öíЇw°®ë³ß­ŽÀÅ&šÀŒ^Ú§š‹ko¼JE9»R°9G5itúïâ`JyyütyT²l@Bx·‰â'½d¨n-Rþ5~žÇæ`Ò°aÜ`áqrËÔëÀ¡’W7Äûaâ“kLª ÷Æuñ°Gû‡{¤±I«æ¹¾´-_a]âEÚ, ,\Ê‘)?eåá\É -ÍåRÔ“ÆXb ccØél[ËÐÌÙ•õeæuØ@µ()—e\Fu,Œq×1„s©&T^B‹ "1Ió À`?%'ФãeÝÞÀÜ–j¥Ï‡û…B¯B™ ošmþjï–$ ¹ûoÄzJäüäFÒT 9Do¦;Þdg1ÙÈ|‹7 æ²E†¢TÅû[Œ’ ^ö Ð[ËñS<ØÙŽ_êS`ŽÏùLÍ’SÊ(ª2k(Zᜑf>Ž~ ®IÍ»à‚¿èe^kãqÒÀëŽh«riv¦Td_f.jsRèhä‚VB òCh8޲ÛH±þ–¬%˜×p­Š-Éü|ˆI»OFä७%»¦½ë³Йúð]É~Ï—%·Ý;pÅ0#ñ{âM$sFát¾þúäÒâ4§‡_# ÂîêÔ—âF ¼Æõ壩©[16ü⢨ñz•Áë#†Æ-8px†ˆ³JÙ§YŽ=eb[9IJìÞ”aqðåzC HÖoræ]÷½w—´ŽÁ´—k‘ªÅδÙú°?ßš)ê¿ n0wZIPÁD0'ªÝ½ZŠ},Ѳ}Wz¢©ùdˆ6.;tÈ­YÃ3jžj4"^U<Žàfé#>yj£aךdñŠƒR«Œµwzdz€%ÏByúìì/o_=bRÔ;b=d©FpGà"TgVtÚ4AòˆÓ#º, g$ï:zQõÝM: ²N:É» ×T”ð X³¥ß¨€ïªÕ¨DÀ €QT| p£ÖÝ1йdCé<ýIvë0ÁBg´XQÙsùŒ»Š[g>jÌ1Åh(¡›v:íà ÕY|¢ó>',”£ÎrC‡q‰ÒŘ’^_ÔûKáÒûð2á¾5¿½äñŠìÔ_ÄPÖãjÊ3#ràN¬u¥þëD+hð‚;ïËMàOf¦^'»Cc ùEá, µiÕCúB‡©´jRæóĹ¾E?c8¸ÿ8{÷rÄ9·úIe9àbâÓW¾î>s_ŸêÅá%mÎÙâú•`ÁHU†·ðùGƒ›„4 {ì(8éâÀ…ÎôIÉØ¶Ù䬸lƒ¹©@×‹Ñ …2˜‡X). ¢˜å®»—&¶˜ðãÝo¼ù\Š>Òá«Åa83-%>É19“%‰Ç‰‚ÌlÙr/_æšÂ¾Yž1ù†§z2©ó7«JKA2êÌ1ŠdàlY¡î¸}6wk7±ìëÅáË=ƒó†FŒè*o-ÑqÕ÷¤]{|ÓŪ€fÐwúÙ‰8z‘ý¾(ÓN¶ÒLºÔÎ6Ý´Û']b“g K´Š8›”4IÕý0‘ N`ÚsZ¬+ç¶?HÛ)áÖª™ò™*:»OétËóVƒ7+„æTÒ+Ì…OLÞÜ×”•³ŽÉpAŸ”Â1™koÞ’5`ò­s 4ù'l/ŒäþÖs/WèDN ­ºÃA”9˜*QÀ&”{å)R¸L{¿Ö‘–·¤å>I!yÀÈXðƒ“x!¼v?³NµÛR}•ûç£,²ª¥Þ“‘——†ÝŸ8ytti¨»?zå2;Ý}­ÕÁ©¢rÌû—ãÞk2f"Juúø÷x[”»¿)¤›bÐä b:g£PvÅ‹¤¦Ho‹‡Dìl·?ªwàTðáÜ#ºçÓ0£h„œG}²d0ÛVdæ…øW 8µ¡mú© ÜBf4í¢NƒyC$—ÁŒpšÑþ/#üˆ&ÖÂè|=„ÖÛ(±±íl:—ÔMF‰­ð.V*èêy*}ï\EáàzÐ÷Œ«|FEV`D¼ô»ý/8²íÅFLlqF.`*ïÑ×kêa(éªyÞ—LÊÕ|)w²‹àvÅ4¥TÔÎ ‰ÊºÃö’'(®§G_Çl´Â3¶îøÝ ÞºPãwI¯n‘n8ñëZ)õ¯ž•w·Ï{r Ùd©½¤NâS gËB«Å«¦D°µyÕB9[ «FJ7}Ù©Üëy‡T"#JÔp€C|ò©û˜<_¢<9þø BVtåËVÙü¢iæ¨Fšîë1NBNÈU}ÏkŸÏ™Î‘§´€è(øØFHMŠ¿«œïm´Àƺf6ªF¿% ¦Ëó1UÎ\F{[Û€Ÿ5[+íužEÙµWël¸ÖÛ} K¯¸°¤~]É»¸dù/’sŸÆ¡ŒN¤Ä…Ö—ïèC³5÷ÒÑãüm£¾ŠØÍ$D³GN—IbwbLÇ×! tÆ}=çÈËcQºq‚Ëõ”÷j„ð4àcçT’"YP-vô9¼Ê¡‡°iî¦Z)ú&7¯SB „Úô3@Âß&«©  St8nENŠKm—eG–/2Foº–ž–è¸/yDͶ{V`L_æAç.þPù‰Tá±S9jÉ ¢s~½SrñD#æ-–ÿØæ'+wô’› (ÎsÓ©¨¸v5ÒGôŽS-š¸©ø¤Ç+­Ç€â:ú°·cÝ#(ílúŠ%†=à3¯dËE›—¥º Ÿ‰÷ÓS„óæ¼îð¹|1&5>sš(RÌÔàl-áõ0¹;+²æ@Ù» ª«ê^êí®}¼ðdu‹££E™·mY/¤æ ¨,Ð9‰®ùß…žuÏ-â÷J ßJܪÌýÝ&†Q†è¼n±!Õ¤:^E¯~tÝö’4¶b%—Œx—;ãjÙW¸Då±ò=‹KÎÝß?p”uÝèN"0} †¦K»dwB¸, 쎉ùöeSl`®„Û¸…"̬fuôO¢öýƒO2oèkæÍf´˜¥üh5Í2ÓÇÚ¡b¥Lj…Ù¶–ÏñJäúåL]½>ÏP,lHÏ+˜µ¨üC/QAÕ0Ø›sÉÝÇÐlÙǬeÿøO¸ }@‡}'ô½þ9ã0¹ŸB]ÒNfg„…„¬â ”µpç°ñÏÃqÝ«$š^ C"Ñ+÷)¶:åéþ¹[Jºo‹(ʹïP³Ðé9Ìziݱ \õýñD>ÒÛå¶Š C¯”‰©œÐDrS ñ‡êÁ «X å@»î¹©€ãlÒeãc ÌîZT}ÕéÉü@{½´'n¿o®4I{+·“ržÚ))/ߣºh}ѪÌ5[ç¼ w´‡Z“õŠö/0”_qá¥@ËV„üFÀhLpÌæ ¬þÀ ˜€T£ØoÔJÛê$"­¥óØ}àÂ7¡Ö™¦Ñ*.Ki´—Šœœå¿A~ÄE̺ÛQàΚWZª«B÷Ää Ì@.ƒÅ»rR}•ß=öííVECÀøün.¦3smLD AÉÒaÊØ©P—!1„~†d´\Hî8rnº†DñAèé£ó&SÌEU±/IçמҾ~ÝŠWÚ™ÎQð bþˆ¢àXÞJ2 ~ënšV¬²ù‚Î0oý—½Æ=ÃGGyv~ë%IúвmÇ){"{ê¬KE:Ë“2ûn9ý•S{¶@*ð®éStŠ`Ú’ Ìá} ¥ÕB!ë²öÊZnç`"¸=f"îq ²5d›6‡P`ùJ·Fðú¹€íü¼œ¯ÅОѹ=C2˜÷–Nô€ÐTÇå‚¢ž_“Û¬Pð— Û`Æs±œ£8„j£“KƯ%­ ÷ s­@RëêõL:«Fí0Ö(aä0¨"àLÍw¥ôÎoTÙ°¶sÔ{fÆcÍ7±W:îЋ‡!#hMsý…ÃHœ‡XÜYF°ÆE ”YÕ`¥×Uø†BVË»­]/‹Í>ËÈó8”Ζ©ÅÚÂ8Š-¶í£oàª<óìŽ@…HÍôË–ª]é`lQæ/}ç'ŠJ ¤$ª <×–°áºõÀ. Oó8ïIÌ+™;AœÔð$ {·‰„ËÚOî¿ã6 -ß?n‚.\(úâ×yõXtæ–©1”Ììo] ðÅŸ? ²wÒA[ùÕ—n6ÒOXU“§@Š&õúl pôË2R|¹kühV·%„ÆíŽÌü–)D‚ZcAÓ©]HÏ´Ì ÇÓ¬¡:?q…( @Dq©GÑ÷šj‡ÇeŽêÔL7R]›hèòƒ¤º×iðý›CXç‡r°¡ÉМ²JcŸä‘ ›CÖ£Ú|½ îR§¤ô[û¤¯0ÌR8Ãy~&Ax5Û˜¤~çØS”Op ëŽ*x”^ªNÜ40ºÒ™fGÄBD™bÕÇ*«è”É/; ˆ_ë³®9+b‰¯©oÌùÉ^›<,uœ×àÛnÐS¥Bæ üX­ÙÚÊç·ú ÷][ûɵˆqï¾ÒØ-A0S®š ›eç Þ×¶¤•blä?ø¹ùO›W(ujÎ=ªËš¹µnr¡Í¢ÁcÏoÄ}°Í„KÒ*óp†~ÆÂÈÑýÖº6QâšÎ/ö!´a€VÀï¡Aáju?Œmr‘?²HQÒצ¶ºPzwB¨3vÊÏ[59†¤Áz˜J\šGœž¦ Q,…ÛøaJgYƒ;y…̬X¿ëælêñÒsjí'æç˜bÛ—ÊÈGljïÍpöÛÕö%©)‹Ô¦âIí›N ¦³SŸ³'¡J.19…C!X†ÌL–ëÆgá ýW×çÎÛˆ”åãÊZ‰^³‡Š»\Ž˜¢N…QÁJ^ž«Ah.†´ïg0‚“Ïp•uLPÏo*Z©½nzÜ¡j(•ê›\ýgsvý$é9öÈÔ:sdf¾ ûŸÉ"~Sjoò›$¾Y¤¹mmØë¯7™Ÿ‹ËåƒUÒøõ7½°Úkë6£Î†ÇÄIñ¹É SJ´£Ð¦;a+s¾•Ÿ|áBâÔµ(Ö"Ñ ZŒðìôIsHÀ#¹Ÿ X(î•ÄÁEŽJfþFbGÉSUfÁ'Ÿ®ï¯ÒQáAÊ<¤#îZüDxØÏ-ôµŠ¹RÇÇñ3Ì&XÆNa4–ûèYü+¯‘îÞtùä®]­sÊÌ•8¼¼æ5’5‹ º „‡T§R̯«–™BdðD±z!çÇ6ÕÃðý˜ž¯û^d—¥n¨`º‹Æ÷E:snz¿:´Çï‹¥Ö4%“Còóœ DQ2iT3 öÝ”=é¹êß8Ã0Ÿ‡·)).ñæªXS »tR¶ç3z&gªö(“ëRIéîeKØàXŽí²;¤QÛÕÙ”´‡Pªt,—uLe®p#¹ùàˆ¼´ ±×IC½àWÆ/ ¤Ò«Í« ‰ÕÚÍŠÍZöêrm-91§Õ3N”I&Gƒ…6I=k\渰âKeˆYz°œûØw1o¤Âß3l›Z“?Gèå¿Cãzõj­›¢usG$Æþf³oéçO9îíT?‘U˲¾y¢Í”yïÒË‹œ&LŸ¨ Ñ´ÒÄó¸˜Xú˜ã”X ?PƒJÑÓ_)³‘ ‚çZ6çÙ f¦A(}R#¹âmÒâM{ÎÕÖ™ðÉ—ì¡j°Žx8Ðé¥vêñd¿m§¦¼Å®á48¥Û4,«&vO§ŠÕ³¡ Ú€Þè“>BpAðgv™:ÉúêÁ œœnã{Ø….Þ·yô/݆Ï`|˜Ù5&ýUu6ô6»36÷§-‡T¿¬È“»}j÷Øòï0)MÑl±x£&ÞÏ(*ø Hܨpxlti²œ™fݘ¼õó¾Õ¡ë¹—«¯$8:ß)ˆ§RÕ¿È&)Ó‚CC ‚çf^6 &A8c»—A°_¾b™*L…&øý$Ô6:ë¡Ç!èæVÙ”)µÈûð… ¢>Âãu¤š)J‰ —ÎHÀçÆµ~cØíª>œ ¡¬Ý4|ÚAµ‘'Ñ4ᨑŸ²æ9=¡úÞÝ#ÅS„kìÿîªCy†©5§ÔÇÞƒù[jórl˜ˆ¶¬ãr«¹¾wOrí¤Žpâö£m¬ÏûÅÈJÕ¼±°u¼ò! ¹¤E1…´;ëvS⥴9i¹û%Ä¿&?¶¯8Ø£œêr[2Åù0ÜWÑ^³ŽÝ6¼[Šè’)Ìø6aÄý$„_ íIÅÈ,¸Ö…¦DpK„×~øÈ³Ççq+>õDq$a ˆ Û=GÁ<öæÿ‰Ü†ý‹ðÙ€¼jÞYùgâ•©õ[·¦½¾H&" æèKe[Uå¡ ØÉþK þ¨lìu³W¡ø¸c!ri#5§§»™œc³sëM²¸÷A'TýZx¾œAåˆâû^t5eužèÙ€XÁ9ý38=éù×®=4ˆÉ;“Tù'®|þØ5嫼sFt}_VfÿŒ‡õ²zÔÅÕT÷צy>YSL­È 2 9ØRR7÷Xªx!„xW…0çÃ+í em“ «­Á<ý¹íy£Ú¼Ê‘¬â{DuN+RJX…¨]”ví}é–£4ó–ùCü™ð¡_¢ìMÇTGnšÒô(ÉR"Ñ.úΩ¶nءĹÅf0 î´ŽD²€d™2lç²DÍõ VKÏ‚,,u¡´ê/±sÍèÓâ>R8]›—q ³c°øo¤ rÑWˆyáã‡ÚíØye>àÙ³¨•2=8{,¹Ã‹¨ËHÇ´¸©œ ëÑ$NKèŒ)Fò!’d Lß5Òl‚Áú1ó!rB¶ µ½;’¤=fr– 9_zó<²^  í=äB/I|€¶²W¿®I‚“·AoGê»}ªßñ¢Ÿt<)ž0ñvÁnšsù–iS¼bÁ|”ƒ‡Ñ(ĵ$ñÀZ¼¶Œ=ªóykZ²Ç.rN;R»e›—“ÎÙЇÙ$7xœ¢´±Tµáj,;áJÙ»’‰‡)È—#ßÑ%*Þ‹Êf±VêïÏæw˜Ýpœ¥§ODƒh'_=CvÆ7Š7GYÂO¸çé Ã͆?ë\°H^ªM~|g¿6 !¸!òÏl8eŸ$¿=÷0:—|u˵ŸÙËDy °Õ¬Zù†aF‹”æª!Åçg÷™4¢ Å6×ÜŸtiÁ|ï^lSâºû§¾fk2PÇZÒUy~&´_S#W¡{@Mûæ¼ ˆq¤#ÅÅð«{(>¬&˜îu­’ïΧÏrn0g,¢ÌOª™Iæªà†q[(¿œ "é}ÜJ"âp§¦ 0U(Ûêá’w¦Qö2•­çóŠŽÝ321¼ŽsÄbZdh“æJ㚃$½gº ÍYKX]Š˜ê)Få‡_‚w»7(Cõ­nnsè鈥ñ’—ŸÕñ0£_¤Uá754² )PÓûäeݦñì”hLâÓ›ªhG?Ñ]­æ6™±ð_Œ»’5ï$‚™ù7+|ÖjbÔ$Ì,nõæTºÿ÷ õ%‹à\Ö´*1É[óXÛ ¢äâì.H­g4¼›Ÿªv"±åÃM”C,Æ 9ب~Ê4BO!=AÐi.½ïàãfb[ ?èÀ—„ `Ü ÒJ­Ç °ýýž]µÛú3ó{|xEŽÒ€né  \iïòºbqË`©a¨ÏþFTß©\¹ÀG|Ù¥³}±e:Å×ÅäîMƒ¤[m¬ DÛ¦fö!Ú‡á…_¢“Ò*÷ ÁP®ÇV/|èÅŸD·*|Ì­‰š1õf±bBdH‚ÓFÈŽ¨—Œ«yK¹!t'9:3+^L«\¨X7F¤W‹šô.0µN)0×=]QÜ_®Ð•Fž\ õg1ès 8½¢*ô™Ïîv·ý†ÊÒ! ˜¦¾PÑ"@«6 „)VÄ\pG9áa«ÚJØÙVR ûWЧ¿Ô\í~AxsdŸï´6˜°ûçÝ#³"Ù»Ê>æHëüª=„AaÈÁSR@ .ášHHmµÑ‡ ¦µoÝ~³ùÎ1£×”äN Ÿô¦@a½kƒtçK¶úXœ§å˜#’í%™í²ÄR`„`}‚¡'¥¶ÏºôÝ Àþ2ù¤Ú ‡î«f`·ÑÄ=W6`ëU_敵S—öÕ€5õÔóG£k ¯n~J&4uÎ@^±à³×ç²&Z)$¥ƒ§š'®¦¸rü2X›W¸ÎÙœGæ0¼3ÔF*O›šmLütÜÑ*}3§@¸ JŽŒ_f‘×vÛ²lÙƒú‹”Ô ÔX‚/Ußs­.¾4v/ìkm†¶iûSœù Ðf*å÷a—:hWIÇ”Jìë€AOÌ&ìa{?üŒ3ÙEŽ,†ƒýd—È@'ÖŽHvüw‡ŠƒÕôNÔxÓå#U»9+@rò¢ÇÓ/‹êz„­s–‰a³imÜ|È$µ<å̓ßlX6a³ë”qk\£&ÒO‰Æ®tûX ÚˆU4Zøl¤á’tõ-®Š0¨¸wkMñM ³ÀhsƒVfÈWédZR–0ý{ðerާ÷Ï~¡ ”ÈßE«*EféWï"˜ã,¬Ò&!›¡‹§ lk牪•¢øA j±Uq® ‡ª!Üv$\R‰-Õ}=™ýëü«Tõhy^yu;™ônïÇŸ*å¡xããç$\ŒÌ2R¿°h,¦[+kRÏf—|ë9Õ‘CLUym÷r'’0ìw†‚ìa¹æØDs¹óz4ÿþfm|u!¾YѤ²ö±gbPòüþD[‡!þºÖ-È"&½³â-ÕJ€AŒÆ›M,<ž“V^à{¨ÏiI±ÂlåL €-ì‡,œg÷ŠnXáÓW*ˆ `’‘w×)þaÊÁ=ùí³fv‚QÇ´ÃvŸiH¹ÇxÈùÝ_Þ-&û`La0ùõ˜tŠ< äÆ&ÀJ(•#ÆÞa_Ïg«§ˆ¾;íZ)TšÌÕHÔì~Qñ`¨| 2á¹—^*ðÔ¡‹?pQ5²»¤ÖúÕ¿?c'þuòé %oäãß#>ÙËKqxt}nG (ò ±.M€cýh—ÉË^ü@FQæî´¢ç»¸ó ª¤5u›W™RJÿ"¤ÜOh‰¤×âk_’[+Ý~Ny"íÐàa‘àí7L÷žRÐ0›¢¡%[îHv¡œZ¾¨wgfZ%°lk8¡cJˆsåz±Ðùï+)F¸V3C,_jƒKâå1 ’Ö]åà XÀá 2 n‡ßéO¦ó¯¯ÊÖ=2xÂ9²Æ,å= âý?iËs¯òËm²Ð|ûq„3ÈâCãi)×†Ï ÝÖ êûÔãßþ6´Çõ/éãâ[y—Ó<ƒµ³×»å¥Ê`—¯þ¯UÜÑyN‡sºÖ5pÀØ/’R)£)?÷&|¦¿r˜d­ÆzEÔ§ ¹›¦`3œ± ¢rWu„žˆ;{Æä¥Ík=‡´+áÖ  j°äãœ;8´‡p­²ôþ™Ñ4 ±ó2cOSuž»ßŒù$µWDƒºtvdáâ£éò/ùÊóóžU.ä/±‰H™ Ë WC¬çA†U>µ]ÆD’¯¦ÈlÑ–!­z‡ØÎ6NàÒ¿ó¶Õ‘óP‰'Ö£lϺ.QŽku …äu¹N¹ÚPÏ;Þ¡ªÙâBË4\>¿ÙÕ&Gé·‘W ìš {xo*|Üq²ÄºŸˆ}O¸06àITÇ}諵€%JˆÕÞ¦„ânªvØ&:éõ<ã‰Þ¹ël»}Õ©†õgzüJƲ)B@¹61Nbl›/ íO ²ByŸŒø›¦?»RƒcаLÊ?4­ÀzkÅ!¶9ºX©VF*š'„$‚ ÈÇ·‚½¶½0ü5EÈÿ5RüŠ¢ü†•}svON'¤ ÕCš5·Á« ·“(›bãÖCP–íßãñü: æè9PFtƒ5ƒæœ¬07”xÖ»8Íã*ôYÑReÍVTPˆû…1^#Ï$2˜ÑæsæÝHåÍ–!V-µâœÙódP¤©\ëúæÐ Äf<Áð5`ÿ~c÷òWs‹:ä endstream endobj 243 0 obj << /Length1 2065 /Length2 14964 /Length3 0 /Length 16213 /Filter /FlateDecode >> stream xÚ÷PœÙÖ ãî ¤ÜÝÝÝ%84înÁÝÝÝÝ%¸»»»»'\fΜ™9ßÿWÝ[]Õý>ËŸµ×Úo5 ¡œ"5¿¡µ>PÄÚÊšž†Ž (­(EO £c¤¡£c€#!Q2u°þWG¢´³7µ¶âø—… PÏáC&¤çða(mmp´Ð3èY8èY9èè ttìÿ5´¶ãé9™¤iÖV@{8AkW;Sc‡<ÿ}èÙÙY©þtð[íL ô¬Òz&@ËŒzEkS ƒëÿ„ ã2qp°á ¥uvv¦Ñ³´§±¶3æ!§8›:˜€ö@;' !àÊ=Kà_ÔhàHJ&¦öÿQ(Z98ëÙ S •ý‡‹£•!Ðð‘ (.µZýÇXê?T€¿š §¡ÿ;Ü_Þ2µúÓYÏÀÀÚÒFÏÊÕÔÊ`djÈŠHÑ8¸8Pô¬ ÿ0Ô³°·þð×sÒ3µÐÓÿ0ø³t=€¿<@ïƒá_üì ìLmìiìM-þàHûG˜6 [ Z[Z­ìáþ¨OÈÔhðÑwWÚ¿×ÜÊÚÙÊý¿ÈÈÔÊÐ膎6´ÊV¦¶Ž@q¡¿l>DpÿÈŒf:::Vv6Ðt10¡ý#’« ðO%ýâ?Üm¬mF4€?L€?pîözN@€ƒ#ð‡û¿ÿ‹àè醦} ±©Ü?Ñ?Ä@£ÿàó·3u|§û?zÝŸ¿Ÿ´>&ÌÐÚÊÂõó?˜VJXT\Jšò/Ê+¬]îÔ, jf:==#€õãáÇÿÆù»ÿeÿ§TNÏô¯êþQÜÊÈÀþÝû/§¿&ƒì¯µ!üoëyÈþM:f:ƒ/úÿÏKð§Ëÿ¿Ùÿ#ÊÿëøÿߊD-,þÔ“ýÇàÿG¯gijáú—ÅÇ<;:|솴õdžXý_SUàZhhêhùµâz;Âoeü1çÔì4L,ÿ›Ú‹˜º åL Lþ3Jÿ=‹¦V@9k{Ó?®5=ÝÿÑ}lžùÇÕbÿqbª€‹õ¿i…­ ¬ ÿØ@f€žž+ÜÇ| f€;ýǪ]þœp-•µÃ‡ àƒâ€‘µÜçÊ  åÿCôÄ ú±h…ÿF¬tZ‘=€VôÄ ÿ±h¥ÿA1eþFlQäþA Z…ÐGÅÐGeÊ#ö˜zÿ ˜úÿ : þFt‘Öð_ð£Rà?éZêÙ›üK 52ý23þþåó‡ÀâýæÖŽvÿJña`ü/ø‘â_Ñé>ˆ˜þ ²hÍþ?ˆ™ÿ ~0³øü fùüØyZ«ÁjÖC¦Û÷пÔ…Úü£þÈkó±vÖÿêÍÌlÿ? ÿ-úÂíÿ¡ý:ÿÉÏüanÿq…ý჊½Åÿt–þ#©Ã?å;8[ÿKýááø/øAÞé_ÇòQ¿ÛŸðFÞÀÑÎîã¥ðçÕô±ÿž€@ Üò‚µ§¿Y­Ûc5ÿ'gêý &Ä›Ð;Õ=a\§Cy_A®§[Ƽ°%þ®¹ƒ°§-´S†â÷&s5,:síM”0¬åú6H#ý]*)4îçS{)G†ÉÎN ]F+Cc¬ËŸ CÎw|³äØT¶×ûóéÇ¢\ß~V>T˜\B“6žÑ €MD„Aã°±1"€ù·ó§·W ÔðÏÎuˆµ¿á›8Ã9~Jée`ÞX)¥5ÝNùtr‚h#y—~“|ÔÂ'©;˜%ÙëÆy‰&ó½kó÷!Ó·Sä%æÌß›º»¹ÈP«GyŸŽ z’¢B¯g'Õ¶ZhU“•ÄèbÜ“î‘6»|Àcj¶TЇ€‘½WVo ç[ç0;¾uÐj÷`†¿léãÅÖPö«¢'UõmœY-—›˜™à—®(6M ¥] ÅG (¢_JWçª.Ñòçíû! ô¤çÈ>”v°IJ±†¦*Èáø´X0ž†É—é{1ñÍ´Ø 2û°Úúp0)š[4ØÏdþðâàz³ãŸ¹Ä#'}Œ*ç«0¯MMEñƒÌ݆Ø$lÊlå[ûEõ,jŽ­#l$úCéÏ~Ý!ôcðüÈÚê¡’Ä ½ƒSš{Åa?ô-/~ǬÛúyÅ;Á›a{•k?Ö¬Hø«¦oZú/ ŸÎ²Ëm ò6×Ó¸æ÷uòª*’´(ø4ÚÙ¤£È7““ÃŽ€Yˆ~€ËE|¤sxPôÅYµà‘š¾noɨybÔ!ìv}$äÕûZ OËú'ö—¨bg22Sù0‡h8! ðÀ÷64(‰¼=ŸÌ}…wKOœ 7 gx¾†ÁwíåT8þ•ƒ¶ ¼° ~êín†W&mœvuWýL‰>8¥`m–7Ål¶lŸ¬(¥°²)¸{›pXÕRê¸Ó©h¶ÛL?”K{¬ÐûEÞAìð>a­(g™7³û&Úï‚ÍóïðOp{VUà‚†±.Fu•ÃFB……0d³Ö$#O—#Á„l!)¨ ¼Cë)³p¦”)vóJK†ó ƒ)"ràù§ÁÅ"«V™8ZB±sÝzòbÇm;c0̿Ʉ‰N‚S¾ô4uîÎ…û52Wü ƒÔ—‰­»Åƒ.BRbà³óJÁ:e™y³à7ü(f{'·¾xqÒp¨nùJ¦u<ý®0H¹Lã,/^¿ÆmŽda=Ü™›Ùñ÷P³\ö;{D·¨ÿܾó®n.£¤þ€ HmzA>¸"bxí¸äq‘=#²¾5Ã…'ÞQ’ “m½xß+/± Úþ¾Ð›V0‹W'CW磅L}ò¬{Ôù<Š d›oÙ«žˆkh™°°³Öô–™Ð+úL5u ¬k'γpã6p%Mþm)?Ôº>ªœGO„è’›òhîØ6»£@tü+Ãox7•¥6ÔŸ—G¼’-ŒÐM]˜´ï¤¿áIo¢¾n*^Ñ[þr<çá…»•hŒÂ ÐJ²úAøÙ±†1iU[͈E¬±Ë3Áƒo_&üWØÛƒÚOKfè‰Ñ¡Hš«²%ælOfï¤NDìÚ/(cNñóZ?ÏÖ¡_T¢w¿–üXñÈXü|‚‹qÐ%k»(Ê—FE½ÌÈpævD¦![”<$´êÛêTg™Ñâ\ÆX4v]ê Ù?5“üïGµg‘t®‹Iz±× Â}}¿’ çw!³†º„¶hIVª[h;R¨hôFWY¢ê{ãêLƒ°·ÚBL•ÇÔ§¹¾~³¤„PÔÕørK΂ճl¥ó43©ÒñFM:íUçÆ>eΔú2­ù2˨ž{^O8…(έŠôæ`h k‡꺱JݦMôd‚ÍsÕðí \ã|ZWa†#aÿ‚Éy9Ý互Z7}‘zúÂMõ\§ò»†œùèAÓ×;¸g XYĽÁx³‰‚ŸPçr<"¾jëKz¤•rýRƒ‡§øÅ gA—hµ«{ªÙë~w.¨ÅÒé# Ð—.›Ïér£¾å”y %¨e§2àñ<à±j^àêÅü‡Ûáa¿²_AµMù)æù'=±~¤;|ioß>8M’A ^#:4–Œ@iûYÎ-À•ÄýL\)þ´AkËuÌ—±ÃY!uþíNåNý¹K€ùÅôâ„®ÙL@GRÁ^cH²á—…íWL°dPŒOK\-²õ6“Ñʈó©!ú»EOÇö‹ä¿WÓé¡9=àį,”i„¢-{â`×´âÇÝû…Êp5)#‚måÓó®ÂÓ,`Z÷‡È#“‰1BŠ: e†Ú&É =X†l¼,¤«n9àÉO7›Uì× m£¢E?Žª™óª€ãÔ.ÛMýƒWÜÆ¢5l†Oy®¥:GŸT^ëä–½Fœnó·~à–áv²õÉqð{"·ä¸ocËF]BåÛŠ“P]ö‚cKY™oŠa)™‚tŠîÓÏ®õJ¾œv”¥pi=õ‹€W ça¡Ëa×Xꎒ¶®8a{ŽîmêÐg&€F©A¼+rsc{ã㸠ģq|ã†ß§I±„×·ÂìT¬TRbxyûºÑ2ËŸ/ r5öb]µ4 î¾g/Øù>Ü¿ðˆùQ¹£² ‰â !’ó®yìàlƒ{º.å~NõÒé×Ð~Þ`ŠCüµñ Ôa©ÏyqqÈ­¢¶Ú0ÖŒNÌÞÄÉbõÊ~S´=P ‰ÁÑ:ÜÃåjÍht6Ñ/«4ÁéߎØyÜ‘¸†7ªøSæµÉd–E+à ÇŬ“·úÓ ´‘²ˆoЉ¶¨p3nµÿ—L¥­¹Íoµ]¾•i|°ãïKꆶ#0'x¬ /üÀ~’1žCŒ4ØÔ¹PšîªRþf•šÓY‡…–Æ=ê¬ôæz_ðŸç!k÷ÞAfÙ&ÞHb –œ¾e¯¯ÒsƒO˜sÉéOj”Ô¥&Fè·m”Ÿc½ÕæpiaKˆs¶üLœÞ<ŠŠ¢’ãðhj³×@ûŽcŽÜ-Ôͪ°Ãµ´‚ì>ÖœeÀã Ç;,=UIa+2e®QÚDÂ-ך´â ‘ØwGý„6—£bÏên§ñÛàDݼ«œ‡Œö,üËŽÉ<:† ±'Ìò UËs81އ¾ ±m7©ó%z^j+>PTÞÝ7.ï¡dTB Γ©i‰£‰œÝ(™hS¼³¹³¬Š óÅ,r¥oœ×uS¨<•¤¿ˆ5l‹]RÜÝ€ÖPš¸—¹<›Û’Û–€¤.ÛaiNÆÏ ‰D±tîYýq,Ó™¢´‹OGKüèÄîóÖ¢²îåÈ¢3U:ªáúÙ’Š¢s³CÔžaýô2nUrMFÔ`cjï}PÅã¹ÒSHÉØdƒzany8áënŸ–%ÁF}:|ªÁÛ™Qz²š…º¥4_r®*ˆb{¡â2IÅÈÞÝÆŒôRro{ç2&0Ç]îðJÛ¿\yÚ‘>Ûë¶íKõ†Lß%¢=qûMŒ#ˆ~iavè4·Ãn1TÒÑIWþ‘AË2ª¿*ëÏ7Xh‘1™DS‹™òðîŒõŒFéîZJ#«g‰ZÕér9Õ…»h¥=µ„^†¼¤F,ûÀòº€ó~š|Hº÷OjÓïj¤–²›]ÖÑ¥ /ÐŒæëÇm¥»µùJæöí§ÓàµS7 4nJ™•ovô[ÚHºC}ÃÑL¡wõŒMmÞÄxÁÈý˜0óýÞ&:1¡ú-Éãw{Ùe_ âhè¯bn´œd»j.ip´ÂI¤Ø¥»ž ´V ÓÁOÙ½¼ª•QËQfúµ¶_̦AŒœášý_£ýsbCß®|Gã±OÆG9¹½´¦/?õ®Yò‰«¿Ž§Ó+d{tgž6€5óûúgH]¼Q§?kÝ,@äIQÔG‹cCqÏÜ…¯qßDT-[%Ÿ ù5` e)W¬ ckñ8ØçKoÜzaßíNé§F’‹˜<ì1¯cÄ¡·'“2,L ½Fñ)5¦9s!K-¨C¬~$Z¾'ÝÅ3úZ×äyA'Ù•a²˜o¸ø¿W­¶o¹ºéK_-ºbî"LŽö¦ßY1#eˆkƒ¿¡ø«$c¹`h&Tñ¯ÏÆšPS­ZvØ`|ÉÀÜÑ¢t1Õj¥z"‹':€*hÔâÉ"°l³ ªdÈAð'¬\¦¶ï G›¨ÇIík;Œ›—Œô(Т‡P„êÖ3¡È§¥œýÁâþê°„È·`ôûÞèRnPsæé4¶òVÀÃÛmá‚ Ìþû2¨£Š•ë;‘/ÉVZ[b¸jÍ!¡Lª^ð)õ~÷Äâ’J¨jÁƫ“–Ó`Þ÷0æӖß̶UNöSÞWCV+3¦Bp{;µ{ñâaO%Ÿ“-c$¤„Ãú ¨++;³H#¨š8ü&ÔlCÖÅrg0ußÖÀ#HX´Ó8+¬›32¥[£äy+°1ãAÇ6Ò¡®}1×ÿ²Õ±p±Hï\ï¤Ü/ÎrÖ]éI5bÏùø¤^Ø!Ç0ñ‰FåÇZ$¶--K£±¬§š{é<>zµþ¯ñ.-Bï¿™Gã‡ßÒqÙõžq޹ό˜oC¨Ä1QF‚•CÒ 1Üí/+2tyËv$#[J×o¿Oï‹™Hƒè…Æô 5f¯ál€–¥S9äÞ1$Wbj²{rWí.VÒ'þªë Ë{«5cô# ïØ"P}o ñiž5"C¶hDöq¨ëØqâ^}œIÍ8™öS1Ó<=m´)-\9ãMue«ì¹fµñ⬓ˆ¨ûîKΜÒæècïAûT•;Òeî##+FS8h'DMä$7o=2¸Û¬ÑýumÊø}ïÉWˆÕÂ)6]®ïyôSºL$,5&KþªŒø„6ý;ø^™;5±ã—Ç«ºÓØ+‰h²ÓûÊ5K**Znû)Œ1W8²·–)ºn·8J·ê¡øÆÙÚ{V Œ¬|-ƒQãOû®„¨¨±¹‹F·þø… ™(vöÒxdxÈå/XQ¬[;þÓ¬aj(º·ŠŸ9 í5\¸‚YWä±E/QÎt¾h Fgûe¥Ss¦´b¢v)˜ì/OOØדÝ›å@3ëŸ2xgh¸@¼â8æN$nìÿêï³L¿¦F.®6m~߬œ9,ÚW™Sh&Ô*λâ$œâŸÂ£+´ÌŸàÉ#MW|ì; ÃñªüÒq÷ÃíŽ[;¹©wŒaЇã9³]°{_ C9ŒﱜÑ!³ ‘×`Úʼ¹3¤sJNghÀ´z>¦ÙhNv4OB÷ùb” ë3¬DJ¼¹ÃZvxåÜ4áÕy÷õ·«‰k®ô z´-.Üo½ºõ™¨S!j0Ùs½NÚÕãn_9‚ß¾’1vöRˡéM­`µØ¢ó,ñ@m´QbÃ^Œj‡ÊÏZÓäE;5¶Æ c Oÿˆ9_+ÁC¯—|±{ Ÿ=¸…7f'¸ógÁ¶´¯óAp祺åw¾ïµM{”ö«ò«Šx-ZÞÒ¡ª|ÍCZo1§ØŽ6.ò±Áï<"ÉÌxãÖUXîÙ‰¿- ¾ Ru£íC9Ÿ59’ ØmL˜ ³®”à$¥r Z’TÆ+ªÌ»K¾Ô¥Üv1/‹é ^ ÎOŒ*p²øm­˜ð¿ Ó¢™!$Œ´BÅTUhˈW•RfTì n û»eûÆL—ùÄ+ã±h­9£7–¾ÇÒ ç2A¶Ì¸ÆÚ'Ü÷g¼ì¯TÆ%Jg;µ‡_+ºð¡ôî)íÂJŽ‚vÕþ j.”æ¼ô£¹$«s~AùÆlöxÂíÛrD½Ã¼>•Ê MÔ è^±Õá,8¾ HjÑäl·íq{I/»ØPcéá04·Ó tJw`™ÑbßÀˆÀÖ?×bн‹q‡ê)\„¬÷€:¢EÕ"#:[}§×.‚ÊéÀvá–Ct¶¸_ ßð€}/’Î7À8ÇI¼!1Úô a%âÀÚ™&¤sy¸()‡®‹Ý²¡}W½âÞt”63ÁNÐË„Z2>bk¨TšÈ.Ò!¯¼<ù]Ð3r½É¯vÒ€í5ˆµÉúZ°}ë îÂ’©×üŠõ³‘ùÜ´@ðœzÛÓwê¨×3‘h5þ¤í)¹È,Ø\ÝVŽ-ß±ÁÄfÙì‡4LÞÚ©ÂØß(”"¹Œ˜÷iÚž€)Ö8„T‚Ü…Òꎩ… Ù4Ùê^S_Òývýƒ¡½´O¸T¶>ìÛÉá/`…PöJ ænþù.ÌØ3¶ûÔø§ºô®3£ÃLbåÉ'µÒä™VŒ²îoðóƒ ?m䢔‹pË»zEú0ÝÝòŒô:üJ©×CØH Oüg<+÷–“·Þ–ãŸdL­óF’µÚò;îÛ6Ý«…Dfq¼ L©¾ïµF»0–Ì´<ïézùUI#[“c‹ ¾Ö;òÿ† ò_¹;AÓ*KñU™´çuVo¬»¬"ô…€Èxëþ*gL2ïñІJ¯…ÛŸÌuÇÙmr«Örγš·Í„pŠº‚(•½4|X|ä9ÏŠw¥ÇH³xæê<¤Ã8òš”ñgG.9ƒ7²6ãl:ûÍ1ö3R[a}g5[4ÆÓ,ëFˆ"Ž è˜ætÔ ÿíáûÑÍjBîÊ^§¢l—­÷Žó mët|á–×€ Dpà¼ÎgkãûÏWÞ~ßædZs¨KbT²ˆ‚ŒM&*´|´Õ;>=~·°Ëê±ð]y¹˜|›¬þBT"tIø\ØMÍY»O?V 2 ‡0‘¥¤®´{(Z°ç‰¼È)ñHÞ›QgþlŒÆ§¸˜Q“åÔ¿ ’ˆ?u>q0áe6ÅœÏ ê¹fQ•‚{åNíÈÔ/f(öúͺÉÛVc÷÷þ1äP½\ˆ¸C}ˆÓ€ `æ‚vVF{JÅ1tÉ™?Vݹ뽓a¶Wù ci8”m?UÇ×™¬Ïæú¤ãKOø5{šl˜ô½1`›ë©ß} ×%ã[|¦W~ð¿ÔP½£SM ÜêH¤.ÍJ@’0ÛdÌl©K‡)åQwñü²½úV&µ‘ÍbãÐ|©¸ /ê†~æ:¼‹’ïG‡3ÄØßJ`:Ánã°(«Ç£ x§nrïh1¡ÆE•bï j1’²Ó©É.[K˜< fߜ߀Z:ð¸Ûö rl+G)~¢«à?~ˆfZW•.ftBÉk2<ÐwÀœ[éG±“ãÊÜ!Yµ+)Ûïâ?kc(ÅÉ!ð#Ó;œÌsn(w…?ë- æAwô˜¬¦Jßá/£ áäbTó—±xê+í ütúÎјTòÃNß2n,PÖßòžŸˆ”òö¾H'#^3ᬔ fÚÔ¢;?ç·ðoê }Û‚ÔÝéÖð1µ­ƒ£ñĈjãÿvvù(…\n]y幨"›†š³äí&\úzãZ#­}}„‹' 8lCZ0)ÍpB7Ÿn £å]N¸Ð$K®HïAÀÊ“_¼H«^¿§üîùòº`ÍݳG‹S5 Á4{ˆ¡8s~"5mÄ6úI.zdêÚfîRdõ|ûA¤ùš}WÍúÞÿ“ð7÷Çx$ÁçÜ\ؼ;¶ ÿçö¡OAŸ¡(Ú웱ķ¬ixÏtŒ[%Qöºªä‡`6h±¥ƒß÷îêæ¿)œp³³pú–úcnR „ç¸PomyâåE&ØŠÂÒ ñ p“›\,”ÏÏÚAYÝ|i©Ice$Œ%_cѶ¤žŠ”÷¾È­“…°'’Â%çàÊ4Q¥iÊ¢þØ©<ë¸Îî„ösóËÓû5\$†F/¢d5›Ø; KDí2 ÍÜ^Æ4uòû½0&_þ5㇉ˆ]{dÆ]hÐë»%,85KÔ6q'Aýžr˜ c爄O9×ë˜$‘ÙF°Q êB&Ö„13O}†‰Yil2£¹ Áh#¼uŽÙ÷©*äµmÜSéªÓ +.ô‰qÍKM×êl²`HügpVøS‘ ²™ø®çK†gm¦ÆÖÝ5Í­Ì­„xÎÈ !D¤þ›œÒ,¬l¿x‘S¹(3þ†Ô¶fäÁb|µ¯àXºÅðV3(Vņ^™äø‘ÈQîÓ«ÔZ×Ô.ï) öË+hY9À|@ û°1#{:`ÜÿÔд^3“™Õ ›P—Ø×!"âaBo`טÃ|tdéü§{äx­tžÙ†Ø,ºŸð‘1>ÒÊ)É·„³:Ú‡žÚº‘{cÚIkpðü¦Ïœã-3Ü5«Û¦döÄ¡’œÔq+¦KÚ²#¹´ù¼Ôr$—X’.'6Íè 8lPèp×e›¸ eM¨P„Yf9!Å›,)›¶ð#_xž>e)šŽ/êd+v ì l­~DîÁÚ4ÑFñUw‹ízkgwñÓ§;Ùò g´Û4“"XO|EðÔJÄrÓsUü°KÁ7Rê»›àò>Ç4áÁ"Nž3Ö G›þRz¡$j¡N®%4‚øVԸѣ¬á}AӦɕƒWˆÑncÒOxôÔòÈVˆõs%:]bw[Úº8°2‡hÈ0$ŽüŽƒqOQ+rD´*ð™ÌãGóƒK‡öï%+Â=^ýÃvh«ª$üÕQŠrv±n—_Ãy¨V1‡6Fø™ZëNÙž ΨŽA½í®†‘®Îë”GJ2 Ñg\Û+3Õt¤{>.œ{*ÛaäRðÙ› ^ó!«F ‹ÄÅhiŃSœÃ6`afˆ`¢ ¬‘Àµ!ïjòL7_«1©[¤e…)+мp‘˜ßÞÖù?õÏèå7HTuhr=WE?1 )5txfdƒõãþ@¯F>FHp»7}[Lí.œ0·õ@l¸‘¦ŸOhG›zò¯„¶L#üùeô ²¿†“5‹€Í1ĪjÚ'u>m'MЄJFdìN:BeœÃZx‰ÇLÎÉRGô+ÁI³Wÿæ¾È”Xó]$abì@3a8nP,Ñ/M›§S¼Ãç“ÞC?ñd«ÙÚ¢x¹Y‰»@,¯ ì½* !ï‚©£0ÌνUËäÓ)i—JO{J³ˆ7ï1xјw"öjRÍZI·/ +up…>:7ØÌí-ñÚΩ宸b”KïP¿ÜÈâ"¼y³„€°ÇGB¾¼1¥i†ª³ºàÆ”Äxû/òî&‘G½2Þ×0Í0'/óŒi÷¯œª¡^I‡Ì%ÄÊyÏT º›OóÆï9k¨‹PR,ÏÍÍ¥ñ  ø½°6éù™V/n^”ñxZ{ãÂN›×Ô‡4æ)°[BÃų~!¤8§Ò)“jMÉ®:è;¤¨uèÚ¿¯Ûo8¼áBçSÍ R.KØÝ!rO†õ&"Š.N†WšxV¼ãøI¼©Ùâ›­çÅûzkÙ\§Óü,d×F îÙà?œ)òð »mªòç&F@·p·Í bÿ¤F;†¼Aõ5µ–û’XÇ%ì}.>Ïó¤JÚÿÔNr‘ª?’±Ñ2p(,b§Ô×õI²U×£èð‹Â«Ä¯µl 8¯Òœ£ºžÊè•Ïh ¢‹•…®µ´•âMRaØL1BaÕC‚¢ˆªOµP>ûòb»”ÝýÚ+¹ÈoÌ ïýY•$¶ì.…UŒH·æ ¡ÕE t¨%üÃÒºeljl#~YðqCω“ô'jtsö³Ÿb6µà³äŒnÜŸ_Ê„…¢= V–ì¿3šÐË}¤9Ž xwŒ!mgï;àià#ƒUƒî\»'–âhë!ïÚÁýô~¾°wIµ¥®5.Ì.§ÞŸö‚^ih´\/_ ûq’^wÍ^T|õ!KÈ›78ßÇÇÊS_ÝJ8Bqñº::Ó!ÒjÉs‚¦—ÚÜ—kUøRö9bo¥º×Û|Ö¯Z¶T.fäy|3´«…Çäøk[¦·µX.Šñ%ZP 7Œ™óƒÆ(NEâÊ]o¨±QY–òââF•Öx”{¬PYi ˜:gù$7©[µ3 Rð1àˆ-ùK-„g/q ’9|lnjÝ¡BÑXv•â½(e|#üô'ᆻ¬DÙf•½_ɪµ´löÏ‚£áƒ¼Uˆ'u&ŸLŸ”n3$,U6Õ,X4µqë·1o‰‘ౌ)½Ùó¹:3 `?¿À®åÑÙ¯¯ÒTl²bÊgâÈæ‘sG>cÝ=.W$r‘ú3æJ)²`/Óû§µ[Å+ÆÇq´•ñN×­·wkeI+¬â.ÂËΉª¾rÃ,ÃáÕÁ>Æ [ÒE Ÿª°ì¢š²šJ»~›EEÃmÔ¦íz€ k÷¶·¯Ê¼ƒñ=dS2æEée-Š}UŸFàíÓ?†õèï ¼.lÍÕX”,O¡„Æ …ò 6j›e†ýªë5­µér½/² ¯”´ÎÖ·ˆL0«Î4+GSxL9‰R Áàsž°W²¿–žÃ{ˆÒX€+$Çų–7Š_‰@†J¡SÜç2|]€}åÌX<Ø~Šö,̧ì¡}þÄô¤dÀø¹å·›Ç4žº~3ôf âÏD3Û…Ë•Zó|“-5 ýl_hÖ6ßL°¸˜¥kd[Îø¡ôÇn¯xÕ NœÄSFЫ¬ñã›m¯Ëî“èºYÂu–}E¦¤ ªÑ ”G¼Ç^²ù@vÂ#A”@5ÎôZñ•Ë´=†§º˜ù¯z:8áÕáH«–?^ølѵÔþrµà_îV/’Á½E·>­7“DÎC'&& ‚6HªvÚ`ƒš|[àâƒ2É”¢èí.1ð¬4¯*|}{o¿\‰2w–6=P,Ù.õÌݵªã·©ÕAžq‰å¨W¼±V\÷ÇÓ]ktyiHk¬à°#î?f¹AÔ¦D¼Ÿÿ¢í—naY­½M댅&”V•|޳ ©\£Uò|ß.W–Ö}l¼HCAðŒCSL*¥=7ÛÈýåÀ/Ü\_ú(ø}ó7ýÆçºÉ1¥ŸF4¤E{Oñws¿ê€é‚Ú­IÔ c2œqÕop(娤õ3BL͉úá3óÄSMúJDÏ ‹ü7”iÖ"O0¥‹ôµ•íÒ†ÏF(&Š“a¥ÒGd™¶ωy)ºäQ03!ZªÎÜp´s¡ˆÞçD›H¦?½EVÕly`“­ÁZ/çP‚#Û5`y7Ïö`»kÕc(mØûÒSŽÖ'ÄèÖ8ЭÔ2 ¤æL‘Q 4{óÃq!#ÓǰJ{hç)sOP8»y¤ ,uî9Wvó×t—÷øÎ»Œ¥N)¸ÿ«w'—0'†8ckƈ™¢èíG!ïC ê[¢’ Py5‘rwHÈI‘dºeUZA&=HίÄC÷”é"¡MBi-Úïy­=êy ›7Q8½ !3§¾?ŸžòÐ7­€¢MÏê»÷ü²}&ÿ$°W®ƒÝØloæ>yî– *½IU:#¸¨ JH;¶Â5SÒ皤ó›› ÿÔš¥æU<è'ÍxÍx$’Š/Qnƒ¡ڜ̡nÅ úBiHZ÷l-i}Ìæ‘´õbÈ˃Jè½5¸:tt}Ù1LàÅê:ŠnŠ™ŒJsª7…=­o_­¯Q»¤°ˆÝ"Yúé´¾…É+ìª d.lÚ3?ÙÂG+"dºK–øj‘“#~‹óÜ®¤øe{%é×KÔ¸HCý#cÏlí̉”€àмÆtyðÄ÷ .{ê¼F~ðmžµe ¡†‡Ô¹X`ù–½üK®'J‡=¿xÑÐMÏŠ×NuH©ðT?ú*.9Â]ÍáÒ§”§Â‘ï Êg‚³“ Í^òð¸ü)`ù¦µj-k<&™2{JzLùX.ûPAiGKuâµ·Õ_‹€ НÞÜãæ™©V;uÔ NNç*yI’»X¨\·”`¿›/A¿PeEô¬GJ9Ŭ}?J‹]¿åJ½–,F}ì)›O¾òÿeW(>Û½Ž Ò!båÒV¹[{Q\¸£IæµáSWÃýýwN1Óð®î“…Fœ¦ìˆƒ“H‚-GIžðÖ“ëœoèñ*}2›óK÷¨ôçúÑcÈ‘€ñÆÌ„+ËÛnÌg“íç1]Ò¦?ˆú#Æo¬®è7DI?{VtÜ;á÷öµ—™ Céï–Ë<ÊuEÆ^ˆ[ßUeF£!]šj›¢ºÙóN‚z€ëk?+ƒwÓÒŸ5é zK¹Ñ"äª6⤧àÇö„·ëOÑr[ ,!ƒ^òñøps/œñ‡4•pêÜôkd6€U«ùµQ¡"N;ÿÒûœúí T½„’­Ãš³ë¥Ütô)ô4Ÿõe,ñÊAAÿsÄ[PÌÕPl:#;e~L‘³ˆŸŸÚ0›æVpp±:öoJô››è°tjy¤ûñ :«¡I`…sñ¯’ •13/¨I¦N/#Øoäî,°J Ó–VÉêBó×gt]Èc°Io)g—Cg©ú/ü _D° šóF ø6ÝVó¿Ïå3Ǿ(D}Ž«‘‚4†ˆ ï“ |[‰ü,vG¹%}²w_°qºçw69=zîd–'R>p•¹vè¹bNŒ™ÚÂqŒ€Üök ¸†™âоB5,†‰¬~PAÅ…Çh‘,\äfØdQq®!} "\œZ•æbö< ®“ƒ&zc'K)e·Ê,ãæ]~·9˜Z{Ëib–%JûzÀŠIš•d"¬^3§ü'ï$Þ#éayßD«lpFLÅ'†¹pÆ„ÉBbj« É^p§h—Ñ/÷©@¤aA5Ü{éÌèîWÔ-÷›7”æ]í!ê­åX¬~Úš [«fÄXGâœá jªäÆìíõß…½Â''o4ÓºUˆw•H’ü\Á«Ÿ!5º¿^ùc?ªp@³“ö}_ú’<+@ŒoûfEe´/f%ê'^¸TaÍ!Õ=³âœ„·Áªñx=ŽnõÛÉû®ì1y0ò3ôÃcëËi¬Cøôb¾ÒdŸ3×7óÝtÍíŸ4çzDßü´dñA·¾f0ÆþÒ#†c»›XÇ÷z,¡6)[2m8ø’°ßê³]­+>?f×ð¼½UçÜð ’ÑÊy¡D&æ?jz\ð:¬pÉ«Vì…è‡EĦIõ<¿úÕéð.ãEÏÖ´Šn8ŽùËä úÔ˜Ãʈc G:l¯¸ñÊ^G$VblYŽð‘÷.٨ŭߌåJ¹ç·£ÓÃ5­ôȯ8PJ_<‘Î~WS¦NFô—©(#èf_jÛáàüáVmY¼¬¢Sˆ€§&èízµWºš,¶Ürñè,j´û—¬s¬²e0…lN×òVøÊI™Vа“AÇ{°FfrvæÚæ†!éw/E î›t“( RžšÅö'%gÚtÚO](¡‰ §¼‚/X×Ñú‰„„ˆõ5&y\ƒ{ð Ø…y!g Œ%2Yp):º¬ž\öóx´ è DÐo•’ᨑ)l±ÎÊ-ZNMD·ñpßÞ¿yÃâøqño.™ñ0:üê4£pg^ŒƒYìf$êúJ©S\N|ê†NT‡÷Bè¨ØšªIú#òÉõ»þ"®=Òuóú ³°’"Â÷ݼ_B-±eGêÒfd1Å?ö+Wè°º@Î×b–Z?»Y4ÝÕç¾™Ú„£… €¹Œ¸prûʲ|9á1õ¢¾½¦s¯KyÌ–ÔÉXzMBÛ6¿’Âñ»B†°œûáË`ŒœÊr§fŠBÖ­5O*Lö°9@ÊkÌø&ø–iå„­÷ÝíDȳÎ.î± ¾[[è+¾€'Ò'-bÍÐ'3ÙKú o ÌœôèEc=‹ïA±±†F{e ©ˆVEîªÑW[Z.j¿E i'ä2öc‡.!V±[br˜×¶44'Yˆ§üä»X½[Aѽüýü¥·v¡ÁnÓÃAˆ¾Ïäµ/Ū´«¦-ÅÛ·´(Mó¬K»î ç­E›ž5²=”²³92Ç„öœ¶ã›ë*—(Øò¾Œ~‡ïù1·Þ(—õ][Ì™å¾ÅðjÕÀ!‹4£2ëÕ ¢&5{?mhÃS@Þ« qnz†Žäk˜Øh¥ž¾+9~5eTwu}|XCâ·ýî9¥G›~gmÞ\©8Œüfª;{—n&ôø9W|M|Üãú¨;ˆoCȶ —ÈÑ?8e tP7[Ï¿•±@²µXã!Ê–¥ÿËlœ“=oôBe´®ß_3E_A\Ž<ß ¯HB^Òø³´&áf¢«TÃÝ…z9BÎ[U£ÙÓN›Ù½€rcÉ‘pl(Úùlå´˜óãáe‘¤òŠA5%Uw<ÌaŠ>ÊSÆÑÍÓt:Zá*-7C 5]Úí@]ÄùBŸ‹Eaðn:ùµsH@&™ìD–MœqøÔ÷Ÿ² uîŠÃ0šaæyÁ¿öL€Õ²¥ÚnëÖh ;@Ïþ2±•5CYùQ´¯Ž 2yhf^…™A˜ý©1Ehü—4¿u©Puå€t­ø«?¿Tú4²rÃïHàW—°áè_P3¦}.@ÜñýúòðÛçX R¤ ¶KÖ(y…]YÝ—î7ôQûY@ð¸Â(¨‹Pä û~9ŒÔ´4EÆv¡ÖIè(:snâhÈOk†\6kxw ]ƃAÔúð'ßÉX×ó‘FÀ›Ž‚ÜÒ÷B¼k(ªK%˜ËÎéj1·æBȃML •b²qO;§îdb–æcäŒ×t¼ËÁ€éø–©¬‡ëù§.Ï¢/­†FÒä‚ ´úI»Û‘¢«þ<ŸnБžígÁ¿™IŸ§šäc9b,ºÿb¬áä-O³¼CR?¡æv›<ÙâC`;ªvͧ:0Æ1 ü{héðøÂÆ—Õ¥=œ'hPèx¢k–ASAÅMä[ÝùMCø_ËýV´9¶„±÷+;€2¹5Öû®Üý©ÁvÛܬ8æÑ?Á!2<+õ»å7/¦qÊ„åIR“Ü \ÈšÓC¡Ä;‘j”öE}ñ;t•MT?¾¨Ëóûòþ˜Z â>‘óìÅ+Ȉ\P’,v…2:…ºkzò9­·/ÚX%¾ô´™D ™ÓÁô™šŠÖ³‹—|šÚÎ.—AHƒ—µ ™¹ÝÂúK¶z+¬BàµI¹L«j2ù&ARÐ/(StÑž‹ÿ=ù0 endstream endobj 245 0 obj << /Length1 1475 /Length2 6554 /Length3 0 /Length 7553 /Filter /FlateDecode >> stream xÚx4œÝÚ¶ ˆ^‚èCôÞ{ï¢÷N3 c3:ÑkôÞBHt‚(ÑAô=ˆD‚(É7É›÷œóžÿ_ëûÖ¬5óìënûÚ÷uï™5,Œz†< p{*†äàå—(iš ðøù…xùùqYXŒ H(èo—Åä€Àa’ÿá¡ä²C¢0e;$ÊQ<ò„„¢’b’üüA~~‰¿á’e;/ˆ@›ð!pY”àn¾G'$ªÎßv @@BBŒûw8@ÁäÚÁÚvH'+ª"Ð 0„! ¤ï?R°K;!‘n’||ÞÞÞ¼v®^¸‡£,7À‚t€ /àe€Ž+è5^\€‘ñ—ÁFzÛy€( ‚`Tˆ'Ìä@UjhtÝ@°¿œµþràü9€¯À¿Òý‰þ•ûlÂ]Ýì`¾˜# ‚ºªZ¼H$7ÀæðËÑŠ€£âí¼ì P;{”Ãï­ÛTôv(†ø!€7$‚þâÈ÷+ ê˜U`JpWW ‰Àýµ?eˆˆ:w_¾?ÍuÁ½aþ¯À˜ø O7>cÄݤ¡üÇáþs!"ü¢¢";ätâûUÀÈ× ôÛøFqôwƒ»À( @„úÀõGØyHOP ÿþ¹Â8@€H€=ÈÃýwv ÿµFõßâ°äGÉOÀÿëõ¯'k”Âà0¨ï¿Ý·˜O[GÝXKëåá>A „(?@@@@ &&ügžÀßì£zv?»ûŒ00 ñ ÔéýMÄë2ØÿŒ àŸtà(=ƒìÿ–¿¿?õ&ð‚ß!ÿ?íÿÊò¿Êÿ¿w¤ê …þ¶³ÿåðÿØí\!Pß?(={"Q³¡ GMì¿]MA ´6ÈâéúßV ¤jF`Ž(óóò ÿ…Cªƒ túKK7U ôàȯ{ÅÏÿ_6Ôè]Pw Õ²ß&j²þYW„;üAAQ€‡‡/.J¨•À_5« ŸßðñÂàHTÅ1†{àþj¬€Ïâ A¸ úàôËøàðÙ{ØAPùoX…¢Žô*â„‚€¿ºþ—á{zzx Æø·˜Pþ^ÿ¾3@ wa” w~Þ~Y«@ãÍóyku­3&ɼ/ZÉ:÷ÜßI ;GmÊ]ñ±CõƒáL½ùòÈÉÙÎÃË1«î¼• õ$šJ߆â1Oáà÷ÓnG½œÚq\,3fƒä(YŸŽè±%¦%[ªéìM„XÐö«­—·ˆm ‰=€+ äœ˜1ƒ¯ß¹‡þÔœ‘y 9dnEœ@êa™åi¤a<~‹þ’p¡ØGõÝwÃ2!{hyù}^_¦ÐI‘fohu$Õ}¿GŒùÃ)TäÉyÞ ÐXEΕÊÓ“˜¨Š]#YW0‹­\Oõ·%y6:ê(…àé>iò¬‡‹ÌÊä÷¬œÐÚnæ}ç#xМãÄ]›É¬ÈRã€v>”uT#-èŤ `Õw.ýÔž†—–]˜k¡/6Åa? ²Ùšxpù8>'Y@Ð:]*>ðé…¢¨”Þmlºx# £f!ÓÓÀÐat^ó~ÈÍûíE¤ÒŒ!v¶Óü¾}¨'êÎ|HG>’dÖ‘³÷n7ù†ÈùNQdæ¼Ë–#1?q:È  S¯­SMÊB^b~‚)ÑDˆ¨ÐˆdÎHk-Kçž¹d„Bð41!™Ëa9Ý«Å*Ñ‘ç2¡Í2éâÁüO–&Žï(ëï'×màé÷|¿k“dïqÌ'ˆc£YÐiáô¸T‡íR8 Ò´—t³£h>r,6»R øÃ8È–¬ì‰U8þ:áÛöYãQ™B}´4&­k*hÃöÅ]‡EmÖÛ‰ýÞ¶ômõÆ«sÌc2û!5ɦðbheS¢H«Òr?yŒ±e¿VûY3ŽGϸéì;¾€å…”ðfˆ›ÍN£Î‘Ûu…»¢2€”ˆm>BBh£Z;˜UÂ?Ú$H™à›8)ÝDc¨à,ŒÍ Ü„» •Ó\¤(Ú³d~ÚKR¥æv|ÞK»LÖZGË÷hÀxQª*~í¥'ôñŸ™®è{_xWÝᓽmkSwåPí¬hsáÕÒÓÈf’"óÄ™‘"3=•c­[Á [Á¼ê–r¸zº?®¥ÏÕýÁ]¶®vOª€68Áåù•©AŽJÚIÉAvKâ4úÙ5kÚF”Aõ'…U º“À+zÕ|û¯%Õã\QP¥Kk@IñR;N8­xƧ½wÀPx•£r®D3VÛTmYW¸Fn€”†kVèN%0jàŽž~}½ýà›É[ä´©Tv×È׬Oyö‡HΑR²i<ãçyþß¾éÚ }V-ƒb¤wžŠû`VÑ`¿œB¦¨›*”õT¯KÕ3.š¬Lü Pjºf¯Ï\òjÍßO‘ë©OcJË«“þ(ËÞ¿QZÙiÅTù½)=‡rÒàà®—Rú|1fž¾².á´¼-wþÅpQ‡ )E¼=º­ q©gƒ^QŸí½CVâ 1¨îç¼ ó¹N¢ Ù72ÖÓ¨ûkŽ•"¨#ðGÍkÚ øö½ºÇ- [®ç雵Xt å÷²ÕÃ"SI¥Wôؽ^ òJžáîgn`r2.Õ–;«ß“[Ku㜠ó"œ£”YÒ@n¨¥Ê¿ÔI±9J1ú\/nPûê—D…µèr„7Tñ‹MoM±FÜ WÃy•bà÷‚ìôüÅ?j†DÙéã™ôf‘vöºbúðîlàÕÛþ…|„ ˜MéÔwe½ÖvàÕô+yk ½xjŒZÌ-ŒjëŽfô°‹® åÁJùYc@JÙG(÷²\åé å– ú‡lNB1w ËEF¬ý‹«7có;ÓVð¶P›9æ7¬qŸOO¬Iġ鉛o-¬ááÝ|Iëë69ŒFŸßÛœ¢¯U.LÔ¯Q„t2J%î¤ßxÚ Æà*ˆœd‹*Ê,yÁ–²6pª³ëÆÛ™"&/Êɬù°Fy‚ý£'ûå ¦3¸žÒæ@ïÜ–íÆÜ`ƒK ÓŸfü+tÊCÑŽœXß+¾çÐZæÖt^R„n~®2YÜë²+ϱ>Û‘›áÆG?8±GBS³œˆE“êF{õØ–b|©—H2Ø`è0ê»]ÜëN¢¹hñ½hï–*®·ÈØéêßôš§—pÁ÷%I hTOñu“¢VœÛ¤:SäMH„[W-çÚû©)É1±„€–‹½wê2FE㇋ ôv˜·Þ´HþìøÀ1Ø‘ òp~§Ø­ª÷s OKþ{A4>š>ËׄÀ¨….š¸ù”ø®Ã57ÔÅÇßž-ćOÇá÷ЫbsµÔ‹?´j~<;mÊçÈú†ížÏ5·4÷Mïm+.ȽƒKf«=wû˜G¾›ŸÔë–†í,o¼nâ¼iX6ø’ÈAn¹ÎŒ“Œ=Ì<,âÝ…‹Ži£ùÛÕyéÅÀúŒ/.õK½Ø«ì‹3ã6‚ó,Äüè 7·û®ámhqcD_ ®aðé÷ûåÂTúŸ[ɫà }Ÿ‘¤&.z1q=IzY@ÿ.M¥˜ðáõFŠvÿÞ_õ9År>ãF”¹ §ÔðÅKçp›IM4¿dŸà» ߺQ P2ém\WÀv-ûf‹ÉÌ×ÕXµ²*¨X¨&˜Æô¾ßŠGí̵“?[…ðp¤™6 „½ëAoz]ä•ßÇú¦¿)­^‹ð€–å;ôýˆ1í"º½Άç Pyb ¸¤ÍÛe1êý¥º‡NY"„)~¢÷(”™ŸnþGHCe¯‰¤‹”4Æït[¼¿/ «XÖá§³¯QN|Ho£‰ëÀVæ•{鈣ÒUòiòÑüÛÖœ;~wÛ>E+­ñ½C>iMîËŠ¼[ §ã<È”ˆë÷ŸÑxZw®1>Ð<'óq.lå½Ç5zÉe/P;ûú+~¯F.TYëHßC(ä¢I?k?é`“ž0ïXÅñì ð]ƈ…Äqªˆ<Ìtˆúúžáo­T!ËüCõžŸ#ãD4ç x+Úô]çØ<:×!£Å£ÕðñÄ>Mo}Çåx·ŽW?cÔžFÒ›´¤5¶Jøhïèä‹2¤ìÖ²äX!ýìc³`ã×û+ÆQW¹h±¾‹˜„ï'cwÝõB/n¦d~Æå ~Ïôˆèèõbí r$¾–Ò'n~NåÄ¥ãrtSæ®åî– p®!Q Ëý6ƒŸr”QÓ˜9OKÄû…OµŒ†f°e˜¿(i·Ö‹ÎËDë Âw¢¦ê"Ô ~Úœuu;9|o¯­[Ïùi{¼«0$Tº®Oþ¥K‘Þäì ó±„JQ+E’³ îSk9@åÎ3ï»5¶D"BŪ‡ŽÓ]õÂϳw6s÷Ê*I×:Ü_1¬¾]™nÄŽ¥z™4q(ðJüàýªSîYþѳö»´Ï=^–Z&/w{=þ„ßÞXwOyÖäs¡Æü³€&¼xwœ7°°e o$íMåÇñNÕÑì4`m]Nr¨Ìƒên0#åÎᎠ^,¾mo¬w1â­ìò Osü€Íò½:¬®™ùË/dÍß»¦ƒ¾ÉA)M2M™(©ï\>ÿàB9“|WÚ÷2OÇ“À. {·¸¬£·¤ÿ©ÓPü.*øš¸ÙEAÃ:ŠƒRû’(¨É°hë§yƬ‘:4 +;q†µŒÓ&n ™í(F´þà†õÍ`€ôêXßËÌ‹NúIêƒZÒŸ» \i@Âêà&éÂ'¾l®ûélã/!nŒ¶è¥úí‹ß6ÙJtrÕŽÖîfÉ¢÷•¾u¶n … ™É>*ô“[P>–ѹŒ¸Óa# ‹÷w§´7g—eZçÜyÚ98êRæ+t _½Dû>Qßè!HTö^o¹´~ŒßA“D¾çðÜ_%…|¨¸÷©wÈÕZ6 /3¹ÉÚ¶52ïÜÏ…ÙÅ…ÙZx¯†ón.¼ª!nSÂ4Í?>½zvžéÆÕ¯yžª¿•ƒi¿VFÎçvz§ñô9­Qª{§ê¤8¦í’”.Ø™þìŸE®š þ¬~RÒ3]ùX!®'–±‘qІ½¼_Ù8)nÝÍ‚îÀNÒ43q.'|8rå‚®TùÃãà³–šƒôµõ¢K߇ì5Yý+hˆKÛõéóøøY«>-gàmÅJ®ª§G*«G–ÈÉEG]MÚxýÌW̯eîS Ë“Ûur[ UPgîÎÐΠ±pjªÓöRg)ΗRrx±–uwÐ탪Và¾óm* 5qW40A‡L?Pc»XW²ÊhuãÀ¬æ8Çú‘gËCRÄQ7ÃÞr•[܈§­ÝŠÛXNàÞïÅÚT3t¡´úYH­IËQïm¤çéŸLho¯½ÔËÊÅó¬º¼Ðøifê7ãK=¦6ͱÈH®Êö)óN™%{ú9Ć&G«AÊÑ[¢›”Ý\ƒ')úøÕ·C©Ç3äÛ[ 8ê’ ¯ž¯™«ÓÙ ¤6®·©ø7{‡ ؘOæPrã>gV-û¡®¼pbB-çv‚í;™Ùr_o…EU¦-´g _1 ë|á¼PMs^Ï©þ‰Nƒe3¦Æínt°α…ßÊøÞö=é錴¸›;…QßÊ*³ØÚo×–™ÜÃ" Å^ ²* &Y×tÙÂ=‰ = "Þm8ñZÛí: Ò\2õÏÓž^’›KŒ/×>±þ.iJ%uŸÄ‹!)‚8ë®ÙºÔÝpE†”{1¥fd‰¼zkRrŒF/£¼xoûçÆÖ›¯ÂRd&Íbàݦˆ4¼ öÖFÊúÊÔDrn„Ø+at>±!è@öÑ(xÔBÙš.ûJÒoNïX]Ì Òj… ï…ꥲŠ!‘Dèçžj~RšŽÂ‹§“ñôRo<9˜¾ÔK]}4LÏèñê>¾ù¦ô¤^®ëQX_Š*“¨1o-¿ì6ú×GMýép~*¦¡éÊI™½¯ˆ/+a>ðGÖksŒ#Þ7¢ºË¼Oóƒ‘{ÃA"$ÇE&ëÃåõ\U$ÅoªªßÞЉÅÖ#Bs^Í–÷ûnz—ŠmT§$r£æá¸nŒõŽXd„91*3Ž5 6±±+çIú²ZÅæ¼x~æ.Aa –¶×çUvgJdiØÆ*€àëxìëA®õ˜uŸ>úˆéƒÝùdêhWBÞ¸ ÕÇ÷ ,;)'²à:Òηp~°…n¿k¨&›'|+È@ta¥ô 8Ë.9J¬“;ˆÜ ³È¦×ŒvŒÂ,ïÛyÙS¾MD&—gT•˜a³;gbé× x¬¯ø©èýƉ§rd^j aà)kðí;q ÞÛÙÒ¶m{j/E WJ—þ HI4+Tâ̬EOvæxvOCu[R®™6Ÿ„eh¬;ì'tTrµ,þT©+&âbzåR\TÞ>lVÃöú®„"ˆ¼GÚ¸ôõœÎ’¸ÜÁy 1G(D%‹Ÿý†úkÆ$’Í,Ý\‚KE¬îXg 'Û!NÜ¿Ïú$εå_^ÿWâü¶¹òbj/ª§æè‘Xæç?¼ándg_²³UÞé=S•ƒ?ç¬G$±~RÍ”Û혪û,n¬oAï0áLJÑF?Q· ä‘ ×ç{WüY»œ/7ß=0¸;UÛx‡žxßiÃ:¶Äþ¸ëÞí—¶ÝJÛ]AéÉËÑŒ~.Lâ}$mOE­åx^]4Õ£Âåºò/Y´“5BW¾ Kç½°Â"g¬¨[øì7&{O´MTɇøE~Žq¹h|4•g–¿O\¾k:BF5Uþl-t®ˆ,é `*mØ:;LšÅ-´$ŸÖŠu*@O0'%¯ç˜‡‹ˆ¹¯þH}È„­žb…Æ]å3p†¨Aø«çK«j’llFÍß=p*Åk±xæÊ½2édÈcjAšHˆ1öèÛ›Ú‹!™²ÍÞ:ŸŸÕÛA+$c˜/uEVõ6ý{m'bTøc5W„b&†™l>O~wtÿ!Á_Vég—rc’ù1Îñ溨!f”†÷B6bïé~ÿº÷˜t§Ô-%Ë¿yµLC”R)CóV ƒÏ»ö™ë}ìÊC†˜_é_ÓO*i&7SødyßûÔYB¡Ú¼’{—•à Sø¦Jªìhd@“ÔcL¢>|¯k–K†Å#Ëà,–õQ(=–I-Ó˜Ú9~µ+Ü7öéå3#éé ŸLáiák{ÿµ‘SjÅ {®ínÝHëyhÏ'6Qï“ Q³×JÄ]ÊšôºØTÝQà\vGyokp‰IöpånГ½8Õï_èmˆ„¼ªî ¬ëæzMÕÐ6 ÞñÂÇõ»úlÔ¼r5Ì¿°|ßþáyîË\?ßñ”fL@Õ’ËŒH¦ƒÂþcö¾yÿ$™»¾¦²]ÇÑ›²WÉ5Û¾ò[}?[Œ×®p~ÿ¥Ð«.5ôÏ8–öU´+‡2²ú$¶ß•/úp”ŽÃãPˆ¹Ôá¹¹k…Ö3оŔtÁæy8@Î(»$tÍßOÙÛþÂfæUÚŽ™lÿ7º‰-µº³W‚Äe= D>ïwöp¢õûpμ'’×Ûo oÛòs™æ* ¹öÇç~R-uY¾3V*sw»‡wcÜ<Ê\´ñßÈcÉ÷€Xß>JÏ‚öÅ /¶Þ±Ð…pìð¹ \®,¼­`z Øè‰›¥J¹äz·P‹(µ8a£Æ¹_×Rú-ëÓ¶}´þkê³ãZC(isß9 ‰ŠÚÛ‹ x%xý /™¦Ÿ•ÎýÂØðí› •]lî ‰à‰Œ6%œŒã>OÈ#à€É§—’SÔÆ ‚“ͲƒÑsïS™ˆºôM[Ÿ‡éÞ~›LæÔõ»nå6Ÿ:Ó*ÍYoV?ÎÏ“%îïÊ쉑¦™?Èn8¿|¼Ë­ ÒXUMçË“»‰Í^#°¶Cð6èðý$ÉK›O†ê\U9îl¨ê‰Óg,¨=1âÇi¿Çzç”®ó%‹·~f‚%^Þ¤ë×ÚiÌïû[å$=©\ðÅ&}©+†‡·úl~sA*Gãþ,Â1Øx¶j7cy²ˆ[Ï,´¼d{ =XÅL¿}ý1ó!†&á ;Þyâ>*r´ØE_ÒP ¾‘âqØÂO÷àuï÷¶÷ø±ÓJ‡­ çÇglšyñ#žÇ°æ/; ­ËÝÇάiY=%‰±x»‡ÇH«±¿Øðú•ªæþ·H«eÐ7STpÖ™9?ï ¡‰øåeëŒÁ^¢JØ5ÁW·î»¸Ó^1Pp‡USl©¤Éë}³¢nxZÎE@x†áÅý’X“Ó`Înbc''ß›Ü JãÃ#kœË\ƒá1•æï¡kÏ Ž¯œ¸ñÔ^fIgîAÇRâòƪ xÏIïiˆ§³¥¾½Ä«f9ÃÇ1×- Ä%ãñ’‹å¶ Fó<}5I3áwò¨mH%ŒX¼ÂíøŒÄX:×Uƒ¼ò˜ÉkÛÚ"«ài(áÊܱy‘Ľ/SÚYÀ1÷äÔöZP«Ø Ã$žêgÊk¹ðÙädÈ|ú=_Óšy Ý`‚éÍéÆ3‡É\Êe+SëñÊa‘nlWó«Ö󜂛ˆ´ROD 3é÷™e"Á'½ï›®ObSÈ®—c–H¡53j/’4I¨•bãÇÔY÷ŸJbð¡…pDqbѦŒŠdêQVƒ%¯“-ŠKE½ÃyN·7¿%šWbò|æÉùø~j‹ú(ÝÛ<üˆÝxQ9o©§,› =X+Y:m£ºêR£ÓÓŠnd ]ÈÛ £žYšˆîٚ˵ÇPë  À e#“¤ÅøV¿®ö ýo 3Ô¥mÀ÷2Ÿ^ɽÄAè¢Ã—aÜs)<è%áeOŒõ\YÉèôøÌ1Á[—>ß©¾"a-eApÖF99ÔA¿ÄXˆÛ6g=+i‰'Y›Ö:AE-'Š®Žw«ä;b#¬Æ9òÃà底"DB§Ýañ½B’¤ÿpsÙÌúó¼hͽëb3¿£ ñ…Þï#¼©†0a©îD†HoôÍ—8º¡øm‚ ýluÙÔ¤ŒMC"èÔœþ‰âÛ݃›6¯’žvNº˜ºìK'_ rÐJ¹×Õ‡Ÿ¿¥¯¡Éú$Rñ¡;ãÆær¼Îd6)¹ý±¬‚6G¥Õ,áþ=Z׌Î9Xw y^¦„àÑXþxFÍ-vo¸6ÍÖ 8Ìû$ÖÉ;~T³ÇDkÌSŽ=]È^±¯¡§âôì£JÖÿvã—q endstream endobj 247 0 obj << /Length1 1862 /Length2 13494 /Length3 0 /Length 14659 /Filter /FlateDecode >> stream xÚöP\ÛÖ cÁ]C€Ð8w·àîšà4и4înÁ-¸»;ww—4¸»?ŽÜ{Îýþ¿ê½êªî=¦¹æ\½)HUè…m â6Ö`zf&€ˆœª3€‰‰•‰‰‘‚B¶þGŽH¡´wÙXóüËBÄh~“‰€ß ål¬ÒŽ–fV33'€…‰‰û?†6ö<Q'1@Ž mc t@¤±±uµ™šßòüç@mD`æææ¤ûÓ l´Xä Àf@«·ŒF–#ìú?!¨ùÌÀ`[FFggg+{S:€3lP:í€Æ€?(ä ¬€Sc@¤¨šþR¨Ø˜€ ì€7%Èhíðæâhm ´¼e¨HÉlÖËþe@ø»9fæÿ†ûÛû@ ë? ŒŒl¬l ¬]AÖ¦%  .ËvÓ ¬ÿ04°t°yó7p2Y¾üYº@\X `ðÆðo~Fö [°ƒÈòŽŒ„yk³˜µ±ˆ•Ðì€øG}¢ { Ñ[ß]ÿ>\ kgk÷ÿ µ±É4ŒmÕ¬AvŽ@)Ñ¿mÞDˆÿÈL`; hº™1þ‘@ÕÕø§’ùñOw[[€É  'Èøöƒèî`à€ížîÿVü/BdfƒŒÀC )ÈñŸèob É_øíüíA.€/LoãÇ `úãóß'· 3¶±¶týÇüÏ#f”U—V¤ý›ò•Ÿ?Û¸ÜéYÙô,ìLff6çÛƒçÿÆùoþÃþO©¢èïêþQÊÚÄÀý‰·îý‡ˆÓß“Aý÷ÚÐþ7ƒ¼ÍÛ<ÔÿŒÿW&v&£·/æÿÏKð§Ëÿ¿Ùÿ#ÊÿëøÿߊÄ--ÿÔSÿeðÿ£7°Yºþmñ6ÏŽà·Ý³yÛëÿkªük¡å€Æ G«ÿ«•¼íˆ°µéÛœÓ3³10±ý%9ˆƒ\€ÆŠ °‘Ù_³ôŸÃxËa ²*Ú8€þ¸wÞ¼˜˜þîmõŒ,Þ#ûS|Û¬ÿÍ+fmdcüÇ ²°s ìí \ß&à ±Ü™ßvÕèò爬mÀo.€7Žž{Ä?–ƒÀ(ü‡è/Ä`ýqÅþ‹8YŒRÿ £ì€Qñôf©òz‹©ù_ÄÍ `4ø½é ÿAoùŒþ‹ØßtF6–oùäþ0ÿ 2ÿ‚,F“Üÿ@6ŽöÿÒ¿Qý ¾10ÿ|Kgù/øV‹Õ?ðmÛÿUÈÛ~3Úü²½Ù¾ýüKý–Ûö_ Àø¯:˜ßêpø|«üOÙo‰ÀÎ6ÿR¿5Ìñ_ð-—ó?å­× yãà´ÿËûÆÄÈÑÞþí&ýsŸßfè?øÏkt!.ÍÛñ˜×´ÞU 8Ó°¡ô_„]Ákl‹á;í*ù‰ðÝ_²æ†/ wÎþ¿_Ç«µ±)îi“ò ó•Ð ÝùÎ\Ú¾eSÅm¹Ù)UÃ2ÔxD8Ü{..Vd¨€6á´¶ŠÏÕÂ3³íRäBãÇqDâû÷É}#,ì›ýË%t d‚ƒ[™«´ï{Ýdô'3ÛÝbý®Z|© FUÉxÓ¥¶'/$/¶#¤”M›$Ö¡û’ EÖ£IÏÖ„3] ©6uy?uˆý[JPÍwce§*é.-•ÀâG@ê]DŸ: ¨aÈÄñ­šŠÕUuHHŸIΧIÅjPT¹t_`ž2B ÷·Ñ}n#ÚòVö‡Èˆ€3_°Ôûé7®VËkíA“D¢ A ;üxHæ§žGèÁ1q2*Á ÊÆI}dl¥blÄŒe<„¨>Áè1~Ȳ™g¾ìïÕ דéGìͨ6@v’%µ5€VyH¤/*|ŸcºÛì ¾hÙrǧL(žÔš¹NוBô÷XÉqÀ˜™Ì<7oŽë¼ÔòA…¼w{ª>½¦&Z¦Ÿi$½©UšÄ„!•zNdÛEèÑ •%¸‡ÔŽpt{þ “Vé¨)é­uº&¯½Õ’’Ÿ×(|CÌI!ÎT_RŠ<„ø¹ÏqQZÆÊQâ˜Y42®ï‰Yãè•[Ó ±ù±|+7‘ûºc§§šlLŽ¿΄Áóbf°tëƒw ŠÄÇäÆÃâ£mßìYRâ\Ìå‡Ì’d€TòWùÚOí{gJY+ÇŸ ±y{%Ø>À¢ccâ3iS“ïÏi:}ø¤ñÍ!âPæeɺÁLóE÷C>CŸ1§æÀ4;”»œ\²Û®d?R‡êZµyA‚ ^ï#ÑF ¬.✬YyEÁ£×8·…MÙ¾K'¬Øp‡¦|}v$ïÊðá–ÛØšÜÝ1ASr!5âû·üËKÞ¬<Œ‚éT9X´|g68Òîä|Ù™7†ñüF³>«(Mâ²³¶qˆõ´[=<ù7)-95ûªC¼òíI¤þ¢Ä—R—‰EB9nʆÎ÷vðŸø®(âž3ÑàÝbs¥YÅ…)…¢-²"§‰×/§} Ju2L/{}ýXFn ø¾>†RüгžÐ öÇfw”ÂýE9½fœ+…g¢QÕ .ÕIº×y×~ÀÊB| ex±_œñNª~JÅËGẸ¢e2^ÿyßl]ÓAB˜´v‹b-¦,‰tÊ줅ïµ>R“³ÂŒ,+Œ Nub",Œ #+ùÑ4}ö‡²ò3kΊ§œ‘§~÷EbLÞ³o²DqåWF³)k{y—Zn2Ètž¹gÌdù}æv/Ê@Çqñ¤ú†NECq®V‘ÀÙ§Âo±lã©P#fú<¦J¦)y»p`ùõÄAnÒf²|HÑOçä%­i˜›®®_³EÜ ybèÑéJÂÎWŒçS ¬tóI?Rr!88Øy"U|ÐíÉX¯! 0"i/uŽÛû†pË‚j¾ý:\ìízQç×AVCÅãòßÞˆÀ¬\ܱ“¾óaßå%ºÄíhæ5_Ü’ö¡½[l¶I' ß-)¤qeÐåŸ:È|Õ5•·Tç9?DZ} ÎÃ~ ž2'gˆ¾ÁYÁ˜¾3¶ßÆèÔÊvëfý KJLýø³Ä5¶X°¤råÁ¡"ÈA4à=¸‚í#;!œ áÝÝì“Q~N¡zþ÷ÆCϵ^Å•)ªe1³ÕÐ [| ­IlOr=A-ß,í$©òb X®Q;àk–…&,ãXJ•ydq°È_ZFR:‰mr ~<Š‚/÷ ¶eˆ|ƽ“x<—ÐÛ¸å–tLŽ[`5—,M.réÄÇ==Z$aæ‹÷AJý hUŒ,/\œý”–âFݤcõÏÈð_ †0ò¤Ýj›$㙢Ó·q|ª'UWl¾1jéÃQ™Ò°c—ìó|­ò3CËÔŠ·—h#IhvpWÏÙ÷˜A¥ïÕÔ›º•Tü²ÁŸøN.¢Ã…”S–©¼Û v¥xUw®aV× ±8Öæ¦#ŽŽ#µ˜Ýá¶R»÷[v܃TD¬ÊÙóóï´¾¶üý ¦ VJÛK§@6%Ç™ïÎmW´Ö"³^N7ó`ˆŒZ?ž$ƒZ:W?â¯pøZï¹NÚd;5]g•¸^xÆ#Xþ­1ݶüÖ°¢ÔçÈ1ÛüÞûSV¡>KnÙòìO!˜òQ§/éFÈYI!а/M¼ 39²‰)h”)† r-™gùsÀÅ[â¤ÖÛÁˆ)Ñ‹£Œ9$Ê4ξŠú–_Ô-óãWfÅÂy0 ÑZ<än‘ QªO`TŸ3®Ý¨€„ÿÙMûòyw §ò^ŸÒ_êüÔo•PêÚ6]øºËìSs1 ‡Nã]UÏÁÅZ^†šE‘˼åNØ¢€ÖL¼XOÕ´Pöp±ÁñæÊÈ[ðT·nÆõ©šš·,›¥zõøàj”~ñ΋³¯OýÚwìÀ¾¼R)aéK{ê”°œN†ÉœæoÁá æ»äßgÖj§¾9«ÃMÏÔSª‚1øþÉc Ø(̲0 uÎ £ ƒ À5ÉòÒ—ý[2‘z}Sþxp&?iUãjÄ$‚¼ƒñ€©RŽbØþ6‚â¦H3ìÉ]Ü%1Qu¨$>W“Zö=~äóÙ¿§™—²Û}wØm\qf<‡æD „4Ñ#Â`. B†»ËãÊn4K ŒäâZÆÒ»Õ^ªdjE>„ ëÛ™êÙ;D˯½"O‹>ë<¹ ßÒ¨<ègü\qæÙ![#¢…ñÄ@ŒG±Ð‰±Öå$Ôü‚„»^¦ökâÅ>NåQŸHŒ(°O¶ ´,P£^ë§öC4¼Ò¼Í)S!ëÒ,õÓ®: Ì÷ð[TÀœoTL»»_‹0åÚÀ<„Q¾¦¿úû÷Äi­üìãYçqkŠ?aƒÁš2ŽÊвÄYïæÑýFŠòû>ϲAîÀDŽ*Z¡§÷š…-·_:¾”r7­ÝË+Û´ÀS0É|X?`Øj<2äêUÍIq£SÄq<æF‚¡ ElïOeÆë]üq¥ë'£†!µâÖ\”¹´mr¿Qã°‹ ÑAUœ,r– d6ÌÇåÓŒB»ž”¿í€všñ»@ÐLb ºxOÐ7K¹A ÖqjWc½²ËnîŽZ¬kÇ~d¹÷>k¶’4eö´{n)ÕSdÁõøiÀu”?ä22jQ£¸qÃfs_ w¸Œ~D¸ÉÏ¿ƒp™œï”:|~Y:ôkeŒëNýK³Þ êR×Íþ–ßjxãaØçõ¹‰y6ݰ E´€ûÏsD\?z¾£œéÖh·qÛ:GyÕ¿Sê&ĶΤ"8êÆnŒ«U1¶»x^Â^Q”Ò¥Õ9"7ò’lÀOì”,çç‡9¸­Úä/rJ<Š­£_O:Ç nZ/„Ì›øÇ_×õd„‚òoKœ{ä§›`<ÅW5yá›c†ÃNœÃ~ŸŽSü0+2êÉò>dÌ9!<74üè-C‹“šÊb·Vjb‚¡ä€Þ¥ÿ†Ñz[mÁ†1,ˆÊ9b ¾L÷“VN¼AMQ~ZH¨MÃùcØjB<šå >M%ëÇŸv±.ð¶Ýô%75éù5ࠤƴŇʤGЮֹ%¼&“£=÷¾½¦|7•EÇGñL³©õÎíû}Ÿ[ødGÄ;¸ß•Ì$ yY UµA¤¶ŽO€x«+e{æ¢_[öOOUXB"ÁÔHºé(à†We]¦‚ ð10æ©û\šéçÚGÒ¹_…·§¢&w$ë¿ø=Âc‹•¡·xžÎã¨;¾„õxI`D88}4÷N޳(UD2%Üb<{_Ë;vy­§£ñ1«¡+Áí€8Yõ”Ž\½xŠÃ|ìdEûWýUÔ+:Ñ«7ûfû¯ÆBpÀ܈’ÝhÅñRò´„…ÑøÍÆ‰{^:‚G¡ò{¨gYHt¤=¼~l'a³=ò~4jölWn®Ca..›4æ‘»<Ôª’ÁÐÐl•a…Ada'AÁð¤ø¬_-sP[Í1êü–N†k¹P\C5ƒ=_Ûô(ÜϦ‹j()Ý¥àpÒ®«P5ÔÛT@j§깴?!fbÉE=c‘[¯%®ŸöÒü&²hýÚcšuôðt]1ý›Æ’ÆýU)§XÌm‚ÎS ™ÖZZ‡–lQ·,‡ó¾wE/ l´]ûÞíí¡;<ÂÖÞ¶ªŒóKM”𝑳Cù?³WT#é„TýyK‘^n‹gñ3OªJÜ[g ×q'Ü€s·ðÐ?-bøÝή ¶ï%õçôÉñoØz1Ð'Â×1%—$tÓ©Àð¯ÏSÃO»ãŽ„ìŸ û áÞs?ÉoAGÔQÎVz.7’¥‚_Eœç|âß fôx¨É×dIó™ÑÀí$qN:"°¢R•ãR™ò ˆ¨h³Pä2Á/m,Ý»,ì¨B°øÈ0ÖoìvÈt|EøEAž4»4¶°x\-«"ÂÞ-οFÚOB¶À ôZ‹›5­N€Õ“¯˜W‚jº^åù]”^ø.-n嫚ðSGä;c>!=¼áºŸgˆê¼rYkãìnà(9«ÓÄzPÿK›tÈÂbµÎ¡3Ȫk¯Gv¤0ûfè@®q*ËB VRª]è@¨WY­÷x uÁ˜‡½*yF!9o§ã­‡‰L¸9ÏMË-69É¢Ú 7Ú4ø[¤î,R¡ùKPíVÅÌÊÅ4„é=0ß™Ðz-‹,[¿ntû\¡5”n×:6k`çYé÷Í›>×F—Cã'ÕÆàlj—g{€¼yÓ¾ñFäÕO#Øà94ÍŒ…Öä± Bׂ_b;¿ øÖ:Iê"'¢òK>„®×úà ÜIë#PII–óðk©åâ3Àv"[g2-&v¾ýN²çèÑ[˜bÿ¨‰ üÍ£KPSÌo£ÊÉæ(¹ÇòÓLÖxÄ¡²Í^èG®ûˆÊ')tÐ=K]÷òù¯šÀ™P/qƒXÕ]’Xá.;é!˜Êåm:ë[‚ÈÖÜìcüÝíþMœk)\MôÎ 5¯¶òk½®wʧTƒúP«beŽ’ý9’§²ýƯï–ªm±6À›'ö—Þ?ôi÷m´mºßÃBHx²º‘÷L,Ç„W§ˆ©>¬É»½¾OÖ|§bJ.°j‡î'|x÷9ÐM¥t°šèzíÿNMA»7KB0Ý zªLvàäuwáÖRѪÒ£öt¥ÄVÈšÎÕ»›mwÌ¡r˜§ÏE>µ>oß_FÓ€…ì>ÚìLÝð´Hæ îê©ÛÍß[ØDhé_º£_³¾tÕ1‘Ô{Öå•Gu•T‹}Çø“Œ”æãÜ+¸ ö”¡xħ¸“d"äê’Oäî}€ì*rõYÄÐ#|²ý}9zcK2oõV'–EW\|Þvú«Ì¡ óEÛ÷miîz·Ÿ¹#ñÆ¢Uïà5%0Ó¾¯¤Çš·{Ó°º¬RX?SY Úq¼e *­”±¿þ”b·á(x± Lš i­°o'Ð~˜êæ~ÞlZhŒcª«…±àB} ­B¼©¢CµKêŽ[…= mÞg“ÿ\âѹå F›tÓ±-k,Œ'ÍLd쪜e\µ\ýbù“2mûf¨²W”†óg’Ü«ØÛGk~.Z)vg-I'¬Õš6^5ÒïÄWþëßäñßw­¾Ãl>c»H šøùé'lï5¿»vú‘G” ­,ÅØOþçª;@eK­Ó?†£g©C•_gÒf•x¥ r»„•AÚ»Ž»UÐú‡ AWd×§CC—I5<Ùè( ¥ÛK²‘¢ oR5\ñ EÚ%ºî‘ä''rInLø:y–·òvq ÌÕðu‹¥=‡‘e%*ĆF«hætSœ¸žÆŒ£Ü·x  žxß—Ø_1@Ó´GlÊF,ØSâÖ9¾(H÷? _aL?ã’Ñ8H 0Ó-wYf™”Jå®­é¿Ë”I÷¡ï¿¢“íQYóÚ3¼Ãš}RìYê~@añ›+—–š–¤ûÌîdóÞQwÝc2˜¦’5F©åò@m¸1†ÿc“ÖaÏ)˜ý³ÂÜêo¤'sj"dýIÂäÈ>ñwùê]S8‰/õðôØÃómΨ8í4ùk'Ú¿3ì„"£ÕÏciÂñÚûéióÖîKÆÝ,ø¥ÉåyÄæ|šBïxùÊ!´ ˜RŒÚ mÑÛZÃê©i ?H#‡µg±U£ri2UæNƒ·Ø“òíÃÅ ³/ ï39dPÍm¤¤:%±?iê–/¼Ké&¢ñG³R/bqo|øÚµ’º$Rtžì5¢ê2t9\!5mdû˜ò¬g9™[idèZTEîˆ-¢ºªgDN¤óÖl 3»K #ÀÃ|ÛþlÜ J"!³Ã+—!å–ö¢øüÁØÈ{ì!¬™o ý¾¡Ç:Ø:/Ÿɇ˪‰ "ýwc“ôíYVr7rCÜ89¯“LÒºÑõƦaÜ ×j‰AÅ[>3™á…MI~¿¶÷yæÁgZ¼šbö;»yÍh=T¶´Xdì¯Ôa¿ 5¢˜ÆF'ü,ç¢eÄœBȽž!C =#EœÔ`‹­Ò’· éÛªY?€^Öô5Ø6­‰‹måeÄE·Ñý^pÅD¹ßb -Ým²ÁöéhúÞÙžž‰Rº}ÛŒw’™÷èÌU¼qqk¥£ ø®Çµ3œŽ#ð 7—nT)[:®&vDßGô[ßû@“/Å”§á–JªÝ\ÔQ˜}$ï ÉZ¢áñÙV—âè:à us#¿Ì©£ó ª€;‹°cŠn1dHÈŒ<ÐNÙÈà˜Ž3e©¼ÉV¯Š¶'7ŒDHcõ™©¦i‡¿¾E©‘\â^ð’¬Åõ]ïè³Ù5Ëæ»Š¸Bꇱ :R ;ÿˆpßõ1ª!²U]&$ªKJŽ ú&´EK7*ÍÙ=ÁôÑî¿ÛP]Ñ•420|?=ö™Ê±&3Â*·š³ÑBÕPŸÕ XÞÍêågUeý —aоª`ìú»ÀèŒIqìêy\Ö**¢;±WÜNmeÛl‘à ¦AåäKÈŪˆfô×ò£WE±Þû`@O i”ê”VRàf:7ÆMRJb¨1…“*ôä)’Q&¸S-óê#2ú àpžrä2fi!©ï±]M¾s)ù…ƒÂ%!ÑÌ<ìì7ßq¦°¹»,í´Ügy¾eíÇ“(âÊ$ô¸ áš`úe æ€0:R`ʨÝ'-¯&W©îÎIÊ„P”’[¢EÑÙCœ©™mcé{)SºÆŸ‚DK A6.pÖnSuDÜi+!£ë”µ=_Ðåc+\µÌE„cŠ+„`.œ1jŸ´ZÓ‡ãXãTx7< Í?Mô¤…<âÎh÷ãØ}ú¦é¶«‡ÿžçE ]ûÌçk#á!Ë¿¼EÀ#kû“Ža]Ï;T™)ø{’bZ[Äík¶Û‚‘ÿ¦KU¥µk2T¾Âþ‡F¶èÁ×Êó["î6Püï‘ÅV3ŒT“š1£°Ö‡_?žµiZ‘jç¾ yi¶‡Ö|ÊþÎíçú¢dÂW7Ü‚qMÝ&O¤E>MvOíüµûpÈøóœñôœ÷§±i×ìƒV‘¨b)¯í¯ú†™ÐÏšd¤)”ÇÒw/Äœ~£b7 „`÷Â÷á3,,2UËí‚ daÉŠëɘü’Ú˜µÅË'þ'ÚЗvñ×jÎv'›VQ¡¾•Îp'=1}j0Ù×Xæ?äLãjÂg¦F¤ôq^£Tæ‚ î~WÕQ¦r!ؤ/»rÓÁˆ\T¸àbH_Œ4'Äõº¡:)¦]„æ7ª}ù`K&Á—jztª°g¾ÍU2æE´}á•O“PÊÚBødÐ]I¶ã…’k;”ì©fõUyT£»S3Ÿ±¹vv\wµÙ›Ú7¢—7£Uy‚ÿ¤D¶¤…xwÆûyþdsÏŸíú§xeÞñöVKT¯Ú¯oÄ¥"’Ð#u‹—y’-ºå>ºòP<6bQ!f¥Í@Þw5§%IMãu»I#õ[8•<ù¡ߊá8íÇ4XŒe¨oZÎDmŒQGÑ1"çð¶ ¨ˆ{Ç×óζ¤,4sþðªÍ>e>\ÓI¬µºPXj¿zèpkÐ$pŒñ×PVQD=÷{ïx9ê´èò*ˆ”o ÙUEafá&*7 D~ È‰uyÌFÆLpG¾Úú¥ÉaÌGpÆ?W¬·0a|Ø!f³µ…²Èœ*2þ Ûk‘ÜA±•ö;ÂVW€‘fÆDéD¼/ÒY Ní&ï¢.:a¶ ó!‡™Ls@L(nÎÚÚYŠx¨_‚¼Þ Ôíêqˆ¯õYÒ”´bÓ ‹–‘Zqì›PŒ¹ E’JîU"$sU×<…T¥¯$'˜e^îP±ë·ŽÔª]¯~—–ØŒÞüþiI¼ÿV¢3Ú¿þ%BÃ4jòëì.Ô\"Z…ëW M"-¦ â-2ýÉð€"·héQoC=¼K$r}éw(F4Ý ŸÁê\þ¼õ“ꤴýÒÁõ01_]I' »Ù&A÷Iµë¶¶ªãÕ¾ ì}Äûû£à¢(7ìN{Ñ”ð<³¶ûB®ÐÄý!”–>NKàš-«qT®&Ü&KŒqs§ÒêlŸêýøŽ»³[­_ ‡Ù*Åpþ²ZÛdpvÕX—ò^­2n¼÷ì3G`x,ÕÇ¢^™.ò2ü–Íà˜ÅÅ-+Ãy\¸4è)®‹kxòhß>$­l82™ÎQ¼rý•0_‘b|“¿MŽÓ=¼+†¯0þÒ¾ñhRuHKÌp¡ã'5Xœùñ¤£–­\Ÿº¤ç÷QIBÒÌ:\qÃ÷)éцF˜Ïó(ÑÜ9bÃ1SÕ¿ÔÑïOwB”ã?¢[ȪX8e]Ü>e™Ï[õ®wRÉ͞߸"æ— |uCã!~vœÖ¸±¶aýúÒâß$Ö…C§¤K¯°èe8zSšjeZ _Å‘u–دƒþDŒ¬Ñôã>À‡ÏQíÕiÙ²€/ö,sã÷rBI¢]¥•¼.R;±ø]Æç)ÿâš% õ J‚Gñ lýüÜÀÕ¬ßJcôwl$ò§jSÜ È?úNÝEê•'?òHÓè]­ÂÅ[Ä!k ÔòÁȹMÝPÇP ÔgD'ÉZ%<ôήf?uÜÄmdÁˆ8¼”ÎïÝäx¶ûxÂ7aó´Âú5·žäcúz˜Æd\flyljŠÉš§µ\¼ë⮲3Ã>nó&†}^tR'×ÇŽÅ{põ…j-²ƒÕI¶‰ë¢KR¬­%]Ë®¾Ï¥cŸ·}wi¯¦õð,ß2×±®ÄžþÅYiýZx)jIfVb¦È©U¼\ßí³--ú9ŸB>ujèxÁD“`Ä"p-Îköô¹¸Kš9Tùù@œÉßdýìÖþàDù©{»ö·Õž $ß~˜¬ÿsSyH]?›ðí½]ƒÿ/F HÂøª W×õPTÖ±Ÿé”‰¨XÕ4a*H1ˆªS£¦©Ì?Žì Ý#º‡,ˆˆ\œlJz‘ý~\.âËX:BÍN ;=]ê‰Ú€¹°ä^]‹¶î©ó©«Ój%$`2ñú¢Ü¦hË?w±aPäªÓ¸;%ëþösµ`Š:Zô/JÅxQ-ùÖuУNÒd ’sYª0É eCõ‰Þ!N°ióõ¼Q]…Ó¿Ç}Æ8Êmh”ÄH$ðU¡ƒ‚¡*õq×5bC ÷1ôkôÜÏnV×H¯zåõGÓïð/ȱ,&zº"uW ñŸêIÔNÜ'º3ìÇ ?kÑûËÊ.êžo±’£“‚ºPÏòŽÕôóPˆÌóá‘f‹sûÜÉ‚ƒî¾tµëG€ûûxÊK2¾4™W1ôËuêˆîµæÌnàñ’ºXebcÂȱˆÊ&“U¢èj '—b&,¡ƒ^ZJ/.rŸùXgþêt¥}ÎS½û".à•zÐoÊ•³±·&kt¦©>¬”EÌ©ƒ¶gæGÁ(½üŒ­Jy—ÑhÞq¼o•s‘×àaÒ8m°ÝØ.ض!³6g]{È}ÉVl|õüÉî&âpð¢ÀX•nflûCaíÛ© %¬êÇÝ' ¯”§å4$¢T®X1)ÑÏ (œ}€¼ê8Ö׬+c-\»i>d»ÁÓ4®ðœÛç®D èUºCË Œ9˜e+Ké\âg„ÄñØh[½8—ç²ÖùÛôØ?U9•l9¯™È¾ÌôìùÈ’ãF‰ToäÿðuzÈ·ßÂýR¬ZmÞ©ÔÖïú#vp|Õ¬É\õÌ¥¦·uü~}­ô¸ÓT—ö`¶- –—<ÌœçyÖCpʱ@sVq$Ÿ‰sFÍ7'q`âö(!Gš£ÔÅ‘¿SR¦ñ{‘ö‡ÙaüÇ}"Ä­ {sÈg$U‹ù "ˆ\ró_‘޽*T'P2–¼¢ .ëÁ£ L8÷þèÊjw>­xä +ÿ Ø6ã<¤ä:¦A—{‰þ 4×Óèì6Û¨QKœûrKq²pMí<ÿâƒÖz(jªÖ½¸öd;!ji-P5¯#®PÅOaRüõ cåœ|þ"öõíÝ-ÙÏnWyÖÀ“À‡²‚J¤šÖh".@úÑ`SËRa—*£6¨¸3îwkæ^Õ-Ѓr­gø%%ϱió5ŸL_–Ðhò²YÒ݇ÙMÞ‚ÎKÚòÖ­•8ÇÈ…5ï£úh}Nª&èv«t™nVß«ÈsïðW4cô[¢Vàó¤@åû«çʹn+Q‚¹­KÏ&d‡veÞ¹FR—x5Öþ4ú¥ ÃñŒðëÐ ‹*ü¡1ê¶¿´;W†gØs‹’‹ÃÚ{[aÜ&j‰ù™_ ‹¿ÍT HŸé®JuÜ Åòì,“ôÄŽû£sPR•’«*ä½EÍAXÈ!߇Nrß23Àµ·þì:ÞJ"«¬Ž†Òš±6éˆA’#v@à(tî­M•IéJÂå~ÙÖCâÚDÓÅ$CÊ`˜w¼K€ Í­y·9Tœ;tÖUÈ`Lsaf”KFWýÑž¥fçl,rLu®‹Ð[ÆuÄpQȵ,$ê‚yã䨺†[…7«†cÙÐóØS‘knä÷¤ÕKjfQè=à"¾¢6.á“ëYõýt™ñûœ›¡N¿v+Ûyª·ÊGÔ~ìfLÒ«¼âºgѲOPãüL†¾Ã¿ë+¶¸ÙLjDÊóÌ»æ|*±Ý'ØKœ0м¼Ø”Ùù†–‰h¥ý±õ©ØB̶3»¼S°’ýŽÖ{\k>R‰Ž½´S< ›Ï|ŒP]o/G€Æ§2Ä—ÙŸï] ´Gå‹sF#~²ä=KUàÄ˶>©áŸJw8‹s—u¾mq>y(_íöV ¢ÑOFÙoߦ—]Èóh¤¯1JªO¹îÈzMz$ú<Ú¸q77äc`{Õ§‡ øJŒ¤û›}mê¿Ë1ý9Ô—"HX(FåÛ»¶Ç^°Äž™P3ÏÆÔ~˜O«®¦Ï+²Ìpv¥[ÝX©ÓÊO U)Ú›Uç‘zëOWK ’‘'Q3RN$É"•õd 5F  S$nõÛJMùN’‹˜³ýƦØNàŽ¸$ØèüXªSÀs1ˆ…'–¥›Š>ÐîGÉ'2£ƒ§r®©i•¨l9ÏÏC`v+tÞ3+IùoJq6qd [üS>Âcà´/ü hp8“+«×£à"D—€%ª®+ýÍö(ða…ä(¿°+\}kÔ^˜~ b%© ”ÏÑÚu™(û q+]<Ö’ú"taÊÜË/÷pú¸/ø‰½Rq¹B¬÷²E £ªPö:IòQýNZ·ÎÞ©_]3+Õ‚Å$PÎrWeÆD¸k}@5§Ø‘Ê’‘ún&®Ÿ¸¡eå®t¯þ0f¶Í8ÌÅa¥D¿ÜƒÈéù’&¬Ã€ÊV}ÄqðÚ'5÷Íõ·žß$=öéÂhqhA`˜¥•pt>¤¿X±`z‰zƒÿÕÅHÑŸþ|–ûû~åwá®5_é}îôñþ)œÂõD3T—#Âzi\õ›´R!-[À쓇|8Ë^Ñr ïõ~Z—Ÿß÷2ÂÆ¦ðž–ݺMá¾4gª;—®‰-…F¶`¯&<¡;æMÒœ£&'Q'x¶e/ ÞbždMŽT9Pž/ H5ñ\Ú—†’é‹P¿‹hÉÓn½›}¾–âT.ÒÀaÁ¤®¸hß±Œ^ëXË|í/+.–›3•ËÀ ¹/ÝMý ²…îI»óÁu©ß~(c,ŒJº'¤ »67½h¨€ˆ2^Ìiù¦Nf8’íÌ=f:93¬“+³í#r#¤þÑPÊaC>[´£¬ ÒR­z­ñ"¿=ù[Nß/áaº˜]í$cj÷Ó¶i¹êÁ”H‡ß¼sMÒ‰ &p ”OŒB°D#Š%ìû³* ƒëÄjÍ$ \ÉyÑ2)ÚÚ‰ÍËîé°9(ò|Úy_®=öõãÛw1ça‹$J¨,)—wîø¾áå~A#AíIû’–ùR‚êðaHÝQ"'1>Ú?©¾#%¯,OñSówÛÍ¡QwMW(óc~UÍ9ô0×,ò-FOÚNøžîÖòþØ;?÷8"-Ö?Ó^.¬»Ÿ•|¿ î ¾ìÅÉI«?°È“=¯$‚WÊWbÆ “Yé™ÙrR}”k_Üe§ !PÈVÆN Æ´»7só?ä¡ÖÞ|,«¦:)Àšìpu´1þˆ>tƒTµÌX€ì¢@á:Å¥ÝCᆫi½Xäªç$(ÆRz‡0"d£I{IÁ\ÂÈ‘ûéĶEÜ g¤³¡9ðé¤1.Ž il0h™ÙÆÕSA×¾ ŽASÎqø}£Õ eH —‚øºb1Í1ÅžKVŸLþÝ,>º9ÀÒ·œ(Lþ¡1´ Þ¾‹–NÒªÚVÚW…87Khm’÷qÛ*kl;;’ªQƒï·m8¢÷Ný‚ I¯ŠEæ‚êµ›ÅØÆF:ÕÐÓÖ‰lï5úµåJºî*WcÕc.$[P€_©ÿé4ôCßÙ"Wñ³hO¶wæøJÂ+ý†­hKJl ô´×j­ƒ!J<¬¶àü#ÓÔAhQ[ô/C©"ŒÿÔÚÙ²3‚›Ìyy+ž?£Ýñ‰ÜÌó„Ø›6'q÷‹ý q§B³» @ûÖW #FäeåìC”ãQZáþϕمº,×xÐÇ4Ô|ÓJšHiF/YÒo/ùcÏÑÅ>  F.u›1— Ω{±?š£q¶+>‰.MMä.ÛÆ!ÙoQ­¿/&ž‚ vGé^B‹ ÉÒüñŠ2–^n<ÜÀ™u¤Qäk:=k\B𢠴ójÏáàŽ6·7Ž¿ÖØ?£¨|DaØ õù²-¸œ>> (oIŸ?Jû{­ûQâ‰<Ü( ÆI²Àõâê@箲݈T<׌©¸óå>f|ßûÑWý[ïì¡P?Mr#r‚ê&†¸(—¤”D«ƒàPñ“C%é7ŸÀP ÊêjÝ)ñòé.ðŽU³lÚL cþåW;¼æêd¯¨R—8CI$N4»UñçaÞÉÝ| X.õ¯ÂS]Êuü—%S«ü£öË©<;;¨`TIÅ]´úRœMÖqÚ©ìðPŠãfS }] ^JÉÄ=­‘NÁMáF5²j›Ö°r¦»cSNñS‰È‘Kðp³ƒ&]::¼‰³j™"çÃaÚaXûn,·Ý\FÃÔÔ;õÕOÒEõù Vð­«o/OXÈA]È:¢¼G¦#·©”èh˜Ž<û¢Ó»%4´_¬¢ÌÕ§ ”ã¨$pw*ŸK`°Äü‹ˆ±å˹)q1¡S0ÕWÜP2;È©ž“‹‡åò¨VñÏÇòImj!Û{ù¾21%¼°8lŒÊ»¹xùöå'D­éð 2“­9¬w >Õ· •e””1ö¨Ú «Ù„¹¹Þj¬ýÊð1£Ö<ñ3¦NyÓèÉ‹d—ÂÔfh4,mq}H=u_‘ÖÎÙdó7Šx¹&ŠÅ¦wrlꢎ`Ž{ÄìœÇo¼6y0áR›å½ã«7ƒFÊaºÜ|CB†b†•Çh–hZSБ  Ùƒ,)·¾Ó_[í¿ë¶“­=÷¾!qaÀ™û—©K¯W©W\gm+E¶*OÙ¦æi‚Æöâcqž\"_q#l Vð ´nÒ²¤SCÓ.në4ÎYW<—¸–‡;àvâæð|Q·‹S¾‹ÖM@"&¶aç‚©Ñ>Ô¦­åe,{÷BÐã4Œ¥UÞ†'±! í%‹x>ª¾W¯âÿDŠ¿ŸF¶EgìÿTù{ïEÚ<KhÿrcŽ2h.ÀÏ`k}VX“ø¢‚ŒÖˆßS2ÛÓ8PHà“¡&jù²ë†êì-å|1ÛôM {Uù!#g~ìB2vRZry+]XÖqÉ-n,¨2¹.ä[Æ“¡•EB :SL7‡/3ÞØÿ(îâñ#üøBù6Jîë$¢¦ä{wL§(ç:¥—é±]ïµçrèï*x§´Îú8Ø´ºx[ðcÇø1ôÖ*&M nHÔv¿:ቻ@!¼9#(=щ¬Y¬ƒ–RñÁi&ðÙsÍÈ0GÉ4«Õ5OèÚ ž:êon[„—;"~Œn;*øTž†m«¬N¨­eã â:b—?ynô2Ÿ¸Ô×®…d;àG.¨\Uè5´í˜v£¾pe)NmÊoóG©/Dg†Qç8¹<¡€$ÍÎ.LKW%<.T2:z}çÔÖES¸R°DƒJïã"´ã‘QØØt‘ÄYå^Êf•gyãU–”©R;#<«üúÖ#>ù)µkíKiÞ^/Tœb«hn&åÖ<³îD,•iÃvC´ª˜y¼X ÐÀ^¦Õ€?pŽ‹3ìêGÎAòæV"n}…çiHûX“µS endstream endobj 249 0 obj << /Length1 2354 /Length2 16435 /Length3 0 /Length 17812 /Filter /FlateDecode >> stream xÚŒöP\ÛÖ ãî¼!¸»»»»[»{°àî‚»[pw‚ î .s®äÜïÿ«Þ«®êî1}Ì5çÚ›‚TYAÄÜÁ(é`ïÊÀÂÈÌ SPWga03³123³"PP¨ƒ\mÿ‘#Ph]@ö¼ÿ°sš¸¾ËÄM\ß ì²n¶6 '/ /33€•™™ç?†μqw9@ ë`tA spôrYZ¹¾çùÏ_µ €…‡‡‹þow€ˆÐdfbP0qµÚ½g43±¨9˜€®^ÿ‚šßÊÕÕ‘—‰ÉÃÃÑÄÎ…ÑÁÙR†àrµ¨]€Îî@sÀ_”Š&vÀScD ¨[\þ¥Ps°põ0qÞ¶ 3 ½Ë»‹›½9Ððž &#PrÚÿËXþ_ô€7ÀÂÈòßpÿöþ+Èþog33;G{/½%Àd (IÊ3ºzºÒLìÍÿ24±uqx÷7q7Ùš˜¾ü]º @RD`òÎðßü\ÌœAŽ®.Œ. Û¿82ýæ½Íöæbvv@{W„¿ê9ÍÞûîÅôïõ±wð°÷ù²Ù›[üEÃÜÍ‘IÃää”ÿ·Í»áÌè à`ffæfc@O3+¦¿¨{9ÿV²ü%~çàçãèà°x§ôYß|\LÜWg7 ŸÏ?ÿ‹XXæ 3W€)Ðdð'ú»hñ/ü~þÎ O€óûø±˜ÿúü÷ŸÁû„™;ØÛzý1ÿûˆ™”D$åDéþMù¿JQQO€;€• ÀÁÆàäáøýo”ÿòÿ÷¿¥Ê& ×öx2öžQxïÝh¸ÿ{.¨ÿ½44€ÿÍ èð>Í@õŸá×gæ`6{ÿbùÿ¼»üÿ›ü¿¢ü¿ÿÿ­HÒÍÖöo=õ¿ þô&v [¯[¼O³›ëûf(8¼ï‡ýÿ5Õþk€æ 7»ÿ«•q5yß{KÛÿ6ä" òš+ƒ\ͬþž˜ÿÃ{t[=PÙÁô×}``afþ?º÷•3³y¿S\Þëoð}£þ7£„½™ƒù_«ÇÊÁ 0qv6ñB`~Ÿ/V€ËûŽš=ÿm£½ƒë» àÀÂÁá¯#åä0‰ü%úâ0‰ýAÜ&ñ?ˆÀ$ñ_ÄÅ `’üƒXLR+€Iúb0ÉüAì&Ù?è=ŸÂôžOñzϧô_ÄýžOùzÏ ú½gPûƒÞ3¨ÿAïü4þ‹xÞó™üAïùLÿ w¦Î&f6À÷'„…ë9Ûåÿæÿ*Þ 4û/bOû~Úý ÿ×q2™ÿ¾'þiç_ÈÉí}âÿ¼³²ø/äxÏkrÿãÁñ—ÚÁÍùï&–ÿ€ï%Xý¾Sýr˜¬ÿß[aóøÞ‹–òÎÍî|¿d˜ìÿòîjÿ>ÿп“qøÓŠwg‡ÿQ¿WîøGýÌñýadÿ?mfgù·ô›Ìòþàerú/d{§èäæà 47ýS-Ï¿…ÿ×õÝøÝbyï‡ËïN.@;™ƒ­Ã?¨½»¸¼_ǜ޻ö'äûÆäjå üÇ¡¼“qõpø‡Ã{sÜþÌÈ{οŸ³.fÎÿìÈ{»Ýÿß‹ñøY߃þ£Ö÷¬^ÿ€ïÝôþÓ·÷HÞ@çUð?Wƒ™›ó{;]ÿ¾½ßïÿà¿Ñ@ 'Ð ayÑÁŒ/ĺ>¤ó¾V„ÀƒaoJ`ŽbO+†ÁgÙù›Û# l MMvð†ó­HÊhÚÚŽõoá’Ÿ“¶FØðö$•Ž'ßg£ÕÙ½„¥œ¡é¢‘†A"xBuá}ß'_Í È6ðnYŠ|'7nåBÌ{)φÁòÕ‰°Å=•ýN9Äçòï 1ÑúA%ó¦9 È`\ˆàh1.=QçßÎaäM¿‘È&Ð!øÆ°}õÑÝd}Xð^¯TguéÁ#ÇÓý@ùcb–ÒGô0U÷‡Oiqô†À\fF°‰AßñnÒ3^=y \f[çe© r¿Ž¦ í~$øì=5cGÚzÇ”è,<<$¥ •Z‹ ÷GÂáï"œéÌÜã`½|ö·–¡~ëœü–;9«ŸÖóӳ؆GØÆ^k] wòÃR€!üµÏÝã[dUF^çÓo=}ê8ç¹ï©öm¨BâÜ ¶(% ³(³™‹b4áw&»>| O‡)¼~/Þ(ÞŠ¤Æ*£ÓÕþ+ûYÁ„n:·Ü“·‡a“—mòt± ‡)F ‰µY™.v%JF$}W^Ñâh¹\ïýGaÙUójáÙÉSðI…ðƒ»^£ò‚'sô–tõ'-‡‚'‘Póº9á&­-iZ„‘Š¿±"¥9t˜Vvøu뇊‹ “Àq$&¿êOQæÇÈ ö±.ÜÝ"G濫~°r´±h‰PԫʦÀ}»®‘ì²TÍ+k0ø<ϯ6§ÜÚó†WùUàwù¶ÞaÒ²AíGÿô ݹ^Ý%¯1Ï‘šèúðºá -Jq½„¹#°,JŒ¦½ö>2ÂŽPe¿¿®„îþY“ߋ֌F/S1ù+ãÒ$Mëöû1†Ç÷Cq£s -s´žv­ 8û:ÕiX‚§kÈŒÎ{˜•ñŽ>Ìâ=¾œÂyG9|ÇL5]V¾Ó3Œ÷%ª"P?Gkåæ!í²mo ×(µÖq£Ö‡}ˆ[ /_ì$ð×/*ˆrÓº V2FÙâ%åüep¾r ã¨s‰¬)<))£D2òÅ®ÇGKÑ´ërùüêïs±ö­u´Küp« éüÂ1Üá¸/*ÓY¼U©Ày.ËçrTùÃÎl.1¿À~é¦wŠì¡ó­?53w/‡µSÏuæûèXêÊ—èÆl!«_‘­¦Ù[¯´ËDäæC_#ÉÊ¡H¡YŸyƒÐÈ‚ó¯ÊhbË|5f/†ÊN¢-pa*0Å›Š\ïÑæÍÓúJò*³²9&o:蚋έ¹z)N@Âoi8Û˜#è4xà³ãêL`3Nøk3’Guwñm,É®ÓÁß[Ö …‘g qYðú¿ÔKª ¥2ä¤ä\÷;á„Àf“>ECвXzܰö°3ççµ²u Wlë×ry¯šxϲÑ|naÜ̸¼ Š’ð Ö¡j)¿;æˆ4 °·îbÝþ¶³h†uïÁ‚ó|?qÈhš'cžÙëÕZÏ;±‹l±XP¶v•´w|UüTjayJÑíXðĺ"Q"¦¦ò)‹[¨Gñ¨xUÛWfQq‹¿]Ïl7°NOõìûßIVŠ.”:ÌÅ´'œaB}êM;×-΃AN†«®Büäe¼OêûPeB[=i~ KÃè*Chå”ðã5‚˜–2ßé<°½.°Fð D{X~mˆd$n“ u GɵYÍ7æ’Ùò¦Íqhéõi‰v#E+ÐI\~ð[g¬ÏÚ™q=VÒˆ¹G2ïd)Ù7o¦–ìCiª.]òÏË`K SEÜ1E›±qCºh±àEpü\>5òŽ?Ñûï4i(01¶mÆÖØ>…œf¨;=‹Ùû± ¶è¾9Ôút8ãöjè¾ñH”ç-ÎKUo¹%°ó¬n;à9uM2mù¡xn§Æ©…úf[ðü¨êѾbtõ´2•xfôÐâ{ Íp ïÇý**oc#×äËcgiùLn{ä[AÙIøýŠÂˆ í—yòÛÏDÝîךO¹4NÍŽ&û›a+À¨Z °Âí[Qg2¦X¢3е~U¼Â–.¿i®!•¥+ºÁÐñ¼­ ²s¡GyI¡RÏö½nl —!÷õD’Uym£8(õ%ûVšé¾z‹ínÑ !YïzØ6ùôLÝ#0Š?$›ÂN…Õé ½8Ï^Äý|¤^l)Úh …¹ãñ"y,[#D†¡çhЇ¸=æ8e½Ô›?Õ“Xz¦Á8½ä]pð³K>L¨!ð" ÷™—X.Нú÷cÖÅ„vrÈo(ò¥p^\ÓQÇFICóLÑ)âEYUjpN=uÚ3vÒì˜Y/0c*…¦jHÄ*¸š³1Ì e‘C êd„ÑdPBÀ»´WíÊDÕ®‰áDƒRVùÀã°0N(¤+!+nÊ l&Q4‹O·©I¤¸íÌM—®h- üƒQÚÌàÞßX6È9ɱ[üž‚´ø7X¬÷@Û\œ/ä]ìu@ðÚÆÀA™ü½ûTº›Ê¡CïúµÀ•Q“Dãx)õŽÚØø$3cRwM,ËODó'œ¨OoÆd`&ù:• p1¾6]µá¨‚w¿¦<¦´Ë@Ò'“eå$ÝæMO<ÿàö][•šÎý¹~¡Ï×.„`?´cƱQãI¢=ƒ•ÏB*Ä»‰½…Þ–º‡†ãú‘¸Gˆ¢mö.Å2$R­¨ç™œ õŒmXѤ=ŠŸ"AZ3<†Â… œ*…pºÿöv+Š6ý5òl4Z7v^Å tî9 DF‘9=†ÁˆÃ‹[i3D‡ BfQ;V3‡þöaO‡ü<Ô˜¦¨¯ê÷ìÀ‡¼Ð‘8çÝ)èˆ÷ª3’2Õê6ž—YÖ–¦¹ÒIæpŒÔ¼½ÛÙ„ŒÑ3iEŽNÝå¿q* ¼=éW| 'Í œ³¶9ª[šÚ~Œü¬t•NR_{™þHQâ›qÚ2à~ ÇòjmpwFô°èi®$§HÞúÑþþDñ@…‚ñXþèjîRˆ“%®èmÖÜ‘YòÌ!å?°Ôך ³FÍ›Wb€GxSuðîM›h‰4–g² Cx(æpÛ%V¿~¬J’ŽÀç.ÕÙjÁ±oÅœ™öy®cBí¼„Ëu}ûî§ü|šì:€]X"ëÙÂýcdN•pu‹WßgÌØmýM;‚€¤©äÅQDÜs(WŸþ‚³}p˜¢,IÓñkÔôuÆK¾d•Me=bôu—’uwÚ7üê•}ºFX- þÂŒK™Â‚fZMù}zêMï&l¹ì•ŽæÕxwãiKï ŒùGYy!L…Æ!L²Á,Ó’ •^‹®6 ³–™¹<çÆo5ˆü–¶þ1i :5rÓAj{W'æÂEF° Ò.›ÁO¿×°‡Ž™®·Û£&l4 ×Ýö-w’_ ¢ÏÑü¨ØmSf’÷„jº”d6ڸ𲦙|â ¡¼½Ì'?x"[|› yÄà’ݘ]¼ºù1×sר–S¶C•‡Oàíƒ×vbÚôuÎÌFÙÎ(l ¹ ®¯ÿ¾xÒ›`Gf®Š4YýSk”j9ùýWâàÒS¦üCQ°¢Óí J‰tîÞ†Œágx»ìSö´¥•úìMPq¸ŽñF-pÉ@‡.Æé—BBmKŽ;A÷Z;ÿO¯ }±á°4/ayâíãvn9aSœO~JGxŒê¦Mºè mþ™èFl‘š…çxù0ìªGdqD8Eõ3MÇ—[((Èea²i±Z½”ÝØm¾ZºÔ!Ç3Òòð£ÂûáS\æJý_öÇBœ´¢ÂL®ñjÖªpsy]p)`݉iÉø'`ˆÓ½Ž~l[ó(ÊèC§qÄX-¬£2è'E>ìÊ›Îc÷Ò×X*ÙSqc>”WU“ââK̇Qñ½†²àÂw²Ç¨ðnLt‡¶„¥s•·\dS¦êß…SÉT’=§¬³°“¬´Yîø¨~—Î@7;¡òOS_Ü<örHõ †¹ÑŒâM¦  HŒàÍÓèl+ÔÉ|ˆAœµFîΚJ«8…apàñ0©yÁåVŸ6,™2<; jgφæ4X…®-ÅαT‚*°>:"øéÈÀÊé? FÐwÍ݉¤_¨*OÀ*Û€øï´ÔÁ÷’Šâ‘7OŒ#\§”"•‡2m'ânÕ}hõ™Õ'‰)FDWöòó‘ê… ™“ÓñÞÎ^å/“µëW~>ˆ'›(Âì ša8w²ÿHZÆ{0ï*OëM>p¯áÀj€8nÏæbˆ[¨Òµ˜ (ƒ Þ\*Vµ¸‰^3çgìì¢3Wù$ªjä ²¥}«Ô’újëÂ[tÃv—\Þ5–ìÔöt ¡–Û ü®'xÈØŒÜ•^‡¨q¢àý¨ÍO¨(õV¦U/KSû¡ºgNKr`«x†»gŠi=^†áñÍÍh°ò!󯶝FÝvýL‡*W¿Ü,~m"\QÉÀ+Bvl b:Y—_eÐ ŒÅždÎÕÓå6ˆ` ÏÍ8nw”qRJÏ$‹ñ,Ú9Cûös9×cÜH=Pð†_Ë:¿6óÿ¤®°”2ìhlð¯ñT>‚1 ”Ûþ9‡Û»©ó¨*>žDvßšLŽ%dÑÂEœ¶’¹á‡Þ–¨=¾ëpqÀöœMµM§ ôåúíŸçyÏ#Ù•¸3–HÁrC˜¸HOíÀY!ð(º¢ã%†òw¸Ìö]&we=Ìt}›{± ÉÅFôf‰A‘?€—Ÿ¿“Ý=Õov ñá³ùŠ$xKné°ßjÁ.©J¥Ën•äÑø¿aQd—˜êu£+ õ_ òaç©z„o´ KTq|"ËÕÚó ä[¨–á¦rY2ûö³!­ –D×l‰½ 1¾ ª]NDBè—Te¨ûàj‹2‹šú°« EuË‘¨=£ Ý&£Së0Âê/¯ÉE5¥TŠÜ¨ °t¼îÑ‘cd!­såe[I&Åž8|Ó:H±Æ vHwuSCÀ˜ë‹‹22S—M“ ý¾®ýQiÛ~_4pf‚úkåÐ’ÃS1v'@€üTõ¡å-¯éu­òº& r[–×̺œ­8Ø‚A1±‰—ML,žO mÌŒ?g¤ADˆG {>Ü$qîÈÖã£ÂxGdó-¥Ÿü¾½[NqÀ‡¯ì«yšz›tŒ…F¡¦Ç¥ä®·ñ,ÇŒÍ~£‹Ãs½f³Ï5>»üüYî§wk­8Þ‹¿Âù'Á®RGf¾¬ƒñL8ÃüüÐD–mìÚœ1–Nîu4S¾X y 0ÐJýзø}^ðËú3d.úïå"ÑÄ-Z"]±Ñ¡¬H¥Ücµ @ø憣À“8Üöà©Åžv˜=µ:Ž©”;?®ÏÁpóC8Ë ½Y´¸­2bÕq>,#ma"‘麃 »°ÕxÎJ ÔRpˆøöéœ;$Xq…< Ž StñÅ»zb*ù>ddð=zŒzk²”#0-÷/…)S ÷¬¶¢BJú…0iØê°Oh³ÍRzÁ¡gØ”IeÊ=ž­”223ÞNŠâ@Ô¨ãiù‡Þ¼Áz~€LòãGÁE¨YƒÆ‚[÷j/å_ËÏæÑszÄÁ®èíÞ³»|³V`f_yRkŽ´‘Ô¸O1|rPrt*eÙm°]Ú.©Èé²\3_Â÷¹hBh6ì(£äµ&Tæ‘wä¹’hª,o[‚Â~Ü$L&4“1Fôt¾Y"Ð$²^h·PkqÆnƒy¹k~[ãÛe¥C"•“6QCuc±µyb ðë9Îw+ Î?çãØÇ¯f¸´òæ¦)øôóH$ ¶`ÍBLpÏ®‹î¸ò¯h}Ññµ¢Ž­q[·…¹qD:¹Å€éÍ‚`Ébõ†8pZÙ½Ÿá$nÈÆà"ð^…Ó¡gí]å2¤y8åØa±0eaã yÞ²›¥;«ÆÛ4‹;’k©Z˜ÀÞàP-à*³:ÞC´Ge7P[uñÌýÌr 1EÕÑ}’k¶ ÿtÎ/2sKp*ªIk¯ŠQXxU+¶ ‚bUy›À#¸¥• _,‚ùêwh™Ýý1íÃáéýtÂÖ‚Oå“AU’vv?Ùìz’u–”|8´š»„5¸?‰’ë<Àž]ñ–?"ÈÝ”3ÞP ª«'p$ËØåšaån“ùlЙ7±Qùzç‹õhÞf¡lå²ÈW¤K^¹[2±“ÐS.“¤(OƒH¢aGŒO~A˪"g÷ì»ûÕö+¤wŒâÖàªã/^Š7YÙˆ `úi³Sæå»‡4:ÐÌE•ë¸ÓT½‘bÏjè s´ÏŠÆLÒŒýNüõǦFtjÉæ ¾tݺÕéíÅùWR Ü佯›»†Õzø nò¶9› wÈ!{vÿòÌ®¡ñAúcxK–§-´RróÑÓ3PwH Ô[Sy}ôi@Ú„g +9 Ë0êð«>÷ï‹[w!•»AÍtóû׿îçxÑà]!æ®±öëÖë&Ôn=5ä~a…g8Øö —’È`¼•xÜÌiHÝûíƒÒd35Áï bõ~¢å´èKùO„ÛFÏ•ƒÂVlWŽÌå%µ…S­ÞÆJ³ÊòÆ=˜ëˆi„Ú}¼»[Õ"· *àûâÎ[oÎþ+ MCáÔ´hsD$¶RN1È Æré"žº\zj*ŠV2õ’Û·±:õîQgÌÐ̦DAáª]‚Ði¦è«xóÂ-žX9…ª?ŒGăó‹‘`‰-Ÿð¿ö,‰TŒƒýÐø8ç¾ÝÓIëÑðÍå¶‹ìå«jÔ¸Ân’¾ØÐh i󳡞éÏFqŸ7—7½Ý“¾5)Üä–Ù|Ø®òd1"ýL¤"ŠG©{ª³ÅîÔ9Óà²ýí´ Þê€|ö¥QÄšw7“èÕ˜%‘­Qòê…ÕÏ{§Kœ.Ї-bïjVï «7gûVÎÐu¡íé3#—ÑÃP3tMÄbúÎtÕœaùT@lK­f[1[ŽžìãVËR€˜¨9†Ómjdê¡Ý• ï'±L½ÿÏ¥³[ß"„Wá¿îØ)vïÅ1ÝÀbzN‹?Ÿôç~‘˜tÇÀ‚¬[hàoBó|B™Õ+œzr8|.X®¢&/¾Ä¼â@í84¿xæßù¶Á +«aˉF¶ä78ÛƒB‘èJ:è<¶Ø+ƒVžbOÆúûÁµ?"b«·0='F³b˜ª±"ö£ü¿+OO@)$a›(ÑֺϠ ""uî ³´òJ/£ÞŒÊK°(ÌT‹ÊPÞ³ÿëjö)jû‘%I€‡r—[¨­´Ì¼Å—˜X9r?´ï¸ßx×àñ»ò†¾fÁöf<( Ü£ÆG.µÑ²£ÛŸ'Ø™OÂË>¤¹ùKÆB{T~’å¿eºûćҹõÚÉt{:Ö–ÇïdD!¡Ñ"+zèÈùÀ(¾áœÊ¥Ykö 6ß^à¦_m¹¶?_×V•k0XxùÊ•¡Â]oÄ»'¨0”ª=(øRê¥58ßà]zmûÝ·Õ¦cà« ¦)˜ÍiͯFò¡ò·&gÉk@ûÑsÿsçFâ¾Î´RÚýà§X[›Ùïƒá%®HX+L>šÄ ; ¼ï‡{¼ÊÙk…®{È Z×´µa¼¿ÙóI€K»!‚¢¹Ä(EÚ_qqlH}uïζñ„ƒchñùÀ…× *ý1JLdjÏž€9­VÁ˜{VÖs“‚Æ6CÝ1-Sl_DRÈâ-ÏÏ󆄴mõñqþˆY¦ÓÐùÄc ¶¸Aí ´]>12Þ+Ö§Jb\K‡‡=-=9âöÛ+­ç‰ÔÌBŒ^מ™aM2?üÄf­RgìÕWÕâBBIž—ÍZVC™5ß$„,Êù«ð0ËË‹mW“œ=ëÏ ¦—cfû+~ä© NtÅ;HÏÞgƒ‰áPcT™ 6ŸB>|bº Šƒ-f¶^2©“¾´¬èÊ—\DˆÞïÞ#ùþ²ùqø—I½8‘ÏSÿäA¢ lݵVæñއWëËg|Ë7¢‰ÄVíâBNå6·Qç¬æ|꜌HÊ3N¸×o€Ã39;)²yw•Ûí£ÓuÁ”Z64Ò‘Jª™ ÝéèèŸMÍkcæÐò ò7SŸ‘‡^ÆŠ½{GAíöK˜â€K’7iÏF?œ o=¼Ub‰fªMþ~Õ×®­$±` pòßY‚‘ï]£È dN v8ýZ)¤g|~µSý¶zÇÒ÷Èg4ä²îD bbË9„>óë}3DewÓeû€¥á€ÒGíºS¶ÿXv½Uãû™]§±RŸê›#Pq·ïdTØD qGm9[Z {×½úKOߺGöµ¡—® ‹åfÿL¯äïZ-H¾|8üZT=Ë\SÄ­‰‡~ÁøoŽê®ø­DwX+Pé:'eÜÌ•¯O]µž1¼PŸE]Šj Ÿ !îØÊ’¸‡©Z i–òÌ‹M%lëŸBk0s±8© ®‰§W¡õÀG0‚Œ ã]4°Õ„û…ÔÐîlHmƼ=LÎ' tÐ]!ÛŒCÒœ!]”ȳlu;?Ì✑)ÌXz8|¦u;·¨ïnë4¬‘q¼ö1ü8àcôƒ, 7"“Ž#œIÂ)þçß´ÚvI"`ÐýŠ‚\ À1ˆB9íUËo¬H+üLßÈmÍýŸ¼Ï‘á 4-fcRs9-Èò1; M™\#3Äé²áä¡ä¯ O± Œ Øy‚Ù~¬¡ðZÌëI§rÛ:º -ˆ-Qã‡jŠRNX2Û ¹KnUQ-äžÐúuNþ+Ûè³í\0i»ÇÍ[¾ WüT»?îJâ+­fòX§Öæ>‚`$ƒL\Cf†ÂAÊÐ*6ð‰è“¯ÊWÔÞ£Àl¦þšG¥Ø#ó²–$53›@¬o›ø¡‡žß<÷Ä\dù ×AJ9œæGX¼=+íªÜ Ñ›Öiÿü¥?e9«†éb8åÌ3$ÇÂX±Öf꣮w›0 ¾m_à¡]†«Üe¯‘1Û¾qUÖ}ŠJB-pí*pˆæššúSŠZ !cÒ×0×2ýï<þ­bHÉs- ,<¤êcŠTL»8Šº`Ã,ñ} R*Þ~]/{#²äe¹=™¿á6³ÝT¶Ù(o5¼'„ÚÑÒ¾S^.´$¨ZÇž[)ÃY·WÒ¯§tà·>g•ô˜sbugæ“,Ié­Ç䞥.ÄÕ\?§¾-Áµ¦Í4M„T›}ìâõ¼K ½ùâLÙði]ÒШ@ÐzÛL=ÊcJ5óS^û’;k²¯lCÍ1£ÇƒI,ãŒâƒlQm÷ø„uû &>ë`‡\¨dHn|u§ÒN`™¶àGø¾Ï5pT?«¥®»a5b/†‹øZ»4åJ[´æü„7¸¨—Mü º¶m˜Ö˜o5CËò |Ùá½qÍkòÚŨ?ÀØW ·Á£1 DàUì=`ûB²ÁšHéåòbôÍ¡iše«:xò G£‚ß_ÁéiáiFÝ/ÌÞù-'“Ø«T™Ëö}Øè[ñŽÊ2>9Ôéœ#‡Æcè¡tDZ‘–s<‹'ü‚h&s‡÷I9A¸ØÈ”Ÿ3gÒÄŒBJ j6ÆË!³,£]n6†ÑM"5^ŒÓúsì X502BåÆª…éÙr• *™Sýz_ü+ešú} Ï)8*á%àS­‚Åâæ i=߃ãI³¥È"¡X‡ e.Q¤.4“‚Ú"†b¢ÁoÜlJt<ÝÛÀ:!»¯®Ï¨šH¿ž¥ÙàÆ2lqÌ­SxDVÖ¨âÂCNIrÜKÔ©‰Ð†‚*½.’§ŽÏ/° îŒT+©“kÈ÷"|.Êwž‰'f²•+lªÒŨ”>‰L¤Ò¤.³  ¿3ã2v¬Š¯…‡wäeŸã"Ê wh€¶Ýgsxà4r©I‘u¯ü(¡ÈU÷gŸ¤)róÀºàdÛBÅñíôÞúÑçǽåOåDOðÂÆ§&”¾¤zÛvcA}÷Aù¢²óíõíkõZGÇKcçkòB¦~ˆÕ6Žßqqò¾d“{£Æ‡²ƒ¦ÈHñ6:‘}„ÓìÑé8þ=s_„jð~èÌo;l¹ÇB¯òiù`ÂcÍ{‹ˆøÈë½´å±}ó$~¢‹«5ºYÌ’æuni­éï’¨SÅ_+Ô~û} ¬—È2©²tÿ±§b‰ ç¡÷fA[U‰xEf\„¢—é"—waðbu:ÖÊ]t”©?|¡ÜÃ/,Ñ~¢€gþ%êÞ&¯ÏJ¯¯Ù¨ã÷ÙE²à™r fq¡)Zª½k&ð»¼ðXt´Ý\s.ßMÞ jÇû»d´ÔGü[Ñ®æ#žµZþÑÜïÂVnT˜õ§ ‰\tG‰»sÕ’lל !i¶ÌrvÄ’É" ]¾†äúXö w#ß™BŸgkÍ•d>ø}É;ù09Øý<8•=Ork«¯Ô.Ú`±l¡ÿÉì Ìó§sJ‰Åˆ¿ÉO«‡Ë5*“`WÂð QY=NTëßÁÙËl]Ìx­D»Íä{“ªtNãù㋪·âÀtÐÎIâz[”;æYI‹Jú×Ð8_‡Ôµ9y¯ûî±k@켟ˆIÁ‰¸BIà8»ÁÊ…” Ö Â¤Q_Wí78µ¬×|ÄÀÂ¥ÇýoÙ?˜Fƒ™§†GõÍpfí6­WLRôëMv÷ 7¡Á”£c¢"¿6%rSÑ×w˜ó-W6ê¨ñmšÁf^5Ç’Ëßø’÷¹”šû­æ &„Sv– ³À¡kÊ?…‡Ûd¡†² ¿Üè~ÍÁ¤G6:HØj.-/]Núæ5žÌó }5‡œ*ãüêm¢Üß!ÂþÇ#‚˜øfYõ¶[‘‚PòO‚âv)A4ˆtfKž"üE÷8FÈFWÑDµ ˆ¡%Jç{Å214k÷¦É%c°ÞîîO(vfÛÈ… 1Õ_¾PXÎÈýö3ò[G£†?­t0ˆøb·…6êãR]Þð¡tKùÑ3'rü.—NU‡­m21™Íš:òïå•¡0rΩo^”*0JM)º!:´ *ÐCi˜œ7Ǭ‚)‡ „b3xÄô±ÿ¤ ªÍ½0é`Zàäà”ÁLã^./TôºhTOð³,°ÛT{3h¾TõòÞ¼ Ð±¬õ¹—øÌÉuï­éx4UÖkwy%£Ÿ:µ;HŒ²»ûý&±ù>½¥&Ñ^/Ì¢qdék+–W=zM/)—0¢êYV¨w$Ø9™\´üxXu ¤ è¿Ö^ï¶uYÐAØH\óOÈ}δ¢Ú'ÿ1;¡¡žìO“YùÚˆ-@É>jï¾ÁÿIËd+.µ'ÐºÆ j÷‹nÓO>¾ßËT-ú«!dæÖí&RP}ùÑÌá0i5~Ì´ØX#æÎÃØB½ÛœRÇ´ÎÑ4Ä7ãmÌv.Ìγønd£èjBã5f²wÎè¿uÌ”×¾ºc|·6lšï+B·¾¹‹è¯Ò³ [í¬ õ"ëcãFó†a, ˜`2Åq¶&ʲX‚<>KÖV¼dZÛ.N_×—š%ðD²sx•j¹¡—¥\€G†á(ݻ˲qÌÔ¢øzÝ šna抄ršƽRúì\ñi'Oñw{Ízó]ß#û.Œf—Ý.êBKW–”†ú{‰§(âp¹pãÐEN<Ê.õ迲ž9rÚµ'§+X³Â”Iö•o4'lÈõÆÐ{}ëqc:®aÍfÕBPçué‚ÇfPyœÃ /c!Iœí0HA!dÈӇϳúùã:ú»êy` Ǽ>Ž‹N`T ˜ßªÂ‡2ŸíèôfÇhàÚªÔ‹©ŠÊ8c N‚ˆZGVŽcÍÒJ½"„úåqÝñky#Ù1ã C+>s¥}*X_ÂDÚ¶EWQŽÄy<ØØ©ÓTÑô7[/!Ðçk ñ8_iÅ\ä dbÍ8M“ü^ŠêΡ½qtC—„+íÐŽ¯ø&¼é*:; ¿NËÁwC¹å[¶³ë³E¤?ç%œm¬áÕ/âÔ£q®f.]¼øÃù÷:%kÃæ§qôK„F ’Á Õý¸%-GGêõPÒ4B“„t×ÕYΛºp³†/†››l~þà{í/~­¾_ÕÝBxgËRf² Ti9x«"F%>ÅÁ-}ἡ!j>\Ê6ßþúÝjd¯üç󨬻‚®Höu£™­Î¡YâkŽUb¸ìQÇÁÑ®©¸©8Ïð —ËŽ€ÊKÈ']£ÆzüŠG»›á¶F­ Å"ɼ_ñAÓÜ}lo÷•š®¾äÕÜŸ2Xˆ6~ÓbԲщbϯÌÈê9»qvÔ MÔki•¼,Nmtž¶,°kõG¶Ë^U%Be¬±‰˜[îQöC¸»§Ëx‚ÖÁOTg‘Ùe&Ãô¶ž1öô$AÊÕ>uN²Û7åk WÛÍCÚKþ~žš@^[Ìä¦mZ-j‘x è¬ÜÄK¶Oã$_iHK³Ÿ2~ñfêaF;LÈ1`~2ýÜõIà vƋ٥«¨é‹à7ÜïkIpñj›Ç=xzEJLA«. ²uà¢mÏ›”ÜœBèÒË2.%YŒ hOز«Ç³p8ùz½µ±H˜ß)}ïÁ·µY¬Œôziy@å¾ ÌQÇE(÷$õïZðœù"ß|¬fTöënnmüôËóÍè/Êû±ŒßK"Ã1ªê×¥ÛR˜ Ôê¨[žú…¨¨‡_¼ˆå$ Ör_f®|™©®`ø}/µŠ’ž¸ÆèÄrК×÷ütPÁ¸y.ÌÞ%¬E¹ì&*=ˇÄYe”â"ùèÅV,Œ€e¶pj†#Z®ój¤°et"t’ÐäK‰3…¡Fu7ëCè¯=D¼ØÆš|\R´Î:Aî m1° Áh/SD[åDp¾¦¯6Zwd~üI1€ÿJó‹7“ÂÁkÖ}Ås0%XŇù‡&fqòÉÌø½6¨SëûŒ1‹íÖ—¢»‡Œ¡sÄû…jáe°«ØâÍüDëµ}„Ô`’‡F{rÇ« D󇱲&R>‹äÇ¡‹_*•}_ÎéúEŸ/È‘DôíáÍ %/Iš…A'Æm«¹ø¹—In뙼©1Ư¸¡E T€&N ûRÆqý!Ì …öò„?z{ÄŒé"Ô¨tš^Õ(Ebì§ÁÆ|ô‘¿®béiõl’XŠºËi쨬-{²‰rŸâ]ÜKZû®!ÙKº]+že6Ùõ”Ä è éªXXWÞàÒVÀ˜JBÍc²E–Äçv¹wæṉ˜!ÒT÷î=©™_àÜ|.pͳ`úv\MÝ÷åbê÷©VBfmU"ÛM“X2C’p‰-JmšÙvæs_xÛ4Ñ‹ -˜«ƒZj³©z¬ÀwºyÞºzx¿3²†Õ@.<NÓ s41ÄüZo‰°½*ÅG0ŸV}„ú³§¹ö ˆN 1‘\L{,ff^ò1¨4ÊÂ;´—5m7qâÃÂz_ö2öIì´Rz¸>Зz;È3Î_j2çþœYÅsÂÒÔÚ†"Q÷–†5¹z˜ìW1\ד²S†¯N¦¡ cRÕ14Y CŒŸÏHXµ{¯‚Y k ¾WÒ⼿Ã#ãÝ¥®™ÆFé ª»ôfÊõ„äj#”EÕ‚6Œ{.ºø`Ý#Ôs ÈB»c‡t§·¡›»3D>œéÏŒ?Þ+ò›Š³}G–ŸùÚ‡¼5xd´Æ€ &ºü6  ~ø £îtˆH*4k¾ÍyèÚQ]=u\wî8AùCá÷óÖÓ=^D&±­vy {ÝwïñA«¼cÁ§Þ¦âƒ´zÇrºP1¨7 ê,9Aô‹á„Ç>Çô ƒéu¸xÁYåöIoYåê3jrI¨R{Eꅵ݇ïÜÚŸWå-|g(¼ ¸ 0Ý1N÷\Ñ=I68‡¥Ï—uPîÀs›±ír¦Š§ÅŸÊ;=ìI À\àVzG¡Ç´{¶º5<‹ÂàÃ. VRH+Žp*GUýX¤'u±#òÕq¢¸QЮ¸.Z |ñ‹IdÊjÒ<'‹ w<êvazˆ³3i;V!?eš{AÉp°è»£ù#CYü©_;„A*Hft∷.ûÓ;.²![¶Ñª°×ý,N° ­j¼â.4›Œuù¼6P‡'ŠZ¡`¸SLÇõwœ9ÖUÔÇv‡fÇaÃå[ªÄ„fyøÔã8Ôh\£%ŒŒü¯pm½&è^ò<›gÉJæ õäÚö´o²}È]4u@ê¡Í9hÊ+&‰xû×k× xêØÕ+[’ꆂiÁˮԈ¾çE˜oF»êÀñ‰«Ï¨Èô{ã(FÉ3!7¬LéO+Ô¿Ò\²ÙB5Ú­Î@Y ‹Æ…¥œ\2d$O¦Õ-ÌÝNXÛH˜//J=J/»=Ÿ5•—7˜(=7½zlU6Óoä_‹;™fÎðÁHzÛ±-—dvu¯‰öù•FÇ/§Ï˜7iÑ5Ûi:—މ}øpV~%€1Àʪozê-™Áaµj™ÄÐÆQ¢çÚ 7Q€Ï…7‰Ï(4GXB²Û0HNïRꯔoR³ä xaÆ ¡Ã˜LvQ¶vÙ”¥zMrÜIõ1ñ6}k±‡ò€”u¢hÕ¤‚†mt5³ ßa¸¦¸0y=·Íù0yû]*t†üÞ^¥ÝÎ’/{2ÓŠÑØU o7j#¤Q/‚°ßèâ—7L¹øíð4 Ãê ?’4~€² ?ê˜0úV¥È¹âãiÅiìŠAyøòËYl^µ˜xƒÝN«DÓuyñ•àš¨r‰K õÕífU §È©"l÷Ë̃JÇ †lõ"Mhf¦×gã%LØ|ÌÔ5>«ó Ú{Ùø¼Ü‡YÁ2ŸtÝ£S‡)6Ã-Û¦û¡Ì…ܺÓÞÑ÷” Eþ¢Ë§ìñ„Œá9qêÚœ4ˆSI4›ie9m+ÐA¡*êàKI…h†’_J"Ú½ç0ƒœÏY€à`šºW¶—7$¦æ@–ÏIþ«Èhωßri§Šl´h²×X®ôºº'—ØÛ`8±¬O¬t['‚ 6f¾¢Â4H=¬} û¥ð“(³½A6;Çy©¬›HhRò°ó¤‰;„ê^"&å¯Tçù³¦_KÈjÖ¢*aºx5é–“00³BX´ÅO³”ZI¶cÿ…+nÚ1ˆP¹É6FŪLÐã‚`Ã8ªµi€_Îö” ௬Ú «>¼:M媞ÇÏL×'÷~tÚ¼›…MŒžËg‹w«ïã”óÜn¦ÙI$;Wƒœ›t–Ü|ðêÃG¾#ö]uñoûè¢k¼¦G> ÇÙmupÕ]„¢/-ñÝ¥%h7–‹¬ÙˆÂˆ*Œ‚Zwäè*kKÕܽèîïÓÐ4¿7a¥!¿ýkŠòŒšŒyÚÓýÔÌé¤YAçK. “€.˜)ÛÝq "ªjW×e„µÖ­xW ª‘ÅÙÐ:'Ù2òj ˜°2•†÷'ŠäŠ^3uce7&¤l+¢YÂã>æÇ=p5×ø|y‘W‚ÓÆýEÙ Ý·t]ßò*Ÿ²—–“McÄ59 ìè~à'¶AcšSôwø¸/IùmÂåLE¼nÛ±û­ÉRß s‰Ž_µw31®Q³™ZûÝ›œŸfuÚ\ZÌ‚ê•Me{çdnBé%)Ù´*¥/Ä¿AHR¸ÿìµ]›§ßuÖ¬ˆþIs¬•²¦á!œÙ|-ub¢È°œaý‰;‘OF^ˆ!i©C+}³ ¸ÜåV„¤IvB]¿ß”kså™èÅRyŠzóh°¬[3›.µEV±µX;—Q-®°äöG ˆ"Î Í<Ÿi~vÌêuø6涘›n78ælhÛ 7y&ËWÑÒû{TQ®¹|(ØP!ûý]”ƒÆ…Ӏİñâ†Ù–9:¥3q†œl©3 ‘ÄqŸ=ãáɃW¹/yT©‡èØžÃW‡m»Ì?Nå ˜‰5Lò‚ž*‰•Æ4f;ÆX›c÷¥Ž«ÅÆ`“QãPIå*Ì{+Ò©.àQWhû$&OXKÄÕIÕ´ÂáÆ®„"§¹A{’¼KžˆË|™'|»¹KXöÂEn ¼‰Ný]Ô›×"˜P3‰3&N}ÚB7ç³Äñù'&Ä´©‹(ŠðvÔ¹ ³HÙhÑTHpUšJZ1Ú€È\[߹Ɔìág È<¾3õôµòeŸþJÙ\¢ jˆr‘^ ¼[´0hjmˆÔ‰“.§…ºXìÓ ÇRDGÅóÙ2ŸÍ„Bx3È[z †:ú@ ÖÖ:|â·*–Õƒ¿j"Ô´Q Û5î§[p-ºðÀXk1‹EäùmŸË#[;PÇ8#'¬ÃàíxÆeø¢¤™Vî ¹ÀÜp ùlTÓ¯x¯1þ©ri±Í2 ‘~ƒRÒ)h…ë§£Y¦WVw’Ûn”«{´ï§ÎSv6ébû †®g¯ óÙÜí3ÔÙX9_ÙµóÁ]à÷Éþ˜*Yƒ×î+ þ>ÍÊÄ©ÐãÆÿ'ò üÅÜ¡QíÂMêL­xñª#Ë\aŸ\óÜKS{ã ]zP ~*ráñurn [›N/>®ØØ¢]¤ÕcÕ lcƒ¼˜aKC¬Í^ánzHò6&` ÑqôM4ÖŸî`ÿÝ[Úßv~©·œ œ%$Óïy˜ºYºô ™h [ Ƙn,): γŠ@|c”³ 똴ïE³oFšôi˜É37 I ªš¤¡§ç\e4ËØÍ™Ö*.^5­czgÿ$=K öÇ’=êý©@èIqž –`¥LêùYœ@þAQ탻Ëôlõ ÄO¡ò÷ "ýçüoœIÛ_ó§>aÜ^EÖ~bn¤> [Ž7弌t"†³b ÉJÁss;Gc:žˆ×W-]·Õõ+‹ÎÍ¥/ùCµòbQÿ“ò5-‰þ#哯0HÚ3kñy¦—°oçpt A‰¦0Ÿ¶ËÑKªågÓúÅó}ÇCÔöŸt 9šƒ `j⿯2Ù $Dõ1^6ÌŽÅ{¡¥ ŒÕ½ugý%¯=A(ñoþ£8m ÷šùᓾíš{OË;±å»šÕ@µ{`ûÈßÝ‹)Å&zú¿ yÉAÃ-„°PX¤ÏßÁ:t[…æ³z¶hR³´½2JN—ïŸ8‘ˆq>ÕÚnŽŠˆñöú5¨ ¾3Ë$!¯¨Ô¥ü)_ásÍç=KvE zÞFè@„JFwA `¤‘KÒš_0ŽEZ]°WÆ tÏ¡ÈEé7âåñÒñI̱ñ~Lž›­!޾ˊ㲰í(¶=ĸ©õIÆnè"Æ:ÖÞ´ÀZ¯VŸDj³9ýÞÛ'”Î[„`³ôúƒ‹Œº‚Só 2-³(W_Á^.{£Y~ƒ-Ê–«Õ?‰C}1Êùµ¾R™,»©öÕ*.M†û_ ú~¦N&˜Kj*Lð%£¶ûÀ’Ž"¹ ûª—J­ü—É…ˆA!OÂÒŒÁAÕç¦ôQƒÑ3m?ä]ù–]Ð÷€¢ó³ÖƒnªëÞ±$ÕèNG¡wj"èQßßÀÀí4ì#£`÷>þÿ¼@‚=õé(Úg1Þðqb²¼õÁWV@pñ‹Â‹+»vÀïÌr9ò8.ÚÙå7öûý°Ÿ‚(1¹(©®ÉõãÝXd§Z龯G \KI…² ¨›hÚŠûìqd >RK¼~yšÅ¶ê¸_>{X- ‚:F 9âä–4é¡[$›¶ä„ÑA»T|ínˆ"K?Ž1¼××$ðlõU´-K×{¾PÙ7Ú+wBºÞW½üN¥¤ðã‘ß>-Ì— endstream endobj 251 0 obj << /Length1 1420 /Length2 1276 /Length3 0 /Length 2171 /Filter /FlateDecode >> stream xÚT Tg]ƒÔ,R,òƒ€B2I@yy?UD|L’ fÂdB@¤5B++VÑ]TEi]µ<Ô"®¨ÔSÐE—WE­òFD!hA«Ðâî9»'çLæ¿÷»ï¿ß[«ˆh'o!ÎGx8F:±™;ð ‰asq™Ä¡ÙÚÆ ¤™°ÓlW#„Å1÷? | &)›LRÀPA )`s{‰;ÛÕ‚‚Ü&€8áüàdTB™ Ç9ÍÖ—¥h‚˜¤êL¼ºÀ°ÝÜ\ºpàˆ¨Æ@(LŠ‘Dª¢–‚h\€"dê¤t1IÊÜY,¥RÉ„åLœHð´g%JŠA"GˆdD´”AœˆŒScÒlAŒ•9¢q©„ P)*@09¢À„¨ê :0„Ël 2`€ñËl&ûCºñhm"ÓÞ(ƒ±TK"TŠ€p^“L!Æ„Z ,•ãT<œ £R˜Ot­Ã€ç `Šá8?¹€@e¤œ)G¥ZŽ,mêšý1¡/ž˜ˆ`¤œ¦íÏ%u𤋮ñáJ0\‰¥MœD(&ii2Ö* MR ~ãÊDûhK@HàAÐR. IIˆYÚ1©2Dçdk͇ô4."Š’ŽŠê–&‡“@ $=íŽÉ'› „¨€|$Åh³SfD4v¦æO )`DÉ íïÃÛzJaB“¦~„ëFÌ Zë»*Öqœò§žÒœØÀ‰Ãu.g°ÄͤOÎòÿw5FÇ{ƒ>æ ÄD8p£@ÝÝäq]ÐÇ—ÆL®†SjFý£øã!H@=Øÿ÷ èBþ›òµYþ§ø?툧Ju~úà?üp"*MGPjVÔf„âÔ~`ŸB× cëŠQEâ§Þ@¦6ÄK~¸HTÎCSaJ Ä:ÅLŒÊ.E1$—£Úï pbCÐ'>jåê›"§†¥s!ÔFM®è p¡võ8.KLp* ¢ôÅqqiljG…HŠNÚ€ÅÄp’ »t  šv¤”NXI œD„|©Ö3ft7ŽMOkžTT  juº :š8ë–AR­¥,ËÜ|6³ò×RïJ§®:޳QÍàNÁšNÿÏ“{"·ûzŒ qgßó®ºÝ=Ò:ïçäû ’XSH²áñÖ¼lwÓ–ó•ÓDüÆÖ†yËGŸÉCœîà«Wã6q1a‚é@EÔ ¥ÆKm?Ÿ‘ô²ëΑ§vůÌX\ÞÇœ5¥îÛìfK—rgMɼì}är±O™·úö•@ù W]ÿ_-xOGòªor\ÚkîŸbè£my z{dÁš#½ž¹O®-1ÞÔÔ¶×üÍÞäзk*3Ut¾üVDN‘³¹(fð³"E¸u¦Š¨è?Û¹²þôNGÓ MLTŸk¦Cº½]ÌÙ÷C| ŠÿÙNpÊ r"è•kü³¾ôI(þ÷«¢‹ÖʽަÅ^}¹xa]óÝU t{n:[eì"éº#°ÌBï{©y^X:-kWÛàè½­£Çd^ùAçÊ;jgQÊ\TUÛvôÍ#zSJû4þÚ\H4`¹'öuaáÃc¬8‡Ò¾ïbÏÇ«G¾ö˜»3ÅŒW÷EŸp~óö$?ÂÚ!7\¹|×F%Q&ìŸ W¾P^kõÙŸiS1ô‹Ã|HmpÊø/U‡ò•Î{¼¼“~ZCÜÜøKÅ7Ψm+~0º¸åá~ÍÔsdUmö“™ØîW‘_2–WU¯¶Ò\eκo^v1¨W3çJÖÀT«¹å£ùí¥‡cKì¨7{03iÇñ–¤¸ÍEÆñç|ÅS ;v?›ÔÄ·ÎÅ!ÖÍ2‘‘C|©5ß+wq÷óƒÍï=KyÛ³#ôÉ¯3E‡2“ ·ÝdF?r{2Û=îÕâÿWÖ(xl2³çJè`÷¿i¾_M ?ìR4›‡¸­S)Òœ¡Ï´ÛM\زG¥9Ÿ¼ì·¶é°£ Sªb¢iz…ÏíY°ò­Ý]ÿó¼ÏßíxÊò ¹…J–¥$Õ :>7ŒhJIߥ¿9:tZ—{ü¹x$+ü k¤FVÝ~Toy½Ë»zÿWÍ÷ݼ’Id÷Ø=ÄåDYuwE˜^sGwF@x=0–p6_ºw«!´# Ã¢!µÕ]åÈŸ²ÞóþÚ÷ûÉáy–˹ѷ”‡ùzVQsöØ%¼ZM7ØVÕZ”ù0ü~Ú«gº<:¤ÕÐüMê‹äµ£Ö„;_ÎBî¨k¨COö™îÊC«5zl[^(NáÇžÒ? ŠÎhÉ´j.±>¢«uõ³Á&5¬Ì³y¾Ñp­™Eò”ý©{öå΋ð-qð¶2XsdøëÆenÿSKƒùôeúú|ÏâEs<Ÿ˜…‘SëfÝÍF „æO‡^4æö^¾«·CÕz ¾´Ý™ócœZ̸RRØ©ÇûzQ ž$£÷¦¥þ»¬Î)æm.åyÄÍáce£oëÚÒm×ô°fY¼ç|c¤vI4îr^Ÿan;Œ›Ÿ¼ÎkI5Û9S°hx×åa'%i÷‚æ¬ÜRU`ØE+SuV®?n‘ÞŸñÕ†³MgWpz$oJ¡¾<§zÆ›ÏÕk´vŽztV2cCAfÕt“»§aKú¡œöŸ­–g½›?£´)ÔËu“:°esÛÉQßÇY¥ÅßzÎ6ª‘ðêÿñvþƲúUƶ>½ŒÆÈÅ®«ò3?“›,Õˆ*›ŽïqóÚb3O²ÆëFðtË…¦Ãí'±•0²þ‹Î@›P¡#¬_UaH:Õ¶ÒWý$úKù endstream endobj 257 0 obj << /Producer (pdfTeX-1.40.14) /Creator (TeX) /CreationDate (D:20140729112608-07'00') /ModDate (D:20140729112608-07'00') /Trapped /False /PTEX.Fullbanner (This is pdfTeX, Version 3.1415926-2.5-1.40.14 (TeX Live 2013) kpathsea version 6.1.1) >> endobj 175 0 obj << /Type /ObjStm /N 78 /First 699 /Length 3318 /Filter /FlateDecode >> stream xÚí[[S9~÷¯ÐãnmÝoU©© Ì䙄IåÁNð`Æ63Éüú=µ»Ý¦ql µ“J«ÕÒѹ}GGRÓÖÑ %t4"{¸Eat„{V¡“Î:xΛ ÏVìOFDê") w/R•Ò €Xk+t†ËX`ÜZèÏAhçá zÜ2‡EN(Ú £7<dž³åA3ê)è†PÉÂX‡Ä@çlÆ~a|ÐP+ø©tÉcg°Í´*¤1 l Ðl4TÀ"änA9VX¶âƒSZAÅ ç#ð1AxM]QøÌŒI"8Ô•1ÖÆ`®˜qø2Ù4½± <ç@M§DÖ¨¼(ô°M+…:p™²¨£© ÝÀxtuô¥¶ øS{ä ÷¬€ñ€(`d°|m!°ûP€ºðCA°¡âº*âÔÖ&)xz“Á8 u  lA”ˆX1@P@FÁ0Ì:„1·^é¶ÚlS´9XÃ2 ´³kêPN¬„hèÈáãBjððá@~»¬„|5üR äÎøbV]̦CbúÍ@¾©¦ã«Éq5¥§¦ýêd4Ü4Ș`1±¤Òýô±ß–âáC!wXM\¡ÞŠ¥ 1“êÖ ~-ÕXrnièV¬{ùj2>>¨fâèÿó®‡Õ×™øXKî1,-ngXÛ˜¶«L¸ÞöM KzÙ°|/ˆ]kØÆj/Z2÷‚ÇÝÆQŠËzûïÓ;ÝñYˆ¨[’—ã(åÛÖ7A®Õ{¥Á¶iÙÜ b+±¹Û™Ÿ—C1û{Aìdž¢QjÙ°t߈­ŽDØ(E}W‰Ä(Û5·l?½kî ɰl¤û.#qSsoHÞ=­– K·3ìÿcîéå°ÔúG"vØ,v÷‚Í]ɌΈÅÿGl>Ä·€$rª}|ðÚmáÁï†©à”øÏu¯a¡·´Ø¬„“ÿV\(cÀ²MÃ-ÑÙ- çy»…+”#ECLмøˆÑb+ÑÙ„¨c F· ¾i8W_$˜¼å„fËÔ˜’Êœ‘O»%h’¤X_cëz×2nqAÑÕß[&—±ŽJEîH42ź_ƒãM/n¯yT2é"‘©¹ÞP9zv-Їyíf ¿§,[š‘VSFÇŸÙÖ˜3BÂvÂhˆB›À¥QÑ‘“4f¶xha‚è‚‹ÀÑ*Dt`ZÊ´DúRO6cfÀ…3`š‚#ºL>„œÅU.Cj°B9mo´-ò.ÐÌ8Ñ×ξغ€zÆ’[7§å~çQ#RA©écq½”%š·.©×kç8œƒÿd¸2\o†Ã‹4…£ VtºL4ÂÀ4§'š¨=e´°[?§ã)Áá5EJú9cÊàvâë(­©5–R—…wÓ[×âq›²Ö¯¢w0´-Å’[ÐÊ´NaÑQÀÀN¶H–ó“%*ë-zSYi(>ðïv4ÊÖüxdámï›jÞHeézaþàsZ0x±Öšã+¹rgxù¤}9…ÇÅ`ßOgóÑñ£‹/g•ö³êüWÜäû2Ö-àq:œàk¸ÉGrGþ,‘åS¹'_È—ò•|#ä[ù«Êáùe5™/Nä'ùi2<þ½šUŸgu}‚å±<Ÿ/ ‘ȉœÊiõgu!§£¯rz6œžÊ™œNªJÎþË+ù§üK~•ßäßòïj2þ7ûsw^0V·_c®Âçpïèhç5ãczð±ˆÆÏ@òÝà£òJ|v Bû  —cvùù z}~³Ûç¯ûÇÕxV±ÃÑϳ¹Gûüi×ñç»·owÞ¼îìô¼v%ÞUŒ‹þôºãOÛøSõ83š–/­îúòøjTÁæ~[´Î¯cÝÁÑî«í_Áºý§}³ÙšÚ:—VD‹½)Z /VšøeR MyVM§‹vÅuìzñäÝoûˆÚ›>³œªÍRù6fÍq ùܶ[³à ̃gòyk.¼¦ÙpH9ë|/äoÜuMŠ¢€¯.hÖÌóþ];…N¿]žBþY;¡Ùõ\»<»šÒ„«¦³hÃií|ĺmžàòZ îåóç¯ Úžüfç7XÚïY¿²‹¸®Â“Á»CàZ€õ,?«pqk-<{¿<~º·¸ìõ͹P§mì­RIžg’›&]³ì0}Kκ ÎÍîü{чk-6û/ž¼Ý{Œ><êó¡É`~@âI9úƇàÐÍÒ±S½NNqiþ~>œÒ¦©âíÓÕÙY§Ñäø¬:_~›Ì­^kz¼÷z÷Ù+°ú°òóÈqw´…´"tp·ò Bæ} ž±e®b `,†H{ÿñNª¥)µÖ*öòÑ//žo£c{—1ð lh<,!‡–[´^p >ÎÝbŒÙdë&ºöVî°Ì¬7Ù×o¯7Û[—}ßɧ³î°µ"Áô\\…®.N 'Õ‰o­éé³£·ï¥žI#Jø7<ÇûÛ£Ô¿ ]ã”Ó|ONÖWŸfôˆÀs{8­è›‰¥#ß‚'èsuúcw4™ÎP¡aî ë4ãÝèdv:¥Ý×ß=ÑtÅ»%ñfA¼k‰ë‹_:t凮|„§%_7ò­Z_~w‹ÞŸ–Ä«–øÐvþÒ;éŽp§–|¯l·-éqè÷z]éf…ô¶íi}éÝMWü:ç×ßÝ tÅ/ÅݬSmãÝúÒ»‹rWúRعÔõÆ®/¾»ôuÄû¥À³®z³¾ønNïŠ77Š·¹%ýš„‹ß¸Mñ#·+\šÖ|ùñùèd*> 0…oü•sN‚ƒúã&Ìù¥’à·‚“ˆà ¿àÀ¼WÙˆ;Ã#<3ò¬{àÆÀÓ…°1÷@‹ˆàŸíÀ˜nü“Á?±isÝ3«É_Ð þÞß”»-÷ÍÕ׊õ׺ðâo7ñGWñy¿Ž · ƒCgUî¾ÜK{Z3Ö›ÉpÅ7¾ð*pë‚·.€kF|3¡ø&^±ø¬ Ž?9äû-d¤"£ ?Bä{ÝθàÏ WÈð}2ð‰Ì£ð*ÓÚ”ÏLñ‡†+xÛ¶~1 x³Úœ›ÿ‚Mä‚?Ï|“{ùÛâW4” âoòëmot¾Ÿ{‚'Cí Î !ìwÇ_ <63179B0B894517D5B30AC4179E3784F6>] /Length 700 /Filter /FlateDecode >> stream xÚ%“IH•a†Ïûß«y53sÎÌœçájæœS V–i¹(lSA®B i#-ªEAÛ|„¹2h‘- Š jDÔ*’(AåûºyøžóŸ{îïù^3³žY„Á,Æ6N®š¨$j‰ QŒDéi#›}„ó~«VGìe-„ðÃüqzPOÝB„ÂÂ2UÛG a°ˆ5ÖD8,®EEDÂ’®êMÔ"–Ñ¥–8"–óAº•ˆ‡;é6"|/ÝN$Â/KwI°Ž'ßLM!’a}/Ô’F¤ÂV¤D:l8Qº“È„ ‘î"²`“g¥»‰lØ…yo ZXÛCäÀ.«/È…MQ_ µ€È‡Í¼QKQ»Y!-!Šaó#Ò2¢vgIZ©D9ìAZªˆJØÃh©¾£¶8,å~AØò´T¬ƒ=]—jQõ°çßFÕö`/—Õ¢¿® ö6[ª7h}œ’î'Ú`Ÿf¤D;ìÛ‚´‹è„­%i¼šݰõpµô=°??¤ýDª{8DâÏK‡4Í %€¬ÇßN=N kÕr‚*tCÄI øU:Lœš7¯èibèº'#FþU×o› ÆÁÕ+gÀD•Á_1§ƒã<`2Eʸ8?0µ(eR\(pqs¡ ‰ ®EJ; &Å…×[UcR\$0÷Lʸh`~HʸXàö˜”!qñÀýGR†Ä% Ú‡ã>“â÷J5&Å%KZ€cH\2°rNʸT`õ—4`R\&Á¸,‚ùpÙ£árfÁå¯ÛõÙ»±ž¦Ÿö{·¦À endstream endobj startxref 278771 %%EOF pal-0.5.0/sun267.tex000644 000765 000024 00000550301 12360545405 014174 0ustar00timjstaff000000 000000 \documentclass[twoside,11pt]{article} % ? Specify used packages % \usepackage{graphicx} % Use this one for final production. % \usepackage[draft]{graphicx} % Use this one for drafting. % ? End of specify used packages \pagestyle{myheadings} % ----------------------------------------------------------------------------- % ? Document identification % Fixed part \newcommand{\stardoccategory} {Starlink User Note} \newcommand{\stardocinitials} {SUN} \newcommand{\stardocsource} {sun\stardocnumber} \newcommand{\stardoccopyright} {Copyright \copyright\ 2012 Science and Technology Facilities Council} % Variable part - replace [xxx] as appropriate. \newcommand{\stardocnumber} {267.1} \newcommand{\stardocauthors} {Tim Jenness} \newcommand{\stardocdate} {2012 March 23} \newcommand{\stardoctitle} {PAL --- Positional Astronomy Library} \newcommand{\stardocversion} {0.1.0} \newcommand{\stardocmanual} {Programmer's Manual} \newcommand{\stardocabstract} { PAL provides a subset of the Fortran SLALIB library but written in C using the SLALIB C API. Where possible the PAL routines are implemented using the C SOFA library. It is provided with a GPL license. } % ? End of document identification % ----------------------------------------------------------------------------- % + % Name: % sun.tex % % Purpose: % Template for Starlink User Note (SUN) documents. % Refer to SUN/199 % % Authors: % AJC: A.J.Chipperfield (Starlink, RAL) % BLY: M.J.Bly (Starlink, RAL) % PWD: Peter W. Draper (Starlink, Durham University) % % History: % 17-JAN-1996 (AJC): % Original with hypertext macros, based on MDL plain originals. % 16-JUN-1997 (BLY): % Adapted for LaTeX2e. % Added picture commands. % 13-AUG-1998 (PWD): % Converted for use with LaTeX2HTML version 98.2 and % Star2HTML version 1.3. % 1-FEB-2000 (AJC): % Add Copyright statement in LaTeX % {Add further history here} % % - \newcommand{\stardocname}{\stardocinitials /\stardocnumber} \markboth{\stardocname}{\stardocname} \setlength{\textwidth}{160mm} \setlength{\textheight}{230mm} \setlength{\topmargin}{-2mm} \setlength{\oddsidemargin}{0mm} \setlength{\evensidemargin}{0mm} \setlength{\parindent}{0mm} \setlength{\parskip}{\medskipamount} \setlength{\unitlength}{1mm} % ----------------------------------------------------------------------------- % Hypertext definitions. % ====================== % These are used by the LaTeX2HTML translator in conjunction with star2html. % Comment.sty: version 2.0, 19 June 1992 % Selectively in/exclude pieces of text. % % Author % Victor Eijkhout % Department of Computer Science % University Tennessee at Knoxville % 104 Ayres Hall % Knoxville, TN 37996 % USA % Do not remove the %begin{latexonly} and %end{latexonly} lines (used by % LaTeX2HTML to signify text it shouldn't process). %begin{latexonly} \makeatletter \def\makeinnocent#1{\catcode`#1=12 } \def\csarg#1#2{\expandafter#1\csname#2\endcsname} \def\ThrowAwayComment#1{\begingroup \def\CurrentComment{#1}% \let\do\makeinnocent \dospecials \makeinnocent\^^L% and whatever other special cases \endlinechar`\^^M \catcode`\^^M=12 \xComment} {\catcode`\^^M=12 \endlinechar=-1 % \gdef\xComment#1^^M{\def\test{#1} \csarg\ifx{PlainEnd\CurrentComment Test}\test \let\html@next\endgroup \else \csarg\ifx{LaLaEnd\CurrentComment Test}\test \edef\html@next{\endgroup\noexpand\end{\CurrentComment}} \else \let\html@next\xComment \fi \fi \html@next} } \makeatother \def\includecomment #1{\expandafter\def\csname#1\endcsname{}% \expandafter\def\csname end#1\endcsname{}} \def\excludecomment #1{\expandafter\def\csname#1\endcsname{\ThrowAwayComment{#1}}% {\escapechar=-1\relax \csarg\xdef{PlainEnd#1Test}{\string\\end#1}% \csarg\xdef{LaLaEnd#1Test}{\string\\end\string\{#1\string\}}% }} % Define environments that ignore their contents. \excludecomment{comment} \excludecomment{rawhtml} \excludecomment{htmlonly} % Hypertext commands etc. This is a condensed version of the html.sty % file supplied with LaTeX2HTML by: Nikos Drakos & % Jelle van Zeijl . The LaTeX2HTML documentation % should be consulted about all commands (and the environments defined above) % except \xref and \xlabel which are Starlink specific. \newcommand{\htmladdnormallinkfoot}[2]{#1\footnote{#2}} \newcommand{\htmladdnormallink}[2]{#1} \newcommand{\htmladdimg}[1]{} \newcommand{\hyperref}[4]{#2\ref{#4}#3} \newcommand{\htmlref}[2]{#1} \newcommand{\htmlimage}[1]{} \newcommand{\htmladdtonavigation}[1]{} \newenvironment{latexonly}{}{} \newcommand{\latex}[1]{#1} \newcommand{\html}[1]{} \newcommand{\latexhtml}[2]{#1} \newcommand{\HTMLcode}[2][]{} % Starlink cross-references and labels. \newcommand{\xref}[3]{#1} \newcommand{\xlabel}[1]{} % LaTeX2HTML symbol. \newcommand{\latextohtml}{\LaTeX2\texttt{HTML}} % Define command to re-centre underscore for Latex and leave as normal % for HTML (severe problems with \_ in tabbing environments and \_\_ % generally otherwise). \renewcommand{\_}{\texttt{\symbol{95}}} % ----------------------------------------------------------------------------- % Debugging. % ========= % Remove % on the following to debug links in the HTML version using Latex. % \newcommand{\hotlink}[2]{\fbox{\begin{tabular}[t]{@{}c@{}}#1\\\hline{\footnotesize #2}\end{tabular}}} % \renewcommand{\htmladdnormallinkfoot}[2]{\hotlink{#1}{#2}} % \renewcommand{\htmladdnormallink}[2]{\hotlink{#1}{#2}} % \renewcommand{\hyperref}[4]{\hotlink{#1}{\S\ref{#4}}} % \renewcommand{\htmlref}[2]{\hotlink{#1}{\S\ref{#2}}} % \renewcommand{\xref}[3]{\hotlink{#1}{#2 -- #3}} %end{latexonly} % ----------------------------------------------------------------------------- % ? Document specific \newcommand or \newenvironment commands. %+ % Name: % SST.TEX % Purpose: % Define LaTeX commands for laying out Starlink routine descriptions. % Language: % LaTeX % Type of Module: % LaTeX data file. % Description: % This file defines LaTeX commands which allow routine documentation % produced by the SST application PROLAT to be processed by LaTeX and % by LaTeX2html. The contents of this file should be included in the % source prior to any statements that make of the sst commnds. % Notes: % The commands defined in the style file html.sty provided with LaTeX2html % are used. These should either be made available by using the appropriate % sun.tex (with hypertext extensions) or by putting the file html.sty % on your TEXINPUTS path (and including the name as part of the % documentstyle declaration). % Authors: % RFWS: R.F. Warren-Smith (STARLINK) % PDRAPER: P.W. Draper (Starlink - Durham University) % MJC: Malcolm J. Currie (STARLINK) % DSB: David Berry (STARLINK) % TIMJ: Tim Jenness (JAC) % History: % 10-SEP-1990 (RFWS): % Original version. % 10-SEP-1990 (RFWS): % Added the implementation status section. % 12-SEP-1990 (RFWS): % Added support for the usage section and adjusted various spacings. % 8-DEC-1994 (PDRAPER): % Added support for simplified formatting using LaTeX2html. % 1995 October 4 (MJC): % Added goodbreaks and pagebreak[3] in various places to improve % pages breaking before headings, not immediately after. % Corrected banner width. % 1996 March 7 (MJC): % Mark document name on both sides of an sstroutine. % 2-DEC-1998 (DSB): % Added sstattributetype (copied from sun210.tex). % 2004 August 6 (MJC): % Added sstattribute. % 21-JUL-2009 (TIMJ): % Added \sstdiylist{}{} as used when a Parameters section is located that % is not "ADAM Parameters". % {enter_further_changes_here} % Bugs: % {note_any_bugs_here} %- % Define length variables. \newlength{\sstbannerlength} \newlength{\sstcaptionlength} \newlength{\sstexampleslength} \newlength{\sstexampleswidth} % Define a \tt font of the required size. \latex{\newfont{\ssttt}{cmtt10 scaled 1095}} \html{\newcommand{\ssttt}{\tt}} % Define a command to produce a routine header, including its name, % a purpose description and the rest of the routine's documentation. \newcommand{\sstroutine}[3]{ \goodbreak \markboth{{\stardocname}~ --- #1}{{\stardocname}~ --- #1} \rule{\textwidth}{0.5mm} \vspace{-7ex} \newline \settowidth{\sstbannerlength}{{\Large {\bf #1}}} \setlength{\sstcaptionlength}{\textwidth} \setlength{\sstexampleslength}{\textwidth} \addtolength{\sstbannerlength}{0.5em} \addtolength{\sstcaptionlength}{-2.0\sstbannerlength} \addtolength{\sstcaptionlength}{-5.0pt} \settowidth{\sstexampleswidth}{{\bf Examples:}} \addtolength{\sstexampleslength}{-\sstexampleswidth} \parbox[t]{\sstbannerlength}{\flushleft{\Large {\bf #1}}} \parbox[t]{\sstcaptionlength}{\center{\Large #2}} \parbox[t]{\sstbannerlength}{\flushright{\Large {\bf #1}}} \begin{description} #3 \end{description} } % Frame attributes fount. Need to find a way for these to stand out. % San serif doesn't work by default. Also without the \rm the % san serif continues after \sstatt hyperlinks. Extra braces % failed to prevent \sstattribute from using roman fount for its % headings. The current lash up appears to work, but needs further % investigation or a TeX wizard. \newcommand{\sstatt}[1]{\sf #1} \begin{htmlonly} \newcommand{\sstatt}[1]{\large{\tt #1}} \end{htmlonly} % Define a command to produce an attribute header, including its name, % a purpose description and the rest of the routine's documentation. \newcommand{\sstattribute}[3]{ \goodbreak \markboth{{\stardocname}~ --- #1}{{\stardocname}~ --- #1} \rule{\textwidth}{0.5mm} \vspace{-7ex} \newline \settowidth{\sstbannerlength}{{\Large {\sstatt #1}}} \setlength{\sstcaptionlength}{\textwidth} \setlength{\sstexampleslength}{\textwidth} \addtolength{\sstbannerlength}{0.5em} \addtolength{\sstcaptionlength}{-2.0\sstbannerlength} \addtolength{\sstcaptionlength}{-4.9pt} \settowidth{\sstexampleswidth}{{\bf Examples:}} \addtolength{\sstexampleslength}{-\sstexampleswidth} \parbox[t]{\sstbannerlength}{\flushleft{\Large {\sstatt #1}}} \parbox[t]{\sstcaptionlength}{\center{\Large #2}} \parbox[t]{\sstbannerlength}{\flushright{\Large {\sstatt #1}}} \begin{description} #3 \end{description} } % Format the description section. \newcommand{\sstdescription}[1]{\item[Description:] #1} % Format the usage section. \newcommand{\sstusage}[1]{\goodbreak \item[Usage:] \mbox{} \\[1.3ex]{\raggedright \ssttt #1}} % Format the invocation section. \newcommand{\sstinvocation}[1]{\item[Invocation:]\hspace{0.4em}{\tt #1}} % Format the attribute data type section. \newcommand{\sstattributetype}[1]{ \item[Type:] \mbox{} \\ #1 } % Format the arguments section. \newcommand{\sstarguments}[1]{ \item[Arguments:] \mbox{} \\ \vspace{-3.5ex} \begin{description} #1 \end{description} } % Format the returned value section (for a function). \newcommand{\sstreturnedvalue}[1]{ \item[Returned Value:] \mbox{} \\ \vspace{-3.5ex} \begin{description} #1 \end{description} } % Format the parameters section (for an application). \newcommand{\sstparameters}[1]{ \goodbreak \item[Parameters:] \mbox{} \\ \vspace{-3.5ex} \begin{description} #1 \end{description} } % Format the applicability section. \newcommand{\sstapplicability}[1]{ \item[Class Applicability:] \mbox{} \\ \vspace{-3.5ex} \begin{description} #1 \end{description} } % Format the examples section. \newcommand{\sstexamples}[1]{ \goodbreak \item[Examples:] \mbox{} \\ \vspace{-3.5ex} \begin{description} #1 \end{description} } % Define the format of a subsection in a normal section. \newcommand{\sstsubsection}[1]{ \item[{#1}] \mbox{} \\} % Define the format of a subsection in the examples section. \newcommand{\sstexamplesubsection}[2]{\sloppy \item[\parbox{\sstexampleslength}{\ssttt #1}] \mbox{} \vspace{1.0ex} \\ #2 } % Format the notes section. \newcommand{\sstnotes}[1]{\goodbreak \item[Notes:] \mbox{} \\[1.3ex] #1} % Provide a general-purpose format for additional (DIY) sections. \newcommand{\sstdiytopic}[2]{\item[{\hspace{-0.35em}#1\hspace{-0.35em}:}] \mbox{} \\[1.3ex] #2} % Format the a generic section as a list \newcommand{\sstdiylist}[2]{ \item[#1:] \mbox{} \\ \vspace{-3.5ex} \begin{description} #2 \end{description} } % Format the implementation status section. \newcommand{\sstimplementationstatus}[1]{ \item[{Implementation Status:}] \mbox{} \\[1.3ex] #1} % Format the bugs section. \newcommand{\sstbugs}[1]{\item[Bugs:] #1} % Format a list of items while in paragraph mode. \newcommand{\sstitemlist}[1]{ \mbox{} \\ \vspace{-3.5ex} \begin{itemize} #1 \end{itemize} } % Define the format of an item. \newcommand{\sstitem}{\item} % Now define html equivalents of those already set. These are used by % latex2html and are defined in the html.sty files. \begin{htmlonly} % sstroutine. \newcommand{\sstroutine}[3]{ \subsection{#1\xlabel{#1}-\label{#1}#2} \begin{description} #3 \end{description} } % sstattribute. Note the further level of subsectioning. \newcommand{\sstattribute}[3]{ \subsubsection{#1\xlabel{#1}-\label{#1}#2} \begin{description} #3 \end{description} \\ } % sstdescription \newcommand{\sstdescription}[1]{\item[Description:] \begin{description} #1 \end{description} \\ } % sstusage \newcommand{\sstusage}[1]{\item[Usage:] \begin{description} {\ssttt #1} \end{description} \\ } % sstinvocation \newcommand{\sstinvocation}[1]{\item[Invocation:] \begin{description} {\ssttt #1} \end{description} \\ } % sstarguments \newcommand{\sstarguments}[1]{ \item[Arguments:] \\ \begin{description} #1 \end{description} \\ } % sstreturnedvalue \newcommand{\sstreturnedvalue}[1]{ \item[Returned Value:] \\ \begin{description} #1 \end{description} \\ } % sstparameters \newcommand{\sstparameters}[1]{ \item[Parameters:] \\ \begin{description} #1 \end{description} \\ } % sstapplicability \newcommand{\sstapplicability}[1]{% \item[Class Applicability:] \begin{description} #1 \end{description} \\ } % sstexamples \newcommand{\sstexamples}[1]{ \item[Examples:] \\ \begin{description} #1 \end{description} \\ } % sstsubsection \newcommand{\sstsubsection}[1]{\item[{#1}]} % sstexamplesubsection \newcommand{\sstexamplesubsection}[2]{\item[{\ssttt #1}] #2\\} % sstnotes \newcommand{\sstnotes}[1]{\item[Notes:] #1 } % sstdiytopic \newcommand{\sstdiytopic}[2]{\item[{#1}] #2 } % sstimplementationstatus \newcommand{\sstimplementationstatus}[1]{ \item[Implementation Status:] #1 } % sstitemlist \newcommand{\sstitemlist}[1]{ \begin{itemize} #1 \end{itemize} \\ } % sstitem \newcommand{\sstitem}{\item} \end{htmlonly} % End of sst.tex layout definitions. %. % ? End of document specific commands % ----------------------------------------------------------------------------- % Title Page. % =========== \renewcommand{\thepage}{\roman{page}} \begin{document} \thispagestyle{empty} % Latex document header. % ====================== \begin{latexonly} \textsc{Joint Astronomy Centre} \hfill \textbf{\stardocname}\\ {\large Science \& Technology Facilities Council}\\ {\large Starlink Project\\} {\large \stardoccategory\ \stardocnumber} \begin{flushright} \stardocauthors\\ \stardocdate \end{flushright} \vspace{-4mm} \rule{\textwidth}{0.5mm} \vspace{5mm} \begin{center} {\Huge\textbf{\stardoctitle \\ [2.5ex]}} {\LARGE\textbf{\stardocversion \\ [4ex]}} {\Huge\textbf{\stardocmanual}} \end{center} \vspace{5mm} % ? Add picture here if required for the LaTeX version. % e.g. \includegraphics[scale=0.3]{filename.ps} % ? End of picture % ? Heading for abstract if used. \vspace{10mm} \begin{center} {\Large\textbf{Abstract}} \end{center} % ? End of heading for abstract. \end{latexonly} % HTML documentation header. % ========================== \begin{htmlonly} \xlabel{} \begin{rawhtml}

\end{rawhtml} \stardoctitle\\ \stardocversion\\ \stardocmanual \begin{rawhtml}


\end{rawhtml} % ? Add picture here if required for the hypertext version. % e.g. \includegraphics[scale=0.7]{filename.ps} % ? End of picture \begin{rawhtml}

\end{rawhtml} \stardoccategory\ \stardocnumber \\ \stardocauthors \\ \stardocdate \begin{rawhtml}

\end{rawhtml} \htmladdnormallink{Joint Astronomy Centre} {http://www.jach.hawaii.edu} \\ \htmladdnormallink{Science \& Technology Facilities Council} {http://www.scitech.ac.uk} \\ \begin{rawhtml}

\end{rawhtml} \htmladdnormallink{Starlink Project}{http://www.starlink.ac.uk/} \begin{rawhtml}

\end{rawhtml} \htmladdnormallink{\htmladdimg{source.gif} Retrieve hardcopy} {http://www.starlink.ac.uk/cgi-bin/hcserver?\stardocsource}\\ % HTML document table of contents. % ================================ % Add table of contents header and a navigation button to return to this % point in the document (this should always go before the abstract \section). \label{stardoccontents} \begin{rawhtml}

Contents

\end{rawhtml} \htmladdtonavigation{\htmlref{\htmladdimg{contents_motif.gif}} {stardoccontents}} % ? New section for abstract if used. \section{\xlabel{abstract}Abstract} % ? End of new section for abstract \end{htmlonly} % ----------------------------------------------------------------------------- % ? Document Abstract. (if used) % ================== \stardocabstract % ? End of document abstract % ----------------------------------------------------------------------------- % ? Latex Copyright Statement % ========================= \begin{latexonly} \newpage \vspace*{\fill} \stardoccopyright \end{latexonly} % ? End of Latex copyright statement % ----------------------------------------------------------------------------- % ? Latex document Table of Contents (if used). % =========================================== % \newpage % \begin{latexonly} % \setlength{\parskip}{0mm} % \tableofcontents % \setlength{\parskip}{\medskipamount} % \markboth{\stardocname}{\stardocname} %\end{latexonly} % ? End of Latex document table of contents % ----------------------------------------------------------------------------- \cleardoublepage \renewcommand{\thepage}{\arabic{page}} \setcounter{page}{1} % ? Main text \section{Introduction} This library provides a C library designed as a API-compatible replacement for the C SLALIB library (SUN/67) and uses a GPL licence so is freely redistributable. Where possible the functions call equivalent SOFA routines (Hohenkerk, C., 2011, Scholarpedia, \textbf{6}, \emph{11404}) and use current IAU 2006 standards. This means that any functions that rely on nutation or precession will return slightly different answers to the SLA functions. \section{Citing PAL} If you use PAL in your work please consider citing it. The description paper for PAL is: \emph{PAL: A Positional Astronomy Library}, Jenness, T. \& Berry, D. S., in \emph{Astronomoical Data Anaysis Software and Systems XXII}, Friedel, D. N. (ed), ASP Conf.\ Ser. \textbf{475}, p307. \clearpage \appendix \section{\label{APP:SPEC}Function Descriptions} \subsection{SOFA Mappings} The following table lists PAL/SLA functions that have direct replacements in SOFA. Whilst these routines are implemented in the PAL library using SOFA new code should probably call SOFA directly. \begin{tabular}{ll} SLA/PAL & SOFA \\ \texttt{palCldj} & \texttt{iauCal2jd} \\ \texttt{palDbear} & \texttt{iauPas} \\ \texttt{palDaf2r} & \texttt{iauAf2a} \\ \texttt{palDav2m} & \texttt{iauRv2m} \\ \texttt{palDcc2s} & \texttt{iauC2s} \\ \texttt{palDcs2c} & \texttt{iauS2c} \\ \texttt{palDd2tf} & \texttt{iauD2tf}\\ \texttt{palDimxv} & \texttt{iauTrxp}\\ \texttt{palDm2av} & \texttt{iauRm2v}\\ \texttt{palDjcl} & \texttt{iauJd2cal}\\ \texttt{palDmxm} & \texttt{iauRxr}\\ \texttt{palDmxv} & \texttt{iauRxp}\\ \texttt{palDpav} & \texttt{iauPap}\\ \texttt{palDr2af} & \texttt{iauA2af}\\ \texttt{palDr2tf} & \texttt{iauA2tf}\\ \texttt{palDranrm} & \texttt{iauAnp}\\ \texttt{palDsep} & \texttt{iauSeps}\\ \texttt{palDsepv} & \texttt{iauSepp}\\ \texttt{palDtf2d} & \texttt{iauTf2d}\\ \texttt{palDtf2r} & \texttt{iauTf2a}\\ \texttt{palDvdv} & \texttt{iauPdp}\\ \texttt{palDvn} & \texttt{iauPn}\\ \texttt{palDvxv} & \texttt{iauPxp}\\ \texttt{palEpb} & \texttt{iauEpb}\\ \texttt{palEpb2d} & \texttt{iauEpb2d}\\ \texttt{palEpj} & \texttt{iauEpj}\\ \texttt{palEpj2d} & \texttt{iauEpj2jd}\\ \texttt{palEqeqx} & \texttt{iauEe06a}\\ \texttt{palFk5hz} & \texttt{iauFk5hz} \textit{also calls iauEpj2jd}\\ \texttt{palGmst} & \texttt{iauGmst06}\\ \texttt{palGmsta} & \texttt{iauGmst06}\\ \texttt{palHfk5z} & \texttt{iauHfk5z} \textit{also calls iauEpj2jd}\\ \end{tabular} \subsection{More complex functions} These functions do not have a simple equivalent in SOFA so are reimplemented either completely standalone or using multiple SOFA functions. %% Regenerate everything after this from the prologues using SST by %% running "make palsun.tex". We do not build this automatically as %% there is no particular need for an SST dependency. %% Some manual tweaking is required after creating the SST tex. \sstroutine{ palAddet }{ Add the E-terms to a pre IAU 1976 mean place }{ \sstdescription{ Add the E-terms (elliptic component of annual aberration) to a pre IAU 1976 mean place to conform to the old catalogue convention. } \sstinvocation{ void palAddet ( double rm, double dm, double eq, double $*$rc, double $*$dc ); } \sstarguments{ \sstsubsection{ rm = double (Given) }{ RA without E-terms (radians) } \sstsubsection{ dm = double (Given) }{ Dec without E-terms (radians) } \sstsubsection{ eq = double (Given) }{ Besselian epoch of mean equator and equinox } \sstsubsection{ rc = double $*$ (Returned) }{ RA with E-terms included (radians) } \sstsubsection{ dc = double $*$ (Returned) }{ Dec with E-terms included (radians) } } \sstnotes{ Most star positions from pre-1984 optical catalogues (or derived from astrometry using such stars) embody the E-terms. If it is necessary to convert a formal mean place (for example a pulsar timing position) to one consistent with such a star catalogue, then the RA,Dec should be adjusted using this routine. } \sstdiytopic{ See Also }{ Explanatory Supplement to the Astronomical Ephemeris, section 2D, page 48. } } \sstroutine{ palAirmas }{ Air mass at given zenith distance }{ \sstdescription{ Calculates the airmass at the observed zenith distance. } \sstinvocation{ double palAirmas( double zd ); } \sstarguments{ \sstsubsection{ zd = double (Given) }{ Observed zenith distance (radians) } } \sstnotes{ \sstitemlist{ \sstitem The {\tt "}observed{\tt "} zenith distance referred to above means {\tt "}as affected by refraction{\tt "}. \sstitem Uses Hardie{\tt '}s (1962) polynomial fit to Bemporad{\tt '}s data for the relative air mass, X, in units of thickness at the zenith as tabulated by Schoenberg (1929). This is adequate for all normal needs as it is accurate to better than 0.1\% up to X = 6.8 and better than 1\% up to X = 10. Bemporad{\tt '}s tabulated values are unlikely to be trustworthy to such accuracy because of variations in density, pressure and other conditions in the atmosphere from those assumed in his work. \sstitem The sign of the ZD is ignored. \sstitem At zenith distances greater than about ZD = 87 degrees the air mass is held constant to avoid arithmetic overflows. } } \sstdiytopic{ See Also }{ \sstitemlist{ \sstitem Hardie, R.H., 1962, in {\tt "}Astronomical Techniques{\tt "} ed. W.A. Hiltner, University of Chicago Press, p180. \sstitem Schoenberg, E., 1929, Hdb. d. Ap., Berlin, Julius Springer, 2, 268. } } } \sstroutine{ palAmp }{ Convert star RA,Dec from geocentric apparaent to mean place }{ \sstdescription{ Convert star RA,Dec from geocentric apparent to mean place. The mean coordinate system is close to ICRS. See palAmpqk for details. } \sstinvocation{ void palAmp ( double ra, double da, double date, double eq, double $*$rm, double $*$dm ); } \sstarguments{ \sstsubsection{ ra = double (Given) }{ Apparent RA (radians) } \sstsubsection{ dec = double (Given) }{ Apparent Dec (radians) } \sstsubsection{ date = double (Given) }{ TDB for apparent place (JD-2400000.5) } \sstsubsection{ eq = double (Given) }{ Equinox: Julian epoch of mean place. } \sstsubsection{ rm = double $*$ (Returned) }{ Mean RA (radians) } \sstsubsection{ dm = double $*$ (Returned) }{ Mean Dec (radians) } } \sstnotes{ \sstitemlist{ \sstitem See palMappa and palAmpqk for details. } } } \sstroutine{ palAmpqk }{ Convert star RA,Dec from geocentric apparent to mean place }{ \sstdescription{ Convert star RA,Dec from geocentric apparent to mean place. The {\tt "}mean{\tt "} coordinate system is in fact close to ICRS. Use of this function is appropriate when efficiency is important and where many star positions are all to be transformed for one epoch and equinox. The star-independent parameters can be obtained by calling the palMappa function. } \sstinvocation{ void palAmpqk ( double ra, double da, double amprms[21], double $*$rm, double $*$dm ) } \sstarguments{ \sstsubsection{ ra = double (Given) }{ Apparent RA (radians). } \sstsubsection{ da = double (Given) }{ Apparent Dec (radians). } \sstsubsection{ amprms = double[21] (Given) }{ Star-independent mean-to-apparent parameters (see palMappa): (0) time interval for proper motion (Julian years) (1-3) barycentric position of the Earth (AU) (4-6) not used (7) not used (8-10) abv: barycentric Earth velocity in units of c (11) sqrt(1-v$*$v) where v=modulus(abv) (12-20) precession/nutation (3,3) matrix } \sstsubsection{ rm = double (Returned) }{ Mean RA (radians). } \sstsubsection{ dm = double (Returned) }{ Mean Dec (radians). } } } \sstroutine{ palCaldj }{ Gregorian Calendar to Modified Julian Date }{ \sstdescription{ Modified Julian Date to Gregorian Calendar with special behaviour for 2-digit years relating to 1950 to 2049. } \sstinvocation{ void palCaldj ( int iy, int im, int id, double $*$djm, int $*$j ); } \sstarguments{ \sstsubsection{ iy = int (Given) }{ Year in the Gregorian calendar } \sstsubsection{ im = int (Given) }{ Month in the Gergorian calendar } \sstsubsection{ id = int (Given) }{ Day in the Gregorian calendar } \sstsubsection{ djm = double $*$ (Returned) }{ Modified Julian Date (JD-2400000.5) for 0 hrs } \sstsubsection{ j = status (Returned) }{ 0 = OK. See iauCal2jd for other values. } } \sstnotes{ \sstitemlist{ \sstitem Uses iauCal2jd \sstitem Unlike iauCal2jd this routine treats the years 0-100 as referring to the end of the 20th Century and beginning of the 21st Century. If this behaviour is not acceptable use the SOFA routine directly or palCldj. Acceptable years are 00-49, interpreted as 2000-2049, 50-99, {\tt "} {\tt "} 1950-1999, all others, interpreted literally. \sstitem Unlike SLA this routine will work with negative years. } } } \sstroutine{ palDafin }{ Sexagesimal character string to angle }{ \sstdescription{ Extracts an angle from a sexagesimal string with degrees, arcmin, arcsec fields using space or comma delimiters. } \sstinvocation{ void palDafin ( const char $*$string, int $*$ipos, double $*$a, int $*$j ); } \sstarguments{ \sstsubsection{ string = const char $*$ (Given) }{ String containing deg, arcmin, arcsec fields } \sstsubsection{ ipos = int $*$ (Given \& Returned) }{ Position to start decoding {\tt "}string{\tt "}. First character is position 1 for compatibility with SLA. After calling this routine {\tt "}iptr{\tt "} will be positioned after the sexagesimal string. } \sstsubsection{ a = double $*$ (Returned) }{ Angle in radians. } \sstsubsection{ j = int $*$ (Returned) }{ status: 0 = OK $+$1 = default, A unchanged \sstitemlist{ \sstitem 1 = bad degrees ) \sstitem 2 = bad arcminutes ) (note 3) \sstitem 3 = bad arcseconds ) } } } \sstnotes{ \sstitemlist{ \sstitem The first three {\tt "}fields{\tt "} in STRING are degrees, arcminutes, arcseconds, separated by spaces or commas. The degrees field may be signed, but not the others. The decoding is carried out by the palDfltin routine and is free-format. \sstitem Successive fields may be absent, defaulting to zero. For zero status, the only combinations allowed are degrees alone, degrees and arcminutes, and all three fields present. If all three fields are omitted, a status of $+$1 is returned and A is unchanged. In all other cases A is changed. \sstitem Range checking: } The degrees field is not range checked. However, it is expected to be integral unless the other two fields are absent. The arcminutes field is expected to be 0-59, and integral if the arcseconds field is present. If the arcseconds field is absent, the arcminutes is expected to be 0-59.9999... The arcseconds field is expected to be 0-59.9999... \sstitemlist{ \sstitem Decoding continues even when a check has failed. Under these circumstances the field takes the supplied value, defaulting to zero, and the result A is computed and returned. \sstitem Further fields after the three expected ones are not treated as an error. The pointer IPOS is left in the correct state for further decoding with the present routine or with palDfltin etc. See the example, above. \sstitem If STRING contains hours, minutes, seconds instead of degrees etc, or if the required units are turns (or days) instead of radians, the result A should be multiplied as follows: } for to obtain multiply STRING A in A by d {\tt '} {\tt "} radians 1 = 1.0 d {\tt '} {\tt "} turns 1/2pi = 0.1591549430918953358 h m s radians 15 = 15.0 h m s days 15/2pi = 2.3873241463784300365 } \sstdiytopic{ Example }{ argument before after STRING {\tt '}-57 17 44.806 12 34 56.7{\tt '} unchanged IPTR 1 16 (points to 12...) A ? -1.00000D0 J ? 0 } } \sstroutine{ palDe2h }{ Equatorial to horizon coordinates: HA,Dec to Az,E }{ \sstdescription{ Convert equatorial to horizon coordinates. } \sstinvocation{ palDe2h( double ha, double dec, double phi, double $*$ az, double $*$ el ); } \sstarguments{ \sstsubsection{ ha = double $*$ (Given) }{ Hour angle (radians) } \sstsubsection{ dec = double $*$ (Given) }{ Declination (radians) } \sstsubsection{ phi = double (Given) }{ Observatory latitude (radians) } \sstsubsection{ az = double $*$ (Returned) }{ Azimuth (radians) } \sstsubsection{ el = double $*$ (Returned) }{ Elevation (radians) } } \sstnotes{ \sstitemlist{ \sstitem All the arguments are angles in radians. \sstitem Azimuth is returned in the range 0-2pi; north is zero, and east is $+$pi/2. Elevation is returned in the range $+$/-pi/2. \sstitem The latitude must be geodetic. In critical applications, corrections for polar motion should be applied. \sstitem In some applications it will be important to specify the correct type of hour angle and declination in order to produce the required type of azimuth and elevation. In particular, it may be important to distinguish between elevation as affected by refraction, which would require the {\tt "}observed{\tt "} HA,Dec, and the elevation in vacuo, which would require the {\tt "}topocentric{\tt "} HA,Dec. If the effects of diurnal aberration can be neglected, the {\tt "}apparent{\tt "} HA,Dec may be used instead of the topocentric HA,Dec. \sstitem No range checking of arguments is carried out. \sstitem In applications which involve many such calculations, rather than calling the present routine it will be more efficient to use inline code, having previously computed fixed terms such as sine and cosine of latitude, and (for tracking a star) sine and cosine of declination. } } } \sstroutine{ palDeuler }{ Form a rotation matrix from the Euler angles }{ \sstdescription{ A rotation is positive when the reference frame rotates anticlockwise as seen looking towards the origin from the positive region of the specified axis. The characters of ORDER define which axes the three successive rotations are about. A typical value is {\tt '}ZXZ{\tt '}, indicating that RMAT is to become the direction cosine matrix corresponding to rotations of the reference frame through PHI radians about the old Z-axis, followed by THETA radians about the resulting X-axis, then PSI radians about the resulting Z-axis. The axis names can be any of the following, in any order or combination: X, Y, Z, uppercase or lowercase, 1, 2, 3. Normal axis labelling/numbering conventions apply; the xyz (=123) triad is right-handed. Thus, the {\tt '}ZXZ{\tt '} example given above could be written {\tt '}zxz{\tt '} or {\tt '}313{\tt '} (or even {\tt '}ZxZ{\tt '} or {\tt '}3xZ{\tt '}). ORDER is terminated by length or by the first unrecognized character. Fewer than three rotations are acceptable, in which case the later angle arguments are ignored. If all rotations are zero, the identity matrix is produced. } \sstinvocation{ void palDeuler ( const char $*$order, double phi, double theta, double psi, double rmat[3][3] ); } \sstarguments{ \sstsubsection{ order = const char[] (Given) }{ Specifies about which axes the rotation occurs } \sstsubsection{ phi = double (Given) }{ 1st rotation (radians) } \sstsubsection{ theta = double (Given) }{ 2nd rotation (radians) } \sstsubsection{ psi = double (Given) }{ 3rd rotation (radians) } \sstsubsection{ rmat = double[3][3] (Given \& Returned) }{ Rotation matrix } } } \sstroutine{ palDfltin }{ Convert free-format input into double precision floating point }{ \sstdescription{ Extracts a number from an input string starting at the specified index. } \sstinvocation{ void palDfltin( const char $*$ string, int $*$nstrt, double $*$dreslt, int $*$jflag ); } \sstarguments{ \sstsubsection{ string = const char $*$ (Given) }{ String containing number to be decoded. } \sstsubsection{ nstrt = int $*$ (Given and Returned) }{ Character number indicating where decoding should start. On output its value is updated to be the location of the possible next value. For compatibility with SLA the first character is index 1. } \sstsubsection{ dreslt = double $*$ (Returned) }{ Result. Not updated when jflag=1. } \sstsubsection{ jflag = int $*$ (Returned) }{ status: -1 = -OK, 0 = $+$OK, 1 = null, 2 = error } } \sstnotes{ \sstitemlist{ \sstitem Uses the strtod() system call to do the parsing. This may lead to subtle differences when compared to the SLA/F parsing. \sstitem All {\tt "}D{\tt "} characters are converted to {\tt "}E{\tt "} to handle fortran exponents. \sstitem Commas are recognized as a special case and are skipped if one happens to be the next character when updating nstrt. Additionally the output nstrt position will skip past any trailing space. \sstitem If no number can be found flag will be set to 1. \sstitem If the number overflows or underflows jflag will be set to 2. For overflow the returned result will have the value HUGE\_VAL, for underflow it will have the value 0.0. \sstitem For compatiblity with SLA/F -0 will be returned as {\tt "}0{\tt "} with jflag == -1. \sstitem Unlike slaDfltin a standalone {\tt "}E{\tt "} will return status 1 (could not find a number) rather than 2 (bad number). } } } \sstroutine{ palDh2e }{ Horizon to equatorial coordinates: Az,El to HA,Dec }{ \sstdescription{ Convert horizon to equatorial coordinates. } \sstinvocation{ palDh2e( double az, double el, double phi, double $*$ ha, double $*$ dec ); } \sstarguments{ \sstsubsection{ az = double (Given) }{ Azimuth (radians) } \sstsubsection{ el = double (Given) }{ Elevation (radians) } \sstsubsection{ phi = double (Given) }{ Observatory latitude (radians) } \sstsubsection{ ha = double $*$ (Returned) }{ Hour angle (radians) } \sstsubsection{ dec = double $*$ (Returned) }{ Declination (radians) } } \sstnotes{ \sstitemlist{ \sstitem All the arguments are angles in radians. \sstitem The sign convention for azimuth is north zero, east $+$pi/2. \sstitem HA is returned in the range $+$/-pi. Declination is returned in the range $+$/-pi/2. \sstitem The latitude is (in principle) geodetic. In critical applications, corrections for polar motion should be applied. \sstitem In some applications it will be important to specify the correct type of elevation in order to produce the required type of HA,Dec. In particular, it may be important to distinguish between the elevation as affected by refraction, which will yield the {\tt "}observed{\tt "} HA,Dec, and the elevation in vacuo, which will yield the {\tt "}topocentric{\tt "} HA,Dec. If the effects of diurnal aberration can be neglected, the topocentric HA,Dec may be used as an approximation to the {\tt "}apparent{\tt "} HA,Dec. \sstitem No range checking of arguments is done. \sstitem In applications which involve many such calculations, rather than calling the present routine it will be more efficient to use inline code, having previously computed fixed terms such as sine and cosine of latitude. } } } \sstroutine{ palDjcal }{ Modified Julian Date to Gregorian Calendar }{ \sstdescription{ Modified Julian Date to Gregorian Calendar, expressed in a form convenient for formatting messages (namely rounded to a specified precision, and with the fields stored in a single array) } \sstinvocation{ void palDjcal ( int ndp, double djm, int iymdf[4], int $*$j ); } \sstarguments{ \sstsubsection{ ndp = int (Given) }{ Number of decimal places of days in fraction. } \sstsubsection{ djm = double (Given) }{ Modified Julian Date (JD-2400000.5) } \sstsubsection{ iymdf[4] = int[] (Returned) }{ Year, month, day, fraction in Gregorian calendar. } \sstsubsection{ j = status (Returned) }{ 0 = OK. See iauJd2cal for other values. } } \sstnotes{ \sstitemlist{ \sstitem Uses iauJd2cal } } } \sstroutine{ palDmat }{ Matrix inversion \& solution of simultaneous equations }{ \sstdescription{ Matrix inversion \& solution of simultaneous equations For the set of n simultaneous equations in n unknowns: A.Y = X this routine calculates the inverse of A, the determinant of matrix A and the vector of N unknowns. } \sstinvocation{ void palDmat( int n, double $*$a, double $*$y, double $*$d, int $*$jf, int $*$iw ); } \sstarguments{ \sstsubsection{ n = int (Given) }{ Number of simultaneous equations and number of unknowns. } \sstsubsection{ a = double[] (Given \& Returned) }{ A non-singular NxN matrix (implemented as a contiguous block of memory). After calling this routine {\tt "}a{\tt "} contains the inverse of the matrix. } \sstsubsection{ y = double[] (Given \& Returned) }{ The vector of N unknowns. On exit this vector contains the N solutions. } \sstsubsection{ d = double $*$ (Returned) }{ The determinant. } \sstsubsection{ jf = int $*$ (Returned) }{ The singularity flag. If the matrix is non-singular, jf=0 is returned. If the matrix is singular, jf=-1 \& d=0.0 are returned. In the latter case, the contents of array {\tt "}a{\tt "} on return are undefined. } } \sstnotes{ \sstitemlist{ \sstitem Implemented using Gaussian elimination with partial pivoting. \sstitem Optimized for speed rather than accuracy with errors 1 to 4 times those of routines optimized for accuracy. } } } \sstroutine{ palDs2tp }{ Spherical to tangent plane projection }{ \sstdescription{ Projection of spherical coordinates onto tangent plane: {\tt "}gnomonic{\tt "} projection - {\tt "}standard coordinates{\tt "} } \sstinvocation{ palDs2tp( double ra, double dec, double raz, double decz, double $*$xi, double $*$eta, int $*$j ); } \sstarguments{ \sstsubsection{ ra = double (Given) }{ RA spherical coordinate of point to be projected (radians) } \sstsubsection{ dec = double (Given) }{ Dec spherical coordinate of point to be projected (radians) } \sstsubsection{ raz = double (Given) }{ RA spherical coordinate of tangent point (radians) } \sstsubsection{ decz = double (Given) }{ Dec spherical coordinate of tangent point (radians) } \sstsubsection{ xi = double $*$ (Returned) }{ First rectangular coordinate on tangent plane (radians) } \sstsubsection{ eta = double $*$ (Returned) }{ Second rectangular coordinate on tangent plane (radians) } \sstsubsection{ j = int $*$ (Returned) }{ status: 0 = OK, star on tangent plane 1 = error, star too far from axis 2 = error, antistar on tangent plane 3 = error, antistar too far from axis } } } \sstroutine{ palDtt }{ Return offset between UTC and TT }{ \sstdescription{ Increment to be applied to Coordinated Universal Time UTC to give International Atomic Time (TAI). } \sstinvocation{ dat = palDat( double utc ); } \sstarguments{ \sstsubsection{ utc = double (Given) }{ UTC date as a modified JD (JD-2400000.5) } } \sstreturnedvalue{ \sstsubsection{ dat = double }{ TAI-UTC in seconds } } \sstnotes{ \sstitemlist{ \sstitem This routine converts the MJD argument to calendar date before calling the SOFA iauDat function. \sstitem This routine matches the slaDat interface which differs from the iauDat interface. Consider coding directly to the SOFA interface. \sstitem See iauDat for a description of error conditions when calling this function with a time outside of the UTC range. \sstitem The status argument from iauDat is ignored. This is reasonable since the error codes are mainly related to incorrect calendar dates when calculating the JD internally. } } } \sstroutine{ palDmoon }{ Approximate geocentric position and velocity of the Moon }{ \sstdescription{ Calculate the approximate geocentric position of the Moon using a full implementation of the algorithm published by Meeus (l{\tt '}Astronomie, June 1984, p348). } \sstinvocation{ void palDmoon( double date, double pv[6] ); } \sstarguments{ \sstsubsection{ date = double (Given) }{ TDB as a Modified Julian Date (JD-2400000.5) } \sstsubsection{ pv = double [6] (Returned) }{ Moon x,y,z,xdot,ydot,zdot, mean equator and equinox of date (AU, AU/s) } } \sstnotes{ \sstitemlist{ \sstitem Meeus quotes accuracies of 10 arcsec in longitude, 3 arcsec in latitude and 0.2 arcsec in HP (equivalent to about 20 km in distance). Comparison with JPL DE200 over the interval 1960-2025 gives RMS errors of 3.7 arcsec and 83 mas/hour in longitude, 2.3 arcsec and 48 mas/hour in latitude, 11 km and 81 mm/s in distance. The maximum errors over the same interval are 18 arcsec and 0.50 arcsec/hour in longitude, 11 arcsec and 0.24 arcsec/hour in latitude, 40 km and 0.29 m/s in distance. \sstitem The original algorithm is expressed in terms of the obsolete timescale Ephemeris Time. Either TDB or TT can be used, but not UT without incurring significant errors (30 arcsec at the present time) due to the Moon{\tt '}s 0.5 arcsec/sec movement. \sstitem The algorithm is based on pre IAU 1976 standards. However, the result has been moved onto the new (FK5) equinox, an adjustment which is in any case much smaller than the intrinsic accuracy of the procedure. \sstitem Velocity is obtained by a complete analytical differentiation of the Meeus model. } } } \sstroutine{ palDrange }{ Normalize angle into range $+$/- pi }{ \sstdescription{ The result is {\tt "}angle{\tt "} expressed in the range $+$/- pi. If the supplied value for {\tt "}angle{\tt "} is equal to $+$/- pi, it is returned unchanged. } \sstinvocation{ palDrange( double angle ) } \sstarguments{ \sstsubsection{ angle = double (Given) }{ The angle in radians. } } } \sstroutine{ palDt }{ Estimate the offset between dynamical time and UT }{ \sstdescription{ Estimate the offset between dynamical time and Universal Time for a given historical epoch. } \sstinvocation{ double palDt( double epoch ); } \sstarguments{ \sstsubsection{ epoch = double (Given) }{ Julian epoch (e.g. 1850.0) } } \sstreturnedvalue{ \sstsubsection{ palDt = double }{ Rough estimate of ET-UT (after 1984, TT-UT) at the given epoch, in seconds. } } \sstnotes{ \sstitemlist{ \sstitem Depending on the epoch, one of three parabolic approximations is used: } before 979 Stephenson \& Morrison{\tt '}s 390 BC to AD 948 model 979 to 1708 Stephenson \& Morrison{\tt '}s 948 to 1600 model after 1708 McCarthy \& Babcock{\tt '}s post-1650 model The breakpoints are chosen to ensure continuity: they occur at places where the adjacent models give the same answer as each other. \sstitemlist{ \sstitem The accuracy is modest, with errors of up to 20 sec during the interval since 1650, rising to perhaps 30 min by 1000 BC. Comparatively accurate values from AD 1600 are tabulated in the Astronomical Almanac (see section K8 of the 1995 AA). \sstitem The use of double-precision for both argument and result is purely for compatibility with other SLALIB time routines. \sstitem The models used are based on a lunar tidal acceleration value of -26.00 arcsec per century. } } \sstdiytopic{ See Also }{ Explanatory Supplement to the Astronomical Almanac, ed P.K.Seidelmann, University Science Books (1992), section 2.553, p83. This contains references to the Stephenson \& Morrison and McCarthy \& Babcock papers. } } \sstroutine{ palDtp2s }{ Tangent plane to spherical coordinates }{ \sstdescription{ Transform tangent plane coordinates into spherical. } \sstinvocation{ palDtp2s( double xi, double eta, double raz, double decz, double $*$ra, double $*$dec); } \sstarguments{ \sstsubsection{ xi = double (Given) }{ First rectangular coordinate on tangent plane (radians) } \sstsubsection{ eta = double (Given) }{ Second rectangular coordinate on tangent plane (radians) } \sstsubsection{ raz = double (Given) }{ RA spherical coordinate of tangent point (radians) } \sstsubsection{ decz = double (Given) }{ Dec spherical coordinate of tangent point (radians) } \sstsubsection{ ra = double $*$ (Returned) }{ RA spherical coordinate of point to be projected (radians) } \sstsubsection{ dec = double $*$ (Returned) }{ Dec spherical coordinate of point to be projected (radians) } } } \sstroutine{ palDtps2c }{ Determine RA,Dec of tangent point from coordinates }{ \sstdescription{ From the tangent plane coordinates of a star of known RA,Dec, determine the RA,Dec of the tangent point. } \sstinvocation{ palDtps2c( double xi, double eta, double ra, double dec, double $*$ raz1, double decz1, double $*$ raz2, double decz2, int $*$n); } \sstarguments{ \sstsubsection{ xi = double (Given) }{ First rectangular coordinate on tangent plane (radians) } \sstsubsection{ eta = double (Given) }{ Second rectangular coordinate on tangent plane (radians) } \sstsubsection{ ra = double (Given) }{ RA spherical coordinate of star (radians) } \sstsubsection{ dec = double (Given) }{ Dec spherical coordinate of star (radians) } \sstsubsection{ raz1 = double $*$ (Returned) }{ RA spherical coordinate of tangent point, solution 1 (radians) } \sstsubsection{ decz1 = double $*$ (Returned) }{ Dec spherical coordinate of tangent point, solution 1 (radians) } \sstsubsection{ raz2 = double $*$ (Returned) }{ RA spherical coordinate of tangent point, solution 2 (radians) } \sstsubsection{ decz2 = double $*$ (Returned) }{ Dec spherical coordinate of tangent point, solution 2 (radians) } \sstsubsection{ n = int $*$ (Returned) }{ number of solutions: 0 = no solutions returned (note 2) 1 = only the first solution is useful (note 3) 2 = both solutions are useful (note 3) } } \sstnotes{ \sstitemlist{ \sstitem The RAZ1 and RAZ2 values are returned in the range 0-2pi. \sstitem Cases where there is no solution can only arise near the poles. For example, it is clearly impossible for a star at the pole itself to have a non-zero XI value, and hence it is meaningless to ask where the tangent point would have to be to bring about this combination of XI and DEC. \sstitem Also near the poles, cases can arise where there are two useful solutions. The argument N indicates whether the second of the two solutions returned is useful. N=1 indicates only one useful solution, the usual case; under these circumstances, the second solution corresponds to the {\tt "}over-the-pole{\tt "} case, and this is reflected in the values of RAZ2 and DECZ2 which are returned. \sstitem The DECZ1 and DECZ2 values are returned in the range $+$/-pi, but in the usual, non-pole-crossing, case, the range is $+$/-pi/2. \sstitem This routine is the spherical equivalent of the routine sla\_DTPV2C. } } } \sstroutine{ palDtt }{ Return offset between UTC and TT }{ \sstdescription{ Increment to be applied to Coordinated Universal Time UTC to give Terrestrial Time TT (formerly Ephemeris Time ET) } \sstinvocation{ dtt = palDtt( double utc ); } \sstarguments{ \sstsubsection{ utc = double (Given) }{ UTC date as a modified JD (JD-2400000.5) } } \sstreturnedvalue{ \sstsubsection{ dtt = double }{ TT-UTC in seconds } } \sstnotes{ \sstitemlist{ \sstitem Consider a comprehensive upgrade to use the time transformations in SOFA{\tt '}s time cookbook: http://www.iausofa.org/sofa\_ts\_c.pdf. \sstitem See iauDat for a description of error conditions when calling this function with a time outside of the UTC range. This behaviour differs from slaDtt. } } } \sstroutine{ palEcmat }{ Form the equatorial to ecliptic rotation matrix - IAU 2006 precession model }{ \sstdescription{ The equatorial to ecliptic rotation matrix is found and returned. The matrix is in the sense V(ecl) = RMAT $*$ V(equ); the equator, equinox and ecliptic are mean of date. } \sstinvocation{ palEcmat( double date, double rmat[3][3] ) } \sstarguments{ \sstsubsection{ date = double (Given) }{ TT as Modified Julian Date (JD-2400000.5). The difference between TT and TDB is of the order of a millisecond or two (i.e. about 0.02 arc-seconds). } \sstsubsection{ rmat = double[3][3] (Returned) }{ Rotation matrix } } } \sstroutine{ palEl2ue }{ Transform conventional elements into {\tt "}universal{\tt "} form }{ \sstdescription{ Transform conventional osculating elements into {\tt "}universal{\tt "} form. } \sstinvocation{ void palEl2ue ( double date, int jform, double epoch, double orbinc, double anode, double perih, double aorq, double e, double aorl, double dm, double u[13], int $*$jstat ); } \sstarguments{ \sstsubsection{ date = double (Given) }{ Epoch (TT MJD) of osculation (Note 3) } \sstsubsection{ jform = int (Given) }{ Element set actually returned (1-3; Note 6) } \sstsubsection{ epoch = double (Given) }{ Epoch of elements (TT MJD) } \sstsubsection{ orbinc = double (Given) }{ inclination (radians) } \sstsubsection{ anode = double (Given) }{ longitude of the ascending node (radians) } \sstsubsection{ perih = double (Given) }{ longitude or argument of perihelion (radians) } \sstsubsection{ aorq = double (Given) }{ mean distance or perihelion distance (AU) } \sstsubsection{ e = double (Given) }{ eccentricity } \sstsubsection{ aorl = double (Given) }{ mean anomaly or longitude (radians, JFORM=1,2 only) } \sstsubsection{ dm = double (Given) }{ daily motion (radians, JFORM=1 only) } \sstsubsection{ u = double [13] (Returned) }{ Universal orbital elements (Note 1) (0) combined mass (M$+$m) (1) total energy of the orbit (alpha) (2) reference (osculating) epoch (t0) (3-5) position at reference epoch (r0) (6-8) velocity at reference epoch (v0) (9) heliocentric distance at reference epoch (10) r0.v0 (11) date (t) (12) universal eccentric anomaly (psi) of date, approx } \sstsubsection{ jstat = int $*$ (Returned) }{ status: 0 = OK \sstitemlist{ \sstitem 1 = illegal JFORM \sstitem 2 = illegal E \sstitem 3 = illegal AORQ \sstitem 4 = illegal DM \sstitem 5 = numerical error } } } \sstnotes{ \sstitemlist{ \sstitem The {\tt "}universal{\tt "} elements are those which define the orbit for the purposes of the method of universal variables (see reference). They consist of the combined mass of the two bodies, an epoch, and the position and velocity vectors (arbitrary reference frame) at that epoch. The parameter set used here includes also various quantities that can, in fact, be derived from the other information. This approach is taken to avoiding unnecessary computation and loss of accuracy. The supplementary quantities are (i) alpha, which is proportional to the total energy of the orbit, (ii) the heliocentric distance at epoch, (iii) the outwards component of the velocity at the given epoch, (iv) an estimate of psi, the {\tt "}universal eccentric anomaly{\tt "} at a given date and (v) that date. \sstitem The companion routine is palUe2pv. This takes the set of numbers that the present routine outputs and uses them to derive the object{\tt '}s position and velocity. A single prediction requires one call to the present routine followed by one call to palUe2pv; for convenience, the two calls are packaged as the routine palPlanel. Multiple predictions may be made by again calling the present routine once, but then calling palUe2pv multiple times, which is faster than multiple calls to palPlanel. \sstitem DATE is the epoch of osculation. It is in the TT timescale (formerly Ephemeris Time, ET) and is a Modified Julian Date (JD-2400000.5). \sstitem The supplied orbital elements are with respect to the J2000 ecliptic and equinox. The position and velocity parameters returned in the array U are with respect to the mean equator and equinox of epoch J2000, and are for the perihelion prior to the specified epoch. \sstitem The universal elements returned in the array U are in canonical units (solar masses, AU and canonical days). \sstitem Three different element-format options are available: } Option JFORM=1, suitable for the major planets: EPOCH = epoch of elements (TT MJD) ORBINC = inclination i (radians) ANODE = longitude of the ascending node, big omega (radians) PERIH = longitude of perihelion, curly pi (radians) AORQ = mean distance, a (AU) E = eccentricity, e (range 0 to $<$1) AORL = mean longitude L (radians) DM = daily motion (radians) Option JFORM=2, suitable for minor planets: EPOCH = epoch of elements (TT MJD) ORBINC = inclination i (radians) ANODE = longitude of the ascending node, big omega (radians) PERIH = argument of perihelion, little omega (radians) AORQ = mean distance, a (AU) E = eccentricity, e (range 0 to $<$1) AORL = mean anomaly M (radians) Option JFORM=3, suitable for comets: EPOCH = epoch of perihelion (TT MJD) ORBINC = inclination i (radians) ANODE = longitude of the ascending node, big omega (radians) PERIH = argument of perihelion, little omega (radians) AORQ = perihelion distance, q (AU) E = eccentricity, e (range 0 to 10) \sstitemlist{ \sstitem Unused elements (DM for JFORM=2, AORL and DM for JFORM=3) are not accessed. \sstitem The algorithm was originally adapted from the EPHSLA program of D.H.P.Jones (private communication, 1996). The method is based on Stumpff{\tt '}s Universal Variables. } } \sstdiytopic{ See Also }{ Everhart \& Pitkin, Am.J.Phys. 51, 712 (1983). } } \sstroutine{ palEpco }{ Convert an epoch into the appropriate form - {\tt '}B{\tt '} or {\tt '}J{\tt '} }{ \sstdescription{ Converts a Besselian or Julian epoch to a Julian or Besselian epoch. } \sstinvocation{ double palEpco( char k0, char k, double e ); } \sstarguments{ \sstsubsection{ k0 = char (Given) }{ Form of result: {\tt '}B{\tt '}=Besselian, {\tt '}J{\tt '}=Julian } \sstsubsection{ k = char (Given) }{ Form of given epoch: {\tt '}B{\tt '} or {\tt '}J{\tt '}. } } \sstnotes{ \sstitemlist{ \sstitem The result is always either equal to or very close to the given epoch E. The routine is required only in applications where punctilious treatment of heterogeneous mixtures of star positions is necessary. \sstitem k and k0 are case insensitive. This differes slightly from the Fortran SLA implementation. \sstitem k and k0 are not validated. They are interpreted as follows: o If k0 and k are the same the result is e o If k0 is {\tt '}b{\tt '} or {\tt '}B{\tt '} and k isn{\tt '}t the conversion is J to B. o In all other cases, the conversion is B to J. } } } \sstroutine{ palEpv }{ Earth position and velocity with respect to the BCRS }{ \sstdescription{ Earth position and velocity, heliocentric and barycentric, with respect to the Barycentric Celestial Reference System. } \sstinvocation{ void palEpv( double date, double ph[3], double vh[3], double pb[3], double vb[3] ); } \sstarguments{ \sstsubsection{ date = double (Given) }{ Date, TDB Modified Julian Date (JD-2400000.5) } \sstsubsection{ ph = double [3] (Returned) }{ Heliocentric Earth position (AU) } \sstsubsection{ vh = double [3] (Returned) }{ Heliocentric Earth velocity (AU/day) } \sstsubsection{ pb = double [3] (Returned) }{ Barycentric Earth position (AU) } \sstsubsection{ vb = double [3] (Returned) }{ Barycentric Earth velocity (AU/day) } } \sstnotes{ \sstitemlist{ \sstitem See iauEpv00 for details on accuracy \sstitem Note that the status argument from iauEpv00 is ignored } } } \sstroutine{ palEtrms }{ Compute the E-terms vector }{ \sstdescription{ Computes the E-terms (elliptic component of annual aberration) vector. Note the use of the J2000 aberration constant (20.49552 arcsec). This is a reflection of the fact that the E-terms embodied in existing star catalogues were computed from a variety of aberration constants. Rather than adopting one of the old constants the latest value is used here. } \sstinvocation{ void palEtrms ( double ep, double ev[3] ); } \sstarguments{ \sstsubsection{ ep = double (Given) }{ Besselian epoch } \sstsubsection{ ev = double [3] (Returned) }{ E-terms as (dx,dy,dz) } } \sstdiytopic{ See also }{ \sstitemlist{ \sstitem Smith, C.A. et al., 1989. Astr.J. 97, 265. \sstitem Yallop, B.D. et al., 1989. Astr.J. 97, 274. } } } \sstroutine{ palEqecl }{ Transform from J2000.0 equatorial coordinates to ecliptic coordinates }{ \sstdescription{ Transform from J2000.0 equatorial coordinates to ecliptic coordinates. } \sstinvocation{ void palEqecl( double dr, double dd, double date, double $*$dl, double $*$db); } \sstarguments{ \sstsubsection{ dr = double (Given) }{ J2000.0 mean RA (radians) } \sstsubsection{ dd = double (Given) }{ J2000.0 mean Dec (Radians) } \sstsubsection{ date = double (Given) }{ TT as Modified Julian Date (JD-2400000.5). The difference between TT and TDB is of the order of a millisecond or two (i.e. about 0.02 arc-seconds). } \sstsubsection{ dl = double $*$ (Returned) }{ Ecliptic longitude (mean of date, IAU 1980 theory, radians) } \sstsubsection{ db = double $*$ (Returned) }{ Ecliptic latitude (mean of date, IAU 1980 theory, radians) } } } \sstroutine{ palEqgal }{ Convert from J2000.0 equatorial coordinates to Galactic }{ \sstdescription{ Transformation from J2000.0 equatorial coordinates to IAU 1958 galactic coordinates. } \sstinvocation{ void palEqgal ( double dr, double dd, double $*$dl, double $*$db ); } \sstarguments{ \sstsubsection{ dr = double (Given) }{ J2000.0 RA (radians) } \sstsubsection{ dd = double (Given) }{ J2000.0 Dec (radians } \sstsubsection{ dl = double $*$ (Returned) }{ Galactic longitude (radians). } \sstsubsection{ db = double $*$ (Returned) }{ Galactic latitude (radians). } } \sstnotes{ The equatorial coordinates are J2000.0. Use the routine palGe50 if conversion to B1950.0 {\tt '}FK4{\tt '} coordinates is required. } \sstdiytopic{ See Also }{ Blaauw et al, Mon.Not.R.Astron.Soc.,121,123 (1960) } } \sstroutine{ palEvp }{ Returns the barycentric and heliocentric velocity and position of the Earth }{ \sstdescription{ Returns the barycentric and heliocentric velocity and position of the Earth at a given epoch, given with respect to a specified equinox. For information about accuracy, see the function iauEpv00. } \sstinvocation{ void palEvp( double date, double deqx, double dvb[3], double dpb[3], double dvh[3], double dph[3] ) } \sstarguments{ \sstsubsection{ date = double (Given) }{ TDB (loosely ET) as a Modified Julian Date (JD-2400000.5) } \sstsubsection{ deqx = double (Given) }{ Julian epoch (e.g. 2000.0) of mean equator and equinox of the vectors returned. If deqx $<$= 0.0, all vectors are referred to the mean equator and equinox (FK5) of epoch date. } \sstsubsection{ dvb = double[3] (Returned) }{ Barycentric velocity (AU/s, AU) } \sstsubsection{ dpb = double[3] (Returned) }{ Barycentric position (AU/s, AU) } \sstsubsection{ dvh = double[3] (Returned) }{ heliocentric velocity (AU/s, AU) } \sstsubsection{ dph = double[3] (Returned) }{ Heliocentric position (AU/s, AU) } } } \sstroutine{ palFk45z }{ Convert B1950.0 FK4 star data to J2000.0 FK5 assuming zero proper motion in the FK5 frame }{ \sstdescription{ Convert B1950.0 FK4 star data to J2000.0 FK5 assuming zero proper motion in the FK5 frame (double precision) This function converts stars from the Bessel-Newcomb, FK4 system to the IAU 1976, FK5, Fricke system, in such a way that the FK5 proper motion is zero. Because such a star has, in general, a non-zero proper motion in the FK4 system, the routine requires the epoch at which the position in the FK4 system was determined. The method is from Appendix 2 of Ref 1, but using the constants of Ref 4. } \sstinvocation{ palFk45z( double r1950, double d1950, double bepoch, double $*$r2000, double $*$d2000 ) } \sstarguments{ \sstsubsection{ r1950 = double (Given) }{ B1950.0 FK4 RA at epoch (radians). } \sstsubsection{ d1950 = double (Given) }{ B1950.0 FK4 Dec at epoch (radians). } \sstsubsection{ bepoch = double (Given) }{ Besselian epoch (e.g. 1979.3) } \sstsubsection{ r2000 = double (Returned) }{ J2000.0 FK5 RA (Radians). } \sstsubsection{ d2000 = double (Returned) }{ J2000.0 FK5 Dec(Radians). } } \sstnotes{ \sstitemlist{ \sstitem The epoch BEPOCH is strictly speaking Besselian, but if a Julian epoch is supplied the result will be affected only to a negligible extent. \sstitem Conversion from Besselian epoch 1950.0 to Julian epoch 2000.0 only is provided for. Conversions involving other epochs will require use of the appropriate precession, proper motion, and E-terms routines before and/or after palFk45z is called. \sstitem In the FK4 catalogue the proper motions of stars within 10 degrees of the poles do not embody the differential E-term effect and should, strictly speaking, be handled in a different manner from stars outside these regions. However, given the general lack of homogeneity of the star data available for routine astrometry, the difficulties of handling positions that may have been determined from astrometric fields spanning the polar and non-polar regions, the likelihood that the differential E-terms effect was not taken into account when allowing for proper motion in past astrometry, and the undesirability of a discontinuity in the algorithm, the decision has been made in this routine to include the effect of differential E-terms on the proper motions for all stars, whether polar or not. At epoch 2000, and measuring on the sky rather than in terms of dRA, the errors resulting from this simplification are less than 1 milliarcsecond in position and 1 milliarcsecond per century in proper motion. } } \sstdiytopic{ References }{ \sstitemlist{ \sstitem Aoki,S., et al, 1983. Astron.Astrophys., 128, 263. \sstitem Smith, C.A. et al, 1989. {\tt "}The transformation of astrometric catalog systems to the equinox J2000.0{\tt "}. Astron.J. 97, 265. \sstitem Yallop, B.D. et al, 1989. {\tt "}Transformation of mean star places from FK4 B1950.0 to FK5 J2000.0 using matrices in 6-space{\tt "}. Astron.J. 97, 274. \sstitem Seidelmann, P.K. (ed), 1992. {\tt "}Explanatory Supplement to the Astronomical Almanac{\tt "}, ISBN 0-935702-68-7. } } } \sstroutine{ palFk524 }{ Convert J2000.0 FK5 star data to B1950.0 FK4 }{ \sstdescription{ This function converts stars from the IAU 1976, FK5, Fricke system, to the Bessel-Newcomb, FK4 system. The precepts of Smith et al (Ref 1) are followed, using the implementation by Yallop et al (Ref 2) of a matrix method due to Standish. Kinoshita{\tt '}s development of Andoyer{\tt '}s post-Newcomb precession is used. The numerical constants from Seidelmann et al (Ref 3) are used canonically. } \sstinvocation{ palFk524( double r2000, double d2000, double dr2000, double dd2000, double p2000, double v2000, double $*$r1950, double $*$d1950, double $*$dr1950, double $*$dd1950, double $*$p1950, double $*$v1950 ) } \sstarguments{ \sstsubsection{ r2000 = double (Given) }{ J2000.0 FK5 RA (radians). } \sstsubsection{ d2000 = double (Given) }{ J2000.0 FK5 Dec (radians). } \sstsubsection{ dr2000 = double (Given) }{ J2000.0 FK5 RA proper motion (rad/Jul.yr) } \sstsubsection{ dd2000 = double (Given) }{ J2000.0 FK5 Dec proper motion (rad/Jul.yr) } \sstsubsection{ p2000 = double (Given) }{ J2000.0 FK5 parallax (arcsec) } \sstsubsection{ v2000 = double (Given) }{ J2000.0 FK5 radial velocity (km/s, $+$ve = moving away) } \sstsubsection{ r1950 = double $*$ (Returned) }{ B1950.0 FK4 RA (radians). } \sstsubsection{ d1950 = double $*$ (Returned) }{ B1950.0 FK4 Dec (radians). } \sstsubsection{ dr1950 = double $*$ (Returned) }{ B1950.0 FK4 RA proper motion (rad/Jul.yr) } \sstsubsection{ dd1950 = double $*$ (Returned) }{ B1950.0 FK4 Dec proper motion (rad/Jul.yr) } \sstsubsection{ p1950 = double $*$ (Returned) }{ B1950.0 FK4 parallax (arcsec) } \sstsubsection{ v1950 = double $*$ (Returned) }{ B1950.0 FK4 radial velocity (km/s, $+$ve = moving away) } } \sstnotes{ \sstitemlist{ \sstitem The proper motions in RA are dRA/dt rather than cos(Dec)$*$dRA/dt, and are per year rather than per century. \sstitem Note that conversion from Julian epoch 2000.0 to Besselian epoch 1950.0 only is provided for. Conversions involving other epochs will require use of the appropriate precession, proper motion, and E-terms routines before and/or after FK524 is called. \sstitem In the FK4 catalogue the proper motions of stars within 10 degrees of the poles do not embody the differential E-term effect and should, strictly speaking, be handled in a different manner from stars outside these regions. However, given the general lack of homogeneity of the star data available for routine astrometry, the difficulties of handling positions that may have been determined from astrometric fields spanning the polar and non-polar regions, the likelihood that the differential E-terms effect was not taken into account when allowing for proper motion in past astrometry, and the undesirability of a discontinuity in the algorithm, the decision has been made in this routine to include the effect of differential E-terms on the proper motions for all stars, whether polar or not. At epoch 2000, and measuring on the sky rather than in terms of dRA, the errors resulting from this simplification are less than 1 milliarcsecond in position and 1 milliarcsecond per century in proper motion. } } \sstdiytopic{ References }{ \sstitemlist{ \sstitem Smith, C.A. et al, 1989. {\tt "}The transformation of astrometric catalog systems to the equinox J2000.0{\tt "}. Astron.J. 97, 265. \sstitem Yallop, B.D. et al, 1989. {\tt "}Transformation of mean star places from FK4 B1950.0 to FK5 J2000.0 using matrices in 6-space{\tt "}. Astron.J. 97, 274. \sstitem Seidelmann, P.K. (ed), 1992. {\tt "}Explanatory Supplement to the Astronomical Almanac{\tt "}, ISBN 0-935702-68-7. } } } \sstroutine{ palFk54z }{ Convert a J2000.0 FK5 star position to B1950.0 FK4 assuming zero proper motion and parallax }{ \sstdescription{ This function converts star positions from the IAU 1976, FK5, Fricke system to the Bessel-Newcomb, FK4 system. } \sstinvocation{ palFk54z( double r2000, double d2000, double bepoch, double $*$r1950, double $*$d1950, double $*$dr1950, double $*$dd1950 ) } \sstarguments{ \sstsubsection{ r2000 = double (Given) }{ J2000.0 FK5 RA (radians). } \sstsubsection{ d2000 = double (Given) }{ J2000.0 FK5 Dec (radians). } \sstsubsection{ bepoch = double (Given) }{ Besselian epoch (e.g. 1950.0). } \sstsubsection{ r1950 = double $*$ (Returned) }{ B1950 FK4 RA (radians) at epoch {\tt "}bepoch{\tt "}. } \sstsubsection{ d1950 = double $*$ (Returned) }{ B1950 FK4 Dec (radians) at epoch {\tt "}bepoch{\tt "}. } \sstsubsection{ dr1950 = double $*$ (Returned) }{ B1950 FK4 proper motion (RA) (radians/trop.yr)). } \sstsubsection{ dr1950 = double $*$ (Returned) }{ B1950 FK4 proper motion (Dec) (radians/trop.yr)). } } \sstnotes{ \sstitemlist{ \sstitem The proper motion in RA is dRA/dt rather than cos(Dec)$*$dRA/dt. \sstitem Conversion from Julian epoch 2000.0 to Besselian epoch 1950.0 only is provided for. Conversions involving other epochs will require use of the appropriate precession functions before and after this function is called. \sstitem The FK5 proper motions, the parallax and the radial velocity are presumed zero. \sstitem It is the intention that FK5 should be a close approximation to an inertial frame, so that distant objects have zero proper motion; such objects have (in general) non-zero proper motion in FK4, and this function returns those fictitious proper motions. \sstitem The position returned by this function is in the B1950 reference frame but at Besselian epoch BEPOCH. For comparison with catalogues the {\tt "}bepoch{\tt "} argument will frequently be 1950.0. } } } \sstroutine{ palGaleq }{ Convert from galactic to J2000.0 equatorial coordinates }{ \sstdescription{ Transformation from IAU 1958 galactic coordinates to J2000.0 equatorial coordinates. } \sstinvocation{ void palGaleq ( double dl, double db, double $*$dr, double $*$dd ); } \sstarguments{ \sstsubsection{ dl = double (Given) }{ Galactic longitude (radians). } \sstsubsection{ db = double (Given) }{ Galactic latitude (radians). } \sstsubsection{ dr = double $*$ (Returned) }{ J2000.0 RA (radians) } \sstsubsection{ dd = double $*$ (Returned) }{ J2000.0 Dec (radians) } } \sstnotes{ The equatorial coordinates are J2000.0. Use the routine palGe50 if conversion to B1950.0 {\tt '}FK4{\tt '} coordinates is required. } \sstdiytopic{ See Also }{ Blaauw et al, Mon.Not.R.Astron.Soc.,121,123 (1960) } } \sstroutine{ palGalsup }{ Convert from galactic to supergalactic coordinates }{ \sstdescription{ Transformation from IAU 1958 galactic coordinates to de Vaucouleurs supergalactic coordinates. } \sstinvocation{ void palGalsup ( double dl, double db, double $*$dsl, double $*$dsb ); } \sstarguments{ \sstsubsection{ dl = double (Given) }{ Galactic longitude. } \sstsubsection{ db = double (Given) }{ Galactic latitude. } \sstsubsection{ dsl = double $*$ (Returned) }{ Supergalactic longitude. } \sstsubsection{ dsb = double $*$ (Returned) }{ Supergalactic latitude. } } \sstdiytopic{ See Also }{ \sstitemlist{ \sstitem de Vaucouleurs, de Vaucouleurs, \& Corwin, Second Reference Catalogue of Bright Galaxies, U. Texas, page 8. \sstitem Systems \& Applied Sciences Corp., Documentation for the machine-readable version of the above catalogue, Contract NAS 5-26490. } (These two references give different values for the galactic longitude of the supergalactic origin. Both are wrong; the correct value is L2=137.37.) } } \sstroutine{ palGe50 }{ Transform Galactic Coordinate to B1950 FK4 }{ \sstdescription{ Transformation from IAU 1958 galactic coordinates to B1950.0 {\tt '}FK4{\tt '} equatorial coordinates. } \sstinvocation{ palGe50( double dl, double db, double $*$dr, double $*$dd ); } \sstarguments{ \sstsubsection{ dl = double (Given) }{ Galactic longitude (radians) } \sstsubsection{ db = double (Given) }{ Galactic latitude (radians) } \sstsubsection{ dr = double $*$ (Returned) }{ B9150.0 FK4 RA. } \sstsubsection{ dd = double $*$ (Returned) }{ B1950.0 FK4 Dec. } } \sstnotes{ \sstitemlist{ \sstitem The equatorial coordinates are B1950.0 {\tt '}FK4{\tt '}. Use the routine palGaleq if conversion to J2000.0 coordinates is required. } } \sstdiytopic{ See Also }{ \sstitemlist{ \sstitem Blaauw et al, Mon.Not.R.Astron.Soc.,121,123 (1960) } } } \sstroutine{ palGeoc }{ Convert geodetic position to geocentric }{ \sstdescription{ Convert geodetic position to geocentric. } \sstinvocation{ void palGeoc( double p, double h, double $*$ r, double $*$z ); } \sstarguments{ \sstsubsection{ p = double (Given) }{ latitude (radians) } \sstsubsection{ h = double (Given) }{ height above reference spheroid (geodetic, metres) } \sstsubsection{ r = double $*$ (Returned) }{ distance from Earth axis (AU) } \sstsubsection{ z = double $*$ (Returned) }{ distance from plane of Earth equator (AU) } } \sstnotes{ \sstitemlist{ \sstitem Geocentric latitude can be obtained by evaluating atan2(z,r) \sstitem Uses WGS84 reference ellipsoid and calls iauGd2gc } } } \sstroutine{ palIntin }{ Convert free-format input into an integer }{ \sstdescription{ Extracts a number from an input string starting at the specified index. } \sstinvocation{ void palIntin( const char $*$ string, int $*$nstrt, long $*$ireslt, int $*$jflag ); } \sstarguments{ \sstsubsection{ string = const char $*$ (Given) }{ String containing number to be decoded. } \sstsubsection{ nstrt = int $*$ (Given and Returned) }{ Character number indicating where decoding should start. On output its value is updated to be the location of the possible next value. For compatibility with SLA the first character is index 1. } \sstsubsection{ ireslt = long $*$ (Returned) }{ Result. Not updated when jflag=1. } \sstsubsection{ jflag = int $*$ (Returned) }{ status: -1 = -OK, 0 = $+$OK, 1 = null, 2 = error } } \sstnotes{ \sstitemlist{ \sstitem Uses the strtol() system call to do the parsing. This may lead to subtle differences when compared to the SLA/F parsing. \sstitem Commas are recognized as a special case and are skipped if one happens to be the next character when updating nstrt. Additionally the output nstrt position will skip past any trailing space. \sstitem If no number can be found flag will be set to 1. \sstitem If the number overflows or underflows jflag will be set to 2. For overflow the returned result will have the value LONG\_MAX, for underflow it will have the value LONG\_MIN. } } } \sstroutine{ palMap }{ Convert star RA,Dec from mean place to geocentric apparent }{ \sstdescription{ Convert star RA,Dec from mean place to geocentric apparent. } \sstinvocation{ void palMap( double rm, double dm, double pr, double pd, double px, double rv, double eq, double date, double $*$ra, double $*$da ); } \sstarguments{ \sstsubsection{ rm = double (Given) }{ Mean RA (radians) } \sstsubsection{ dm = double (Given) }{ Mean declination (radians) } \sstsubsection{ pr = double (Given) }{ RA proper motion, changes per Julian year (radians) } \sstsubsection{ pd = double (Given) }{ Dec proper motion, changes per Julian year (radians) } \sstsubsection{ px = double (Given) }{ Parallax (arcsec) } \sstsubsection{ rv = double (Given) }{ Radial velocity (km/s, $+$ve if receding) } \sstsubsection{ eq = double (Given) }{ Epoch and equinox of star data (Julian) } \sstsubsection{ date = double (Given) }{ TDB for apparent place (JD-2400000.5) } \sstsubsection{ ra = double $*$ (Returned) }{ Apparent RA (radians) } \sstsubsection{ dec = double $*$ (Returned) }{ Apparent dec (radians) } } \sstnotes{ \sstitemlist{ \sstitem Calls palMappa and palMapqk \sstitem The reference systems and timescales used are IAU 2006. } } } \sstroutine{ palMappa }{ Compute parameters needed by palAmpqk and palMapqk }{ \sstdescription{ Compute star-independent parameters in preparation for transformations between mean place and geocentric apparent place. The parameters produced by this function are required in the parallax, aberration, and nutation/bias/precession parts of the mean/apparent transformations. The reference systems and timescales used are IAU 2006. } \sstinvocation{ void palMappa( double eq, double date, double amprms[21] ) } \sstarguments{ \sstsubsection{ eq = double (Given) }{ epoch of mean equinox to be used (Julian) } \sstsubsection{ date = double (Given) }{ TDB (JD-2400000.5) } \sstsubsection{ amprms = double[21] (Returned) }{ star-independent mean-to-apparent parameters: \sstitemlist{ \sstitem (0) time interval for proper motion (Julian years) \sstitem (1-3) barycentric position of the Earth (AU) \sstitem (4-6) heliocentric direction of the Earth (unit vector) \sstitem (7) (grav rad Sun)$*$2/(Sun-Earth distance) \sstitem (8-10) abv: barycentric Earth velocity in units of c \sstitem (11) sqrt(1-v$*$$*$2) where v=modulus(abv) \sstitem (12-20) precession/nutation (3,3) matrix } } } \sstnotes{ \sstitemlist{ \sstitem For date, the distinction between the required TDB and TT is always negligible. Moreover, for all but the most critical applications UTC is adequate. \sstitem The vector amprms(1-3) is referred to the mean equinox and equator of epoch eq. \sstitem The parameters amprms produced by this function are used by palAmpqk, palMapqk and palMapqkz. } } } \sstroutine{ palMapqk }{ Quick mean to apparent place }{ \sstdescription{ Quick mean to apparent place: transform a star RA,Dec from mean place to geocentric apparent place, given the star-independent parameters. Use of this routine is appropriate when efficiency is important and where many star positions, all referred to the same equator and equinox, are to be transformed for one epoch. The star-independent parameters can be obtained by calling the palMappa routine. If the parallax and proper motions are zero the palMapqkz routine can be used instead. } \sstinvocation{ void palMapqk ( double rm, double dm, double pr, double pd, double px, double rv, double amprms[21], double $*$ra, double $*$da ); } \sstarguments{ \sstsubsection{ rm = double (Given) }{ Mean RA (radians) } \sstsubsection{ dm = double (Given) }{ Mean declination (radians) } \sstsubsection{ pr = double (Given) }{ RA proper motion, changes per Julian year (radians) } \sstsubsection{ pd = double (Given) }{ Dec proper motion, changes per Julian year (radians) } \sstsubsection{ px = double (Given) }{ Parallax (arcsec) } \sstsubsection{ rv = double (Given) }{ Radial velocity (km/s, $+$ve if receding) } \sstsubsection{ amprms = double [21] (Given) }{ Star-independent mean-to-apparent parameters (see palMappa). } \sstsubsection{ ra = double $*$ (Returned) }{ Apparent RA (radians) } \sstsubsection{ dec = double $*$ (Returned) }{ Apparent dec (radians) } } \sstnotes{ \sstitemlist{ \sstitem The reference frames and timescales used are post IAU 2006. } } } \sstroutine{ palMapqkz }{ Quick mean to apparent place }{ \sstdescription{ Quick mean to apparent place: transform a star RA,dec from mean place to geocentric apparent place, given the star-independent parameters, and assuming zero parallax and proper motion. Use of this function is appropriate when efficiency is important and where many star positions, all with parallax and proper motion either zero or already allowed for, and all referred to the same equator and equinox, are to be transformed for one epoch. The star-independent parameters can be obtained by calling the palMappa function. The corresponding function for the case of non-zero parallax and proper motion is palMapqk. The reference systems and timescales used are IAU 2006. Strictly speaking, the function is not valid for solar-system sources, though the error will usually be extremely small. } \sstinvocation{ void palMapqkz( double rm, double dm, double amprms[21], double $*$ra, double $*$da ) } \sstarguments{ \sstsubsection{ rm = double (Given) }{ Mean RA (radians). } \sstsubsection{ dm = double (Given) }{ Mean Dec (radians). } \sstsubsection{ amprms = double[21] (Given) }{ Star-independent mean-to-apparent parameters (see palMappa): (0-3) not used (4-6) not used (7) not used (8-10) abv: barycentric Earth velocity in units of c (11) sqrt(1-v$*$$*$2) where v=modulus(abv) (12-20) precession/nutation (3,3) matrix } \sstsubsection{ ra = double $*$ (Returned) }{ Apparent RA (radians). } \sstsubsection{ da = double $*$ (Returned) }{ Apparent Dec (radians). } } } \sstroutine{ palNut }{ Form the matrix of nutation }{ \sstdescription{ Form the matrix of nutation for a given date using the IAU 2006 nutation model and palDeuler. } \sstinvocation{ void palNut( double date, double rmatn[3][3] ); } \sstarguments{ \sstsubsection{ date = double (Given) }{ TT as modified Julian date (JD-2400000.5) } \sstsubsection{ rmatn = double [3][3] (Returned) }{ Nutation matrix in the sense v(true)=rmatn $*$ v(mean) where v(true) is the star vector relative to the true equator and equinox of date and v(mean) is the star vector relative to the mean equator and equinox of date. } } \sstnotes{ \sstitemlist{ \sstitem Uses iauNut06a via palNutc \sstitem The distinction between TDB and TT is negligible. For all but the most critical applications UTC is adequate. } } } \sstroutine{ palNutc }{ Calculate nutation longitude \& obliquoty components }{ \sstdescription{ Calculates the longitude $*$ obliquity components and mean obliquity using the SOFA library. } \sstinvocation{ void palNutc( double date, double $*$ dpsi, double $*$deps, double $*$eps0 ); } \sstarguments{ \sstsubsection{ date = double (Given) }{ TT as modified Julian date (JD-2400000.5) } \sstsubsection{ dpsi = double $*$ (Returned) }{ Nutation in longitude } \sstsubsection{ deps = double $*$ (Returned) }{ Nutation in obliquity } \sstsubsection{ eps0 = double $*$ (Returned) }{ Mean obliquity. } } \sstnotes{ \sstitemlist{ \sstitem Calls iauObl06 and iauNut06a and therefore uses the IAU 206 precession/nutation model. \sstitem Note the change from SLA/F regarding the date. TT is used rather than TDB. } } } \sstroutine{ palObs }{ Parameters of selected ground-based observing stations }{ \sstdescription{ Station numbers, identifiers, names and other details are subject to change and should not be hardwired into application programs. All characters in {\tt "}c{\tt "} up to the first space are checked; thus an abbreviated ID will return the parameters for the first station in the list which matches the abbreviation supplied, and no station in the list will ever contain embedded spaces. {\tt "}c{\tt "} must not have leading spaces. IMPORTANT -- BEWARE OF THE LONGITUDE SIGN CONVENTION. The longitude returned by sla\_OBS is west-positive in accordance with astronomical usage. However, this sign convention is left-handed and is the opposite of the one used by geographers; elsewhere in PAL the preferable east-positive convention is used. In particular, note that for use in palAop, palAoppa and palOap the sign of the longitude must be reversed. Users are urged to inform the author of any improvements they would like to see made. For example: typographical corrections more accurate parameters better station identifiers or names additional stations } \sstinvocation{ int palObs( size\_t n, const char $*$ c, char $*$ ident, size\_t identlen, char $*$ name, size\_t namelen, double $*$ w, double $*$ p, double $*$ h ); } \sstarguments{ \sstsubsection{ n = size\_t (Given) }{ Number specifying the observing station. If 0 the identifier in {\tt "}c{\tt "} is used to determine the observing station to use. } \sstsubsection{ c = const char $*$ (Given) }{ Identifier specifying the observing station for which the parameters should be returned. Only used if n is 0. Can be NULL for n$>$0. Case insensitive. } \sstsubsection{ ident = char $*$ (Returned) }{ Identifier of the observing station selected. Will be identical to {\tt "}c{\tt "} if n==0. Unchanged if {\tt "}n{\tt "} or {\tt "}c{\tt "} do not match an observing station. Should be at least 11 characters (including the trailing nul). } \sstsubsection{ identlen = size\_t (Given) }{ Size of the buffer {\tt "}ident{\tt "} including trailing nul. } \sstsubsection{ name = char $*$ (Returned) }{ Full name of the specified observing station. Contains {\tt "}?{\tt "} if {\tt "}n{\tt "} or {\tt "}c{\tt "} did not correspond to a valid station. Should be at least 41 characters (including the trailing nul). } \sstsubsection{ w = double $*$ (Returned) }{ Longitude (radians, West $+$ve). Unchanged if observing station could not be identified. } \sstsubsection{ p = double $*$ (Returned) }{ Geodetic latitude (radians, North $+$ve). Unchanged if observing station could not be identified. } \sstsubsection{ h = double $*$ (Returned) }{ Height above sea level (metres). Unchanged if observing station could not be identified. } } \sstreturnedvalue{ \sstsubsection{ palObs = int }{ 0 if an observing station was returned. -1 if no match was found. } } \sstnotes{ \sstitemlist{ \sstitem Differs from the SLA interface in that the output short name is not the same variable as the input short name. This simplifies consting. Additionally the size of the output buffers are now specified in the API and a status integer is returned. } } } \sstroutine{ palPa }{ HA, Dec to Parallactic Angle }{ \sstdescription{ Converts HA, Dec to Parallactic Angle. } \sstinvocation{ double palPa( double ha, double dec, double phi ); } \sstarguments{ \sstsubsection{ ha = double (Given) }{ Hour angle in radians (Geocentric apparent) } \sstsubsection{ dec = double (Given) }{ Declination in radians (Geocentric apparent) } \sstsubsection{ phi = double (Given) }{ Observatory latitude in radians (geodetic) } } \sstreturnedvalue{ \sstsubsection{ palPa = double }{ Parallactic angle in the range -pi to $+$pi. } } \sstnotes{ \sstitemlist{ \sstitem The parallactic angle at a point in the sky is the position angle of the vertical, i.e. the angle between the direction to the pole and to the zenith. In precise applications care must be taken only to use geocentric apparent HA,Dec and to consider separately the effects of atmospheric refraction and telescope mount errors. \sstitem At the pole a zero result is returned. } } } \sstroutine{ palPertel }{ Update elements by applying planetary perturbations }{ \sstdescription{ Update the osculating orbital elements of an asteroid or comet by applying planetary perturbations. } \sstinvocation{ void palPertel (int jform, double date0, double date1, double epoch0, double orbi0, double anode0, double perih0, double aorq0, double e0, double am0, double $*$epoch1, double $*$orbi1, double $*$anode1, double $*$perih1, double $*$aorq1, double $*$e1, double $*$am1, int $*$jstat ); } \sstarguments{ \sstsubsection{ jform = int (Given) }{ Element set actually returned (1-3; Note 6) } \sstsubsection{ date0 = double (Given) }{ Date of osculation (TT MJD) for the given elements. } \sstsubsection{ date1 = double (Given) }{ Date of osculation (TT MJD) for the updated elements. } \sstsubsection{ epoch0 = double (Given) }{ Epoch of elements (TT MJD) } \sstsubsection{ orbi0 = double (Given) }{ inclination (radians) } \sstsubsection{ anode0 = double (Given) }{ longitude of the ascending node (radians) } \sstsubsection{ perih0 = double (Given) }{ longitude or argument of perihelion (radians) } \sstsubsection{ aorq0 = double (Given) }{ mean distance or perihelion distance (AU) } \sstsubsection{ e0 = double (Given) }{ eccentricity } \sstsubsection{ am0 = double (Given) }{ mean anomaly (radians, JFORM=2 only) } \sstsubsection{ epoch1 = double $*$ (Returned) }{ Epoch of elements (TT MJD) } \sstsubsection{ orbi1 = double $*$ (Returned) }{ inclination (radians) } \sstsubsection{ anode1 = double $*$ (Returned) }{ longitude of the ascending node (radians) } \sstsubsection{ perih1 = double $*$ (Returned) }{ longitude or argument of perihelion (radians) } \sstsubsection{ aorq1 = double $*$ (Returned) }{ mean distance or perihelion distance (AU) } \sstsubsection{ e1 = double $*$ (Returned) }{ eccentricity } \sstsubsection{ am1 = double $*$ (Returned) }{ mean anomaly (radians, JFORM=2 only) } \sstsubsection{ jstat = int $*$ (Returned) }{ status: \sstitemlist{ \sstitem $+$102 = warning, distant epoch \sstitem $+$101 = warning, large timespan ( $>$ 100 years) \sstitem $+$1 to $+$10 = coincident with planet (Note 6) \sstitem 0 = OK \sstitem -1 = illegal JFORM \sstitem -2 = illegal E0 \sstitem -3 = illegal AORQ0 \sstitem -4 = internal error \sstitem -5 = numerical error } } } \sstnotes{ \sstitemlist{ \sstitem Two different element-format options are available: } Option JFORM=2, suitable for minor planets: EPOCH = epoch of elements (TT MJD) ORBI = inclination i (radians) ANODE = longitude of the ascending node, big omega (radians) PERIH = argument of perihelion, little omega (radians) AORQ = mean distance, a (AU) E = eccentricity, e AM = mean anomaly M (radians) Option JFORM=3, suitable for comets: EPOCH = epoch of perihelion (TT MJD) ORBI = inclination i (radians) ANODE = longitude of the ascending node, big omega (radians) PERIH = argument of perihelion, little omega (radians) AORQ = perihelion distance, q (AU) E = eccentricity, e \sstitemlist{ \sstitem DATE0, DATE1, EPOCH0 and EPOCH1 are all instants of time in the TT timescale (formerly Ephemeris Time, ET), expressed as Modified Julian Dates (JD-2400000.5). } DATE0 is the instant at which the given (i.e. unperturbed) osculating elements are correct. DATE1 is the specified instant at which the updated osculating elements are correct. EPOCH0 and EPOCH1 will be the same as DATE0 and DATE1 (respectively) for the JFORM=2 case, normally used for minor planets. For the JFORM=3 case, the two epochs will refer to perihelion passage and so will not, in general, be the same as DATE0 and/or DATE1 though they may be similar to one another. \sstitemlist{ \sstitem The elements are with respect to the J2000 ecliptic and equinox. \sstitem Unused elements (AM0 and AM1 for JFORM=3) are not accessed. \sstitem See the palPertue routine for details of the algorithm used. \sstitem This routine is not intended to be used for major planets, which is why JFORM=1 is not available and why there is no opportunity to specify either the longitude of perihelion or the daily motion. However, if JFORM=2 elements are somehow obtained for a major planet and supplied to the routine, sensible results will, in fact, be produced. This happens because the sla\_PERTUE routine that is called to perform the calculations checks the separation between the body and each of the planets and interprets a suspiciously small value (0.001 AU) as an attempt to apply it to the planet concerned. If this condition is detected, the contribution from that planet is ignored, and the status is set to the planet number (1-10 = Mercury, Venus, EMB, Mars, Jupiter, Saturn, Uranus, Neptune, Earth, Moon) as a warning. } } \sstdiytopic{ See Also }{ \sstitemlist{ \sstitem Sterne, Theodore E., {\tt "}An Introduction to Celestial Mechanics{\tt "}, Interscience Publishers Inc., 1960. Section 6.7, p199. } } } \sstroutine{ palPertue }{ Update the universal elements by applying planetary perturbations }{ \sstdescription{ Update the universal elements of an asteroid or comet by applying planetary perturbations. } \sstinvocation{ void palPertue( double date, double u[13], int $*$jstat ); } \sstarguments{ \sstsubsection{ date = double (Given) }{ Final epoch (TT MJD) for the update elements. } \sstsubsection{ u = const double [13] (Given \& Returned) }{ Universal orbital elements (Note 1) (0) combined mass (M$+$m) (1) total energy of the orbit (alpha) (2) reference (osculating) epoch (t0) (3-5) position at reference epoch (r0) (6-8) velocity at reference epoch (v0) (9) heliocentric distance at reference epoch (10) r0.v0 (11) date (t) (12) universal eccentric anomaly (psi) of date, approx } \sstsubsection{ jstat = int $*$ (Returned) }{ status: $+$102 = warning, distant epoch $+$101 = warning, large timespan ( $>$ 100 years) $+$1 to $+$10 = coincident with major planet (Note 5) 0 = OK \sstitemlist{ \sstitem 1 = numerical error } } } \sstnotes{ \sstitemlist{ \sstitem The {\tt "}universal{\tt "} elements are those which define the orbit for the purposes of the method of universal variables (see reference 2). They consist of the combined mass of the two bodies, an epoch, and the position and velocity vectors (arbitrary reference frame) at that epoch. The parameter set used here includes also various quantities that can, in fact, be derived from the other information. This approach is taken to avoiding unnecessary computation and loss of accuracy. The supplementary quantities are (i) alpha, which is proportional to the total energy of the orbit, (ii) the heliocentric distance at epoch, (iii) the outwards component of the velocity at the given epoch, (iv) an estimate of psi, the {\tt "}universal eccentric anomaly{\tt "} at a given date and (v) that date. \sstitem The universal elements are with respect to the J2000 equator and equinox. \sstitem The epochs DATE, U(3) and U(12) are all Modified Julian Dates (JD-2400000.5). \sstitem The algorithm is a simplified form of Encke{\tt '}s method. It takes as a basis the unperturbed motion of the body, and numerically integrates the perturbing accelerations from the major planets. The expression used is essentially Sterne{\tt '}s 6.7-2 (reference 1). Everhart and Pitkin (reference 2) suggest rectifying the orbit at each integration step by propagating the new perturbed position and velocity as the new universal variables. In the present routine the orbit is rectified less frequently than this, in order to gain a slight speed advantage. However, the rectification is done directly in terms of position and velocity, as suggested by Everhart and Pitkin, bypassing the use of conventional orbital elements. } The f(q) part of the full Encke method is not used. The purpose of this part is to avoid subtracting two nearly equal quantities when calculating the {\tt "}indirect member{\tt "}, which takes account of the small change in the Sun{\tt '}s attraction due to the slightly displaced position of the perturbed body. A simpler, direct calculation in double precision proves to be faster and not significantly less accurate. Apart from employing a variable timestep, and occasionally {\tt "}rectifying the orbit{\tt "} to keep the indirect member small, the integration is done in a fairly straightforward way. The acceleration estimated for the middle of the timestep is assumed to apply throughout that timestep; it is also used in the extrapolation of the perturbations to the middle of the next timestep, to predict the new disturbed position. There is no iteration within a timestep. Measures are taken to reach a compromise between execution time and accuracy. The starting-point is the goal of achieving arcsecond accuracy for ordinary minor planets over a ten-year timespan. This goal dictates how large the timesteps can be, which in turn dictates how frequently the unperturbed motion has to be recalculated from the osculating elements. Within predetermined limits, the timestep for the numerical integration is varied in length in inverse proportion to the magnitude of the net acceleration on the body from the major planets. The numerical integration requires estimates of the major-planet motions. Approximate positions for the major planets (Pluto alone is omitted) are obtained from the routine palPlanet. Two levels of interpolation are used, to enhance speed without significantly degrading accuracy. At a low frequency, the routine palPlanet is called to generate updated position$+$velocity {\tt "}state vectors{\tt "}. The only task remaining to be carried out at the full frequency (i.e. at each integration step) is to use the state vectors to extrapolate the planetary positions. In place of a strictly linear extrapolation, some allowance is made for the curvature of the orbit by scaling back the radius vector as the linear extrapolation goes off at a tangent. Various other approximations are made. For example, perturbations by Pluto and the minor planets are neglected and relativistic effects are not taken into account. In the interests of simplicity, the background calculations for the major planets are carried out en masse. The mean elements and state vectors for all the planets are refreshed at the same time, without regard for orbit curvature, mass or proximity. The Earth-Moon system is treated as a single body when the body is distant but as separate bodies when closer to the EMB than the parameter RNE, which incurs a time penalty but improves accuracy for near-Earth objects. \sstitemlist{ \sstitem This routine is not intended to be used for major planets. However, if major-planet elements are supplied, sensible results will, in fact, be produced. This happens because the routine checks the separation between the body and each of the planets and interprets a suspiciously small value (0.001 AU) as an attempt to apply the routine to the planet concerned. If this condition is detected, the contribution from that planet is ignored, and the status is set to the planet number (1-10 = Mercury, Venus, EMB, Mars, Jupiter, Saturn, Uranus, Neptune, Earth, Moon) as a warning. } } \sstdiytopic{ See Also }{ \sstitemlist{ \sstitem Sterne, Theodore E., {\tt "}An Introduction to Celestial Mechanics{\tt "}, Interscience Publishers Inc., 1960. Section 6.7, p199. \sstitem Everhart, E. \& Pitkin, E.T., Am.J.Phys. 51, 712, 1983. } } } \sstroutine{ palPlanel }{ Transform conventional elements into position and velocity }{ \sstdescription{ Heliocentric position and velocity of a planet, asteroid or comet, starting from orbital elements. } \sstinvocation{ void palPlanel ( double date, int jform, double epoch, double orbinc, double anode, double perih, double aorq, double e, double aorl, double dm, double pv[6], int $*$jstat ); } \sstarguments{ \sstsubsection{ date = double (Given) }{ Epoch (TT MJD) of osculation (Note 1) } \sstsubsection{ jform = int (Given) }{ Element set actually returned (1-3; Note 3) } \sstsubsection{ epoch = double (Given) }{ Epoch of elements (TT MJD) (Note 4) } \sstsubsection{ orbinc = double (Given) }{ inclination (radians) } \sstsubsection{ anode = double (Given) }{ longitude of the ascending node (radians) } \sstsubsection{ perih = double (Given) }{ longitude or argument of perihelion (radians) } \sstsubsection{ aorq = double (Given) }{ mean distance or perihelion distance (AU) } \sstsubsection{ e = double (Given) }{ eccentricity } \sstsubsection{ aorl = double (Given) }{ mean anomaly or longitude (radians, JFORM=1,2 only) } \sstsubsection{ dm = double (Given) }{ daily motion (radians, JFORM=1 only) } \sstsubsection{ u = double [13] (Returned) }{ Universal orbital elements (Note 1) (0) combined mass (M$+$m) (1) total energy of the orbit (alpha) (2) reference (osculating) epoch (t0) (3-5) position at reference epoch (r0) (6-8) velocity at reference epoch (v0) (9) heliocentric distance at reference epoch (10) r0.v0 (11) date (t) (12) universal eccentric anomaly (psi) of date, approx } \sstsubsection{ jstat = int $*$ (Returned) }{ status: 0 = OK \sstitemlist{ \sstitem -1 = illegal JFORM \sstitem -2 = illegal E \sstitem -3 = illegal AORQ \sstitem -4 = illegal DM \sstitem -5 = numerical error } } } \sstnotes{ \sstitemlist{ \sstitem DATE is the instant for which the prediction is required. It is in the TT timescale (formerly Ephemeris Time, ET) and is a Modified Julian Date (JD-2400000.5). \sstitem The elements are with respect to the J2000 ecliptic and equinox. \sstitem A choice of three different element-set options is available: } Option JFORM = 1, suitable for the major planets: EPOCH = epoch of elements (TT MJD) ORBINC = inclination i (radians) ANODE = longitude of the ascending node, big omega (radians) PERIH = longitude of perihelion, curly pi (radians) AORQ = mean distance, a (AU) E = eccentricity, e (range 0 to $<$1) AORL = mean longitude L (radians) DM = daily motion (radians) Option JFORM = 2, suitable for minor planets: EPOCH = epoch of elements (TT MJD) ORBINC = inclination i (radians) ANODE = longitude of the ascending node, big omega (radians) PERIH = argument of perihelion, little omega (radians) AORQ = mean distance, a (AU) E = eccentricity, e (range 0 to $<$1) AORL = mean anomaly M (radians) Option JFORM = 3, suitable for comets: EPOCH = epoch of elements and perihelion (TT MJD) ORBINC = inclination i (radians) ANODE = longitude of the ascending node, big omega (radians) PERIH = argument of perihelion, little omega (radians) AORQ = perihelion distance, q (AU) E = eccentricity, e (range 0 to 10) Unused arguments (DM for JFORM=2, AORL and DM for JFORM=3) are not accessed. \sstitemlist{ \sstitem Each of the three element sets defines an unperturbed heliocentric orbit. For a given epoch of observation, the position of the body in its orbit can be predicted from these elements, which are called {\tt "}osculating elements{\tt "}, using standard two-body analytical solutions. However, due to planetary perturbations, a given set of osculating elements remains usable for only as long as the unperturbed orbit that it describes is an adequate approximation to reality. Attached to such a set of elements is a date called the {\tt "}osculating epoch{\tt "}, at which the elements are, momentarily, a perfect representation of the instantaneous position and velocity of the body. } Therefore, for any given problem there are up to three different epochs in play, and it is vital to distinguish clearly between them: . The epoch of observation: the moment in time for which the position of the body is to be predicted. . The epoch defining the position of the body: the moment in time at which, in the absence of purturbations, the specified position (mean longitude, mean anomaly, or perihelion) is reached. . The osculating epoch: the moment in time at which the given elements are correct. For the major-planet and minor-planet cases it is usual to make the epoch that defines the position of the body the same as the epoch of osculation. Thus, only two different epochs are involved: the epoch of the elements and the epoch of observation. For comets, the epoch of perihelion fixes the position in the orbit and in general a different epoch of osculation will be chosen. Thus, all three types of epoch are involved. For the present routine: . The epoch of observation is the argument DATE. . The epoch defining the position of the body is the argument EPOCH. . The osculating epoch is not used and is assumed to be close enough to the epoch of observation to deliver adequate accuracy. If not, a preliminary call to sla\_PERTEL may be used to update the element-set (and its associated osculating epoch) by applying planetary perturbations. \sstitemlist{ \sstitem The reference frame for the result is with respect to the mean equator and equinox of epoch J2000. \sstitem The algorithm was originally adapted from the EPHSLA program of D.H.P.Jones (private communication, 1996). The method is based on Stumpff{\tt '}s Universal Variables. } } \sstdiytopic{ See Also }{ Everhart, E. \& Pitkin, E.T., Am.J.Phys. 51, 712, 1983. } } \sstroutine{ palPlanet }{ Approximate heliocentric position and velocity of major planet }{ \sstdescription{ Calculates the approximate heliocentric position and velocity of the specified major planet. } \sstinvocation{ void palPlanet ( double date, int np, double pv[6], int $*$j ); } \sstarguments{ \sstsubsection{ date = double (Given) }{ TDB Modified Julian Date (JD-2400000.5). } \sstsubsection{ np = int (Given) }{ planet (1=Mercury, 2=Venus, 3=EMB, 4=Mars, 5=Jupiter, 6=Saturn, 7=Uranus, 8=Neptune) } \sstsubsection{ pv = double [6] (Returned) }{ heliocentric x,y,z,xdot,ydot,zdot, J2000, equatorial triad in units AU and AU/s. } \sstsubsection{ j = int $*$ (Returned) }{ \sstitemlist{ \sstitem -2 = solution didn{\tt '}t converge. \sstitem -1 = illegal np (1-8) \sstitem 0 = OK \sstitem $+$1 = warning: year outside 1000-3000 } } } \sstnotes{ \sstitemlist{ \sstitem See SOFA iauPlan94 for details \sstitem Note that Pluto is supported in SLA/F but not in this routine \sstitem Status -2 is equivalent to iauPlan94 status $+$2. \sstitem Note that velocity units here match the SLA/F documentation. } } } \sstroutine{ palPlante }{ Topocentric RA,Dec of a Solar-System object from heliocentric orbital elements }{ \sstdescription{ Topocentric apparent RA,Dec of a Solar-System object whose heliocentric orbital elements are known. } \sstinvocation{ void palPlante ( double date, double elong, double phi, int jform, double epoch, double orbinc, double anode, double perih, double aorq, double e, double aorl, double dm, double $*$ra, double $*$dec, double $*$r, int $*$jstat ); } \sstarguments{ \sstsubsection{ date = double (Given) }{ TT MJD of observation (JD-2400000.5) } \sstsubsection{ elong = double (Given) }{ Observer{\tt '}s east longitude (radians) } \sstsubsection{ phi = double (Given) }{ Observer{\tt '}s geodetic latitude (radians) } \sstsubsection{ jform = int (Given) }{ Element set actually returned (1-3; Note 6) } \sstsubsection{ epoch = double (Given) }{ Epoch of elements (TT MJD) } \sstsubsection{ orbinc = double (Given) }{ inclination (radians) } \sstsubsection{ anode = double (Given) }{ longitude of the ascending node (radians) } \sstsubsection{ perih = double (Given) }{ longitude or argument of perihelion (radians) } \sstsubsection{ aorq = double (Given) }{ mean distance or perihelion distance (AU) } \sstsubsection{ e = double (Given) }{ eccentricity } \sstsubsection{ aorl = double (Given) }{ mean anomaly or longitude (radians, JFORM=1,2 only) } \sstsubsection{ dm = double (Given) }{ daily motion (radians, JFORM=1 only) } \sstsubsection{ ra = double $*$ (Returned) }{ Topocentric apparent RA (radians) } \sstsubsection{ dec = double $*$ (Returned) }{ Topocentric apparent Dec (radians) } \sstsubsection{ r = double $*$ (Returned) }{ Distance from observer (AU) } \sstsubsection{ jstat = int $*$ (Returned) }{ status: 0 = OK \sstitemlist{ \sstitem -1 = illegal jform \sstitem -2 = illegal e \sstitem -3 = illegal aorq \sstitem -4 = illegal dm \sstitem -5 = numerical error } } } \sstnotes{ \sstitemlist{ \sstitem DATE is the instant for which the prediction is required. It is in the TT timescale (formerly Ephemeris Time, ET) and is a Modified Julian Date (JD-2400000.5). \sstitem The longitude and latitude allow correction for geocentric parallax. This is usually a small effect, but can become important for near-Earth asteroids. Geocentric positions can be generated by appropriate use of routines palEpv (or palEvp) and palUe2pv. \sstitem The elements are with respect to the J2000 ecliptic and equinox. \sstitem A choice of three different element-set options is available: } Option JFORM = 1, suitable for the major planets: EPOCH = epoch of elements (TT MJD) ORBINC = inclination i (radians) ANODE = longitude of the ascending node, big omega (radians) PERIH = longitude of perihelion, curly pi (radians) AORQ = mean distance, a (AU) E = eccentricity, e (range 0 to $<$1) AORL = mean longitude L (radians) DM = daily motion (radians) Option JFORM = 2, suitable for minor planets: EPOCH = epoch of elements (TT MJD) ORBINC = inclination i (radians) ANODE = longitude of the ascending node, big omega (radians) PERIH = argument of perihelion, little omega (radians) AORQ = mean distance, a (AU) E = eccentricity, e (range 0 to $<$1) AORL = mean anomaly M (radians) Option JFORM = 3, suitable for comets: EPOCH = epoch of elements and perihelion (TT MJD) ORBINC = inclination i (radians) ANODE = longitude of the ascending node, big omega (radians) PERIH = argument of perihelion, little omega (radians) AORQ = perihelion distance, q (AU) E = eccentricity, e (range 0 to 10) Unused arguments (DM for JFORM=2, AORL and DM for JFORM=3) are not accessed. \sstitemlist{ \sstitem Each of the three element sets defines an unperturbed heliocentric orbit. For a given epoch of observation, the position of the body in its orbit can be predicted from these elements, which are called {\tt "}osculating elements{\tt "}, using standard two-body analytical solutions. However, due to planetary perturbations, a given set of osculating elements remains usable for only as long as the unperturbed orbit that it describes is an adequate approximation to reality. Attached to such a set of elements is a date called the {\tt "}osculating epoch{\tt "}, at which the elements are, momentarily, a perfect representation of the instantaneous position and velocity of the body. } Therefore, for any given problem there are up to three different epochs in play, and it is vital to distinguish clearly between them: . The epoch of observation: the moment in time for which the position of the body is to be predicted. . The epoch defining the position of the body: the moment in time at which, in the absence of purturbations, the specified position (mean longitude, mean anomaly, or perihelion) is reached. . The osculating epoch: the moment in time at which the given elements are correct. For the major-planet and minor-planet cases it is usual to make the epoch that defines the position of the body the same as the epoch of osculation. Thus, only two different epochs are involved: the epoch of the elements and the epoch of observation. For comets, the epoch of perihelion fixes the position in the orbit and in general a different epoch of osculation will be chosen. Thus, all three types of epoch are involved. For the present routine: . The epoch of observation is the argument DATE. . The epoch defining the position of the body is the argument EPOCH. . The osculating epoch is not used and is assumed to be close enough to the epoch of observation to deliver adequate accuracy. If not, a preliminary call to sla\_PERTEL may be used to update the element-set (and its associated osculating epoch) by applying planetary perturbations. \sstitemlist{ \sstitem Two important sources for orbital elements are Horizons, operated by the Jet Propulsion Laboratory, Pasadena, and the Minor Planet Center, operated by the Center for Astrophysics, Harvard. } The JPL Horizons elements (heliocentric, J2000 ecliptic and equinox) correspond to SLALIB arguments as follows. Major planets: JFORM = 1 EPOCH = JDCT-2400000.5 ORBINC = IN (in radians) ANODE = OM (in radians) PERIH = OM$+$W (in radians) AORQ = A E = EC AORL = MA$+$OM$+$W (in radians) DM = N (in radians) Epoch of osculation = JDCT-2400000.5 Minor planets: JFORM = 2 EPOCH = JDCT-2400000.5 ORBINC = IN (in radians) ANODE = OM (in radians) PERIH = W (in radians) AORQ = A E = EC AORL = MA (in radians) Epoch of osculation = JDCT-2400000.5 Comets: JFORM = 3 EPOCH = Tp-2400000.5 ORBINC = IN (in radians) ANODE = OM (in radians) PERIH = W (in radians) AORQ = QR E = EC Epoch of osculation = JDCT-2400000.5 The MPC elements correspond to SLALIB arguments as follows. Minor planets: JFORM = 2 EPOCH = Epoch-2400000.5 ORBINC = Incl. (in radians) ANODE = Node (in radians) PERIH = Perih. (in radians) AORQ = a E = e AORL = M (in radians) Epoch of osculation = Epoch-2400000.5 Comets: JFORM = 3 EPOCH = T-2400000.5 ORBINC = Incl. (in radians) ANODE = Node. (in radians) PERIH = Perih. (in radians) AORQ = q E = e Epoch of osculation = Epoch-2400000.5 } } \sstroutine{ palPlantu }{ Topocentric RA,Dec of a Solar-System object from universal elements }{ \sstdescription{ Topocentric apparent RA,Dec of a Solar-System object whose heliocentric universal elements are known. } \sstinvocation{ void palPlantu ( double date, double elong, double phi, const double u[13], double $*$ra, double $*$dec, double $*$r, int $*$jstat ) \{ } \sstarguments{ \sstsubsection{ date = double (Given) }{ TT MJD of observation (JD-2400000.5) } \sstsubsection{ elong = double (Given) }{ Observer{\tt '}s east longitude (radians) } \sstsubsection{ phi = double (Given) }{ Observer{\tt '}s geodetic latitude (radians) } \sstsubsection{ u = const double [13] (Given) }{ Universal orbital elements \sstitemlist{ \sstitem (0) combined mass (M$+$m) \sstitem (1) total energy of the orbit (alpha) \sstitem (2) reference (osculating) epoch (t0) \sstitem (3-5) position at reference epoch (r0) \sstitem (6-8) velocity at reference epoch (v0) \sstitem (9) heliocentric distance at reference epoch \sstitem (10) r0.v0 \sstitem (11) date (t) \sstitem (12) universal eccentric anomaly (psi) of date, approx } } \sstsubsection{ ra = double $*$ (Returned) }{ Topocentric apparent RA (radians) } \sstsubsection{ dec = double $*$ (Returned) }{ Topocentric apparent Dec (radians) } \sstsubsection{ r = double $*$ (Returned) }{ Distance from observer (AU) } \sstsubsection{ jstat = int $*$ (Returned) }{ status: 0 = OK \sstitemlist{ \sstitem -1 = radius vector zero \sstitem -2 = failed to converge } } } \sstnotes{ \sstitemlist{ \sstitem DATE is the instant for which the prediction is required. It is in the TT timescale (formerly Ephemeris Time, ET) and is a Modified Julian Date (JD-2400000.5). \sstitem The longitude and latitude allow correction for geocentric parallax. This is usually a small effect, but can become important for near-Earth asteroids. Geocentric positions can be generated by appropriate use of routines palEpv (or palEvp) and palUe2pv. \sstitem The {\tt "}universal{\tt "} elements are those which define the orbit for the purposes of the method of universal variables (see reference 2). They consist of the combined mass of the two bodies, an epoch, and the position and velocity vectors (arbitrary reference frame) at that epoch. The parameter set used here includes also various quantities that can, in fact, be derived from the other information. This approach is taken to avoiding unnecessary computation and loss of accuracy. The supplementary quantities are (i) alpha, which is proportional to the total energy of the orbit, (ii) the heliocentric distance at epoch, (iii) the outwards component of the velocity at the given epoch, (iv) an estimate of psi, the {\tt "}universal eccentric anomaly{\tt "} at a given date and (v) that date. \sstitem The universal elements are with respect to the J2000 equator and equinox. } } \sstdiytopic{ See Also }{ \sstitemlist{ \sstitem Sterne, Theodore E., {\tt "}An Introduction to Celestial Mechanics{\tt "}, Interscience Publishers Inc., 1960. Section 6.7, p199. \sstitem Everhart, E. \& Pitkin, E.T., Am.J.Phys. 51, 712, 1983. } } } \sstroutine{ palPm }{ Apply corrections for proper motion a star RA,Dec }{ \sstdescription{ Apply corrections for proper motion to a star RA,Dec using the SOFA routine iauStarpm. } \sstinvocation{ void palPm ( double r0, double d0, double pr, double pd, double px, double rv, double ep0, double ep1, double $*$r1, double $*$d1 ); } \sstarguments{ \sstsubsection{ r0 = double (Given) }{ RA at epoch ep0 (radians) } \sstsubsection{ d0 = double (Given) }{ Dec at epoch ep0 (radians) } \sstsubsection{ pr = double (Given) }{ RA proper motion in radians per year. } \sstsubsection{ pd = double (Given) }{ Dec proper motion in radians per year. } \sstsubsection{ px = double (Given) }{ Parallax (arcsec) } \sstsubsection{ rv = double (Given) }{ Radial velocity (km/sec $+$ve if receding) } \sstsubsection{ ep0 = double (Given) }{ Start epoch in years, assumed to be Julian. } \sstsubsection{ ep1 = double (Given) }{ End epoch in years, assumed to be Julian. } \sstsubsection{ r1 = double $*$ (Returned) }{ RA at epoch ep1 (radians) } \sstsubsection{ d1 = double $*$ (Returned) }{ Dec at epoch ep1 (radians) } } \sstnotes{ \sstitemlist{ \sstitem Uses iauStarpm but ignores the status returns from that routine. In particular note that parallax should not be zero when the proper motions are non-zero. SLA/F allows parallax to be zero. \sstitem Assumes all epochs are Julian epochs. } } } \sstroutine{ palPrebn }{ Generate the matrix of precession between two objects (old) }{ \sstdescription{ Generate the matrix of precession between two epochs, using the old, pre-IAU1976, Bessel-Newcomb model, using Kinoshita{\tt '}s formulation } \sstinvocation{ void palPrebn ( double bep0, double bep1, double rmatp[3][3] ); } \sstarguments{ \sstsubsection{ bep0 = double (Given) }{ Beginning Besselian epoch. } \sstsubsection{ bep1 = double (Given) }{ Ending Besselian epoch } \sstsubsection{ rmatp = double[3][3] (Returned) }{ precession matrix in the sense V(BEP1) = RMATP $*$ V(BEP0) } } \sstdiytopic{ See Also }{ Kinoshita, H. (1975) {\tt '}Formulas for precession{\tt '}, SAO Special Report No. 364, Smithsonian Institution Astrophysical Observatory, Cambridge, Massachusetts. } } \sstroutine{ palPrec }{ Form the matrix of precession between two epochs (IAU 2006) }{ \sstdescription{ The IAU 2006 precession matrix from ep0 to ep1 is found and returned. The matrix is in the sense V(EP1) = RMATP $*$ V(EP0). The epochs are TDB (loosely TT) Julian epochs. Though the matrix method itself is rigorous, the precession angles are expressed through canonical polynomials which are valid only for a limited time span of a few hundred years around the current epoch. } \sstinvocation{ palPrec( double ep0, double ep1, double rmatp[3][3] ) } \sstarguments{ \sstsubsection{ ep0 = double (Given) }{ Beginning epoch } \sstsubsection{ ep1 = double (Given) }{ Ending epoch } \sstsubsection{ rmatp = double[3][3] (Returned) }{ Precession matrix } } } \sstroutine{ palPreces }{ Precession - either FK4 or FK5 as required }{ \sstdescription{ Precess coordinates using the appropriate system and epochs. } \sstinvocation{ void palPreces ( const char sys[3], double ep0, double ep1, double $*$ra, double $*$dc ); } \sstarguments{ \sstsubsection{ sys = const char [3] (Given) }{ Precession to be applied: FK4 or FK5. Case insensitive. } \sstsubsection{ ep0 = double (Given) }{ Starting epoch. } \sstsubsection{ ep1 = double (Given) }{ Ending epoch } \sstsubsection{ ra = double $*$ (Given \& Returned) }{ On input the RA mean equator \& equinox at epoch ep0. On exit the RA mean equator \& equinox of epoch ep1. } \sstsubsection{ dec = double $*$ (Given \& Returned) }{ On input the dec mean equator \& equinox at epoch ep0. On exit the dec mean equator \& equinox of epoch ep1. } } \sstnotes{ \sstitemlist{ \sstitem Uses palPrec for FK5 data and palPrebn for FK4 data. \sstitem The epochs are Besselian if SYSTEM={\tt '}FK4{\tt '} and Julian if {\tt '}FK5{\tt '}. For example, to precess coordinates in the old system from equinox 1900.0 to 1950.0 the call would be: palPreces( {\tt "}FK4{\tt "}, 1900.0, 1950.0, \&ra, \&dc ); \sstitem This routine will NOT correctly convert between the old and the new systems - for example conversion from B1950 to J2000. For these purposes see palFk425, palFk524, palFk45z and palFk54z. \sstitem If an invalid SYSTEM is supplied, values of -99D0,-99D0 will be returned for both RA and DC. } } } \sstroutine{ palPrenut }{ Form the matrix of bias-precession-nutation (IAU 2006/2000A) }{ \sstdescription{ Form the matrix of bias-precession-nutation (IAU 2006/2000A). The epoch and date are TT (but TDB is usually close enough). The matrix is in the sense v(true) = rmatpn $*$ v(mean). } \sstinvocation{ void palPrenut( double epoch, double date, double rmatpn[3][3] ) } \sstarguments{ \sstsubsection{ epoch = double (Returned) }{ Julian epoch for mean coordinates. } \sstsubsection{ date = double (Returned) }{ Modified Julian Date (JD-2400000.5) for true coordinates. } \sstsubsection{ rmatpn = double[3][3] (Returned) }{ combined NPB matrix } } } \sstroutine{ palPv2el }{ Position velocity to heliocentirc osculating elements }{ \sstdescription{ Heliocentric osculating elements obtained from instantaneous position and velocity. } \sstinvocation{ void palPv2el ( const double pv[6], double date, double pmass, int jformr, int $*$jform, double $*$epoch, double $*$orbinc, double $*$anode, double $*$perih, double $*$aorq, double $*$e, double $*$aorl, double $*$dm, int $*$jstat ); } \sstarguments{ \sstsubsection{ pv = const double [6] (Given) }{ Heliocentric x,y,z,xdot,ydot,zdot of date, J2000 equatorial triad (AU,AU/s; Note 1) } \sstsubsection{ date = double (Given) }{ Date (TT Modified Julian Date = JD-2400000.5) } \sstsubsection{ pmass = double (Given) }{ Mass of the planet (Sun=1; Note 2) } \sstsubsection{ jformr = int (Given) }{ Requested element set (1-3; Note 3) } \sstsubsection{ jform = int $*$ (Returned) }{ Element set actually returned (1-3; Note 4) } \sstsubsection{ epoch = double $*$ (Returned) }{ Epoch of elements (TT MJD) } \sstsubsection{ orbinc = double $*$ (Returned) }{ inclination (radians) } \sstsubsection{ anode = double $*$ (Returned) }{ longitude of the ascending node (radians) } \sstsubsection{ perih = double $*$ (Returned) }{ longitude or argument of perihelion (radians) } \sstsubsection{ aorq = double $*$ (Returned) }{ mean distance or perihelion distance (AU) } \sstsubsection{ e = double $*$ (Returned) }{ eccentricity } \sstsubsection{ aorl = double $*$ (Returned) }{ mean anomaly or longitude (radians, JFORM=1,2 only) } \sstsubsection{ dm = double $*$ (Returned) }{ daily motion (radians, JFORM=1 only) } \sstsubsection{ jstat = int $*$ (Returned) }{ status: 0 = OK \sstitemlist{ \sstitem -1 = illegal PMASS \sstitem -2 = illegal JFORMR \sstitem -3 = position/velocity out of range } } } \sstnotes{ \sstitemlist{ \sstitem The PV 6-vector is with respect to the mean equator and equinox of epoch J2000. The orbital elements produced are with respect to the J2000 ecliptic and mean equinox. \sstitem The mass, PMASS, is important only for the larger planets. For most purposes (e.g. asteroids) use 0D0. Values less than zero are illegal. \sstitem Three different element-format options are supported: } Option JFORM=1, suitable for the major planets: EPOCH = epoch of elements (TT MJD) ORBINC = inclination i (radians) ANODE = longitude of the ascending node, big omega (radians) PERIH = longitude of perihelion, curly pi (radians) AORQ = mean distance, a (AU) E = eccentricity, e AORL = mean longitude L (radians) DM = daily motion (radians) Option JFORM=2, suitable for minor planets: EPOCH = epoch of elements (TT MJD) ORBINC = inclination i (radians) ANODE = longitude of the ascending node, big omega (radians) PERIH = argument of perihelion, little omega (radians) AORQ = mean distance, a (AU) E = eccentricity, e AORL = mean anomaly M (radians) Option JFORM=3, suitable for comets: EPOCH = epoch of perihelion (TT MJD) ORBINC = inclination i (radians) ANODE = longitude of the ascending node, big omega (radians) PERIH = argument of perihelion, little omega (radians) AORQ = perihelion distance, q (AU) E = eccentricity, e \sstitemlist{ \sstitem It may not be possible to generate elements in the form requested through JFORMR. The caller is notified of the form of elements actually returned by means of the JFORM argument: } JFORMR JFORM meaning 1 1 OK - elements are in the requested format 1 2 never happens 1 3 orbit not elliptical 2 1 never happens 2 2 OK - elements are in the requested format 2 3 orbit not elliptical 3 1 never happens 3 2 never happens 3 3 OK - elements are in the requested format \sstitemlist{ \sstitem The arguments returned for each value of JFORM (cf Note 5: JFORM may not be the same as JFORMR) are as follows: } JFORM 1 2 3 EPOCH t0 t0 T ORBINC i i i ANODE Omega Omega Omega PERIH curly pi omega omega AORQ a a q E e e e AORL L M - DM n - - where: t0 is the epoch of the elements (MJD, TT) T {\tt "} epoch of perihelion (MJD, TT) i {\tt "} inclination (radians) Omega {\tt "} longitude of the ascending node (radians) curly pi {\tt "} longitude of perihelion (radians) omega {\tt "} argument of perihelion (radians) a {\tt "} mean distance (AU) q {\tt "} perihelion distance (AU) e {\tt "} eccentricity L {\tt "} longitude (radians, 0-2pi) M {\tt "} mean anomaly (radians, 0-2pi) n {\tt "} daily motion (radians) \sstitemlist{ \sstitem means no value is set \sstitem At very small inclinations, the longitude of the ascending node ANODE becomes indeterminate and under some circumstances may be set arbitrarily to zero. Similarly, if the orbit is close to circular, the true anomaly becomes indeterminate and under some circumstances may be set arbitrarily to zero. In such cases, the other elements are automatically adjusted to compensate, and so the elements remain a valid description of the orbit. \sstitem The osculating epoch for the returned elements is the argument DATE. \sstitem Reference: Sterne, Theodore E., {\tt "}An Introduction to Celestial Mechanics{\tt "}, Interscience Publishers, 1960 } } } \sstroutine{ palPv2ue }{ Universal elements to position and velocity }{ \sstdescription{ Construct a universal element set based on an instantaneous position and velocity. } \sstinvocation{ void palPv2ue( const double pv[6], double date, double pmass, double u[13], int $*$ jstat ); } \sstarguments{ \sstsubsection{ pv = double [6] (Given) }{ Heliocentric x,y,z,xdot,ydot,zdot of date, (AU,AU/s; Note 1) } \sstsubsection{ date = double (Given) }{ Date (TT modified Julian Date = JD-2400000.5) } \sstsubsection{ pmass = double (Given) }{ Mass of the planet (Sun=1; note 2) } \sstsubsection{ u = double [13] (Returned) }{ Universal orbital elements (Note 3) \sstitemlist{ \sstitem (0) combined mass (M$+$m) \sstitem (1) total energy of the orbit (alpha) \sstitem (2) reference (osculating) epoch (t0) \sstitem (3-5) position at reference epoch (r0) \sstitem (6-8) velocity at reference epoch (v0) \sstitem (9) heliocentric distance at reference epoch \sstitem (10) r0.v0 \sstitem (11) date (t) \sstitem (12) universal eccentric anomaly (psi) of date, approx } } \sstsubsection{ jstat = int $*$ (Returned) }{ status: 0 = OK \sstitemlist{ \sstitem -1 = illegal PMASS \sstitem -2 = too close to Sun \sstitem -3 = too slow } } } \sstnotes{ \sstitemlist{ \sstitem The PV 6-vector can be with respect to any chosen inertial frame, and the resulting universal-element set will be with respect to the same frame. A common choice will be mean equator and ecliptic of epoch J2000. \sstitem The mass, PMASS, is important only for the larger planets. For most purposes (e.g. asteroids) use 0D0. Values less than zero are illegal. \sstitem The {\tt "}universal{\tt "} elements are those which define the orbit for the purposes of the method of universal variables (see reference). They consist of the combined mass of the two bodies, an epoch, and the position and velocity vectors (arbitrary reference frame) at that epoch. The parameter set used here includes also various quantities that can, in fact, be derived from the other information. This approach is taken to avoiding unnecessary computation and loss of accuracy. The supplementary quantities are (i) alpha, which is proportional to the total energy of the orbit, (ii) the heliocentric distance at epoch, (iii) the outwards component of the velocity at the given epoch, (iv) an estimate of psi, the {\tt "}universal eccentric anomaly{\tt "} at a given date and (v) that date. \sstitem Reference: Everhart, E. \& Pitkin, E.T., Am.J.Phys. 51, 712, 1983. } } } \sstroutine{ palPvobs }{ Position and velocity of an observing station }{ \sstdescription{ Returns the position and velocity of an observing station. } \sstinvocation{ palPvobs( double p, double h, double stl, double pv[6] ) } \sstarguments{ \sstsubsection{ p = double (Given) }{ Latitude (geodetic, radians). } \sstsubsection{ h = double (Given) }{ Height above reference spheroid (geodetic, metres). } \sstsubsection{ stl = double (Given) }{ Local apparent sidereal time (radians). } \sstsubsection{ pv = double[ 6 ] (Returned) }{ position/velocity 6-vector (AU, AU/s, true equator and equinox of date). } } \sstnotes{ \sstitemlist{ \sstitem The WGS84 reference ellipsoid is used. } } } \sstroutine{ palRdplan }{ Approximate topocentric apparent RA,Dec of a planet }{ \sstdescription{ Approximate topocentric apparent RA,Dec of a planet, and its angular diameter. } \sstinvocation{ void palRdplan( double date, int np, double elong, double phi, double $*$ ra, double $*$ dec, double $*$ diam ); } \sstarguments{ \sstsubsection{ date = double (Given) }{ MJD of observation (JD-2400000.5) in TDB. For all practical purposes TT can be used instead of TDB, and for many applications UT will do (except for the Moon). } \sstsubsection{ np = int (Given) }{ Planet: 1 = Mercury 2 = Venus 3 = Moon 4 = Mars 5 = Jupiter 6 = Saturn 7 = Uranus 8 = Neptune else = Sun } \sstsubsection{ elong = double (Given) }{ Observer{\tt '}s east longitude (radians) } \sstsubsection{ phi = double (Given) }{ Observer{\tt '}s geodetic latitude (radians) } \sstsubsection{ ra = double $*$ (Returned) }{ RA (topocentric apparent, radians) } \sstsubsection{ dec = double $*$ (Returned) }{ Dec (topocentric apparent, radians) } \sstsubsection{ diam = double $*$ (Returned) }{ Angular diameter (equatorial, radians) } } \sstnotes{ \sstitemlist{ \sstitem Unlike with slaRdplan, Pluto is not supported. \sstitem The longitude and latitude allow correction for geocentric parallax. This is a major effect for the Moon, but in the context of the limited accuracy of the present routine its effect on planetary positions is small (negligible for the outer planets). Geocentric positions can be generated by appropriate use of the routines palDmoon and iauPlan94. } } } \sstroutine{ palRverot }{ Velocity component in a given direction due to Earth rotation }{ \sstdescription{ Calculate the velocity component in a given direction due to Earth rotation. The simple algorithm used assumes a spherical Earth, of a radius chosen to give results accurate to about 0.0005 km/s for observing stations at typical latitudes and heights. For applications requiring greater precision, use the routine palPvobs. } \sstinvocation{ double palRverot ( double phi, double ra, double da, double st ); } \sstarguments{ \sstsubsection{ phi = double (Given) }{ latitude of observing station (geodetic) (radians) } \sstsubsection{ ra = double (Given) }{ apparent RA (radians) } \sstsubsection{ da = double (Given) }{ apparent Dec (radians) } \sstsubsection{ st = double (Given) }{ } } \sstreturnedvalue{ \sstsubsection{ palRverot = double }{ Component of Earth rotation in direction RA,DA (km/s). The result is $+$ve when the observatory is receding from the given point on the sky. } } } \sstroutine{ palRvgalc }{ Velocity component in a given direction due to the rotation of the Galaxy }{ \sstdescription{ This function returns the Component of dynamical LSR motion in the direction of R2000,D2000. The result is $+$ve when the dynamical LSR is receding from the given point on the sky. } \sstinvocation{ double palRvgalc( double r2000, double d2000 ) } \sstarguments{ \sstsubsection{ r2000 = double (Given) }{ J2000.0 mean RA (radians) } \sstsubsection{ d2000 = double (Given) }{ J2000.0 mean Dec (radians) } } \sstreturnedvalue{ \sstsubsection{ Component of dynamical LSR motion in direction R2000,D2000 (km/s). }{ } } \sstnotes{ \sstitemlist{ \sstitem The Local Standard of Rest used here is a point in the vicinity of the Sun which is in a circular orbit around the Galactic centre. Sometimes called the {\tt "}dynamical{\tt "} LSR, it is not to be confused with a {\tt "}kinematical{\tt "} LSR, which is the mean standard of rest of star catalogues or stellar populations. } } \sstdiytopic{ Reference }{ \sstitemlist{ \sstitem The orbital speed of 220 km/s used here comes from Kerr \& Lynden-Bell (1986), MNRAS, 221, p1023. } } } \sstroutine{ palRvlg }{ Velocity component in a given direction due to Galactic rotation and motion of the local group }{ \sstdescription{ This function returns the velocity component in a given direction due to the combination of the rotation of the Galaxy and the motion of the Galaxy relative to the mean motion of the local group. The result is $+$ve when the Sun is receding from the given point on the sky. } \sstinvocation{ double palRvlg( double r2000, double d2000 ) } \sstarguments{ \sstsubsection{ r2000 = double (Given) }{ J2000.0 mean RA (radians) } \sstsubsection{ d2000 = double (Given) }{ J2000.0 mean Dec (radians) } } \sstreturnedvalue{ \sstsubsection{ Component of SOLAR motion in direction R2000,D2000 (km/s). }{ } } \sstdiytopic{ Reference }{ \sstitemlist{ \sstitem IAU Trans 1976, 168, p201. } } } \sstroutine{ palRvlsrd }{ Velocity component in a given direction due to the Sun{\tt '}s motion with respect to the dynamical Local Standard of Rest }{ \sstdescription{ This function returns the velocity component in a given direction due to the Sun{\tt '}s motion with respect to the dynamical Local Standard of Rest. The result is $+$ve when the Sun is receding from the given point on the sky. } \sstinvocation{ double palRvlsrd( double r2000, double d2000 ) } \sstarguments{ \sstsubsection{ r2000 = double (Given) }{ J2000.0 mean RA (radians) } \sstsubsection{ d2000 = double (Given) }{ J2000.0 mean Dec (radians) } } \sstreturnedvalue{ \sstsubsection{ Component of {\tt "}peculiar{\tt "} solar motion in direction R2000,D2000 (km/s). }{ } } \sstnotes{ \sstitemlist{ \sstitem The Local Standard of Rest used here is the {\tt "}dynamical{\tt "} LSR, a point in the vicinity of the Sun which is in a circular orbit around the Galactic centre. The Sun{\tt '}s motion with respect to the dynamical LSR is called the {\tt "}peculiar{\tt "} solar motion. \sstitem There is another type of LSR, called a {\tt "}kinematical{\tt "} LSR. A kinematical LSR is the mean standard of rest of specified star catalogues or stellar populations, and several slightly different kinematical LSRs are in use. The Sun{\tt '}s motion with respect to an agreed kinematical LSR is known as the {\tt "}standard{\tt "} solar motion. To obtain a radial velocity correction with respect to an adopted kinematical LSR use the routine sla\_RVLSRK. } } \sstdiytopic{ Reference }{ \sstitemlist{ \sstitem Delhaye (1965), in {\tt "}Stars and Stellar Systems{\tt "}, vol 5, p73. } } } \sstroutine{ palRvlsrk }{ Velocity component in a given direction due to the Sun{\tt '}s motion with respect to an adopted kinematic Local Standard of Rest }{ \sstdescription{ This function returns the velocity component in a given direction due to the Sun{\tt '}s motion with respect to an adopted kinematic Local Standard of Rest. The result is $+$ve when the Sun is receding from the given point on the sky. } \sstinvocation{ double palRvlsrk( double r2000, double d2000 ) } \sstarguments{ \sstsubsection{ r2000 = double (Given) }{ J2000.0 mean RA (radians) } \sstsubsection{ d2000 = double (Given) }{ J2000.0 mean Dec (radians) } } \sstreturnedvalue{ \sstsubsection{ Component of {\tt "}standard{\tt "} solar motion in direction R2000,D2000 (km/s). }{ } } \sstnotes{ \sstitemlist{ \sstitem The Local Standard of Rest used here is one of several {\tt "}kinematical{\tt "} LSRs in common use. A kinematical LSR is the mean standard of rest of specified star catalogues or stellar populations. The Sun{\tt '}s motion with respect to a kinematical LSR is known as the {\tt "}standard{\tt "} solar motion. \sstitem There is another sort of LSR, the {\tt "}dynamical{\tt "} LSR, which is a point in the vicinity of the Sun which is in a circular orbit around the Galactic centre. The Sun{\tt '}s motion with respect to the dynamical LSR is called the {\tt "}peculiar{\tt "} solar motion. To obtain a radial velocity correction with respect to the dynamical LSR use the routine sla\_RVLSRD. } } \sstdiytopic{ Reference }{ \sstitemlist{ \sstitem Delhaye (1965), in {\tt "}Stars and Stellar Systems{\tt "}, vol 5, p73. } } } \sstroutine{ palSubet }{ Remove the E-terms from a pre IAU 1976 catalogue RA,Dec }{ \sstdescription{ Remove the E-terms (elliptic component of annual aberration) from a pre IAU 1976 catalogue RA,Dec to give a mean place. } \sstinvocation{ void palSubet ( double rc, double dc, double eq, double $*$rm, double $*$dm ); } \sstarguments{ \sstsubsection{ rc = double (Given) }{ RA with E-terms included (radians) } \sstsubsection{ dc = double (Given) }{ Dec with E-terms included (radians) } \sstsubsection{ eq = double (Given) }{ Besselian epoch of mean equator and equinox } \sstsubsection{ rm = double $*$ (Returned) }{ RA without E-terms (radians) } \sstsubsection{ dm = double $*$ (Returned) }{ Dec without E-terms (radians) } } \sstnotes{ Most star positions from pre-1984 optical catalogues (or derived from astrometry using such stars) embody the E-terms. This routine converts such a position to a formal mean place (allowing, for example, comparison with a pulsar timing position). } \sstdiytopic{ See Also }{ Explanatory Supplement to the Astronomical Ephemeris, section 2D, page 48. } } \sstroutine{ palSupgal }{ Convert from supergalactic to galactic coordinates }{ \sstdescription{ Transformation from de Vaucouleurs supergalactic coordinates to IAU 1958 galactic coordinates } \sstinvocation{ void palSupgal ( double dsl, double dsb, double $*$dl, double $*$db ); } \sstarguments{ \sstsubsection{ dsl = double (Given) }{ Supergalactic longitude. } \sstsubsection{ dsb = double (Given) }{ Supergalactic latitude. } \sstsubsection{ dl = double $*$ (Returned) }{ Galactic longitude. } \sstsubsection{ db = double $*$ (Returned) }{ Galactic latitude. } } \sstdiytopic{ See Also }{ \sstitemlist{ \sstitem de Vaucouleurs, de Vaucouleurs, \& Corwin, Second Reference Catalogue of Bright Galaxies, U. Texas, page 8. \sstitem Systems \& Applied Sciences Corp., Documentation for the machine-readable version of the above catalogue, Contract NAS 5-26490. } (These two references give different values for the galactic longitude of the supergalactic origin. Both are wrong; the correct value is L2=137.37.) } } \sstroutine{ palUe2el }{ Universal elements to heliocentric osculating elements }{ \sstdescription{ Transform universal elements into conventional heliocentric osculating elements. } \sstinvocation{ void palUe2el ( const double u[13], int jformr, int $*$jform, double $*$epoch, double $*$orbinc, double $*$anode, double $*$perih, double $*$aorq, double $*$e, double $*$aorl, double $*$dm, int $*$jstat ); } \sstarguments{ \sstsubsection{ u = const double [13] (Given) }{ Universal orbital elements (Note 1) (0) combined mass (M$+$m) (1) total energy of the orbit (alpha) (2) reference (osculating) epoch (t0) (3-5) position at reference epoch (r0) (6-8) velocity at reference epoch (v0) (9) heliocentric distance at reference epoch (10) r0.v0 (11) date (t) (12) universal eccentric anomaly (psi) of date, approx } \sstsubsection{ jformr = int (Given) }{ Requested element set (1-3; Note 3) } \sstsubsection{ jform = int $*$ (Returned) }{ Element set actually returned (1-3; Note 4) } \sstsubsection{ epoch = double $*$ (Returned) }{ Epoch of elements (TT MJD) } \sstsubsection{ orbinc = double $*$ (Returned) }{ inclination (radians) } \sstsubsection{ anode = double $*$ (Returned) }{ longitude of the ascending node (radians) } \sstsubsection{ perih = double $*$ (Returned) }{ longitude or argument of perihelion (radians) } \sstsubsection{ aorq = double $*$ (Returned) }{ mean distance or perihelion distance (AU) } \sstsubsection{ e = double $*$ (Returned) }{ eccentricity } \sstsubsection{ aorl = double $*$ (Returned) }{ mean anomaly or longitude (radians, JFORM=1,2 only) } \sstsubsection{ dm = double $*$ (Returned) }{ daily motion (radians, JFORM=1 only) } \sstsubsection{ jstat = int $*$ (Returned) }{ status: 0 = OK \sstitemlist{ \sstitem 1 = illegal combined mass \sstitem 2 = illegal JFORMR \sstitem 3 = position/velocity out of range } } } \sstnotes{ \sstitemlist{ \sstitem The {\tt "}universal{\tt "} elements are those which define the orbit for the purposes of the method of universal variables (see reference 2). They consist of the combined mass of the two bodies, an epoch, and the position and velocity vectors (arbitrary reference frame) at that epoch. The parameter set used here includes also various quantities that can, in fact, be derived from the other information. This approach is taken to avoiding unnecessary computation and loss of accuracy. The supplementary quantities are (i) alpha, which is proportional to the total energy of the orbit, (ii) the heliocentric distance at epoch, (iii) the outwards component of the velocity at the given epoch, (iv) an estimate of psi, the {\tt "}universal eccentric anomaly{\tt "} at a given date and (v) that date. \sstitem The universal elements are with respect to the mean equator and equinox of epoch J2000. The orbital elements produced are with respect to the J2000 ecliptic and mean equinox. \sstitem Three different element-format options are supported: } Option JFORM=1, suitable for the major planets: EPOCH = epoch of elements (TT MJD) ORBINC = inclination i (radians) ANODE = longitude of the ascending node, big omega (radians) PERIH = longitude of perihelion, curly pi (radians) AORQ = mean distance, a (AU) E = eccentricity, e AORL = mean longitude L (radians) DM = daily motion (radians) Option JFORM=2, suitable for minor planets: EPOCH = epoch of elements (TT MJD) ORBINC = inclination i (radians) ANODE = longitude of the ascending node, big omega (radians) PERIH = argument of perihelion, little omega (radians) AORQ = mean distance, a (AU) E = eccentricity, e AORL = mean anomaly M (radians) Option JFORM=3, suitable for comets: EPOCH = epoch of perihelion (TT MJD) ORBINC = inclination i (radians) ANODE = longitude of the ascending node, big omega (radians) PERIH = argument of perihelion, little omega (radians) AORQ = perihelion distance, q (AU) E = eccentricity, e \sstitemlist{ \sstitem It may not be possible to generate elements in the form requested through JFORMR. The caller is notified of the form of elements actually returned by means of the JFORM argument: } JFORMR JFORM meaning 1 1 OK - elements are in the requested format 1 2 never happens 1 3 orbit not elliptical 2 1 never happens 2 2 OK - elements are in the requested format 2 3 orbit not elliptical 3 1 never happens 3 2 never happens 3 3 OK - elements are in the requested format \sstitemlist{ \sstitem The arguments returned for each value of JFORM (cf Note 6: JFORM may not be the same as JFORMR) are as follows: } JFORM 1 2 3 EPOCH t0 t0 T ORBINC i i i ANODE Omega Omega Omega PERIH curly pi omega omega AORQ a a q E e e e AORL L M - DM n - - where: t0 is the epoch of the elements (MJD, TT) T {\tt "} epoch of perihelion (MJD, TT) i {\tt "} inclination (radians) Omega {\tt "} longitude of the ascending node (radians) curly pi {\tt "} longitude of perihelion (radians) omega {\tt "} argument of perihelion (radians) a {\tt "} mean distance (AU) q {\tt "} perihelion distance (AU) e {\tt "} eccentricity L {\tt "} longitude (radians, 0-2pi) M {\tt "} mean anomaly (radians, 0-2pi) n {\tt "} daily motion (radians) \sstitemlist{ \sstitem means no value is set \sstitem At very small inclinations, the longitude of the ascending node ANODE becomes indeterminate and under some circumstances may be set arbitrarily to zero. Similarly, if the orbit is close to circular, the true anomaly becomes indeterminate and under some circumstances may be set arbitrarily to zero. In such cases, the other elements are automatically adjusted to compensate, and so the elements remain a valid description of the orbit. } See Also: \sstitemlist{ \sstitem Sterne, Theodore E., {\tt "}An Introduction to Celestial Mechanics{\tt "}, Interscience Publishers Inc., 1960. Section 6.7, p199. \sstitem Everhart, E. \& Pitkin, E.T., Am.J.Phys. 51, 712, 1983. } } } \sstroutine{ palUe2pv }{ Heliocentric position and velocity of a planet, asteroid or comet, from universal elements }{ \sstdescription{ Heliocentric position and velocity of a planet, asteroid or comet, starting from orbital elements in the {\tt "}universal variables{\tt "} form. } \sstinvocation{ void palUe2pv( double date, double u[13], double pv[6], int $*$jstat ); } \sstarguments{ \sstsubsection{ date = double (Given) }{ TT Modified Julian date (JD-2400000.5). } \sstsubsection{ u = double [13] (Given \& Returned) }{ Universal orbital elements (updated, see note 1) given (0) combined mass (M$+$m) {\tt "} (1) total energy of the orbit (alpha) {\tt "} (2) reference (osculating) epoch (t0) {\tt "} (3-5) position at reference epoch (r0) {\tt "} (6-8) velocity at reference epoch (v0) {\tt "} (9) heliocentric distance at reference epoch {\tt "} (10) r0.v0 returned (11) date (t) {\tt "} (12) universal eccentric anomaly (psi) of date } \sstsubsection{ jstat = int $*$ (Returned) }{ status: 0 = OK \sstitemlist{ \sstitem 1 = radius vector zero \sstitem 2 = failed to converge } } } \sstnotes{ \sstitemlist{ \sstitem The {\tt "}universal{\tt "} elements are those which define the orbit for the purposes of the method of universal variables (see reference). They consist of the combined mass of the two bodies, an epoch, and the position and velocity vectors (arbitrary reference frame) at that epoch. The parameter set used here includes also various quantities that can, in fact, be derived from the other information. This approach is taken to avoiding unnecessary computation and loss of accuracy. The supplementary quantities are (i) alpha, which is proportional to the total energy of the orbit, (ii) the heliocentric distance at epoch, (iii) the outwards component of the velocity at the given epoch, (iv) an estimate of psi, the {\tt "}universal eccentric anomaly{\tt "} at a given date and (v) that date. \sstitem The companion routine is palEl2ue. This takes the conventional orbital elements and transforms them into the set of numbers needed by the present routine. A single prediction requires one one call to palEl2ue followed by one call to the present routine; for convenience, the two calls are packaged as the routine sla\_PLANEL. Multiple predictions may be made by again calling palEl2ue once, but then calling the present routine multiple times, which is faster than multiple calls to palPlanel. \sstitem It is not obligatory to use palEl2ue to obtain the parameters. However, it should be noted that because palEl2ue performs its own validation, no checks on the contents of the array U are made by the present routine. in the TT timescale (formerly Ephemeris Time, ET) and is a Modified Julian Date (JD-2400000.5). units (solar masses, AU and canonical days). The position and velocity are not sensitive to the choice of reference frame. The palEl2ue routine in fact produces coordinates with respect to the J2000 equator and equinox. \sstitem The algorithm was originally adapted from the EPHSLA program of D.H.P.Jones (private communication, 1996). The method is based on Stumpff{\tt '}s Universal Variables. \sstitem Reference: Everhart, E. \& Pitkin, E.T., Am.J.Phys. 51, 712, 1983. } } } % ? End of main text \end{document} pal-0.5.0/test-driver000755 000765 000024 00000010277 12363621607 014611 0ustar00timjstaff000000 000000 #! /bin/sh # test-driver - basic testsuite driver script. scriptversion=2013-07-13.22; # UTC # Copyright (C) 2011-2013 Free Software Foundation, Inc. # # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation; either version 2, or (at your option) # any later version. # # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU General Public License for more details. # # You should have received a copy of the GNU General Public License # along with this program. If not, see . # As a special exception to the GNU General Public License, if you # distribute this file as part of a program that contains a # configuration script generated by Autoconf, you may include it under # the same distribution terms that you use for the rest of that program. # This file is maintained in Automake, please report # bugs to or send patches to # . # Make unconditional expansion of undefined variables an error. This # helps a lot in preventing typo-related bugs. set -u usage_error () { echo "$0: $*" >&2 print_usage >&2 exit 2 } print_usage () { cat <$log_file 2>&1 estatus=$? if test $enable_hard_errors = no && test $estatus -eq 99; then estatus=1 fi case $estatus:$expect_failure in 0:yes) col=$red res=XPASS recheck=yes gcopy=yes;; 0:*) col=$grn res=PASS recheck=no gcopy=no;; 77:*) col=$blu res=SKIP recheck=no gcopy=yes;; 99:*) col=$mgn res=ERROR recheck=yes gcopy=yes;; *:yes) col=$lgn res=XFAIL recheck=no gcopy=yes;; *:*) col=$red res=FAIL recheck=yes gcopy=yes;; esac # Report outcome to console. echo "${col}${res}${std}: $test_name" # Register the test result, and other relevant metadata. echo ":test-result: $res" > $trs_file echo ":global-test-result: $res" >> $trs_file echo ":recheck: $recheck" >> $trs_file echo ":copy-in-global-log: $gcopy" >> $trs_file # Local Variables: # mode: shell-script # sh-indentation: 2 # eval: (add-hook 'write-file-hooks 'time-stamp) # time-stamp-start: "scriptversion=" # time-stamp-format: "%:y-%02m-%02d.%02H" # time-stamp-time-zone: "UTC" # time-stamp-end: "; # UTC" # End: