Codebase list cpl-plugin-xshoo / d0b5197
New upstream version 3.5.0+dfsg Ole Streicher 3 years ago
76 changed file(s) with 4152 addition(s) and 2876 deletion(s). Raw diff Collapse all Expand all
0 3.5.0 22/05/2020 Public Release 2020
1 3.4.0 07/02/2020 PSO Release
2 3.4.0b2 21/02/2020 PSO Release Candidate - fixing dark recipe default fpn params (PIPE-8641)
3 3.4.0b1 14/02/2020 PSO Release Candidate
4 3.3.9 26/06/2019 Fixed PIPE-7979: Changed FPN in PD
5 3.3.9 07/06/2019 Fixed PIPE-7979: reduced mask extensions
6 3.3.8 07/05/2019 Fixed PIPE-7979
7 3.3.5 18/11/2019 Update to python3
08 3.3.4 26/04/2019 Pop up no, Fix PIPE-7986
19 3.3.3 25/04/2019 Updated doc
210 3.3.2
0 # Makefile.in generated by automake 1.15 from Makefile.am.
0 # Makefile.in generated by automake 1.16.1 from Makefile.am.
11 # @configure_input@
22
3 # Copyright (C) 1994-2014 Free Software Foundation, Inc.
3 # Copyright (C) 1994-2018 Free Software Foundation, Inc.
44
55 # This Makefile.in is free software; the Free Software Foundation
66 # gives unlimited permission to copy and/or distribute it,
172172 $(RECURSIVE_CLEAN_TARGETS) \
173173 $(am__extra_recursive_targets)
174174 AM_RECURSIVE_TARGETS = $(am__recursive_targets:-recursive=) TAGS CTAGS \
175 cscope distdir dist dist-all distcheck
175 cscope distdir distdir-am dist dist-all distcheck
176176 am__tagged_files = $(HEADERS) $(SOURCES) $(TAGS_FILES) \
177177 $(LISP)config.h.in
178178 # Read a list of newline-separated strings from the standard input,
459459 echo ' $(SHELL) ./config.status'; \
460460 $(SHELL) ./config.status;; \
461461 *) \
462 echo ' cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__depfiles_maybe)'; \
463 cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__depfiles_maybe);; \
462 echo ' cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__maybe_remake_depfiles)'; \
463 cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__maybe_remake_depfiles);; \
464464 esac;
465465 $(top_srcdir)/admin/html.am $(am__empty):
466466
629629 -rm -f cscope.out cscope.in.out cscope.po.out cscope.files
630630 @MAINTAINER_MODE_FALSE@dist-hook:
631631
632 distdir: $(DISTFILES)
632 distdir: $(BUILT_SOURCES)
633 $(MAKE) $(AM_MAKEFLAGS) distdir-am
634
635 distdir-am: $(DISTFILES)
633636 $(am__remove_distdir)
634637 test -d "$(distdir)" || mkdir "$(distdir)"
635638 @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
697700 ! -type d ! -perm -444 -exec $(install_sh) -c -m a+r {} {} \; \
698701 || chmod -R a+r "$(distdir)"
699702 dist-gzip: distdir
700 tardir=$(distdir) && $(am__tar) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).tar.gz
703 tardir=$(distdir) && $(am__tar) | eval GZIP= gzip $(GZIP_ENV) -c >$(distdir).tar.gz
701704 $(am__post_remove_distdir)
702705
703706 dist-bzip2: distdir
723726 @echo WARNING: "Support for shar distribution archives is" \
724727 "deprecated." >&2
725728 @echo WARNING: "It will be removed altogether in Automake 2.0" >&2
726 shar $(distdir) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).shar.gz
729 shar $(distdir) | eval GZIP= gzip $(GZIP_ENV) -c >$(distdir).shar.gz
727730 $(am__post_remove_distdir)
728731
729732 dist-zip: distdir
741744 distcheck: dist
742745 case '$(DIST_ARCHIVES)' in \
743746 *.tar.gz*) \
744 GZIP=$(GZIP_ENV) gzip -dc $(distdir).tar.gz | $(am__untar) ;;\
747 eval GZIP= gzip $(GZIP_ENV) -dc $(distdir).tar.gz | $(am__untar) ;;\
745748 *.tar.bz2*) \
746749 bzip2 -dc $(distdir).tar.bz2 | $(am__untar) ;;\
747750 *.tar.lz*) \
751754 *.tar.Z*) \
752755 uncompress -c $(distdir).tar.Z | $(am__untar) ;;\
753756 *.shar.gz*) \
754 GZIP=$(GZIP_ENV) gzip -dc $(distdir).shar.gz | unshar ;;\
757 eval GZIP= gzip $(GZIP_ENV) -dc $(distdir).shar.gz | unshar ;;\
755758 *.zip*) \
756759 unzip $(distdir).zip ;;\
757760 esac
0 v 3.5.0 Public release 2020
1 PIPE-9018, PIPE-9090: Correct error extension in response recipe products
2 PIPE-9025, PIPE-9059: Header fixes for static calibration files
3 v 3.4.0 Paranal release
4 v 3.3.6 Update to Python3
05 v 3.3.5 Pop up no, Fix revert PIPE-8389 to fix PIPE-8461
16 v 3.3.4 Pop up no, Fix PIPE-7986
27 v 3.3.3 Updated doc
0 # generated automatically by aclocal 1.15 -*- Autoconf -*-
1
2 # Copyright (C) 1996-2014 Free Software Foundation, Inc.
0 # generated automatically by aclocal 1.16.1 -*- Autoconf -*-
1
2 # Copyright (C) 1996-2018 Free Software Foundation, Inc.
33
44 # This file is free software; the Free Software Foundation
55 # gives unlimited permission to copy and/or distribute it,
1919 If you have problems, you may need to regenerate the build system entirely.
2020 To do so, use the procedure documented by the package, typically 'autoreconf'.])])
2121
22 # Copyright (C) 2002-2014 Free Software Foundation, Inc.
22 # Copyright (C) 2002-2018 Free Software Foundation, Inc.
2323 #
2424 # This file is free software; the Free Software Foundation
2525 # gives unlimited permission to copy and/or distribute it,
3131 # generated from the m4 files accompanying Automake X.Y.
3232 # (This private macro should not be called outside this file.)
3333 AC_DEFUN([AM_AUTOMAKE_VERSION],
34 [am__api_version='1.15'
34 [am__api_version='1.16'
3535 dnl Some users find AM_AUTOMAKE_VERSION and mistake it for a way to
3636 dnl require some minimum version. Point them to the right macro.
37 m4_if([$1], [1.15], [],
37 m4_if([$1], [1.16.1], [],
3838 [AC_FATAL([Do not call $0, use AM_INIT_AUTOMAKE([$1]).])])dnl
3939 ])
4040
5050 # Call AM_AUTOMAKE_VERSION and AM_AUTOMAKE_VERSION so they can be traced.
5151 # This function is AC_REQUIREd by AM_INIT_AUTOMAKE.
5252 AC_DEFUN([AM_SET_CURRENT_AUTOMAKE_VERSION],
53 [AM_AUTOMAKE_VERSION([1.15])dnl
53 [AM_AUTOMAKE_VERSION([1.16.1])dnl
5454 m4_ifndef([AC_AUTOCONF_VERSION],
5555 [m4_copy([m4_PACKAGE_VERSION], [AC_AUTOCONF_VERSION])])dnl
5656 _AM_AUTOCONF_VERSION(m4_defn([AC_AUTOCONF_VERSION]))])
5757
5858 # AM_AUX_DIR_EXPAND -*- Autoconf -*-
5959
60 # Copyright (C) 2001-2014 Free Software Foundation, Inc.
60 # Copyright (C) 2001-2018 Free Software Foundation, Inc.
6161 #
6262 # This file is free software; the Free Software Foundation
6363 # gives unlimited permission to copy and/or distribute it,
109109
110110 # AM_CONDITIONAL -*- Autoconf -*-
111111
112 # Copyright (C) 1997-2014 Free Software Foundation, Inc.
112 # Copyright (C) 1997-2018 Free Software Foundation, Inc.
113113 #
114114 # This file is free software; the Free Software Foundation
115115 # gives unlimited permission to copy and/or distribute it,
140140 Usually this means the macro was only invoked conditionally.]])
141141 fi])])
142142
143 # Copyright (C) 1999-2014 Free Software Foundation, Inc.
143 # Copyright (C) 1999-2018 Free Software Foundation, Inc.
144144 #
145145 # This file is free software; the Free Software Foundation
146146 # gives unlimited permission to copy and/or distribute it,
331331
332332 # Generate code to set up dependency tracking. -*- Autoconf -*-
333333
334 # Copyright (C) 1999-2014 Free Software Foundation, Inc.
335 #
336 # This file is free software; the Free Software Foundation
337 # gives unlimited permission to copy and/or distribute it,
338 # with or without modifications, as long as this notice is preserved.
339
334 # Copyright (C) 1999-2018 Free Software Foundation, Inc.
335 #
336 # This file is free software; the Free Software Foundation
337 # gives unlimited permission to copy and/or distribute it,
338 # with or without modifications, as long as this notice is preserved.
340339
341340 # _AM_OUTPUT_DEPENDENCY_COMMANDS
342341 # ------------------------------
345344 # Older Autoconf quotes --file arguments for eval, but not when files
346345 # are listed without --file. Let's play safe and only enable the eval
347346 # if we detect the quoting.
348 case $CONFIG_FILES in
349 *\'*) eval set x "$CONFIG_FILES" ;;
350 *) set x $CONFIG_FILES ;;
351 esac
347 # TODO: see whether this extra hack can be removed once we start
348 # requiring Autoconf 2.70 or later.
349 AS_CASE([$CONFIG_FILES],
350 [*\'*], [eval set x "$CONFIG_FILES"],
351 [*], [set x $CONFIG_FILES])
352352 shift
353 for mf
353 # Used to flag and report bootstrapping failures.
354 am_rc=0
355 for am_mf
354356 do
355357 # Strip MF so we end up with the name of the file.
356 mf=`echo "$mf" | sed -e 's/:.*$//'`
357 # Check whether this is an Automake generated Makefile or not.
358 # We used to match only the files named 'Makefile.in', but
359 # some people rename them; so instead we look at the file content.
360 # Grep'ing the first line is not enough: some people post-process
361 # each Makefile.in and add a new line on top of each file to say so.
362 # Grep'ing the whole file is not good either: AIX grep has a line
358 am_mf=`AS_ECHO(["$am_mf"]) | sed -e 's/:.*$//'`
359 # Check whether this is an Automake generated Makefile which includes
360 # dependency-tracking related rules and includes.
361 # Grep'ing the whole file directly is not great: AIX grep has a line
363362 # limit of 2048, but all sed's we know have understand at least 4000.
364 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
365 dirpart=`AS_DIRNAME("$mf")`
366 else
367 continue
368 fi
369 # Extract the definition of DEPDIR, am__include, and am__quote
370 # from the Makefile without running 'make'.
371 DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
372 test -z "$DEPDIR" && continue
373 am__include=`sed -n 's/^am__include = //p' < "$mf"`
374 test -z "$am__include" && continue
375 am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
376 # Find all dependency output files, they are included files with
377 # $(DEPDIR) in their names. We invoke sed twice because it is the
378 # simplest approach to changing $(DEPDIR) to its actual value in the
379 # expansion.
380 for file in `sed -n "
381 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
382 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g'`; do
383 # Make sure the directory exists.
384 test -f "$dirpart/$file" && continue
385 fdir=`AS_DIRNAME(["$file"])`
386 AS_MKDIR_P([$dirpart/$fdir])
387 # echo "creating $dirpart/$file"
388 echo '# dummy' > "$dirpart/$file"
389 done
363 sed -n 's,^am--depfiles:.*,X,p' "$am_mf" | grep X >/dev/null 2>&1 \
364 || continue
365 am_dirpart=`AS_DIRNAME(["$am_mf"])`
366 am_filepart=`AS_BASENAME(["$am_mf"])`
367 AM_RUN_LOG([cd "$am_dirpart" \
368 && sed -e '/# am--include-marker/d' "$am_filepart" \
369 | $MAKE -f - am--depfiles]) || am_rc=$?
390370 done
371 if test $am_rc -ne 0; then
372 AC_MSG_FAILURE([Something went wrong bootstrapping makefile fragments
373 for automatic dependency tracking. Try re-running configure with the
374 '--disable-dependency-tracking' option to at least be able to build
375 the package (albeit without support for automatic dependency tracking).])
376 fi
377 AS_UNSET([am_dirpart])
378 AS_UNSET([am_filepart])
379 AS_UNSET([am_mf])
380 AS_UNSET([am_rc])
381 rm -f conftest-deps.mk
391382 }
392383 ])# _AM_OUTPUT_DEPENDENCY_COMMANDS
393384
396387 # -----------------------------
397388 # This macro should only be invoked once -- use via AC_REQUIRE.
398389 #
399 # This code is only required when automatic dependency tracking
400 # is enabled. FIXME. This creates each '.P' file that we will
401 # need in order to bootstrap the dependency handling code.
390 # This code is only required when automatic dependency tracking is enabled.
391 # This creates each '.Po' and '.Plo' makefile fragment that we'll need in
392 # order to bootstrap the dependency handling code.
402393 AC_DEFUN([AM_OUTPUT_DEPENDENCY_COMMANDS],
403394 [AC_CONFIG_COMMANDS([depfiles],
404395 [test x"$AMDEP_TRUE" != x"" || _AM_OUTPUT_DEPENDENCY_COMMANDS],
405 [AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"])
406 ])
407
408
409 # Copyright (C) 1996-2014 Free Software Foundation, Inc.
396 [AMDEP_TRUE="$AMDEP_TRUE" MAKE="${MAKE-make}"])])
397
398
399 # Copyright (C) 1996-2018 Free Software Foundation, Inc.
410400 #
411401 # This file is free software; the Free Software Foundation
412402 # gives unlimited permission to copy and/or distribute it,
430420
431421 # Do all the work for Automake. -*- Autoconf -*-
432422
433 # Copyright (C) 1996-2014 Free Software Foundation, Inc.
423 # Copyright (C) 1996-2018 Free Software Foundation, Inc.
434424 #
435425 # This file is free software; the Free Software Foundation
436426 # gives unlimited permission to copy and/or distribute it,
517507 AC_REQUIRE([AC_PROG_MKDIR_P])dnl
518508 # For better backward compatibility. To be removed once Automake 1.9.x
519509 # dies out for good. For more background, see:
520 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
521 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
510 # <https://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
511 # <https://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
522512 AC_SUBST([mkdir_p], ['$(MKDIR_P)'])
523513 # We need awk for the "check" target (and possibly the TAP driver). The
524514 # system "awk" is bad on some platforms.
585575 Aborting the configuration process, to ensure you take notice of the issue.
586576
587577 You can download and install GNU coreutils to get an 'rm' implementation
588 that behaves properly: <http://www.gnu.org/software/coreutils/>.
578 that behaves properly: <https://www.gnu.org/software/coreutils/>.
589579
590580 If you want to complete the configuration process using your problematic
591581 'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM
627617 done
628618 echo "timestamp for $_am_arg" >`AS_DIRNAME(["$_am_arg"])`/stamp-h[]$_am_stamp_count])
629619
630 # Copyright (C) 2001-2014 Free Software Foundation, Inc.
620 # Copyright (C) 2001-2018 Free Software Foundation, Inc.
631621 #
632622 # This file is free software; the Free Software Foundation
633623 # gives unlimited permission to copy and/or distribute it,
648638 fi
649639 AC_SUBST([install_sh])])
650640
651 # Copyright (C) 2003-2014 Free Software Foundation, Inc.
641 # Copyright (C) 2003-2018 Free Software Foundation, Inc.
652642 #
653643 # This file is free software; the Free Software Foundation
654644 # gives unlimited permission to copy and/or distribute it,
670660 # Add --enable-maintainer-mode option to configure. -*- Autoconf -*-
671661 # From Jim Meyering
672662
673 # Copyright (C) 1996-2014 Free Software Foundation, Inc.
663 # Copyright (C) 1996-2018 Free Software Foundation, Inc.
674664 #
675665 # This file is free software; the Free Software Foundation
676666 # gives unlimited permission to copy and/or distribute it,
705695
706696 # Check to see how 'make' treats includes. -*- Autoconf -*-
707697
708 # Copyright (C) 2001-2014 Free Software Foundation, Inc.
698 # Copyright (C) 2001-2018 Free Software Foundation, Inc.
709699 #
710700 # This file is free software; the Free Software Foundation
711701 # gives unlimited permission to copy and/or distribute it,
713703
714704 # AM_MAKE_INCLUDE()
715705 # -----------------
716 # Check to see how make treats includes.
706 # Check whether make has an 'include' directive that can support all
707 # the idioms we need for our automatic dependency tracking code.
717708 AC_DEFUN([AM_MAKE_INCLUDE],
718 [am_make=${MAKE-make}
719 cat > confinc << 'END'
709 [AC_MSG_CHECKING([whether ${MAKE-make} supports the include directive])
710 cat > confinc.mk << 'END'
720711 am__doit:
721 @echo this is the am__doit target
712 @echo this is the am__doit target >confinc.out
722713 .PHONY: am__doit
723714 END
724 # If we don't find an include directive, just comment out the code.
725 AC_MSG_CHECKING([for style of include used by $am_make])
726715 am__include="#"
727716 am__quote=
728 _am_result=none
729 # First try GNU make style include.
730 echo "include confinc" > confmf
731 # Ignore all kinds of additional output from 'make'.
732 case `$am_make -s -f confmf 2> /dev/null` in #(
733 *the\ am__doit\ target*)
734 am__include=include
735 am__quote=
736 _am_result=GNU
737 ;;
738 esac
739 # Now try BSD make style include.
740 if test "$am__include" = "#"; then
741 echo '.include "confinc"' > confmf
742 case `$am_make -s -f confmf 2> /dev/null` in #(
743 *the\ am__doit\ target*)
744 am__include=.include
745 am__quote="\""
746 _am_result=BSD
747 ;;
748 esac
749 fi
750 AC_SUBST([am__include])
751 AC_SUBST([am__quote])
752 AC_MSG_RESULT([$_am_result])
753 rm -f confinc confmf
754 ])
717 # BSD make does it like this.
718 echo '.include "confinc.mk" # ignored' > confmf.BSD
719 # Other make implementations (GNU, Solaris 10, AIX) do it like this.
720 echo 'include confinc.mk # ignored' > confmf.GNU
721 _am_result=no
722 for s in GNU BSD; do
723 AM_RUN_LOG([${MAKE-make} -f confmf.$s && cat confinc.out])
724 AS_CASE([$?:`cat confinc.out 2>/dev/null`],
725 ['0:this is the am__doit target'],
726 [AS_CASE([$s],
727 [BSD], [am__include='.include' am__quote='"'],
728 [am__include='include' am__quote=''])])
729 if test "$am__include" != "#"; then
730 _am_result="yes ($s style)"
731 break
732 fi
733 done
734 rm -f confinc.* confmf.*
735 AC_MSG_RESULT([${_am_result}])
736 AC_SUBST([am__include])])
737 AC_SUBST([am__quote])])
755738
756739 # Fake the existence of programs that GNU maintainers use. -*- Autoconf -*-
757740
758 # Copyright (C) 1997-2014 Free Software Foundation, Inc.
741 # Copyright (C) 1997-2018 Free Software Foundation, Inc.
759742 #
760743 # This file is free software; the Free Software Foundation
761744 # gives unlimited permission to copy and/or distribute it,
794777
795778 # Helper functions for option handling. -*- Autoconf -*-
796779
797 # Copyright (C) 2001-2014 Free Software Foundation, Inc.
780 # Copyright (C) 2001-2018 Free Software Foundation, Inc.
798781 #
799782 # This file is free software; the Free Software Foundation
800783 # gives unlimited permission to copy and/or distribute it,
823806 AC_DEFUN([_AM_IF_OPTION],
824807 [m4_ifset(_AM_MANGLE_OPTION([$1]), [$2], [$3])])
825808
826 # Copyright (C) 1999-2014 Free Software Foundation, Inc.
809 # Copyright (C) 1999-2018 Free Software Foundation, Inc.
827810 #
828811 # This file is free software; the Free Software Foundation
829812 # gives unlimited permission to copy and/or distribute it,
870853 # For backward compatibility.
871854 AC_DEFUN_ONCE([AM_PROG_CC_C_O], [AC_REQUIRE([AC_PROG_CC])])
872855
873 # Copyright (C) 2001-2014 Free Software Foundation, Inc.
856 # Copyright (C) 2001-2018 Free Software Foundation, Inc.
874857 #
875858 # This file is free software; the Free Software Foundation
876859 # gives unlimited permission to copy and/or distribute it,
889872
890873 # Check to make sure that the build environment is sane. -*- Autoconf -*-
891874
892 # Copyright (C) 1996-2014 Free Software Foundation, Inc.
875 # Copyright (C) 1996-2018 Free Software Foundation, Inc.
893876 #
894877 # This file is free software; the Free Software Foundation
895878 # gives unlimited permission to copy and/or distribute it,
970953 rm -f conftest.file
971954 ])
972955
973 # Copyright (C) 2009-2014 Free Software Foundation, Inc.
956 # Copyright (C) 2009-2018 Free Software Foundation, Inc.
974957 #
975958 # This file is free software; the Free Software Foundation
976959 # gives unlimited permission to copy and/or distribute it,
10301013 _AM_SUBST_NOTMAKE([AM_BACKSLASH])dnl
10311014 ])
10321015
1033 # Copyright (C) 2001-2014 Free Software Foundation, Inc.
1016 # Copyright (C) 2001-2018 Free Software Foundation, Inc.
10341017 #
10351018 # This file is free software; the Free Software Foundation
10361019 # gives unlimited permission to copy and/or distribute it,
10581041 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
10591042 AC_SUBST([INSTALL_STRIP_PROGRAM])])
10601043
1061 # Copyright (C) 2006-2014 Free Software Foundation, Inc.
1044 # Copyright (C) 2006-2018 Free Software Foundation, Inc.
10621045 #
10631046 # This file is free software; the Free Software Foundation
10641047 # gives unlimited permission to copy and/or distribute it,
10771060
10781061 # Check how to create a tarball. -*- Autoconf -*-
10791062
1080 # Copyright (C) 2004-2014 Free Software Foundation, Inc.
1063 # Copyright (C) 2004-2018 Free Software Foundation, Inc.
10811064 #
10821065 # This file is free software; the Free Software Foundation
10831066 # gives unlimited permission to copy and/or distribute it,
00 #! /bin/sh
11 # Wrapper for compilers which do not understand '-c -o'.
22
3 scriptversion=2012-10-14.11; # UTC
4
5 # Copyright (C) 1999-2014 Free Software Foundation, Inc.
3 scriptversion=2018-03-07.03; # UTC
4
5 # Copyright (C) 1999-2018 Free Software Foundation, Inc.
66 # Written by Tom Tromey <tromey@cygnus.com>.
77 #
88 # This program is free software; you can redistribute it and/or modify
1616 # GNU General Public License for more details.
1717 #
1818 # You should have received a copy of the GNU General Public License
19 # along with this program. If not, see <http://www.gnu.org/licenses/>.
19 # along with this program. If not, see <https://www.gnu.org/licenses/>.
2020
2121 # As a special exception to the GNU General Public License, if you
2222 # distribute this file as part of a program that contains a
254254 echo "compile $scriptversion"
255255 exit $?
256256 ;;
257 cl | *[/\\]cl | cl.exe | *[/\\]cl.exe )
257 cl | *[/\\]cl | cl.exe | *[/\\]cl.exe | \
258 icl | *[/\\]icl | icl.exe | *[/\\]icl.exe )
258259 func_cl_wrapper "$@" # Doesn't return...
259260 ;;
260261 esac
338339 # Local Variables:
339340 # mode: shell-script
340341 # sh-indentation: 2
341 # eval: (add-hook 'write-file-hooks 'time-stamp)
342 # eval: (add-hook 'before-save-hook 'time-stamp)
342343 # time-stamp-start: "scriptversion="
343344 # time-stamp-format: "%:y-%02m-%02d.%02H"
344 # time-stamp-time-zone: "UTC"
345 # time-stamp-time-zone: "UTC0"
345346 # time-stamp-end: "; # UTC"
346347 # End:
00 #! /bin/sh
11 # Attempt to guess a canonical system name.
2 # Copyright 1992-2015 Free Software Foundation, Inc.
3
4 timestamp='2015-01-01'
2 # Copyright 1992-2018 Free Software Foundation, Inc.
3
4 timestamp='2018-03-08'
55
66 # This file is free software; you can redistribute it and/or modify it
77 # under the terms of the GNU General Public License as published by
1414 # General Public License for more details.
1515 #
1616 # You should have received a copy of the GNU General Public License
17 # along with this program; if not, see <http://www.gnu.org/licenses/>.
17 # along with this program; if not, see <https://www.gnu.org/licenses/>.
1818 #
1919 # As a special exception to the GNU General Public License, if you
2020 # distribute this file as part of a program that contains a
2626 # Originally written by Per Bothner; maintained since 2000 by Ben Elliston.
2727 #
2828 # You can get the latest version of this script from:
29 # http://git.savannah.gnu.org/gitweb/?p=config.git;a=blob_plain;f=config.guess;hb=HEAD
29 # https://git.savannah.gnu.org/gitweb/?p=config.git;a=blob_plain;f=config.guess
3030 #
3131 # Please send patches to <config-patches@gnu.org>.
3232
3838
3939 Output the configuration name of the system \`$me' is run on.
4040
41 Operation modes:
41 Options:
4242 -h, --help print this help, then exit
4343 -t, --time-stamp print date of last modification, then exit
4444 -v, --version print version number, then exit
4949 GNU config.guess ($timestamp)
5050
5151 Originally written by Per Bothner.
52 Copyright 1992-2015 Free Software Foundation, Inc.
52 Copyright 1992-2018 Free Software Foundation, Inc.
5353
5454 This is free software; see the source for copying conditions. There is NO
5555 warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE."
106106 dummy=$tmp/dummy ;
107107 tmpfiles="$dummy.c $dummy.o $dummy.rel $dummy" ;
108108 case $CC_FOR_BUILD,$HOST_CC,$CC in
109 ,,) echo "int x;" > $dummy.c ;
109 ,,) echo "int x;" > "$dummy.c" ;
110110 for c in cc gcc c89 c99 ; do
111 if ($c -c -o $dummy.o $dummy.c) >/dev/null 2>&1 ; then
111 if ($c -c -o "$dummy.o" "$dummy.c") >/dev/null 2>&1 ; then
112112 CC_FOR_BUILD="$c"; break ;
113113 fi ;
114114 done ;
131131 UNAME_SYSTEM=`(uname -s) 2>/dev/null` || UNAME_SYSTEM=unknown
132132 UNAME_VERSION=`(uname -v) 2>/dev/null` || UNAME_VERSION=unknown
133133
134 case "${UNAME_SYSTEM}" in
134 case "$UNAME_SYSTEM" in
135135 Linux|GNU|GNU/*)
136136 # If the system lacks a compiler, then just pick glibc.
137137 # We could probably try harder.
138138 LIBC=gnu
139139
140 eval $set_cc_for_build
141 cat <<-EOF > $dummy.c
140 eval "$set_cc_for_build"
141 cat <<-EOF > "$dummy.c"
142142 #include <features.h>
143143 #if defined(__UCLIBC__)
144144 LIBC=uclibc
148148 LIBC=gnu
149149 #endif
150150 EOF
151 eval `$CC_FOR_BUILD -E $dummy.c 2>/dev/null | grep '^LIBC' | sed 's, ,,g'`
151 eval "`$CC_FOR_BUILD -E "$dummy.c" 2>/dev/null | grep '^LIBC' | sed 's, ,,g'`"
152
153 # If ldd exists, use it to detect musl libc.
154 if command -v ldd >/dev/null && \
155 ldd --version 2>&1 | grep -q ^musl
156 then
157 LIBC=musl
158 fi
152159 ;;
153160 esac
154161
155162 # Note: order is significant - the case branches are not exclusive.
156163
157 case "${UNAME_MACHINE}:${UNAME_SYSTEM}:${UNAME_RELEASE}:${UNAME_VERSION}" in
164 case "$UNAME_MACHINE:$UNAME_SYSTEM:$UNAME_RELEASE:$UNAME_VERSION" in
158165 *:NetBSD:*:*)
159166 # NetBSD (nbsd) targets should (where applicable) match one or
160167 # more of the tuples: *-*-netbsdelf*, *-*-netbsdaout*,
167174 # Note: NetBSD doesn't particularly care about the vendor
168175 # portion of the name. We always set it to "unknown".
169176 sysctl="sysctl -n hw.machine_arch"
170 UNAME_MACHINE_ARCH=`(/sbin/$sysctl 2>/dev/null || \
171 /usr/sbin/$sysctl 2>/dev/null || echo unknown)`
172 case "${UNAME_MACHINE_ARCH}" in
177 UNAME_MACHINE_ARCH=`(uname -p 2>/dev/null || \
178 "/sbin/$sysctl" 2>/dev/null || \
179 "/usr/sbin/$sysctl" 2>/dev/null || \
180 echo unknown)`
181 case "$UNAME_MACHINE_ARCH" in
173182 armeb) machine=armeb-unknown ;;
174183 arm*) machine=arm-unknown ;;
175184 sh3el) machine=shl-unknown ;;
176185 sh3eb) machine=sh-unknown ;;
177186 sh5el) machine=sh5le-unknown ;;
178 *) machine=${UNAME_MACHINE_ARCH}-unknown ;;
187 earmv*)
188 arch=`echo "$UNAME_MACHINE_ARCH" | sed -e 's,^e\(armv[0-9]\).*$,\1,'`
189 endian=`echo "$UNAME_MACHINE_ARCH" | sed -ne 's,^.*\(eb\)$,\1,p'`
190 machine="${arch}${endian}"-unknown
191 ;;
192 *) machine="$UNAME_MACHINE_ARCH"-unknown ;;
179193 esac
180194 # The Operating System including object format, if it has switched
181 # to ELF recently, or will in the future.
182 case "${UNAME_MACHINE_ARCH}" in
195 # to ELF recently (or will in the future) and ABI.
196 case "$UNAME_MACHINE_ARCH" in
197 earm*)
198 os=netbsdelf
199 ;;
183200 arm*|i386|m68k|ns32k|sh3*|sparc|vax)
184 eval $set_cc_for_build
201 eval "$set_cc_for_build"
185202 if echo __ELF__ | $CC_FOR_BUILD -E - 2>/dev/null \
186203 | grep -q __ELF__
187204 then
196213 os=netbsd
197214 ;;
198215 esac
216 # Determine ABI tags.
217 case "$UNAME_MACHINE_ARCH" in
218 earm*)
219 expr='s/^earmv[0-9]/-eabi/;s/eb$//'
220 abi=`echo "$UNAME_MACHINE_ARCH" | sed -e "$expr"`
221 ;;
222 esac
199223 # The OS release
200224 # Debian GNU/NetBSD machines have a different userland, and
201225 # thus, need a distinct triplet. However, they do not need
202226 # kernel version information, so it can be replaced with a
203227 # suitable tag, in the style of linux-gnu.
204 case "${UNAME_VERSION}" in
228 case "$UNAME_VERSION" in
205229 Debian*)
206230 release='-gnu'
207231 ;;
208232 *)
209 release=`echo ${UNAME_RELEASE}|sed -e 's/[-_].*/\./'`
233 release=`echo "$UNAME_RELEASE" | sed -e 's/[-_].*//' | cut -d. -f1,2`
210234 ;;
211235 esac
212236 # Since CPU_TYPE-MANUFACTURER-KERNEL-OPERATING_SYSTEM:
213237 # contains redundant information, the shorter form:
214238 # CPU_TYPE-MANUFACTURER-OPERATING_SYSTEM is used.
215 echo "${machine}-${os}${release}"
239 echo "$machine-${os}${release}${abi}"
216240 exit ;;
217241 *:Bitrig:*:*)
218242 UNAME_MACHINE_ARCH=`arch | sed 's/Bitrig.//'`
219 echo ${UNAME_MACHINE_ARCH}-unknown-bitrig${UNAME_RELEASE}
243 echo "$UNAME_MACHINE_ARCH"-unknown-bitrig"$UNAME_RELEASE"
220244 exit ;;
221245 *:OpenBSD:*:*)
222246 UNAME_MACHINE_ARCH=`arch | sed 's/OpenBSD.//'`
223 echo ${UNAME_MACHINE_ARCH}-unknown-openbsd${UNAME_RELEASE}
247 echo "$UNAME_MACHINE_ARCH"-unknown-openbsd"$UNAME_RELEASE"
248 exit ;;
249 *:LibertyBSD:*:*)
250 UNAME_MACHINE_ARCH=`arch | sed 's/^.*BSD\.//'`
251 echo "$UNAME_MACHINE_ARCH"-unknown-libertybsd"$UNAME_RELEASE"
252 exit ;;
253 *:MidnightBSD:*:*)
254 echo "$UNAME_MACHINE"-unknown-midnightbsd"$UNAME_RELEASE"
224255 exit ;;
225256 *:ekkoBSD:*:*)
226 echo ${UNAME_MACHINE}-unknown-ekkobsd${UNAME_RELEASE}
257 echo "$UNAME_MACHINE"-unknown-ekkobsd"$UNAME_RELEASE"
227258 exit ;;
228259 *:SolidBSD:*:*)
229 echo ${UNAME_MACHINE}-unknown-solidbsd${UNAME_RELEASE}
260 echo "$UNAME_MACHINE"-unknown-solidbsd"$UNAME_RELEASE"
230261 exit ;;
231262 macppc:MirBSD:*:*)
232 echo powerpc-unknown-mirbsd${UNAME_RELEASE}
263 echo powerpc-unknown-mirbsd"$UNAME_RELEASE"
233264 exit ;;
234265 *:MirBSD:*:*)
235 echo ${UNAME_MACHINE}-unknown-mirbsd${UNAME_RELEASE}
236 exit ;;
266 echo "$UNAME_MACHINE"-unknown-mirbsd"$UNAME_RELEASE"
267 exit ;;
268 *:Sortix:*:*)
269 echo "$UNAME_MACHINE"-unknown-sortix
270 exit ;;
271 *:Redox:*:*)
272 echo "$UNAME_MACHINE"-unknown-redox
273 exit ;;
274 mips:OSF1:*.*)
275 echo mips-dec-osf1
276 exit ;;
237277 alpha:OSF1:*:*)
238278 case $UNAME_RELEASE in
239279 *4.0)
250290 ALPHA_CPU_TYPE=`/usr/sbin/psrinfo -v | sed -n -e 's/^ The alpha \(.*\) processor.*$/\1/p' | head -n 1`
251291 case "$ALPHA_CPU_TYPE" in
252292 "EV4 (21064)")
253 UNAME_MACHINE="alpha" ;;
293 UNAME_MACHINE=alpha ;;
254294 "EV4.5 (21064)")
255 UNAME_MACHINE="alpha" ;;
295 UNAME_MACHINE=alpha ;;
256296 "LCA4 (21066/21068)")
257 UNAME_MACHINE="alpha" ;;
297 UNAME_MACHINE=alpha ;;
258298 "EV5 (21164)")
259 UNAME_MACHINE="alphaev5" ;;
299 UNAME_MACHINE=alphaev5 ;;
260300 "EV5.6 (21164A)")
261 UNAME_MACHINE="alphaev56" ;;
301 UNAME_MACHINE=alphaev56 ;;
262302 "EV5.6 (21164PC)")
263 UNAME_MACHINE="alphapca56" ;;
303 UNAME_MACHINE=alphapca56 ;;
264304 "EV5.7 (21164PC)")
265 UNAME_MACHINE="alphapca57" ;;
305 UNAME_MACHINE=alphapca57 ;;
266306 "EV6 (21264)")
267 UNAME_MACHINE="alphaev6" ;;
307 UNAME_MACHINE=alphaev6 ;;
268308 "EV6.7 (21264A)")
269 UNAME_MACHINE="alphaev67" ;;
309 UNAME_MACHINE=alphaev67 ;;
270310 "EV6.8CB (21264C)")
271 UNAME_MACHINE="alphaev68" ;;
311 UNAME_MACHINE=alphaev68 ;;
272312 "EV6.8AL (21264B)")
273 UNAME_MACHINE="alphaev68" ;;
313 UNAME_MACHINE=alphaev68 ;;
274314 "EV6.8CX (21264D)")
275 UNAME_MACHINE="alphaev68" ;;
315 UNAME_MACHINE=alphaev68 ;;
276316 "EV6.9A (21264/EV69A)")
277 UNAME_MACHINE="alphaev69" ;;
317 UNAME_MACHINE=alphaev69 ;;
278318 "EV7 (21364)")
279 UNAME_MACHINE="alphaev7" ;;
319 UNAME_MACHINE=alphaev7 ;;
280320 "EV7.9 (21364A)")
281 UNAME_MACHINE="alphaev79" ;;
321 UNAME_MACHINE=alphaev79 ;;
282322 esac
283323 # A Pn.n version is a patched version.
284324 # A Vn.n version is a released version.
285325 # A Tn.n version is a released field test version.
286326 # A Xn.n version is an unreleased experimental baselevel.
287327 # 1.2 uses "1.2" for uname -r.
288 echo ${UNAME_MACHINE}-dec-osf`echo ${UNAME_RELEASE} | sed -e 's/^[PVTX]//' | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz'`
328 echo "$UNAME_MACHINE"-dec-osf"`echo "$UNAME_RELEASE" | sed -e 's/^[PVTX]//' | tr ABCDEFGHIJKLMNOPQRSTUVWXYZ abcdefghijklmnopqrstuvwxyz`"
289329 # Reset EXIT trap before exiting to avoid spurious non-zero exit code.
290330 exitcode=$?
291331 trap '' 0
292332 exit $exitcode ;;
293 Alpha\ *:Windows_NT*:*)
294 # How do we know it's Interix rather than the generic POSIX subsystem?
295 # Should we change UNAME_MACHINE based on the output of uname instead
296 # of the specific Alpha model?
297 echo alpha-pc-interix
298 exit ;;
299 21064:Windows_NT:50:3)
300 echo alpha-dec-winnt3.5
301 exit ;;
302333 Amiga*:UNIX_System_V:4.0:*)
303334 echo m68k-unknown-sysv4
304335 exit ;;
305336 *:[Aa]miga[Oo][Ss]:*:*)
306 echo ${UNAME_MACHINE}-unknown-amigaos
337 echo "$UNAME_MACHINE"-unknown-amigaos
307338 exit ;;
308339 *:[Mm]orph[Oo][Ss]:*:*)
309 echo ${UNAME_MACHINE}-unknown-morphos
340 echo "$UNAME_MACHINE"-unknown-morphos
310341 exit ;;
311342 *:OS/390:*:*)
312343 echo i370-ibm-openedition
318349 echo powerpc-ibm-os400
319350 exit ;;
320351 arm:RISC*:1.[012]*:*|arm:riscix:1.[012]*:*)
321 echo arm-acorn-riscix${UNAME_RELEASE}
352 echo arm-acorn-riscix"$UNAME_RELEASE"
322353 exit ;;
323354 arm*:riscos:*:*|arm*:RISCOS:*:*)
324355 echo arm-unknown-riscos
345376 sparc) echo sparc-icl-nx7; exit ;;
346377 esac ;;
347378 s390x:SunOS:*:*)
348 echo ${UNAME_MACHINE}-ibm-solaris2`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'`
379 echo "$UNAME_MACHINE"-ibm-solaris2"`echo "$UNAME_RELEASE" | sed -e 's/[^.]*//'`"
349380 exit ;;
350381 sun4H:SunOS:5.*:*)
351 echo sparc-hal-solaris2`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'`
382 echo sparc-hal-solaris2"`echo "$UNAME_RELEASE"|sed -e 's/[^.]*//'`"
352383 exit ;;
353384 sun4*:SunOS:5.*:* | tadpole*:SunOS:5.*:*)
354 echo sparc-sun-solaris2`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'`
385 echo sparc-sun-solaris2"`echo "$UNAME_RELEASE" | sed -e 's/[^.]*//'`"
355386 exit ;;
356387 i86pc:AuroraUX:5.*:* | i86xen:AuroraUX:5.*:*)
357 echo i386-pc-auroraux${UNAME_RELEASE}
388 echo i386-pc-auroraux"$UNAME_RELEASE"
358389 exit ;;
359390 i86pc:SunOS:5.*:* | i86xen:SunOS:5.*:*)
360 eval $set_cc_for_build
361 SUN_ARCH="i386"
391 eval "$set_cc_for_build"
392 SUN_ARCH=i386
362393 # If there is a compiler, see if it is configured for 64-bit objects.
363394 # Note that the Sun cc does not turn __LP64__ into 1 like gcc does.
364395 # This test works for both compilers.
365 if [ "$CC_FOR_BUILD" != 'no_compiler_found' ]; then
396 if [ "$CC_FOR_BUILD" != no_compiler_found ]; then
366397 if (echo '#ifdef __amd64'; echo IS_64BIT_ARCH; echo '#endif') | \
367 (CCOPTS= $CC_FOR_BUILD -E - 2>/dev/null) | \
398 (CCOPTS="" $CC_FOR_BUILD -E - 2>/dev/null) | \
368399 grep IS_64BIT_ARCH >/dev/null
369400 then
370 SUN_ARCH="x86_64"
401 SUN_ARCH=x86_64
371402 fi
372403 fi
373 echo ${SUN_ARCH}-pc-solaris2`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'`
404 echo "$SUN_ARCH"-pc-solaris2"`echo "$UNAME_RELEASE"|sed -e 's/[^.]*//'`"
374405 exit ;;
375406 sun4*:SunOS:6*:*)
376407 # According to config.sub, this is the proper way to canonicalize
377408 # SunOS6. Hard to guess exactly what SunOS6 will be like, but
378409 # it's likely to be more like Solaris than SunOS4.
379 echo sparc-sun-solaris3`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'`
410 echo sparc-sun-solaris3"`echo "$UNAME_RELEASE"|sed -e 's/[^.]*//'`"
380411 exit ;;
381412 sun4*:SunOS:*:*)
382413 case "`/usr/bin/arch -k`" in
385416 ;;
386417 esac
387418 # Japanese Language versions have a version number like `4.1.3-JL'.
388 echo sparc-sun-sunos`echo ${UNAME_RELEASE}|sed -e 's/-/_/'`
419 echo sparc-sun-sunos"`echo "$UNAME_RELEASE"|sed -e 's/-/_/'`"
389420 exit ;;
390421 sun3*:SunOS:*:*)
391 echo m68k-sun-sunos${UNAME_RELEASE}
422 echo m68k-sun-sunos"$UNAME_RELEASE"
392423 exit ;;
393424 sun*:*:4.2BSD:*)
394425 UNAME_RELEASE=`(sed 1q /etc/motd | awk '{print substr($5,1,3)}') 2>/dev/null`
395 test "x${UNAME_RELEASE}" = "x" && UNAME_RELEASE=3
426 test "x$UNAME_RELEASE" = x && UNAME_RELEASE=3
396427 case "`/bin/arch`" in
397428 sun3)
398 echo m68k-sun-sunos${UNAME_RELEASE}
429 echo m68k-sun-sunos"$UNAME_RELEASE"
399430 ;;
400431 sun4)
401 echo sparc-sun-sunos${UNAME_RELEASE}
432 echo sparc-sun-sunos"$UNAME_RELEASE"
402433 ;;
403434 esac
404435 exit ;;
405436 aushp:SunOS:*:*)
406 echo sparc-auspex-sunos${UNAME_RELEASE}
437 echo sparc-auspex-sunos"$UNAME_RELEASE"
407438 exit ;;
408439 # The situation for MiNT is a little confusing. The machine name
409440 # can be virtually everything (everything which is not
414445 # MiNT. But MiNT is downward compatible to TOS, so this should
415446 # be no problem.
416447 atarist[e]:*MiNT:*:* | atarist[e]:*mint:*:* | atarist[e]:*TOS:*:*)
417 echo m68k-atari-mint${UNAME_RELEASE}
448 echo m68k-atari-mint"$UNAME_RELEASE"
418449 exit ;;
419450 atari*:*MiNT:*:* | atari*:*mint:*:* | atarist[e]:*TOS:*:*)
420 echo m68k-atari-mint${UNAME_RELEASE}
451 echo m68k-atari-mint"$UNAME_RELEASE"
421452 exit ;;
422453 *falcon*:*MiNT:*:* | *falcon*:*mint:*:* | *falcon*:*TOS:*:*)
423 echo m68k-atari-mint${UNAME_RELEASE}
454 echo m68k-atari-mint"$UNAME_RELEASE"
424455 exit ;;
425456 milan*:*MiNT:*:* | milan*:*mint:*:* | *milan*:*TOS:*:*)
426 echo m68k-milan-mint${UNAME_RELEASE}
457 echo m68k-milan-mint"$UNAME_RELEASE"
427458 exit ;;
428459 hades*:*MiNT:*:* | hades*:*mint:*:* | *hades*:*TOS:*:*)
429 echo m68k-hades-mint${UNAME_RELEASE}
460 echo m68k-hades-mint"$UNAME_RELEASE"
430461 exit ;;
431462 *:*MiNT:*:* | *:*mint:*:* | *:*TOS:*:*)
432 echo m68k-unknown-mint${UNAME_RELEASE}
463 echo m68k-unknown-mint"$UNAME_RELEASE"
433464 exit ;;
434465 m68k:machten:*:*)
435 echo m68k-apple-machten${UNAME_RELEASE}
466 echo m68k-apple-machten"$UNAME_RELEASE"
436467 exit ;;
437468 powerpc:machten:*:*)
438 echo powerpc-apple-machten${UNAME_RELEASE}
469 echo powerpc-apple-machten"$UNAME_RELEASE"
439470 exit ;;
440471 RISC*:Mach:*:*)
441472 echo mips-dec-mach_bsd4.3
442473 exit ;;
443474 RISC*:ULTRIX:*:*)
444 echo mips-dec-ultrix${UNAME_RELEASE}
475 echo mips-dec-ultrix"$UNAME_RELEASE"
445476 exit ;;
446477 VAX*:ULTRIX*:*:*)
447 echo vax-dec-ultrix${UNAME_RELEASE}
478 echo vax-dec-ultrix"$UNAME_RELEASE"
448479 exit ;;
449480 2020:CLIX:*:* | 2430:CLIX:*:*)
450 echo clipper-intergraph-clix${UNAME_RELEASE}
481 echo clipper-intergraph-clix"$UNAME_RELEASE"
451482 exit ;;
452483 mips:*:*:UMIPS | mips:*:*:RISCos)
453 eval $set_cc_for_build
454 sed 's/^ //' << EOF >$dummy.c
484 eval "$set_cc_for_build"
485 sed 's/^ //' << EOF > "$dummy.c"
455486 #ifdef __cplusplus
456487 #include <stdio.h> /* for printf() prototype */
457488 int main (int argc, char *argv[]) {
460491 #endif
461492 #if defined (host_mips) && defined (MIPSEB)
462493 #if defined (SYSTYPE_SYSV)
463 printf ("mips-mips-riscos%ssysv\n", argv[1]); exit (0);
494 printf ("mips-mips-riscos%ssysv\\n", argv[1]); exit (0);
464495 #endif
465496 #if defined (SYSTYPE_SVR4)
466 printf ("mips-mips-riscos%ssvr4\n", argv[1]); exit (0);
497 printf ("mips-mips-riscos%ssvr4\\n", argv[1]); exit (0);
467498 #endif
468499 #if defined (SYSTYPE_BSD43) || defined(SYSTYPE_BSD)
469 printf ("mips-mips-riscos%sbsd\n", argv[1]); exit (0);
500 printf ("mips-mips-riscos%sbsd\\n", argv[1]); exit (0);
470501 #endif
471502 #endif
472503 exit (-1);
473504 }
474505 EOF
475 $CC_FOR_BUILD -o $dummy $dummy.c &&
476 dummyarg=`echo "${UNAME_RELEASE}" | sed -n 's/\([0-9]*\).*/\1/p'` &&
477 SYSTEM_NAME=`$dummy $dummyarg` &&
506 $CC_FOR_BUILD -o "$dummy" "$dummy.c" &&
507 dummyarg=`echo "$UNAME_RELEASE" | sed -n 's/\([0-9]*\).*/\1/p'` &&
508 SYSTEM_NAME=`"$dummy" "$dummyarg"` &&
478509 { echo "$SYSTEM_NAME"; exit; }
479 echo mips-mips-riscos${UNAME_RELEASE}
510 echo mips-mips-riscos"$UNAME_RELEASE"
480511 exit ;;
481512 Motorola:PowerMAX_OS:*:*)
482513 echo powerpc-motorola-powermax
502533 AViiON:dgux:*:*)
503534 # DG/UX returns AViiON for all architectures
504535 UNAME_PROCESSOR=`/usr/bin/uname -p`
505 if [ $UNAME_PROCESSOR = mc88100 ] || [ $UNAME_PROCESSOR = mc88110 ]
536 if [ "$UNAME_PROCESSOR" = mc88100 ] || [ "$UNAME_PROCESSOR" = mc88110 ]
506537 then
507 if [ ${TARGET_BINARY_INTERFACE}x = m88kdguxelfx ] || \
508 [ ${TARGET_BINARY_INTERFACE}x = x ]
538 if [ "$TARGET_BINARY_INTERFACE"x = m88kdguxelfx ] || \
539 [ "$TARGET_BINARY_INTERFACE"x = x ]
509540 then
510 echo m88k-dg-dgux${UNAME_RELEASE}
541 echo m88k-dg-dgux"$UNAME_RELEASE"
511542 else
512 echo m88k-dg-dguxbcs${UNAME_RELEASE}
543 echo m88k-dg-dguxbcs"$UNAME_RELEASE"
513544 fi
514545 else
515 echo i586-dg-dgux${UNAME_RELEASE}
546 echo i586-dg-dgux"$UNAME_RELEASE"
516547 fi
517548 exit ;;
518549 M88*:DolphinOS:*:*) # DolphinOS (SVR3)
529560 echo m68k-tektronix-bsd
530561 exit ;;
531562 *:IRIX*:*:*)
532 echo mips-sgi-irix`echo ${UNAME_RELEASE}|sed -e 's/-/_/g'`
563 echo mips-sgi-irix"`echo "$UNAME_RELEASE"|sed -e 's/-/_/g'`"
533564 exit ;;
534565 ????????:AIX?:[12].1:2) # AIX 2.2.1 or AIX 2.1.1 is RT/PC AIX.
535566 echo romp-ibm-aix # uname -m gives an 8 hex-code CPU id
541572 if [ -x /usr/bin/oslevel ] ; then
542573 IBM_REV=`/usr/bin/oslevel`
543574 else
544 IBM_REV=${UNAME_VERSION}.${UNAME_RELEASE}
545 fi
546 echo ${UNAME_MACHINE}-ibm-aix${IBM_REV}
575 IBM_REV="$UNAME_VERSION.$UNAME_RELEASE"
576 fi
577 echo "$UNAME_MACHINE"-ibm-aix"$IBM_REV"
547578 exit ;;
548579 *:AIX:2:3)
549580 if grep bos325 /usr/include/stdio.h >/dev/null 2>&1; then
550 eval $set_cc_for_build
551 sed 's/^ //' << EOF >$dummy.c
581 eval "$set_cc_for_build"
582 sed 's/^ //' << EOF > "$dummy.c"
552583 #include <sys/systemcfg.h>
553584
554585 main()
559590 exit(0);
560591 }
561592 EOF
562 if $CC_FOR_BUILD -o $dummy $dummy.c && SYSTEM_NAME=`$dummy`
593 if $CC_FOR_BUILD -o "$dummy" "$dummy.c" && SYSTEM_NAME=`"$dummy"`
563594 then
564595 echo "$SYSTEM_NAME"
565596 else
573604 exit ;;
574605 *:AIX:*:[4567])
575606 IBM_CPU_ID=`/usr/sbin/lsdev -C -c processor -S available | sed 1q | awk '{ print $1 }'`
576 if /usr/sbin/lsattr -El ${IBM_CPU_ID} | grep ' POWER' >/dev/null 2>&1; then
607 if /usr/sbin/lsattr -El "$IBM_CPU_ID" | grep ' POWER' >/dev/null 2>&1; then
577608 IBM_ARCH=rs6000
578609 else
579610 IBM_ARCH=powerpc
582613 IBM_REV=`/usr/bin/lslpp -Lqc bos.rte.libc |
583614 awk -F: '{ print $3 }' | sed s/[0-9]*$/0/`
584615 else
585 IBM_REV=${UNAME_VERSION}.${UNAME_RELEASE}
586 fi
587 echo ${IBM_ARCH}-ibm-aix${IBM_REV}
616 IBM_REV="$UNAME_VERSION.$UNAME_RELEASE"
617 fi
618 echo "$IBM_ARCH"-ibm-aix"$IBM_REV"
588619 exit ;;
589620 *:AIX:*:*)
590621 echo rs6000-ibm-aix
591622 exit ;;
592 ibmrt:4.4BSD:*|romp-ibm:BSD:*)
623 ibmrt:4.4BSD:*|romp-ibm:4.4BSD:*)
593624 echo romp-ibm-bsd4.4
594625 exit ;;
595626 ibmrt:*BSD:*|romp-ibm:BSD:*) # covers RT/PC BSD and
596 echo romp-ibm-bsd${UNAME_RELEASE} # 4.3 with uname added to
627 echo romp-ibm-bsd"$UNAME_RELEASE" # 4.3 with uname added to
597628 exit ;; # report: romp-ibm BSD 4.3
598629 *:BOSX:*:*)
599630 echo rs6000-bull-bosx
608639 echo m68k-hp-bsd4.4
609640 exit ;;
610641 9000/[34678]??:HP-UX:*:*)
611 HPUX_REV=`echo ${UNAME_RELEASE}|sed -e 's/[^.]*.[0B]*//'`
612 case "${UNAME_MACHINE}" in
613 9000/31? ) HP_ARCH=m68000 ;;
614 9000/[34]?? ) HP_ARCH=m68k ;;
642 HPUX_REV=`echo "$UNAME_RELEASE"|sed -e 's/[^.]*.[0B]*//'`
643 case "$UNAME_MACHINE" in
644 9000/31?) HP_ARCH=m68000 ;;
645 9000/[34]??) HP_ARCH=m68k ;;
615646 9000/[678][0-9][0-9])
616647 if [ -x /usr/bin/getconf ]; then
617648 sc_cpu_version=`/usr/bin/getconf SC_CPU_VERSION 2>/dev/null`
618649 sc_kernel_bits=`/usr/bin/getconf SC_KERNEL_BITS 2>/dev/null`
619 case "${sc_cpu_version}" in
620 523) HP_ARCH="hppa1.0" ;; # CPU_PA_RISC1_0
621 528) HP_ARCH="hppa1.1" ;; # CPU_PA_RISC1_1
650 case "$sc_cpu_version" in
651 523) HP_ARCH=hppa1.0 ;; # CPU_PA_RISC1_0
652 528) HP_ARCH=hppa1.1 ;; # CPU_PA_RISC1_1
622653 532) # CPU_PA_RISC2_0
623 case "${sc_kernel_bits}" in
624 32) HP_ARCH="hppa2.0n" ;;
625 64) HP_ARCH="hppa2.0w" ;;
626 '') HP_ARCH="hppa2.0" ;; # HP-UX 10.20
654 case "$sc_kernel_bits" in
655 32) HP_ARCH=hppa2.0n ;;
656 64) HP_ARCH=hppa2.0w ;;
657 '') HP_ARCH=hppa2.0 ;; # HP-UX 10.20
627658 esac ;;
628659 esac
629660 fi
630 if [ "${HP_ARCH}" = "" ]; then
631 eval $set_cc_for_build
632 sed 's/^ //' << EOF >$dummy.c
661 if [ "$HP_ARCH" = "" ]; then
662 eval "$set_cc_for_build"
663 sed 's/^ //' << EOF > "$dummy.c"
633664
634665 #define _HPUX_SOURCE
635666 #include <stdlib.h>
662693 exit (0);
663694 }
664695 EOF
665 (CCOPTS= $CC_FOR_BUILD -o $dummy $dummy.c 2>/dev/null) && HP_ARCH=`$dummy`
696 (CCOPTS="" $CC_FOR_BUILD -o "$dummy" "$dummy.c" 2>/dev/null) && HP_ARCH=`"$dummy"`
666697 test -z "$HP_ARCH" && HP_ARCH=hppa
667698 fi ;;
668699 esac
669 if [ ${HP_ARCH} = "hppa2.0w" ]
700 if [ "$HP_ARCH" = hppa2.0w ]
670701 then
671 eval $set_cc_for_build
702 eval "$set_cc_for_build"
672703
673704 # hppa2.0w-hp-hpux* has a 64-bit kernel and a compiler generating
674705 # 32-bit code. hppa64-hp-hpux* has the same kernel and a compiler
679710 # $ CC_FOR_BUILD="cc +DA2.0w" ./config.guess
680711 # => hppa64-hp-hpux11.23
681712
682 if echo __LP64__ | (CCOPTS= $CC_FOR_BUILD -E - 2>/dev/null) |
713 if echo __LP64__ | (CCOPTS="" $CC_FOR_BUILD -E - 2>/dev/null) |
683714 grep -q __LP64__
684715 then
685 HP_ARCH="hppa2.0w"
716 HP_ARCH=hppa2.0w
686717 else
687 HP_ARCH="hppa64"
718 HP_ARCH=hppa64
688719 fi
689720 fi
690 echo ${HP_ARCH}-hp-hpux${HPUX_REV}
721 echo "$HP_ARCH"-hp-hpux"$HPUX_REV"
691722 exit ;;
692723 ia64:HP-UX:*:*)
693 HPUX_REV=`echo ${UNAME_RELEASE}|sed -e 's/[^.]*.[0B]*//'`
694 echo ia64-hp-hpux${HPUX_REV}
724 HPUX_REV=`echo "$UNAME_RELEASE"|sed -e 's/[^.]*.[0B]*//'`
725 echo ia64-hp-hpux"$HPUX_REV"
695726 exit ;;
696727 3050*:HI-UX:*:*)
697 eval $set_cc_for_build
698 sed 's/^ //' << EOF >$dummy.c
728 eval "$set_cc_for_build"
729 sed 's/^ //' << EOF > "$dummy.c"
699730 #include <unistd.h>
700731 int
701732 main ()
720751 exit (0);
721752 }
722753 EOF
723 $CC_FOR_BUILD -o $dummy $dummy.c && SYSTEM_NAME=`$dummy` &&
754 $CC_FOR_BUILD -o "$dummy" "$dummy.c" && SYSTEM_NAME=`"$dummy"` &&
724755 { echo "$SYSTEM_NAME"; exit; }
725756 echo unknown-hitachi-hiuxwe2
726757 exit ;;
727 9000/7??:4.3bsd:*:* | 9000/8?[79]:4.3bsd:*:* )
758 9000/7??:4.3bsd:*:* | 9000/8?[79]:4.3bsd:*:*)
728759 echo hppa1.1-hp-bsd
729760 exit ;;
730761 9000/8??:4.3bsd:*:*)
733764 *9??*:MPE/iX:*:* | *3000*:MPE/iX:*:*)
734765 echo hppa1.0-hp-mpeix
735766 exit ;;
736 hp7??:OSF1:*:* | hp8?[79]:OSF1:*:* )
767 hp7??:OSF1:*:* | hp8?[79]:OSF1:*:*)
737768 echo hppa1.1-hp-osf
738769 exit ;;
739770 hp8??:OSF1:*:*)
741772 exit ;;
742773 i*86:OSF1:*:*)
743774 if [ -x /usr/sbin/sysversion ] ; then
744 echo ${UNAME_MACHINE}-unknown-osf1mk
775 echo "$UNAME_MACHINE"-unknown-osf1mk
745776 else
746 echo ${UNAME_MACHINE}-unknown-osf1
777 echo "$UNAME_MACHINE"-unknown-osf1
747778 fi
748779 exit ;;
749780 parisc*:Lites*:*:*)
768799 echo c4-convex-bsd
769800 exit ;;
770801 CRAY*Y-MP:*:*:*)
771 echo ymp-cray-unicos${UNAME_RELEASE} | sed -e 's/\.[^.]*$/.X/'
802 echo ymp-cray-unicos"$UNAME_RELEASE" | sed -e 's/\.[^.]*$/.X/'
772803 exit ;;
773804 CRAY*[A-Z]90:*:*:*)
774 echo ${UNAME_MACHINE}-cray-unicos${UNAME_RELEASE} \
805 echo "$UNAME_MACHINE"-cray-unicos"$UNAME_RELEASE" \
775806 | sed -e 's/CRAY.*\([A-Z]90\)/\1/' \
776807 -e y/ABCDEFGHIJKLMNOPQRSTUVWXYZ/abcdefghijklmnopqrstuvwxyz/ \
777808 -e 's/\.[^.]*$/.X/'
778809 exit ;;
779810 CRAY*TS:*:*:*)
780 echo t90-cray-unicos${UNAME_RELEASE} | sed -e 's/\.[^.]*$/.X/'
811 echo t90-cray-unicos"$UNAME_RELEASE" | sed -e 's/\.[^.]*$/.X/'
781812 exit ;;
782813 CRAY*T3E:*:*:*)
783 echo alphaev5-cray-unicosmk${UNAME_RELEASE} | sed -e 's/\.[^.]*$/.X/'
814 echo alphaev5-cray-unicosmk"$UNAME_RELEASE" | sed -e 's/\.[^.]*$/.X/'
784815 exit ;;
785816 CRAY*SV1:*:*:*)
786 echo sv1-cray-unicos${UNAME_RELEASE} | sed -e 's/\.[^.]*$/.X/'
817 echo sv1-cray-unicos"$UNAME_RELEASE" | sed -e 's/\.[^.]*$/.X/'
787818 exit ;;
788819 *:UNICOS/mp:*:*)
789 echo craynv-cray-unicosmp${UNAME_RELEASE} | sed -e 's/\.[^.]*$/.X/'
820 echo craynv-cray-unicosmp"$UNAME_RELEASE" | sed -e 's/\.[^.]*$/.X/'
790821 exit ;;
791822 F30[01]:UNIX_System_V:*:* | F700:UNIX_System_V:*:*)
792 FUJITSU_PROC=`uname -m | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz'`
793 FUJITSU_SYS=`uname -p | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz' | sed -e 's/\///'`
794 FUJITSU_REL=`echo ${UNAME_RELEASE} | sed -e 's/ /_/'`
823 FUJITSU_PROC=`uname -m | tr ABCDEFGHIJKLMNOPQRSTUVWXYZ abcdefghijklmnopqrstuvwxyz`
824 FUJITSU_SYS=`uname -p | tr ABCDEFGHIJKLMNOPQRSTUVWXYZ abcdefghijklmnopqrstuvwxyz | sed -e 's/\///'`
825 FUJITSU_REL=`echo "$UNAME_RELEASE" | sed -e 's/ /_/'`
795826 echo "${FUJITSU_PROC}-fujitsu-${FUJITSU_SYS}${FUJITSU_REL}"
796827 exit ;;
797828 5000:UNIX_System_V:4.*:*)
798 FUJITSU_SYS=`uname -p | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz' | sed -e 's/\///'`
799 FUJITSU_REL=`echo ${UNAME_RELEASE} | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz' | sed -e 's/ /_/'`
829 FUJITSU_SYS=`uname -p | tr ABCDEFGHIJKLMNOPQRSTUVWXYZ abcdefghijklmnopqrstuvwxyz | sed -e 's/\///'`
830 FUJITSU_REL=`echo "$UNAME_RELEASE" | tr ABCDEFGHIJKLMNOPQRSTUVWXYZ abcdefghijklmnopqrstuvwxyz | sed -e 's/ /_/'`
800831 echo "sparc-fujitsu-${FUJITSU_SYS}${FUJITSU_REL}"
801832 exit ;;
802833 i*86:BSD/386:*:* | i*86:BSD/OS:*:* | *:Ascend\ Embedded/OS:*:*)
803 echo ${UNAME_MACHINE}-pc-bsdi${UNAME_RELEASE}
834 echo "$UNAME_MACHINE"-pc-bsdi"$UNAME_RELEASE"
804835 exit ;;
805836 sparc*:BSD/OS:*:*)
806 echo sparc-unknown-bsdi${UNAME_RELEASE}
837 echo sparc-unknown-bsdi"$UNAME_RELEASE"
807838 exit ;;
808839 *:BSD/OS:*:*)
809 echo ${UNAME_MACHINE}-unknown-bsdi${UNAME_RELEASE}
840 echo "$UNAME_MACHINE"-unknown-bsdi"$UNAME_RELEASE"
810841 exit ;;
811842 *:FreeBSD:*:*)
812843 UNAME_PROCESSOR=`/usr/bin/uname -p`
813 case ${UNAME_PROCESSOR} in
844 case "$UNAME_PROCESSOR" in
814845 amd64)
815 echo x86_64-unknown-freebsd`echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'` ;;
816 *)
817 echo ${UNAME_PROCESSOR}-unknown-freebsd`echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'` ;;
846 UNAME_PROCESSOR=x86_64 ;;
847 i386)
848 UNAME_PROCESSOR=i586 ;;
818849 esac
850 echo "$UNAME_PROCESSOR"-unknown-freebsd"`echo "$UNAME_RELEASE"|sed -e 's/[-(].*//'`"
819851 exit ;;
820852 i*:CYGWIN*:*)
821 echo ${UNAME_MACHINE}-pc-cygwin
853 echo "$UNAME_MACHINE"-pc-cygwin
822854 exit ;;
823855 *:MINGW64*:*)
824 echo ${UNAME_MACHINE}-pc-mingw64
856 echo "$UNAME_MACHINE"-pc-mingw64
825857 exit ;;
826858 *:MINGW*:*)
827 echo ${UNAME_MACHINE}-pc-mingw32
859 echo "$UNAME_MACHINE"-pc-mingw32
828860 exit ;;
829861 *:MSYS*:*)
830 echo ${UNAME_MACHINE}-pc-msys
831 exit ;;
832 i*:windows32*:*)
833 # uname -m includes "-pc" on this system.
834 echo ${UNAME_MACHINE}-mingw32
862 echo "$UNAME_MACHINE"-pc-msys
835863 exit ;;
836864 i*:PW*:*)
837 echo ${UNAME_MACHINE}-pc-pw32
865 echo "$UNAME_MACHINE"-pc-pw32
838866 exit ;;
839867 *:Interix*:*)
840 case ${UNAME_MACHINE} in
868 case "$UNAME_MACHINE" in
841869 x86)
842 echo i586-pc-interix${UNAME_RELEASE}
870 echo i586-pc-interix"$UNAME_RELEASE"
843871 exit ;;
844872 authenticamd | genuineintel | EM64T)
845 echo x86_64-unknown-interix${UNAME_RELEASE}
873 echo x86_64-unknown-interix"$UNAME_RELEASE"
846874 exit ;;
847875 IA64)
848 echo ia64-unknown-interix${UNAME_RELEASE}
876 echo ia64-unknown-interix"$UNAME_RELEASE"
849877 exit ;;
850878 esac ;;
851 [345]86:Windows_95:* | [345]86:Windows_98:* | [345]86:Windows_NT:*)
852 echo i${UNAME_MACHINE}-pc-mks
853 exit ;;
854 8664:Windows_NT:*)
855 echo x86_64-pc-mks
856 exit ;;
857 i*:Windows_NT*:* | Pentium*:Windows_NT*:*)
858 # How do we know it's Interix rather than the generic POSIX subsystem?
859 # It also conflicts with pre-2.0 versions of AT&T UWIN. Should we
860 # UNAME_MACHINE based on the output of uname instead of i386?
861 echo i586-pc-interix
862 exit ;;
863879 i*:UWIN*:*)
864 echo ${UNAME_MACHINE}-pc-uwin
880 echo "$UNAME_MACHINE"-pc-uwin
865881 exit ;;
866882 amd64:CYGWIN*:*:* | x86_64:CYGWIN*:*:*)
867883 echo x86_64-unknown-cygwin
868884 exit ;;
869 p*:CYGWIN*:*)
870 echo powerpcle-unknown-cygwin
871 exit ;;
872885 prep*:SunOS:5.*:*)
873 echo powerpcle-unknown-solaris2`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'`
886 echo powerpcle-unknown-solaris2"`echo "$UNAME_RELEASE"|sed -e 's/[^.]*//'`"
874887 exit ;;
875888 *:GNU:*:*)
876889 # the GNU system
877 echo `echo ${UNAME_MACHINE}|sed -e 's,[-/].*$,,'`-unknown-${LIBC}`echo ${UNAME_RELEASE}|sed -e 's,/.*$,,'`
890 echo "`echo "$UNAME_MACHINE"|sed -e 's,[-/].*$,,'`-unknown-$LIBC`echo "$UNAME_RELEASE"|sed -e 's,/.*$,,'`"
878891 exit ;;
879892 *:GNU/*:*:*)
880893 # other systems with GNU libc and userland
881 echo ${UNAME_MACHINE}-unknown-`echo ${UNAME_SYSTEM} | sed 's,^[^/]*/,,' | tr '[A-Z]' '[a-z]'``echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'`-${LIBC}
894 echo "$UNAME_MACHINE-unknown-`echo "$UNAME_SYSTEM" | sed 's,^[^/]*/,,' | tr "[:upper:]" "[:lower:]"``echo "$UNAME_RELEASE"|sed -e 's/[-(].*//'`-$LIBC"
882895 exit ;;
883896 i*86:Minix:*:*)
884 echo ${UNAME_MACHINE}-pc-minix
897 echo "$UNAME_MACHINE"-pc-minix
885898 exit ;;
886899 aarch64:Linux:*:*)
887 echo ${UNAME_MACHINE}-unknown-linux-${LIBC}
900 echo "$UNAME_MACHINE"-unknown-linux-"$LIBC"
888901 exit ;;
889902 aarch64_be:Linux:*:*)
890903 UNAME_MACHINE=aarch64_be
891 echo ${UNAME_MACHINE}-unknown-linux-${LIBC}
904 echo "$UNAME_MACHINE"-unknown-linux-"$LIBC"
892905 exit ;;
893906 alpha:Linux:*:*)
894907 case `sed -n '/^cpu model/s/^.*: \(.*\)/\1/p' < /proc/cpuinfo` in
901914 EV68*) UNAME_MACHINE=alphaev68 ;;
902915 esac
903916 objdump --private-headers /bin/sh | grep -q ld.so.1
904 if test "$?" = 0 ; then LIBC="gnulibc1" ; fi
905 echo ${UNAME_MACHINE}-unknown-linux-${LIBC}
917 if test "$?" = 0 ; then LIBC=gnulibc1 ; fi
918 echo "$UNAME_MACHINE"-unknown-linux-"$LIBC"
906919 exit ;;
907920 arc:Linux:*:* | arceb:Linux:*:*)
908 echo ${UNAME_MACHINE}-unknown-linux-${LIBC}
921 echo "$UNAME_MACHINE"-unknown-linux-"$LIBC"
909922 exit ;;
910923 arm*:Linux:*:*)
911 eval $set_cc_for_build
924 eval "$set_cc_for_build"
912925 if echo __ARM_EABI__ | $CC_FOR_BUILD -E - 2>/dev/null \
913926 | grep -q __ARM_EABI__
914927 then
915 echo ${UNAME_MACHINE}-unknown-linux-${LIBC}
928 echo "$UNAME_MACHINE"-unknown-linux-"$LIBC"
916929 else
917930 if echo __ARM_PCS_VFP | $CC_FOR_BUILD -E - 2>/dev/null \
918931 | grep -q __ARM_PCS_VFP
919932 then
920 echo ${UNAME_MACHINE}-unknown-linux-${LIBC}eabi
933 echo "$UNAME_MACHINE"-unknown-linux-"$LIBC"eabi
921934 else
922 echo ${UNAME_MACHINE}-unknown-linux-${LIBC}eabihf
935 echo "$UNAME_MACHINE"-unknown-linux-"$LIBC"eabihf
923936 fi
924937 fi
925938 exit ;;
926939 avr32*:Linux:*:*)
927 echo ${UNAME_MACHINE}-unknown-linux-${LIBC}
940 echo "$UNAME_MACHINE"-unknown-linux-"$LIBC"
928941 exit ;;
929942 cris:Linux:*:*)
930 echo ${UNAME_MACHINE}-axis-linux-${LIBC}
943 echo "$UNAME_MACHINE"-axis-linux-"$LIBC"
931944 exit ;;
932945 crisv32:Linux:*:*)
933 echo ${UNAME_MACHINE}-axis-linux-${LIBC}
946 echo "$UNAME_MACHINE"-axis-linux-"$LIBC"
947 exit ;;
948 e2k:Linux:*:*)
949 echo "$UNAME_MACHINE"-unknown-linux-"$LIBC"
934950 exit ;;
935951 frv:Linux:*:*)
936 echo ${UNAME_MACHINE}-unknown-linux-${LIBC}
952 echo "$UNAME_MACHINE"-unknown-linux-"$LIBC"
937953 exit ;;
938954 hexagon:Linux:*:*)
939 echo ${UNAME_MACHINE}-unknown-linux-${LIBC}
955 echo "$UNAME_MACHINE"-unknown-linux-"$LIBC"
940956 exit ;;
941957 i*86:Linux:*:*)
942 echo ${UNAME_MACHINE}-pc-linux-${LIBC}
958 echo "$UNAME_MACHINE"-pc-linux-"$LIBC"
943959 exit ;;
944960 ia64:Linux:*:*)
945 echo ${UNAME_MACHINE}-unknown-linux-${LIBC}
961 echo "$UNAME_MACHINE"-unknown-linux-"$LIBC"
962 exit ;;
963 k1om:Linux:*:*)
964 echo "$UNAME_MACHINE"-unknown-linux-"$LIBC"
946965 exit ;;
947966 m32r*:Linux:*:*)
948 echo ${UNAME_MACHINE}-unknown-linux-${LIBC}
967 echo "$UNAME_MACHINE"-unknown-linux-"$LIBC"
949968 exit ;;
950969 m68*:Linux:*:*)
951 echo ${UNAME_MACHINE}-unknown-linux-${LIBC}
970 echo "$UNAME_MACHINE"-unknown-linux-"$LIBC"
952971 exit ;;
953972 mips:Linux:*:* | mips64:Linux:*:*)
954 eval $set_cc_for_build
955 sed 's/^ //' << EOF >$dummy.c
973 eval "$set_cc_for_build"
974 sed 's/^ //' << EOF > "$dummy.c"
956975 #undef CPU
957976 #undef ${UNAME_MACHINE}
958977 #undef ${UNAME_MACHINE}el
966985 #endif
967986 #endif
968987 EOF
969 eval `$CC_FOR_BUILD -E $dummy.c 2>/dev/null | grep '^CPU'`
970 test x"${CPU}" != x && { echo "${CPU}-unknown-linux-${LIBC}"; exit; }
988 eval "`$CC_FOR_BUILD -E "$dummy.c" 2>/dev/null | grep '^CPU'`"
989 test "x$CPU" != x && { echo "$CPU-unknown-linux-$LIBC"; exit; }
971990 ;;
991 mips64el:Linux:*:*)
992 echo "$UNAME_MACHINE"-unknown-linux-"$LIBC"
993 exit ;;
972994 openrisc*:Linux:*:*)
973 echo or1k-unknown-linux-${LIBC}
995 echo or1k-unknown-linux-"$LIBC"
974996 exit ;;
975997 or32:Linux:*:* | or1k*:Linux:*:*)
976 echo ${UNAME_MACHINE}-unknown-linux-${LIBC}
998 echo "$UNAME_MACHINE"-unknown-linux-"$LIBC"
977999 exit ;;
9781000 padre:Linux:*:*)
979 echo sparc-unknown-linux-${LIBC}
1001 echo sparc-unknown-linux-"$LIBC"
9801002 exit ;;
9811003 parisc64:Linux:*:* | hppa64:Linux:*:*)
982 echo hppa64-unknown-linux-${LIBC}
1004 echo hppa64-unknown-linux-"$LIBC"
9831005 exit ;;
9841006 parisc:Linux:*:* | hppa:Linux:*:*)
9851007 # Look for CPU level
9861008 case `grep '^cpu[^a-z]*:' /proc/cpuinfo 2>/dev/null | cut -d' ' -f2` in
987 PA7*) echo hppa1.1-unknown-linux-${LIBC} ;;
988 PA8*) echo hppa2.0-unknown-linux-${LIBC} ;;
989 *) echo hppa-unknown-linux-${LIBC} ;;
1009 PA7*) echo hppa1.1-unknown-linux-"$LIBC" ;;
1010 PA8*) echo hppa2.0-unknown-linux-"$LIBC" ;;
1011 *) echo hppa-unknown-linux-"$LIBC" ;;
9901012 esac
9911013 exit ;;
9921014 ppc64:Linux:*:*)
993 echo powerpc64-unknown-linux-${LIBC}
1015 echo powerpc64-unknown-linux-"$LIBC"
9941016 exit ;;
9951017 ppc:Linux:*:*)
996 echo powerpc-unknown-linux-${LIBC}
1018 echo powerpc-unknown-linux-"$LIBC"
9971019 exit ;;
9981020 ppc64le:Linux:*:*)
999 echo powerpc64le-unknown-linux-${LIBC}
1021 echo powerpc64le-unknown-linux-"$LIBC"
10001022 exit ;;
10011023 ppcle:Linux:*:*)
1002 echo powerpcle-unknown-linux-${LIBC}
1024 echo powerpcle-unknown-linux-"$LIBC"
1025 exit ;;
1026 riscv32:Linux:*:* | riscv64:Linux:*:*)
1027 echo "$UNAME_MACHINE"-unknown-linux-"$LIBC"
10031028 exit ;;
10041029 s390:Linux:*:* | s390x:Linux:*:*)
1005 echo ${UNAME_MACHINE}-ibm-linux-${LIBC}
1030 echo "$UNAME_MACHINE"-ibm-linux-"$LIBC"
10061031 exit ;;
10071032 sh64*:Linux:*:*)
1008 echo ${UNAME_MACHINE}-unknown-linux-${LIBC}
1033 echo "$UNAME_MACHINE"-unknown-linux-"$LIBC"
10091034 exit ;;
10101035 sh*:Linux:*:*)
1011 echo ${UNAME_MACHINE}-unknown-linux-${LIBC}
1036 echo "$UNAME_MACHINE"-unknown-linux-"$LIBC"
10121037 exit ;;
10131038 sparc:Linux:*:* | sparc64:Linux:*:*)
1014 echo ${UNAME_MACHINE}-unknown-linux-${LIBC}
1039 echo "$UNAME_MACHINE"-unknown-linux-"$LIBC"
10151040 exit ;;
10161041 tile*:Linux:*:*)
1017 echo ${UNAME_MACHINE}-unknown-linux-${LIBC}
1042 echo "$UNAME_MACHINE"-unknown-linux-"$LIBC"
10181043 exit ;;
10191044 vax:Linux:*:*)
1020 echo ${UNAME_MACHINE}-dec-linux-${LIBC}
1045 echo "$UNAME_MACHINE"-dec-linux-"$LIBC"
10211046 exit ;;
10221047 x86_64:Linux:*:*)
1023 echo ${UNAME_MACHINE}-unknown-linux-${LIBC}
1048 echo "$UNAME_MACHINE"-pc-linux-"$LIBC"
10241049 exit ;;
10251050 xtensa*:Linux:*:*)
1026 echo ${UNAME_MACHINE}-unknown-linux-${LIBC}
1051 echo "$UNAME_MACHINE"-unknown-linux-"$LIBC"
10271052 exit ;;
10281053 i*86:DYNIX/ptx:4*:*)
10291054 # ptx 4.0 does uname -s correctly, with DYNIX/ptx in there.
10371062 # I am not positive that other SVR4 systems won't match this,
10381063 # I just have to hope. -- rms.
10391064 # Use sysv4.2uw... so that sysv4* matches it.
1040 echo ${UNAME_MACHINE}-pc-sysv4.2uw${UNAME_VERSION}
1065 echo "$UNAME_MACHINE"-pc-sysv4.2uw"$UNAME_VERSION"
10411066 exit ;;
10421067 i*86:OS/2:*:*)
10431068 # If we were able to find `uname', then EMX Unix compatibility
10441069 # is probably installed.
1045 echo ${UNAME_MACHINE}-pc-os2-emx
1070 echo "$UNAME_MACHINE"-pc-os2-emx
10461071 exit ;;
10471072 i*86:XTS-300:*:STOP)
1048 echo ${UNAME_MACHINE}-unknown-stop
1073 echo "$UNAME_MACHINE"-unknown-stop
10491074 exit ;;
10501075 i*86:atheos:*:*)
1051 echo ${UNAME_MACHINE}-unknown-atheos
1076 echo "$UNAME_MACHINE"-unknown-atheos
10521077 exit ;;
10531078 i*86:syllable:*:*)
1054 echo ${UNAME_MACHINE}-pc-syllable
1079 echo "$UNAME_MACHINE"-pc-syllable
10551080 exit ;;
10561081 i*86:LynxOS:2.*:* | i*86:LynxOS:3.[01]*:* | i*86:LynxOS:4.[02]*:*)
1057 echo i386-unknown-lynxos${UNAME_RELEASE}
1082 echo i386-unknown-lynxos"$UNAME_RELEASE"
10581083 exit ;;
10591084 i*86:*DOS:*:*)
1060 echo ${UNAME_MACHINE}-pc-msdosdjgpp
1061 exit ;;
1062 i*86:*:4.*:* | i*86:SYSTEM_V:4.*:*)
1063 UNAME_REL=`echo ${UNAME_RELEASE} | sed 's/\/MP$//'`
1085 echo "$UNAME_MACHINE"-pc-msdosdjgpp
1086 exit ;;
1087 i*86:*:4.*:*)
1088 UNAME_REL=`echo "$UNAME_RELEASE" | sed 's/\/MP$//'`
10641089 if grep Novell /usr/include/link.h >/dev/null 2>/dev/null; then
1065 echo ${UNAME_MACHINE}-univel-sysv${UNAME_REL}
1090 echo "$UNAME_MACHINE"-univel-sysv"$UNAME_REL"
10661091 else
1067 echo ${UNAME_MACHINE}-pc-sysv${UNAME_REL}
1092 echo "$UNAME_MACHINE"-pc-sysv"$UNAME_REL"
10681093 fi
10691094 exit ;;
10701095 i*86:*:5:[678]*)
10741099 *Pentium) UNAME_MACHINE=i586 ;;
10751100 *Pent*|*Celeron) UNAME_MACHINE=i686 ;;
10761101 esac
1077 echo ${UNAME_MACHINE}-unknown-sysv${UNAME_RELEASE}${UNAME_SYSTEM}${UNAME_VERSION}
1102 echo "$UNAME_MACHINE-unknown-sysv${UNAME_RELEASE}${UNAME_SYSTEM}{$UNAME_VERSION}"
10781103 exit ;;
10791104 i*86:*:3.2:*)
10801105 if test -f /usr/options/cb.name; then
10811106 UNAME_REL=`sed -n 's/.*Version //p' </usr/options/cb.name`
1082 echo ${UNAME_MACHINE}-pc-isc$UNAME_REL
1107 echo "$UNAME_MACHINE"-pc-isc"$UNAME_REL"
10831108 elif /bin/uname -X 2>/dev/null >/dev/null ; then
10841109 UNAME_REL=`(/bin/uname -X|grep Release|sed -e 's/.*= //')`
10851110 (/bin/uname -X|grep i80486 >/dev/null) && UNAME_MACHINE=i486
10891114 && UNAME_MACHINE=i686
10901115 (/bin/uname -X|grep '^Machine.*Pentium Pro' >/dev/null) \
10911116 && UNAME_MACHINE=i686
1092 echo ${UNAME_MACHINE}-pc-sco$UNAME_REL
1117 echo "$UNAME_MACHINE"-pc-sco"$UNAME_REL"
10931118 else
1094 echo ${UNAME_MACHINE}-pc-sysv32
1119 echo "$UNAME_MACHINE"-pc-sysv32
10951120 fi
10961121 exit ;;
10971122 pc:*:*:*)
10991124 # uname -m prints for DJGPP always 'pc', but it prints nothing about
11001125 # the processor, so we play safe by assuming i586.
11011126 # Note: whatever this is, it MUST be the same as what config.sub
1102 # prints for the "djgpp" host, or else GDB configury will decide that
1127 # prints for the "djgpp" host, or else GDB configure will decide that
11031128 # this is a cross-build.
11041129 echo i586-pc-msdosdjgpp
11051130 exit ;;
11111136 exit ;;
11121137 i860:*:4.*:*) # i860-SVR4
11131138 if grep Stardent /usr/include/sys/uadmin.h >/dev/null 2>&1 ; then
1114 echo i860-stardent-sysv${UNAME_RELEASE} # Stardent Vistra i860-SVR4
1139 echo i860-stardent-sysv"$UNAME_RELEASE" # Stardent Vistra i860-SVR4
11151140 else # Add other i860-SVR4 vendors below as they are discovered.
1116 echo i860-unknown-sysv${UNAME_RELEASE} # Unknown i860-SVR4
1141 echo i860-unknown-sysv"$UNAME_RELEASE" # Unknown i860-SVR4
11171142 fi
11181143 exit ;;
11191144 mini*:CTIX:SYS*5:*)
11331158 test -r /etc/.relid \
11341159 && OS_REL=.`sed -n 's/[^ ]* [^ ]* \([0-9][0-9]\).*/\1/p' < /etc/.relid`
11351160 /bin/uname -p 2>/dev/null | grep 86 >/dev/null \
1136 && { echo i486-ncr-sysv4.3${OS_REL}; exit; }
1161 && { echo i486-ncr-sysv4.3"$OS_REL"; exit; }
11371162 /bin/uname -p 2>/dev/null | /bin/grep entium >/dev/null \
1138 && { echo i586-ncr-sysv4.3${OS_REL}; exit; } ;;
1163 && { echo i586-ncr-sysv4.3"$OS_REL"; exit; } ;;
11391164 3[34]??:*:4.0:* | 3[34]??,*:*:4.0:*)
11401165 /bin/uname -p 2>/dev/null | grep 86 >/dev/null \
11411166 && { echo i486-ncr-sysv4; exit; } ;;
11441169 test -r /etc/.relid \
11451170 && OS_REL=.`sed -n 's/[^ ]* [^ ]* \([0-9][0-9]\).*/\1/p' < /etc/.relid`
11461171 /bin/uname -p 2>/dev/null | grep 86 >/dev/null \
1147 && { echo i486-ncr-sysv4.3${OS_REL}; exit; }
1172 && { echo i486-ncr-sysv4.3"$OS_REL"; exit; }
11481173 /bin/uname -p 2>/dev/null | /bin/grep entium >/dev/null \
1149 && { echo i586-ncr-sysv4.3${OS_REL}; exit; }
1174 && { echo i586-ncr-sysv4.3"$OS_REL"; exit; }
11501175 /bin/uname -p 2>/dev/null | /bin/grep pteron >/dev/null \
1151 && { echo i586-ncr-sysv4.3${OS_REL}; exit; } ;;
1176 && { echo i586-ncr-sysv4.3"$OS_REL"; exit; } ;;
11521177 m68*:LynxOS:2.*:* | m68*:LynxOS:3.0*:*)
1153 echo m68k-unknown-lynxos${UNAME_RELEASE}
1178 echo m68k-unknown-lynxos"$UNAME_RELEASE"
11541179 exit ;;
11551180 mc68030:UNIX_System_V:4.*:*)
11561181 echo m68k-atari-sysv4
11571182 exit ;;
11581183 TSUNAMI:LynxOS:2.*:*)
1159 echo sparc-unknown-lynxos${UNAME_RELEASE}
1184 echo sparc-unknown-lynxos"$UNAME_RELEASE"
11601185 exit ;;
11611186 rs6000:LynxOS:2.*:*)
1162 echo rs6000-unknown-lynxos${UNAME_RELEASE}
1187 echo rs6000-unknown-lynxos"$UNAME_RELEASE"
11631188 exit ;;
11641189 PowerPC:LynxOS:2.*:* | PowerPC:LynxOS:3.[01]*:* | PowerPC:LynxOS:4.[02]*:*)
1165 echo powerpc-unknown-lynxos${UNAME_RELEASE}
1190 echo powerpc-unknown-lynxos"$UNAME_RELEASE"
11661191 exit ;;
11671192 SM[BE]S:UNIX_SV:*:*)
1168 echo mips-dde-sysv${UNAME_RELEASE}
1193 echo mips-dde-sysv"$UNAME_RELEASE"
11691194 exit ;;
11701195 RM*:ReliantUNIX-*:*:*)
11711196 echo mips-sni-sysv4
11761201 *:SINIX-*:*:*)
11771202 if uname -p 2>/dev/null >/dev/null ; then
11781203 UNAME_MACHINE=`(uname -p) 2>/dev/null`
1179 echo ${UNAME_MACHINE}-sni-sysv4
1204 echo "$UNAME_MACHINE"-sni-sysv4
11801205 else
11811206 echo ns32k-sni-sysv
11821207 fi
11961221 exit ;;
11971222 i*86:VOS:*:*)
11981223 # From Paul.Green@stratus.com.
1199 echo ${UNAME_MACHINE}-stratus-vos
1224 echo "$UNAME_MACHINE"-stratus-vos
12001225 exit ;;
12011226 *:VOS:*:*)
12021227 # From Paul.Green@stratus.com.
12031228 echo hppa1.1-stratus-vos
12041229 exit ;;
12051230 mc68*:A/UX:*:*)
1206 echo m68k-apple-aux${UNAME_RELEASE}
1231 echo m68k-apple-aux"$UNAME_RELEASE"
12071232 exit ;;
12081233 news*:NEWS-OS:6*:*)
12091234 echo mips-sony-newsos6
12101235 exit ;;
12111236 R[34]000:*System_V*:*:* | R4000:UNIX_SYSV:*:* | R*000:UNIX_SV:*:*)
12121237 if [ -d /usr/nec ]; then
1213 echo mips-nec-sysv${UNAME_RELEASE}
1238 echo mips-nec-sysv"$UNAME_RELEASE"
12141239 else
1215 echo mips-unknown-sysv${UNAME_RELEASE}
1240 echo mips-unknown-sysv"$UNAME_RELEASE"
12161241 fi
12171242 exit ;;
12181243 BeBox:BeOS:*:*) # BeOS running on hardware made by Be, PPC only.
12311256 echo x86_64-unknown-haiku
12321257 exit ;;
12331258 SX-4:SUPER-UX:*:*)
1234 echo sx4-nec-superux${UNAME_RELEASE}
1259 echo sx4-nec-superux"$UNAME_RELEASE"
12351260 exit ;;
12361261 SX-5:SUPER-UX:*:*)
1237 echo sx5-nec-superux${UNAME_RELEASE}
1262 echo sx5-nec-superux"$UNAME_RELEASE"
12381263 exit ;;
12391264 SX-6:SUPER-UX:*:*)
1240 echo sx6-nec-superux${UNAME_RELEASE}
1265 echo sx6-nec-superux"$UNAME_RELEASE"
12411266 exit ;;
12421267 SX-7:SUPER-UX:*:*)
1243 echo sx7-nec-superux${UNAME_RELEASE}
1268 echo sx7-nec-superux"$UNAME_RELEASE"
12441269 exit ;;
12451270 SX-8:SUPER-UX:*:*)
1246 echo sx8-nec-superux${UNAME_RELEASE}
1271 echo sx8-nec-superux"$UNAME_RELEASE"
12471272 exit ;;
12481273 SX-8R:SUPER-UX:*:*)
1249 echo sx8r-nec-superux${UNAME_RELEASE}
1274 echo sx8r-nec-superux"$UNAME_RELEASE"
1275 exit ;;
1276 SX-ACE:SUPER-UX:*:*)
1277 echo sxace-nec-superux"$UNAME_RELEASE"
12501278 exit ;;
12511279 Power*:Rhapsody:*:*)
1252 echo powerpc-apple-rhapsody${UNAME_RELEASE}
1280 echo powerpc-apple-rhapsody"$UNAME_RELEASE"
12531281 exit ;;
12541282 *:Rhapsody:*:*)
1255 echo ${UNAME_MACHINE}-apple-rhapsody${UNAME_RELEASE}
1283 echo "$UNAME_MACHINE"-apple-rhapsody"$UNAME_RELEASE"
12561284 exit ;;
12571285 *:Darwin:*:*)
12581286 UNAME_PROCESSOR=`uname -p` || UNAME_PROCESSOR=unknown
1259 eval $set_cc_for_build
1287 eval "$set_cc_for_build"
12601288 if test "$UNAME_PROCESSOR" = unknown ; then
12611289 UNAME_PROCESSOR=powerpc
12621290 fi
1263 if test `echo "$UNAME_RELEASE" | sed -e 's/\..*//'` -le 10 ; then
1264 if [ "$CC_FOR_BUILD" != 'no_compiler_found' ]; then
1291 if test "`echo "$UNAME_RELEASE" | sed -e 's/\..*//'`" -le 10 ; then
1292 if [ "$CC_FOR_BUILD" != no_compiler_found ]; then
12651293 if (echo '#ifdef __LP64__'; echo IS_64BIT_ARCH; echo '#endif') | \
1266 (CCOPTS= $CC_FOR_BUILD -E - 2>/dev/null) | \
1267 grep IS_64BIT_ARCH >/dev/null
1294 (CCOPTS="" $CC_FOR_BUILD -E - 2>/dev/null) | \
1295 grep IS_64BIT_ARCH >/dev/null
12681296 then
12691297 case $UNAME_PROCESSOR in
12701298 i386) UNAME_PROCESSOR=x86_64 ;;
12711299 powerpc) UNAME_PROCESSOR=powerpc64 ;;
12721300 esac
1301 fi
1302 # On 10.4-10.6 one might compile for PowerPC via gcc -arch ppc
1303 if (echo '#ifdef __POWERPC__'; echo IS_PPC; echo '#endif') | \
1304 (CCOPTS="" $CC_FOR_BUILD -E - 2>/dev/null) | \
1305 grep IS_PPC >/dev/null
1306 then
1307 UNAME_PROCESSOR=powerpc
12731308 fi
12741309 fi
12751310 elif test "$UNAME_PROCESSOR" = i386 ; then
12811316 # that Apple uses in portable devices.
12821317 UNAME_PROCESSOR=x86_64
12831318 fi
1284 echo ${UNAME_PROCESSOR}-apple-darwin${UNAME_RELEASE}
1319 echo "$UNAME_PROCESSOR"-apple-darwin"$UNAME_RELEASE"
12851320 exit ;;
12861321 *:procnto*:*:* | *:QNX:[0123456789]*:*)
12871322 UNAME_PROCESSOR=`uname -p`
1288 if test "$UNAME_PROCESSOR" = "x86"; then
1323 if test "$UNAME_PROCESSOR" = x86; then
12891324 UNAME_PROCESSOR=i386
12901325 UNAME_MACHINE=pc
12911326 fi
1292 echo ${UNAME_PROCESSOR}-${UNAME_MACHINE}-nto-qnx${UNAME_RELEASE}
1327 echo "$UNAME_PROCESSOR"-"$UNAME_MACHINE"-nto-qnx"$UNAME_RELEASE"
12931328 exit ;;
12941329 *:QNX:*:4*)
12951330 echo i386-pc-qnx
12961331 exit ;;
1297 NEO-?:NONSTOP_KERNEL:*:*)
1298 echo neo-tandem-nsk${UNAME_RELEASE}
1332 NEO-*:NONSTOP_KERNEL:*:*)
1333 echo neo-tandem-nsk"$UNAME_RELEASE"
12991334 exit ;;
13001335 NSE-*:NONSTOP_KERNEL:*:*)
1301 echo nse-tandem-nsk${UNAME_RELEASE}
1302 exit ;;
1303 NSR-?:NONSTOP_KERNEL:*:*)
1304 echo nsr-tandem-nsk${UNAME_RELEASE}
1336 echo nse-tandem-nsk"$UNAME_RELEASE"
1337 exit ;;
1338 NSR-*:NONSTOP_KERNEL:*:*)
1339 echo nsr-tandem-nsk"$UNAME_RELEASE"
1340 exit ;;
1341 NSV-*:NONSTOP_KERNEL:*:*)
1342 echo nsv-tandem-nsk"$UNAME_RELEASE"
1343 exit ;;
1344 NSX-*:NONSTOP_KERNEL:*:*)
1345 echo nsx-tandem-nsk"$UNAME_RELEASE"
13051346 exit ;;
13061347 *:NonStop-UX:*:*)
13071348 echo mips-compaq-nonstopux
13101351 echo bs2000-siemens-sysv
13111352 exit ;;
13121353 DS/*:UNIX_System_V:*:*)
1313 echo ${UNAME_MACHINE}-${UNAME_SYSTEM}-${UNAME_RELEASE}
1354 echo "$UNAME_MACHINE"-"$UNAME_SYSTEM"-"$UNAME_RELEASE"
13141355 exit ;;
13151356 *:Plan9:*:*)
13161357 # "uname -m" is not consistent, so use $cputype instead. 386
13171358 # is converted to i386 for consistency with other x86
13181359 # operating systems.
1319 if test "$cputype" = "386"; then
1360 if test "$cputype" = 386; then
13201361 UNAME_MACHINE=i386
13211362 else
13221363 UNAME_MACHINE="$cputype"
13231364 fi
1324 echo ${UNAME_MACHINE}-unknown-plan9
1365 echo "$UNAME_MACHINE"-unknown-plan9
13251366 exit ;;
13261367 *:TOPS-10:*:*)
13271368 echo pdp10-unknown-tops10
13421383 echo pdp10-unknown-its
13431384 exit ;;
13441385 SEI:*:*:SEIUX)
1345 echo mips-sei-seiux${UNAME_RELEASE}
1386 echo mips-sei-seiux"$UNAME_RELEASE"
13461387 exit ;;
13471388 *:DragonFly:*:*)
1348 echo ${UNAME_MACHINE}-unknown-dragonfly`echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'`
1389 echo "$UNAME_MACHINE"-unknown-dragonfly"`echo "$UNAME_RELEASE"|sed -e 's/[-(].*//'`"
13491390 exit ;;
13501391 *:*VMS:*:*)
13511392 UNAME_MACHINE=`(uname -p) 2>/dev/null`
1352 case "${UNAME_MACHINE}" in
1393 case "$UNAME_MACHINE" in
13531394 A*) echo alpha-dec-vms ; exit ;;
13541395 I*) echo ia64-dec-vms ; exit ;;
13551396 V*) echo vax-dec-vms ; exit ;;
13581399 echo i386-pc-xenix
13591400 exit ;;
13601401 i*86:skyos:*:*)
1361 echo ${UNAME_MACHINE}-pc-skyos`echo ${UNAME_RELEASE}` | sed -e 's/ .*$//'
1402 echo "$UNAME_MACHINE"-pc-skyos"`echo "$UNAME_RELEASE" | sed -e 's/ .*$//'`"
13621403 exit ;;
13631404 i*86:rdos:*:*)
1364 echo ${UNAME_MACHINE}-pc-rdos
1405 echo "$UNAME_MACHINE"-pc-rdos
13651406 exit ;;
13661407 i*86:AROS:*:*)
1367 echo ${UNAME_MACHINE}-pc-aros
1408 echo "$UNAME_MACHINE"-pc-aros
13681409 exit ;;
13691410 x86_64:VMkernel:*:*)
1370 echo ${UNAME_MACHINE}-unknown-esx
1411 echo "$UNAME_MACHINE"-unknown-esx
1412 exit ;;
1413 amd64:Isilon\ OneFS:*:*)
1414 echo x86_64-unknown-onefs
13711415 exit ;;
13721416 esac
13731417
1418 echo "$0: unable to guess system type" >&2
1419
1420 case "$UNAME_MACHINE:$UNAME_SYSTEM" in
1421 mips:Linux | mips64:Linux)
1422 # If we got here on MIPS GNU/Linux, output extra information.
1423 cat >&2 <<EOF
1424
1425 NOTE: MIPS GNU/Linux systems require a C compiler to fully recognize
1426 the system type. Please install a C compiler and try again.
1427 EOF
1428 ;;
1429 esac
1430
13741431 cat >&2 <<EOF
1375 $0: unable to guess system type
1376
1377 This script, last modified $timestamp, has failed to recognize
1378 the operating system you are using. It is advised that you
1379 download the most up to date version of the config scripts from
1380
1381 http://git.savannah.gnu.org/gitweb/?p=config.git;a=blob_plain;f=config.guess;hb=HEAD
1432
1433 This script (version $timestamp), has failed to recognize the
1434 operating system you are using. If your script is old, overwrite *all*
1435 copies of config.guess and config.sub with the latest versions from:
1436
1437 https://git.savannah.gnu.org/gitweb/?p=config.git;a=blob_plain;f=config.guess
13821438 and
1383 http://git.savannah.gnu.org/gitweb/?p=config.git;a=blob_plain;f=config.sub;hb=HEAD
1384
1385 If the version you run ($0) is already up to date, please
1386 send the following data and any information you think might be
1387 pertinent to <config-patches@gnu.org> in order to provide the needed
1388 information to handle your system.
1439 https://git.savannah.gnu.org/gitweb/?p=config.git;a=blob_plain;f=config.sub
1440
1441 If $0 has already been updated, send the following data and any
1442 information you think might be pertinent to config-patches@gnu.org to
1443 provide the necessary information to handle your system.
13891444
13901445 config.guess timestamp = $timestamp
13911446
14041459 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null`
14051460 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null`
14061461
1407 UNAME_MACHINE = ${UNAME_MACHINE}
1408 UNAME_RELEASE = ${UNAME_RELEASE}
1409 UNAME_SYSTEM = ${UNAME_SYSTEM}
1410 UNAME_VERSION = ${UNAME_VERSION}
1462 UNAME_MACHINE = "$UNAME_MACHINE"
1463 UNAME_RELEASE = "$UNAME_RELEASE"
1464 UNAME_SYSTEM = "$UNAME_SYSTEM"
1465 UNAME_VERSION = "$UNAME_VERSION"
14111466 EOF
14121467
14131468 exit 1
14141469
14151470 # Local variables:
1416 # eval: (add-hook 'write-file-hooks 'time-stamp)
1471 # eval: (add-hook 'before-save-hook 'time-stamp)
14171472 # time-stamp-start: "timestamp='"
14181473 # time-stamp-format: "%:y-%02m-%02d"
14191474 # time-stamp-end: "'"
00 #! /bin/sh
11 # Configuration validation subroutine script.
2 # Copyright 1992-2015 Free Software Foundation, Inc.
3
4 timestamp='2015-01-01'
2 # Copyright 1992-2018 Free Software Foundation, Inc.
3
4 timestamp='2018-05-05'
55
66 # This file is free software; you can redistribute it and/or modify it
77 # under the terms of the GNU General Public License as published by
1414 # General Public License for more details.
1515 #
1616 # You should have received a copy of the GNU General Public License
17 # along with this program; if not, see <http://www.gnu.org/licenses/>.
17 # along with this program; if not, see <https://www.gnu.org/licenses/>.
1818 #
1919 # As a special exception to the GNU General Public License, if you
2020 # distribute this file as part of a program that contains a
3232 # Otherwise, we print the canonical config type on stdout and succeed.
3333
3434 # You can get the latest version of this script from:
35 # http://git.savannah.gnu.org/gitweb/?p=config.git;a=blob_plain;f=config.sub;hb=HEAD
35 # https://git.savannah.gnu.org/gitweb/?p=config.git;a=blob_plain;f=config.sub
3636
3737 # This file is supposed to be the same for all GNU packages
3838 # and recognize all the CPU types, system types and aliases
5252 me=`echo "$0" | sed -e 's,.*/,,'`
5353
5454 usage="\
55 Usage: $0 [OPTION] CPU-MFR-OPSYS
56 $0 [OPTION] ALIAS
55 Usage: $0 [OPTION] CPU-MFR-OPSYS or ALIAS
5756
5857 Canonicalize a configuration name.
5958
60 Operation modes:
59 Options:
6160 -h, --help print this help, then exit
6261 -t, --time-stamp print date of last modification, then exit
6362 -v, --version print version number, then exit
6766 version="\
6867 GNU config.sub ($timestamp)
6968
70 Copyright 1992-2015 Free Software Foundation, Inc.
69 Copyright 1992-2018 Free Software Foundation, Inc.
7170
7271 This is free software; see the source for copying conditions. There is NO
7372 warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE."
9493
9594 *local*)
9695 # First pass through any local machine types.
97 echo $1
96 echo "$1"
9897 exit ;;
9998
10099 * )
110109 exit 1;;
111110 esac
112111
113 # Separate what the user gave into CPU-COMPANY and OS or KERNEL-OS (if any).
114 # Here we must recognize all the valid KERNEL-OS combinations.
115 maybe_os=`echo $1 | sed 's/^\(.*\)-\([^-]*-[^-]*\)$/\2/'`
116 case $maybe_os in
117 nto-qnx* | linux-gnu* | linux-android* | linux-dietlibc | linux-newlib* | \
118 linux-musl* | linux-uclibc* | uclinux-uclibc* | uclinux-gnu* | kfreebsd*-gnu* | \
119 knetbsd*-gnu* | netbsd*-gnu* | \
120 kopensolaris*-gnu* | \
121 storm-chaos* | os2-emx* | rtmk-nova*)
122 os=-$maybe_os
123 basic_machine=`echo $1 | sed 's/^\(.*\)-\([^-]*-[^-]*\)$/\1/'`
124 ;;
125 android-linux)
126 os=-linux-android
127 basic_machine=`echo $1 | sed 's/^\(.*\)-\([^-]*-[^-]*\)$/\1/'`-unknown
128 ;;
129 *)
130 basic_machine=`echo $1 | sed 's/-[^-]*$//'`
131 if [ $basic_machine != $1 ]
132 then os=`echo $1 | sed 's/.*-/-/'`
133 else os=; fi
134 ;;
112 # Spilt fields of configuration type
113 IFS="-" read -r field1 field2 field3 field4 <<EOF
114 $1
115 EOF
116
117 # Separate into logical components for further validation
118 case $1 in
119 *-*-*-*)
120 basic_machine=$field1-$field2
121 os=-$field3-$field4
122 ;;
123 *-*-*)
124 # Ambiguous whether COMPANY is present, or skipped and KERNEL-OS is two
125 # parts
126 maybe_os=$field2-$field3
127 case $maybe_os in
128 nto-qnx* | linux-gnu* | linux-android* | linux-dietlibc \
129 | linux-newlib* | linux-musl* | linux-uclibc* | uclinux-uclibc* \
130 | uclinux-gnu* | kfreebsd*-gnu* | knetbsd*-gnu* | netbsd*-gnu* \
131 | netbsd*-eabi* | kopensolaris*-gnu* | cloudabi*-eabi* \
132 | storm-chaos* | os2-emx* | rtmk-nova*)
133 basic_machine=$field1
134 os=-$maybe_os
135 ;;
136 android-linux)
137 basic_machine=$field1-unknown
138 os=-linux-android
139 ;;
140 *)
141 basic_machine=$field1-$field2
142 os=-$field3
143 ;;
144 esac
145 ;;
146 *-*)
147 basic_machine=$field1
148 os=-$field2
149 ;;
150 *)
151 basic_machine=$1
152 os=
153 ;;
135154 esac
136155
137156 ### Let's recognize common machines as not being operating systems so
178197 ;;
179198 -sco6)
180199 os=-sco5v6
181 basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'`
200 basic_machine=`echo "$1" | sed -e 's/86-.*/86-pc/'`
182201 ;;
183202 -sco5)
184203 os=-sco3.2v5
185 basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'`
204 basic_machine=`echo "$1" | sed -e 's/86-.*/86-pc/'`
186205 ;;
187206 -sco4)
188207 os=-sco3.2v4
189 basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'`
208 basic_machine=`echo "$1" | sed -e 's/86-.*/86-pc/'`
190209 ;;
191210 -sco3.2.[4-9]*)
192211 os=`echo $os | sed -e 's/sco3.2./sco3.2v/'`
193 basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'`
212 basic_machine=`echo "$1" | sed -e 's/86-.*/86-pc/'`
194213 ;;
195214 -sco3.2v[4-9]*)
196215 # Don't forget version if it is 3.2v4 or newer.
197 basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'`
216 basic_machine=`echo "$1" | sed -e 's/86-.*/86-pc/'`
198217 ;;
199218 -sco5v6*)
200219 # Don't forget version if it is 3.2v4 or newer.
201 basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'`
220 basic_machine=`echo "$1" | sed -e 's/86-.*/86-pc/'`
202221 ;;
203222 -sco*)
204223 os=-sco3.2v2
205 basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'`
224 basic_machine=`echo "$1" | sed -e 's/86-.*/86-pc/'`
206225 ;;
207226 -udk*)
208 basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'`
227 basic_machine=`echo "$1" | sed -e 's/86-.*/86-pc/'`
209228 ;;
210229 -isc)
211230 os=-isc2.2
212 basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'`
231 basic_machine=`echo "$1" | sed -e 's/86-.*/86-pc/'`
213232 ;;
214233 -clix*)
215234 basic_machine=clipper-intergraph
216235 ;;
217236 -isc*)
218 basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'`
237 basic_machine=`echo "$1" | sed -e 's/86-.*/86-pc/'`
219238 ;;
220239 -lynx*178)
221240 os=-lynxos178
227246 os=-lynxos
228247 ;;
229248 -ptx*)
230 basic_machine=`echo $1 | sed -e 's/86-.*/86-sequent/'`
231 ;;
232 -windowsnt*)
233 os=`echo $os | sed -e 's/windowsnt/winnt/'`
249 basic_machine=`echo "$1" | sed -e 's/86-.*/86-sequent/'`
234250 ;;
235251 -psos*)
236252 os=-psos
252268 | alpha64 | alpha64ev[4-8] | alpha64ev56 | alpha64ev6[78] | alpha64pca5[67] \
253269 | am33_2.0 \
254270 | arc | arceb \
255 | arm | arm[bl]e | arme[lb] | armv[2-8] | armv[3-8][lb] | armv7[arm] \
271 | arm | arm[bl]e | arme[lb] | armv[2-8] | armv[3-8][lb] | armv6m | armv[78][arm] \
256272 | avr | avr32 \
273 | ba \
257274 | be32 | be64 \
258275 | bfin \
259 | c4x | c8051 | clipper \
276 | c4x | c8051 | clipper | csky \
260277 | d10v | d30v | dlx | dsp16xx \
261 | epiphany \
278 | e2k | epiphany \
262279 | fido | fr30 | frv | ft32 \
263280 | h8300 | h8500 | hppa | hppa1.[01] | hppa2.0 | hppa2.0[nw] | hppa64 \
264281 | hexagon \
265 | i370 | i860 | i960 | ia64 \
282 | i370 | i860 | i960 | ia16 | ia64 \
266283 | ip2k | iq2000 \
267284 | k1om \
268285 | le32 | le64 \
295312 | mt \
296313 | msp430 \
297314 | nds32 | nds32le | nds32be \
315 | nfp \
298316 | nios | nios2 | nios2eb | nios2el \
299317 | ns16k | ns32k \
300318 | open8 | or1k | or1knd | or32 \
301 | pdp10 | pdp11 | pj | pjl \
319 | pdp10 | pj | pjl \
302320 | powerpc | powerpc64 | powerpc64le | powerpcle \
321 | pru \
303322 | pyramid \
304323 | riscv32 | riscv64 \
305324 | rl78 | rx \
306325 | score \
307 | sh | sh[1234] | sh[24]a | sh[24]aeb | sh[23]e | sh[34]eb | sheb | shbe | shle | sh[1234]le | sh3ele \
326 | sh | sh[1234] | sh[24]a | sh[24]aeb | sh[23]e | sh[234]eb | sheb | shbe | shle | sh[1234]le | sh3ele \
308327 | sh64 | sh64le \
309328 | sparc | sparc64 | sparc64b | sparc64v | sparc86x | sparclet | sparclite \
310329 | sparcv8 | sparcv9 | sparcv9b | sparcv9v \
313332 | ubicom32 \
314333 | v850 | v850e | v850e1 | v850e2 | v850es | v850e2v3 \
315334 | visium \
316 | we32k \
335 | wasm32 \
317336 | x86 | xc16x | xstormy16 | xtensa \
318337 | z8k | z80)
319338 basic_machine=$basic_machine-unknown
334353 basic_machine=$basic_machine-unknown
335354 os=-none
336355 ;;
337 m88110 | m680[12346]0 | m683?2 | m68360 | m5200 | v70 | w65 | z8k)
356 m88110 | m680[12346]0 | m683?2 | m68360 | m5200 | v70 | w65)
357 ;;
358 m9s12z | m68hcs12z | hcs12z | s12z)
359 basic_machine=s12z-unknown
360 os=-none
338361 ;;
339362 ms1)
340363 basic_machine=mt-unknown
363386 ;;
364387 # Object if more than one company name word.
365388 *-*-*)
366 echo Invalid configuration \`$1\': machine \`$basic_machine\' not recognized 1>&2
389 echo Invalid configuration \`"$1"\': machine \`"$basic_machine"\' not recognized 1>&2
367390 exit 1
368391 ;;
369392 # Recognize the basic CPU types with company name.
375398 | alphapca5[67]-* | alpha64pca5[67]-* | arc-* | arceb-* \
376399 | arm-* | armbe-* | armle-* | armeb-* | armv*-* \
377400 | avr-* | avr32-* \
401 | ba-* \
378402 | be32-* | be64-* \
379403 | bfin-* | bs2000-* \
380404 | c[123]* | c30-* | [cjt]90-* | c4x-* \
381 | c8051-* | clipper-* | craynv-* | cydra-* \
405 | c8051-* | clipper-* | craynv-* | csky-* | cydra-* \
382406 | d10v-* | d30v-* | dlx-* \
383 | elxsi-* \
407 | e2k-* | elxsi-* \
384408 | f30[01]-* | f700-* | fido-* | fr30-* | frv-* | fx80-* \
385409 | h8300-* | h8500-* \
386410 | hppa-* | hppa1.[01]-* | hppa2.0-* | hppa2.0[nw]-* | hppa64-* \
387411 | hexagon-* \
388 | i*86-* | i860-* | i960-* | ia64-* \
412 | i*86-* | i860-* | i960-* | ia16-* | ia64-* \
389413 | ip2k-* | iq2000-* \
390414 | k1om-* \
391415 | le32-* | le64-* \
419443 | mt-* \
420444 | msp430-* \
421445 | nds32-* | nds32le-* | nds32be-* \
446 | nfp-* \
422447 | nios-* | nios2-* | nios2eb-* | nios2el-* \
423448 | none-* | np1-* | ns16k-* | ns32k-* \
424449 | open8-* \
426451 | orion-* \
427452 | pdp10-* | pdp11-* | pj-* | pjl-* | pn-* | power-* \
428453 | powerpc-* | powerpc64-* | powerpc64le-* | powerpcle-* \
454 | pru-* \
429455 | pyramid-* \
456 | riscv32-* | riscv64-* \
430457 | rl78-* | romp-* | rs6000-* | rx-* \
431458 | sh-* | sh[1234]-* | sh[24]a-* | sh[24]aeb-* | sh[23]e-* | sh[34]eb-* | sheb-* | shbe-* \
432459 | shle-* | sh[1234]le-* | sh3ele-* | sh64-* | sh64le-* \
433460 | sparc-* | sparc64-* | sparc64b-* | sparc64v-* | sparc86x-* | sparclet-* \
434461 | sparclite-* \
435 | sparcv8-* | sparcv9-* | sparcv9b-* | sparcv9v-* | sv1-* | sx?-* \
462 | sparcv8-* | sparcv9-* | sparcv9b-* | sparcv9v-* | sv1-* | sx*-* \
436463 | tahoe-* \
437464 | tic30-* | tic4x-* | tic54x-* | tic55x-* | tic6x-* | tic80-* \
438465 | tile*-* \
441468 | v850-* | v850e-* | v850e1-* | v850es-* | v850e2-* | v850e2v3-* \
442469 | vax-* \
443470 | visium-* \
471 | wasm32-* \
444472 | we32k-* \
445473 | x86-* | x86_64-* | xc16x-* | xps100-* \
446474 | xstormy16-* | xtensa*-* \
454482 # Recognize the various machine names and aliases which stand
455483 # for a CPU type and a company and sometimes even an OS.
456484 386bsd)
457 basic_machine=i386-unknown
485 basic_machine=i386-pc
458486 os=-bsd
459487 ;;
460488 3b1 | 7300 | 7300-att | att-7300 | pc7300 | safari | unixpc)
488516 basic_machine=x86_64-pc
489517 ;;
490518 amd64-*)
491 basic_machine=x86_64-`echo $basic_machine | sed 's/^[^-]*-//'`
519 basic_machine=x86_64-`echo "$basic_machine" | sed 's/^[^-]*-//'`
492520 ;;
493521 amdahl)
494522 basic_machine=580-amdahl
517545 basic_machine=i386-pc
518546 os=-aros
519547 ;;
548 asmjs)
549 basic_machine=asmjs-unknown
550 ;;
520551 aux)
521552 basic_machine=m68k-apple
522553 os=-aux
530561 os=-linux
531562 ;;
532563 blackfin-*)
533 basic_machine=bfin-`echo $basic_machine | sed 's/^[^-]*-//'`
564 basic_machine=bfin-`echo "$basic_machine" | sed 's/^[^-]*-//'`
534565 os=-linux
535566 ;;
536567 bluegene*)
538569 os=-cnk
539570 ;;
540571 c54x-*)
541 basic_machine=tic54x-`echo $basic_machine | sed 's/^[^-]*-//'`
572 basic_machine=tic54x-`echo "$basic_machine" | sed 's/^[^-]*-//'`
542573 ;;
543574 c55x-*)
544 basic_machine=tic55x-`echo $basic_machine | sed 's/^[^-]*-//'`
575 basic_machine=tic55x-`echo "$basic_machine" | sed 's/^[^-]*-//'`
545576 ;;
546577 c6x-*)
547 basic_machine=tic6x-`echo $basic_machine | sed 's/^[^-]*-//'`
578 basic_machine=tic6x-`echo "$basic_machine" | sed 's/^[^-]*-//'`
548579 ;;
549580 c90)
550581 basic_machine=c90-cray
633664 basic_machine=rs6000-bull
634665 os=-bosx
635666 ;;
636 dpx2* | dpx2*-bull)
667 dpx2*)
637668 basic_machine=m68k-bull
638669 os=-sysv3
670 ;;
671 e500v[12])
672 basic_machine=powerpc-unknown
673 os=$os"spe"
674 ;;
675 e500v[12]-*)
676 basic_machine=powerpc-`echo "$basic_machine" | sed 's/^[^-]*-//'`
677 os=$os"spe"
639678 ;;
640679 ebmon29k)
641680 basic_machine=a29k-amd
726765 hp9k8[0-9][0-9] | hp8[0-9][0-9])
727766 basic_machine=hppa1.0-hp
728767 ;;
729 hppa-next)
730 os=-nextstep3
731 ;;
732768 hppaosf)
733769 basic_machine=hppa1.1-hp
734770 os=-osf
741777 basic_machine=i370-ibm
742778 ;;
743779 i*86v32)
744 basic_machine=`echo $1 | sed -e 's/86.*/86-pc/'`
780 basic_machine=`echo "$1" | sed -e 's/86.*/86-pc/'`
745781 os=-sysv32
746782 ;;
747783 i*86v4*)
748 basic_machine=`echo $1 | sed -e 's/86.*/86-pc/'`
784 basic_machine=`echo "$1" | sed -e 's/86.*/86-pc/'`
749785 os=-sysv4
750786 ;;
751787 i*86v)
752 basic_machine=`echo $1 | sed -e 's/86.*/86-pc/'`
788 basic_machine=`echo "$1" | sed -e 's/86.*/86-pc/'`
753789 os=-sysv
754790 ;;
755791 i*86sol2)
756 basic_machine=`echo $1 | sed -e 's/86.*/86-pc/'`
792 basic_machine=`echo "$1" | sed -e 's/86.*/86-pc/'`
757793 os=-solaris2
758794 ;;
759795 i386mach)
760796 basic_machine=i386-mach
761797 os=-mach
762798 ;;
763 i386-vsta | vsta)
799 vsta)
764800 basic_machine=i386-unknown
765801 os=-vsta
766802 ;;
779815 os=-sysv
780816 ;;
781817 leon-*|leon[3-9]-*)
782 basic_machine=sparc-`echo $basic_machine | sed 's/-.*//'`
818 basic_machine=sparc-`echo "$basic_machine" | sed 's/-.*//'`
783819 ;;
784820 m68knommu)
785821 basic_machine=m68k-unknown
786822 os=-linux
787823 ;;
788824 m68knommu-*)
789 basic_machine=m68k-`echo $basic_machine | sed 's/^[^-]*-//'`
825 basic_machine=m68k-`echo "$basic_machine" | sed 's/^[^-]*-//'`
790826 os=-linux
791 ;;
792 m88k-omron*)
793 basic_machine=m88k-omron
794827 ;;
795828 magnum | m3230)
796829 basic_machine=mips-mips
823856 os=-mint
824857 ;;
825858 mips3*-*)
826 basic_machine=`echo $basic_machine | sed -e 's/mips3/mips64/'`
859 basic_machine=`echo "$basic_machine" | sed -e 's/mips3/mips64/'`
827860 ;;
828861 mips3*)
829 basic_machine=`echo $basic_machine | sed -e 's/mips3/mips64/'`-unknown
862 basic_machine=`echo "$basic_machine" | sed -e 's/mips3/mips64/'`-unknown
830863 ;;
831864 monitor)
832865 basic_machine=m68k-rom68k
845878 os=-msdos
846879 ;;
847880 ms1-*)
848 basic_machine=`echo $basic_machine | sed -e 's/ms1-/mt-/'`
881 basic_machine=`echo "$basic_machine" | sed -e 's/ms1-/mt-/'`
849882 ;;
850883 msys)
851884 basic_machine=i686-pc
887920 basic_machine=v70-nec
888921 os=-sysv
889922 ;;
890 next | m*-next )
923 next | m*-next)
891924 basic_machine=m68k-next
892925 case $os in
893926 -nextstep* )
932965 nsr-tandem)
933966 basic_machine=nsr-tandem
934967 ;;
968 nsv-tandem)
969 basic_machine=nsv-tandem
970 ;;
971 nsx-tandem)
972 basic_machine=nsx-tandem
973 ;;
935974 op50n-* | op60c-*)
936975 basic_machine=hppa1.1-oki
937976 os=-proelf
9641003 os=-linux
9651004 ;;
9661005 parisc-*)
967 basic_machine=hppa-`echo $basic_machine | sed 's/^[^-]*-//'`
1006 basic_machine=hppa-`echo "$basic_machine" | sed 's/^[^-]*-//'`
9681007 os=-linux
9691008 ;;
9701009 pbd)
9801019 basic_machine=i386-pc
9811020 ;;
9821021 pc98-*)
983 basic_machine=i386-`echo $basic_machine | sed 's/^[^-]*-//'`
1022 basic_machine=i386-`echo "$basic_machine" | sed 's/^[^-]*-//'`
9841023 ;;
9851024 pentium | p5 | k5 | k6 | nexgen | viac3)
9861025 basic_machine=i586-pc
9951034 basic_machine=i786-pc
9961035 ;;
9971036 pentium-* | p5-* | k5-* | k6-* | nexgen-* | viac3-*)
998 basic_machine=i586-`echo $basic_machine | sed 's/^[^-]*-//'`
1037 basic_machine=i586-`echo "$basic_machine" | sed 's/^[^-]*-//'`
9991038 ;;
10001039 pentiumpro-* | p6-* | 6x86-* | athlon-*)
1001 basic_machine=i686-`echo $basic_machine | sed 's/^[^-]*-//'`
1040 basic_machine=i686-`echo "$basic_machine" | sed 's/^[^-]*-//'`
10021041 ;;
10031042 pentiumii-* | pentium2-* | pentiumiii-* | pentium3-*)
1004 basic_machine=i686-`echo $basic_machine | sed 's/^[^-]*-//'`
1043 basic_machine=i686-`echo "$basic_machine" | sed 's/^[^-]*-//'`
10051044 ;;
10061045 pentium4-*)
1007 basic_machine=i786-`echo $basic_machine | sed 's/^[^-]*-//'`
1046 basic_machine=i786-`echo "$basic_machine" | sed 's/^[^-]*-//'`
10081047 ;;
10091048 pn)
10101049 basic_machine=pn-gould
10141053 ppc | ppcbe) basic_machine=powerpc-unknown
10151054 ;;
10161055 ppc-* | ppcbe-*)
1017 basic_machine=powerpc-`echo $basic_machine | sed 's/^[^-]*-//'`
1018 ;;
1019 ppcle | powerpclittle | ppc-le | powerpc-little)
1056 basic_machine=powerpc-`echo "$basic_machine" | sed 's/^[^-]*-//'`
1057 ;;
1058 ppcle | powerpclittle)
10201059 basic_machine=powerpcle-unknown
10211060 ;;
10221061 ppcle-* | powerpclittle-*)
1023 basic_machine=powerpcle-`echo $basic_machine | sed 's/^[^-]*-//'`
1062 basic_machine=powerpcle-`echo "$basic_machine" | sed 's/^[^-]*-//'`
10241063 ;;
10251064 ppc64) basic_machine=powerpc64-unknown
10261065 ;;
1027 ppc64-* | ppc64p7-*) basic_machine=powerpc64-`echo $basic_machine | sed 's/^[^-]*-//'`
1028 ;;
1029 ppc64le | powerpc64little | ppc64-le | powerpc64-little)
1066 ppc64-*) basic_machine=powerpc64-`echo "$basic_machine" | sed 's/^[^-]*-//'`
1067 ;;
1068 ppc64le | powerpc64little)
10301069 basic_machine=powerpc64le-unknown
10311070 ;;
10321071 ppc64le-* | powerpc64little-*)
1033 basic_machine=powerpc64le-`echo $basic_machine | sed 's/^[^-]*-//'`
1072 basic_machine=powerpc64le-`echo "$basic_machine" | sed 's/^[^-]*-//'`
10341073 ;;
10351074 ps2)
10361075 basic_machine=i386-ibm
10841123 sequent)
10851124 basic_machine=i386-sequent
10861125 ;;
1087 sh)
1088 basic_machine=sh-hitachi
1089 os=-hms
1090 ;;
10911126 sh5el)
10921127 basic_machine=sh5le-unknown
10931128 ;;
1094 sh64)
1095 basic_machine=sh64-unknown
1096 ;;
1097 sparclite-wrs | simso-wrs)
1129 simso-wrs)
10981130 basic_machine=sparclite-wrs
10991131 os=-vxworks
11001132 ;;
11131145 os=-sysv4
11141146 ;;
11151147 strongarm-* | thumb-*)
1116 basic_machine=arm-`echo $basic_machine | sed 's/^[^-]*-//'`
1148 basic_machine=arm-`echo "$basic_machine" | sed 's/^[^-]*-//'`
11171149 ;;
11181150 sun2)
11191151 basic_machine=m68000-sun
12351267 basic_machine=hppa1.1-winbond
12361268 os=-proelf
12371269 ;;
1270 x64)
1271 basic_machine=x86_64-pc
1272 ;;
12381273 xbox)
12391274 basic_machine=i686-pc
12401275 os=-mingw32
12431278 basic_machine=xps100-honeywell
12441279 ;;
12451280 xscale-* | xscalee[bl]-*)
1246 basic_machine=`echo $basic_machine | sed 's/^xscale/arm/'`
1281 basic_machine=`echo "$basic_machine" | sed 's/^xscale/arm/'`
12471282 ;;
12481283 ymp)
12491284 basic_machine=ymp-cray
12501285 os=-unicos
1251 ;;
1252 z8k-*-coff)
1253 basic_machine=z8k-unknown
1254 os=-sim
1255 ;;
1256 z80-*-coff)
1257 basic_machine=z80-unknown
1258 os=-sim
12591286 ;;
12601287 none)
12611288 basic_machine=none-none
12851312 vax)
12861313 basic_machine=vax-dec
12871314 ;;
1288 pdp10)
1289 # there are many clones, so DEC is not a safe bet
1290 basic_machine=pdp10-unknown
1291 ;;
12921315 pdp11)
12931316 basic_machine=pdp11-dec
12941317 ;;
12981321 sh[1234] | sh[24]a | sh[24]aeb | sh[34]eb | sh[1234]le | sh[23]ele)
12991322 basic_machine=sh-unknown
13001323 ;;
1301 sparc | sparcv8 | sparcv9 | sparcv9b | sparcv9v)
1302 basic_machine=sparc-sun
1303 ;;
13041324 cydra)
13051325 basic_machine=cydra-cydrome
13061326 ;;
13201340 # Make sure to match an already-canonicalized machine name.
13211341 ;;
13221342 *)
1323 echo Invalid configuration \`$1\': machine \`$basic_machine\' not recognized 1>&2
1343 echo Invalid configuration \`"$1"\': machine \`"$basic_machine"\' not recognized 1>&2
13241344 exit 1
13251345 ;;
13261346 esac
13281348 # Here we canonicalize certain aliases for manufacturers.
13291349 case $basic_machine in
13301350 *-digital*)
1331 basic_machine=`echo $basic_machine | sed 's/digital.*/dec/'`
1351 basic_machine=`echo "$basic_machine" | sed 's/digital.*/dec/'`
13321352 ;;
13331353 *-commodore*)
1334 basic_machine=`echo $basic_machine | sed 's/commodore.*/cbm/'`
1354 basic_machine=`echo "$basic_machine" | sed 's/commodore.*/cbm/'`
13351355 ;;
13361356 *)
13371357 ;;
13391359
13401360 # Decode manufacturer-specific aliases for certain operating systems.
13411361
1342 if [ x"$os" != x"" ]
1362 if [ x$os != x ]
13431363 then
13441364 case $os in
1345 # First match some system type aliases
1346 # that might get confused with valid system types.
1365 # First match some system type aliases that might get confused
1366 # with valid system types.
13471367 # -solaris* is a basic system type, with this one exception.
13481368 -auroraux)
13491369 os=-auroraux
13541374 -solaris)
13551375 os=-solaris2
13561376 ;;
1357 -svr4*)
1358 os=-sysv4
1359 ;;
13601377 -unixware*)
13611378 os=-sysv4.2uw
13621379 ;;
13631380 -gnu/linux*)
13641381 os=`echo $os | sed -e 's|gnu/linux|linux-gnu|'`
13651382 ;;
1366 # First accept the basic system types.
1383 # es1800 is here to avoid being matched by es* (a different OS)
1384 -es1800*)
1385 os=-ose
1386 ;;
1387 # Now accept the basic system types.
13671388 # The portable systems comes first.
1368 # Each alternative MUST END IN A *, to match a version number.
1389 # Each alternative MUST end in a * to match a version number.
13691390 # -sysv* is not here because it comes later, after sysvr4.
13701391 -gnu* | -bsd* | -mach* | -minix* | -genix* | -ultrix* | -irix* \
13711392 | -*vms* | -sco* | -esix* | -isc* | -aix* | -cnk* | -sunos | -sunos[34]*\
13721393 | -hpux* | -unos* | -osf* | -luna* | -dgux* | -auroraux* | -solaris* \
13731394 | -sym* | -kopensolaris* | -plan9* \
13741395 | -amigaos* | -amigados* | -msdos* | -newsos* | -unicos* | -aof* \
1375 | -aos* | -aros* \
1396 | -aos* | -aros* | -cloudabi* | -sortix* \
13761397 | -nindy* | -vxsim* | -vxworks* | -ebmon* | -hms* | -mvs* \
13771398 | -clix* | -riscos* | -uniplus* | -iris* | -rtu* | -xenix* \
1378 | -hiux* | -386bsd* | -knetbsd* | -mirbsd* | -netbsd* \
1379 | -bitrig* | -openbsd* | -solidbsd* \
1399 | -hiux* | -knetbsd* | -mirbsd* | -netbsd* \
1400 | -bitrig* | -openbsd* | -solidbsd* | -libertybsd* \
13801401 | -ekkobsd* | -kfreebsd* | -freebsd* | -riscix* | -lynxos* \
13811402 | -bosx* | -nextstep* | -cxux* | -aout* | -elf* | -oabi* \
13821403 | -ptx* | -coff* | -ecoff* | -winnt* | -domain* | -vsta* \
1383 | -udi* | -eabi* | -lites* | -ieee* | -go32* | -aux* \
1384 | -chorusos* | -chorusrdb* | -cegcc* \
1404 | -udi* | -eabi* | -lites* | -ieee* | -go32* | -aux* | -hcos* \
1405 | -chorusos* | -chorusrdb* | -cegcc* | -glidix* \
13851406 | -cygwin* | -msys* | -pe* | -psos* | -moss* | -proelf* | -rtems* \
1386 | -mingw32* | -mingw64* | -linux-gnu* | -linux-android* \
1407 | -midipix* | -mingw32* | -mingw64* | -linux-gnu* | -linux-android* \
13871408 | -linux-newlib* | -linux-musl* | -linux-uclibc* \
13881409 | -uxpv* | -beos* | -mpeix* | -udk* | -moxiebox* \
1389 | -interix* | -uwin* | -mks* | -rhapsody* | -darwin* | -opened* \
1410 | -interix* | -uwin* | -mks* | -rhapsody* | -darwin* \
13901411 | -openstep* | -oskit* | -conix* | -pw32* | -nonstopux* \
13911412 | -storm-chaos* | -tops10* | -tenex* | -tops20* | -its* \
13921413 | -os2* | -vos* | -palmos* | -uclinux* | -nucleus* \
1393 | -morphos* | -superux* | -rtmk* | -rtmk-nova* | -windiss* \
1414 | -morphos* | -superux* | -rtmk* | -windiss* \
13941415 | -powermax* | -dnix* | -nx6 | -nx7 | -sei* | -dragonfly* \
1395 | -skyos* | -haiku* | -rdos* | -toppers* | -drops* | -es* | -tirtos*)
1416 | -skyos* | -haiku* | -rdos* | -toppers* | -drops* | -es* \
1417 | -onefs* | -tirtos* | -phoenix* | -fuchsia* | -redox* | -bme* \
1418 | -midnightbsd*)
13961419 # Remember, each alternative MUST END IN *, to match a version number.
13971420 ;;
13981421 -qnx*)
14091432 -nto*)
14101433 os=`echo $os | sed -e 's|nto|nto-qnx|'`
14111434 ;;
1412 -sim | -es1800* | -hms* | -xray | -os68k* | -none* | -v88r* \
1413 | -windows* | -osx | -abug | -netware* | -os9* | -beos* | -haiku* \
1435 -sim | -xray | -os68k* | -v88r* \
1436 | -windows* | -osx | -abug | -netware* | -os9* \
14141437 | -macos* | -mpw* | -magic* | -mmixware* | -mon960* | -lnews*)
14151438 ;;
14161439 -mac*)
1417 os=`echo $os | sed -e 's|mac|macos|'`
1440 os=`echo "$os" | sed -e 's|mac|macos|'`
14181441 ;;
14191442 -linux-dietlibc)
14201443 os=-linux-dietlibc
14231446 os=`echo $os | sed -e 's|linux|linux-gnu|'`
14241447 ;;
14251448 -sunos5*)
1426 os=`echo $os | sed -e 's|sunos5|solaris2|'`
1449 os=`echo "$os" | sed -e 's|sunos5|solaris2|'`
14271450 ;;
14281451 -sunos6*)
1429 os=`echo $os | sed -e 's|sunos6|solaris3|'`
1452 os=`echo "$os" | sed -e 's|sunos6|solaris3|'`
14301453 ;;
14311454 -opened*)
14321455 os=-openedition
14371460 -wince*)
14381461 os=-wince
14391462 ;;
1440 -osfrose*)
1441 os=-osfrose
1442 ;;
1443 -osf*)
1444 os=-osf
1445 ;;
14461463 -utek*)
14471464 os=-bsd
14481465 ;;
14671484 -nova*)
14681485 os=-rtmk-nova
14691486 ;;
1470 -ns2 )
1487 -ns2)
14711488 os=-nextstep2
14721489 ;;
14731490 -nsk*)
14891506 -oss*)
14901507 os=-sysv3
14911508 ;;
1492 -svr4)
1509 -svr4*)
14931510 os=-sysv4
14941511 ;;
14951512 -svr3)
15041521 -ose*)
15051522 os=-ose
15061523 ;;
1507 -es1800*)
1508 os=-ose
1509 ;;
1510 -xenix)
1511 os=-xenix
1512 ;;
15131524 -*mint | -mint[0-9]* | -*MiNT | -MiNT[0-9]*)
15141525 os=-mint
15151526 ;;
1516 -aros*)
1517 os=-aros
1518 ;;
15191527 -zvmoe)
15201528 os=-zvmoe
15211529 ;;
15221530 -dicos*)
15231531 os=-dicos
15241532 ;;
1533 -pikeos*)
1534 # Until real need of OS specific support for
1535 # particular features comes up, bare metal
1536 # configurations are quite functional.
1537 case $basic_machine in
1538 arm*)
1539 os=-eabi
1540 ;;
1541 *)
1542 os=-elf
1543 ;;
1544 esac
1545 ;;
15251546 -nacl*)
15261547 ;;
1548 -ios)
1549 ;;
15271550 -none)
1551 ;;
1552 -*-eabi)
1553 case $basic_machine in
1554 arm*)
1555 ;;
1556 esac
15281557 ;;
15291558 *)
15301559 # Get rid of the `-' at the beginning of $os.
15311560 os=`echo $os | sed 's/[^-]*-//'`
1532 echo Invalid configuration \`$1\': system \`$os\' not recognized 1>&2
1561 echo Invalid configuration \`"$1"\': system \`"$os"\' not recognized 1>&2
15331562 exit 1
15341563 ;;
15351564 esac
16191648 sparc-* | *-sun)
16201649 os=-sunos4.1.1
16211650 ;;
1651 pru-*)
1652 os=-elf
1653 ;;
16221654 *-be)
16231655 os=-beos
16241656 ;;
1625 *-haiku)
1626 os=-haiku
1627 ;;
16281657 *-ibm)
16291658 os=-aix
16301659 ;;
16641693 m88k-omron*)
16651694 os=-luna
16661695 ;;
1667 *-next )
1696 *-next)
16681697 os=-nextstep
16691698 ;;
16701699 *-sequent)
16781707 ;;
16791708 i370-*)
16801709 os=-mvs
1681 ;;
1682 *-next)
1683 os=-nextstep3
16841710 ;;
16851711 *-gould)
16861712 os=-sysv
17911817 vendor=stratus
17921818 ;;
17931819 esac
1794 basic_machine=`echo $basic_machine | sed "s/unknown/$vendor/"`
1820 basic_machine=`echo "$basic_machine" | sed "s/unknown/$vendor/"`
17951821 ;;
17961822 esac
17971823
1798 echo $basic_machine$os
1824 echo "$basic_machine$os"
17991825 exit
18001826
18011827 # Local variables:
1802 # eval: (add-hook 'write-file-hooks 'time-stamp)
1828 # eval: (add-hook 'before-save-hook 'time-stamp)
18031829 # time-stamp-start: "timestamp='"
18041830 # time-stamp-format: "%:y-%02m-%02d"
18051831 # time-stamp-end: "'"
00 #! /bin/sh
11 # depcomp - compile a program generating dependencies as side-effects
22
3 scriptversion=2013-05-30.07; # UTC
4
5 # Copyright (C) 1999-2014 Free Software Foundation, Inc.
3 scriptversion=2018-03-07.03; # UTC
4
5 # Copyright (C) 1999-2018 Free Software Foundation, Inc.
66
77 # This program is free software; you can redistribute it and/or modify
88 # it under the terms of the GNU General Public License as published by
1515 # GNU General Public License for more details.
1616
1717 # You should have received a copy of the GNU General Public License
18 # along with this program. If not, see <http://www.gnu.org/licenses/>.
18 # along with this program. If not, see <https://www.gnu.org/licenses/>.
1919
2020 # As a special exception to the GNU General Public License, if you
2121 # distribute this file as part of a program that contains a
782782 # Local Variables:
783783 # mode: shell-script
784784 # sh-indentation: 2
785 # eval: (add-hook 'write-file-hooks 'time-stamp)
785 # eval: (add-hook 'before-save-hook 'time-stamp)
786786 # time-stamp-start: "scriptversion="
787787 # time-stamp-format: "%:y-%02m-%02d.%02H"
788 # time-stamp-time-zone: "UTC"
788 # time-stamp-time-zone: "UTC0"
789789 # time-stamp-end: "; # UTC"
790790 # End:
00 #!/bin/sh
11 # install - install a program, script, or datafile
22
3 scriptversion=2013-12-25.23; # UTC
3 scriptversion=2018-03-11.20; # UTC
44
55 # This originates from X11R5 (mit/util/scripts/install.sh), which was
66 # later released in X11R6 (xc/config/util/install.sh) with the
270270 fi
271271 dst=$dst_arg
272272
273 # If destination is a directory, append the input filename; won't work
274 # if double slashes aren't ignored.
273 # If destination is a directory, append the input filename.
275274 if test -d "$dst"; then
276275 if test "$is_target_a_directory" = never; then
277276 echo "$0: $dst_arg: Is a directory" >&2
278277 exit 1
279278 fi
280279 dstdir=$dst
281 dst=$dstdir/`basename "$src"`
280 dstbase=`basename "$src"`
281 case $dst in
282 */) dst=$dst$dstbase;;
283 *) dst=$dst/$dstbase;;
284 esac
282285 dstdir_status=0
283286 else
284287 dstdir=`dirname "$dst"`
286289 dstdir_status=$?
287290 fi
288291 fi
292
293 case $dstdir in
294 */) dstdirslash=$dstdir;;
295 *) dstdirslash=$dstdir/;;
296 esac
289297
290298 obsolete_mkdir_used=false
291299
323331 # is incompatible with FreeBSD 'install' when (umask & 300) != 0.
324332 ;;
325333 *)
334 # Note that $RANDOM variable is not portable (e.g. dash); Use it
335 # here however when possible just to lower collision chance.
326336 tmpdir=${TMPDIR-/tmp}/ins$RANDOM-$$
327 trap 'ret=$?; rmdir "$tmpdir/d" "$tmpdir" 2>/dev/null; exit $ret' 0
328
337
338 trap 'ret=$?; rmdir "$tmpdir/a/b" "$tmpdir/a" "$tmpdir" 2>/dev/null; exit $ret' 0
339
340 # Because "mkdir -p" follows existing symlinks and we likely work
341 # directly in world-writeable /tmp, make sure that the '$tmpdir'
342 # directory is successfully created first before we actually test
343 # 'mkdir -p' feature.
329344 if (umask $mkdir_umask &&
330 exec $mkdirprog $mkdir_mode -p -- "$tmpdir/d") >/dev/null 2>&1
345 $mkdirprog $mkdir_mode "$tmpdir" &&
346 exec $mkdirprog $mkdir_mode -p -- "$tmpdir/a/b") >/dev/null 2>&1
331347 then
332348 if test -z "$dir_arg" || {
333349 # Check for POSIX incompatibilities with -m.
334350 # HP-UX 11.23 and IRIX 6.5 mkdir -m -p sets group- or
335351 # other-writable bit of parent directory when it shouldn't.
336352 # FreeBSD 6.1 mkdir -m -p sets mode of existing directory.
337 ls_ld_tmpdir=`ls -ld "$tmpdir"`
353 test_tmpdir="$tmpdir/a"
354 ls_ld_tmpdir=`ls -ld "$test_tmpdir"`
338355 case $ls_ld_tmpdir in
339356 d????-?r-*) different_mode=700;;
340357 d????-?--*) different_mode=755;;
341358 *) false;;
342359 esac &&
343 $mkdirprog -m$different_mode -p -- "$tmpdir" && {
344 ls_ld_tmpdir_1=`ls -ld "$tmpdir"`
360 $mkdirprog -m$different_mode -p -- "$test_tmpdir" && {
361 ls_ld_tmpdir_1=`ls -ld "$test_tmpdir"`
345362 test "$ls_ld_tmpdir" = "$ls_ld_tmpdir_1"
346363 }
347364 }
348365 then posix_mkdir=:
349366 fi
350 rmdir "$tmpdir/d" "$tmpdir"
367 rmdir "$tmpdir/a/b" "$tmpdir/a" "$tmpdir"
351368 else
352369 # Remove any dirs left behind by ancient mkdir implementations.
353 rmdir ./$mkdir_mode ./-p ./-- 2>/dev/null
370 rmdir ./$mkdir_mode ./-p ./-- "$tmpdir" 2>/dev/null
354371 fi
355372 trap '' 0;;
356373 esac;;
426443 else
427444
428445 # Make a couple of temp file names in the proper directory.
429 dsttmp=$dstdir/_inst.$$_
430 rmtmp=$dstdir/_rm.$$_
446 dsttmp=${dstdirslash}_inst.$$_
447 rmtmp=${dstdirslash}_rm.$$_
431448
432449 # Trap to clean up those temp files at exit.
433450 trap 'ret=$?; rm -f "$dsttmp" "$rmtmp" && exit $ret' 0
492509 done
493510
494511 # Local variables:
495 # eval: (add-hook 'write-file-hooks 'time-stamp)
512 # eval: (add-hook 'before-save-hook 'time-stamp)
496513 # time-stamp-start: "scriptversion="
497514 # time-stamp-format: "%:y-%02m-%02d.%02H"
498 # time-stamp-time-zone: "UTC"
515 # time-stamp-time-zone: "UTC0"
499516 # time-stamp-end: "; # UTC"
500517 # End:
21232123 # a configuration failure hint, and exit.
21242124 func_fatal_configuration ()
21252125 {
2126 func__fatal_error ${1+"$@"} \
2126 func_fatal_error ${1+"$@"} \
21272127 "See the $PACKAGE documentation for more information." \
21282128 "Fatal configuration error."
21292129 }
72717271 # -tp=* Portland pgcc target processor selection
72727272 # --sysroot=* for sysroot support
72737273 # -O*, -g*, -flto*, -fwhopr*, -fuse-linker-plugin GCC link-time optimization
7274 # -specs=* GCC specs files
72747275 # -stdlib=* select c++ std lib with clang
72757276 -64|-mips[0-9]|-r[0-9][0-9]*|-xarch=*|-xtarget=*|+DA*|+DD*|-q*|-m*| \
72767277 -t[45]*|-txscale*|-p|-pg|--coverage|-fprofile-*|-F*|@*|-tp=*|--sysroot=*| \
7277 -O*|-g*|-flto*|-fwhopr*|-fuse-linker-plugin|-fstack-protector*|-stdlib=*)
7278 -O*|-g*|-flto*|-fwhopr*|-fuse-linker-plugin|-fstack-protector*|-stdlib=*| \
7279 -specs=*)
72787280 func_quote_for_eval "$arg"
72797281 arg=$func_quote_for_eval_result
72807282 func_append compile_command " $arg"
00 #! /bin/sh
11 # Common wrapper for a few potentially missing GNU programs.
22
3 scriptversion=2013-10-28.13; # UTC
4
5 # Copyright (C) 1996-2014 Free Software Foundation, Inc.
3 scriptversion=2018-03-07.03; # UTC
4
5 # Copyright (C) 1996-2018 Free Software Foundation, Inc.
66 # Originally written by Fran,cois Pinard <pinard@iro.umontreal.ca>, 1996.
77
88 # This program is free software; you can redistribute it and/or modify
1616 # GNU General Public License for more details.
1717
1818 # You should have received a copy of the GNU General Public License
19 # along with this program. If not, see <http://www.gnu.org/licenses/>.
19 # along with this program. If not, see <https://www.gnu.org/licenses/>.
2020
2121 # As a special exception to the GNU General Public License, if you
2222 # distribute this file as part of a program that contains a
100100 exit $st
101101 fi
102102
103 perl_URL=http://www.perl.org/
104 flex_URL=http://flex.sourceforge.net/
105 gnu_software_URL=http://www.gnu.org/software
103 perl_URL=https://www.perl.org/
104 flex_URL=https://github.com/westes/flex
105 gnu_software_URL=https://www.gnu.org/software
106106
107107 program_details ()
108108 {
206206 exit $st
207207
208208 # Local variables:
209 # eval: (add-hook 'write-file-hooks 'time-stamp)
209 # eval: (add-hook 'before-save-hook 'time-stamp)
210210 # time-stamp-start: "scriptversion="
211211 # time-stamp-format: "%:y-%02m-%02d.%02H"
212 # time-stamp-time-zone: "UTC"
212 # time-stamp-time-zone: "UTC0"
213213 # time-stamp-end: "; # UTC"
214214 # End:
00 #! /bin/sh
11 # test-driver - basic testsuite driver script.
22
3 scriptversion=2013-07-13.22; # UTC
3 scriptversion=2018-03-07.03; # UTC
44
5 # Copyright (C) 2011-2014 Free Software Foundation, Inc.
5 # Copyright (C) 2011-2018 Free Software Foundation, Inc.
66 #
77 # This program is free software; you can redistribute it and/or modify
88 # it under the terms of the GNU General Public License as published by
1515 # GNU General Public License for more details.
1616 #
1717 # You should have received a copy of the GNU General Public License
18 # along with this program. If not, see <http://www.gnu.org/licenses/>.
18 # along with this program. If not, see <https://www.gnu.org/licenses/>.
1919
2020 # As a special exception to the GNU General Public License, if you
2121 # distribute this file as part of a program that contains a
139139 # Local Variables:
140140 # mode: shell-script
141141 # sh-indentation: 2
142 # eval: (add-hook 'write-file-hooks 'time-stamp)
142 # eval: (add-hook 'before-save-hook 'time-stamp)
143143 # time-stamp-start: "scriptversion="
144144 # time-stamp-format: "%:y-%02m-%02d.%02H"
145 # time-stamp-time-zone: "UTC"
145 # time-stamp-time-zone: "UTC0"
146146 # time-stamp-end: "; # UTC"
147147 # End:
0 861840
0 863920
44 COMPONENT_FONT=Dialog:14
55 CUBE_TO_VIEWER=cubeview
66 CUBE_VIEWER_TYPE=SHELLCOMMAND
7 DATA_FILES=/usr/share/esopipes/datastatic/xshoo-3.3.5
7 DATA_FILES=/usr/share/esopipes/datastatic/xshoo-3.5.0
88 DBOBS_DISPLAY_COLUMNS=CLASSIFICATION:RA:DEC:TPL.EXPNO:TPL.NEXP
99 DBOBS_DISPLAY_COLUMNS_SIZE=0:0:0:0:0
1010 DBOBS_INSTRUMENT=All
4040 PRINT_FONT=Monospaced:16
4141 PRINT_ORIENTATION=P
4242 RADEC_CONVERSION=true
43 RECIPE_SET=xsh_cfg_recover=/usr/lib64/esopipes-plugins/xshoo-3.3.5/xsh_cfg_recover.so;xsh_lingain=/usr/lib64/esopipes-plugins/xshoo-3.3.5/xsh_lingain.so;xsh_mbias=/usr/lib64/esopipes-plugins/xshoo-3.3.5/xsh_mbias.so;xsh_mdark=/usr/lib64/esopipes-plugins/xshoo-3.3.5/xsh_mdark.so;xsh_predict=/usr/lib64/esopipes-plugins/xshoo-3.3.5/xsh_predict.so;xsh_orderpos=/usr/lib64/esopipes-plugins/xshoo-3.3.5/xsh_orderpos.so;xsh_mflat=/usr/lib64/esopipes-plugins/xshoo-3.3.5/xsh_mflat.so;xsh_2dmap=/usr/lib64/esopipes-plugins/xshoo-3.3.5/xsh_2dmap.so;xsh_flexcomp=/usr/lib64/esopipes-plugins/xshoo-3.3.5/xsh_flexcomp.so;xsh_wavecal=/usr/lib64/esopipes-plugins/xshoo-3.3.5/xsh_wavecal.so;xsh_respon_slit_nod=/usr/lib64/esopipes-plugins/xshoo-3.3.5/xsh_respon_slit_nod.so;xsh_respon_slit_stare=/usr/lib64/esopipes-plugins/xshoo-3.3.5/xsh_respon_slit_stare.so;xsh_respon_slit_offset=/usr/lib64/esopipes-plugins/xshoo-3.3.5/xsh_respon_slit_offset.so;xsh_scired_slit_stare=/usr/lib64/esopipes-plugins/xshoo-3.3.5/xsh_scired_slit_stare.so;xsh_scired_slit_nod=/usr/lib64/esopipes-plugins/xshoo-3.3.5/xsh_scired_slit_nod.so;xsh_scired_slit_offset=/usr/lib64/esopipes-plugins/xshoo-3.3.5/xsh_scired_slit_offset.so;xsh_scired_ifu_stare=/usr/lib64/esopipes-plugins/xshoo-3.3.5/xsh_scired_ifu_stare.so;xsh_scired_ifu_offset=/usr/lib64/esopipes-plugins/xshoo-3.3.5/xsh_scired_ifu_offset.so;xsh_util_physmod=/usr/lib64/esopipes-plugins/xshoo-3.3.5/xsh_util_physmod.so
44 SCRIPTS_DIR=/home/astro2/gasgano/scripts/xshooter
43 RECIPE_SET=xsh_cfg_recover=/usr/lib64/esopipes-plugins/xshoo-3.5.0/xsh_cfg_recover.so;xsh_lingain=/usr/lib64/esopipes-plugins/xshoo-3.5.0/xsh_lingain.so;xsh_mbias=/usr/lib64/esopipes-plugins/xshoo-3.5.0/xsh_mbias.so;xsh_mdark=/usr/lib64/esopipes-plugins/xshoo-3.5.0/xsh_mdark.so;xsh_predict=/usr/lib64/esopipes-plugins/xshoo-3.5.0/xsh_predict.so;xsh_orderpos=/usr/lib64/esopipes-plugins/xshoo-3.5.0/xsh_orderpos.so;xsh_mflat=/usr/lib64/esopipes-plugins/xshoo-3.5.0/xsh_mflat.so;xsh_2dmap=/usr/lib64/esopipes-plugins/xshoo-3.5.0/xsh_2dmap.so;xsh_flexcomp=/usr/lib64/esopipes-plugins/xshoo-3.5.0/xsh_flexcomp.so;xsh_wavecal=/usr/lib64/esopipes-plugins/xshoo-3.5.0/xsh_wavecal.so;xsh_respon_slit_nod=/usr/lib64/esopipes-plugins/xshoo-3.5.0/xsh_respon_slit_nod.so;xsh_respon_slit_stare=/usr/lib64/esopipes-plugins/xshoo-3.5.0/xsh_respon_slit_stare.so;xsh_respon_slit_offset=/usr/lib64/esopipes-plugins/xshoo-3.5.0/xsh_respon_slit_offset.so;xsh_scired_slit_stare=/usr/lib64/esopipes-plugins/xshoo-3.5.0/xsh_scired_slit_stare.so;xsh_scired_slit_nod=/usr/lib64/esopipes-plugins/xshoo-3.5.0/xsh_scired_slit_nod.so;xsh_scired_slit_offset=/usr/lib64/esopipes-plugins/xshoo-3.5.0/xsh_scired_slit_offset.so;xsh_scired_ifu_stare=/usr/lib64/esopipes-plugins/xshoo-3.5.0/xsh_scired_ifu_stare.so;xsh_scired_ifu_offset=/usr/lib64/esopipes-plugins/xshoo-3.5.0/xsh_scired_ifu_offset.so;xsh_util_physmod=/usr/lib64/esopipes-plugins/xshoo-3.5.0/xsh_util_physmod.so
44 SCRIPTS_DIR=/home/astro3/gasgano/scripts/xshooter
4545 SHORTEN_FILES_PATH=false
4646 SHORT_FILENAME=true
4747 SHOW_EXTENSIONS=true
00 #! /bin/sh
11 # Guess values for system-dependent variables and create Makefiles.
2 # Generated by GNU Autoconf 2.69 for X-shooter Instrument Pipeline 3.3.5.
2 # Generated by GNU Autoconf 2.69 for X-shooter Instrument Pipeline 3.5.0.
33 #
44 # Report bugs to <usd-help@eso.org>.
55 #
589589 # Identity of this package.
590590 PACKAGE_NAME='X-shooter Instrument Pipeline'
591591 PACKAGE_TARNAME='xshoo'
592 PACKAGE_VERSION='3.3.5'
593 PACKAGE_STRING='X-shooter Instrument Pipeline 3.3.5'
592 PACKAGE_VERSION='3.5.0'
593 PACKAGE_STRING='X-shooter Instrument Pipeline 3.5.0'
594594 PACKAGE_BUGREPORT='usd-help@eso.org'
595595 PACKAGE_URL=''
596596
707707 AMDEPBACKSLASH
708708 AMDEP_FALSE
709709 AMDEP_TRUE
710 am__quote
711710 am__include
712711 DEPDIR
713712 OBJEXT
807806 PACKAGE_TARNAME
808807 PACKAGE_NAME
809808 PATH_SEPARATOR
810 SHELL'
809 SHELL
810 am__quote'
811811 ac_subst_files=''
812812 ac_user_opts='
813813 enable_option_checking
13951395 # Omit some internal or obsolete options to make the list less imposing.
13961396 # This message is too long to be a string in the A/UX 3.1 sh.
13971397 cat <<_ACEOF
1398 \`configure' configures X-shooter Instrument Pipeline 3.3.5 to adapt to many kinds of systems.
1398 \`configure' configures X-shooter Instrument Pipeline 3.5.0 to adapt to many kinds of systems.
13991399
14001400 Usage: $0 [OPTION]... [VAR=VALUE]...
14011401
14661466
14671467 if test -n "$ac_init_help"; then
14681468 case $ac_init_help in
1469 short | recursive ) echo "Configuration of X-shooter Instrument Pipeline 3.3.5:";;
1469 short | recursive ) echo "Configuration of X-shooter Instrument Pipeline 3.5.0:";;
14701470 esac
14711471 cat <<\_ACEOF
14721472
16041604 test -n "$ac_init_help" && exit $ac_status
16051605 if $ac_init_version; then
16061606 cat <<\_ACEOF
1607 X-shooter Instrument Pipeline configure 3.3.5
1607 X-shooter Instrument Pipeline configure 3.5.0
16081608 generated by GNU Autoconf 2.69
16091609
16101610 Copyright (C) 2012 Free Software Foundation, Inc.
20192019 This file contains any messages produced by compilers while
20202020 running configure, to aid debugging if configure makes a mistake.
20212021
2022 It was created by X-shooter Instrument Pipeline $as_me 3.3.5, which was
2022 It was created by X-shooter Instrument Pipeline $as_me 3.5.0, which was
20232023 generated by GNU Autoconf 2.69. Invocation command line was
20242024
20252025 $ $0 $@
25152515 NONENONEs,x,x, &&
25162516 program_prefix=${target_alias}-
25172517
2518 am__api_version='1.15'
2518 am__api_version='1.16'
25192519
25202520 # Find a good install program. We prefer a C program (faster),
25212521 # so one script is as good as another. But avoid the broken or
30013001
30023002 # Define the identity of the package.
30033003 PACKAGE='xshoo'
3004 VERSION='3.3.5'
3004 VERSION='3.5.0'
30053005
30063006
30073007 cat >>confdefs.h <<_ACEOF
30313031
30323032 # For better backward compatibility. To be removed once Automake 1.9.x
30333033 # dies out for good. For more background, see:
3034 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
3035 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
3034 # <https://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
3035 # <https://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
30363036 mkdir_p='$(MKDIR_P)'
30373037
30383038 # We need awk for the "check" target (and possibly the TAP driver). The
30833083 Aborting the configuration process, to ensure you take notice of the issue.
30843084
30853085 You can download and install GNU coreutils to get an 'rm' implementation
3086 that behaves properly: <http://www.gnu.org/software/coreutils/>.
3086 that behaves properly: <https://www.gnu.org/software/coreutils/>.
30873087
30883088 If you want to complete the configuration process using your problematic
30893089 'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM
41184118
41194119 ac_config_commands="$ac_config_commands depfiles"
41204120
4121
4122 am_make=${MAKE-make}
4123 cat > confinc << 'END'
4121 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} supports the include directive" >&5
4122 $as_echo_n "checking whether ${MAKE-make} supports the include directive... " >&6; }
4123 cat > confinc.mk << 'END'
41244124 am__doit:
4125 @echo this is the am__doit target
4125 @echo this is the am__doit target >confinc.out
41264126 .PHONY: am__doit
41274127 END
4128 # If we don't find an include directive, just comment out the code.
4129 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
4130 $as_echo_n "checking for style of include used by $am_make... " >&6; }
41314128 am__include="#"
41324129 am__quote=
4133 _am_result=none
4134 # First try GNU make style include.
4135 echo "include confinc" > confmf
4136 # Ignore all kinds of additional output from 'make'.
4137 case `$am_make -s -f confmf 2> /dev/null` in #(
4138 *the\ am__doit\ target*)
4139 am__include=include
4140 am__quote=
4141 _am_result=GNU
4142 ;;
4130 # BSD make does it like this.
4131 echo '.include "confinc.mk" # ignored' > confmf.BSD
4132 # Other make implementations (GNU, Solaris 10, AIX) do it like this.
4133 echo 'include confinc.mk # ignored' > confmf.GNU
4134 _am_result=no
4135 for s in GNU BSD; do
4136 { echo "$as_me:$LINENO: ${MAKE-make} -f confmf.$s && cat confinc.out" >&5
4137 (${MAKE-make} -f confmf.$s && cat confinc.out) >&5 2>&5
4138 ac_status=$?
4139 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4140 (exit $ac_status); }
4141 case $?:`cat confinc.out 2>/dev/null` in #(
4142 '0:this is the am__doit target') :
4143 case $s in #(
4144 BSD) :
4145 am__include='.include' am__quote='"' ;; #(
4146 *) :
4147 am__include='include' am__quote='' ;;
4148 esac ;; #(
4149 *) :
4150 ;;
41434151 esac
4144 # Now try BSD make style include.
4145 if test "$am__include" = "#"; then
4146 echo '.include "confinc"' > confmf
4147 case `$am_make -s -f confmf 2> /dev/null` in #(
4148 *the\ am__doit\ target*)
4149 am__include=.include
4150 am__quote="\""
4151 _am_result=BSD
4152 ;;
4153 esac
4154 fi
4155
4156
4157 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
4158 $as_echo "$_am_result" >&6; }
4159 rm -f confinc confmf
4152 if test "$am__include" != "#"; then
4153 _am_result="yes ($s style)"
4154 break
4155 fi
4156 done
4157 rm -f confinc.* confmf.*
4158 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${_am_result}" >&5
4159 $as_echo "${_am_result}" >&6; }
41604160
41614161 # Check whether --enable-dependency-tracking was given.
41624162 if test "${enable_dependency_tracking+set}" = set; then :
1602916029 # report actual input values of CONFIG_FILES etc. instead of their
1603016030 # values after options handling.
1603116031 ac_log="
16032 This file was extended by X-shooter Instrument Pipeline $as_me 3.3.5, which was
16032 This file was extended by X-shooter Instrument Pipeline $as_me 3.5.0, which was
1603316033 generated by GNU Autoconf 2.69. Invocation command line was
1603416034
1603516035 CONFIG_FILES = $CONFIG_FILES
1609516095 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
1609616096 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
1609716097 ac_cs_version="\\
16098 X-shooter Instrument Pipeline config.status 3.3.5
16098 X-shooter Instrument Pipeline config.status 3.5.0
1609916099 configured by $0, generated by GNU Autoconf 2.69,
1610016100 with options \\"\$ac_cs_config\\"
1610116101
1621416214 #
1621516215 # INIT-COMMANDS
1621616216 #
16217 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
16217 AMDEP_TRUE="$AMDEP_TRUE" MAKE="${MAKE-make}"
1621816218
1621916219
1622016220 # The HP-UX ksh and POSIX shell print the target directory to stdout
1712117121 # Older Autoconf quotes --file arguments for eval, but not when files
1712217122 # are listed without --file. Let's play safe and only enable the eval
1712317123 # if we detect the quoting.
17124 case $CONFIG_FILES in
17125 *\'*) eval set x "$CONFIG_FILES" ;;
17126 *) set x $CONFIG_FILES ;;
17127 esac
17124 # TODO: see whether this extra hack can be removed once we start
17125 # requiring Autoconf 2.70 or later.
17126 case $CONFIG_FILES in #(
17127 *\'*) :
17128 eval set x "$CONFIG_FILES" ;; #(
17129 *) :
17130 set x $CONFIG_FILES ;; #(
17131 *) :
17132 ;;
17133 esac
1712817134 shift
17129 for mf
17135 # Used to flag and report bootstrapping failures.
17136 am_rc=0
17137 for am_mf
1713017138 do
1713117139 # Strip MF so we end up with the name of the file.
17132 mf=`echo "$mf" | sed -e 's/:.*$//'`
17133 # Check whether this is an Automake generated Makefile or not.
17134 # We used to match only the files named 'Makefile.in', but
17135 # some people rename them; so instead we look at the file content.
17136 # Grep'ing the first line is not enough: some people post-process
17137 # each Makefile.in and add a new line on top of each file to say so.
17138 # Grep'ing the whole file is not good either: AIX grep has a line
17140 am_mf=`$as_echo "$am_mf" | sed -e 's/:.*$//'`
17141 # Check whether this is an Automake generated Makefile which includes
17142 # dependency-tracking related rules and includes.
17143 # Grep'ing the whole file directly is not great: AIX grep has a line
1713917144 # limit of 2048, but all sed's we know have understand at least 4000.
17140 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
17141 dirpart=`$as_dirname -- "$mf" ||
17142 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
17143 X"$mf" : 'X\(//\)[^/]' \| \
17144 X"$mf" : 'X\(//\)$' \| \
17145 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
17146 $as_echo X"$mf" |
17145 sed -n 's,^am--depfiles:.*,X,p' "$am_mf" | grep X >/dev/null 2>&1 \
17146 || continue
17147 am_dirpart=`$as_dirname -- "$am_mf" ||
17148 $as_expr X"$am_mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
17149 X"$am_mf" : 'X\(//\)[^/]' \| \
17150 X"$am_mf" : 'X\(//\)$' \| \
17151 X"$am_mf" : 'X\(/\)' \| . 2>/dev/null ||
17152 $as_echo X"$am_mf" |
1714717153 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1714817154 s//\1/
1714917155 q
1716117167 q
1716217168 }
1716317169 s/.*/./; q'`
17164 else
17165 continue
17166 fi
17167 # Extract the definition of DEPDIR, am__include, and am__quote
17168 # from the Makefile without running 'make'.
17169 DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
17170 test -z "$DEPDIR" && continue
17171 am__include=`sed -n 's/^am__include = //p' < "$mf"`
17172 test -z "$am__include" && continue
17173 am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
17174 # Find all dependency output files, they are included files with
17175 # $(DEPDIR) in their names. We invoke sed twice because it is the
17176 # simplest approach to changing $(DEPDIR) to its actual value in the
17177 # expansion.
17178 for file in `sed -n "
17179 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
17180 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g'`; do
17181 # Make sure the directory exists.
17182 test -f "$dirpart/$file" && continue
17183 fdir=`$as_dirname -- "$file" ||
17184 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
17185 X"$file" : 'X\(//\)[^/]' \| \
17186 X"$file" : 'X\(//\)$' \| \
17187 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
17188 $as_echo X"$file" |
17189 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
17170 am_filepart=`$as_basename -- "$am_mf" ||
17171 $as_expr X/"$am_mf" : '.*/\([^/][^/]*\)/*$' \| \
17172 X"$am_mf" : 'X\(//\)$' \| \
17173 X"$am_mf" : 'X\(/\)' \| . 2>/dev/null ||
17174 $as_echo X/"$am_mf" |
17175 sed '/^.*\/\([^/][^/]*\)\/*$/{
1719017176 s//\1/
1719117177 q
1719217178 }
17193 /^X\(\/\/\)[^/].*/{
17179 /^X\/\(\/\/\)$/{
1719417180 s//\1/
1719517181 q
1719617182 }
17197 /^X\(\/\/\)$/{
17198 s//\1/
17199 q
17200 }
17201 /^X\(\/\).*/{
17183 /^X\/\(\/\).*/{
1720217184 s//\1/
1720317185 q
1720417186 }
1720517187 s/.*/./; q'`
17206 as_dir=$dirpart/$fdir; as_fn_mkdir_p
17207 # echo "creating $dirpart/$file"
17208 echo '# dummy' > "$dirpart/$file"
17209 done
17188 { echo "$as_me:$LINENO: cd "$am_dirpart" \
17189 && sed -e '/# am--include-marker/d' "$am_filepart" \
17190 | $MAKE -f - am--depfiles" >&5
17191 (cd "$am_dirpart" \
17192 && sed -e '/# am--include-marker/d' "$am_filepart" \
17193 | $MAKE -f - am--depfiles) >&5 2>&5
17194 ac_status=$?
17195 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17196 (exit $ac_status); } || am_rc=$?
1721017197 done
17198 if test $am_rc -ne 0; then
17199 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
17200 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
17201 as_fn_error $? "Something went wrong bootstrapping makefile fragments
17202 for automatic dependency tracking. Try re-running configure with the
17203 '--disable-dependency-tracking' option to at least be able to build
17204 the package (albeit without support for automatic dependency tracking).
17205 See \`config.log' for more details" "$LINENO" 5; }
17206 fi
17207 { am_dirpart=; unset am_dirpart;}
17208 { am_filepart=; unset am_filepart;}
17209 { am_mf=; unset am_mf;}
17210 { am_rc=; unset am_rc;}
17211 rm -f conftest-deps.mk
1721117212 }
1721217213 ;;
1721317214 "libtool":C)
00 # Process this file with autoconf to produce a configure script.
1 AC_INIT([X-shooter Instrument Pipeline], [3.3.5], [usd-help@eso.org],
1 AC_INIT([X-shooter Instrument Pipeline], [3.5.0], [usd-help@eso.org],
22 [xshoo])
33
44
0 # Makefile.in generated by automake 1.15 from Makefile.am.
0 # Makefile.in generated by automake 1.16.1 from Makefile.am.
11 # @configure_input@
22
3 # Copyright (C) 1994-2014 Free Software Foundation, Inc.
3 # Copyright (C) 1994-2018 Free Software Foundation, Inc.
44
55 # This Makefile.in is free software; the Free Software Foundation
66 # gives unlimited permission to copy and/or distribute it,
190190 am__v_at_1 =
191191 DEFAULT_INCLUDES = -I.@am__isrc@
192192 depcomp = $(SHELL) $(top_srcdir)/admin/depcomp
193 am__depfiles_maybe = depfiles
193 am__maybe_remake_depfiles = depfiles
194 am__depfiles_remade = ./$(DEPDIR)/libhdrl_la-hdrl_DER_SNR.Plo \
195 ./$(DEPDIR)/libhdrl_la-hdrl_bpm_2d.Plo \
196 ./$(DEPDIR)/libhdrl_la-hdrl_bpm_3d.Plo \
197 ./$(DEPDIR)/libhdrl_la-hdrl_bpm_fit.Plo \
198 ./$(DEPDIR)/libhdrl_la-hdrl_bpm_utils.Plo \
199 ./$(DEPDIR)/libhdrl_la-hdrl_buffer.Plo \
200 ./$(DEPDIR)/libhdrl_la-hdrl_catalogue.Plo \
201 ./$(DEPDIR)/libhdrl_la-hdrl_collapse.Plo \
202 ./$(DEPDIR)/libhdrl_la-hdrl_combine.Plo \
203 ./$(DEPDIR)/libhdrl_la-hdrl_correlation.Plo \
204 ./$(DEPDIR)/libhdrl_la-hdrl_dar.Plo \
205 ./$(DEPDIR)/libhdrl_la-hdrl_efficiency.Plo \
206 ./$(DEPDIR)/libhdrl_la-hdrl_elemop.Plo \
207 ./$(DEPDIR)/libhdrl_la-hdrl_fit.Plo \
208 ./$(DEPDIR)/libhdrl_la-hdrl_flat.Plo \
209 ./$(DEPDIR)/libhdrl_la-hdrl_fpn.Plo \
210 ./$(DEPDIR)/libhdrl_la-hdrl_frameiter.Plo \
211 ./$(DEPDIR)/libhdrl_la-hdrl_fringe.Plo \
212 ./$(DEPDIR)/libhdrl_la-hdrl_image.Plo \
213 ./$(DEPDIR)/libhdrl_la-hdrl_image_math.Plo \
214 ./$(DEPDIR)/libhdrl_la-hdrl_imagelist_basic.Plo \
215 ./$(DEPDIR)/libhdrl_la-hdrl_imagelist_io.Plo \
216 ./$(DEPDIR)/libhdrl_la-hdrl_imagelist_view.Plo \
217 ./$(DEPDIR)/libhdrl_la-hdrl_iter.Plo \
218 ./$(DEPDIR)/libhdrl_la-hdrl_lacosmics.Plo \
219 ./$(DEPDIR)/libhdrl_la-hdrl_multiiter.Plo \
220 ./$(DEPDIR)/libhdrl_la-hdrl_overscan.Plo \
221 ./$(DEPDIR)/libhdrl_la-hdrl_parameter.Plo \
222 ./$(DEPDIR)/libhdrl_la-hdrl_prototyping.Plo \
223 ./$(DEPDIR)/libhdrl_la-hdrl_random.Plo \
224 ./$(DEPDIR)/libhdrl_la-hdrl_response.Plo \
225 ./$(DEPDIR)/libhdrl_la-hdrl_sigclip.Plo \
226 ./$(DEPDIR)/libhdrl_la-hdrl_spectrum.Plo \
227 ./$(DEPDIR)/libhdrl_la-hdrl_spectrum_resample.Plo \
228 ./$(DEPDIR)/libhdrl_la-hdrl_spectrum_shift.Plo \
229 ./$(DEPDIR)/libhdrl_la-hdrl_spectrumlist.Plo \
230 ./$(DEPDIR)/libhdrl_la-hdrl_strehl.Plo \
231 ./$(DEPDIR)/libhdrl_la-hdrl_utils.Plo \
232 ./$(DEPDIR)/libhdrl_la-igam.Plo
194233 am__mv = mv -f
195234 COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \
196235 $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
261300 $(RECURSIVE_CLEAN_TARGETS) \
262301 $(am__extra_recursive_targets)
263302 AM_RECURSIVE_TARGETS = $(am__recursive_targets:-recursive=) TAGS CTAGS \
264 cscope distdir dist dist-all distcheck
303 cscope distdir distdir-am dist dist-all distcheck
265304 am__tagged_files = $(HEADERS) $(SOURCES) $(TAGS_FILES) \
266305 $(LISP)config.h.in
267306 # Read a list of newline-separated strings from the standard input,
610649 echo ' $(SHELL) ./config.status'; \
611650 $(SHELL) ./config.status;; \
612651 *) \
613 echo ' cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__depfiles_maybe)'; \
614 cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__depfiles_maybe);; \
652 echo ' cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__maybe_remake_depfiles)'; \
653 cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__maybe_remake_depfiles);; \
615654 esac;
616655
617656 $(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
693732 distclean-compile:
694733 -rm -f *.tab.c
695734
696 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libhdrl_la-hdrl_DER_SNR.Plo@am__quote@
697 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libhdrl_la-hdrl_bpm_2d.Plo@am__quote@
698 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libhdrl_la-hdrl_bpm_3d.Plo@am__quote@
699 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libhdrl_la-hdrl_bpm_fit.Plo@am__quote@
700 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libhdrl_la-hdrl_bpm_utils.Plo@am__quote@
701 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libhdrl_la-hdrl_buffer.Plo@am__quote@
702 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libhdrl_la-hdrl_catalogue.Plo@am__quote@
703 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libhdrl_la-hdrl_collapse.Plo@am__quote@
704 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libhdrl_la-hdrl_combine.Plo@am__quote@
705 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libhdrl_la-hdrl_correlation.Plo@am__quote@
706 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libhdrl_la-hdrl_dar.Plo@am__quote@
707 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libhdrl_la-hdrl_efficiency.Plo@am__quote@
708 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libhdrl_la-hdrl_elemop.Plo@am__quote@
709 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libhdrl_la-hdrl_fit.Plo@am__quote@
710 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libhdrl_la-hdrl_flat.Plo@am__quote@
711 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libhdrl_la-hdrl_fpn.Plo@am__quote@
712 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libhdrl_la-hdrl_frameiter.Plo@am__quote@
713 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libhdrl_la-hdrl_fringe.Plo@am__quote@
714 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libhdrl_la-hdrl_image.Plo@am__quote@
715 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libhdrl_la-hdrl_image_math.Plo@am__quote@
716 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libhdrl_la-hdrl_imagelist_basic.Plo@am__quote@
717 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libhdrl_la-hdrl_imagelist_io.Plo@am__quote@
718 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libhdrl_la-hdrl_imagelist_view.Plo@am__quote@
719 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libhdrl_la-hdrl_iter.Plo@am__quote@
720 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libhdrl_la-hdrl_lacosmics.Plo@am__quote@
721 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libhdrl_la-hdrl_multiiter.Plo@am__quote@
722 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libhdrl_la-hdrl_overscan.Plo@am__quote@
723 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libhdrl_la-hdrl_parameter.Plo@am__quote@
724 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libhdrl_la-hdrl_prototyping.Plo@am__quote@
725 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libhdrl_la-hdrl_random.Plo@am__quote@
726 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libhdrl_la-hdrl_response.Plo@am__quote@
727 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libhdrl_la-hdrl_sigclip.Plo@am__quote@
728 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libhdrl_la-hdrl_spectrum.Plo@am__quote@
729 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libhdrl_la-hdrl_spectrum_resample.Plo@am__quote@
730 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libhdrl_la-hdrl_spectrum_shift.Plo@am__quote@
731 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libhdrl_la-hdrl_spectrumlist.Plo@am__quote@
732 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libhdrl_la-hdrl_strehl.Plo@am__quote@
733 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libhdrl_la-hdrl_utils.Plo@am__quote@
734 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libhdrl_la-igam.Plo@am__quote@
735 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libhdrl_la-hdrl_DER_SNR.Plo@am__quote@ # am--include-marker
736 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libhdrl_la-hdrl_bpm_2d.Plo@am__quote@ # am--include-marker
737 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libhdrl_la-hdrl_bpm_3d.Plo@am__quote@ # am--include-marker
738 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libhdrl_la-hdrl_bpm_fit.Plo@am__quote@ # am--include-marker
739 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libhdrl_la-hdrl_bpm_utils.Plo@am__quote@ # am--include-marker
740 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libhdrl_la-hdrl_buffer.Plo@am__quote@ # am--include-marker
741 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libhdrl_la-hdrl_catalogue.Plo@am__quote@ # am--include-marker
742 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libhdrl_la-hdrl_collapse.Plo@am__quote@ # am--include-marker
743 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libhdrl_la-hdrl_combine.Plo@am__quote@ # am--include-marker
744 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libhdrl_la-hdrl_correlation.Plo@am__quote@ # am--include-marker
745 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libhdrl_la-hdrl_dar.Plo@am__quote@ # am--include-marker
746 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libhdrl_la-hdrl_efficiency.Plo@am__quote@ # am--include-marker
747 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libhdrl_la-hdrl_elemop.Plo@am__quote@ # am--include-marker
748 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libhdrl_la-hdrl_fit.Plo@am__quote@ # am--include-marker
749 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libhdrl_la-hdrl_flat.Plo@am__quote@ # am--include-marker
750 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libhdrl_la-hdrl_fpn.Plo@am__quote@ # am--include-marker
751 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libhdrl_la-hdrl_frameiter.Plo@am__quote@ # am--include-marker
752 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libhdrl_la-hdrl_fringe.Plo@am__quote@ # am--include-marker
753 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libhdrl_la-hdrl_image.Plo@am__quote@ # am--include-marker
754 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libhdrl_la-hdrl_image_math.Plo@am__quote@ # am--include-marker
755 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libhdrl_la-hdrl_imagelist_basic.Plo@am__quote@ # am--include-marker
756 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libhdrl_la-hdrl_imagelist_io.Plo@am__quote@ # am--include-marker
757 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libhdrl_la-hdrl_imagelist_view.Plo@am__quote@ # am--include-marker
758 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libhdrl_la-hdrl_iter.Plo@am__quote@ # am--include-marker
759 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libhdrl_la-hdrl_lacosmics.Plo@am__quote@ # am--include-marker
760 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libhdrl_la-hdrl_multiiter.Plo@am__quote@ # am--include-marker
761 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libhdrl_la-hdrl_overscan.Plo@am__quote@ # am--include-marker
762 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libhdrl_la-hdrl_parameter.Plo@am__quote@ # am--include-marker
763 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libhdrl_la-hdrl_prototyping.Plo@am__quote@ # am--include-marker
764 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libhdrl_la-hdrl_random.Plo@am__quote@ # am--include-marker
765 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libhdrl_la-hdrl_response.Plo@am__quote@ # am--include-marker
766 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libhdrl_la-hdrl_sigclip.Plo@am__quote@ # am--include-marker
767 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libhdrl_la-hdrl_spectrum.Plo@am__quote@ # am--include-marker
768 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libhdrl_la-hdrl_spectrum_resample.Plo@am__quote@ # am--include-marker
769 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libhdrl_la-hdrl_spectrum_shift.Plo@am__quote@ # am--include-marker
770 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libhdrl_la-hdrl_spectrumlist.Plo@am__quote@ # am--include-marker
771 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libhdrl_la-hdrl_strehl.Plo@am__quote@ # am--include-marker
772 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libhdrl_la-hdrl_utils.Plo@am__quote@ # am--include-marker
773 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libhdrl_la-igam.Plo@am__quote@ # am--include-marker
774
775 $(am__depfiles_remade):
776 @$(MKDIR_P) $(@D)
777 @echo '# dummy' >$@-t && $(am__mv) $@-t $@
778
779 am--depfiles: $(am__depfiles_remade)
735780
736781 .c.o:
737782 @am__fastdepCC_TRUE@ $(AM_V_CC)$(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $<
11631208 -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
11641209 -rm -f cscope.out cscope.in.out cscope.po.out cscope.files
11651210
1166 distdir: $(DISTFILES)
1211 distdir: $(BUILT_SOURCES)
1212 $(MAKE) $(AM_MAKEFLAGS) distdir-am
1213
1214 distdir-am: $(DISTFILES)
11671215 $(am__remove_distdir)
11681216 test -d "$(distdir)" || mkdir "$(distdir)"
11691217 @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
12281276 ! -type d ! -perm -444 -exec $(install_sh) -c -m a+r {} {} \; \
12291277 || chmod -R a+r "$(distdir)"
12301278 dist-gzip: distdir
1231 tardir=$(distdir) && $(am__tar) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).tar.gz
1279 tardir=$(distdir) && $(am__tar) | eval GZIP= gzip $(GZIP_ENV) -c >$(distdir).tar.gz
12321280 $(am__post_remove_distdir)
12331281
12341282 dist-bzip2: distdir
12541302 @echo WARNING: "Support for shar distribution archives is" \
12551303 "deprecated." >&2
12561304 @echo WARNING: "It will be removed altogether in Automake 2.0" >&2
1257 shar $(distdir) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).shar.gz
1305 shar $(distdir) | eval GZIP= gzip $(GZIP_ENV) -c >$(distdir).shar.gz
12581306 $(am__post_remove_distdir)
12591307
12601308 dist-zip: distdir
12721320 distcheck: dist
12731321 case '$(DIST_ARCHIVES)' in \
12741322 *.tar.gz*) \
1275 GZIP=$(GZIP_ENV) gzip -dc $(distdir).tar.gz | $(am__untar) ;;\
1323 eval GZIP= gzip $(GZIP_ENV) -dc $(distdir).tar.gz | $(am__untar) ;;\
12761324 *.tar.bz2*) \
12771325 bzip2 -dc $(distdir).tar.bz2 | $(am__untar) ;;\
12781326 *.tar.lz*) \
12821330 *.tar.Z*) \
12831331 uncompress -c $(distdir).tar.Z | $(am__untar) ;;\
12841332 *.shar.gz*) \
1285 GZIP=$(GZIP_ENV) gzip -dc $(distdir).shar.gz | unshar ;;\
1333 eval GZIP= gzip $(GZIP_ENV) -dc $(distdir).shar.gz | unshar ;;\
12861334 *.zip*) \
12871335 unzip $(distdir).zip ;;\
12881336 esac
13981446
13991447 distclean: distclean-recursive
14001448 -rm -f $(am__CONFIG_DISTCLEAN_FILES)
1401 -rm -rf ./$(DEPDIR)
1449 -rm -f ./$(DEPDIR)/libhdrl_la-hdrl_DER_SNR.Plo
1450 -rm -f ./$(DEPDIR)/libhdrl_la-hdrl_bpm_2d.Plo
1451 -rm -f ./$(DEPDIR)/libhdrl_la-hdrl_bpm_3d.Plo
1452 -rm -f ./$(DEPDIR)/libhdrl_la-hdrl_bpm_fit.Plo
1453 -rm -f ./$(DEPDIR)/libhdrl_la-hdrl_bpm_utils.Plo
1454 -rm -f ./$(DEPDIR)/libhdrl_la-hdrl_buffer.Plo
1455 -rm -f ./$(DEPDIR)/libhdrl_la-hdrl_catalogue.Plo
1456 -rm -f ./$(DEPDIR)/libhdrl_la-hdrl_collapse.Plo
1457 -rm -f ./$(DEPDIR)/libhdrl_la-hdrl_combine.Plo
1458 -rm -f ./$(DEPDIR)/libhdrl_la-hdrl_correlation.Plo
1459 -rm -f ./$(DEPDIR)/libhdrl_la-hdrl_dar.Plo
1460 -rm -f ./$(DEPDIR)/libhdrl_la-hdrl_efficiency.Plo
1461 -rm -f ./$(DEPDIR)/libhdrl_la-hdrl_elemop.Plo
1462 -rm -f ./$(DEPDIR)/libhdrl_la-hdrl_fit.Plo
1463 -rm -f ./$(DEPDIR)/libhdrl_la-hdrl_flat.Plo
1464 -rm -f ./$(DEPDIR)/libhdrl_la-hdrl_fpn.Plo
1465 -rm -f ./$(DEPDIR)/libhdrl_la-hdrl_frameiter.Plo
1466 -rm -f ./$(DEPDIR)/libhdrl_la-hdrl_fringe.Plo
1467 -rm -f ./$(DEPDIR)/libhdrl_la-hdrl_image.Plo
1468 -rm -f ./$(DEPDIR)/libhdrl_la-hdrl_image_math.Plo
1469 -rm -f ./$(DEPDIR)/libhdrl_la-hdrl_imagelist_basic.Plo
1470 -rm -f ./$(DEPDIR)/libhdrl_la-hdrl_imagelist_io.Plo
1471 -rm -f ./$(DEPDIR)/libhdrl_la-hdrl_imagelist_view.Plo
1472 -rm -f ./$(DEPDIR)/libhdrl_la-hdrl_iter.Plo
1473 -rm -f ./$(DEPDIR)/libhdrl_la-hdrl_lacosmics.Plo
1474 -rm -f ./$(DEPDIR)/libhdrl_la-hdrl_multiiter.Plo
1475 -rm -f ./$(DEPDIR)/libhdrl_la-hdrl_overscan.Plo
1476 -rm -f ./$(DEPDIR)/libhdrl_la-hdrl_parameter.Plo
1477 -rm -f ./$(DEPDIR)/libhdrl_la-hdrl_prototyping.Plo
1478 -rm -f ./$(DEPDIR)/libhdrl_la-hdrl_random.Plo
1479 -rm -f ./$(DEPDIR)/libhdrl_la-hdrl_response.Plo
1480 -rm -f ./$(DEPDIR)/libhdrl_la-hdrl_sigclip.Plo
1481 -rm -f ./$(DEPDIR)/libhdrl_la-hdrl_spectrum.Plo
1482 -rm -f ./$(DEPDIR)/libhdrl_la-hdrl_spectrum_resample.Plo
1483 -rm -f ./$(DEPDIR)/libhdrl_la-hdrl_spectrum_shift.Plo
1484 -rm -f ./$(DEPDIR)/libhdrl_la-hdrl_spectrumlist.Plo
1485 -rm -f ./$(DEPDIR)/libhdrl_la-hdrl_strehl.Plo
1486 -rm -f ./$(DEPDIR)/libhdrl_la-hdrl_utils.Plo
1487 -rm -f ./$(DEPDIR)/libhdrl_la-igam.Plo
14021488 -rm -f Makefile
14031489 distclean-am: clean-am distclean-compile distclean-generic \
14041490 distclean-hdr distclean-libtool distclean-tags
14461532 maintainer-clean: maintainer-clean-recursive
14471533 -rm -f $(am__CONFIG_DISTCLEAN_FILES)
14481534 -rm -rf $(top_srcdir)/autom4te.cache
1449 -rm -rf ./$(DEPDIR)
1535 -rm -f ./$(DEPDIR)/libhdrl_la-hdrl_DER_SNR.Plo
1536 -rm -f ./$(DEPDIR)/libhdrl_la-hdrl_bpm_2d.Plo
1537 -rm -f ./$(DEPDIR)/libhdrl_la-hdrl_bpm_3d.Plo
1538 -rm -f ./$(DEPDIR)/libhdrl_la-hdrl_bpm_fit.Plo
1539 -rm -f ./$(DEPDIR)/libhdrl_la-hdrl_bpm_utils.Plo
1540 -rm -f ./$(DEPDIR)/libhdrl_la-hdrl_buffer.Plo
1541 -rm -f ./$(DEPDIR)/libhdrl_la-hdrl_catalogue.Plo
1542 -rm -f ./$(DEPDIR)/libhdrl_la-hdrl_collapse.Plo
1543 -rm -f ./$(DEPDIR)/libhdrl_la-hdrl_combine.Plo
1544 -rm -f ./$(DEPDIR)/libhdrl_la-hdrl_correlation.Plo
1545 -rm -f ./$(DEPDIR)/libhdrl_la-hdrl_dar.Plo
1546 -rm -f ./$(DEPDIR)/libhdrl_la-hdrl_efficiency.Plo
1547 -rm -f ./$(DEPDIR)/libhdrl_la-hdrl_elemop.Plo
1548 -rm -f ./$(DEPDIR)/libhdrl_la-hdrl_fit.Plo
1549 -rm -f ./$(DEPDIR)/libhdrl_la-hdrl_flat.Plo
1550 -rm -f ./$(DEPDIR)/libhdrl_la-hdrl_fpn.Plo
1551 -rm -f ./$(DEPDIR)/libhdrl_la-hdrl_frameiter.Plo
1552 -rm -f ./$(DEPDIR)/libhdrl_la-hdrl_fringe.Plo
1553 -rm -f ./$(DEPDIR)/libhdrl_la-hdrl_image.Plo
1554 -rm -f ./$(DEPDIR)/libhdrl_la-hdrl_image_math.Plo
1555 -rm -f ./$(DEPDIR)/libhdrl_la-hdrl_imagelist_basic.Plo
1556 -rm -f ./$(DEPDIR)/libhdrl_la-hdrl_imagelist_io.Plo
1557 -rm -f ./$(DEPDIR)/libhdrl_la-hdrl_imagelist_view.Plo
1558 -rm -f ./$(DEPDIR)/libhdrl_la-hdrl_iter.Plo
1559 -rm -f ./$(DEPDIR)/libhdrl_la-hdrl_lacosmics.Plo
1560 -rm -f ./$(DEPDIR)/libhdrl_la-hdrl_multiiter.Plo
1561 -rm -f ./$(DEPDIR)/libhdrl_la-hdrl_overscan.Plo
1562 -rm -f ./$(DEPDIR)/libhdrl_la-hdrl_parameter.Plo
1563 -rm -f ./$(DEPDIR)/libhdrl_la-hdrl_prototyping.Plo
1564 -rm -f ./$(DEPDIR)/libhdrl_la-hdrl_random.Plo
1565 -rm -f ./$(DEPDIR)/libhdrl_la-hdrl_response.Plo
1566 -rm -f ./$(DEPDIR)/libhdrl_la-hdrl_sigclip.Plo
1567 -rm -f ./$(DEPDIR)/libhdrl_la-hdrl_spectrum.Plo
1568 -rm -f ./$(DEPDIR)/libhdrl_la-hdrl_spectrum_resample.Plo
1569 -rm -f ./$(DEPDIR)/libhdrl_la-hdrl_spectrum_shift.Plo
1570 -rm -f ./$(DEPDIR)/libhdrl_la-hdrl_spectrumlist.Plo
1571 -rm -f ./$(DEPDIR)/libhdrl_la-hdrl_strehl.Plo
1572 -rm -f ./$(DEPDIR)/libhdrl_la-hdrl_utils.Plo
1573 -rm -f ./$(DEPDIR)/libhdrl_la-igam.Plo
14501574 -rm -f Makefile
14511575 maintainer-clean-am: distclean-am maintainer-clean-generic
14521576
14681592 .MAKE: $(am__recursive_targets) all install-am install-strip
14691593
14701594 .PHONY: $(am__recursive_targets) CTAGS GTAGS TAGS all all-am \
1471 am--refresh check check-am clean clean-cscope clean-generic \
1472 clean-libLTLIBRARIES clean-libtool clean-noinstLTLIBRARIES \
1473 cscope cscopelist-am ctags ctags-am dist dist-all dist-bzip2 \
1474 dist-gzip dist-lzip dist-shar dist-tarZ dist-xz dist-zip \
1475 distcheck distclean distclean-compile distclean-generic \
1476 distclean-hdr distclean-libtool distclean-tags distcleancheck \
1477 distdir distuninstallcheck dvi dvi-am html html-am info \
1478 info-am install install-am install-data install-data-am \
1479 install-dvi install-dvi-am install-exec install-exec-am \
1480 install-html install-html-am install-info install-info-am \
1595 am--depfiles am--refresh check check-am clean clean-cscope \
1596 clean-generic clean-libLTLIBRARIES clean-libtool \
1597 clean-noinstLTLIBRARIES cscope cscopelist-am ctags ctags-am \
1598 dist dist-all dist-bzip2 dist-gzip dist-lzip dist-shar \
1599 dist-tarZ dist-xz dist-zip distcheck distclean \
1600 distclean-compile distclean-generic distclean-hdr \
1601 distclean-libtool distclean-tags distcleancheck distdir \
1602 distuninstallcheck dvi dvi-am html html-am info info-am \
1603 install install-am install-data install-data-am install-dvi \
1604 install-dvi-am install-exec install-exec-am install-html \
1605 install-html-am install-info install-info-am \
14811606 install-libLTLIBRARIES install-man install-pdf install-pdf-am \
14821607 install-pkgincludeHEADERS install-ps install-ps-am \
14831608 install-strip installcheck installcheck-am installdirs \
0 # generated automatically by aclocal 1.15 -*- Autoconf -*-
1
2 # Copyright (C) 1996-2014 Free Software Foundation, Inc.
0 # generated automatically by aclocal 1.16.1 -*- Autoconf -*-
1
2 # Copyright (C) 1996-2018 Free Software Foundation, Inc.
33
44 # This file is free software; the Free Software Foundation
55 # gives unlimited permission to copy and/or distribute it,
1919 If you have problems, you may need to regenerate the build system entirely.
2020 To do so, use the procedure documented by the package, typically 'autoreconf'.])])
2121
22 # Copyright (C) 2002-2014 Free Software Foundation, Inc.
22 # Copyright (C) 2002-2018 Free Software Foundation, Inc.
2323 #
2424 # This file is free software; the Free Software Foundation
2525 # gives unlimited permission to copy and/or distribute it,
3131 # generated from the m4 files accompanying Automake X.Y.
3232 # (This private macro should not be called outside this file.)
3333 AC_DEFUN([AM_AUTOMAKE_VERSION],
34 [am__api_version='1.15'
34 [am__api_version='1.16'
3535 dnl Some users find AM_AUTOMAKE_VERSION and mistake it for a way to
3636 dnl require some minimum version. Point them to the right macro.
37 m4_if([$1], [1.15], [],
37 m4_if([$1], [1.16.1], [],
3838 [AC_FATAL([Do not call $0, use AM_INIT_AUTOMAKE([$1]).])])dnl
3939 ])
4040
5050 # Call AM_AUTOMAKE_VERSION and AM_AUTOMAKE_VERSION so they can be traced.
5151 # This function is AC_REQUIREd by AM_INIT_AUTOMAKE.
5252 AC_DEFUN([AM_SET_CURRENT_AUTOMAKE_VERSION],
53 [AM_AUTOMAKE_VERSION([1.15])dnl
53 [AM_AUTOMAKE_VERSION([1.16.1])dnl
5454 m4_ifndef([AC_AUTOCONF_VERSION],
5555 [m4_copy([m4_PACKAGE_VERSION], [AC_AUTOCONF_VERSION])])dnl
5656 _AM_AUTOCONF_VERSION(m4_defn([AC_AUTOCONF_VERSION]))])
5757
5858 # AM_AUX_DIR_EXPAND -*- Autoconf -*-
5959
60 # Copyright (C) 2001-2014 Free Software Foundation, Inc.
60 # Copyright (C) 2001-2018 Free Software Foundation, Inc.
6161 #
6262 # This file is free software; the Free Software Foundation
6363 # gives unlimited permission to copy and/or distribute it,
109109
110110 # AM_CONDITIONAL -*- Autoconf -*-
111111
112 # Copyright (C) 1997-2014 Free Software Foundation, Inc.
112 # Copyright (C) 1997-2018 Free Software Foundation, Inc.
113113 #
114114 # This file is free software; the Free Software Foundation
115115 # gives unlimited permission to copy and/or distribute it,
140140 Usually this means the macro was only invoked conditionally.]])
141141 fi])])
142142
143 # Copyright (C) 1999-2014 Free Software Foundation, Inc.
143 # Copyright (C) 1999-2018 Free Software Foundation, Inc.
144144 #
145145 # This file is free software; the Free Software Foundation
146146 # gives unlimited permission to copy and/or distribute it,
331331
332332 # Generate code to set up dependency tracking. -*- Autoconf -*-
333333
334 # Copyright (C) 1999-2014 Free Software Foundation, Inc.
335 #
336 # This file is free software; the Free Software Foundation
337 # gives unlimited permission to copy and/or distribute it,
338 # with or without modifications, as long as this notice is preserved.
339
334 # Copyright (C) 1999-2018 Free Software Foundation, Inc.
335 #
336 # This file is free software; the Free Software Foundation
337 # gives unlimited permission to copy and/or distribute it,
338 # with or without modifications, as long as this notice is preserved.
340339
341340 # _AM_OUTPUT_DEPENDENCY_COMMANDS
342341 # ------------------------------
345344 # Older Autoconf quotes --file arguments for eval, but not when files
346345 # are listed without --file. Let's play safe and only enable the eval
347346 # if we detect the quoting.
348 case $CONFIG_FILES in
349 *\'*) eval set x "$CONFIG_FILES" ;;
350 *) set x $CONFIG_FILES ;;
351 esac
347 # TODO: see whether this extra hack can be removed once we start
348 # requiring Autoconf 2.70 or later.
349 AS_CASE([$CONFIG_FILES],
350 [*\'*], [eval set x "$CONFIG_FILES"],
351 [*], [set x $CONFIG_FILES])
352352 shift
353 for mf
353 # Used to flag and report bootstrapping failures.
354 am_rc=0
355 for am_mf
354356 do
355357 # Strip MF so we end up with the name of the file.
356 mf=`echo "$mf" | sed -e 's/:.*$//'`
357 # Check whether this is an Automake generated Makefile or not.
358 # We used to match only the files named 'Makefile.in', but
359 # some people rename them; so instead we look at the file content.
360 # Grep'ing the first line is not enough: some people post-process
361 # each Makefile.in and add a new line on top of each file to say so.
362 # Grep'ing the whole file is not good either: AIX grep has a line
358 am_mf=`AS_ECHO(["$am_mf"]) | sed -e 's/:.*$//'`
359 # Check whether this is an Automake generated Makefile which includes
360 # dependency-tracking related rules and includes.
361 # Grep'ing the whole file directly is not great: AIX grep has a line
363362 # limit of 2048, but all sed's we know have understand at least 4000.
364 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
365 dirpart=`AS_DIRNAME("$mf")`
366 else
367 continue
368 fi
369 # Extract the definition of DEPDIR, am__include, and am__quote
370 # from the Makefile without running 'make'.
371 DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
372 test -z "$DEPDIR" && continue
373 am__include=`sed -n 's/^am__include = //p' < "$mf"`
374 test -z "$am__include" && continue
375 am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
376 # Find all dependency output files, they are included files with
377 # $(DEPDIR) in their names. We invoke sed twice because it is the
378 # simplest approach to changing $(DEPDIR) to its actual value in the
379 # expansion.
380 for file in `sed -n "
381 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
382 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g'`; do
383 # Make sure the directory exists.
384 test -f "$dirpart/$file" && continue
385 fdir=`AS_DIRNAME(["$file"])`
386 AS_MKDIR_P([$dirpart/$fdir])
387 # echo "creating $dirpart/$file"
388 echo '# dummy' > "$dirpart/$file"
389 done
363 sed -n 's,^am--depfiles:.*,X,p' "$am_mf" | grep X >/dev/null 2>&1 \
364 || continue
365 am_dirpart=`AS_DIRNAME(["$am_mf"])`
366 am_filepart=`AS_BASENAME(["$am_mf"])`
367 AM_RUN_LOG([cd "$am_dirpart" \
368 && sed -e '/# am--include-marker/d' "$am_filepart" \
369 | $MAKE -f - am--depfiles]) || am_rc=$?
390370 done
371 if test $am_rc -ne 0; then
372 AC_MSG_FAILURE([Something went wrong bootstrapping makefile fragments
373 for automatic dependency tracking. Try re-running configure with the
374 '--disable-dependency-tracking' option to at least be able to build
375 the package (albeit without support for automatic dependency tracking).])
376 fi
377 AS_UNSET([am_dirpart])
378 AS_UNSET([am_filepart])
379 AS_UNSET([am_mf])
380 AS_UNSET([am_rc])
381 rm -f conftest-deps.mk
391382 }
392383 ])# _AM_OUTPUT_DEPENDENCY_COMMANDS
393384
396387 # -----------------------------
397388 # This macro should only be invoked once -- use via AC_REQUIRE.
398389 #
399 # This code is only required when automatic dependency tracking
400 # is enabled. FIXME. This creates each '.P' file that we will
401 # need in order to bootstrap the dependency handling code.
390 # This code is only required when automatic dependency tracking is enabled.
391 # This creates each '.Po' and '.Plo' makefile fragment that we'll need in
392 # order to bootstrap the dependency handling code.
402393 AC_DEFUN([AM_OUTPUT_DEPENDENCY_COMMANDS],
403394 [AC_CONFIG_COMMANDS([depfiles],
404395 [test x"$AMDEP_TRUE" != x"" || _AM_OUTPUT_DEPENDENCY_COMMANDS],
405 [AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"])
406 ])
407
408
409 # Copyright (C) 1996-2014 Free Software Foundation, Inc.
396 [AMDEP_TRUE="$AMDEP_TRUE" MAKE="${MAKE-make}"])])
397
398
399 # Copyright (C) 1996-2018 Free Software Foundation, Inc.
410400 #
411401 # This file is free software; the Free Software Foundation
412402 # gives unlimited permission to copy and/or distribute it,
430420
431421 # Do all the work for Automake. -*- Autoconf -*-
432422
433 # Copyright (C) 1996-2014 Free Software Foundation, Inc.
423 # Copyright (C) 1996-2018 Free Software Foundation, Inc.
434424 #
435425 # This file is free software; the Free Software Foundation
436426 # gives unlimited permission to copy and/or distribute it,
517507 AC_REQUIRE([AC_PROG_MKDIR_P])dnl
518508 # For better backward compatibility. To be removed once Automake 1.9.x
519509 # dies out for good. For more background, see:
520 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
521 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
510 # <https://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
511 # <https://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
522512 AC_SUBST([mkdir_p], ['$(MKDIR_P)'])
523513 # We need awk for the "check" target (and possibly the TAP driver). The
524514 # system "awk" is bad on some platforms.
585575 Aborting the configuration process, to ensure you take notice of the issue.
586576
587577 You can download and install GNU coreutils to get an 'rm' implementation
588 that behaves properly: <http://www.gnu.org/software/coreutils/>.
578 that behaves properly: <https://www.gnu.org/software/coreutils/>.
589579
590580 If you want to complete the configuration process using your problematic
591581 'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM
627617 done
628618 echo "timestamp for $_am_arg" >`AS_DIRNAME(["$_am_arg"])`/stamp-h[]$_am_stamp_count])
629619
630 # Copyright (C) 2001-2014 Free Software Foundation, Inc.
620 # Copyright (C) 2001-2018 Free Software Foundation, Inc.
631621 #
632622 # This file is free software; the Free Software Foundation
633623 # gives unlimited permission to copy and/or distribute it,
648638 fi
649639 AC_SUBST([install_sh])])
650640
651 # Copyright (C) 2003-2014 Free Software Foundation, Inc.
641 # Copyright (C) 2003-2018 Free Software Foundation, Inc.
652642 #
653643 # This file is free software; the Free Software Foundation
654644 # gives unlimited permission to copy and/or distribute it,
670660 # Add --enable-maintainer-mode option to configure. -*- Autoconf -*-
671661 # From Jim Meyering
672662
673 # Copyright (C) 1996-2014 Free Software Foundation, Inc.
663 # Copyright (C) 1996-2018 Free Software Foundation, Inc.
674664 #
675665 # This file is free software; the Free Software Foundation
676666 # gives unlimited permission to copy and/or distribute it,
705695
706696 # Check to see how 'make' treats includes. -*- Autoconf -*-
707697
708 # Copyright (C) 2001-2014 Free Software Foundation, Inc.
698 # Copyright (C) 2001-2018 Free Software Foundation, Inc.
709699 #
710700 # This file is free software; the Free Software Foundation
711701 # gives unlimited permission to copy and/or distribute it,
713703
714704 # AM_MAKE_INCLUDE()
715705 # -----------------
716 # Check to see how make treats includes.
706 # Check whether make has an 'include' directive that can support all
707 # the idioms we need for our automatic dependency tracking code.
717708 AC_DEFUN([AM_MAKE_INCLUDE],
718 [am_make=${MAKE-make}
719 cat > confinc << 'END'
709 [AC_MSG_CHECKING([whether ${MAKE-make} supports the include directive])
710 cat > confinc.mk << 'END'
720711 am__doit:
721 @echo this is the am__doit target
712 @echo this is the am__doit target >confinc.out
722713 .PHONY: am__doit
723714 END
724 # If we don't find an include directive, just comment out the code.
725 AC_MSG_CHECKING([for style of include used by $am_make])
726715 am__include="#"
727716 am__quote=
728 _am_result=none
729 # First try GNU make style include.
730 echo "include confinc" > confmf
731 # Ignore all kinds of additional output from 'make'.
732 case `$am_make -s -f confmf 2> /dev/null` in #(
733 *the\ am__doit\ target*)
734 am__include=include
735 am__quote=
736 _am_result=GNU
737 ;;
738 esac
739 # Now try BSD make style include.
740 if test "$am__include" = "#"; then
741 echo '.include "confinc"' > confmf
742 case `$am_make -s -f confmf 2> /dev/null` in #(
743 *the\ am__doit\ target*)
744 am__include=.include
745 am__quote="\""
746 _am_result=BSD
747 ;;
748 esac
749 fi
750 AC_SUBST([am__include])
751 AC_SUBST([am__quote])
752 AC_MSG_RESULT([$_am_result])
753 rm -f confinc confmf
754 ])
717 # BSD make does it like this.
718 echo '.include "confinc.mk" # ignored' > confmf.BSD
719 # Other make implementations (GNU, Solaris 10, AIX) do it like this.
720 echo 'include confinc.mk # ignored' > confmf.GNU
721 _am_result=no
722 for s in GNU BSD; do
723 AM_RUN_LOG([${MAKE-make} -f confmf.$s && cat confinc.out])
724 AS_CASE([$?:`cat confinc.out 2>/dev/null`],
725 ['0:this is the am__doit target'],
726 [AS_CASE([$s],
727 [BSD], [am__include='.include' am__quote='"'],
728 [am__include='include' am__quote=''])])
729 if test "$am__include" != "#"; then
730 _am_result="yes ($s style)"
731 break
732 fi
733 done
734 rm -f confinc.* confmf.*
735 AC_MSG_RESULT([${_am_result}])
736 AC_SUBST([am__include])])
737 AC_SUBST([am__quote])])
755738
756739 # Fake the existence of programs that GNU maintainers use. -*- Autoconf -*-
757740
758 # Copyright (C) 1997-2014 Free Software Foundation, Inc.
741 # Copyright (C) 1997-2018 Free Software Foundation, Inc.
759742 #
760743 # This file is free software; the Free Software Foundation
761744 # gives unlimited permission to copy and/or distribute it,
794777
795778 # Helper functions for option handling. -*- Autoconf -*-
796779
797 # Copyright (C) 2001-2014 Free Software Foundation, Inc.
780 # Copyright (C) 2001-2018 Free Software Foundation, Inc.
798781 #
799782 # This file is free software; the Free Software Foundation
800783 # gives unlimited permission to copy and/or distribute it,
823806 AC_DEFUN([_AM_IF_OPTION],
824807 [m4_ifset(_AM_MANGLE_OPTION([$1]), [$2], [$3])])
825808
826 # Copyright (C) 1999-2014 Free Software Foundation, Inc.
809 # Copyright (C) 1999-2018 Free Software Foundation, Inc.
827810 #
828811 # This file is free software; the Free Software Foundation
829812 # gives unlimited permission to copy and/or distribute it,
870853 # For backward compatibility.
871854 AC_DEFUN_ONCE([AM_PROG_CC_C_O], [AC_REQUIRE([AC_PROG_CC])])
872855
873 # Copyright (C) 2001-2014 Free Software Foundation, Inc.
856 # Copyright (C) 2001-2018 Free Software Foundation, Inc.
874857 #
875858 # This file is free software; the Free Software Foundation
876859 # gives unlimited permission to copy and/or distribute it,
889872
890873 # Check to make sure that the build environment is sane. -*- Autoconf -*-
891874
892 # Copyright (C) 1996-2014 Free Software Foundation, Inc.
875 # Copyright (C) 1996-2018 Free Software Foundation, Inc.
893876 #
894877 # This file is free software; the Free Software Foundation
895878 # gives unlimited permission to copy and/or distribute it,
970953 rm -f conftest.file
971954 ])
972955
973 # Copyright (C) 2009-2014 Free Software Foundation, Inc.
956 # Copyright (C) 2009-2018 Free Software Foundation, Inc.
974957 #
975958 # This file is free software; the Free Software Foundation
976959 # gives unlimited permission to copy and/or distribute it,
10301013 _AM_SUBST_NOTMAKE([AM_BACKSLASH])dnl
10311014 ])
10321015
1033 # Copyright (C) 2001-2014 Free Software Foundation, Inc.
1016 # Copyright (C) 2001-2018 Free Software Foundation, Inc.
10341017 #
10351018 # This file is free software; the Free Software Foundation
10361019 # gives unlimited permission to copy and/or distribute it,
10581041 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
10591042 AC_SUBST([INSTALL_STRIP_PROGRAM])])
10601043
1061 # Copyright (C) 2006-2014 Free Software Foundation, Inc.
1044 # Copyright (C) 2006-2018 Free Software Foundation, Inc.
10621045 #
10631046 # This file is free software; the Free Software Foundation
10641047 # gives unlimited permission to copy and/or distribute it,
10771060
10781061 # Check how to create a tarball. -*- Autoconf -*-
10791062
1080 # Copyright (C) 2004-2014 Free Software Foundation, Inc.
1063 # Copyright (C) 2004-2018 Free Software Foundation, Inc.
10811064 #
10821065 # This file is free software; the Free Software Foundation
10831066 # gives unlimited permission to copy and/or distribute it,
00 #! /bin/sh
11 # Wrapper for compilers which do not understand '-c -o'.
22
3 scriptversion=2012-10-14.11; # UTC
4
5 # Copyright (C) 1999-2014 Free Software Foundation, Inc.
3 scriptversion=2018-03-07.03; # UTC
4
5 # Copyright (C) 1999-2018 Free Software Foundation, Inc.
66 # Written by Tom Tromey <tromey@cygnus.com>.
77 #
88 # This program is free software; you can redistribute it and/or modify
1616 # GNU General Public License for more details.
1717 #
1818 # You should have received a copy of the GNU General Public License
19 # along with this program. If not, see <http://www.gnu.org/licenses/>.
19 # along with this program. If not, see <https://www.gnu.org/licenses/>.
2020
2121 # As a special exception to the GNU General Public License, if you
2222 # distribute this file as part of a program that contains a
254254 echo "compile $scriptversion"
255255 exit $?
256256 ;;
257 cl | *[/\\]cl | cl.exe | *[/\\]cl.exe )
257 cl | *[/\\]cl | cl.exe | *[/\\]cl.exe | \
258 icl | *[/\\]icl | icl.exe | *[/\\]icl.exe )
258259 func_cl_wrapper "$@" # Doesn't return...
259260 ;;
260261 esac
338339 # Local Variables:
339340 # mode: shell-script
340341 # sh-indentation: 2
341 # eval: (add-hook 'write-file-hooks 'time-stamp)
342 # eval: (add-hook 'before-save-hook 'time-stamp)
342343 # time-stamp-start: "scriptversion="
343344 # time-stamp-format: "%:y-%02m-%02d.%02H"
344 # time-stamp-time-zone: "UTC"
345 # time-stamp-time-zone: "UTC0"
345346 # time-stamp-end: "; # UTC"
346347 # End:
00 #! /bin/sh
11 # Attempt to guess a canonical system name.
2 # Copyright 1992-2015 Free Software Foundation, Inc.
3
4 timestamp='2015-01-01'
2 # Copyright 1992-2018 Free Software Foundation, Inc.
3
4 timestamp='2018-03-08'
55
66 # This file is free software; you can redistribute it and/or modify it
77 # under the terms of the GNU General Public License as published by
1414 # General Public License for more details.
1515 #
1616 # You should have received a copy of the GNU General Public License
17 # along with this program; if not, see <http://www.gnu.org/licenses/>.
17 # along with this program; if not, see <https://www.gnu.org/licenses/>.
1818 #
1919 # As a special exception to the GNU General Public License, if you
2020 # distribute this file as part of a program that contains a
2626 # Originally written by Per Bothner; maintained since 2000 by Ben Elliston.
2727 #
2828 # You can get the latest version of this script from:
29 # http://git.savannah.gnu.org/gitweb/?p=config.git;a=blob_plain;f=config.guess;hb=HEAD
29 # https://git.savannah.gnu.org/gitweb/?p=config.git;a=blob_plain;f=config.guess
3030 #
3131 # Please send patches to <config-patches@gnu.org>.
3232
3838
3939 Output the configuration name of the system \`$me' is run on.
4040
41 Operation modes:
41 Options:
4242 -h, --help print this help, then exit
4343 -t, --time-stamp print date of last modification, then exit
4444 -v, --version print version number, then exit
4949 GNU config.guess ($timestamp)
5050
5151 Originally written by Per Bothner.
52 Copyright 1992-2015 Free Software Foundation, Inc.
52 Copyright 1992-2018 Free Software Foundation, Inc.
5353
5454 This is free software; see the source for copying conditions. There is NO
5555 warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE."
106106 dummy=$tmp/dummy ;
107107 tmpfiles="$dummy.c $dummy.o $dummy.rel $dummy" ;
108108 case $CC_FOR_BUILD,$HOST_CC,$CC in
109 ,,) echo "int x;" > $dummy.c ;
109 ,,) echo "int x;" > "$dummy.c" ;
110110 for c in cc gcc c89 c99 ; do
111 if ($c -c -o $dummy.o $dummy.c) >/dev/null 2>&1 ; then
111 if ($c -c -o "$dummy.o" "$dummy.c") >/dev/null 2>&1 ; then
112112 CC_FOR_BUILD="$c"; break ;
113113 fi ;
114114 done ;
131131 UNAME_SYSTEM=`(uname -s) 2>/dev/null` || UNAME_SYSTEM=unknown
132132 UNAME_VERSION=`(uname -v) 2>/dev/null` || UNAME_VERSION=unknown
133133
134 case "${UNAME_SYSTEM}" in
134 case "$UNAME_SYSTEM" in
135135 Linux|GNU|GNU/*)
136136 # If the system lacks a compiler, then just pick glibc.
137137 # We could probably try harder.
138138 LIBC=gnu
139139
140 eval $set_cc_for_build
141 cat <<-EOF > $dummy.c
140 eval "$set_cc_for_build"
141 cat <<-EOF > "$dummy.c"
142142 #include <features.h>
143143 #if defined(__UCLIBC__)
144144 LIBC=uclibc
148148 LIBC=gnu
149149 #endif
150150 EOF
151 eval `$CC_FOR_BUILD -E $dummy.c 2>/dev/null | grep '^LIBC' | sed 's, ,,g'`
151 eval "`$CC_FOR_BUILD -E "$dummy.c" 2>/dev/null | grep '^LIBC' | sed 's, ,,g'`"
152
153 # If ldd exists, use it to detect musl libc.
154 if command -v ldd >/dev/null && \
155 ldd --version 2>&1 | grep -q ^musl
156 then
157 LIBC=musl
158 fi
152159 ;;
153160 esac
154161
155162 # Note: order is significant - the case branches are not exclusive.
156163
157 case "${UNAME_MACHINE}:${UNAME_SYSTEM}:${UNAME_RELEASE}:${UNAME_VERSION}" in
164 case "$UNAME_MACHINE:$UNAME_SYSTEM:$UNAME_RELEASE:$UNAME_VERSION" in
158165 *:NetBSD:*:*)
159166 # NetBSD (nbsd) targets should (where applicable) match one or
160167 # more of the tuples: *-*-netbsdelf*, *-*-netbsdaout*,
167174 # Note: NetBSD doesn't particularly care about the vendor
168175 # portion of the name. We always set it to "unknown".
169176 sysctl="sysctl -n hw.machine_arch"
170 UNAME_MACHINE_ARCH=`(/sbin/$sysctl 2>/dev/null || \
171 /usr/sbin/$sysctl 2>/dev/null || echo unknown)`
172 case "${UNAME_MACHINE_ARCH}" in
177 UNAME_MACHINE_ARCH=`(uname -p 2>/dev/null || \
178 "/sbin/$sysctl" 2>/dev/null || \
179 "/usr/sbin/$sysctl" 2>/dev/null || \
180 echo unknown)`
181 case "$UNAME_MACHINE_ARCH" in
173182 armeb) machine=armeb-unknown ;;
174183 arm*) machine=arm-unknown ;;
175184 sh3el) machine=shl-unknown ;;
176185 sh3eb) machine=sh-unknown ;;
177186 sh5el) machine=sh5le-unknown ;;
178 *) machine=${UNAME_MACHINE_ARCH}-unknown ;;
187 earmv*)
188 arch=`echo "$UNAME_MACHINE_ARCH" | sed -e 's,^e\(armv[0-9]\).*$,\1,'`
189 endian=`echo "$UNAME_MACHINE_ARCH" | sed -ne 's,^.*\(eb\)$,\1,p'`
190 machine="${arch}${endian}"-unknown
191 ;;
192 *) machine="$UNAME_MACHINE_ARCH"-unknown ;;
179193 esac
180194 # The Operating System including object format, if it has switched
181 # to ELF recently, or will in the future.
182 case "${UNAME_MACHINE_ARCH}" in
195 # to ELF recently (or will in the future) and ABI.
196 case "$UNAME_MACHINE_ARCH" in
197 earm*)
198 os=netbsdelf
199 ;;
183200 arm*|i386|m68k|ns32k|sh3*|sparc|vax)
184 eval $set_cc_for_build
201 eval "$set_cc_for_build"
185202 if echo __ELF__ | $CC_FOR_BUILD -E - 2>/dev/null \
186203 | grep -q __ELF__
187204 then
196213 os=netbsd
197214 ;;
198215 esac
216 # Determine ABI tags.
217 case "$UNAME_MACHINE_ARCH" in
218 earm*)
219 expr='s/^earmv[0-9]/-eabi/;s/eb$//'
220 abi=`echo "$UNAME_MACHINE_ARCH" | sed -e "$expr"`
221 ;;
222 esac
199223 # The OS release
200224 # Debian GNU/NetBSD machines have a different userland, and
201225 # thus, need a distinct triplet. However, they do not need
202226 # kernel version information, so it can be replaced with a
203227 # suitable tag, in the style of linux-gnu.
204 case "${UNAME_VERSION}" in
228 case "$UNAME_VERSION" in
205229 Debian*)
206230 release='-gnu'
207231 ;;
208232 *)
209 release=`echo ${UNAME_RELEASE}|sed -e 's/[-_].*/\./'`
233 release=`echo "$UNAME_RELEASE" | sed -e 's/[-_].*//' | cut -d. -f1,2`
210234 ;;
211235 esac
212236 # Since CPU_TYPE-MANUFACTURER-KERNEL-OPERATING_SYSTEM:
213237 # contains redundant information, the shorter form:
214238 # CPU_TYPE-MANUFACTURER-OPERATING_SYSTEM is used.
215 echo "${machine}-${os}${release}"
239 echo "$machine-${os}${release}${abi}"
216240 exit ;;
217241 *:Bitrig:*:*)
218242 UNAME_MACHINE_ARCH=`arch | sed 's/Bitrig.//'`
219 echo ${UNAME_MACHINE_ARCH}-unknown-bitrig${UNAME_RELEASE}
243 echo "$UNAME_MACHINE_ARCH"-unknown-bitrig"$UNAME_RELEASE"
220244 exit ;;
221245 *:OpenBSD:*:*)
222246 UNAME_MACHINE_ARCH=`arch | sed 's/OpenBSD.//'`
223 echo ${UNAME_MACHINE_ARCH}-unknown-openbsd${UNAME_RELEASE}
247 echo "$UNAME_MACHINE_ARCH"-unknown-openbsd"$UNAME_RELEASE"
248 exit ;;
249 *:LibertyBSD:*:*)
250 UNAME_MACHINE_ARCH=`arch | sed 's/^.*BSD\.//'`
251 echo "$UNAME_MACHINE_ARCH"-unknown-libertybsd"$UNAME_RELEASE"
252 exit ;;
253 *:MidnightBSD:*:*)
254 echo "$UNAME_MACHINE"-unknown-midnightbsd"$UNAME_RELEASE"
224255 exit ;;
225256 *:ekkoBSD:*:*)
226 echo ${UNAME_MACHINE}-unknown-ekkobsd${UNAME_RELEASE}
257 echo "$UNAME_MACHINE"-unknown-ekkobsd"$UNAME_RELEASE"
227258 exit ;;
228259 *:SolidBSD:*:*)
229 echo ${UNAME_MACHINE}-unknown-solidbsd${UNAME_RELEASE}
260 echo "$UNAME_MACHINE"-unknown-solidbsd"$UNAME_RELEASE"
230261 exit ;;
231262 macppc:MirBSD:*:*)
232 echo powerpc-unknown-mirbsd${UNAME_RELEASE}
263 echo powerpc-unknown-mirbsd"$UNAME_RELEASE"
233264 exit ;;
234265 *:MirBSD:*:*)
235 echo ${UNAME_MACHINE}-unknown-mirbsd${UNAME_RELEASE}
236 exit ;;
266 echo "$UNAME_MACHINE"-unknown-mirbsd"$UNAME_RELEASE"
267 exit ;;
268 *:Sortix:*:*)
269 echo "$UNAME_MACHINE"-unknown-sortix
270 exit ;;
271 *:Redox:*:*)
272 echo "$UNAME_MACHINE"-unknown-redox
273 exit ;;
274 mips:OSF1:*.*)
275 echo mips-dec-osf1
276 exit ;;
237277 alpha:OSF1:*:*)
238278 case $UNAME_RELEASE in
239279 *4.0)
250290 ALPHA_CPU_TYPE=`/usr/sbin/psrinfo -v | sed -n -e 's/^ The alpha \(.*\) processor.*$/\1/p' | head -n 1`
251291 case "$ALPHA_CPU_TYPE" in
252292 "EV4 (21064)")
253 UNAME_MACHINE="alpha" ;;
293 UNAME_MACHINE=alpha ;;
254294 "EV4.5 (21064)")
255 UNAME_MACHINE="alpha" ;;
295 UNAME_MACHINE=alpha ;;
256296 "LCA4 (21066/21068)")
257 UNAME_MACHINE="alpha" ;;
297 UNAME_MACHINE=alpha ;;
258298 "EV5 (21164)")
259 UNAME_MACHINE="alphaev5" ;;
299 UNAME_MACHINE=alphaev5 ;;
260300 "EV5.6 (21164A)")
261 UNAME_MACHINE="alphaev56" ;;
301 UNAME_MACHINE=alphaev56 ;;
262302 "EV5.6 (21164PC)")
263 UNAME_MACHINE="alphapca56" ;;
303 UNAME_MACHINE=alphapca56 ;;
264304 "EV5.7 (21164PC)")
265 UNAME_MACHINE="alphapca57" ;;
305 UNAME_MACHINE=alphapca57 ;;
266306 "EV6 (21264)")
267 UNAME_MACHINE="alphaev6" ;;
307 UNAME_MACHINE=alphaev6 ;;
268308 "EV6.7 (21264A)")
269 UNAME_MACHINE="alphaev67" ;;
309 UNAME_MACHINE=alphaev67 ;;
270310 "EV6.8CB (21264C)")
271 UNAME_MACHINE="alphaev68" ;;
311 UNAME_MACHINE=alphaev68 ;;
272312 "EV6.8AL (21264B)")
273 UNAME_MACHINE="alphaev68" ;;
313 UNAME_MACHINE=alphaev68 ;;
274314 "EV6.8CX (21264D)")
275 UNAME_MACHINE="alphaev68" ;;
315 UNAME_MACHINE=alphaev68 ;;
276316 "EV6.9A (21264/EV69A)")
277 UNAME_MACHINE="alphaev69" ;;
317 UNAME_MACHINE=alphaev69 ;;
278318 "EV7 (21364)")
279 UNAME_MACHINE="alphaev7" ;;
319 UNAME_MACHINE=alphaev7 ;;
280320 "EV7.9 (21364A)")
281 UNAME_MACHINE="alphaev79" ;;
321 UNAME_MACHINE=alphaev79 ;;
282322 esac
283323 # A Pn.n version is a patched version.
284324 # A Vn.n version is a released version.
285325 # A Tn.n version is a released field test version.
286326 # A Xn.n version is an unreleased experimental baselevel.
287327 # 1.2 uses "1.2" for uname -r.
288 echo ${UNAME_MACHINE}-dec-osf`echo ${UNAME_RELEASE} | sed -e 's/^[PVTX]//' | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz'`
328 echo "$UNAME_MACHINE"-dec-osf"`echo "$UNAME_RELEASE" | sed -e 's/^[PVTX]//' | tr ABCDEFGHIJKLMNOPQRSTUVWXYZ abcdefghijklmnopqrstuvwxyz`"
289329 # Reset EXIT trap before exiting to avoid spurious non-zero exit code.
290330 exitcode=$?
291331 trap '' 0
292332 exit $exitcode ;;
293 Alpha\ *:Windows_NT*:*)
294 # How do we know it's Interix rather than the generic POSIX subsystem?
295 # Should we change UNAME_MACHINE based on the output of uname instead
296 # of the specific Alpha model?
297 echo alpha-pc-interix
298 exit ;;
299 21064:Windows_NT:50:3)
300 echo alpha-dec-winnt3.5
301 exit ;;
302333 Amiga*:UNIX_System_V:4.0:*)
303334 echo m68k-unknown-sysv4
304335 exit ;;
305336 *:[Aa]miga[Oo][Ss]:*:*)
306 echo ${UNAME_MACHINE}-unknown-amigaos
337 echo "$UNAME_MACHINE"-unknown-amigaos
307338 exit ;;
308339 *:[Mm]orph[Oo][Ss]:*:*)
309 echo ${UNAME_MACHINE}-unknown-morphos
340 echo "$UNAME_MACHINE"-unknown-morphos
310341 exit ;;
311342 *:OS/390:*:*)
312343 echo i370-ibm-openedition
318349 echo powerpc-ibm-os400
319350 exit ;;
320351 arm:RISC*:1.[012]*:*|arm:riscix:1.[012]*:*)
321 echo arm-acorn-riscix${UNAME_RELEASE}
352 echo arm-acorn-riscix"$UNAME_RELEASE"
322353 exit ;;
323354 arm*:riscos:*:*|arm*:RISCOS:*:*)
324355 echo arm-unknown-riscos
345376 sparc) echo sparc-icl-nx7; exit ;;
346377 esac ;;
347378 s390x:SunOS:*:*)
348 echo ${UNAME_MACHINE}-ibm-solaris2`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'`
379 echo "$UNAME_MACHINE"-ibm-solaris2"`echo "$UNAME_RELEASE" | sed -e 's/[^.]*//'`"
349380 exit ;;
350381 sun4H:SunOS:5.*:*)
351 echo sparc-hal-solaris2`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'`
382 echo sparc-hal-solaris2"`echo "$UNAME_RELEASE"|sed -e 's/[^.]*//'`"
352383 exit ;;
353384 sun4*:SunOS:5.*:* | tadpole*:SunOS:5.*:*)
354 echo sparc-sun-solaris2`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'`
385 echo sparc-sun-solaris2"`echo "$UNAME_RELEASE" | sed -e 's/[^.]*//'`"
355386 exit ;;
356387 i86pc:AuroraUX:5.*:* | i86xen:AuroraUX:5.*:*)
357 echo i386-pc-auroraux${UNAME_RELEASE}
388 echo i386-pc-auroraux"$UNAME_RELEASE"
358389 exit ;;
359390 i86pc:SunOS:5.*:* | i86xen:SunOS:5.*:*)
360 eval $set_cc_for_build
361 SUN_ARCH="i386"
391 eval "$set_cc_for_build"
392 SUN_ARCH=i386
362393 # If there is a compiler, see if it is configured for 64-bit objects.
363394 # Note that the Sun cc does not turn __LP64__ into 1 like gcc does.
364395 # This test works for both compilers.
365 if [ "$CC_FOR_BUILD" != 'no_compiler_found' ]; then
396 if [ "$CC_FOR_BUILD" != no_compiler_found ]; then
366397 if (echo '#ifdef __amd64'; echo IS_64BIT_ARCH; echo '#endif') | \
367 (CCOPTS= $CC_FOR_BUILD -E - 2>/dev/null) | \
398 (CCOPTS="" $CC_FOR_BUILD -E - 2>/dev/null) | \
368399 grep IS_64BIT_ARCH >/dev/null
369400 then
370 SUN_ARCH="x86_64"
401 SUN_ARCH=x86_64
371402 fi
372403 fi
373 echo ${SUN_ARCH}-pc-solaris2`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'`
404 echo "$SUN_ARCH"-pc-solaris2"`echo "$UNAME_RELEASE"|sed -e 's/[^.]*//'`"
374405 exit ;;
375406 sun4*:SunOS:6*:*)
376407 # According to config.sub, this is the proper way to canonicalize
377408 # SunOS6. Hard to guess exactly what SunOS6 will be like, but
378409 # it's likely to be more like Solaris than SunOS4.
379 echo sparc-sun-solaris3`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'`
410 echo sparc-sun-solaris3"`echo "$UNAME_RELEASE"|sed -e 's/[^.]*//'`"
380411 exit ;;
381412 sun4*:SunOS:*:*)
382413 case "`/usr/bin/arch -k`" in
385416 ;;
386417 esac
387418 # Japanese Language versions have a version number like `4.1.3-JL'.
388 echo sparc-sun-sunos`echo ${UNAME_RELEASE}|sed -e 's/-/_/'`
419 echo sparc-sun-sunos"`echo "$UNAME_RELEASE"|sed -e 's/-/_/'`"
389420 exit ;;
390421 sun3*:SunOS:*:*)
391 echo m68k-sun-sunos${UNAME_RELEASE}
422 echo m68k-sun-sunos"$UNAME_RELEASE"
392423 exit ;;
393424 sun*:*:4.2BSD:*)
394425 UNAME_RELEASE=`(sed 1q /etc/motd | awk '{print substr($5,1,3)}') 2>/dev/null`
395 test "x${UNAME_RELEASE}" = "x" && UNAME_RELEASE=3
426 test "x$UNAME_RELEASE" = x && UNAME_RELEASE=3
396427 case "`/bin/arch`" in
397428 sun3)
398 echo m68k-sun-sunos${UNAME_RELEASE}
429 echo m68k-sun-sunos"$UNAME_RELEASE"
399430 ;;
400431 sun4)
401 echo sparc-sun-sunos${UNAME_RELEASE}
432 echo sparc-sun-sunos"$UNAME_RELEASE"
402433 ;;
403434 esac
404435 exit ;;
405436 aushp:SunOS:*:*)
406 echo sparc-auspex-sunos${UNAME_RELEASE}
437 echo sparc-auspex-sunos"$UNAME_RELEASE"
407438 exit ;;
408439 # The situation for MiNT is a little confusing. The machine name
409440 # can be virtually everything (everything which is not
414445 # MiNT. But MiNT is downward compatible to TOS, so this should
415446 # be no problem.
416447 atarist[e]:*MiNT:*:* | atarist[e]:*mint:*:* | atarist[e]:*TOS:*:*)
417 echo m68k-atari-mint${UNAME_RELEASE}
448 echo m68k-atari-mint"$UNAME_RELEASE"
418449 exit ;;
419450 atari*:*MiNT:*:* | atari*:*mint:*:* | atarist[e]:*TOS:*:*)
420 echo m68k-atari-mint${UNAME_RELEASE}
451 echo m68k-atari-mint"$UNAME_RELEASE"
421452 exit ;;
422453 *falcon*:*MiNT:*:* | *falcon*:*mint:*:* | *falcon*:*TOS:*:*)
423 echo m68k-atari-mint${UNAME_RELEASE}
454 echo m68k-atari-mint"$UNAME_RELEASE"
424455 exit ;;
425456 milan*:*MiNT:*:* | milan*:*mint:*:* | *milan*:*TOS:*:*)
426 echo m68k-milan-mint${UNAME_RELEASE}
457 echo m68k-milan-mint"$UNAME_RELEASE"
427458 exit ;;
428459 hades*:*MiNT:*:* | hades*:*mint:*:* | *hades*:*TOS:*:*)
429 echo m68k-hades-mint${UNAME_RELEASE}
460 echo m68k-hades-mint"$UNAME_RELEASE"
430461 exit ;;
431462 *:*MiNT:*:* | *:*mint:*:* | *:*TOS:*:*)
432 echo m68k-unknown-mint${UNAME_RELEASE}
463 echo m68k-unknown-mint"$UNAME_RELEASE"
433464 exit ;;
434465 m68k:machten:*:*)
435 echo m68k-apple-machten${UNAME_RELEASE}
466 echo m68k-apple-machten"$UNAME_RELEASE"
436467 exit ;;
437468 powerpc:machten:*:*)
438 echo powerpc-apple-machten${UNAME_RELEASE}
469 echo powerpc-apple-machten"$UNAME_RELEASE"
439470 exit ;;
440471 RISC*:Mach:*:*)
441472 echo mips-dec-mach_bsd4.3
442473 exit ;;
443474 RISC*:ULTRIX:*:*)
444 echo mips-dec-ultrix${UNAME_RELEASE}
475 echo mips-dec-ultrix"$UNAME_RELEASE"
445476 exit ;;
446477 VAX*:ULTRIX*:*:*)
447 echo vax-dec-ultrix${UNAME_RELEASE}
478 echo vax-dec-ultrix"$UNAME_RELEASE"
448479 exit ;;
449480 2020:CLIX:*:* | 2430:CLIX:*:*)
450 echo clipper-intergraph-clix${UNAME_RELEASE}
481 echo clipper-intergraph-clix"$UNAME_RELEASE"
451482 exit ;;
452483 mips:*:*:UMIPS | mips:*:*:RISCos)
453 eval $set_cc_for_build
454 sed 's/^ //' << EOF >$dummy.c
484 eval "$set_cc_for_build"
485 sed 's/^ //' << EOF > "$dummy.c"
455486 #ifdef __cplusplus
456487 #include <stdio.h> /* for printf() prototype */
457488 int main (int argc, char *argv[]) {
460491 #endif
461492 #if defined (host_mips) && defined (MIPSEB)
462493 #if defined (SYSTYPE_SYSV)
463 printf ("mips-mips-riscos%ssysv\n", argv[1]); exit (0);
494 printf ("mips-mips-riscos%ssysv\\n", argv[1]); exit (0);
464495 #endif
465496 #if defined (SYSTYPE_SVR4)
466 printf ("mips-mips-riscos%ssvr4\n", argv[1]); exit (0);
497 printf ("mips-mips-riscos%ssvr4\\n", argv[1]); exit (0);
467498 #endif
468499 #if defined (SYSTYPE_BSD43) || defined(SYSTYPE_BSD)
469 printf ("mips-mips-riscos%sbsd\n", argv[1]); exit (0);
500 printf ("mips-mips-riscos%sbsd\\n", argv[1]); exit (0);
470501 #endif
471502 #endif
472503 exit (-1);
473504 }
474505 EOF
475 $CC_FOR_BUILD -o $dummy $dummy.c &&
476 dummyarg=`echo "${UNAME_RELEASE}" | sed -n 's/\([0-9]*\).*/\1/p'` &&
477 SYSTEM_NAME=`$dummy $dummyarg` &&
506 $CC_FOR_BUILD -o "$dummy" "$dummy.c" &&
507 dummyarg=`echo "$UNAME_RELEASE" | sed -n 's/\([0-9]*\).*/\1/p'` &&
508 SYSTEM_NAME=`"$dummy" "$dummyarg"` &&
478509 { echo "$SYSTEM_NAME"; exit; }
479 echo mips-mips-riscos${UNAME_RELEASE}
510 echo mips-mips-riscos"$UNAME_RELEASE"
480511 exit ;;
481512 Motorola:PowerMAX_OS:*:*)
482513 echo powerpc-motorola-powermax
502533 AViiON:dgux:*:*)
503534 # DG/UX returns AViiON for all architectures
504535 UNAME_PROCESSOR=`/usr/bin/uname -p`
505 if [ $UNAME_PROCESSOR = mc88100 ] || [ $UNAME_PROCESSOR = mc88110 ]
536 if [ "$UNAME_PROCESSOR" = mc88100 ] || [ "$UNAME_PROCESSOR" = mc88110 ]
506537 then
507 if [ ${TARGET_BINARY_INTERFACE}x = m88kdguxelfx ] || \
508 [ ${TARGET_BINARY_INTERFACE}x = x ]
538 if [ "$TARGET_BINARY_INTERFACE"x = m88kdguxelfx ] || \
539 [ "$TARGET_BINARY_INTERFACE"x = x ]
509540 then
510 echo m88k-dg-dgux${UNAME_RELEASE}
541 echo m88k-dg-dgux"$UNAME_RELEASE"
511542 else
512 echo m88k-dg-dguxbcs${UNAME_RELEASE}
543 echo m88k-dg-dguxbcs"$UNAME_RELEASE"
513544 fi
514545 else
515 echo i586-dg-dgux${UNAME_RELEASE}
546 echo i586-dg-dgux"$UNAME_RELEASE"
516547 fi
517548 exit ;;
518549 M88*:DolphinOS:*:*) # DolphinOS (SVR3)
529560 echo m68k-tektronix-bsd
530561 exit ;;
531562 *:IRIX*:*:*)
532 echo mips-sgi-irix`echo ${UNAME_RELEASE}|sed -e 's/-/_/g'`
563 echo mips-sgi-irix"`echo "$UNAME_RELEASE"|sed -e 's/-/_/g'`"
533564 exit ;;
534565 ????????:AIX?:[12].1:2) # AIX 2.2.1 or AIX 2.1.1 is RT/PC AIX.
535566 echo romp-ibm-aix # uname -m gives an 8 hex-code CPU id
541572 if [ -x /usr/bin/oslevel ] ; then
542573 IBM_REV=`/usr/bin/oslevel`
543574 else
544 IBM_REV=${UNAME_VERSION}.${UNAME_RELEASE}
545 fi
546 echo ${UNAME_MACHINE}-ibm-aix${IBM_REV}
575 IBM_REV="$UNAME_VERSION.$UNAME_RELEASE"
576 fi
577 echo "$UNAME_MACHINE"-ibm-aix"$IBM_REV"
547578 exit ;;
548579 *:AIX:2:3)
549580 if grep bos325 /usr/include/stdio.h >/dev/null 2>&1; then
550 eval $set_cc_for_build
551 sed 's/^ //' << EOF >$dummy.c
581 eval "$set_cc_for_build"
582 sed 's/^ //' << EOF > "$dummy.c"
552583 #include <sys/systemcfg.h>
553584
554585 main()
559590 exit(0);
560591 }
561592 EOF
562 if $CC_FOR_BUILD -o $dummy $dummy.c && SYSTEM_NAME=`$dummy`
593 if $CC_FOR_BUILD -o "$dummy" "$dummy.c" && SYSTEM_NAME=`"$dummy"`
563594 then
564595 echo "$SYSTEM_NAME"
565596 else
573604 exit ;;
574605 *:AIX:*:[4567])
575606 IBM_CPU_ID=`/usr/sbin/lsdev -C -c processor -S available | sed 1q | awk '{ print $1 }'`
576 if /usr/sbin/lsattr -El ${IBM_CPU_ID} | grep ' POWER' >/dev/null 2>&1; then
607 if /usr/sbin/lsattr -El "$IBM_CPU_ID" | grep ' POWER' >/dev/null 2>&1; then
577608 IBM_ARCH=rs6000
578609 else
579610 IBM_ARCH=powerpc
582613 IBM_REV=`/usr/bin/lslpp -Lqc bos.rte.libc |
583614 awk -F: '{ print $3 }' | sed s/[0-9]*$/0/`
584615 else
585 IBM_REV=${UNAME_VERSION}.${UNAME_RELEASE}
586 fi
587 echo ${IBM_ARCH}-ibm-aix${IBM_REV}
616 IBM_REV="$UNAME_VERSION.$UNAME_RELEASE"
617 fi
618 echo "$IBM_ARCH"-ibm-aix"$IBM_REV"
588619 exit ;;
589620 *:AIX:*:*)
590621 echo rs6000-ibm-aix
591622 exit ;;
592 ibmrt:4.4BSD:*|romp-ibm:BSD:*)
623 ibmrt:4.4BSD:*|romp-ibm:4.4BSD:*)
593624 echo romp-ibm-bsd4.4
594625 exit ;;
595626 ibmrt:*BSD:*|romp-ibm:BSD:*) # covers RT/PC BSD and
596 echo romp-ibm-bsd${UNAME_RELEASE} # 4.3 with uname added to
627 echo romp-ibm-bsd"$UNAME_RELEASE" # 4.3 with uname added to
597628 exit ;; # report: romp-ibm BSD 4.3
598629 *:BOSX:*:*)
599630 echo rs6000-bull-bosx
608639 echo m68k-hp-bsd4.4
609640 exit ;;
610641 9000/[34678]??:HP-UX:*:*)
611 HPUX_REV=`echo ${UNAME_RELEASE}|sed -e 's/[^.]*.[0B]*//'`
612 case "${UNAME_MACHINE}" in
613 9000/31? ) HP_ARCH=m68000 ;;
614 9000/[34]?? ) HP_ARCH=m68k ;;
642 HPUX_REV=`echo "$UNAME_RELEASE"|sed -e 's/[^.]*.[0B]*//'`
643 case "$UNAME_MACHINE" in
644 9000/31?) HP_ARCH=m68000 ;;
645 9000/[34]??) HP_ARCH=m68k ;;
615646 9000/[678][0-9][0-9])
616647 if [ -x /usr/bin/getconf ]; then
617648 sc_cpu_version=`/usr/bin/getconf SC_CPU_VERSION 2>/dev/null`
618649 sc_kernel_bits=`/usr/bin/getconf SC_KERNEL_BITS 2>/dev/null`
619 case "${sc_cpu_version}" in
620 523) HP_ARCH="hppa1.0" ;; # CPU_PA_RISC1_0
621 528) HP_ARCH="hppa1.1" ;; # CPU_PA_RISC1_1
650 case "$sc_cpu_version" in
651 523) HP_ARCH=hppa1.0 ;; # CPU_PA_RISC1_0
652 528) HP_ARCH=hppa1.1 ;; # CPU_PA_RISC1_1
622653 532) # CPU_PA_RISC2_0
623 case "${sc_kernel_bits}" in
624 32) HP_ARCH="hppa2.0n" ;;
625 64) HP_ARCH="hppa2.0w" ;;
626 '') HP_ARCH="hppa2.0" ;; # HP-UX 10.20
654 case "$sc_kernel_bits" in
655 32) HP_ARCH=hppa2.0n ;;
656 64) HP_ARCH=hppa2.0w ;;
657 '') HP_ARCH=hppa2.0 ;; # HP-UX 10.20
627658 esac ;;
628659 esac
629660 fi
630 if [ "${HP_ARCH}" = "" ]; then
631 eval $set_cc_for_build
632 sed 's/^ //' << EOF >$dummy.c
661 if [ "$HP_ARCH" = "" ]; then
662 eval "$set_cc_for_build"
663 sed 's/^ //' << EOF > "$dummy.c"
633664
634665 #define _HPUX_SOURCE
635666 #include <stdlib.h>
662693 exit (0);
663694 }
664695 EOF
665 (CCOPTS= $CC_FOR_BUILD -o $dummy $dummy.c 2>/dev/null) && HP_ARCH=`$dummy`
696 (CCOPTS="" $CC_FOR_BUILD -o "$dummy" "$dummy.c" 2>/dev/null) && HP_ARCH=`"$dummy"`
666697 test -z "$HP_ARCH" && HP_ARCH=hppa
667698 fi ;;
668699 esac
669 if [ ${HP_ARCH} = "hppa2.0w" ]
700 if [ "$HP_ARCH" = hppa2.0w ]
670701 then
671 eval $set_cc_for_build
702 eval "$set_cc_for_build"
672703
673704 # hppa2.0w-hp-hpux* has a 64-bit kernel and a compiler generating
674705 # 32-bit code. hppa64-hp-hpux* has the same kernel and a compiler
679710 # $ CC_FOR_BUILD="cc +DA2.0w" ./config.guess
680711 # => hppa64-hp-hpux11.23
681712
682 if echo __LP64__ | (CCOPTS= $CC_FOR_BUILD -E - 2>/dev/null) |
713 if echo __LP64__ | (CCOPTS="" $CC_FOR_BUILD -E - 2>/dev/null) |
683714 grep -q __LP64__
684715 then
685 HP_ARCH="hppa2.0w"
716 HP_ARCH=hppa2.0w
686717 else
687 HP_ARCH="hppa64"
718 HP_ARCH=hppa64
688719 fi
689720 fi
690 echo ${HP_ARCH}-hp-hpux${HPUX_REV}
721 echo "$HP_ARCH"-hp-hpux"$HPUX_REV"
691722 exit ;;
692723 ia64:HP-UX:*:*)
693 HPUX_REV=`echo ${UNAME_RELEASE}|sed -e 's/[^.]*.[0B]*//'`
694 echo ia64-hp-hpux${HPUX_REV}
724 HPUX_REV=`echo "$UNAME_RELEASE"|sed -e 's/[^.]*.[0B]*//'`
725 echo ia64-hp-hpux"$HPUX_REV"
695726 exit ;;
696727 3050*:HI-UX:*:*)
697 eval $set_cc_for_build
698 sed 's/^ //' << EOF >$dummy.c
728 eval "$set_cc_for_build"
729 sed 's/^ //' << EOF > "$dummy.c"
699730 #include <unistd.h>
700731 int
701732 main ()
720751 exit (0);
721752 }
722753 EOF
723 $CC_FOR_BUILD -o $dummy $dummy.c && SYSTEM_NAME=`$dummy` &&
754 $CC_FOR_BUILD -o "$dummy" "$dummy.c" && SYSTEM_NAME=`"$dummy"` &&
724755 { echo "$SYSTEM_NAME"; exit; }
725756 echo unknown-hitachi-hiuxwe2
726757 exit ;;
727 9000/7??:4.3bsd:*:* | 9000/8?[79]:4.3bsd:*:* )
758 9000/7??:4.3bsd:*:* | 9000/8?[79]:4.3bsd:*:*)
728759 echo hppa1.1-hp-bsd
729760 exit ;;
730761 9000/8??:4.3bsd:*:*)
733764 *9??*:MPE/iX:*:* | *3000*:MPE/iX:*:*)
734765 echo hppa1.0-hp-mpeix
735766 exit ;;
736 hp7??:OSF1:*:* | hp8?[79]:OSF1:*:* )
767 hp7??:OSF1:*:* | hp8?[79]:OSF1:*:*)
737768 echo hppa1.1-hp-osf
738769 exit ;;
739770 hp8??:OSF1:*:*)
741772 exit ;;
742773 i*86:OSF1:*:*)
743774 if [ -x /usr/sbin/sysversion ] ; then
744 echo ${UNAME_MACHINE}-unknown-osf1mk
775 echo "$UNAME_MACHINE"-unknown-osf1mk
745776 else
746 echo ${UNAME_MACHINE}-unknown-osf1
777 echo "$UNAME_MACHINE"-unknown-osf1
747778 fi
748779 exit ;;
749780 parisc*:Lites*:*:*)
768799 echo c4-convex-bsd
769800 exit ;;
770801 CRAY*Y-MP:*:*:*)
771 echo ymp-cray-unicos${UNAME_RELEASE} | sed -e 's/\.[^.]*$/.X/'
802 echo ymp-cray-unicos"$UNAME_RELEASE" | sed -e 's/\.[^.]*$/.X/'
772803 exit ;;
773804 CRAY*[A-Z]90:*:*:*)
774 echo ${UNAME_MACHINE}-cray-unicos${UNAME_RELEASE} \
805 echo "$UNAME_MACHINE"-cray-unicos"$UNAME_RELEASE" \
775806 | sed -e 's/CRAY.*\([A-Z]90\)/\1/' \
776807 -e y/ABCDEFGHIJKLMNOPQRSTUVWXYZ/abcdefghijklmnopqrstuvwxyz/ \
777808 -e 's/\.[^.]*$/.X/'
778809 exit ;;
779810 CRAY*TS:*:*:*)
780 echo t90-cray-unicos${UNAME_RELEASE} | sed -e 's/\.[^.]*$/.X/'
811 echo t90-cray-unicos"$UNAME_RELEASE" | sed -e 's/\.[^.]*$/.X/'
781812 exit ;;
782813 CRAY*T3E:*:*:*)
783 echo alphaev5-cray-unicosmk${UNAME_RELEASE} | sed -e 's/\.[^.]*$/.X/'
814 echo alphaev5-cray-unicosmk"$UNAME_RELEASE" | sed -e 's/\.[^.]*$/.X/'
784815 exit ;;
785816 CRAY*SV1:*:*:*)
786 echo sv1-cray-unicos${UNAME_RELEASE} | sed -e 's/\.[^.]*$/.X/'
817 echo sv1-cray-unicos"$UNAME_RELEASE" | sed -e 's/\.[^.]*$/.X/'
787818 exit ;;
788819 *:UNICOS/mp:*:*)
789 echo craynv-cray-unicosmp${UNAME_RELEASE} | sed -e 's/\.[^.]*$/.X/'
820 echo craynv-cray-unicosmp"$UNAME_RELEASE" | sed -e 's/\.[^.]*$/.X/'
790821 exit ;;
791822 F30[01]:UNIX_System_V:*:* | F700:UNIX_System_V:*:*)
792 FUJITSU_PROC=`uname -m | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz'`
793 FUJITSU_SYS=`uname -p | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz' | sed -e 's/\///'`
794 FUJITSU_REL=`echo ${UNAME_RELEASE} | sed -e 's/ /_/'`
823 FUJITSU_PROC=`uname -m | tr ABCDEFGHIJKLMNOPQRSTUVWXYZ abcdefghijklmnopqrstuvwxyz`
824 FUJITSU_SYS=`uname -p | tr ABCDEFGHIJKLMNOPQRSTUVWXYZ abcdefghijklmnopqrstuvwxyz | sed -e 's/\///'`
825 FUJITSU_REL=`echo "$UNAME_RELEASE" | sed -e 's/ /_/'`
795826 echo "${FUJITSU_PROC}-fujitsu-${FUJITSU_SYS}${FUJITSU_REL}"
796827 exit ;;
797828 5000:UNIX_System_V:4.*:*)
798 FUJITSU_SYS=`uname -p | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz' | sed -e 's/\///'`
799 FUJITSU_REL=`echo ${UNAME_RELEASE} | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz' | sed -e 's/ /_/'`
829 FUJITSU_SYS=`uname -p | tr ABCDEFGHIJKLMNOPQRSTUVWXYZ abcdefghijklmnopqrstuvwxyz | sed -e 's/\///'`
830 FUJITSU_REL=`echo "$UNAME_RELEASE" | tr ABCDEFGHIJKLMNOPQRSTUVWXYZ abcdefghijklmnopqrstuvwxyz | sed -e 's/ /_/'`
800831 echo "sparc-fujitsu-${FUJITSU_SYS}${FUJITSU_REL}"
801832 exit ;;
802833 i*86:BSD/386:*:* | i*86:BSD/OS:*:* | *:Ascend\ Embedded/OS:*:*)
803 echo ${UNAME_MACHINE}-pc-bsdi${UNAME_RELEASE}
834 echo "$UNAME_MACHINE"-pc-bsdi"$UNAME_RELEASE"
804835 exit ;;
805836 sparc*:BSD/OS:*:*)
806 echo sparc-unknown-bsdi${UNAME_RELEASE}
837 echo sparc-unknown-bsdi"$UNAME_RELEASE"
807838 exit ;;
808839 *:BSD/OS:*:*)
809 echo ${UNAME_MACHINE}-unknown-bsdi${UNAME_RELEASE}
840 echo "$UNAME_MACHINE"-unknown-bsdi"$UNAME_RELEASE"
810841 exit ;;
811842 *:FreeBSD:*:*)
812843 UNAME_PROCESSOR=`/usr/bin/uname -p`
813 case ${UNAME_PROCESSOR} in
844 case "$UNAME_PROCESSOR" in
814845 amd64)
815 echo x86_64-unknown-freebsd`echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'` ;;
816 *)
817 echo ${UNAME_PROCESSOR}-unknown-freebsd`echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'` ;;
846 UNAME_PROCESSOR=x86_64 ;;
847 i386)
848 UNAME_PROCESSOR=i586 ;;
818849 esac
850 echo "$UNAME_PROCESSOR"-unknown-freebsd"`echo "$UNAME_RELEASE"|sed -e 's/[-(].*//'`"
819851 exit ;;
820852 i*:CYGWIN*:*)
821 echo ${UNAME_MACHINE}-pc-cygwin
853 echo "$UNAME_MACHINE"-pc-cygwin
822854 exit ;;
823855 *:MINGW64*:*)
824 echo ${UNAME_MACHINE}-pc-mingw64
856 echo "$UNAME_MACHINE"-pc-mingw64
825857 exit ;;
826858 *:MINGW*:*)
827 echo ${UNAME_MACHINE}-pc-mingw32
859 echo "$UNAME_MACHINE"-pc-mingw32
828860 exit ;;
829861 *:MSYS*:*)
830 echo ${UNAME_MACHINE}-pc-msys
831 exit ;;
832 i*:windows32*:*)
833 # uname -m includes "-pc" on this system.
834 echo ${UNAME_MACHINE}-mingw32
862 echo "$UNAME_MACHINE"-pc-msys
835863 exit ;;
836864 i*:PW*:*)
837 echo ${UNAME_MACHINE}-pc-pw32
865 echo "$UNAME_MACHINE"-pc-pw32
838866 exit ;;
839867 *:Interix*:*)
840 case ${UNAME_MACHINE} in
868 case "$UNAME_MACHINE" in
841869 x86)
842 echo i586-pc-interix${UNAME_RELEASE}
870 echo i586-pc-interix"$UNAME_RELEASE"
843871 exit ;;
844872 authenticamd | genuineintel | EM64T)
845 echo x86_64-unknown-interix${UNAME_RELEASE}
873 echo x86_64-unknown-interix"$UNAME_RELEASE"
846874 exit ;;
847875 IA64)
848 echo ia64-unknown-interix${UNAME_RELEASE}
876 echo ia64-unknown-interix"$UNAME_RELEASE"
849877 exit ;;
850878 esac ;;
851 [345]86:Windows_95:* | [345]86:Windows_98:* | [345]86:Windows_NT:*)
852 echo i${UNAME_MACHINE}-pc-mks
853 exit ;;
854 8664:Windows_NT:*)
855 echo x86_64-pc-mks
856 exit ;;
857 i*:Windows_NT*:* | Pentium*:Windows_NT*:*)
858 # How do we know it's Interix rather than the generic POSIX subsystem?
859 # It also conflicts with pre-2.0 versions of AT&T UWIN. Should we
860 # UNAME_MACHINE based on the output of uname instead of i386?
861 echo i586-pc-interix
862 exit ;;
863879 i*:UWIN*:*)
864 echo ${UNAME_MACHINE}-pc-uwin
880 echo "$UNAME_MACHINE"-pc-uwin
865881 exit ;;
866882 amd64:CYGWIN*:*:* | x86_64:CYGWIN*:*:*)
867883 echo x86_64-unknown-cygwin
868884 exit ;;
869 p*:CYGWIN*:*)
870 echo powerpcle-unknown-cygwin
871 exit ;;
872885 prep*:SunOS:5.*:*)
873 echo powerpcle-unknown-solaris2`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'`
886 echo powerpcle-unknown-solaris2"`echo "$UNAME_RELEASE"|sed -e 's/[^.]*//'`"
874887 exit ;;
875888 *:GNU:*:*)
876889 # the GNU system
877 echo `echo ${UNAME_MACHINE}|sed -e 's,[-/].*$,,'`-unknown-${LIBC}`echo ${UNAME_RELEASE}|sed -e 's,/.*$,,'`
890 echo "`echo "$UNAME_MACHINE"|sed -e 's,[-/].*$,,'`-unknown-$LIBC`echo "$UNAME_RELEASE"|sed -e 's,/.*$,,'`"
878891 exit ;;
879892 *:GNU/*:*:*)
880893 # other systems with GNU libc and userland
881 echo ${UNAME_MACHINE}-unknown-`echo ${UNAME_SYSTEM} | sed 's,^[^/]*/,,' | tr '[A-Z]' '[a-z]'``echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'`-${LIBC}
894 echo "$UNAME_MACHINE-unknown-`echo "$UNAME_SYSTEM" | sed 's,^[^/]*/,,' | tr "[:upper:]" "[:lower:]"``echo "$UNAME_RELEASE"|sed -e 's/[-(].*//'`-$LIBC"
882895 exit ;;
883896 i*86:Minix:*:*)
884 echo ${UNAME_MACHINE}-pc-minix
897 echo "$UNAME_MACHINE"-pc-minix
885898 exit ;;
886899 aarch64:Linux:*:*)
887 echo ${UNAME_MACHINE}-unknown-linux-${LIBC}
900 echo "$UNAME_MACHINE"-unknown-linux-"$LIBC"
888901 exit ;;
889902 aarch64_be:Linux:*:*)
890903 UNAME_MACHINE=aarch64_be
891 echo ${UNAME_MACHINE}-unknown-linux-${LIBC}
904 echo "$UNAME_MACHINE"-unknown-linux-"$LIBC"
892905 exit ;;
893906 alpha:Linux:*:*)
894907 case `sed -n '/^cpu model/s/^.*: \(.*\)/\1/p' < /proc/cpuinfo` in
901914 EV68*) UNAME_MACHINE=alphaev68 ;;
902915 esac
903916 objdump --private-headers /bin/sh | grep -q ld.so.1
904 if test "$?" = 0 ; then LIBC="gnulibc1" ; fi
905 echo ${UNAME_MACHINE}-unknown-linux-${LIBC}
917 if test "$?" = 0 ; then LIBC=gnulibc1 ; fi
918 echo "$UNAME_MACHINE"-unknown-linux-"$LIBC"
906919 exit ;;
907920 arc:Linux:*:* | arceb:Linux:*:*)
908 echo ${UNAME_MACHINE}-unknown-linux-${LIBC}
921 echo "$UNAME_MACHINE"-unknown-linux-"$LIBC"
909922 exit ;;
910923 arm*:Linux:*:*)
911 eval $set_cc_for_build
924 eval "$set_cc_for_build"
912925 if echo __ARM_EABI__ | $CC_FOR_BUILD -E - 2>/dev/null \
913926 | grep -q __ARM_EABI__
914927 then
915 echo ${UNAME_MACHINE}-unknown-linux-${LIBC}
928 echo "$UNAME_MACHINE"-unknown-linux-"$LIBC"
916929 else
917930 if echo __ARM_PCS_VFP | $CC_FOR_BUILD -E - 2>/dev/null \
918931 | grep -q __ARM_PCS_VFP
919932 then
920 echo ${UNAME_MACHINE}-unknown-linux-${LIBC}eabi
933 echo "$UNAME_MACHINE"-unknown-linux-"$LIBC"eabi
921934 else
922 echo ${UNAME_MACHINE}-unknown-linux-${LIBC}eabihf
935 echo "$UNAME_MACHINE"-unknown-linux-"$LIBC"eabihf
923936 fi
924937 fi
925938 exit ;;
926939 avr32*:Linux:*:*)
927 echo ${UNAME_MACHINE}-unknown-linux-${LIBC}
940 echo "$UNAME_MACHINE"-unknown-linux-"$LIBC"
928941 exit ;;
929942 cris:Linux:*:*)
930 echo ${UNAME_MACHINE}-axis-linux-${LIBC}
943 echo "$UNAME_MACHINE"-axis-linux-"$LIBC"
931944 exit ;;
932945 crisv32:Linux:*:*)
933 echo ${UNAME_MACHINE}-axis-linux-${LIBC}
946 echo "$UNAME_MACHINE"-axis-linux-"$LIBC"
947 exit ;;
948 e2k:Linux:*:*)
949 echo "$UNAME_MACHINE"-unknown-linux-"$LIBC"
934950 exit ;;
935951 frv:Linux:*:*)
936 echo ${UNAME_MACHINE}-unknown-linux-${LIBC}
952 echo "$UNAME_MACHINE"-unknown-linux-"$LIBC"
937953 exit ;;
938954 hexagon:Linux:*:*)
939 echo ${UNAME_MACHINE}-unknown-linux-${LIBC}
955 echo "$UNAME_MACHINE"-unknown-linux-"$LIBC"
940956 exit ;;
941957 i*86:Linux:*:*)
942 echo ${UNAME_MACHINE}-pc-linux-${LIBC}
958 echo "$UNAME_MACHINE"-pc-linux-"$LIBC"
943959 exit ;;
944960 ia64:Linux:*:*)
945 echo ${UNAME_MACHINE}-unknown-linux-${LIBC}
961 echo "$UNAME_MACHINE"-unknown-linux-"$LIBC"
962 exit ;;
963 k1om:Linux:*:*)
964 echo "$UNAME_MACHINE"-unknown-linux-"$LIBC"
946965 exit ;;
947966 m32r*:Linux:*:*)
948 echo ${UNAME_MACHINE}-unknown-linux-${LIBC}
967 echo "$UNAME_MACHINE"-unknown-linux-"$LIBC"
949968 exit ;;
950969 m68*:Linux:*:*)
951 echo ${UNAME_MACHINE}-unknown-linux-${LIBC}
970 echo "$UNAME_MACHINE"-unknown-linux-"$LIBC"
952971 exit ;;
953972 mips:Linux:*:* | mips64:Linux:*:*)
954 eval $set_cc_for_build
955 sed 's/^ //' << EOF >$dummy.c
973 eval "$set_cc_for_build"
974 sed 's/^ //' << EOF > "$dummy.c"
956975 #undef CPU
957976 #undef ${UNAME_MACHINE}
958977 #undef ${UNAME_MACHINE}el
966985 #endif
967986 #endif
968987 EOF
969 eval `$CC_FOR_BUILD -E $dummy.c 2>/dev/null | grep '^CPU'`
970 test x"${CPU}" != x && { echo "${CPU}-unknown-linux-${LIBC}"; exit; }
988 eval "`$CC_FOR_BUILD -E "$dummy.c" 2>/dev/null | grep '^CPU'`"
989 test "x$CPU" != x && { echo "$CPU-unknown-linux-$LIBC"; exit; }
971990 ;;
991 mips64el:Linux:*:*)
992 echo "$UNAME_MACHINE"-unknown-linux-"$LIBC"
993 exit ;;
972994 openrisc*:Linux:*:*)
973 echo or1k-unknown-linux-${LIBC}
995 echo or1k-unknown-linux-"$LIBC"
974996 exit ;;
975997 or32:Linux:*:* | or1k*:Linux:*:*)
976 echo ${UNAME_MACHINE}-unknown-linux-${LIBC}
998 echo "$UNAME_MACHINE"-unknown-linux-"$LIBC"
977999 exit ;;
9781000 padre:Linux:*:*)
979 echo sparc-unknown-linux-${LIBC}
1001 echo sparc-unknown-linux-"$LIBC"
9801002 exit ;;
9811003 parisc64:Linux:*:* | hppa64:Linux:*:*)
982 echo hppa64-unknown-linux-${LIBC}
1004 echo hppa64-unknown-linux-"$LIBC"
9831005 exit ;;
9841006 parisc:Linux:*:* | hppa:Linux:*:*)
9851007 # Look for CPU level
9861008 case `grep '^cpu[^a-z]*:' /proc/cpuinfo 2>/dev/null | cut -d' ' -f2` in
987 PA7*) echo hppa1.1-unknown-linux-${LIBC} ;;
988 PA8*) echo hppa2.0-unknown-linux-${LIBC} ;;
989 *) echo hppa-unknown-linux-${LIBC} ;;
1009 PA7*) echo hppa1.1-unknown-linux-"$LIBC" ;;
1010 PA8*) echo hppa2.0-unknown-linux-"$LIBC" ;;
1011 *) echo hppa-unknown-linux-"$LIBC" ;;
9901012 esac
9911013 exit ;;
9921014 ppc64:Linux:*:*)
993 echo powerpc64-unknown-linux-${LIBC}
1015 echo powerpc64-unknown-linux-"$LIBC"
9941016 exit ;;
9951017 ppc:Linux:*:*)
996 echo powerpc-unknown-linux-${LIBC}
1018 echo powerpc-unknown-linux-"$LIBC"
9971019 exit ;;
9981020 ppc64le:Linux:*:*)
999 echo powerpc64le-unknown-linux-${LIBC}
1021 echo powerpc64le-unknown-linux-"$LIBC"
10001022 exit ;;
10011023 ppcle:Linux:*:*)
1002 echo powerpcle-unknown-linux-${LIBC}
1024 echo powerpcle-unknown-linux-"$LIBC"
1025 exit ;;
1026 riscv32:Linux:*:* | riscv64:Linux:*:*)
1027 echo "$UNAME_MACHINE"-unknown-linux-"$LIBC"
10031028 exit ;;
10041029 s390:Linux:*:* | s390x:Linux:*:*)
1005 echo ${UNAME_MACHINE}-ibm-linux-${LIBC}
1030 echo "$UNAME_MACHINE"-ibm-linux-"$LIBC"
10061031 exit ;;
10071032 sh64*:Linux:*:*)
1008 echo ${UNAME_MACHINE}-unknown-linux-${LIBC}
1033 echo "$UNAME_MACHINE"-unknown-linux-"$LIBC"
10091034 exit ;;
10101035 sh*:Linux:*:*)
1011 echo ${UNAME_MACHINE}-unknown-linux-${LIBC}
1036 echo "$UNAME_MACHINE"-unknown-linux-"$LIBC"
10121037 exit ;;
10131038 sparc:Linux:*:* | sparc64:Linux:*:*)
1014 echo ${UNAME_MACHINE}-unknown-linux-${LIBC}
1039 echo "$UNAME_MACHINE"-unknown-linux-"$LIBC"
10151040 exit ;;
10161041 tile*:Linux:*:*)
1017 echo ${UNAME_MACHINE}-unknown-linux-${LIBC}
1042 echo "$UNAME_MACHINE"-unknown-linux-"$LIBC"
10181043 exit ;;
10191044 vax:Linux:*:*)
1020 echo ${UNAME_MACHINE}-dec-linux-${LIBC}
1045 echo "$UNAME_MACHINE"-dec-linux-"$LIBC"
10211046 exit ;;
10221047 x86_64:Linux:*:*)
1023 echo ${UNAME_MACHINE}-unknown-linux-${LIBC}
1048 echo "$UNAME_MACHINE"-pc-linux-"$LIBC"
10241049 exit ;;
10251050 xtensa*:Linux:*:*)
1026 echo ${UNAME_MACHINE}-unknown-linux-${LIBC}
1051 echo "$UNAME_MACHINE"-unknown-linux-"$LIBC"
10271052 exit ;;
10281053 i*86:DYNIX/ptx:4*:*)
10291054 # ptx 4.0 does uname -s correctly, with DYNIX/ptx in there.
10371062 # I am not positive that other SVR4 systems won't match this,
10381063 # I just have to hope. -- rms.
10391064 # Use sysv4.2uw... so that sysv4* matches it.
1040 echo ${UNAME_MACHINE}-pc-sysv4.2uw${UNAME_VERSION}
1065 echo "$UNAME_MACHINE"-pc-sysv4.2uw"$UNAME_VERSION"
10411066 exit ;;
10421067 i*86:OS/2:*:*)
10431068 # If we were able to find `uname', then EMX Unix compatibility
10441069 # is probably installed.
1045 echo ${UNAME_MACHINE}-pc-os2-emx
1070 echo "$UNAME_MACHINE"-pc-os2-emx
10461071 exit ;;
10471072 i*86:XTS-300:*:STOP)
1048 echo ${UNAME_MACHINE}-unknown-stop
1073 echo "$UNAME_MACHINE"-unknown-stop
10491074 exit ;;
10501075 i*86:atheos:*:*)
1051 echo ${UNAME_MACHINE}-unknown-atheos
1076 echo "$UNAME_MACHINE"-unknown-atheos
10521077 exit ;;
10531078 i*86:syllable:*:*)
1054 echo ${UNAME_MACHINE}-pc-syllable
1079 echo "$UNAME_MACHINE"-pc-syllable
10551080 exit ;;
10561081 i*86:LynxOS:2.*:* | i*86:LynxOS:3.[01]*:* | i*86:LynxOS:4.[02]*:*)
1057 echo i386-unknown-lynxos${UNAME_RELEASE}
1082 echo i386-unknown-lynxos"$UNAME_RELEASE"
10581083 exit ;;
10591084 i*86:*DOS:*:*)
1060 echo ${UNAME_MACHINE}-pc-msdosdjgpp
1061 exit ;;
1062 i*86:*:4.*:* | i*86:SYSTEM_V:4.*:*)
1063 UNAME_REL=`echo ${UNAME_RELEASE} | sed 's/\/MP$//'`
1085 echo "$UNAME_MACHINE"-pc-msdosdjgpp
1086 exit ;;
1087 i*86:*:4.*:*)
1088 UNAME_REL=`echo "$UNAME_RELEASE" | sed 's/\/MP$//'`
10641089 if grep Novell /usr/include/link.h >/dev/null 2>/dev/null; then
1065 echo ${UNAME_MACHINE}-univel-sysv${UNAME_REL}
1090 echo "$UNAME_MACHINE"-univel-sysv"$UNAME_REL"
10661091 else
1067 echo ${UNAME_MACHINE}-pc-sysv${UNAME_REL}
1092 echo "$UNAME_MACHINE"-pc-sysv"$UNAME_REL"
10681093 fi
10691094 exit ;;
10701095 i*86:*:5:[678]*)
10741099 *Pentium) UNAME_MACHINE=i586 ;;
10751100 *Pent*|*Celeron) UNAME_MACHINE=i686 ;;
10761101 esac
1077 echo ${UNAME_MACHINE}-unknown-sysv${UNAME_RELEASE}${UNAME_SYSTEM}${UNAME_VERSION}
1102 echo "$UNAME_MACHINE-unknown-sysv${UNAME_RELEASE}${UNAME_SYSTEM}{$UNAME_VERSION}"
10781103 exit ;;
10791104 i*86:*:3.2:*)
10801105 if test -f /usr/options/cb.name; then
10811106 UNAME_REL=`sed -n 's/.*Version //p' </usr/options/cb.name`
1082 echo ${UNAME_MACHINE}-pc-isc$UNAME_REL
1107 echo "$UNAME_MACHINE"-pc-isc"$UNAME_REL"
10831108 elif /bin/uname -X 2>/dev/null >/dev/null ; then
10841109 UNAME_REL=`(/bin/uname -X|grep Release|sed -e 's/.*= //')`
10851110 (/bin/uname -X|grep i80486 >/dev/null) && UNAME_MACHINE=i486
10891114 && UNAME_MACHINE=i686
10901115 (/bin/uname -X|grep '^Machine.*Pentium Pro' >/dev/null) \
10911116 && UNAME_MACHINE=i686
1092 echo ${UNAME_MACHINE}-pc-sco$UNAME_REL
1117 echo "$UNAME_MACHINE"-pc-sco"$UNAME_REL"
10931118 else
1094 echo ${UNAME_MACHINE}-pc-sysv32
1119 echo "$UNAME_MACHINE"-pc-sysv32
10951120 fi
10961121 exit ;;
10971122 pc:*:*:*)
10991124 # uname -m prints for DJGPP always 'pc', but it prints nothing about
11001125 # the processor, so we play safe by assuming i586.
11011126 # Note: whatever this is, it MUST be the same as what config.sub
1102 # prints for the "djgpp" host, or else GDB configury will decide that
1127 # prints for the "djgpp" host, or else GDB configure will decide that
11031128 # this is a cross-build.
11041129 echo i586-pc-msdosdjgpp
11051130 exit ;;
11111136 exit ;;
11121137 i860:*:4.*:*) # i860-SVR4
11131138 if grep Stardent /usr/include/sys/uadmin.h >/dev/null 2>&1 ; then
1114 echo i860-stardent-sysv${UNAME_RELEASE} # Stardent Vistra i860-SVR4
1139 echo i860-stardent-sysv"$UNAME_RELEASE" # Stardent Vistra i860-SVR4
11151140 else # Add other i860-SVR4 vendors below as they are discovered.
1116 echo i860-unknown-sysv${UNAME_RELEASE} # Unknown i860-SVR4
1141 echo i860-unknown-sysv"$UNAME_RELEASE" # Unknown i860-SVR4
11171142 fi
11181143 exit ;;
11191144 mini*:CTIX:SYS*5:*)
11331158 test -r /etc/.relid \
11341159 && OS_REL=.`sed -n 's/[^ ]* [^ ]* \([0-9][0-9]\).*/\1/p' < /etc/.relid`
11351160 /bin/uname -p 2>/dev/null | grep 86 >/dev/null \
1136 && { echo i486-ncr-sysv4.3${OS_REL}; exit; }
1161 && { echo i486-ncr-sysv4.3"$OS_REL"; exit; }
11371162 /bin/uname -p 2>/dev/null | /bin/grep entium >/dev/null \
1138 && { echo i586-ncr-sysv4.3${OS_REL}; exit; } ;;
1163 && { echo i586-ncr-sysv4.3"$OS_REL"; exit; } ;;
11391164 3[34]??:*:4.0:* | 3[34]??,*:*:4.0:*)
11401165 /bin/uname -p 2>/dev/null | grep 86 >/dev/null \
11411166 && { echo i486-ncr-sysv4; exit; } ;;
11441169 test -r /etc/.relid \
11451170 && OS_REL=.`sed -n 's/[^ ]* [^ ]* \([0-9][0-9]\).*/\1/p' < /etc/.relid`
11461171 /bin/uname -p 2>/dev/null | grep 86 >/dev/null \
1147 && { echo i486-ncr-sysv4.3${OS_REL}; exit; }
1172 && { echo i486-ncr-sysv4.3"$OS_REL"; exit; }
11481173 /bin/uname -p 2>/dev/null | /bin/grep entium >/dev/null \
1149 && { echo i586-ncr-sysv4.3${OS_REL}; exit; }
1174 && { echo i586-ncr-sysv4.3"$OS_REL"; exit; }
11501175 /bin/uname -p 2>/dev/null | /bin/grep pteron >/dev/null \
1151 && { echo i586-ncr-sysv4.3${OS_REL}; exit; } ;;
1176 && { echo i586-ncr-sysv4.3"$OS_REL"; exit; } ;;
11521177 m68*:LynxOS:2.*:* | m68*:LynxOS:3.0*:*)
1153 echo m68k-unknown-lynxos${UNAME_RELEASE}
1178 echo m68k-unknown-lynxos"$UNAME_RELEASE"
11541179 exit ;;
11551180 mc68030:UNIX_System_V:4.*:*)
11561181 echo m68k-atari-sysv4
11571182 exit ;;
11581183 TSUNAMI:LynxOS:2.*:*)
1159 echo sparc-unknown-lynxos${UNAME_RELEASE}
1184 echo sparc-unknown-lynxos"$UNAME_RELEASE"
11601185 exit ;;
11611186 rs6000:LynxOS:2.*:*)
1162 echo rs6000-unknown-lynxos${UNAME_RELEASE}
1187 echo rs6000-unknown-lynxos"$UNAME_RELEASE"
11631188 exit ;;
11641189 PowerPC:LynxOS:2.*:* | PowerPC:LynxOS:3.[01]*:* | PowerPC:LynxOS:4.[02]*:*)
1165 echo powerpc-unknown-lynxos${UNAME_RELEASE}
1190 echo powerpc-unknown-lynxos"$UNAME_RELEASE"
11661191 exit ;;
11671192 SM[BE]S:UNIX_SV:*:*)
1168 echo mips-dde-sysv${UNAME_RELEASE}
1193 echo mips-dde-sysv"$UNAME_RELEASE"
11691194 exit ;;
11701195 RM*:ReliantUNIX-*:*:*)
11711196 echo mips-sni-sysv4
11761201 *:SINIX-*:*:*)
11771202 if uname -p 2>/dev/null >/dev/null ; then
11781203 UNAME_MACHINE=`(uname -p) 2>/dev/null`
1179 echo ${UNAME_MACHINE}-sni-sysv4
1204 echo "$UNAME_MACHINE"-sni-sysv4
11801205 else
11811206 echo ns32k-sni-sysv
11821207 fi
11961221 exit ;;
11971222 i*86:VOS:*:*)
11981223 # From Paul.Green@stratus.com.
1199 echo ${UNAME_MACHINE}-stratus-vos
1224 echo "$UNAME_MACHINE"-stratus-vos
12001225 exit ;;
12011226 *:VOS:*:*)
12021227 # From Paul.Green@stratus.com.
12031228 echo hppa1.1-stratus-vos
12041229 exit ;;
12051230 mc68*:A/UX:*:*)
1206 echo m68k-apple-aux${UNAME_RELEASE}
1231 echo m68k-apple-aux"$UNAME_RELEASE"
12071232 exit ;;
12081233 news*:NEWS-OS:6*:*)
12091234 echo mips-sony-newsos6
12101235 exit ;;
12111236 R[34]000:*System_V*:*:* | R4000:UNIX_SYSV:*:* | R*000:UNIX_SV:*:*)
12121237 if [ -d /usr/nec ]; then
1213 echo mips-nec-sysv${UNAME_RELEASE}
1238 echo mips-nec-sysv"$UNAME_RELEASE"
12141239 else
1215 echo mips-unknown-sysv${UNAME_RELEASE}
1240 echo mips-unknown-sysv"$UNAME_RELEASE"
12161241 fi
12171242 exit ;;
12181243 BeBox:BeOS:*:*) # BeOS running on hardware made by Be, PPC only.
12311256 echo x86_64-unknown-haiku
12321257 exit ;;
12331258 SX-4:SUPER-UX:*:*)
1234 echo sx4-nec-superux${UNAME_RELEASE}
1259 echo sx4-nec-superux"$UNAME_RELEASE"
12351260 exit ;;
12361261 SX-5:SUPER-UX:*:*)
1237 echo sx5-nec-superux${UNAME_RELEASE}
1262 echo sx5-nec-superux"$UNAME_RELEASE"
12381263 exit ;;
12391264 SX-6:SUPER-UX:*:*)
1240 echo sx6-nec-superux${UNAME_RELEASE}
1265 echo sx6-nec-superux"$UNAME_RELEASE"
12411266 exit ;;
12421267 SX-7:SUPER-UX:*:*)
1243 echo sx7-nec-superux${UNAME_RELEASE}
1268 echo sx7-nec-superux"$UNAME_RELEASE"
12441269 exit ;;
12451270 SX-8:SUPER-UX:*:*)
1246 echo sx8-nec-superux${UNAME_RELEASE}
1271 echo sx8-nec-superux"$UNAME_RELEASE"
12471272 exit ;;
12481273 SX-8R:SUPER-UX:*:*)
1249 echo sx8r-nec-superux${UNAME_RELEASE}
1274 echo sx8r-nec-superux"$UNAME_RELEASE"
1275 exit ;;
1276 SX-ACE:SUPER-UX:*:*)
1277 echo sxace-nec-superux"$UNAME_RELEASE"
12501278 exit ;;
12511279 Power*:Rhapsody:*:*)
1252 echo powerpc-apple-rhapsody${UNAME_RELEASE}
1280 echo powerpc-apple-rhapsody"$UNAME_RELEASE"
12531281 exit ;;
12541282 *:Rhapsody:*:*)
1255 echo ${UNAME_MACHINE}-apple-rhapsody${UNAME_RELEASE}
1283 echo "$UNAME_MACHINE"-apple-rhapsody"$UNAME_RELEASE"
12561284 exit ;;
12571285 *:Darwin:*:*)
12581286 UNAME_PROCESSOR=`uname -p` || UNAME_PROCESSOR=unknown
1259 eval $set_cc_for_build
1287 eval "$set_cc_for_build"
12601288 if test "$UNAME_PROCESSOR" = unknown ; then
12611289 UNAME_PROCESSOR=powerpc
12621290 fi
1263 if test `echo "$UNAME_RELEASE" | sed -e 's/\..*//'` -le 10 ; then
1264 if [ "$CC_FOR_BUILD" != 'no_compiler_found' ]; then
1291 if test "`echo "$UNAME_RELEASE" | sed -e 's/\..*//'`" -le 10 ; then
1292 if [ "$CC_FOR_BUILD" != no_compiler_found ]; then
12651293 if (echo '#ifdef __LP64__'; echo IS_64BIT_ARCH; echo '#endif') | \
1266 (CCOPTS= $CC_FOR_BUILD -E - 2>/dev/null) | \
1267 grep IS_64BIT_ARCH >/dev/null
1294 (CCOPTS="" $CC_FOR_BUILD -E - 2>/dev/null) | \
1295 grep IS_64BIT_ARCH >/dev/null
12681296 then
12691297 case $UNAME_PROCESSOR in
12701298 i386) UNAME_PROCESSOR=x86_64 ;;
12711299 powerpc) UNAME_PROCESSOR=powerpc64 ;;
12721300 esac
1301 fi
1302 # On 10.4-10.6 one might compile for PowerPC via gcc -arch ppc
1303 if (echo '#ifdef __POWERPC__'; echo IS_PPC; echo '#endif') | \
1304 (CCOPTS="" $CC_FOR_BUILD -E - 2>/dev/null) | \
1305 grep IS_PPC >/dev/null
1306 then
1307 UNAME_PROCESSOR=powerpc
12731308 fi
12741309 fi
12751310 elif test "$UNAME_PROCESSOR" = i386 ; then
12811316 # that Apple uses in portable devices.
12821317 UNAME_PROCESSOR=x86_64
12831318 fi
1284 echo ${UNAME_PROCESSOR}-apple-darwin${UNAME_RELEASE}
1319 echo "$UNAME_PROCESSOR"-apple-darwin"$UNAME_RELEASE"
12851320 exit ;;
12861321 *:procnto*:*:* | *:QNX:[0123456789]*:*)
12871322 UNAME_PROCESSOR=`uname -p`
1288 if test "$UNAME_PROCESSOR" = "x86"; then
1323 if test "$UNAME_PROCESSOR" = x86; then
12891324 UNAME_PROCESSOR=i386
12901325 UNAME_MACHINE=pc
12911326 fi
1292 echo ${UNAME_PROCESSOR}-${UNAME_MACHINE}-nto-qnx${UNAME_RELEASE}
1327 echo "$UNAME_PROCESSOR"-"$UNAME_MACHINE"-nto-qnx"$UNAME_RELEASE"
12931328 exit ;;
12941329 *:QNX:*:4*)
12951330 echo i386-pc-qnx
12961331 exit ;;
1297 NEO-?:NONSTOP_KERNEL:*:*)
1298 echo neo-tandem-nsk${UNAME_RELEASE}
1332 NEO-*:NONSTOP_KERNEL:*:*)
1333 echo neo-tandem-nsk"$UNAME_RELEASE"
12991334 exit ;;
13001335 NSE-*:NONSTOP_KERNEL:*:*)
1301 echo nse-tandem-nsk${UNAME_RELEASE}
1302 exit ;;
1303 NSR-?:NONSTOP_KERNEL:*:*)
1304 echo nsr-tandem-nsk${UNAME_RELEASE}
1336 echo nse-tandem-nsk"$UNAME_RELEASE"
1337 exit ;;
1338 NSR-*:NONSTOP_KERNEL:*:*)
1339 echo nsr-tandem-nsk"$UNAME_RELEASE"
1340 exit ;;
1341 NSV-*:NONSTOP_KERNEL:*:*)
1342 echo nsv-tandem-nsk"$UNAME_RELEASE"
1343 exit ;;
1344 NSX-*:NONSTOP_KERNEL:*:*)
1345 echo nsx-tandem-nsk"$UNAME_RELEASE"
13051346 exit ;;
13061347 *:NonStop-UX:*:*)
13071348 echo mips-compaq-nonstopux
13101351 echo bs2000-siemens-sysv
13111352 exit ;;
13121353 DS/*:UNIX_System_V:*:*)
1313 echo ${UNAME_MACHINE}-${UNAME_SYSTEM}-${UNAME_RELEASE}
1354 echo "$UNAME_MACHINE"-"$UNAME_SYSTEM"-"$UNAME_RELEASE"
13141355 exit ;;
13151356 *:Plan9:*:*)
13161357 # "uname -m" is not consistent, so use $cputype instead. 386
13171358 # is converted to i386 for consistency with other x86
13181359 # operating systems.
1319 if test "$cputype" = "386"; then
1360 if test "$cputype" = 386; then
13201361 UNAME_MACHINE=i386
13211362 else
13221363 UNAME_MACHINE="$cputype"
13231364 fi
1324 echo ${UNAME_MACHINE}-unknown-plan9
1365 echo "$UNAME_MACHINE"-unknown-plan9
13251366 exit ;;
13261367 *:TOPS-10:*:*)
13271368 echo pdp10-unknown-tops10
13421383 echo pdp10-unknown-its
13431384 exit ;;
13441385 SEI:*:*:SEIUX)
1345 echo mips-sei-seiux${UNAME_RELEASE}
1386 echo mips-sei-seiux"$UNAME_RELEASE"
13461387 exit ;;
13471388 *:DragonFly:*:*)
1348 echo ${UNAME_MACHINE}-unknown-dragonfly`echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'`
1389 echo "$UNAME_MACHINE"-unknown-dragonfly"`echo "$UNAME_RELEASE"|sed -e 's/[-(].*//'`"
13491390 exit ;;
13501391 *:*VMS:*:*)
13511392 UNAME_MACHINE=`(uname -p) 2>/dev/null`
1352 case "${UNAME_MACHINE}" in
1393 case "$UNAME_MACHINE" in
13531394 A*) echo alpha-dec-vms ; exit ;;
13541395 I*) echo ia64-dec-vms ; exit ;;
13551396 V*) echo vax-dec-vms ; exit ;;
13581399 echo i386-pc-xenix
13591400 exit ;;
13601401 i*86:skyos:*:*)
1361 echo ${UNAME_MACHINE}-pc-skyos`echo ${UNAME_RELEASE}` | sed -e 's/ .*$//'
1402 echo "$UNAME_MACHINE"-pc-skyos"`echo "$UNAME_RELEASE" | sed -e 's/ .*$//'`"
13621403 exit ;;
13631404 i*86:rdos:*:*)
1364 echo ${UNAME_MACHINE}-pc-rdos
1405 echo "$UNAME_MACHINE"-pc-rdos
13651406 exit ;;
13661407 i*86:AROS:*:*)
1367 echo ${UNAME_MACHINE}-pc-aros
1408 echo "$UNAME_MACHINE"-pc-aros
13681409 exit ;;
13691410 x86_64:VMkernel:*:*)
1370 echo ${UNAME_MACHINE}-unknown-esx
1411 echo "$UNAME_MACHINE"-unknown-esx
1412 exit ;;
1413 amd64:Isilon\ OneFS:*:*)
1414 echo x86_64-unknown-onefs
13711415 exit ;;
13721416 esac
13731417
1418 echo "$0: unable to guess system type" >&2
1419
1420 case "$UNAME_MACHINE:$UNAME_SYSTEM" in
1421 mips:Linux | mips64:Linux)
1422 # If we got here on MIPS GNU/Linux, output extra information.
1423 cat >&2 <<EOF
1424
1425 NOTE: MIPS GNU/Linux systems require a C compiler to fully recognize
1426 the system type. Please install a C compiler and try again.
1427 EOF
1428 ;;
1429 esac
1430
13741431 cat >&2 <<EOF
1375 $0: unable to guess system type
1376
1377 This script, last modified $timestamp, has failed to recognize
1378 the operating system you are using. It is advised that you
1379 download the most up to date version of the config scripts from
1380
1381 http://git.savannah.gnu.org/gitweb/?p=config.git;a=blob_plain;f=config.guess;hb=HEAD
1432
1433 This script (version $timestamp), has failed to recognize the
1434 operating system you are using. If your script is old, overwrite *all*
1435 copies of config.guess and config.sub with the latest versions from:
1436
1437 https://git.savannah.gnu.org/gitweb/?p=config.git;a=blob_plain;f=config.guess
13821438 and
1383 http://git.savannah.gnu.org/gitweb/?p=config.git;a=blob_plain;f=config.sub;hb=HEAD
1384
1385 If the version you run ($0) is already up to date, please
1386 send the following data and any information you think might be
1387 pertinent to <config-patches@gnu.org> in order to provide the needed
1388 information to handle your system.
1439 https://git.savannah.gnu.org/gitweb/?p=config.git;a=blob_plain;f=config.sub
1440
1441 If $0 has already been updated, send the following data and any
1442 information you think might be pertinent to config-patches@gnu.org to
1443 provide the necessary information to handle your system.
13891444
13901445 config.guess timestamp = $timestamp
13911446
14041459 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null`
14051460 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null`
14061461
1407 UNAME_MACHINE = ${UNAME_MACHINE}
1408 UNAME_RELEASE = ${UNAME_RELEASE}
1409 UNAME_SYSTEM = ${UNAME_SYSTEM}
1410 UNAME_VERSION = ${UNAME_VERSION}
1462 UNAME_MACHINE = "$UNAME_MACHINE"
1463 UNAME_RELEASE = "$UNAME_RELEASE"
1464 UNAME_SYSTEM = "$UNAME_SYSTEM"
1465 UNAME_VERSION = "$UNAME_VERSION"
14111466 EOF
14121467
14131468 exit 1
14141469
14151470 # Local variables:
1416 # eval: (add-hook 'write-file-hooks 'time-stamp)
1471 # eval: (add-hook 'before-save-hook 'time-stamp)
14171472 # time-stamp-start: "timestamp='"
14181473 # time-stamp-format: "%:y-%02m-%02d"
14191474 # time-stamp-end: "'"
00 #! /bin/sh
11 # Configuration validation subroutine script.
2 # Copyright 1992-2015 Free Software Foundation, Inc.
3
4 timestamp='2015-01-01'
2 # Copyright 1992-2018 Free Software Foundation, Inc.
3
4 timestamp='2018-05-05'
55
66 # This file is free software; you can redistribute it and/or modify it
77 # under the terms of the GNU General Public License as published by
1414 # General Public License for more details.
1515 #
1616 # You should have received a copy of the GNU General Public License
17 # along with this program; if not, see <http://www.gnu.org/licenses/>.
17 # along with this program; if not, see <https://www.gnu.org/licenses/>.
1818 #
1919 # As a special exception to the GNU General Public License, if you
2020 # distribute this file as part of a program that contains a
3232 # Otherwise, we print the canonical config type on stdout and succeed.
3333
3434 # You can get the latest version of this script from:
35 # http://git.savannah.gnu.org/gitweb/?p=config.git;a=blob_plain;f=config.sub;hb=HEAD
35 # https://git.savannah.gnu.org/gitweb/?p=config.git;a=blob_plain;f=config.sub
3636
3737 # This file is supposed to be the same for all GNU packages
3838 # and recognize all the CPU types, system types and aliases
5252 me=`echo "$0" | sed -e 's,.*/,,'`
5353
5454 usage="\
55 Usage: $0 [OPTION] CPU-MFR-OPSYS
56 $0 [OPTION] ALIAS
55 Usage: $0 [OPTION] CPU-MFR-OPSYS or ALIAS
5756
5857 Canonicalize a configuration name.
5958
60 Operation modes:
59 Options:
6160 -h, --help print this help, then exit
6261 -t, --time-stamp print date of last modification, then exit
6362 -v, --version print version number, then exit
6766 version="\
6867 GNU config.sub ($timestamp)
6968
70 Copyright 1992-2015 Free Software Foundation, Inc.
69 Copyright 1992-2018 Free Software Foundation, Inc.
7170
7271 This is free software; see the source for copying conditions. There is NO
7372 warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE."
9493
9594 *local*)
9695 # First pass through any local machine types.
97 echo $1
96 echo "$1"
9897 exit ;;
9998
10099 * )
110109 exit 1;;
111110 esac
112111
113 # Separate what the user gave into CPU-COMPANY and OS or KERNEL-OS (if any).
114 # Here we must recognize all the valid KERNEL-OS combinations.
115 maybe_os=`echo $1 | sed 's/^\(.*\)-\([^-]*-[^-]*\)$/\2/'`
116 case $maybe_os in
117 nto-qnx* | linux-gnu* | linux-android* | linux-dietlibc | linux-newlib* | \
118 linux-musl* | linux-uclibc* | uclinux-uclibc* | uclinux-gnu* | kfreebsd*-gnu* | \
119 knetbsd*-gnu* | netbsd*-gnu* | \
120 kopensolaris*-gnu* | \
121 storm-chaos* | os2-emx* | rtmk-nova*)
122 os=-$maybe_os
123 basic_machine=`echo $1 | sed 's/^\(.*\)-\([^-]*-[^-]*\)$/\1/'`
124 ;;
125 android-linux)
126 os=-linux-android
127 basic_machine=`echo $1 | sed 's/^\(.*\)-\([^-]*-[^-]*\)$/\1/'`-unknown
128 ;;
129 *)
130 basic_machine=`echo $1 | sed 's/-[^-]*$//'`
131 if [ $basic_machine != $1 ]
132 then os=`echo $1 | sed 's/.*-/-/'`
133 else os=; fi
134 ;;
112 # Spilt fields of configuration type
113 IFS="-" read -r field1 field2 field3 field4 <<EOF
114 $1
115 EOF
116
117 # Separate into logical components for further validation
118 case $1 in
119 *-*-*-*)
120 basic_machine=$field1-$field2
121 os=-$field3-$field4
122 ;;
123 *-*-*)
124 # Ambiguous whether COMPANY is present, or skipped and KERNEL-OS is two
125 # parts
126 maybe_os=$field2-$field3
127 case $maybe_os in
128 nto-qnx* | linux-gnu* | linux-android* | linux-dietlibc \
129 | linux-newlib* | linux-musl* | linux-uclibc* | uclinux-uclibc* \
130 | uclinux-gnu* | kfreebsd*-gnu* | knetbsd*-gnu* | netbsd*-gnu* \
131 | netbsd*-eabi* | kopensolaris*-gnu* | cloudabi*-eabi* \
132 | storm-chaos* | os2-emx* | rtmk-nova*)
133 basic_machine=$field1
134 os=-$maybe_os
135 ;;
136 android-linux)
137 basic_machine=$field1-unknown
138 os=-linux-android
139 ;;
140 *)
141 basic_machine=$field1-$field2
142 os=-$field3
143 ;;
144 esac
145 ;;
146 *-*)
147 basic_machine=$field1
148 os=-$field2
149 ;;
150 *)
151 basic_machine=$1
152 os=
153 ;;
135154 esac
136155
137156 ### Let's recognize common machines as not being operating systems so
178197 ;;
179198 -sco6)
180199 os=-sco5v6
181 basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'`
200 basic_machine=`echo "$1" | sed -e 's/86-.*/86-pc/'`
182201 ;;
183202 -sco5)
184203 os=-sco3.2v5
185 basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'`
204 basic_machine=`echo "$1" | sed -e 's/86-.*/86-pc/'`
186205 ;;
187206 -sco4)
188207 os=-sco3.2v4
189 basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'`
208 basic_machine=`echo "$1" | sed -e 's/86-.*/86-pc/'`
190209 ;;
191210 -sco3.2.[4-9]*)
192211 os=`echo $os | sed -e 's/sco3.2./sco3.2v/'`
193 basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'`
212 basic_machine=`echo "$1" | sed -e 's/86-.*/86-pc/'`
194213 ;;
195214 -sco3.2v[4-9]*)
196215 # Don't forget version if it is 3.2v4 or newer.
197 basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'`
216 basic_machine=`echo "$1" | sed -e 's/86-.*/86-pc/'`
198217 ;;
199218 -sco5v6*)
200219 # Don't forget version if it is 3.2v4 or newer.
201 basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'`
220 basic_machine=`echo "$1" | sed -e 's/86-.*/86-pc/'`
202221 ;;
203222 -sco*)
204223 os=-sco3.2v2
205 basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'`
224 basic_machine=`echo "$1" | sed -e 's/86-.*/86-pc/'`
206225 ;;
207226 -udk*)
208 basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'`
227 basic_machine=`echo "$1" | sed -e 's/86-.*/86-pc/'`
209228 ;;
210229 -isc)
211230 os=-isc2.2
212 basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'`
231 basic_machine=`echo "$1" | sed -e 's/86-.*/86-pc/'`
213232 ;;
214233 -clix*)
215234 basic_machine=clipper-intergraph
216235 ;;
217236 -isc*)
218 basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'`
237 basic_machine=`echo "$1" | sed -e 's/86-.*/86-pc/'`
219238 ;;
220239 -lynx*178)
221240 os=-lynxos178
227246 os=-lynxos
228247 ;;
229248 -ptx*)
230 basic_machine=`echo $1 | sed -e 's/86-.*/86-sequent/'`
231 ;;
232 -windowsnt*)
233 os=`echo $os | sed -e 's/windowsnt/winnt/'`
249 basic_machine=`echo "$1" | sed -e 's/86-.*/86-sequent/'`
234250 ;;
235251 -psos*)
236252 os=-psos
252268 | alpha64 | alpha64ev[4-8] | alpha64ev56 | alpha64ev6[78] | alpha64pca5[67] \
253269 | am33_2.0 \
254270 | arc | arceb \
255 | arm | arm[bl]e | arme[lb] | armv[2-8] | armv[3-8][lb] | armv7[arm] \
271 | arm | arm[bl]e | arme[lb] | armv[2-8] | armv[3-8][lb] | armv6m | armv[78][arm] \
256272 | avr | avr32 \
273 | ba \
257274 | be32 | be64 \
258275 | bfin \
259 | c4x | c8051 | clipper \
276 | c4x | c8051 | clipper | csky \
260277 | d10v | d30v | dlx | dsp16xx \
261 | epiphany \
278 | e2k | epiphany \
262279 | fido | fr30 | frv | ft32 \
263280 | h8300 | h8500 | hppa | hppa1.[01] | hppa2.0 | hppa2.0[nw] | hppa64 \
264281 | hexagon \
265 | i370 | i860 | i960 | ia64 \
282 | i370 | i860 | i960 | ia16 | ia64 \
266283 | ip2k | iq2000 \
267284 | k1om \
268285 | le32 | le64 \
295312 | mt \
296313 | msp430 \
297314 | nds32 | nds32le | nds32be \
315 | nfp \
298316 | nios | nios2 | nios2eb | nios2el \
299317 | ns16k | ns32k \
300318 | open8 | or1k | or1knd | or32 \
301 | pdp10 | pdp11 | pj | pjl \
319 | pdp10 | pj | pjl \
302320 | powerpc | powerpc64 | powerpc64le | powerpcle \
321 | pru \
303322 | pyramid \
304323 | riscv32 | riscv64 \
305324 | rl78 | rx \
306325 | score \
307 | sh | sh[1234] | sh[24]a | sh[24]aeb | sh[23]e | sh[34]eb | sheb | shbe | shle | sh[1234]le | sh3ele \
326 | sh | sh[1234] | sh[24]a | sh[24]aeb | sh[23]e | sh[234]eb | sheb | shbe | shle | sh[1234]le | sh3ele \
308327 | sh64 | sh64le \
309328 | sparc | sparc64 | sparc64b | sparc64v | sparc86x | sparclet | sparclite \
310329 | sparcv8 | sparcv9 | sparcv9b | sparcv9v \
313332 | ubicom32 \
314333 | v850 | v850e | v850e1 | v850e2 | v850es | v850e2v3 \
315334 | visium \
316 | we32k \
335 | wasm32 \
317336 | x86 | xc16x | xstormy16 | xtensa \
318337 | z8k | z80)
319338 basic_machine=$basic_machine-unknown
334353 basic_machine=$basic_machine-unknown
335354 os=-none
336355 ;;
337 m88110 | m680[12346]0 | m683?2 | m68360 | m5200 | v70 | w65 | z8k)
356 m88110 | m680[12346]0 | m683?2 | m68360 | m5200 | v70 | w65)
357 ;;
358 m9s12z | m68hcs12z | hcs12z | s12z)
359 basic_machine=s12z-unknown
360 os=-none
338361 ;;
339362 ms1)
340363 basic_machine=mt-unknown
363386 ;;
364387 # Object if more than one company name word.
365388 *-*-*)
366 echo Invalid configuration \`$1\': machine \`$basic_machine\' not recognized 1>&2
389 echo Invalid configuration \`"$1"\': machine \`"$basic_machine"\' not recognized 1>&2
367390 exit 1
368391 ;;
369392 # Recognize the basic CPU types with company name.
375398 | alphapca5[67]-* | alpha64pca5[67]-* | arc-* | arceb-* \
376399 | arm-* | armbe-* | armle-* | armeb-* | armv*-* \
377400 | avr-* | avr32-* \
401 | ba-* \
378402 | be32-* | be64-* \
379403 | bfin-* | bs2000-* \
380404 | c[123]* | c30-* | [cjt]90-* | c4x-* \
381 | c8051-* | clipper-* | craynv-* | cydra-* \
405 | c8051-* | clipper-* | craynv-* | csky-* | cydra-* \
382406 | d10v-* | d30v-* | dlx-* \
383 | elxsi-* \
407 | e2k-* | elxsi-* \
384408 | f30[01]-* | f700-* | fido-* | fr30-* | frv-* | fx80-* \
385409 | h8300-* | h8500-* \
386410 | hppa-* | hppa1.[01]-* | hppa2.0-* | hppa2.0[nw]-* | hppa64-* \
387411 | hexagon-* \
388 | i*86-* | i860-* | i960-* | ia64-* \
412 | i*86-* | i860-* | i960-* | ia16-* | ia64-* \
389413 | ip2k-* | iq2000-* \
390414 | k1om-* \
391415 | le32-* | le64-* \
419443 | mt-* \
420444 | msp430-* \
421445 | nds32-* | nds32le-* | nds32be-* \
446 | nfp-* \
422447 | nios-* | nios2-* | nios2eb-* | nios2el-* \
423448 | none-* | np1-* | ns16k-* | ns32k-* \
424449 | open8-* \
426451 | orion-* \
427452 | pdp10-* | pdp11-* | pj-* | pjl-* | pn-* | power-* \
428453 | powerpc-* | powerpc64-* | powerpc64le-* | powerpcle-* \
454 | pru-* \
429455 | pyramid-* \
456 | riscv32-* | riscv64-* \
430457 | rl78-* | romp-* | rs6000-* | rx-* \
431458 | sh-* | sh[1234]-* | sh[24]a-* | sh[24]aeb-* | sh[23]e-* | sh[34]eb-* | sheb-* | shbe-* \
432459 | shle-* | sh[1234]le-* | sh3ele-* | sh64-* | sh64le-* \
433460 | sparc-* | sparc64-* | sparc64b-* | sparc64v-* | sparc86x-* | sparclet-* \
434461 | sparclite-* \
435 | sparcv8-* | sparcv9-* | sparcv9b-* | sparcv9v-* | sv1-* | sx?-* \
462 | sparcv8-* | sparcv9-* | sparcv9b-* | sparcv9v-* | sv1-* | sx*-* \
436463 | tahoe-* \
437464 | tic30-* | tic4x-* | tic54x-* | tic55x-* | tic6x-* | tic80-* \
438465 | tile*-* \
441468 | v850-* | v850e-* | v850e1-* | v850es-* | v850e2-* | v850e2v3-* \
442469 | vax-* \
443470 | visium-* \
471 | wasm32-* \
444472 | we32k-* \
445473 | x86-* | x86_64-* | xc16x-* | xps100-* \
446474 | xstormy16-* | xtensa*-* \
454482 # Recognize the various machine names and aliases which stand
455483 # for a CPU type and a company and sometimes even an OS.
456484 386bsd)
457 basic_machine=i386-unknown
485 basic_machine=i386-pc
458486 os=-bsd
459487 ;;
460488 3b1 | 7300 | 7300-att | att-7300 | pc7300 | safari | unixpc)
488516 basic_machine=x86_64-pc
489517 ;;
490518 amd64-*)
491 basic_machine=x86_64-`echo $basic_machine | sed 's/^[^-]*-//'`
519 basic_machine=x86_64-`echo "$basic_machine" | sed 's/^[^-]*-//'`
492520 ;;
493521 amdahl)
494522 basic_machine=580-amdahl
517545 basic_machine=i386-pc
518546 os=-aros
519547 ;;
548 asmjs)
549 basic_machine=asmjs-unknown
550 ;;
520551 aux)
521552 basic_machine=m68k-apple
522553 os=-aux
530561 os=-linux
531562 ;;
532563 blackfin-*)
533 basic_machine=bfin-`echo $basic_machine | sed 's/^[^-]*-//'`
564 basic_machine=bfin-`echo "$basic_machine" | sed 's/^[^-]*-//'`
534565 os=-linux
535566 ;;
536567 bluegene*)
538569 os=-cnk
539570 ;;
540571 c54x-*)
541 basic_machine=tic54x-`echo $basic_machine | sed 's/^[^-]*-//'`
572 basic_machine=tic54x-`echo "$basic_machine" | sed 's/^[^-]*-//'`
542573 ;;
543574 c55x-*)
544 basic_machine=tic55x-`echo $basic_machine | sed 's/^[^-]*-//'`
575 basic_machine=tic55x-`echo "$basic_machine" | sed 's/^[^-]*-//'`
545576 ;;
546577 c6x-*)
547 basic_machine=tic6x-`echo $basic_machine | sed 's/^[^-]*-//'`
578 basic_machine=tic6x-`echo "$basic_machine" | sed 's/^[^-]*-//'`
548579 ;;
549580 c90)
550581 basic_machine=c90-cray
633664 basic_machine=rs6000-bull
634665 os=-bosx
635666 ;;
636 dpx2* | dpx2*-bull)
667 dpx2*)
637668 basic_machine=m68k-bull
638669 os=-sysv3
670 ;;
671 e500v[12])
672 basic_machine=powerpc-unknown
673 os=$os"spe"
674 ;;
675 e500v[12]-*)
676 basic_machine=powerpc-`echo "$basic_machine" | sed 's/^[^-]*-//'`
677 os=$os"spe"
639678 ;;
640679 ebmon29k)
641680 basic_machine=a29k-amd
726765 hp9k8[0-9][0-9] | hp8[0-9][0-9])
727766 basic_machine=hppa1.0-hp
728767 ;;
729 hppa-next)
730 os=-nextstep3
731 ;;
732768 hppaosf)
733769 basic_machine=hppa1.1-hp
734770 os=-osf
741777 basic_machine=i370-ibm
742778 ;;
743779 i*86v32)
744 basic_machine=`echo $1 | sed -e 's/86.*/86-pc/'`
780 basic_machine=`echo "$1" | sed -e 's/86.*/86-pc/'`
745781 os=-sysv32
746782 ;;
747783 i*86v4*)
748 basic_machine=`echo $1 | sed -e 's/86.*/86-pc/'`
784 basic_machine=`echo "$1" | sed -e 's/86.*/86-pc/'`
749785 os=-sysv4
750786 ;;
751787 i*86v)
752 basic_machine=`echo $1 | sed -e 's/86.*/86-pc/'`
788 basic_machine=`echo "$1" | sed -e 's/86.*/86-pc/'`
753789 os=-sysv
754790 ;;
755791 i*86sol2)
756 basic_machine=`echo $1 | sed -e 's/86.*/86-pc/'`
792 basic_machine=`echo "$1" | sed -e 's/86.*/86-pc/'`
757793 os=-solaris2
758794 ;;
759795 i386mach)
760796 basic_machine=i386-mach
761797 os=-mach
762798 ;;
763 i386-vsta | vsta)
799 vsta)
764800 basic_machine=i386-unknown
765801 os=-vsta
766802 ;;
779815 os=-sysv
780816 ;;
781817 leon-*|leon[3-9]-*)
782 basic_machine=sparc-`echo $basic_machine | sed 's/-.*//'`
818 basic_machine=sparc-`echo "$basic_machine" | sed 's/-.*//'`
783819 ;;
784820 m68knommu)
785821 basic_machine=m68k-unknown
786822 os=-linux
787823 ;;
788824 m68knommu-*)
789 basic_machine=m68k-`echo $basic_machine | sed 's/^[^-]*-//'`
825 basic_machine=m68k-`echo "$basic_machine" | sed 's/^[^-]*-//'`
790826 os=-linux
791 ;;
792 m88k-omron*)
793 basic_machine=m88k-omron
794827 ;;
795828 magnum | m3230)
796829 basic_machine=mips-mips
823856 os=-mint
824857 ;;
825858 mips3*-*)
826 basic_machine=`echo $basic_machine | sed -e 's/mips3/mips64/'`
859 basic_machine=`echo "$basic_machine" | sed -e 's/mips3/mips64/'`
827860 ;;
828861 mips3*)
829 basic_machine=`echo $basic_machine | sed -e 's/mips3/mips64/'`-unknown
862 basic_machine=`echo "$basic_machine" | sed -e 's/mips3/mips64/'`-unknown
830863 ;;
831864 monitor)
832865 basic_machine=m68k-rom68k
845878 os=-msdos
846879 ;;
847880 ms1-*)
848 basic_machine=`echo $basic_machine | sed -e 's/ms1-/mt-/'`
881 basic_machine=`echo "$basic_machine" | sed -e 's/ms1-/mt-/'`
849882 ;;
850883 msys)
851884 basic_machine=i686-pc
887920 basic_machine=v70-nec
888921 os=-sysv
889922 ;;
890 next | m*-next )
923 next | m*-next)
891924 basic_machine=m68k-next
892925 case $os in
893926 -nextstep* )
932965 nsr-tandem)
933966 basic_machine=nsr-tandem
934967 ;;
968 nsv-tandem)
969 basic_machine=nsv-tandem
970 ;;
971 nsx-tandem)
972 basic_machine=nsx-tandem
973 ;;
935974 op50n-* | op60c-*)
936975 basic_machine=hppa1.1-oki
937976 os=-proelf
9641003 os=-linux
9651004 ;;
9661005 parisc-*)
967 basic_machine=hppa-`echo $basic_machine | sed 's/^[^-]*-//'`
1006 basic_machine=hppa-`echo "$basic_machine" | sed 's/^[^-]*-//'`
9681007 os=-linux
9691008 ;;
9701009 pbd)
9801019 basic_machine=i386-pc
9811020 ;;
9821021 pc98-*)
983 basic_machine=i386-`echo $basic_machine | sed 's/^[^-]*-//'`
1022 basic_machine=i386-`echo "$basic_machine" | sed 's/^[^-]*-//'`
9841023 ;;
9851024 pentium | p5 | k5 | k6 | nexgen | viac3)
9861025 basic_machine=i586-pc
9951034 basic_machine=i786-pc
9961035 ;;
9971036 pentium-* | p5-* | k5-* | k6-* | nexgen-* | viac3-*)
998 basic_machine=i586-`echo $basic_machine | sed 's/^[^-]*-//'`
1037 basic_machine=i586-`echo "$basic_machine" | sed 's/^[^-]*-//'`
9991038 ;;
10001039 pentiumpro-* | p6-* | 6x86-* | athlon-*)
1001 basic_machine=i686-`echo $basic_machine | sed 's/^[^-]*-//'`
1040 basic_machine=i686-`echo "$basic_machine" | sed 's/^[^-]*-//'`
10021041 ;;
10031042 pentiumii-* | pentium2-* | pentiumiii-* | pentium3-*)
1004 basic_machine=i686-`echo $basic_machine | sed 's/^[^-]*-//'`
1043 basic_machine=i686-`echo "$basic_machine" | sed 's/^[^-]*-//'`
10051044 ;;
10061045 pentium4-*)
1007 basic_machine=i786-`echo $basic_machine | sed 's/^[^-]*-//'`
1046 basic_machine=i786-`echo "$basic_machine" | sed 's/^[^-]*-//'`
10081047 ;;
10091048 pn)
10101049 basic_machine=pn-gould
10141053 ppc | ppcbe) basic_machine=powerpc-unknown
10151054 ;;
10161055 ppc-* | ppcbe-*)
1017 basic_machine=powerpc-`echo $basic_machine | sed 's/^[^-]*-//'`
1018 ;;
1019 ppcle | powerpclittle | ppc-le | powerpc-little)
1056 basic_machine=powerpc-`echo "$basic_machine" | sed 's/^[^-]*-//'`
1057 ;;
1058 ppcle | powerpclittle)
10201059 basic_machine=powerpcle-unknown
10211060 ;;
10221061 ppcle-* | powerpclittle-*)
1023 basic_machine=powerpcle-`echo $basic_machine | sed 's/^[^-]*-//'`
1062 basic_machine=powerpcle-`echo "$basic_machine" | sed 's/^[^-]*-//'`
10241063 ;;
10251064 ppc64) basic_machine=powerpc64-unknown
10261065 ;;
1027 ppc64-* | ppc64p7-*) basic_machine=powerpc64-`echo $basic_machine | sed 's/^[^-]*-//'`
1028 ;;
1029 ppc64le | powerpc64little | ppc64-le | powerpc64-little)
1066 ppc64-*) basic_machine=powerpc64-`echo "$basic_machine" | sed 's/^[^-]*-//'`
1067 ;;
1068 ppc64le | powerpc64little)
10301069 basic_machine=powerpc64le-unknown
10311070 ;;
10321071 ppc64le-* | powerpc64little-*)
1033 basic_machine=powerpc64le-`echo $basic_machine | sed 's/^[^-]*-//'`
1072 basic_machine=powerpc64le-`echo "$basic_machine" | sed 's/^[^-]*-//'`
10341073 ;;
10351074 ps2)
10361075 basic_machine=i386-ibm
10841123 sequent)
10851124 basic_machine=i386-sequent
10861125 ;;
1087 sh)
1088 basic_machine=sh-hitachi
1089 os=-hms
1090 ;;
10911126 sh5el)
10921127 basic_machine=sh5le-unknown
10931128 ;;
1094 sh64)
1095 basic_machine=sh64-unknown
1096 ;;
1097 sparclite-wrs | simso-wrs)
1129 simso-wrs)
10981130 basic_machine=sparclite-wrs
10991131 os=-vxworks
11001132 ;;
11131145 os=-sysv4
11141146 ;;
11151147 strongarm-* | thumb-*)
1116 basic_machine=arm-`echo $basic_machine | sed 's/^[^-]*-//'`
1148 basic_machine=arm-`echo "$basic_machine" | sed 's/^[^-]*-//'`
11171149 ;;
11181150 sun2)
11191151 basic_machine=m68000-sun
12351267 basic_machine=hppa1.1-winbond
12361268 os=-proelf
12371269 ;;
1270 x64)
1271 basic_machine=x86_64-pc
1272 ;;
12381273 xbox)
12391274 basic_machine=i686-pc
12401275 os=-mingw32
12431278 basic_machine=xps100-honeywell
12441279 ;;
12451280 xscale-* | xscalee[bl]-*)
1246 basic_machine=`echo $basic_machine | sed 's/^xscale/arm/'`
1281 basic_machine=`echo "$basic_machine" | sed 's/^xscale/arm/'`
12471282 ;;
12481283 ymp)
12491284 basic_machine=ymp-cray
12501285 os=-unicos
1251 ;;
1252 z8k-*-coff)
1253 basic_machine=z8k-unknown
1254 os=-sim
1255 ;;
1256 z80-*-coff)
1257 basic_machine=z80-unknown
1258 os=-sim
12591286 ;;
12601287 none)
12611288 basic_machine=none-none
12851312 vax)
12861313 basic_machine=vax-dec
12871314 ;;
1288 pdp10)
1289 # there are many clones, so DEC is not a safe bet
1290 basic_machine=pdp10-unknown
1291 ;;
12921315 pdp11)
12931316 basic_machine=pdp11-dec
12941317 ;;
12981321 sh[1234] | sh[24]a | sh[24]aeb | sh[34]eb | sh[1234]le | sh[23]ele)
12991322 basic_machine=sh-unknown
13001323 ;;
1301 sparc | sparcv8 | sparcv9 | sparcv9b | sparcv9v)
1302 basic_machine=sparc-sun
1303 ;;
13041324 cydra)
13051325 basic_machine=cydra-cydrome
13061326 ;;
13201340 # Make sure to match an already-canonicalized machine name.
13211341 ;;
13221342 *)
1323 echo Invalid configuration \`$1\': machine \`$basic_machine\' not recognized 1>&2
1343 echo Invalid configuration \`"$1"\': machine \`"$basic_machine"\' not recognized 1>&2
13241344 exit 1
13251345 ;;
13261346 esac
13281348 # Here we canonicalize certain aliases for manufacturers.
13291349 case $basic_machine in
13301350 *-digital*)
1331 basic_machine=`echo $basic_machine | sed 's/digital.*/dec/'`
1351 basic_machine=`echo "$basic_machine" | sed 's/digital.*/dec/'`
13321352 ;;
13331353 *-commodore*)
1334 basic_machine=`echo $basic_machine | sed 's/commodore.*/cbm/'`
1354 basic_machine=`echo "$basic_machine" | sed 's/commodore.*/cbm/'`
13351355 ;;
13361356 *)
13371357 ;;
13391359
13401360 # Decode manufacturer-specific aliases for certain operating systems.
13411361
1342 if [ x"$os" != x"" ]
1362 if [ x$os != x ]
13431363 then
13441364 case $os in
1345 # First match some system type aliases
1346 # that might get confused with valid system types.
1365 # First match some system type aliases that might get confused
1366 # with valid system types.
13471367 # -solaris* is a basic system type, with this one exception.
13481368 -auroraux)
13491369 os=-auroraux
13541374 -solaris)
13551375 os=-solaris2
13561376 ;;
1357 -svr4*)
1358 os=-sysv4
1359 ;;
13601377 -unixware*)
13611378 os=-sysv4.2uw
13621379 ;;
13631380 -gnu/linux*)
13641381 os=`echo $os | sed -e 's|gnu/linux|linux-gnu|'`
13651382 ;;
1366 # First accept the basic system types.
1383 # es1800 is here to avoid being matched by es* (a different OS)
1384 -es1800*)
1385 os=-ose
1386 ;;
1387 # Now accept the basic system types.
13671388 # The portable systems comes first.
1368 # Each alternative MUST END IN A *, to match a version number.
1389 # Each alternative MUST end in a * to match a version number.
13691390 # -sysv* is not here because it comes later, after sysvr4.
13701391 -gnu* | -bsd* | -mach* | -minix* | -genix* | -ultrix* | -irix* \
13711392 | -*vms* | -sco* | -esix* | -isc* | -aix* | -cnk* | -sunos | -sunos[34]*\
13721393 | -hpux* | -unos* | -osf* | -luna* | -dgux* | -auroraux* | -solaris* \
13731394 | -sym* | -kopensolaris* | -plan9* \
13741395 | -amigaos* | -amigados* | -msdos* | -newsos* | -unicos* | -aof* \
1375 | -aos* | -aros* \
1396 | -aos* | -aros* | -cloudabi* | -sortix* \
13761397 | -nindy* | -vxsim* | -vxworks* | -ebmon* | -hms* | -mvs* \
13771398 | -clix* | -riscos* | -uniplus* | -iris* | -rtu* | -xenix* \
1378 | -hiux* | -386bsd* | -knetbsd* | -mirbsd* | -netbsd* \
1379 | -bitrig* | -openbsd* | -solidbsd* \
1399 | -hiux* | -knetbsd* | -mirbsd* | -netbsd* \
1400 | -bitrig* | -openbsd* | -solidbsd* | -libertybsd* \
13801401 | -ekkobsd* | -kfreebsd* | -freebsd* | -riscix* | -lynxos* \
13811402 | -bosx* | -nextstep* | -cxux* | -aout* | -elf* | -oabi* \
13821403 | -ptx* | -coff* | -ecoff* | -winnt* | -domain* | -vsta* \
1383 | -udi* | -eabi* | -lites* | -ieee* | -go32* | -aux* \
1384 | -chorusos* | -chorusrdb* | -cegcc* \
1404 | -udi* | -eabi* | -lites* | -ieee* | -go32* | -aux* | -hcos* \
1405 | -chorusos* | -chorusrdb* | -cegcc* | -glidix* \
13851406 | -cygwin* | -msys* | -pe* | -psos* | -moss* | -proelf* | -rtems* \
1386 | -mingw32* | -mingw64* | -linux-gnu* | -linux-android* \
1407 | -midipix* | -mingw32* | -mingw64* | -linux-gnu* | -linux-android* \
13871408 | -linux-newlib* | -linux-musl* | -linux-uclibc* \
13881409 | -uxpv* | -beos* | -mpeix* | -udk* | -moxiebox* \
1389 | -interix* | -uwin* | -mks* | -rhapsody* | -darwin* | -opened* \
1410 | -interix* | -uwin* | -mks* | -rhapsody* | -darwin* \
13901411 | -openstep* | -oskit* | -conix* | -pw32* | -nonstopux* \
13911412 | -storm-chaos* | -tops10* | -tenex* | -tops20* | -its* \
13921413 | -os2* | -vos* | -palmos* | -uclinux* | -nucleus* \
1393 | -morphos* | -superux* | -rtmk* | -rtmk-nova* | -windiss* \
1414 | -morphos* | -superux* | -rtmk* | -windiss* \
13941415 | -powermax* | -dnix* | -nx6 | -nx7 | -sei* | -dragonfly* \
1395 | -skyos* | -haiku* | -rdos* | -toppers* | -drops* | -es* | -tirtos*)
1416 | -skyos* | -haiku* | -rdos* | -toppers* | -drops* | -es* \
1417 | -onefs* | -tirtos* | -phoenix* | -fuchsia* | -redox* | -bme* \
1418 | -midnightbsd*)
13961419 # Remember, each alternative MUST END IN *, to match a version number.
13971420 ;;
13981421 -qnx*)
14091432 -nto*)
14101433 os=`echo $os | sed -e 's|nto|nto-qnx|'`
14111434 ;;
1412 -sim | -es1800* | -hms* | -xray | -os68k* | -none* | -v88r* \
1413 | -windows* | -osx | -abug | -netware* | -os9* | -beos* | -haiku* \
1435 -sim | -xray | -os68k* | -v88r* \
1436 | -windows* | -osx | -abug | -netware* | -os9* \
14141437 | -macos* | -mpw* | -magic* | -mmixware* | -mon960* | -lnews*)
14151438 ;;
14161439 -mac*)
1417 os=`echo $os | sed -e 's|mac|macos|'`
1440 os=`echo "$os" | sed -e 's|mac|macos|'`
14181441 ;;
14191442 -linux-dietlibc)
14201443 os=-linux-dietlibc
14231446 os=`echo $os | sed -e 's|linux|linux-gnu|'`
14241447 ;;
14251448 -sunos5*)
1426 os=`echo $os | sed -e 's|sunos5|solaris2|'`
1449 os=`echo "$os" | sed -e 's|sunos5|solaris2|'`
14271450 ;;
14281451 -sunos6*)
1429 os=`echo $os | sed -e 's|sunos6|solaris3|'`
1452 os=`echo "$os" | sed -e 's|sunos6|solaris3|'`
14301453 ;;
14311454 -opened*)
14321455 os=-openedition
14371460 -wince*)
14381461 os=-wince
14391462 ;;
1440 -osfrose*)
1441 os=-osfrose
1442 ;;
1443 -osf*)
1444 os=-osf
1445 ;;
14461463 -utek*)
14471464 os=-bsd
14481465 ;;
14671484 -nova*)
14681485 os=-rtmk-nova
14691486 ;;
1470 -ns2 )
1487 -ns2)
14711488 os=-nextstep2
14721489 ;;
14731490 -nsk*)
14891506 -oss*)
14901507 os=-sysv3
14911508 ;;
1492 -svr4)
1509 -svr4*)
14931510 os=-sysv4
14941511 ;;
14951512 -svr3)
15041521 -ose*)
15051522 os=-ose
15061523 ;;
1507 -es1800*)
1508 os=-ose
1509 ;;
1510 -xenix)
1511 os=-xenix
1512 ;;
15131524 -*mint | -mint[0-9]* | -*MiNT | -MiNT[0-9]*)
15141525 os=-mint
15151526 ;;
1516 -aros*)
1517 os=-aros
1518 ;;
15191527 -zvmoe)
15201528 os=-zvmoe
15211529 ;;
15221530 -dicos*)
15231531 os=-dicos
15241532 ;;
1533 -pikeos*)
1534 # Until real need of OS specific support for
1535 # particular features comes up, bare metal
1536 # configurations are quite functional.
1537 case $basic_machine in
1538 arm*)
1539 os=-eabi
1540 ;;
1541 *)
1542 os=-elf
1543 ;;
1544 esac
1545 ;;
15251546 -nacl*)
15261547 ;;
1548 -ios)
1549 ;;
15271550 -none)
1551 ;;
1552 -*-eabi)
1553 case $basic_machine in
1554 arm*)
1555 ;;
1556 esac
15281557 ;;
15291558 *)
15301559 # Get rid of the `-' at the beginning of $os.
15311560 os=`echo $os | sed 's/[^-]*-//'`
1532 echo Invalid configuration \`$1\': system \`$os\' not recognized 1>&2
1561 echo Invalid configuration \`"$1"\': system \`"$os"\' not recognized 1>&2
15331562 exit 1
15341563 ;;
15351564 esac
16191648 sparc-* | *-sun)
16201649 os=-sunos4.1.1
16211650 ;;
1651 pru-*)
1652 os=-elf
1653 ;;
16221654 *-be)
16231655 os=-beos
16241656 ;;
1625 *-haiku)
1626 os=-haiku
1627 ;;
16281657 *-ibm)
16291658 os=-aix
16301659 ;;
16641693 m88k-omron*)
16651694 os=-luna
16661695 ;;
1667 *-next )
1696 *-next)
16681697 os=-nextstep
16691698 ;;
16701699 *-sequent)
16781707 ;;
16791708 i370-*)
16801709 os=-mvs
1681 ;;
1682 *-next)
1683 os=-nextstep3
16841710 ;;
16851711 *-gould)
16861712 os=-sysv
17911817 vendor=stratus
17921818 ;;
17931819 esac
1794 basic_machine=`echo $basic_machine | sed "s/unknown/$vendor/"`
1820 basic_machine=`echo "$basic_machine" | sed "s/unknown/$vendor/"`
17951821 ;;
17961822 esac
17971823
1798 echo $basic_machine$os
1824 echo "$basic_machine$os"
17991825 exit
18001826
18011827 # Local variables:
1802 # eval: (add-hook 'write-file-hooks 'time-stamp)
1828 # eval: (add-hook 'before-save-hook 'time-stamp)
18031829 # time-stamp-start: "timestamp='"
18041830 # time-stamp-format: "%:y-%02m-%02d"
18051831 # time-stamp-end: "'"
00 #! /bin/sh
11 # depcomp - compile a program generating dependencies as side-effects
22
3 scriptversion=2013-05-30.07; # UTC
4
5 # Copyright (C) 1999-2014 Free Software Foundation, Inc.
3 scriptversion=2018-03-07.03; # UTC
4
5 # Copyright (C) 1999-2018 Free Software Foundation, Inc.
66
77 # This program is free software; you can redistribute it and/or modify
88 # it under the terms of the GNU General Public License as published by
1515 # GNU General Public License for more details.
1616
1717 # You should have received a copy of the GNU General Public License
18 # along with this program. If not, see <http://www.gnu.org/licenses/>.
18 # along with this program. If not, see <https://www.gnu.org/licenses/>.
1919
2020 # As a special exception to the GNU General Public License, if you
2121 # distribute this file as part of a program that contains a
782782 # Local Variables:
783783 # mode: shell-script
784784 # sh-indentation: 2
785 # eval: (add-hook 'write-file-hooks 'time-stamp)
785 # eval: (add-hook 'before-save-hook 'time-stamp)
786786 # time-stamp-start: "scriptversion="
787787 # time-stamp-format: "%:y-%02m-%02d.%02H"
788 # time-stamp-time-zone: "UTC"
788 # time-stamp-time-zone: "UTC0"
789789 # time-stamp-end: "; # UTC"
790790 # End:
00 #!/bin/sh
11 # install - install a program, script, or datafile
22
3 scriptversion=2013-12-25.23; # UTC
3 scriptversion=2018-03-11.20; # UTC
44
55 # This originates from X11R5 (mit/util/scripts/install.sh), which was
66 # later released in X11R6 (xc/config/util/install.sh) with the
270270 fi
271271 dst=$dst_arg
272272
273 # If destination is a directory, append the input filename; won't work
274 # if double slashes aren't ignored.
273 # If destination is a directory, append the input filename.
275274 if test -d "$dst"; then
276275 if test "$is_target_a_directory" = never; then
277276 echo "$0: $dst_arg: Is a directory" >&2
278277 exit 1
279278 fi
280279 dstdir=$dst
281 dst=$dstdir/`basename "$src"`
280 dstbase=`basename "$src"`
281 case $dst in
282 */) dst=$dst$dstbase;;
283 *) dst=$dst/$dstbase;;
284 esac
282285 dstdir_status=0
283286 else
284287 dstdir=`dirname "$dst"`
286289 dstdir_status=$?
287290 fi
288291 fi
292
293 case $dstdir in
294 */) dstdirslash=$dstdir;;
295 *) dstdirslash=$dstdir/;;
296 esac
289297
290298 obsolete_mkdir_used=false
291299
323331 # is incompatible with FreeBSD 'install' when (umask & 300) != 0.
324332 ;;
325333 *)
334 # Note that $RANDOM variable is not portable (e.g. dash); Use it
335 # here however when possible just to lower collision chance.
326336 tmpdir=${TMPDIR-/tmp}/ins$RANDOM-$$
327 trap 'ret=$?; rmdir "$tmpdir/d" "$tmpdir" 2>/dev/null; exit $ret' 0
328
337
338 trap 'ret=$?; rmdir "$tmpdir/a/b" "$tmpdir/a" "$tmpdir" 2>/dev/null; exit $ret' 0
339
340 # Because "mkdir -p" follows existing symlinks and we likely work
341 # directly in world-writeable /tmp, make sure that the '$tmpdir'
342 # directory is successfully created first before we actually test
343 # 'mkdir -p' feature.
329344 if (umask $mkdir_umask &&
330 exec $mkdirprog $mkdir_mode -p -- "$tmpdir/d") >/dev/null 2>&1
345 $mkdirprog $mkdir_mode "$tmpdir" &&
346 exec $mkdirprog $mkdir_mode -p -- "$tmpdir/a/b") >/dev/null 2>&1
331347 then
332348 if test -z "$dir_arg" || {
333349 # Check for POSIX incompatibilities with -m.
334350 # HP-UX 11.23 and IRIX 6.5 mkdir -m -p sets group- or
335351 # other-writable bit of parent directory when it shouldn't.
336352 # FreeBSD 6.1 mkdir -m -p sets mode of existing directory.
337 ls_ld_tmpdir=`ls -ld "$tmpdir"`
353 test_tmpdir="$tmpdir/a"
354 ls_ld_tmpdir=`ls -ld "$test_tmpdir"`
338355 case $ls_ld_tmpdir in
339356 d????-?r-*) different_mode=700;;
340357 d????-?--*) different_mode=755;;
341358 *) false;;
342359 esac &&
343 $mkdirprog -m$different_mode -p -- "$tmpdir" && {
344 ls_ld_tmpdir_1=`ls -ld "$tmpdir"`
360 $mkdirprog -m$different_mode -p -- "$test_tmpdir" && {
361 ls_ld_tmpdir_1=`ls -ld "$test_tmpdir"`
345362 test "$ls_ld_tmpdir" = "$ls_ld_tmpdir_1"
346363 }
347364 }
348365 then posix_mkdir=:
349366 fi
350 rmdir "$tmpdir/d" "$tmpdir"
367 rmdir "$tmpdir/a/b" "$tmpdir/a" "$tmpdir"
351368 else
352369 # Remove any dirs left behind by ancient mkdir implementations.
353 rmdir ./$mkdir_mode ./-p ./-- 2>/dev/null
370 rmdir ./$mkdir_mode ./-p ./-- "$tmpdir" 2>/dev/null
354371 fi
355372 trap '' 0;;
356373 esac;;
426443 else
427444
428445 # Make a couple of temp file names in the proper directory.
429 dsttmp=$dstdir/_inst.$$_
430 rmtmp=$dstdir/_rm.$$_
446 dsttmp=${dstdirslash}_inst.$$_
447 rmtmp=${dstdirslash}_rm.$$_
431448
432449 # Trap to clean up those temp files at exit.
433450 trap 'ret=$?; rm -f "$dsttmp" "$rmtmp" && exit $ret' 0
492509 done
493510
494511 # Local variables:
495 # eval: (add-hook 'write-file-hooks 'time-stamp)
512 # eval: (add-hook 'before-save-hook 'time-stamp)
496513 # time-stamp-start: "scriptversion="
497514 # time-stamp-format: "%:y-%02m-%02d.%02H"
498 # time-stamp-time-zone: "UTC"
515 # time-stamp-time-zone: "UTC0"
499516 # time-stamp-end: "; # UTC"
500517 # End:
21232123 # a configuration failure hint, and exit.
21242124 func_fatal_configuration ()
21252125 {
2126 func__fatal_error ${1+"$@"} \
2126 func_fatal_error ${1+"$@"} \
21272127 "See the $PACKAGE documentation for more information." \
21282128 "Fatal configuration error."
21292129 }
72717271 # -tp=* Portland pgcc target processor selection
72727272 # --sysroot=* for sysroot support
72737273 # -O*, -g*, -flto*, -fwhopr*, -fuse-linker-plugin GCC link-time optimization
7274 # -specs=* GCC specs files
72747275 # -stdlib=* select c++ std lib with clang
72757276 -64|-mips[0-9]|-r[0-9][0-9]*|-xarch=*|-xtarget=*|+DA*|+DD*|-q*|-m*| \
72767277 -t[45]*|-txscale*|-p|-pg|--coverage|-fprofile-*|-F*|@*|-tp=*|--sysroot=*| \
7277 -O*|-g*|-flto*|-fwhopr*|-fuse-linker-plugin|-fstack-protector*|-stdlib=*)
7278 -O*|-g*|-flto*|-fwhopr*|-fuse-linker-plugin|-fstack-protector*|-stdlib=*| \
7279 -specs=*)
72787280 func_quote_for_eval "$arg"
72797281 arg=$func_quote_for_eval_result
72807282 func_append compile_command " $arg"
00 #! /bin/sh
11 # Common wrapper for a few potentially missing GNU programs.
22
3 scriptversion=2013-10-28.13; # UTC
4
5 # Copyright (C) 1996-2014 Free Software Foundation, Inc.
3 scriptversion=2018-03-07.03; # UTC
4
5 # Copyright (C) 1996-2018 Free Software Foundation, Inc.
66 # Originally written by Fran,cois Pinard <pinard@iro.umontreal.ca>, 1996.
77
88 # This program is free software; you can redistribute it and/or modify
1616 # GNU General Public License for more details.
1717
1818 # You should have received a copy of the GNU General Public License
19 # along with this program. If not, see <http://www.gnu.org/licenses/>.
19 # along with this program. If not, see <https://www.gnu.org/licenses/>.
2020
2121 # As a special exception to the GNU General Public License, if you
2222 # distribute this file as part of a program that contains a
100100 exit $st
101101 fi
102102
103 perl_URL=http://www.perl.org/
104 flex_URL=http://flex.sourceforge.net/
105 gnu_software_URL=http://www.gnu.org/software
103 perl_URL=https://www.perl.org/
104 flex_URL=https://github.com/westes/flex
105 gnu_software_URL=https://www.gnu.org/software
106106
107107 program_details ()
108108 {
206206 exit $st
207207
208208 # Local variables:
209 # eval: (add-hook 'write-file-hooks 'time-stamp)
209 # eval: (add-hook 'before-save-hook 'time-stamp)
210210 # time-stamp-start: "scriptversion="
211211 # time-stamp-format: "%:y-%02m-%02d.%02H"
212 # time-stamp-time-zone: "UTC"
212 # time-stamp-time-zone: "UTC0"
213213 # time-stamp-end: "; # UTC"
214214 # End:
00 #! /bin/sh
11 # test-driver - basic testsuite driver script.
22
3 scriptversion=2013-07-13.22; # UTC
3 scriptversion=2018-03-07.03; # UTC
44
5 # Copyright (C) 2011-2014 Free Software Foundation, Inc.
5 # Copyright (C) 2011-2018 Free Software Foundation, Inc.
66 #
77 # This program is free software; you can redistribute it and/or modify
88 # it under the terms of the GNU General Public License as published by
1515 # GNU General Public License for more details.
1616 #
1717 # You should have received a copy of the GNU General Public License
18 # along with this program. If not, see <http://www.gnu.org/licenses/>.
18 # along with this program. If not, see <https://www.gnu.org/licenses/>.
1919
2020 # As a special exception to the GNU General Public License, if you
2121 # distribute this file as part of a program that contains a
139139 # Local Variables:
140140 # mode: shell-script
141141 # sh-indentation: 2
142 # eval: (add-hook 'write-file-hooks 'time-stamp)
142 # eval: (add-hook 'before-save-hook 'time-stamp)
143143 # time-stamp-start: "scriptversion="
144144 # time-stamp-format: "%:y-%02m-%02d.%02H"
145 # time-stamp-time-zone: "UTC"
145 # time-stamp-time-zone: "UTC0"
146146 # time-stamp-end: "; # UTC"
147147 # End:
0 # Makefile.in generated by automake 1.15 from Makefile.am.
0 # Makefile.in generated by automake 1.16.1 from Makefile.am.
11 # @configure_input@
22
3 # Copyright (C) 1994-2014 Free Software Foundation, Inc.
3 # Copyright (C) 1994-2018 Free Software Foundation, Inc.
44
55 # This Makefile.in is free software; the Free Software Foundation
66 # gives unlimited permission to copy and/or distribute it,
137137 am__v_at_1 =
138138 DEFAULT_INCLUDES = -I.@am__isrc@ -I$(top_builddir)
139139 depcomp = $(SHELL) $(top_srcdir)/admin/depcomp
140 am__depfiles_maybe = depfiles
140 am__maybe_remake_depfiles = depfiles
141 am__depfiles_remade = ./$(DEPDIR)/hdrl_cat_apclust.Plo \
142 ./$(DEPDIR)/hdrl_cat_apio.Plo ./$(DEPDIR)/hdrl_cat_apline.Plo \
143 ./$(DEPDIR)/hdrl_cat_areals.Plo \
144 ./$(DEPDIR)/hdrl_cat_background.Plo \
145 ./$(DEPDIR)/hdrl_cat_casu.Plo \
146 ./$(DEPDIR)/hdrl_cat_classify.Plo \
147 ./$(DEPDIR)/hdrl_cat_conf.Plo ./$(DEPDIR)/hdrl_cat_extend.Plo \
148 ./$(DEPDIR)/hdrl_cat_filter.Plo \
149 ./$(DEPDIR)/hdrl_cat_moments.Plo \
150 ./$(DEPDIR)/hdrl_cat_overlp.Plo ./$(DEPDIR)/hdrl_cat_phopt.Plo \
151 ./$(DEPDIR)/hdrl_cat_polynm.Plo ./$(DEPDIR)/hdrl_cat_radii.Plo \
152 ./$(DEPDIR)/hdrl_cat_seeing.Plo ./$(DEPDIR)/hdrl_cat_solve.Plo \
153 ./$(DEPDIR)/hdrl_cat_statistics.Plo \
154 ./$(DEPDIR)/hdrl_cat_table.Plo \
155 ./$(DEPDIR)/hdrl_cat_terminate.Plo \
156 ./$(DEPDIR)/hdrl_cat_utils.Plo \
157 ./$(DEPDIR)/hdrl_cat_utils_sort.Plo
141158 am__mv = mv -f
142159 COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \
143160 $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
180197 $(RECURSIVE_CLEAN_TARGETS) \
181198 $(am__extra_recursive_targets)
182199 AM_RECURSIVE_TARGETS = $(am__recursive_targets:-recursive=) TAGS CTAGS \
183 distdir
200 distdir distdir-am
184201 am__tagged_files = $(HEADERS) $(SOURCES) $(TAGS_FILES) $(LISP)
185202 # Read a list of newline-separated strings from the standard input,
186203 # and print each of them once, without duplicates. Input order is
457474 *config.status*) \
458475 cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \
459476 *) \
460 echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \
461 cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \
477 echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__maybe_remake_depfiles)'; \
478 cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__maybe_remake_depfiles);; \
462479 esac;
463480
464481 $(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
490507 distclean-compile:
491508 -rm -f *.tab.c
492509
493 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/hdrl_cat_apclust.Plo@am__quote@
494 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/hdrl_cat_apio.Plo@am__quote@
495 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/hdrl_cat_apline.Plo@am__quote@
496 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/hdrl_cat_areals.Plo@am__quote@
497 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/hdrl_cat_background.Plo@am__quote@
498 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/hdrl_cat_casu.Plo@am__quote@
499 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/hdrl_cat_classify.Plo@am__quote@
500 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/hdrl_cat_conf.Plo@am__quote@
501 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/hdrl_cat_extend.Plo@am__quote@
502 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/hdrl_cat_filter.Plo@am__quote@
503 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/hdrl_cat_moments.Plo@am__quote@
504 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/hdrl_cat_overlp.Plo@am__quote@
505 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/hdrl_cat_phopt.Plo@am__quote@
506 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/hdrl_cat_polynm.Plo@am__quote@
507 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/hdrl_cat_radii.Plo@am__quote@
508 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/hdrl_cat_seeing.Plo@am__quote@
509 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/hdrl_cat_solve.Plo@am__quote@
510 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/hdrl_cat_statistics.Plo@am__quote@
511 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/hdrl_cat_table.Plo@am__quote@
512 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/hdrl_cat_terminate.Plo@am__quote@
513 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/hdrl_cat_utils.Plo@am__quote@
514 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/hdrl_cat_utils_sort.Plo@am__quote@
510 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/hdrl_cat_apclust.Plo@am__quote@ # am--include-marker
511 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/hdrl_cat_apio.Plo@am__quote@ # am--include-marker
512 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/hdrl_cat_apline.Plo@am__quote@ # am--include-marker
513 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/hdrl_cat_areals.Plo@am__quote@ # am--include-marker
514 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/hdrl_cat_background.Plo@am__quote@ # am--include-marker
515 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/hdrl_cat_casu.Plo@am__quote@ # am--include-marker
516 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/hdrl_cat_classify.Plo@am__quote@ # am--include-marker
517 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/hdrl_cat_conf.Plo@am__quote@ # am--include-marker
518 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/hdrl_cat_extend.Plo@am__quote@ # am--include-marker
519 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/hdrl_cat_filter.Plo@am__quote@ # am--include-marker
520 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/hdrl_cat_moments.Plo@am__quote@ # am--include-marker
521 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/hdrl_cat_overlp.Plo@am__quote@ # am--include-marker
522 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/hdrl_cat_phopt.Plo@am__quote@ # am--include-marker
523 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/hdrl_cat_polynm.Plo@am__quote@ # am--include-marker
524 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/hdrl_cat_radii.Plo@am__quote@ # am--include-marker
525 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/hdrl_cat_seeing.Plo@am__quote@ # am--include-marker
526 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/hdrl_cat_solve.Plo@am__quote@ # am--include-marker
527 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/hdrl_cat_statistics.Plo@am__quote@ # am--include-marker
528 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/hdrl_cat_table.Plo@am__quote@ # am--include-marker
529 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/hdrl_cat_terminate.Plo@am__quote@ # am--include-marker
530 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/hdrl_cat_utils.Plo@am__quote@ # am--include-marker
531 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/hdrl_cat_utils_sort.Plo@am__quote@ # am--include-marker
532
533 $(am__depfiles_remade):
534 @$(MKDIR_P) $(@D)
535 @echo '# dummy' >$@-t && $(am__mv) $@-t $@
536
537 am--depfiles: $(am__depfiles_remade)
515538
516539 .c.o:
517540 @am__fastdepCC_TRUE@ $(AM_V_CC)$(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $<
639662 distclean-tags:
640663 -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
641664
642 distdir: $(DISTFILES)
665 distdir: $(BUILT_SOURCES)
666 $(MAKE) $(AM_MAKEFLAGS) distdir-am
667
668 distdir-am: $(DISTFILES)
643669 @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
644670 topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
645671 list='$(DISTFILES)'; \
737763 mostlyclean-am
738764
739765 distclean: distclean-recursive
740 -rm -rf ./$(DEPDIR)
766 -rm -f ./$(DEPDIR)/hdrl_cat_apclust.Plo
767 -rm -f ./$(DEPDIR)/hdrl_cat_apio.Plo
768 -rm -f ./$(DEPDIR)/hdrl_cat_apline.Plo
769 -rm -f ./$(DEPDIR)/hdrl_cat_areals.Plo
770 -rm -f ./$(DEPDIR)/hdrl_cat_background.Plo
771 -rm -f ./$(DEPDIR)/hdrl_cat_casu.Plo
772 -rm -f ./$(DEPDIR)/hdrl_cat_classify.Plo
773 -rm -f ./$(DEPDIR)/hdrl_cat_conf.Plo
774 -rm -f ./$(DEPDIR)/hdrl_cat_extend.Plo
775 -rm -f ./$(DEPDIR)/hdrl_cat_filter.Plo
776 -rm -f ./$(DEPDIR)/hdrl_cat_moments.Plo
777 -rm -f ./$(DEPDIR)/hdrl_cat_overlp.Plo
778 -rm -f ./$(DEPDIR)/hdrl_cat_phopt.Plo
779 -rm -f ./$(DEPDIR)/hdrl_cat_polynm.Plo
780 -rm -f ./$(DEPDIR)/hdrl_cat_radii.Plo
781 -rm -f ./$(DEPDIR)/hdrl_cat_seeing.Plo
782 -rm -f ./$(DEPDIR)/hdrl_cat_solve.Plo
783 -rm -f ./$(DEPDIR)/hdrl_cat_statistics.Plo
784 -rm -f ./$(DEPDIR)/hdrl_cat_table.Plo
785 -rm -f ./$(DEPDIR)/hdrl_cat_terminate.Plo
786 -rm -f ./$(DEPDIR)/hdrl_cat_utils.Plo
787 -rm -f ./$(DEPDIR)/hdrl_cat_utils_sort.Plo
741788 -rm -f Makefile
742789 distclean-am: clean-am distclean-compile distclean-generic \
743790 distclean-tags
783830 installcheck-am:
784831
785832 maintainer-clean: maintainer-clean-recursive
786 -rm -rf ./$(DEPDIR)
833 -rm -f ./$(DEPDIR)/hdrl_cat_apclust.Plo
834 -rm -f ./$(DEPDIR)/hdrl_cat_apio.Plo
835 -rm -f ./$(DEPDIR)/hdrl_cat_apline.Plo
836 -rm -f ./$(DEPDIR)/hdrl_cat_areals.Plo
837 -rm -f ./$(DEPDIR)/hdrl_cat_background.Plo
838 -rm -f ./$(DEPDIR)/hdrl_cat_casu.Plo
839 -rm -f ./$(DEPDIR)/hdrl_cat_classify.Plo
840 -rm -f ./$(DEPDIR)/hdrl_cat_conf.Plo
841 -rm -f ./$(DEPDIR)/hdrl_cat_extend.Plo
842 -rm -f ./$(DEPDIR)/hdrl_cat_filter.Plo
843 -rm -f ./$(DEPDIR)/hdrl_cat_moments.Plo
844 -rm -f ./$(DEPDIR)/hdrl_cat_overlp.Plo
845 -rm -f ./$(DEPDIR)/hdrl_cat_phopt.Plo
846 -rm -f ./$(DEPDIR)/hdrl_cat_polynm.Plo
847 -rm -f ./$(DEPDIR)/hdrl_cat_radii.Plo
848 -rm -f ./$(DEPDIR)/hdrl_cat_seeing.Plo
849 -rm -f ./$(DEPDIR)/hdrl_cat_solve.Plo
850 -rm -f ./$(DEPDIR)/hdrl_cat_statistics.Plo
851 -rm -f ./$(DEPDIR)/hdrl_cat_table.Plo
852 -rm -f ./$(DEPDIR)/hdrl_cat_terminate.Plo
853 -rm -f ./$(DEPDIR)/hdrl_cat_utils.Plo
854 -rm -f ./$(DEPDIR)/hdrl_cat_utils_sort.Plo
787855 -rm -f Makefile
788856 maintainer-clean-am: distclean-am maintainer-clean-generic
789857
804872
805873 .MAKE: $(am__recursive_targets) install-am install-strip
806874
807 .PHONY: $(am__recursive_targets) CTAGS GTAGS TAGS all all-am check \
808 check-am clean clean-generic clean-libtool \
875 .PHONY: $(am__recursive_targets) CTAGS GTAGS TAGS all all-am \
876 am--depfiles check check-am clean clean-generic clean-libtool \
809877 clean-noinstLTLIBRARIES cscopelist-am ctags ctags-am distclean \
810878 distclean-compile distclean-generic distclean-libtool \
811879 distclean-tags distdir dvi dvi-am html html-am info info-am \
0 # Makefile.in generated by automake 1.15 from Makefile.am.
0 # Makefile.in generated by automake 1.16.1 from Makefile.am.
11 # @configure_input@
22
3 # Copyright (C) 1994-2014 Free Software Foundation, Inc.
3 # Copyright (C) 1994-2018 Free Software Foundation, Inc.
44
55 # This Makefile.in is free software; the Free Software Foundation
66 # gives unlimited permission to copy and/or distribute it,
268268 am__v_at_1 =
269269 DEFAULT_INCLUDES = -I.@am__isrc@ -I$(top_builddir)
270270 depcomp = $(SHELL) $(top_srcdir)/admin/depcomp
271 am__depfiles_maybe = depfiles
271 am__maybe_remake_depfiles = depfiles
272 am__depfiles_remade = ./$(DEPDIR)/hdrl_cat_apio-test.Po \
273 ./$(DEPDIR)/hdrl_cat_areals-test.Po \
274 ./$(DEPDIR)/hdrl_cat_background-test.Po \
275 ./$(DEPDIR)/hdrl_cat_casu-test.Po \
276 ./$(DEPDIR)/hdrl_cat_casu_addmul-test.Po \
277 ./$(DEPDIR)/hdrl_cat_casu_bkg_badpatch-test.Po \
278 ./$(DEPDIR)/hdrl_cat_classify-test.Po \
279 ./$(DEPDIR)/hdrl_cat_conf-test.Po \
280 ./$(DEPDIR)/hdrl_cat_filter-test.Po \
281 ./$(DEPDIR)/hdrl_cat_moments-test.Po \
282 ./$(DEPDIR)/hdrl_cat_overlp-test.Po \
283 ./$(DEPDIR)/hdrl_cat_phopt-test.Po \
284 ./$(DEPDIR)/hdrl_cat_polynm-test.Po \
285 ./$(DEPDIR)/hdrl_cat_radii-test.Po \
286 ./$(DEPDIR)/hdrl_cat_seeing-test.Po \
287 ./$(DEPDIR)/hdrl_cat_sim_montecarlo-test.Po \
288 ./$(DEPDIR)/hdrl_cat_terminate-test.Po \
289 ./$(DEPDIR)/hdrl_cat_utils_sort-test.Po
272290 am__mv = mv -f
273291 COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \
274292 $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
752770 *config.status*) \
753771 cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \
754772 *) \
755 echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \
756 cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \
773 echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__maybe_remake_depfiles)'; \
774 cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__maybe_remake_depfiles);; \
757775 esac;
758776
759777 $(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
852870 distclean-compile:
853871 -rm -f *.tab.c
854872
855 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/hdrl_cat_apio-test.Po@am__quote@
856 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/hdrl_cat_areals-test.Po@am__quote@
857 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/hdrl_cat_background-test.Po@am__quote@
858 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/hdrl_cat_casu-test.Po@am__quote@
859 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/hdrl_cat_casu_addmul-test.Po@am__quote@
860 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/hdrl_cat_casu_bkg_badpatch-test.Po@am__quote@
861 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/hdrl_cat_classify-test.Po@am__quote@
862 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/hdrl_cat_conf-test.Po@am__quote@
863 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/hdrl_cat_filter-test.Po@am__quote@
864 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/hdrl_cat_moments-test.Po@am__quote@
865 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/hdrl_cat_overlp-test.Po@am__quote@
866 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/hdrl_cat_phopt-test.Po@am__quote@
867 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/hdrl_cat_polynm-test.Po@am__quote@
868 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/hdrl_cat_radii-test.Po@am__quote@
869 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/hdrl_cat_seeing-test.Po@am__quote@
870 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/hdrl_cat_sim_montecarlo-test.Po@am__quote@
871 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/hdrl_cat_terminate-test.Po@am__quote@
872 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/hdrl_cat_utils_sort-test.Po@am__quote@
873 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/hdrl_cat_apio-test.Po@am__quote@ # am--include-marker
874 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/hdrl_cat_areals-test.Po@am__quote@ # am--include-marker
875 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/hdrl_cat_background-test.Po@am__quote@ # am--include-marker
876 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/hdrl_cat_casu-test.Po@am__quote@ # am--include-marker
877 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/hdrl_cat_casu_addmul-test.Po@am__quote@ # am--include-marker
878 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/hdrl_cat_casu_bkg_badpatch-test.Po@am__quote@ # am--include-marker
879 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/hdrl_cat_classify-test.Po@am__quote@ # am--include-marker
880 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/hdrl_cat_conf-test.Po@am__quote@ # am--include-marker
881 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/hdrl_cat_filter-test.Po@am__quote@ # am--include-marker
882 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/hdrl_cat_moments-test.Po@am__quote@ # am--include-marker
883 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/hdrl_cat_overlp-test.Po@am__quote@ # am--include-marker
884 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/hdrl_cat_phopt-test.Po@am__quote@ # am--include-marker
885 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/hdrl_cat_polynm-test.Po@am__quote@ # am--include-marker
886 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/hdrl_cat_radii-test.Po@am__quote@ # am--include-marker
887 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/hdrl_cat_seeing-test.Po@am__quote@ # am--include-marker
888 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/hdrl_cat_sim_montecarlo-test.Po@am__quote@ # am--include-marker
889 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/hdrl_cat_terminate-test.Po@am__quote@ # am--include-marker
890 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/hdrl_cat_utils_sort-test.Po@am__quote@ # am--include-marker
891
892 $(am__depfiles_remade):
893 @$(MKDIR_P) $(@D)
894 @echo '# dummy' >$@-t && $(am__mv) $@-t $@
895
896 am--depfiles: $(am__depfiles_remade)
873897
874898 .c.o:
875899 @am__fastdepCC_TRUE@ $(AM_V_CC)$(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $<
10701094 fi; \
10711095 $$success || exit 1
10721096
1073 check-TESTS:
1097 check-TESTS: $(check_PROGRAMS)
10741098 @list='$(RECHECK_LOGS)'; test -z "$$list" || rm -f $$list
10751099 @list='$(RECHECK_LOGS:.log=.trs)'; test -z "$$list" || rm -f $$list
10761100 @test -z "$(TEST_SUITE_LOG)" || rm -f $(TEST_SUITE_LOG)
12321256 @am__EXEEXT_TRUE@ $(am__common_driver_flags) $(AM_TEST_LOG_DRIVER_FLAGS) $(TEST_LOG_DRIVER_FLAGS) -- $(TEST_LOG_COMPILE) \
12331257 @am__EXEEXT_TRUE@ "$$tst" $(AM_TESTS_FD_REDIRECT)
12341258
1235 distdir: $(DISTFILES)
1259 distdir: $(BUILT_SOURCES)
1260 $(MAKE) $(AM_MAKEFLAGS) distdir-am
1261
1262 distdir-am: $(DISTFILES)
12361263 @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
12371264 topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
12381265 list='$(DISTFILES)'; \
13091336 mostlyclean-am
13101337
13111338 distclean: distclean-am
1312 -rm -rf ./$(DEPDIR)
1339 -rm -f ./$(DEPDIR)/hdrl_cat_apio-test.Po
1340 -rm -f ./$(DEPDIR)/hdrl_cat_areals-test.Po
1341 -rm -f ./$(DEPDIR)/hdrl_cat_background-test.Po
1342 -rm -f ./$(DEPDIR)/hdrl_cat_casu-test.Po
1343 -rm -f ./$(DEPDIR)/hdrl_cat_casu_addmul-test.Po
1344 -rm -f ./$(DEPDIR)/hdrl_cat_casu_bkg_badpatch-test.Po
1345 -rm -f ./$(DEPDIR)/hdrl_cat_classify-test.Po
1346 -rm -f ./$(DEPDIR)/hdrl_cat_conf-test.Po
1347 -rm -f ./$(DEPDIR)/hdrl_cat_filter-test.Po
1348 -rm -f ./$(DEPDIR)/hdrl_cat_moments-test.Po
1349 -rm -f ./$(DEPDIR)/hdrl_cat_overlp-test.Po
1350 -rm -f ./$(DEPDIR)/hdrl_cat_phopt-test.Po
1351 -rm -f ./$(DEPDIR)/hdrl_cat_polynm-test.Po
1352 -rm -f ./$(DEPDIR)/hdrl_cat_radii-test.Po
1353 -rm -f ./$(DEPDIR)/hdrl_cat_seeing-test.Po
1354 -rm -f ./$(DEPDIR)/hdrl_cat_sim_montecarlo-test.Po
1355 -rm -f ./$(DEPDIR)/hdrl_cat_terminate-test.Po
1356 -rm -f ./$(DEPDIR)/hdrl_cat_utils_sort-test.Po
13131357 -rm -f Makefile
13141358 distclean-am: clean-am distclean-compile distclean-generic \
13151359 distclean-tags
13551399 installcheck-am:
13561400
13571401 maintainer-clean: maintainer-clean-am
1358 -rm -rf ./$(DEPDIR)
1402 -rm -f ./$(DEPDIR)/hdrl_cat_apio-test.Po
1403 -rm -f ./$(DEPDIR)/hdrl_cat_areals-test.Po
1404 -rm -f ./$(DEPDIR)/hdrl_cat_background-test.Po
1405 -rm -f ./$(DEPDIR)/hdrl_cat_casu-test.Po
1406 -rm -f ./$(DEPDIR)/hdrl_cat_casu_addmul-test.Po
1407 -rm -f ./$(DEPDIR)/hdrl_cat_casu_bkg_badpatch-test.Po
1408 -rm -f ./$(DEPDIR)/hdrl_cat_classify-test.Po
1409 -rm -f ./$(DEPDIR)/hdrl_cat_conf-test.Po
1410 -rm -f ./$(DEPDIR)/hdrl_cat_filter-test.Po
1411 -rm -f ./$(DEPDIR)/hdrl_cat_moments-test.Po
1412 -rm -f ./$(DEPDIR)/hdrl_cat_overlp-test.Po
1413 -rm -f ./$(DEPDIR)/hdrl_cat_phopt-test.Po
1414 -rm -f ./$(DEPDIR)/hdrl_cat_polynm-test.Po
1415 -rm -f ./$(DEPDIR)/hdrl_cat_radii-test.Po
1416 -rm -f ./$(DEPDIR)/hdrl_cat_seeing-test.Po
1417 -rm -f ./$(DEPDIR)/hdrl_cat_sim_montecarlo-test.Po
1418 -rm -f ./$(DEPDIR)/hdrl_cat_terminate-test.Po
1419 -rm -f ./$(DEPDIR)/hdrl_cat_utils_sort-test.Po
13591420 -rm -f Makefile
13601421 maintainer-clean-am: distclean-am maintainer-clean-generic
13611422
13761437
13771438 .MAKE: check-am install-am install-strip
13781439
1379 .PHONY: CTAGS GTAGS TAGS all all-am check check-TESTS check-am clean \
1380 clean-checkPROGRAMS clean-generic clean-libtool clean-local \
1381 cscopelist-am ctags ctags-am distclean distclean-compile \
1382 distclean-generic distclean-libtool distclean-tags distdir dvi \
1383 dvi-am html html-am info info-am install install-am \
1384 install-data install-data-am install-dvi install-dvi-am \
1385 install-exec install-exec-am install-html install-html-am \
1386 install-info install-info-am install-man install-pdf \
1387 install-pdf-am install-ps install-ps-am install-strip \
1388 installcheck installcheck-am installdirs maintainer-clean \
1389 maintainer-clean-generic mostlyclean mostlyclean-compile \
1390 mostlyclean-generic mostlyclean-libtool pdf pdf-am ps ps-am \
1391 recheck tags tags-am uninstall uninstall-am
1440 .PHONY: CTAGS GTAGS TAGS all all-am am--depfiles check check-TESTS \
1441 check-am clean clean-checkPROGRAMS clean-generic clean-libtool \
1442 clean-local cscopelist-am ctags ctags-am distclean \
1443 distclean-compile distclean-generic distclean-libtool \
1444 distclean-tags distdir dvi dvi-am html html-am info info-am \
1445 install install-am install-data install-data-am install-dvi \
1446 install-dvi-am install-exec install-exec-am install-html \
1447 install-html-am install-info install-info-am install-man \
1448 install-pdf install-pdf-am install-ps install-ps-am \
1449 install-strip installcheck installcheck-am installdirs \
1450 maintainer-clean maintainer-clean-generic mostlyclean \
1451 mostlyclean-compile mostlyclean-generic mostlyclean-libtool \
1452 pdf pdf-am ps ps-am recheck tags tags-am uninstall \
1453 uninstall-am
13921454
13931455 .PRECIOUS: Makefile
13941456
686686 AMDEPBACKSLASH
687687 AMDEP_FALSE
688688 AMDEP_TRUE
689 am__quote
690689 am__include
691690 DEPDIR
692691 OBJEXT
785784 PACKAGE_TARNAME
786785 PACKAGE_NAME
787786 PATH_SEPARATOR
788 SHELL'
787 SHELL
788 am__quote'
789789 ac_subst_files=''
790790 ac_user_opts='
791791 enable_option_checking
24822482 NONENONEs,x,x, &&
24832483 program_prefix=${target_alias}-
24842484
2485 am__api_version='1.15'
2485 am__api_version='1.16'
24862486
24872487 # Find a good install program. We prefer a C program (faster),
24882488 # so one script is as good as another. But avoid the broken or
29982998
29992999 # For better backward compatibility. To be removed once Automake 1.9.x
30003000 # dies out for good. For more background, see:
3001 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
3002 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
3001 # <https://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
3002 # <https://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
30033003 mkdir_p='$(MKDIR_P)'
30043004
30053005 # We need awk for the "check" target (and possibly the TAP driver). The
30503050 Aborting the configuration process, to ensure you take notice of the issue.
30513051
30523052 You can download and install GNU coreutils to get an 'rm' implementation
3053 that behaves properly: <http://www.gnu.org/software/coreutils/>.
3053 that behaves properly: <https://www.gnu.org/software/coreutils/>.
30543054
30553055 If you want to complete the configuration process using your problematic
30563056 'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM
40524052
40534053 ac_config_commands="$ac_config_commands depfiles"
40544054
4055
4056 am_make=${MAKE-make}
4057 cat > confinc << 'END'
4055 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} supports the include directive" >&5
4056 $as_echo_n "checking whether ${MAKE-make} supports the include directive... " >&6; }
4057 cat > confinc.mk << 'END'
40584058 am__doit:
4059 @echo this is the am__doit target
4059 @echo this is the am__doit target >confinc.out
40604060 .PHONY: am__doit
40614061 END
4062 # If we don't find an include directive, just comment out the code.
4063 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
4064 $as_echo_n "checking for style of include used by $am_make... " >&6; }
40654062 am__include="#"
40664063 am__quote=
4067 _am_result=none
4068 # First try GNU make style include.
4069 echo "include confinc" > confmf
4070 # Ignore all kinds of additional output from 'make'.
4071 case `$am_make -s -f confmf 2> /dev/null` in #(
4072 *the\ am__doit\ target*)
4073 am__include=include
4074 am__quote=
4075 _am_result=GNU
4076 ;;
4064 # BSD make does it like this.
4065 echo '.include "confinc.mk" # ignored' > confmf.BSD
4066 # Other make implementations (GNU, Solaris 10, AIX) do it like this.
4067 echo 'include confinc.mk # ignored' > confmf.GNU
4068 _am_result=no
4069 for s in GNU BSD; do
4070 { echo "$as_me:$LINENO: ${MAKE-make} -f confmf.$s && cat confinc.out" >&5
4071 (${MAKE-make} -f confmf.$s && cat confinc.out) >&5 2>&5
4072 ac_status=$?
4073 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4074 (exit $ac_status); }
4075 case $?:`cat confinc.out 2>/dev/null` in #(
4076 '0:this is the am__doit target') :
4077 case $s in #(
4078 BSD) :
4079 am__include='.include' am__quote='"' ;; #(
4080 *) :
4081 am__include='include' am__quote='' ;;
4082 esac ;; #(
4083 *) :
4084 ;;
40774085 esac
4078 # Now try BSD make style include.
4079 if test "$am__include" = "#"; then
4080 echo '.include "confinc"' > confmf
4081 case `$am_make -s -f confmf 2> /dev/null` in #(
4082 *the\ am__doit\ target*)
4083 am__include=.include
4084 am__quote="\""
4085 _am_result=BSD
4086 ;;
4087 esac
4088 fi
4089
4090
4091 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
4092 $as_echo "$_am_result" >&6; }
4093 rm -f confinc confmf
4086 if test "$am__include" != "#"; then
4087 _am_result="yes ($s style)"
4088 break
4089 fi
4090 done
4091 rm -f confinc.* confmf.*
4092 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${_am_result}" >&5
4093 $as_echo "${_am_result}" >&6; }
40944094
40954095 # Check whether --enable-dependency-tracking was given.
40964096 if test "${enable_dependency_tracking+set}" = set; then :
1494814948 #
1494914949 # INIT-COMMANDS
1495014950 #
14951 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
14951 AMDEP_TRUE="$AMDEP_TRUE" MAKE="${MAKE-make}"
1495214952
1495314953
1495414954 # The HP-UX ksh and POSIX shell print the target directory to stdout
1584715847 # Older Autoconf quotes --file arguments for eval, but not when files
1584815848 # are listed without --file. Let's play safe and only enable the eval
1584915849 # if we detect the quoting.
15850 case $CONFIG_FILES in
15851 *\'*) eval set x "$CONFIG_FILES" ;;
15852 *) set x $CONFIG_FILES ;;
15853 esac
15850 # TODO: see whether this extra hack can be removed once we start
15851 # requiring Autoconf 2.70 or later.
15852 case $CONFIG_FILES in #(
15853 *\'*) :
15854 eval set x "$CONFIG_FILES" ;; #(
15855 *) :
15856 set x $CONFIG_FILES ;; #(
15857 *) :
15858 ;;
15859 esac
1585415860 shift
15855 for mf
15861 # Used to flag and report bootstrapping failures.
15862 am_rc=0
15863 for am_mf
1585615864 do
1585715865 # Strip MF so we end up with the name of the file.
15858 mf=`echo "$mf" | sed -e 's/:.*$//'`
15859 # Check whether this is an Automake generated Makefile or not.
15860 # We used to match only the files named 'Makefile.in', but
15861 # some people rename them; so instead we look at the file content.
15862 # Grep'ing the first line is not enough: some people post-process
15863 # each Makefile.in and add a new line on top of each file to say so.
15864 # Grep'ing the whole file is not good either: AIX grep has a line
15866 am_mf=`$as_echo "$am_mf" | sed -e 's/:.*$//'`
15867 # Check whether this is an Automake generated Makefile which includes
15868 # dependency-tracking related rules and includes.
15869 # Grep'ing the whole file directly is not great: AIX grep has a line
1586515870 # limit of 2048, but all sed's we know have understand at least 4000.
15866 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
15867 dirpart=`$as_dirname -- "$mf" ||
15868 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
15869 X"$mf" : 'X\(//\)[^/]' \| \
15870 X"$mf" : 'X\(//\)$' \| \
15871 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
15872 $as_echo X"$mf" |
15871 sed -n 's,^am--depfiles:.*,X,p' "$am_mf" | grep X >/dev/null 2>&1 \
15872 || continue
15873 am_dirpart=`$as_dirname -- "$am_mf" ||
15874 $as_expr X"$am_mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
15875 X"$am_mf" : 'X\(//\)[^/]' \| \
15876 X"$am_mf" : 'X\(//\)$' \| \
15877 X"$am_mf" : 'X\(/\)' \| . 2>/dev/null ||
15878 $as_echo X"$am_mf" |
1587315879 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1587415880 s//\1/
1587515881 q
1588715893 q
1588815894 }
1588915895 s/.*/./; q'`
15890 else
15891 continue
15892 fi
15893 # Extract the definition of DEPDIR, am__include, and am__quote
15894 # from the Makefile without running 'make'.
15895 DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
15896 test -z "$DEPDIR" && continue
15897 am__include=`sed -n 's/^am__include = //p' < "$mf"`
15898 test -z "$am__include" && continue
15899 am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
15900 # Find all dependency output files, they are included files with
15901 # $(DEPDIR) in their names. We invoke sed twice because it is the
15902 # simplest approach to changing $(DEPDIR) to its actual value in the
15903 # expansion.
15904 for file in `sed -n "
15905 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
15906 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g'`; do
15907 # Make sure the directory exists.
15908 test -f "$dirpart/$file" && continue
15909 fdir=`$as_dirname -- "$file" ||
15910 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
15911 X"$file" : 'X\(//\)[^/]' \| \
15912 X"$file" : 'X\(//\)$' \| \
15913 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
15914 $as_echo X"$file" |
15915 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
15896 am_filepart=`$as_basename -- "$am_mf" ||
15897 $as_expr X/"$am_mf" : '.*/\([^/][^/]*\)/*$' \| \
15898 X"$am_mf" : 'X\(//\)$' \| \
15899 X"$am_mf" : 'X\(/\)' \| . 2>/dev/null ||
15900 $as_echo X/"$am_mf" |
15901 sed '/^.*\/\([^/][^/]*\)\/*$/{
1591615902 s//\1/
1591715903 q
1591815904 }
15919 /^X\(\/\/\)[^/].*/{
15905 /^X\/\(\/\/\)$/{
1592015906 s//\1/
1592115907 q
1592215908 }
15923 /^X\(\/\/\)$/{
15924 s//\1/
15925 q
15926 }
15927 /^X\(\/\).*/{
15909 /^X\/\(\/\).*/{
1592815910 s//\1/
1592915911 q
1593015912 }
1593115913 s/.*/./; q'`
15932 as_dir=$dirpart/$fdir; as_fn_mkdir_p
15933 # echo "creating $dirpart/$file"
15934 echo '# dummy' > "$dirpart/$file"
15935 done
15914 { echo "$as_me:$LINENO: cd "$am_dirpart" \
15915 && sed -e '/# am--include-marker/d' "$am_filepart" \
15916 | $MAKE -f - am--depfiles" >&5
15917 (cd "$am_dirpart" \
15918 && sed -e '/# am--include-marker/d' "$am_filepart" \
15919 | $MAKE -f - am--depfiles) >&5 2>&5
15920 ac_status=$?
15921 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15922 (exit $ac_status); } || am_rc=$?
1593615923 done
15924 if test $am_rc -ne 0; then
15925 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
15926 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
15927 as_fn_error $? "Something went wrong bootstrapping makefile fragments
15928 for automatic dependency tracking. Try re-running configure with the
15929 '--disable-dependency-tracking' option to at least be able to build
15930 the package (albeit without support for automatic dependency tracking).
15931 See \`config.log' for more details" "$LINENO" 5; }
15932 fi
15933 { am_dirpart=; unset am_dirpart;}
15934 { am_filepart=; unset am_filepart;}
15935 { am_mf=; unset am_mf;}
15936 { am_rc=; unset am_rc;}
15937 rm -f conftest-deps.mk
1593715938 }
1593815939 ;;
1593915940 "libtool":C)
0 # Makefile.in generated by automake 1.15 from Makefile.am.
0 # Makefile.in generated by automake 1.16.1 from Makefile.am.
11 # @configure_input@
22
3 # Copyright (C) 1994-2014 Free Software Foundation, Inc.
3 # Copyright (C) 1994-2018 Free Software Foundation, Inc.
44
55 # This Makefile.in is free software; the Free Software Foundation
66 # gives unlimited permission to copy and/or distribute it,
371371 am__v_at_1 =
372372 DEFAULT_INCLUDES = -I.@am__isrc@ -I$(top_builddir)
373373 depcomp = $(SHELL) $(top_srcdir)/admin/depcomp
374 am__depfiles_maybe = depfiles
374 am__maybe_remake_depfiles = depfiles
375 am__depfiles_remade = ./$(DEPDIR)/hdrl_bpm_2d-test.Po \
376 ./$(DEPDIR)/hdrl_bpm_3d-test.Po \
377 ./$(DEPDIR)/hdrl_bpm_fit-test.Po \
378 ./$(DEPDIR)/hdrl_bpm_utils-test.Po \
379 ./$(DEPDIR)/hdrl_buffer-test.Po \
380 ./$(DEPDIR)/hdrl_catalogue-test.Po \
381 ./$(DEPDIR)/hdrl_collapse-test.Po \
382 ./$(DEPDIR)/hdrl_combine-test.Po \
383 ./$(DEPDIR)/hdrl_correlation-test.Po \
384 ./$(DEPDIR)/hdrl_dar-test.Po ./$(DEPDIR)/hdrl_der_snr-test.Po \
385 ./$(DEPDIR)/hdrl_efficiency-test.Po \
386 ./$(DEPDIR)/hdrl_elemop-test.Po ./$(DEPDIR)/hdrl_fit-test.Po \
387 ./$(DEPDIR)/hdrl_flat-test.Po ./$(DEPDIR)/hdrl_fpn-test.Po \
388 ./$(DEPDIR)/hdrl_frameiter-test.Po \
389 ./$(DEPDIR)/hdrl_fringe-test.Po ./$(DEPDIR)/hdrl_image-test.Po \
390 ./$(DEPDIR)/hdrl_imagelist_basic-test.Po \
391 ./$(DEPDIR)/hdrl_imagelist_io-test.Po \
392 ./$(DEPDIR)/hdrl_imagelist_view-test.Po \
393 ./$(DEPDIR)/hdrl_lacosmics-test.Po \
394 ./$(DEPDIR)/hdrl_multiiter-test.Po \
395 ./$(DEPDIR)/hdrl_overscan-test.Po \
396 ./$(DEPDIR)/hdrl_parameter-test.Po \
397 ./$(DEPDIR)/hdrl_prototyping-test.Po \
398 ./$(DEPDIR)/hdrl_random-test.Po \
399 ./$(DEPDIR)/hdrl_response-test.Po \
400 ./$(DEPDIR)/hdrl_sigclip-test.Po \
401 ./$(DEPDIR)/hdrl_spectrum1d-test.Po \
402 ./$(DEPDIR)/hdrl_spectrum1d_shift-test.Po \
403 ./$(DEPDIR)/hdrl_spectrum1dlist-test.Po \
404 ./$(DEPDIR)/hdrl_strehl-test.Po ./$(DEPDIR)/hdrl_utils-test.Po
375405 am__mv = mv -f
376406 COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \
377407 $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
885915 *config.status*) \
886916 cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \
887917 *) \
888 echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \
889 cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \
918 echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__maybe_remake_depfiles)'; \
919 cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__maybe_remake_depfiles);; \
890920 esac;
891921
892922 $(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
10531083 distclean-compile:
10541084 -rm -f *.tab.c
10551085
1056 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/hdrl_bpm_2d-test.Po@am__quote@
1057 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/hdrl_bpm_3d-test.Po@am__quote@
1058 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/hdrl_bpm_fit-test.Po@am__quote@
1059 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/hdrl_bpm_utils-test.Po@am__quote@
1060 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/hdrl_buffer-test.Po@am__quote@
1061 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/hdrl_catalogue-test.Po@am__quote@
1062 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/hdrl_collapse-test.Po@am__quote@
1063 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/hdrl_combine-test.Po@am__quote@
1064 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/hdrl_correlation-test.Po@am__quote@
1065 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/hdrl_dar-test.Po@am__quote@
1066 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/hdrl_der_snr-test.Po@am__quote@
1067 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/hdrl_efficiency-test.Po@am__quote@
1068 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/hdrl_elemop-test.Po@am__quote@
1069 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/hdrl_fit-test.Po@am__quote@
1070 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/hdrl_flat-test.Po@am__quote@
1071 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/hdrl_fpn-test.Po@am__quote@
1072 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/hdrl_frameiter-test.Po@am__quote@
1073 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/hdrl_fringe-test.Po@am__quote@
1074 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/hdrl_image-test.Po@am__quote@
1075 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/hdrl_imagelist_basic-test.Po@am__quote@
1076 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/hdrl_imagelist_io-test.Po@am__quote@
1077 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/hdrl_imagelist_view-test.Po@am__quote@
1078 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/hdrl_lacosmics-test.Po@am__quote@
1079 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/hdrl_multiiter-test.Po@am__quote@
1080 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/hdrl_overscan-test.Po@am__quote@
1081 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/hdrl_parameter-test.Po@am__quote@
1082 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/hdrl_prototyping-test.Po@am__quote@
1083 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/hdrl_random-test.Po@am__quote@
1084 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/hdrl_response-test.Po@am__quote@
1085 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/hdrl_sigclip-test.Po@am__quote@
1086 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/hdrl_spectrum1d-test.Po@am__quote@
1087 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/hdrl_spectrum1d_shift-test.Po@am__quote@
1088 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/hdrl_spectrum1dlist-test.Po@am__quote@
1089 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/hdrl_strehl-test.Po@am__quote@
1090 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/hdrl_utils-test.Po@am__quote@
1086 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/hdrl_bpm_2d-test.Po@am__quote@ # am--include-marker
1087 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/hdrl_bpm_3d-test.Po@am__quote@ # am--include-marker
1088 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/hdrl_bpm_fit-test.Po@am__quote@ # am--include-marker
1089 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/hdrl_bpm_utils-test.Po@am__quote@ # am--include-marker
1090 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/hdrl_buffer-test.Po@am__quote@ # am--include-marker
1091 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/hdrl_catalogue-test.Po@am__quote@ # am--include-marker
1092 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/hdrl_collapse-test.Po@am__quote@ # am--include-marker
1093 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/hdrl_combine-test.Po@am__quote@ # am--include-marker
1094 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/hdrl_correlation-test.Po@am__quote@ # am--include-marker
1095 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/hdrl_dar-test.Po@am__quote@ # am--include-marker
1096 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/hdrl_der_snr-test.Po@am__quote@ # am--include-marker
1097 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/hdrl_efficiency-test.Po@am__quote@ # am--include-marker
1098 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/hdrl_elemop-test.Po@am__quote@ # am--include-marker
1099 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/hdrl_fit-test.Po@am__quote@ # am--include-marker
1100 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/hdrl_flat-test.Po@am__quote@ # am--include-marker
1101 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/hdrl_fpn-test.Po@am__quote@ # am--include-marker
1102 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/hdrl_frameiter-test.Po@am__quote@ # am--include-marker
1103 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/hdrl_fringe-test.Po@am__quote@ # am--include-marker
1104 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/hdrl_image-test.Po@am__quote@ # am--include-marker
1105 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/hdrl_imagelist_basic-test.Po@am__quote@ # am--include-marker
1106 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/hdrl_imagelist_io-test.Po@am__quote@ # am--include-marker
1107 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/hdrl_imagelist_view-test.Po@am__quote@ # am--include-marker
1108 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/hdrl_lacosmics-test.Po@am__quote@ # am--include-marker
1109 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/hdrl_multiiter-test.Po@am__quote@ # am--include-marker
1110 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/hdrl_overscan-test.Po@am__quote@ # am--include-marker
1111 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/hdrl_parameter-test.Po@am__quote@ # am--include-marker
1112 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/hdrl_prototyping-test.Po@am__quote@ # am--include-marker
1113 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/hdrl_random-test.Po@am__quote@ # am--include-marker
1114 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/hdrl_response-test.Po@am__quote@ # am--include-marker
1115 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/hdrl_sigclip-test.Po@am__quote@ # am--include-marker
1116 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/hdrl_spectrum1d-test.Po@am__quote@ # am--include-marker
1117 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/hdrl_spectrum1d_shift-test.Po@am__quote@ # am--include-marker
1118 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/hdrl_spectrum1dlist-test.Po@am__quote@ # am--include-marker
1119 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/hdrl_strehl-test.Po@am__quote@ # am--include-marker
1120 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/hdrl_utils-test.Po@am__quote@ # am--include-marker
1121
1122 $(am__depfiles_remade):
1123 @$(MKDIR_P) $(@D)
1124 @echo '# dummy' >$@-t && $(am__mv) $@-t $@
1125
1126 am--depfiles: $(am__depfiles_remade)
10911127
10921128 .c.o:
10931129 @am__fastdepCC_TRUE@ $(AM_V_CC)$(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $<
12881324 fi; \
12891325 $$success || exit 1
12901326
1291 check-TESTS:
1327 check-TESTS: $(check_PROGRAMS)
12921328 @list='$(RECHECK_LOGS)'; test -z "$$list" || rm -f $$list
12931329 @list='$(RECHECK_LOGS:.log=.trs)'; test -z "$$list" || rm -f $$list
12941330 @test -z "$(TEST_SUITE_LOG)" || rm -f $(TEST_SUITE_LOG)
15691605 @am__EXEEXT_TRUE@ $(am__common_driver_flags) $(AM_TEST_LOG_DRIVER_FLAGS) $(TEST_LOG_DRIVER_FLAGS) -- $(TEST_LOG_COMPILE) \
15701606 @am__EXEEXT_TRUE@ "$$tst" $(AM_TESTS_FD_REDIRECT)
15711607
1572 distdir: $(DISTFILES)
1608 distdir: $(BUILT_SOURCES)
1609 $(MAKE) $(AM_MAKEFLAGS) distdir-am
1610
1611 distdir-am: $(DISTFILES)
15731612 @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
15741613 topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
15751614 list='$(DISTFILES)'; \
16461685 mostlyclean-am
16471686
16481687 distclean: distclean-am
1649 -rm -rf ./$(DEPDIR)
1688 -rm -f ./$(DEPDIR)/hdrl_bpm_2d-test.Po
1689 -rm -f ./$(DEPDIR)/hdrl_bpm_3d-test.Po
1690 -rm -f ./$(DEPDIR)/hdrl_bpm_fit-test.Po
1691 -rm -f ./$(DEPDIR)/hdrl_bpm_utils-test.Po
1692 -rm -f ./$(DEPDIR)/hdrl_buffer-test.Po
1693 -rm -f ./$(DEPDIR)/hdrl_catalogue-test.Po
1694 -rm -f ./$(DEPDIR)/hdrl_collapse-test.Po
1695 -rm -f ./$(DEPDIR)/hdrl_combine-test.Po
1696 -rm -f ./$(DEPDIR)/hdrl_correlation-test.Po
1697 -rm -f ./$(DEPDIR)/hdrl_dar-test.Po
1698 -rm -f ./$(DEPDIR)/hdrl_der_snr-test.Po
1699 -rm -f ./$(DEPDIR)/hdrl_efficiency-test.Po
1700 -rm -f ./$(DEPDIR)/hdrl_elemop-test.Po
1701 -rm -f ./$(DEPDIR)/hdrl_fit-test.Po
1702 -rm -f ./$(DEPDIR)/hdrl_flat-test.Po
1703 -rm -f ./$(DEPDIR)/hdrl_fpn-test.Po
1704 -rm -f ./$(DEPDIR)/hdrl_frameiter-test.Po
1705 -rm -f ./$(DEPDIR)/hdrl_fringe-test.Po
1706 -rm -f ./$(DEPDIR)/hdrl_image-test.Po
1707 -rm -f ./$(DEPDIR)/hdrl_imagelist_basic-test.Po
1708 -rm -f ./$(DEPDIR)/hdrl_imagelist_io-test.Po
1709 -rm -f ./$(DEPDIR)/hdrl_imagelist_view-test.Po
1710 -rm -f ./$(DEPDIR)/hdrl_lacosmics-test.Po
1711 -rm -f ./$(DEPDIR)/hdrl_multiiter-test.Po
1712 -rm -f ./$(DEPDIR)/hdrl_overscan-test.Po
1713 -rm -f ./$(DEPDIR)/hdrl_parameter-test.Po
1714 -rm -f ./$(DEPDIR)/hdrl_prototyping-test.Po
1715 -rm -f ./$(DEPDIR)/hdrl_random-test.Po
1716 -rm -f ./$(DEPDIR)/hdrl_response-test.Po
1717 -rm -f ./$(DEPDIR)/hdrl_sigclip-test.Po
1718 -rm -f ./$(DEPDIR)/hdrl_spectrum1d-test.Po
1719 -rm -f ./$(DEPDIR)/hdrl_spectrum1d_shift-test.Po
1720 -rm -f ./$(DEPDIR)/hdrl_spectrum1dlist-test.Po
1721 -rm -f ./$(DEPDIR)/hdrl_strehl-test.Po
1722 -rm -f ./$(DEPDIR)/hdrl_utils-test.Po
16501723 -rm -f Makefile
16511724 distclean-am: clean-am distclean-compile distclean-generic \
16521725 distclean-tags
16921765 installcheck-am:
16931766
16941767 maintainer-clean: maintainer-clean-am
1695 -rm -rf ./$(DEPDIR)
1768 -rm -f ./$(DEPDIR)/hdrl_bpm_2d-test.Po
1769 -rm -f ./$(DEPDIR)/hdrl_bpm_3d-test.Po
1770 -rm -f ./$(DEPDIR)/hdrl_bpm_fit-test.Po
1771 -rm -f ./$(DEPDIR)/hdrl_bpm_utils-test.Po
1772 -rm -f ./$(DEPDIR)/hdrl_buffer-test.Po
1773 -rm -f ./$(DEPDIR)/hdrl_catalogue-test.Po
1774 -rm -f ./$(DEPDIR)/hdrl_collapse-test.Po
1775 -rm -f ./$(DEPDIR)/hdrl_combine-test.Po
1776 -rm -f ./$(DEPDIR)/hdrl_correlation-test.Po
1777 -rm -f ./$(DEPDIR)/hdrl_dar-test.Po
1778 -rm -f ./$(DEPDIR)/hdrl_der_snr-test.Po
1779 -rm -f ./$(DEPDIR)/hdrl_efficiency-test.Po
1780 -rm -f ./$(DEPDIR)/hdrl_elemop-test.Po
1781 -rm -f ./$(DEPDIR)/hdrl_fit-test.Po
1782 -rm -f ./$(DEPDIR)/hdrl_flat-test.Po
1783 -rm -f ./$(DEPDIR)/hdrl_fpn-test.Po
1784 -rm -f ./$(DEPDIR)/hdrl_frameiter-test.Po
1785 -rm -f ./$(DEPDIR)/hdrl_fringe-test.Po
1786 -rm -f ./$(DEPDIR)/hdrl_image-test.Po
1787 -rm -f ./$(DEPDIR)/hdrl_imagelist_basic-test.Po
1788 -rm -f ./$(DEPDIR)/hdrl_imagelist_io-test.Po
1789 -rm -f ./$(DEPDIR)/hdrl_imagelist_view-test.Po
1790 -rm -f ./$(DEPDIR)/hdrl_lacosmics-test.Po
1791 -rm -f ./$(DEPDIR)/hdrl_multiiter-test.Po
1792 -rm -f ./$(DEPDIR)/hdrl_overscan-test.Po
1793 -rm -f ./$(DEPDIR)/hdrl_parameter-test.Po
1794 -rm -f ./$(DEPDIR)/hdrl_prototyping-test.Po
1795 -rm -f ./$(DEPDIR)/hdrl_random-test.Po
1796 -rm -f ./$(DEPDIR)/hdrl_response-test.Po
1797 -rm -f ./$(DEPDIR)/hdrl_sigclip-test.Po
1798 -rm -f ./$(DEPDIR)/hdrl_spectrum1d-test.Po
1799 -rm -f ./$(DEPDIR)/hdrl_spectrum1d_shift-test.Po
1800 -rm -f ./$(DEPDIR)/hdrl_spectrum1dlist-test.Po
1801 -rm -f ./$(DEPDIR)/hdrl_strehl-test.Po
1802 -rm -f ./$(DEPDIR)/hdrl_utils-test.Po
16961803 -rm -f Makefile
16971804 maintainer-clean-am: distclean-am maintainer-clean-generic
16981805
17131820
17141821 .MAKE: check-am install-am install-strip
17151822
1716 .PHONY: CTAGS GTAGS TAGS all all-am check check-TESTS check-am clean \
1717 clean-checkPROGRAMS clean-generic clean-libtool clean-local \
1718 cscopelist-am ctags ctags-am distclean distclean-compile \
1719 distclean-generic distclean-libtool distclean-tags distdir dvi \
1720 dvi-am html html-am info info-am install install-am \
1721 install-data install-data-am install-dvi install-dvi-am \
1722 install-exec install-exec-am install-html install-html-am \
1723 install-info install-info-am install-man install-pdf \
1724 install-pdf-am install-ps install-ps-am install-strip \
1725 installcheck installcheck-am installdirs maintainer-clean \
1726 maintainer-clean-generic mostlyclean mostlyclean-compile \
1727 mostlyclean-generic mostlyclean-libtool pdf pdf-am ps ps-am \
1728 recheck tags tags-am uninstall uninstall-am
1823 .PHONY: CTAGS GTAGS TAGS all all-am am--depfiles check check-TESTS \
1824 check-am clean clean-checkPROGRAMS clean-generic clean-libtool \
1825 clean-local cscopelist-am ctags ctags-am distclean \
1826 distclean-compile distclean-generic distclean-libtool \
1827 distclean-tags distdir dvi dvi-am html html-am info info-am \
1828 install install-am install-data install-data-am install-dvi \
1829 install-dvi-am install-exec install-exec-am install-html \
1830 install-html-am install-info install-info-am install-man \
1831 install-pdf install-pdf-am install-ps install-ps-am \
1832 install-strip installcheck installcheck-am installdirs \
1833 maintainer-clean maintainer-clean-generic mostlyclean \
1834 mostlyclean-compile mostlyclean-generic mostlyclean-libtool \
1835 pdf pdf-am ps ps-am recheck tags tags-am uninstall \
1836 uninstall-am
17291837
17301838 .PRECIOUS: Makefile
17311839
0 # Makefile.in generated by automake 1.15 from Makefile.am.
0 # Makefile.in generated by automake 1.16.1 from Makefile.am.
11 # @configure_input@
22
3 # Copyright (C) 1994-2014 Free Software Foundation, Inc.
3 # Copyright (C) 1994-2018 Free Software Foundation, Inc.
44
55 # This Makefile.in is free software; the Free Software Foundation
66 # gives unlimited permission to copy and/or distribute it,
140140 am__v_at_1 =
141141 DEFAULT_INCLUDES = -I.@am__isrc@ -I$(top_builddir)
142142 depcomp = $(SHELL) $(top_srcdir)/admin/depcomp
143 am__depfiles_maybe = depfiles
143 am__maybe_remake_depfiles = depfiles
144 am__depfiles_remade = ./$(DEPDIR)/irplib_calib.Plo \
145 ./$(DEPDIR)/irplib_cat.Plo ./$(DEPDIR)/irplib_distortion.Plo \
146 ./$(DEPDIR)/irplib_fft.Plo ./$(DEPDIR)/irplib_flat.Plo \
147 ./$(DEPDIR)/irplib_framelist.Plo ./$(DEPDIR)/irplib_hist.Plo \
148 ./$(DEPDIR)/irplib_ksigma_clip.Plo \
149 ./$(DEPDIR)/irplib_match_cats.Plo \
150 ./$(DEPDIR)/irplib_mkmaster.Plo ./$(DEPDIR)/irplib_oddeven.Plo \
151 ./$(DEPDIR)/irplib_plugin.Plo \
152 ./$(DEPDIR)/irplib_polynomial.Plo ./$(DEPDIR)/irplib_ppm.Plo \
153 ./$(DEPDIR)/irplib_sdp_spectrum.Plo \
154 ./$(DEPDIR)/irplib_slitpos.Plo ./$(DEPDIR)/irplib_spectrum.Plo \
155 ./$(DEPDIR)/irplib_stdstar.Plo ./$(DEPDIR)/irplib_strehl.Plo \
156 ./$(DEPDIR)/irplib_utils.Plo ./$(DEPDIR)/irplib_wavecal.Plo \
157 ./$(DEPDIR)/irplib_wcs.Plo ./$(DEPDIR)/irplib_wlxcorr.Plo
144158 am__mv = mv -f
145159 COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \
146160 $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
211225 $(RECURSIVE_CLEAN_TARGETS) \
212226 $(am__extra_recursive_targets)
213227 AM_RECURSIVE_TARGETS = $(am__recursive_targets:-recursive=) TAGS CTAGS \
214 distdir
228 distdir distdir-am
215229 am__tagged_files = $(HEADERS) $(SOURCES) $(TAGS_FILES) $(LISP)
216230 # Read a list of newline-separated strings from the standard input,
217231 # and print each of them once, without duplicates. Input order is
511525 *config.status*) \
512526 cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \
513527 *) \
514 echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \
515 cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \
528 echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__maybe_remake_depfiles)'; \
529 cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__maybe_remake_depfiles);; \
516530 esac;
517531
518532 $(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
544558 distclean-compile:
545559 -rm -f *.tab.c
546560
547 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/irplib_calib.Plo@am__quote@
548 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/irplib_cat.Plo@am__quote@
549 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/irplib_distortion.Plo@am__quote@
550 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/irplib_fft.Plo@am__quote@
551 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/irplib_flat.Plo@am__quote@
552 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/irplib_framelist.Plo@am__quote@
553 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/irplib_hist.Plo@am__quote@
554 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/irplib_ksigma_clip.Plo@am__quote@
555 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/irplib_match_cats.Plo@am__quote@
556 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/irplib_mkmaster.Plo@am__quote@
557 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/irplib_oddeven.Plo@am__quote@
558 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/irplib_plugin.Plo@am__quote@
559 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/irplib_polynomial.Plo@am__quote@
560 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/irplib_ppm.Plo@am__quote@
561 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/irplib_sdp_spectrum.Plo@am__quote@
562 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/irplib_slitpos.Plo@am__quote@
563 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/irplib_spectrum.Plo@am__quote@
564 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/irplib_stdstar.Plo@am__quote@
565 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/irplib_strehl.Plo@am__quote@
566 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/irplib_utils.Plo@am__quote@
567 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/irplib_wavecal.Plo@am__quote@
568 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/irplib_wcs.Plo@am__quote@
569 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/irplib_wlxcorr.Plo@am__quote@
561 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/irplib_calib.Plo@am__quote@ # am--include-marker
562 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/irplib_cat.Plo@am__quote@ # am--include-marker
563 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/irplib_distortion.Plo@am__quote@ # am--include-marker
564 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/irplib_fft.Plo@am__quote@ # am--include-marker
565 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/irplib_flat.Plo@am__quote@ # am--include-marker
566 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/irplib_framelist.Plo@am__quote@ # am--include-marker
567 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/irplib_hist.Plo@am__quote@ # am--include-marker
568 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/irplib_ksigma_clip.Plo@am__quote@ # am--include-marker
569 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/irplib_match_cats.Plo@am__quote@ # am--include-marker
570 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/irplib_mkmaster.Plo@am__quote@ # am--include-marker
571 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/irplib_oddeven.Plo@am__quote@ # am--include-marker
572 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/irplib_plugin.Plo@am__quote@ # am--include-marker
573 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/irplib_polynomial.Plo@am__quote@ # am--include-marker
574 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/irplib_ppm.Plo@am__quote@ # am--include-marker
575 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/irplib_sdp_spectrum.Plo@am__quote@ # am--include-marker
576 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/irplib_slitpos.Plo@am__quote@ # am--include-marker
577 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/irplib_spectrum.Plo@am__quote@ # am--include-marker
578 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/irplib_stdstar.Plo@am__quote@ # am--include-marker
579 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/irplib_strehl.Plo@am__quote@ # am--include-marker
580 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/irplib_utils.Plo@am__quote@ # am--include-marker
581 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/irplib_wavecal.Plo@am__quote@ # am--include-marker
582 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/irplib_wcs.Plo@am__quote@ # am--include-marker
583 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/irplib_wlxcorr.Plo@am__quote@ # am--include-marker
584
585 $(am__depfiles_remade):
586 @$(MKDIR_P) $(@D)
587 @echo '# dummy' >$@-t && $(am__mv) $@-t $@
588
589 am--depfiles: $(am__depfiles_remade)
570590
571591 .c.o:
572592 @am__fastdepCC_TRUE@ $(AM_V_CC)$(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $<
715735 distclean-tags:
716736 -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
717737
718 distdir: $(DISTFILES)
738 distdir: $(BUILT_SOURCES)
739 $(MAKE) $(AM_MAKEFLAGS) distdir-am
740
741 distdir-am: $(DISTFILES)
719742 @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
720743 topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
721744 list='$(DISTFILES)'; \
816839 mostlyclean-am
817840
818841 distclean: distclean-recursive
819 -rm -rf ./$(DEPDIR)
842 -rm -f ./$(DEPDIR)/irplib_calib.Plo
843 -rm -f ./$(DEPDIR)/irplib_cat.Plo
844 -rm -f ./$(DEPDIR)/irplib_distortion.Plo
845 -rm -f ./$(DEPDIR)/irplib_fft.Plo
846 -rm -f ./$(DEPDIR)/irplib_flat.Plo
847 -rm -f ./$(DEPDIR)/irplib_framelist.Plo
848 -rm -f ./$(DEPDIR)/irplib_hist.Plo
849 -rm -f ./$(DEPDIR)/irplib_ksigma_clip.Plo
850 -rm -f ./$(DEPDIR)/irplib_match_cats.Plo
851 -rm -f ./$(DEPDIR)/irplib_mkmaster.Plo
852 -rm -f ./$(DEPDIR)/irplib_oddeven.Plo
853 -rm -f ./$(DEPDIR)/irplib_plugin.Plo
854 -rm -f ./$(DEPDIR)/irplib_polynomial.Plo
855 -rm -f ./$(DEPDIR)/irplib_ppm.Plo
856 -rm -f ./$(DEPDIR)/irplib_sdp_spectrum.Plo
857 -rm -f ./$(DEPDIR)/irplib_slitpos.Plo
858 -rm -f ./$(DEPDIR)/irplib_spectrum.Plo
859 -rm -f ./$(DEPDIR)/irplib_stdstar.Plo
860 -rm -f ./$(DEPDIR)/irplib_strehl.Plo
861 -rm -f ./$(DEPDIR)/irplib_utils.Plo
862 -rm -f ./$(DEPDIR)/irplib_wavecal.Plo
863 -rm -f ./$(DEPDIR)/irplib_wcs.Plo
864 -rm -f ./$(DEPDIR)/irplib_wlxcorr.Plo
820865 -rm -f Makefile
821866 distclean-am: clean-am distclean-compile distclean-generic \
822867 distclean-tags
862907 installcheck-am:
863908
864909 maintainer-clean: maintainer-clean-recursive
865 -rm -rf ./$(DEPDIR)
910 -rm -f ./$(DEPDIR)/irplib_calib.Plo
911 -rm -f ./$(DEPDIR)/irplib_cat.Plo
912 -rm -f ./$(DEPDIR)/irplib_distortion.Plo
913 -rm -f ./$(DEPDIR)/irplib_fft.Plo
914 -rm -f ./$(DEPDIR)/irplib_flat.Plo
915 -rm -f ./$(DEPDIR)/irplib_framelist.Plo
916 -rm -f ./$(DEPDIR)/irplib_hist.Plo
917 -rm -f ./$(DEPDIR)/irplib_ksigma_clip.Plo
918 -rm -f ./$(DEPDIR)/irplib_match_cats.Plo
919 -rm -f ./$(DEPDIR)/irplib_mkmaster.Plo
920 -rm -f ./$(DEPDIR)/irplib_oddeven.Plo
921 -rm -f ./$(DEPDIR)/irplib_plugin.Plo
922 -rm -f ./$(DEPDIR)/irplib_polynomial.Plo
923 -rm -f ./$(DEPDIR)/irplib_ppm.Plo
924 -rm -f ./$(DEPDIR)/irplib_sdp_spectrum.Plo
925 -rm -f ./$(DEPDIR)/irplib_slitpos.Plo
926 -rm -f ./$(DEPDIR)/irplib_spectrum.Plo
927 -rm -f ./$(DEPDIR)/irplib_stdstar.Plo
928 -rm -f ./$(DEPDIR)/irplib_strehl.Plo
929 -rm -f ./$(DEPDIR)/irplib_utils.Plo
930 -rm -f ./$(DEPDIR)/irplib_wavecal.Plo
931 -rm -f ./$(DEPDIR)/irplib_wcs.Plo
932 -rm -f ./$(DEPDIR)/irplib_wlxcorr.Plo
866933 -rm -f Makefile
867934 maintainer-clean-am: distclean-am maintainer-clean-generic
868935
883950
884951 .MAKE: $(am__recursive_targets) install-am install-strip
885952
886 .PHONY: $(am__recursive_targets) CTAGS GTAGS TAGS all all-am check \
887 check-am clean clean-generic clean-libtool \
953 .PHONY: $(am__recursive_targets) CTAGS GTAGS TAGS all all-am \
954 am--depfiles check check-am clean clean-generic clean-libtool \
888955 clean-noinstLTLIBRARIES cscopelist-am ctags ctags-am distclean \
889956 distclean-compile distclean-generic distclean-libtool \
890957 distclean-tags distdir dvi dvi-am html html-am info info-am \
308308 return poly_sol;
309309 }
310310
311 /*
312 TODO :
313 Merge irplib_wlxcorr_best_poly_prop() with irplib_wlxcorr_best_poly() by
314 adding a new parameter.
315 Need to coordinate with all pipelines.
316 */
317
318 /*----------------------------------------------------------------------------*/
319 /**
320 @brief Find the best polynomial in a given range, propagating input
321 @param spectrum The spectrum vector
322 @param lines_catalog The lines catalog
323 @param degree The polynomial degree
324 @param guess_poly Guess Dispersion Polynomial
325 @param wl_error Search range around the anchor points
326 @param nsamples Number of samples around the anchor points
327 @param slitw The slit width
328 @param fwhm The spectral FWHM [pixel]
329 @param xc Cross-correlation factor (returned)
330 @param wlres The table with the calibration results or NULL
331 @param xcorrs The vector with the correlation values or NULL
332 @return the best polynomial or NULL in error case
333 @note *wlres may be NULL also when no error code is set by the function
334
335 Same as irplib_wlxcorr_best_poly() above, except:
336 The degree can be 0.
337 The degree from the guess_poly can be higher than the degree that is
338 asked for. In that case the output degree is the same as of guess_poly
339 and the caller needs to accept that.
340 Also in that case this function evaluates the full guess_poly for the
341 guess and it keeps the coefficients >degree in the return.
342
343 */
344 /*----------------------------------------------------------------------------*/
345 cpl_polynomial * irplib_wlxcorr_best_poly_prop(const cpl_vector * spectrum,
346 const cpl_bivector * lines_catalog,
347 int degree,
348 const cpl_polynomial * guess_poly,
349 const cpl_vector * wl_error,
350 int nsamples,
351 double slitw,
352 double fwhm,
353 double * xc,
354 cpl_table ** wlres,
355 cpl_vector ** xcorrs)
356 {
357 const int spec_sz = cpl_vector_get_size(spectrum);
358 const int nfree = cpl_vector_get_size(wl_error);
359 int ntests = 1;
360 cpl_vector * model;
361 cpl_vector * vxc;
362 cpl_vector * init_pts_wl;
363 cpl_matrix * init_pts_x;
364 cpl_vector * pts_wl;
365 cpl_vector * vxcorrs;
366 cpl_vector * conv_kernel = NULL;
367 cpl_polynomial * poly_sol;
368 cpl_polynomial * poly_candi;
369 const double * pwl_error = cpl_vector_get_data_const(wl_error);
370 const double * dxc;
371 cpl_size degree_loc ;
372 const cpl_boolean symsamp = CPL_TRUE; /* init_pts_x is symmetric */
373 const cpl_boolean is_lines
374 = irplib_wlcalib_is_lines(cpl_bivector_get_x_const(lines_catalog),
375 guess_poly, spec_sz, 1.0);
376 int i;
377
378 /* FIXME: Need mode parameter for catalogue type (lines <=> profile) */
379
380 /* In case of failure */
381 if (wlres != NULL) *wlres = NULL;
382 if (xcorrs != NULL) *xcorrs = NULL;
383
384 /* Useful for knowing if resampling is used */
385 cpl_msg_debug(cpl_func, "Checking %d^%d dispersion polynomials (slitw=%g, "
386 "fwhm=%g) against %d-point observed spectrum with%s "
387 "catalog resampling", nsamples, nfree, slitw, fwhm, spec_sz,
388 is_lines ? "out" : "");
389
390 cpl_ensure(xc != NULL, CPL_ERROR_NULL_INPUT, NULL);
391 *xc = -1.0;
392 cpl_ensure(spectrum != NULL, CPL_ERROR_NULL_INPUT, NULL);
393 cpl_ensure(lines_catalog != NULL, CPL_ERROR_NULL_INPUT, NULL);
394 cpl_ensure(guess_poly != NULL, CPL_ERROR_NULL_INPUT, NULL);
395 cpl_ensure(wl_error != NULL, CPL_ERROR_NULL_INPUT, NULL);
396 cpl_ensure(nfree >= 1, CPL_ERROR_ILLEGAL_INPUT, NULL);
397 cpl_ensure(nsamples > 0, CPL_ERROR_ILLEGAL_INPUT, NULL);
398 /* FIXME: degree is redundant */
399 cpl_ensure(1 + degree == nfree, CPL_ERROR_ILLEGAL_INPUT, NULL);
400
401 cpl_ensure(cpl_polynomial_get_dimension(guess_poly) == 1,
402 CPL_ERROR_ILLEGAL_INPUT, NULL);
403
404 if (nsamples > 1) {
405 /* Search place must consist of more than one point */
406 /* FIXME: The bounds should probably not be negative */
407 for (i = 0; i < nfree; i++) {
408 if (pwl_error[i] != 0.0) break;
409 }
410 cpl_ensure(i < nfree, CPL_ERROR_ILLEGAL_INPUT, NULL);
411 }
412
413 if (!is_lines) {
414 /* Create the convolution kernel */
415 conv_kernel = irplib_wlxcorr_convolve_create_kernel(slitw, fwhm);
416 cpl_ensure(conv_kernel != NULL, CPL_ERROR_ILLEGAL_INPUT, NULL);
417 }
418
419 /* Create initial test points */
420 init_pts_x = cpl_matrix_new(1, nfree);
421 init_pts_wl = cpl_vector_new(nfree);
422 pts_wl = cpl_vector_new(nfree);
423 const double degree_loc2 = degree == 0 ? 1 : (double)degree ;
424 for (i = 0; i < nfree; i++) {
425 const double xpos = spec_sz * i / degree_loc2;
426 const double wlpos = cpl_polynomial_eval_1d(guess_poly, xpos, NULL)
427 - 0.5 * pwl_error[i];
428
429 cpl_matrix_set(init_pts_x, 0, i, xpos);
430 cpl_vector_set(init_pts_wl, i, wlpos);
431
432 ntests *= nsamples; /* Count number of tests */
433
434 }
435
436 vxcorrs = xcorrs != NULL ? cpl_vector_new(ntests) : NULL;
437
438 poly_sol = cpl_polynomial_new(1);
439 poly_candi = cpl_polynomial_new(1);
440 model = cpl_vector_new(spec_sz);
441 vxc = cpl_vector_new(1);
442 dxc = cpl_vector_get_data_const(vxc);
443
444 /* Create the polynomial candidates and estimate them */
445 for (i=0; i < ntests; i++) {
446 int idiv = i;
447 int deg;
448
449 /* Update wavelength at one anchor point - and reset wavelengths
450 to their default for any anchor point(s) at higher wavelengths */
451 for (deg = degree; deg >= 0; deg--, idiv /= nsamples) {
452 const int imod = idiv % nsamples;
453 const double wlpos = cpl_vector_get(init_pts_wl, deg)
454 + imod * pwl_error[deg] / nsamples;
455
456 /* FIXME: If wlpos causes pts_wl to be non-increasing, the
457 solution will be non-physical with no need for evaluation.
458 (*xc could be set to -1 in this case). */
459 cpl_vector_set(pts_wl, deg, wlpos);
460
461 if (imod > 0) break;
462 }
463
464 /* Generate */
465 degree_loc = (cpl_size)degree ;
466 cpl_polynomial_fit(poly_candi, init_pts_x, &symsamp, pts_wl,
467 NULL, CPL_FALSE, NULL, &degree_loc);
468
469 /* Use the degrees of the input guess */
470 degree_loc = cpl_polynomial_get_degree(guess_poly);
471 for (cpl_size power = degree + 1; power < degree_loc + 1; power++){
472 cpl_polynomial_set_coeff(poly_candi, &power,
473 cpl_polynomial_get_coeff(guess_poly, &power));
474 }
475
476 /* *** Estimate *** */
477 irplib_wlxcorr_estimate(vxc, model, spectrum, lines_catalog,
478 conv_kernel, poly_candi, slitw, fwhm);
479 if (vxcorrs != NULL) cpl_vector_set(vxcorrs, i, *dxc);
480 if (*dxc > *xc) {
481 /* Found a better solution */
482 *xc = *dxc;
483 IRPLIB_PTR_SWAP(poly_sol, poly_candi);
484 }
485 }
486
487 /* This trunctates poly_sol to degree, not wanted for propagation */
488 /* degree_loc = cpl_polynomial_get_degree(guess_poly);
489 for (cpl_size power = degree_loc; power > degree; power--){
490 cpl_polynomial_set_coeff(poly_sol, &power, 0);
491 }
492 */
493
494 cpl_vector_delete(model);
495 cpl_vector_delete(vxc);
496 cpl_vector_delete(conv_kernel);
497 cpl_vector_delete(pts_wl);
498 cpl_matrix_delete(init_pts_x);
499 cpl_vector_delete(init_pts_wl);
500 cpl_polynomial_delete(poly_candi);
501
502 #ifdef CPL_WLCALIB_FAIL_ON_CONSTANT
503 /* FIXME: */
504 if (cpl_polynomial_get_degree(poly_sol) == 0) {
505 cpl_polynomial_delete(poly_sol);
506 cpl_vector_delete(vxcorrs);
507 *xc = 0.0;
508 cpl_error_set_message_macro(cpl_func, CPL_ERROR_ILLEGAL_OUTPUT,
509 __FILE__, __LINE__, "Found a constant "
510 "dispersion");
511 cpl_errorstate_dump(prestate, CPL_FALSE, NULL);
512 return NULL;
513 }
514 #endif
515
516 if (wlres != NULL) {
517 /* FIXME: A failure in the table creation is not considered a failure
518 of the whole function call (although all outputs may be useless) */
519
520 cpl_errorstate prestate = cpl_errorstate_get();
521 /* Create the spc_table */
522 *wlres = irplib_wlxcorr_gen_spc_table(spectrum, lines_catalog, slitw,
523 fwhm, guess_poly, poly_sol);
524 if (*wlres == NULL) {
525 cpl_polynomial_delete(poly_sol);
526 cpl_vector_delete(vxcorrs);
527 *xc = -1.0;
528 cpl_error_set_message_macro(cpl_func, CPL_ERROR_ILLEGAL_OUTPUT,
529 __FILE__, __LINE__, "Cannot generate "
530 "infos table");
531 /* cpl_errorstate_dump(prestate, CPL_FALSE, NULL); */
532 cpl_errorstate_set(prestate);
533 return NULL;
534 }
535 }
536
537 if (xcorrs != NULL) {
538 *xcorrs = vxcorrs;
539 } else {
540 /* assert(vxcorrs == NULL); */
541 }
542
543 return poly_sol;
544 }
545
311546 /*----------------------------------------------------------------------------*/
312547 /**
313548 @brief Generate the infos table
5555 cpl_polynomial * irplib_wlxcorr_best_poly(const cpl_vector *,
5656 const cpl_bivector *, int, const cpl_polynomial *, const cpl_vector *,
5757 int, double, double, double *, cpl_table **, cpl_vector **) ;
58
59 /*
60 TODO :
61 Merge irplib_wlxcorr_best_poly_prop() with irplib_wlxcorr_best_poly() by
62 adding a new parameter.
63 Need to coordinate with all pipelines.
64 */
65 cpl_polynomial * irplib_wlxcorr_best_poly_prop(const cpl_vector * spectrum,
66 const cpl_bivector * lines_catalog,
67 int degree,
68 const cpl_polynomial * guess_poly,
69 const cpl_vector * wl_error,
70 int nsamples,
71 double slitw,
72 double fwhm,
73 double * xc,
74 cpl_table ** wlres,
75 cpl_vector ** xcorrs) ;
76
5877 cpl_table * irplib_wlxcorr_gen_spc_table(const cpl_vector *,
5978 const cpl_bivector *, double, double, const cpl_polynomial *,
6079 const cpl_polynomial *) ;
0 # Makefile.in generated by automake 1.15 from Makefile.am.
0 # Makefile.in generated by automake 1.16.1 from Makefile.am.
11 # @configure_input@
22
3 # Copyright (C) 1994-2014 Free Software Foundation, Inc.
3 # Copyright (C) 1994-2018 Free Software Foundation, Inc.
44
55 # This Makefile.in is free software; the Free Software Foundation
66 # gives unlimited permission to copy and/or distribute it,
207207 am__v_at_1 =
208208 DEFAULT_INCLUDES = -I.@am__isrc@ -I$(top_builddir)
209209 depcomp = $(SHELL) $(top_srcdir)/admin/depcomp
210 am__depfiles_maybe = depfiles
210 am__maybe_remake_depfiles = depfiles
211 am__depfiles_remade = ./$(DEPDIR)/irplib_cat-test.Po \
212 ./$(DEPDIR)/irplib_framelist-test.Po \
213 ./$(DEPDIR)/irplib_hist-test.Po \
214 ./$(DEPDIR)/irplib_plugin-test.Po \
215 ./$(DEPDIR)/irplib_polynomial-test.Po \
216 ./$(DEPDIR)/irplib_sdp_spectrum-test.Po \
217 ./$(DEPDIR)/irplib_strehl-test.Po \
218 ./$(DEPDIR)/irplib_utils-test.Po \
219 ./$(DEPDIR)/irplib_wcs-test.Po \
220 ./$(DEPDIR)/irplib_wlxcorr-test.Po
211221 am__mv = mv -f
212222 COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \
213223 $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
711721 *config.status*) \
712722 cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \
713723 *) \
714 echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \
715 cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \
724 echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__maybe_remake_depfiles)'; \
725 cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__maybe_remake_depfiles);; \
716726 esac;
717727
718728 $(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
779789 distclean-compile:
780790 -rm -f *.tab.c
781791
782 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/irplib_cat-test.Po@am__quote@
783 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/irplib_framelist-test.Po@am__quote@
784 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/irplib_hist-test.Po@am__quote@
785 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/irplib_plugin-test.Po@am__quote@
786 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/irplib_polynomial-test.Po@am__quote@
787 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/irplib_sdp_spectrum-test.Po@am__quote@
788 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/irplib_strehl-test.Po@am__quote@
789 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/irplib_utils-test.Po@am__quote@
790 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/irplib_wcs-test.Po@am__quote@
791 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/irplib_wlxcorr-test.Po@am__quote@
792 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/irplib_cat-test.Po@am__quote@ # am--include-marker
793 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/irplib_framelist-test.Po@am__quote@ # am--include-marker
794 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/irplib_hist-test.Po@am__quote@ # am--include-marker
795 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/irplib_plugin-test.Po@am__quote@ # am--include-marker
796 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/irplib_polynomial-test.Po@am__quote@ # am--include-marker
797 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/irplib_sdp_spectrum-test.Po@am__quote@ # am--include-marker
798 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/irplib_strehl-test.Po@am__quote@ # am--include-marker
799 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/irplib_utils-test.Po@am__quote@ # am--include-marker
800 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/irplib_wcs-test.Po@am__quote@ # am--include-marker
801 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/irplib_wlxcorr-test.Po@am__quote@ # am--include-marker
802
803 $(am__depfiles_remade):
804 @$(MKDIR_P) $(@D)
805 @echo '# dummy' >$@-t && $(am__mv) $@-t $@
806
807 am--depfiles: $(am__depfiles_remade)
792808
793809 .c.o:
794810 @am__fastdepCC_TRUE@ $(AM_V_CC)$(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $<
10101026 fi; \
10111027 $$success || exit 1
10121028
1013 check-TESTS:
1029 check-TESTS: $(check_PROGRAMS)
10141030 @list='$(RECHECK_LOGS)'; test -z "$$list" || rm -f $$list
10151031 @list='$(RECHECK_LOGS:.log=.trs)'; test -z "$$list" || rm -f $$list
10161032 @test -z "$(TEST_SUITE_LOG)" || rm -f $(TEST_SUITE_LOG)
11161132 @am__EXEEXT_TRUE@ $(am__common_driver_flags) $(AM_TEST_LOG_DRIVER_FLAGS) $(TEST_LOG_DRIVER_FLAGS) -- $(TEST_LOG_COMPILE) \
11171133 @am__EXEEXT_TRUE@ "$$tst" $(AM_TESTS_FD_REDIRECT)
11181134
1119 distdir: $(DISTFILES)
1135 distdir: $(BUILT_SOURCES)
1136 $(MAKE) $(AM_MAKEFLAGS) distdir-am
1137
1138 distdir-am: $(DISTFILES)
11201139 @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
11211140 topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
11221141 list='$(DISTFILES)'; \
11961215 mostlyclean-am
11971216
11981217 distclean: distclean-am
1199 -rm -rf ./$(DEPDIR)
1218 -rm -f ./$(DEPDIR)/irplib_cat-test.Po
1219 -rm -f ./$(DEPDIR)/irplib_framelist-test.Po
1220 -rm -f ./$(DEPDIR)/irplib_hist-test.Po
1221 -rm -f ./$(DEPDIR)/irplib_plugin-test.Po
1222 -rm -f ./$(DEPDIR)/irplib_polynomial-test.Po
1223 -rm -f ./$(DEPDIR)/irplib_sdp_spectrum-test.Po
1224 -rm -f ./$(DEPDIR)/irplib_strehl-test.Po
1225 -rm -f ./$(DEPDIR)/irplib_utils-test.Po
1226 -rm -f ./$(DEPDIR)/irplib_wcs-test.Po
1227 -rm -f ./$(DEPDIR)/irplib_wlxcorr-test.Po
12001228 -rm -f Makefile
12011229 distclean-am: clean-am distclean-compile distclean-generic \
12021230 distclean-tags
12421270 installcheck-am:
12431271
12441272 maintainer-clean: maintainer-clean-am
1245 -rm -rf ./$(DEPDIR)
1273 -rm -f ./$(DEPDIR)/irplib_cat-test.Po
1274 -rm -f ./$(DEPDIR)/irplib_framelist-test.Po
1275 -rm -f ./$(DEPDIR)/irplib_hist-test.Po
1276 -rm -f ./$(DEPDIR)/irplib_plugin-test.Po
1277 -rm -f ./$(DEPDIR)/irplib_polynomial-test.Po
1278 -rm -f ./$(DEPDIR)/irplib_sdp_spectrum-test.Po
1279 -rm -f ./$(DEPDIR)/irplib_strehl-test.Po
1280 -rm -f ./$(DEPDIR)/irplib_utils-test.Po
1281 -rm -f ./$(DEPDIR)/irplib_wcs-test.Po
1282 -rm -f ./$(DEPDIR)/irplib_wlxcorr-test.Po
12461283 -rm -f Makefile
12471284 maintainer-clean-am: distclean-am maintainer-clean-generic
12481285
12631300
12641301 .MAKE: check-am install-am install-strip
12651302
1266 .PHONY: CTAGS GTAGS TAGS all all-am check check-TESTS check-am clean \
1267 clean-checkPROGRAMS clean-generic clean-libtool clean-local \
1268 cscopelist-am ctags ctags-am distclean distclean-compile \
1269 distclean-generic distclean-libtool distclean-tags distdir dvi \
1270 dvi-am html html-am info info-am install install-am \
1271 install-data install-data-am install-dvi install-dvi-am \
1272 install-exec install-exec-am install-html install-html-am \
1273 install-info install-info-am install-man install-pdf \
1274 install-pdf-am install-pkgincludeHEADERS install-ps \
1275 install-ps-am install-strip installcheck installcheck-am \
1276 installdirs maintainer-clean maintainer-clean-generic \
1277 mostlyclean mostlyclean-compile mostlyclean-generic \
1278 mostlyclean-libtool pdf pdf-am ps ps-am recheck tags tags-am \
1279 uninstall uninstall-am uninstall-pkgincludeHEADERS
1303 .PHONY: CTAGS GTAGS TAGS all all-am am--depfiles check check-TESTS \
1304 check-am clean clean-checkPROGRAMS clean-generic clean-libtool \
1305 clean-local cscopelist-am ctags ctags-am distclean \
1306 distclean-compile distclean-generic distclean-libtool \
1307 distclean-tags distdir dvi dvi-am html html-am info info-am \
1308 install install-am install-data install-data-am install-dvi \
1309 install-dvi-am install-exec install-exec-am install-html \
1310 install-html-am install-info install-info-am install-man \
1311 install-pdf install-pdf-am install-pkgincludeHEADERS \
1312 install-ps install-ps-am install-strip installcheck \
1313 installcheck-am installdirs maintainer-clean \
1314 maintainer-clean-generic mostlyclean mostlyclean-compile \
1315 mostlyclean-generic mostlyclean-libtool pdf pdf-am ps ps-am \
1316 recheck tags tags-am uninstall uninstall-am \
1317 uninstall-pkgincludeHEADERS
12801318
12811319 .PRECIOUS: Makefile
12821320
3838 # $(ipml_builddir)/tools/chainrunnerlib/libchainrunnerlib.la $(ipml_builddir)/toolslib/libtoolslib.la \
3939 # $(ipml_builddir)/unitcommon/libunitcommon.la $(ipml_builddir)/tools/c_chainrunner/libc_chainrunner.la
4040
41 AM_CPPFLAGS = $(all_includes)
42 LIBADD = $(LIBCPLCORE) $(LIBCPLDFS) $(LIBCPLUI)
41 AM_CPPFLAGS = $(all_includes) $(HDRL_INCLUDES)
42 LIBADD = $(LIBCPLCORE) $(LIBCPLDFS) $(LIBCPLUI) $(HDRL_LIBS)
4343 AM_LIBADD = $(LIBXSH) $(LIBADD)
44 AM_LDFLAGS = $(CPL_LDFLAGS) -module -avoid-version
44 AM_LDFLAGS = $(CPL_LDFLAGS) $(HDRL_LDFLAGS) -module -avoid-version
4545
4646 noinst_HEADERS =
4747
7878 xsh_lingain_la_LIBADD = $(AM_LIBADD)
7979
8080 xsh_mbias_la_SOURCES = xsh_mbias.c
81 xsh_mbias_la_LIBADD = $(AM_LIBADD)
81 xsh_mbias_la_LIBADD = $(AM_LIBADD)
8282
8383 xsh_mdark_la_SOURCES = xsh_mdark.c
8484 xsh_mdark_la_LIBADD = $(AM_LIBADD)
0 # Makefile.in generated by automake 1.15 from Makefile.am.
0 # Makefile.in generated by automake 1.16.1 from Makefile.am.
11 # @configure_input@
22
3 # Copyright (C) 1994-2014 Free Software Foundation, Inc.
3 # Copyright (C) 1994-2018 Free Software Foundation, Inc.
44
55 # This Makefile.in is free software; the Free Software Foundation
66 # gives unlimited permission to copy and/or distribute it,
139139 LTLIBRARIES = $(plugin_LTLIBRARIES)
140140 am__DEPENDENCIES_1 =
141141 am__DEPENDENCIES_2 = $(am__DEPENDENCIES_1) $(am__DEPENDENCIES_1) \
142 $(am__DEPENDENCIES_1)
142 $(am__DEPENDENCIES_1) $(am__DEPENDENCIES_1)
143143 am__DEPENDENCIES_3 = $(am__DEPENDENCIES_1) $(am__DEPENDENCIES_2)
144144 xsh_2dmap_la_DEPENDENCIES = $(am__DEPENDENCIES_3)
145145 am_xsh_2dmap_la_OBJECTS = xsh_2dmap.lo
233233 am__v_at_1 =
234234 DEFAULT_INCLUDES = -I.@am__isrc@ -I$(top_builddir)
235235 depcomp = $(SHELL) $(top_srcdir)/admin/depcomp
236 am__depfiles_maybe = depfiles
236 am__maybe_remake_depfiles = depfiles
237 am__depfiles_remade = ./$(DEPDIR)/xsh_2dmap.Plo \
238 ./$(DEPDIR)/xsh_cfg_recover.Plo ./$(DEPDIR)/xsh_flexcomp.Plo \
239 ./$(DEPDIR)/xsh_geom_ifu.Plo ./$(DEPDIR)/xsh_lingain.Plo \
240 ./$(DEPDIR)/xsh_mbias.Plo ./$(DEPDIR)/xsh_mdark.Plo \
241 ./$(DEPDIR)/xsh_mflat.Plo ./$(DEPDIR)/xsh_orderpos.Plo \
242 ./$(DEPDIR)/xsh_predict.Plo \
243 ./$(DEPDIR)/xsh_respon_slit_nod.Plo \
244 ./$(DEPDIR)/xsh_respon_slit_offset.Plo \
245 ./$(DEPDIR)/xsh_respon_slit_stare.Plo \
246 ./$(DEPDIR)/xsh_scired_ifu_offset.Plo \
247 ./$(DEPDIR)/xsh_scired_ifu_stare.Plo \
248 ./$(DEPDIR)/xsh_scired_slit_nod.Plo \
249 ./$(DEPDIR)/xsh_scired_slit_offset.Plo \
250 ./$(DEPDIR)/xsh_scired_slit_stare.Plo \
251 ./$(DEPDIR)/xsh_util_ifu_offset.Plo \
252 ./$(DEPDIR)/xsh_util_ifu_stare.Plo \
253 ./$(DEPDIR)/xsh_util_physmod.Plo ./$(DEPDIR)/xsh_wavecal.Plo
237254 am__mv = mv -f
238255 COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \
239256 $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
495512 # $(ipml_builddir)/somanagerlib/libsomanagerlib.la $(ipml_builddir)/tinyxml/libtinyxml.la \
496513 # $(ipml_builddir)/tools/chainrunnerlib/libchainrunnerlib.la $(ipml_builddir)/toolslib/libtoolslib.la \
497514 # $(ipml_builddir)/unitcommon/libunitcommon.la $(ipml_builddir)/tools/c_chainrunner/libc_chainrunner.la
498 AM_CPPFLAGS = $(all_includes)
499 LIBADD = $(LIBCPLCORE) $(LIBCPLDFS) $(LIBCPLUI)
515 AM_CPPFLAGS = $(all_includes) $(HDRL_INCLUDES)
516 LIBADD = $(LIBCPLCORE) $(LIBCPLDFS) $(LIBCPLUI) $(HDRL_LIBS)
500517 AM_LIBADD = $(LIBXSH) $(LIBADD)
501 AM_LDFLAGS = $(CPL_LDFLAGS) -module -avoid-version
518 AM_LDFLAGS = $(CPL_LDFLAGS) $(HDRL_LDFLAGS) -module -avoid-version
502519 noinst_HEADERS =
503520 plugin_LTLIBRARIES = xsh_cfg_recover.la \
504521 xsh_lingain.la \
528545 xsh_lingain_la_SOURCES = xsh_lingain.c
529546 xsh_lingain_la_LIBADD = $(AM_LIBADD)
530547 xsh_mbias_la_SOURCES = xsh_mbias.c
531 xsh_mbias_la_LIBADD = $(AM_LIBADD)
548 xsh_mbias_la_LIBADD = $(AM_LIBADD)
532549 xsh_mdark_la_SOURCES = xsh_mdark.c
533550 xsh_mdark_la_LIBADD = $(AM_LIBADD)
534551 xsh_mflat_la_SOURCES = xsh_mflat.c
588605 *config.status*) \
589606 cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \
590607 *) \
591 echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \
592 cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \
608 echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__maybe_remake_depfiles)'; \
609 cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__maybe_remake_depfiles);; \
593610 esac;
594611
595612 $(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
708725 distclean-compile:
709726 -rm -f *.tab.c
710727
711 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/xsh_2dmap.Plo@am__quote@
712 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/xsh_cfg_recover.Plo@am__quote@
713 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/xsh_flexcomp.Plo@am__quote@
714 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/xsh_geom_ifu.Plo@am__quote@
715 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/xsh_lingain.Plo@am__quote@
716 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/xsh_mbias.Plo@am__quote@
717 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/xsh_mdark.Plo@am__quote@
718 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/xsh_mflat.Plo@am__quote@
719 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/xsh_orderpos.Plo@am__quote@
720 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/xsh_predict.Plo@am__quote@
721 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/xsh_respon_slit_nod.Plo@am__quote@
722 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/xsh_respon_slit_offset.Plo@am__quote@
723 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/xsh_respon_slit_stare.Plo@am__quote@
724 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/xsh_scired_ifu_offset.Plo@am__quote@
725 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/xsh_scired_ifu_stare.Plo@am__quote@
726 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/xsh_scired_slit_nod.Plo@am__quote@
727 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/xsh_scired_slit_offset.Plo@am__quote@
728 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/xsh_scired_slit_stare.Plo@am__quote@
729 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/xsh_util_ifu_offset.Plo@am__quote@
730 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/xsh_util_ifu_stare.Plo@am__quote@
731 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/xsh_util_physmod.Plo@am__quote@
732 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/xsh_wavecal.Plo@am__quote@
728 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/xsh_2dmap.Plo@am__quote@ # am--include-marker
729 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/xsh_cfg_recover.Plo@am__quote@ # am--include-marker
730 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/xsh_flexcomp.Plo@am__quote@ # am--include-marker
731 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/xsh_geom_ifu.Plo@am__quote@ # am--include-marker
732 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/xsh_lingain.Plo@am__quote@ # am--include-marker
733 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/xsh_mbias.Plo@am__quote@ # am--include-marker
734 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/xsh_mdark.Plo@am__quote@ # am--include-marker
735 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/xsh_mflat.Plo@am__quote@ # am--include-marker
736 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/xsh_orderpos.Plo@am__quote@ # am--include-marker
737 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/xsh_predict.Plo@am__quote@ # am--include-marker
738 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/xsh_respon_slit_nod.Plo@am__quote@ # am--include-marker
739 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/xsh_respon_slit_offset.Plo@am__quote@ # am--include-marker
740 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/xsh_respon_slit_stare.Plo@am__quote@ # am--include-marker
741 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/xsh_scired_ifu_offset.Plo@am__quote@ # am--include-marker
742 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/xsh_scired_ifu_stare.Plo@am__quote@ # am--include-marker
743 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/xsh_scired_slit_nod.Plo@am__quote@ # am--include-marker
744 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/xsh_scired_slit_offset.Plo@am__quote@ # am--include-marker
745 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/xsh_scired_slit_stare.Plo@am__quote@ # am--include-marker
746 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/xsh_util_ifu_offset.Plo@am__quote@ # am--include-marker
747 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/xsh_util_ifu_stare.Plo@am__quote@ # am--include-marker
748 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/xsh_util_physmod.Plo@am__quote@ # am--include-marker
749 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/xsh_wavecal.Plo@am__quote@ # am--include-marker
750
751 $(am__depfiles_remade):
752 @$(MKDIR_P) $(@D)
753 @echo '# dummy' >$@-t && $(am__mv) $@-t $@
754
755 am--depfiles: $(am__depfiles_remade)
733756
734757 .c.o:
735758 @am__fastdepCC_TRUE@ $(AM_V_CC)$(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $<
810833 distclean-tags:
811834 -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
812835
813 distdir: $(DISTFILES)
836 distdir: $(BUILT_SOURCES)
837 $(MAKE) $(AM_MAKEFLAGS) distdir-am
838
839 distdir-am: $(DISTFILES)
814840 @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
815841 topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
816842 list='$(DISTFILES)'; \
885911 mostlyclean-am
886912
887913 distclean: distclean-am
888 -rm -rf ./$(DEPDIR)
914 -rm -f ./$(DEPDIR)/xsh_2dmap.Plo
915 -rm -f ./$(DEPDIR)/xsh_cfg_recover.Plo
916 -rm -f ./$(DEPDIR)/xsh_flexcomp.Plo
917 -rm -f ./$(DEPDIR)/xsh_geom_ifu.Plo
918 -rm -f ./$(DEPDIR)/xsh_lingain.Plo
919 -rm -f ./$(DEPDIR)/xsh_mbias.Plo
920 -rm -f ./$(DEPDIR)/xsh_mdark.Plo
921 -rm -f ./$(DEPDIR)/xsh_mflat.Plo
922 -rm -f ./$(DEPDIR)/xsh_orderpos.Plo
923 -rm -f ./$(DEPDIR)/xsh_predict.Plo
924 -rm -f ./$(DEPDIR)/xsh_respon_slit_nod.Plo
925 -rm -f ./$(DEPDIR)/xsh_respon_slit_offset.Plo
926 -rm -f ./$(DEPDIR)/xsh_respon_slit_stare.Plo
927 -rm -f ./$(DEPDIR)/xsh_scired_ifu_offset.Plo
928 -rm -f ./$(DEPDIR)/xsh_scired_ifu_stare.Plo
929 -rm -f ./$(DEPDIR)/xsh_scired_slit_nod.Plo
930 -rm -f ./$(DEPDIR)/xsh_scired_slit_offset.Plo
931 -rm -f ./$(DEPDIR)/xsh_scired_slit_stare.Plo
932 -rm -f ./$(DEPDIR)/xsh_util_ifu_offset.Plo
933 -rm -f ./$(DEPDIR)/xsh_util_ifu_stare.Plo
934 -rm -f ./$(DEPDIR)/xsh_util_physmod.Plo
935 -rm -f ./$(DEPDIR)/xsh_wavecal.Plo
889936 -rm -f Makefile
890937 distclean-am: clean-am distclean-compile distclean-generic \
891938 distclean-tags
931978 installcheck-am:
932979
933980 maintainer-clean: maintainer-clean-am
934 -rm -rf ./$(DEPDIR)
981 -rm -f ./$(DEPDIR)/xsh_2dmap.Plo
982 -rm -f ./$(DEPDIR)/xsh_cfg_recover.Plo
983 -rm -f ./$(DEPDIR)/xsh_flexcomp.Plo
984 -rm -f ./$(DEPDIR)/xsh_geom_ifu.Plo
985 -rm -f ./$(DEPDIR)/xsh_lingain.Plo
986 -rm -f ./$(DEPDIR)/xsh_mbias.Plo
987 -rm -f ./$(DEPDIR)/xsh_mdark.Plo
988 -rm -f ./$(DEPDIR)/xsh_mflat.Plo
989 -rm -f ./$(DEPDIR)/xsh_orderpos.Plo
990 -rm -f ./$(DEPDIR)/xsh_predict.Plo
991 -rm -f ./$(DEPDIR)/xsh_respon_slit_nod.Plo
992 -rm -f ./$(DEPDIR)/xsh_respon_slit_offset.Plo
993 -rm -f ./$(DEPDIR)/xsh_respon_slit_stare.Plo
994 -rm -f ./$(DEPDIR)/xsh_scired_ifu_offset.Plo
995 -rm -f ./$(DEPDIR)/xsh_scired_ifu_stare.Plo
996 -rm -f ./$(DEPDIR)/xsh_scired_slit_nod.Plo
997 -rm -f ./$(DEPDIR)/xsh_scired_slit_offset.Plo
998 -rm -f ./$(DEPDIR)/xsh_scired_slit_stare.Plo
999 -rm -f ./$(DEPDIR)/xsh_util_ifu_offset.Plo
1000 -rm -f ./$(DEPDIR)/xsh_util_ifu_stare.Plo
1001 -rm -f ./$(DEPDIR)/xsh_util_physmod.Plo
1002 -rm -f ./$(DEPDIR)/xsh_wavecal.Plo
9351003 -rm -f Makefile
9361004 maintainer-clean-am: distclean-am maintainer-clean-generic
9371005
9521020
9531021 .MAKE: install-am install-strip
9541022
955 .PHONY: CTAGS GTAGS TAGS all all-am check check-am clean clean-generic \
956 clean-libtool clean-pluginLTLIBRARIES cscopelist-am ctags \
957 ctags-am distclean distclean-compile distclean-generic \
958 distclean-libtool distclean-tags distdir dvi dvi-am html \
959 html-am info info-am install install-am install-data \
960 install-data-am install-dvi install-dvi-am install-exec \
961 install-exec-am install-html install-html-am install-info \
962 install-info-am install-man install-pdf install-pdf-am \
963 install-pluginLTLIBRARIES install-ps install-ps-am \
964 install-strip installcheck installcheck-am installdirs \
965 maintainer-clean maintainer-clean-generic mostlyclean \
966 mostlyclean-compile mostlyclean-generic mostlyclean-libtool \
967 pdf pdf-am ps ps-am tags tags-am uninstall uninstall-am \
968 uninstall-pluginLTLIBRARIES
1023 .PHONY: CTAGS GTAGS TAGS all all-am am--depfiles check check-am clean \
1024 clean-generic clean-libtool clean-pluginLTLIBRARIES \
1025 cscopelist-am ctags ctags-am distclean distclean-compile \
1026 distclean-generic distclean-libtool distclean-tags distdir dvi \
1027 dvi-am html html-am info info-am install install-am \
1028 install-data install-data-am install-dvi install-dvi-am \
1029 install-exec install-exec-am install-html install-html-am \
1030 install-info install-info-am install-man install-pdf \
1031 install-pdf-am install-pluginLTLIBRARIES install-ps \
1032 install-ps-am install-strip installcheck installcheck-am \
1033 installdirs maintainer-clean maintainer-clean-generic \
1034 mostlyclean mostlyclean-compile mostlyclean-generic \
1035 mostlyclean-libtool pdf pdf-am ps ps-am tags tags-am uninstall \
1036 uninstall-am uninstall-pluginLTLIBRARIES
9691037
9701038 .PRECIOUS: Makefile
9711039
4242 Includes
4343 ----------------------------------------------------------------------------*/
4444
45
45 #include <hdrl.h>
4646 /* DRL steps */
4747
4848 /* Error handling */
169169 10,100,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,3,25};
170170 xsh_struct_param struct_param = {-1,-1};
171171 xsh_stack_param stack_param = {"median",5.,5.};
172 xsh_pd_noise_param pd_noise_param = {1,1,CPL_FALSE};
172173 int ival=DECODE_BP_FLAG_DEF;
173174 /* Reset library state */
174175 xsh_init();
194195 check(xsh_parameters_fpn_create(RECIPE_ID,recipe->parameters,fpn_param));
195196 check(xsh_parameters_ron_create(RECIPE_ID,recipe->parameters,ron_param));
196197 check(xsh_parameters_struct_create(RECIPE_ID,recipe->parameters,struct_param));
198 check(xsh_parameters_pd_noise_create(RECIPE_ID,recipe->parameters,
199 pd_noise_param));
197200 cleanup:
198201 if (cpl_error_get_code() != CPL_ERROR_NONE) {
199202 xsh_error_dump(CPL_MSG_ERROR);
268271 }
269272 }
270273
271
272
274 static cpl_error_code
275 xsh_mbias_fpn(cpl_frameset *frames, const cpl_parameterlist* parameters,
276 xsh_instrument* instrument, const char* recipe_id){
277 xsh_msg("compute noise");
278 int binx=instrument->binx;
279 int biny=instrument->biny;
280 const char* arm=xsh_instrument_arm_tostring(instrument);
281
282 //const char* bias_raw_tag=xsh_get_tag_from_arm(XSH_BIAS, instrument);
283
284 const char* bias_raw_tag=XSH_GET_TAG_FROM_ARM_EXT(XSH_BIAS,instrument);
285
286 const char* power_spectrum_mask_tag=XSH_GET_TAG_FROM_ARM_EXT(XSH_BIAS_PD_MASK,
287 instrument);
288 cpl_parameter* p;
289
290 p=xsh_parameters_find(parameters,RECIPE_ID,"pd_noise_dc_x");
291 int dc_mask_x=cpl_parameter_get_int(p);
292
293 p=xsh_parameters_find(parameters,RECIPE_ID,"pd_noise_dc_y");
294 int dc_mask_y=cpl_parameter_get_int(p);
295
296 /* Create the raw and powerspec_mask framesets (only RAW and POWERSPEC_MASK) */
297 cpl_size nframes = cpl_frameset_get_size(frames);
298 cpl_frameset *fs_raws = cpl_frameset_new();
299 cpl_frameset *fs_masks = cpl_frameset_new();
300 //xsh_msg("nframes=%ld",nframes);
301 for (cpl_size i = 0; i < nframes; i++) {
302
303 cpl_frame *frame = cpl_frameset_get_position(frames, i);
304
305 if (!strcmp(cpl_frame_get_tag(frame), bias_raw_tag)) {
306 cpl_frameset_insert(fs_raws, cpl_frame_duplicate(frame));
307
308 } else if (!strcmp(cpl_frame_get_tag(frame), power_spectrum_mask_tag)) {
309 cpl_frameset_insert(fs_masks, cpl_frame_duplicate(frame));
310 }
311 }
312
313 cpl_size n_masks = cpl_frameset_count_tags(frames, power_spectrum_mask_tag);
314 //xsh_msg("n_masks=%ld",n_masks);
315 cpl_size n_raws = cpl_frameset_get_size(fs_raws);
316 //xsh_msg("n_raws=%ld",n_raws);
317
318
319 char *out_filename = cpl_sprintf("%s","bias_fpn_power_spectrum.fits");
320 char *out_filename_mask = cpl_sprintf("%s","bias_fpn_mask.fits");
321 for (int n_frame = 0; n_frame < n_raws; n_frame++) {
322 cpl_frame *frm_raw = cpl_frameset_get_position(fs_raws, n_frame);
323 const char *filename_raw = cpl_frame_get_filename(frm_raw);
324 cpl_msg_info(cpl_func,"Load image, filename=%s ...", filename_raw);
325 cpl_image *img_in = cpl_image_load(cpl_frame_get_filename(frm_raw),
326 CPL_TYPE_DOUBLE, 0, 0);
327
328 /* Compute Pattern noise */
329 cpl_image *power_spectrum = NULL;
330 double std = -1.;
331 double std_mad = -1.;
332 cpl_mask *mask_in = NULL;
333 //cpl_frameset_dump(fs_masks,stdout);
334 //if (n_frame < n_masks && n_masks > 0) {
335 if (n_masks > 0) {
336 /* only one input mask is expected for each arm */
337 cpl_frame *frm_mask = cpl_frameset_get_position(fs_masks, 0);
338 const char *filename_mask = cpl_frame_get_filename(frm_mask);
339
340 /* Load input mask, extension 0 same mask for any input raw n */
341 cpl_msg_info(cpl_func,"Load mask, filename=%s ...", filename_mask);
342 mask_in = cpl_mask_load(filename_mask, 0, 0);
343 }
344
345 if (hdrl_fpn_compute(img_in, mask_in, dc_mask_x, dc_mask_y,
346 &power_spectrum, &std, &std_mad) != CPL_ERROR_NONE) {
347
348 if (img_in ) cpl_image_delete(img_in);
349 if (mask_in ) cpl_mask_delete(mask_in);
350 if (power_spectrum ) cpl_image_delete(power_spectrum);
351
352 return cpl_error_get_code();
353 }
354
355 cpl_propertylist *plist = cpl_propertylist_new();
356 cpl_propertylist *xlist = cpl_propertylist_new();
357
358 /* Add STD */
359 if (!isnan(std)) {
360 cpl_propertylist_update_double(plist, "ESO QC FPN STD", std);
361 cpl_propertylist_update_double(xlist, "ESO QC FPN STD", std);
362
363 } else {
364 cpl_propertylist_update_double(plist, "ESO QC FPN STD", -DBL_MAX);
365 cpl_propertylist_update_double(xlist, "ESO QC FPN STD", -DBL_MAX);
366 }
367
368 /* Add Peak value */
369 if (!isnan(std_mad)) {
370 cpl_propertylist_update_double(plist, "ESO QC FPN STDMAD", std_mad);
371 cpl_propertylist_update_double(xlist, "ESO QC FPN STDMAD", std_mad);
372 } else {
373 cpl_propertylist_update_double(plist, "ESO QC FPN STDMAD", -DBL_MAX);
374 cpl_propertylist_update_double(xlist, "ESO QC FPN STDMAD", -DBL_MAX);
375 }
376
377
378 /* Save pattern noise mask image */
379 cpl_propertylist_update_string(plist, CPL_DFS_PRO_CATG,
380 power_spectrum_mask_tag);
381
382 /* Create an output frameset */
383
384 /* power spectrum mask */
385
386 cpl_image *out_mask_image = cpl_image_new_from_mask(cpl_image_get_bpm(power_spectrum));
387 if(n_frame == 0) {
388 /* same mask for any input raw frame */
389 cpl_dfs_save_image(frames, NULL, parameters, frames, frm_raw,
390 out_mask_image, CPL_TYPE_INT, recipe_id, plist, NULL,
391 PACKAGE "/" PACKAGE_VERSION, out_filename_mask);
392 }
393
394 /* power spectrum */
395 const char* bias_fpn_tag=xsh_get_tag_from_arm(XSH_BIAS_PD, instrument);
396 cpl_propertylist_update_string(plist, CPL_DFS_PRO_CATG, bias_fpn_tag);
397
398 if(n_frame == 0) {
399 cpl_dfs_save_image(frames, NULL, parameters, frames, frm_raw,
400 power_spectrum, CPL_TYPE_DOUBLE, recipe_id, plist, NULL,
401 PACKAGE "/" PACKAGE_VERSION, out_filename);
402 } else {
403 cpl_image_save(power_spectrum, out_filename, CPL_TYPE_DOUBLE, xlist, CPL_IO_EXTEND);
404 }
405
406 if(out_mask_image) cpl_image_delete(out_mask_image);
407 if(power_spectrum) cpl_image_delete(power_spectrum);
408 if (mask_in ) cpl_mask_delete(mask_in);
409
410 cpl_propertylist_delete(plist);
411 cpl_propertylist_delete(xlist);
412
413 }
414 cpl_frameset_delete(fs_raws);
415 cpl_frameset_delete(fs_masks);
416 cpl_free(out_filename);
417 cpl_free(out_filename_mask);
418 return cpl_error_get_code();
419 }
273420
274421 /*---------------------------------------------------------------------------*/
275422 /**
317464 //XSH_ASSURE_NOT_ILLEGAL(cpl_frameset_get_size(raws) >= 3);
318465 check(bpmap=xsh_check_load_master_bpmap(calib,instrument,RECIPE_ID));
319466
320
321467 check(bias_frm=cpl_frameset_get_frame(raws,0));
322468 check(plist=cpl_propertylist_load(cpl_frame_get_filename(bias_frm),0));
323469 xsh_free_propertylist(&plist);
333479 /**************************************************************************/
334480 /* Recipe code */
335481 /**************************************************************************/
482 cpl_parameter* p;
483 p=xsh_parameters_find(parameters,RECIPE_ID,"pd_noise_compute");
484 int pd_noise_compute=cpl_parameter_get_bool(p);
485
336486
337487 /* prepare RAW frames in XSH format */
338488 check(xsh_prepare(raws, bpmap, NULL, XSH_BIAS, instrument,pre_overscan_corr,CPL_TRUE));
339
489 /* compute fpn power spectrum */
490
491 if(pd_noise_compute) {
492 xsh_mbias_fpn(frameset, parameters, instrument,RECIPE_ID );
493 }
340494 /* remove cosmic rays and merge the RAWS */
341495
342496 if(strcmp(stack_par->stack_method,"mean") == 0) {
170170 cpl_recipe *recipe = NULL;
171171 xsh_clipping_param crh_clip_param = {-1.0, 3, 0.7, 0, 0.3};
172172 xsh_clipping_param noise_clip_param = {9.0, 5, 0.7, 0, 0.3};
173 xsh_fpn_param fpn_param = {-1,-1,-1,-1,2,1000};
173 xsh_fpn_param fpn_param = {-1,-1,-1,-1,4,100};
174174 xsh_ref_param ref_param = {-1,-1,-1,-1};
175175 xsh_ron_dark_param ron_param = {-1,-1,-1,-1,4,100};
176176 xsh_stack_param stack_param = {"median",5.,5.};
521521 * because we need to have the calib frameset with input frames already with correct binning
522522 * that is done by xsh_set_recipe_file_prefix (which needs frames in PRE format)
523523 */
524 /* PIPE-9018: But we also need to have pre-overscan-corr properly set */
525 /* This assignment of pre_overscan_corr does not need to be replicated in
526 * xsh_scired_slit_nod because xsh_scired_nod_get_calibs sets the parameter correctly
527 * before xsh_prepare is called - as described above, this needs to be triggered
528 * earlier in this recipe */
529 check( pre_overscan_corr = xsh_parameters_get_int( parameters, RECIPE_ID,
530 "pre-overscan-corr"));
531
524532 check( xsh_prepare( raws_ord_set, bpmap, master_bias, XSH_OBJECT_SLIT_NOD,
525533 instrument,pre_overscan_corr,CPL_TRUE));
526534
509509 * because we need to have the calib frameset with input frames already with correct binning
510510 * that is done by xsh_set_recipe_file_prefix (which needs frames in PRE format)
511511 */
512 /* But we also need to have pre-overscan-corr properly set */
513 check( pre_overscan_corr = xsh_parameters_get_int( parameters, RECIPE_ID,
514 "pre-overscan-corr"));
515
512516 /* prepare RAW frames in PRE format */
513517 check(xsh_prepare(raws, bpmap, master_bias, XSH_STD_FLUX_SLIT_OFFSET,
514518 instrument,pre_overscan_corr,CPL_TRUE));
607611 check( corr_tell = xsh_parameters_get_boolean( parameters,RECIPE_ID,
608612 "correct-tellurics"));
609613
610 check( pre_overscan_corr = xsh_parameters_get_int( parameters, RECIPE_ID,
611 "pre-overscan-corr"));
612614
613615 /**************************************************************************/
614616 /* Recipe code */
0 # Makefile.in generated by automake 1.15 from Makefile.am.
0 # Makefile.in generated by automake 1.16.1 from Makefile.am.
11 # @configure_input@
22
3 # Copyright (C) 1994-2014 Free Software Foundation, Inc.
3 # Copyright (C) 1994-2018 Free Software Foundation, Inc.
44
55 # This Makefile.in is free software; the Free Software Foundation
66 # gives unlimited permission to copy and/or distribute it,
367367 *config.status*) \
368368 cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \
369369 *) \
370 echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \
371 cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \
370 echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__maybe_remake_depfiles)'; \
371 cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__maybe_remake_depfiles);; \
372372 esac;
373373
374374 $(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
436436 cscope cscopelist:
437437
438438
439 distdir: $(DISTFILES)
439 distdir: $(BUILT_SOURCES)
440 $(MAKE) $(AM_MAKEFLAGS) distdir-am
441
442 distdir-am: $(DISTFILES)
440443 @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
441444 topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
442445 list='$(DISTFILES)'; \
00 # import the needed modules
1 from __future__ import absolute_import
2 from __future__ import print_function
13 try:
24 import reflex
35 import_sucess = 'true'
68
79 except ImportError:
810 import_sucess = 'false'
9 print "Error importing modules pyfits, wx, matplotlib, numpy"
11 print("Error importing modules pyfits, wx, matplotlib, numpy")
1012
1113 #This is the 'main' function
1214 if __name__ == '__main__':
00 # import the needed modules
1 from __future__ import absolute_import
2 from __future__ import print_function
13 try:
24 # import sys
35 import numpy
7981 bpm.readImage(fits_extension=2)
8082 img_bpm = ImageDisplay()
8183
82 img_obj.setLabels('Wavelength [nm]','Position Along Slit [arcsec]')
84 img_obj.setLabels('Wavelength [nm]','Position Along Slit [arcsec]')
8385 y_size, x_size = obj.image.shape
8486
8587 img_obj.setXLinearWCSAxis(obj.crval1,obj.cdelt1,obj.crpix1)
8688 img_obj.setYLinearWCSAxis(obj.crval2,obj.cdelt2,obj.crpix2)
8789
88 #img_obj.setLimits((1,x_size),(0,y_size))
90 #img_obj.setLimits((1,x_size),(0,y_size))
8991 img_obj.display(subplot, title, self.paragraph(tooltip),obj.image,bpm.image)
9092
9193 def oplotImageScatter(self,img,tab,ext,binx,biny,Xcol,Ycol,subplot, marker = 'o', size = 10, color = 'blue' ):
108110 bpm.readImage(fits_extension=2)
109111 img_bpm = ImageDisplay()
110112
111 img_disp.setLabels(Xlab,Ylab)
113 img_disp.setLabels(Xlab,Ylab)
112114 y_size, x_size = obj.image.shape
113115
114116 img_disp.setXLinearWCSAxis(obj.crval1,obj.cdelt1,obj.crpix1)
115117 img_disp.setYLinearWCSAxis(obj.crval2,obj.cdelt2,obj.crpix2)
116118
117 #self.img_obj.setLimits((0,x_size),(0,y_size))
119 #self.img_obj.setLimits((0,x_size),(0,y_size))
118120
119121
120122 #2D image display
299301 arm=self.seq_arm
300302
301303 if arm == "UVB":
302 self.arm_uvb_found = True
304 self.arm_uvb_found = True
303305 if arm == "VIS":
304 self.arm_vis_found = True
306 self.arm_vis_found = True
305307 if arm == "NIR":
306 self.arm_nir_found = True
308 self.arm_nir_found = True
307309
308310 # For any arm search a list of input frames
309311 #print "arm=",arm , "prefix=",prefix
342344 self.edges_tab = PipelineProduct(hdulist)
343345 #self.nima += 1
344346 #print "found edges tab"
345
347
346348 key = prefix+"ON_"+arm
347349 if key in frames :
348350 self.frameON_found = True
485487 #print "mfat check:", self.edges_tab_found, self.mflat_found
486488 if (self.resid_tab_found == True and self.frameON_found == True) or (self.edges_tab_found == True and self.mflat_found == True):
487489 #and self.lineguess_found == True
488 title_pref = 'Linear-extracted and Merged Spectrum.'
490 title_pref = 'Linear-extracted and Merged Spectrum.'
489491
490492 tooltip_spectrum ="""\
491493 Plot of the linear-extracted and merged spectrum of the object
495497 """
496498
497499
498 if self.arm_uvb_found == True:
499 title_spectrum = title_pref
500
501 if self.arm_vis_found == True:
502 title_spectrum = title_pref
503
504 if self.arm_nir_found == True:
505 title_spectrum = title_pref
506
507
500 if self.arm_uvb_found == True:
501 title_spectrum = title_pref
502
503 if self.arm_vis_found == True:
504 title_spectrum = title_pref
505
506 if self.arm_nir_found == True:
507 title_spectrum = title_pref
508
509
508510 #Display ON frame
509511
510512 #Overplot initial list of lines
680682 self.par.setModelParameters(paramList,rec_id)
681683
682684 elif rec_id[4:11] == "wavecal" :
683 print "found wavecal params"
685 print("found wavecal params")
684686
685687 elif rec_id[4:12] == "flexcomp" :
686 print "found flexcomp params"
688 print("found flexcomp params")
687689 else :
688 print "recipe" ,rec_id, "not supported"
690 print("recipe" ,rec_id, "not supported")
689691
690692 return paramList
691693
701703
702704 except ImportError:
703705 import_sucess = 'false'
704 print "Error importing modules pyfits, wx, matplotlib, numpy"
706 print("Error importing modules pyfits, wx, matplotlib, numpy")
705707 raise
706708
0 from __future__ import absolute_import
01 def log_invocation(fn='/tmp/reflex_invoc.log'):
12 """ log invocation of actor for easy reexecution with:
23 eval $(cat /tmp/reflex_invoc.log)
00 # import the needed modules
1 from __future__ import absolute_import
2 from __future__ import print_function
13 try:
24 import reflex
35 import_sucess = 'true'
68
79 except ImportError:
810 import_sucess = 'false'
9 print "Error importing modules pyfits, wx, matplotlib, numpy"
11 print("Error importing modules pyfits, wx, matplotlib, numpy")
1012
1113 #This is the 'main' function
1214 if __name__ == '__main__':
00 # import the needed modules
1 from __future__ import absolute_import
2 from __future__ import print_function
13 try:
24 # import sys
35 import numpy
8183 #in case response is available we need to reduce fonts
8284 subplot.set_title(title, fontsize=7)
8385 try:
84 subplot.figure.tight_layout()
86 pass
87 #subplot.figure.tight_layout()
8588 except AttributeError:
8689 pass
8790
117120 bpm.readImage(fits_extension=2)
118121 img_bpm = ImageDisplay()
119122
120 img_obj.setLabels('Wavelength [nm]','Position Along Slit \n [arcsec]')
123 img_obj.setLabels('Wavelength [nm]','Position Along Slit \n [arcsec]')
121124 y_size, x_size = obj.image.shape
122125 #print 'x_size=',x_size , 'y_size=',y_size
123126 #print 'crval1=',obj.crval1,'crpix1=',obj.crpix1,'cdelt1=',obj.cdelt1
125128 img_obj.setXLinearWCSAxis(obj.crval1,obj.cdelt1,obj.crpix1)
126129 img_obj.setYLinearWCSAxis(obj.crval2,obj.cdelt2,obj.crpix2)
127130
128 #img_obj.setLimits((0,x_size),(0,y_size))
131 #img_obj.setLimits((0,x_size),(0,y_size))
129132 #print bpm.image
130133 bp_code_missing_data = 524288
131134 bp_code_sky_model_inaccurate = 8388608
190193 self.RN1 = "1514-1548 nm"
191194 self.OPTI5_NAME = hdulist[0].header['ESO INS OPTI5 NAME']
192195 if "JH" in self.OPTI5_NAME :
193 self.arm_nir_jh_found = True
194 print "Found NIR JH filter"
196 self.arm_nir_jh_found = True
197 print("Found NIR JH filter")
195198 else :
196199 self.SN2 = hdulist[0].header['ESO QC FLUX2 SN']
197200 self.RN2 = "2214-2243 nm"
301304 arm=self.seq_arm
302305
303306 if arm == "UVB":
304 self.arm_uvb_found = True
307 self.arm_uvb_found = True
305308 if arm == "VIS":
306 self.arm_vis_found = True
309 self.arm_vis_found = True
307310 if arm == "NIR":
308 self.arm_nir_found = True
311 self.arm_nir_found = True
309312
310313
311314 # For any arm search a list of input frames
334337 self.flux_qual1D = PipelineProduct(hdulist)
335338 self.nima += 1
336339 #print "found FLUX_MERGED1D spectrum"
337
340
338341 key = prefix+"MERGE2D_"+arm
339342 if key in frames :
340343 self.spectrum2D_found = True
522525
523526 else :
524527 self.subtext_nodata = figure.add_subplot(1,1,1)
525 print "found no spectrum data"
528 print("found no spectrum data")
526529
527530
528531
536539 def plotProductsGraphics(self):
537540 if self.spectrum1D_found == True and self.spectrum2D_found == True:
538541 #and self.lineguess_found == True
539 title_pref = 'Standard-extracted and Merged Spectrum.'
542 title_pref = 'Standard-extracted and Merged Spectrum.'
540543 title_flux_spectrum = 'Standard Extracted, Merged, and Flux Calibrated Spectrum.'
541544 tooltip_spectrum ="""\
542545 Plot of the standard-extracted and merged spectrum of the object (blue line) as total flux (ADU) versus wavelength (nm). The +-1 sigma uncertainties are plotted as the light blue region encompassing the object spectrum (and bounded by the light grey spectra). Flagged pixels are marked with a dark-grey vertical bar stretching between the +- 1 sigma limits. Flagged bad pixels that are decoded as "bad pixels" are marked by a red vertical bar stretching between the +- 1 sigma limits. Note that this spectrum is not flux calibrated."""
560563 spectrum from the catalog is overplotted for
561564 comparison purposes as a green line."""
562565
563 if self.arm_uvb_found == True:
564 title_spectrum = title_pref+' \n SN: %#.2f (%#s); %#.2f (%#s) '% (self.SN1,self.RN1,self.SN2,self.RN2)
565
566 if self.arm_vis_found == True:
567 title_spectrum = title_pref+' \n SN: %#.2f (%#s); %#.2f (%#s); %#.2f (%#s) '% (self.SN1,self.RN1,self.SN2,self.RN2,self.SN3,self.RN3)
568
569 if self.arm_nir_found == True and self.arm_nir_found == True:
570 title_spectrum = title_pref+' \n SN: %#.2f (%#s); '% (self.SN1,self.RN1)
566 if self.arm_uvb_found == True:
567 title_spectrum = title_pref+' \n SN: %#.2f (%#s); %#.2f (%#s) '% (self.SN1,self.RN1,self.SN2,self.RN2)
568
569 if self.arm_vis_found == True:
570 title_spectrum = title_pref+' \n SN: %#.2f (%#s); %#.2f (%#s); %#.2f (%#s) '% (self.SN1,self.RN1,self.SN2,self.RN2,self.SN3,self.RN3)
571
572 if self.arm_nir_found == True and self.arm_nir_found == True:
573 title_spectrum = title_pref+' \n SN: %#.2f (%#s); '% (self.SN1,self.RN1)
571574 elif self.arm_nir_found == True :
572 title_spectrum = title_pref+' \n SN: %#.2f (%#s); %#.2f (%#s); '% (self.SN1,self.RN1,self.SN2,self.RN2)
573
574
575 title_spectrum = title_pref+' \n SN: %#.2f (%#s); %#.2f (%#s); '% (self.SN1,self.RN1,self.SN2,self.RN2)
576
577
575578 #Spectrum plot
576579
577580 self.plotSpectrum(self.spectrum1D,self.error1D,self.qual1D,self.decode_bp,self.subplot_spectrum,title_spectrum,tooltip_spectrum)
589592
590593
591594 #Image
592 info_bin_size = 'Pixel size: %#.3f [nm] x %#.3f [arcsec]'% (self.CDELT1,self.CDELT2)
595 info_bin_size = 'Pixel size: %#.3f [nm] x %#.3f [arcsec]'% (self.CDELT1,self.CDELT2)
593596
594597 title_image_obj = '2D Merged ' + self.obj_type +'Spectrum.'+ info_bin_size
595598 tooltip_image_obj ="""\
647650 fontsize=18, ha='left', va='center', alpha=1.0)
648651 self.subtext_nodata.tooltip="""\
649652 Merged spectrum not found in the products"""
650 print "found no spectrum data"
653 print("found no spectrum data")
651654
652655
653656 # This function specifies which are the parameters that should be presented
658661 # with the parameter list
659662 # Note also that parameters have to be prefixed by the 'recipe name:'
660663
661
664
662665 def setInteractiveParameters(self):
663666 paramList = list()
664667
698701
699702 except ImportError:
700703 import_sucess = 'false'
701 print "Error importing modules pyfits, wx, matplotlib, numpy"
704 print("Error importing modules pyfits, wx, matplotlib, numpy")
702705 raise
703706
00 # import the needed modules
1 from __future__ import absolute_import
2 from __future__ import print_function
13 try:
24 # import sys
35 import numpy
8486 #in case response is available we need to reduce fonts
8587 subplot.set_title(title, fontsize=7)
8688 try:
87 subplot.figure.tight_layout()
89 pass
90 #subplot.figure.tight_layout()
8891 except AttributeError:
8992 pass
9093
120123 bpm.readImage(fits_extension=2)
121124 img_bpm = ImageDisplay()
122125
123 img_obj.setLabels('Wavelength [nm]','Position Along Slit \n [arcsec]')
126 img_obj.setLabels('Wavelength [nm]','Position Along Slit \n [arcsec]')
124127 y_size, x_size = obj.image.shape
125128 #print 'x_size=',x_size , 'y_size=',y_size
126129 #print 'crval1=',obj.crval1,'crpix1=',obj.crpix1,'cdelt1=',obj.cdelt1
128131 img_obj.setXLinearWCSAxis(obj.crval1,obj.cdelt1,obj.crpix1)
129132 img_obj.setYLinearWCSAxis(obj.crval2,obj.cdelt2,obj.crpix2)
130133
131 #img_obj.setLimits((0,x_size),(0,y_size))
134 #img_obj.setLimits((0,x_size),(0,y_size))
132135 img_obj.display(subplot, title, self.paragraph(tooltip),obj.image,bpm.image)
133136 if self.response_found is True and self.rec_id[16:19] != "nod":
134137 #in case response is available we need to reduce fonts
147150 img_bpm = ImageDisplay()
148151 error = obj.image[slice,:,:]
149152
150 #img_obj.setLabels('IFU slice [arcsec]','Position Along Slit \n [arcsec]')
151 img_obj.setLabels('IFU slice [arcsec]','Position Along Slit \n [pixel]')
153 #img_obj.setLabels('IFU slice [arcsec]','Position Along Slit \n [arcsec]')
154 img_obj.setLabels('IFU slice [arcsec]','Position Along Slit \n [pixel]')
152155 y_size, x_size = image.shape
153 print 'x_size=',x_size , 'y_size=',y_size
156 print('x_size=',x_size , 'y_size=',y_size)
154157 #print 'crval1=',obj.crval1,'crpix1=',obj.crpix1,'cdelt1=',obj.cdelt1
155158 #print 'crval2=',obj.crval2,'crpix2=',obj.crpix2,'cdelt2=',obj.cdelt2
156159
159162 img_obj.setXLinearWCSAxis(-2,2,1)
160163 #img_obj.setYLinearWCSAxis(self.crval1,self.cdelt1,self.crpix1)
161164
162 #img_obj.setLimits((0,x_size),(0,y_size))
165 #img_obj.setLimits((0,x_size),(0,y_size))
163166 img_obj.display(subplot, title, self.paragraph(tooltip),image)
164167 if self.response_found is True and self.rec_id[16:19] != "nod":
165168 #in case response is available we need to reduce fonts
298301 self.RN1 = "1514-1548 nm"
299302 self.OPTI5_NAME = hdulist[0].header['ESO INS OPTI5 NAME']
300303 if "JH" in self.OPTI5_NAME :
301 self.arm_nir_jh_found = True
302 print "Found NIR JH filter"
304 self.arm_nir_jh_found = True
305 print("Found NIR JH filter")
303306 else :
304307 self.SN2 = hdulist[0].header['ESO QC FLUX2 SN']
305308 self.RN2 = "2214-2243 nm"
353356 #print rec_id, self.rec_id
354357 category = frame.category
355358 frames[category] = frame
356 print frame
359 print(frame)
357360 #Note that you have to take care that no other input to this py script
358361 #the same prefix as SCI_IFU, TELL_IFU, FLUX_IFU
359362
360363 prefixes = [k.split('_')[0]+"_"+k.split('_')[1] for k in frames.keys()]
361 print "prefixes=",prefixes
364 print("prefixes=",prefixes)
362365 if "SCI_IFU" in prefixes :
363366 prefix = "SCI_IFU_"
364367 elif "TELL_IFU" in prefixes:
373376 arm=self.seq_arm
374377
375378 if arm == "UVB":
376 self.arm_uvb_found = True
379 self.arm_uvb_found = True
377380 if arm == "VIS":
378 self.arm_vis_found = True
381 self.arm_vis_found = True
379382 if arm == "NIR":
380 self.arm_nir_found = True
381 print "prefix=",prefix
383 self.arm_nir_found = True
384 print("prefix=",prefix)
382385 # For any arm search a list of input frames
383386 key = prefix+"MERGE3D_DATA_OBJ_"+arm
384387 if key in frames :
429432 self.flux_qual1D = PipelineProduct(hdulist)
430433 self.nima += 1
431434 #print "found FLUX_MERGED1D spectrum"
432
435
433436 key = prefix+"MERGE2D_"+arm
434437 if key in frames :
435438 self.spectrum2D_found = True
658661
659662 else :
660663 self.subtext_nodata = figure.add_subplot(1,1,1)
661 print "found no spectrum data"
664 print("found no spectrum data")
662665
663666
664667
672675 def plotProductsGraphics(self):
673676 if self.spectrum1D_found == True and self.spectrum2D_found == True:
674677 #and self.lineguess_found == True
675 title_pref = 'Standard-extracted and Merged Spectrum.'
678 title_pref = 'Standard-extracted and Merged Spectrum.'
676679 title_flux_spectrum = 'Standard Extracted, Merged, and Flux Calibrated Spectrum.'
677680 tooltip_spectrum ="""\
678681 Plot of the standard-extracted and merged spectrum of the object (blue line) as total flux (ADU) versus wavelength (nm). The +-1 sigma uncertainties are plotted as the light blue region encompassing the object spectrum (and bounded by the light grey spectra). Flagged pixels are marked with a dark-grey vertical bar stretching between the +- 1 sigma limits. Flagged bad pixels that are decoded as "bad pixels" are marked by a red vertical bar stretching between the +- 1 sigma limits. Note that this spectrum is not flux calibrated."""
696699 spectrum from the catalog is overplotted for
697700 comparison purposes as a green line."""
698701
699 if self.arm_uvb_found == True:
700 title_spectrum = title_pref+' \n SN: %#.2f (%#s); %#.2f (%#s) '% (self.SN1,self.RN1,self.SN2,self.RN2)
701
702 if self.arm_vis_found == True:
703 title_spectrum = title_pref+' \n SN: %#.2f (%#s); %#.2f (%#s); %#.2f (%#s) '% (self.SN1,self.RN1,self.SN2,self.RN2,self.SN3,self.RN3)
704
705 if self.arm_nir_found == True and self.arm_nir_found == True:
706 title_spectrum = title_pref+' \n SN: %#.2f (%#s); '% (self.SN1,self.RN1)
702 if self.arm_uvb_found == True:
703 title_spectrum = title_pref+' \n SN: %#.2f (%#s); %#.2f (%#s) '% (self.SN1,self.RN1,self.SN2,self.RN2)
704
705 if self.arm_vis_found == True:
706 title_spectrum = title_pref+' \n SN: %#.2f (%#s); %#.2f (%#s); %#.2f (%#s) '% (self.SN1,self.RN1,self.SN2,self.RN2,self.SN3,self.RN3)
707
708 if self.arm_nir_found == True and self.arm_nir_found == True:
709 title_spectrum = title_pref+' \n SN: %#.2f (%#s); '% (self.SN1,self.RN1)
707710 elif self.arm_nir_found == True :
708 title_spectrum = title_pref+' \n SN: %#.2f (%#s); %#.2f (%#s); '% (self.SN1,self.RN1,self.SN2,self.RN2)
709
710
711 title_spectrum = title_pref+' \n SN: %#.2f (%#s); %#.2f (%#s); '% (self.SN1,self.RN1,self.SN2,self.RN2)
712
713
711714 #Spectrum plot
712715
713716 self.plotSpectrum(self.spectrum1D,self.error1D,self.qual1D,self.decode_bp,self.subplot_spectrum,title_spectrum,tooltip_spectrum)
814817 fontsize=18, ha='left', va='center', alpha=1.0)
815818 self.subtext_nodata.tooltip="""\
816819 Merged spectrum not found in the products"""
817 print "found no spectrum data"
820 print("found no spectrum data")
818821
819822
820823 # This function specifies which are the parameters that should be presented
824827 # The descriptions are used to show a tooltip. They should match one to one
825828 # with the parameter list
826829 # Note also that parameters have to be prefixed by the 'recipe name:'
827
830
828831 def setInteractiveParameters(self):
829832 paramList = list()
830833
833836
834837 self.par.setGeneralObjectParameters(paramList,rec_id)
835838
836 print rec_id
839 print(rec_id)
837840 if ("stare" in rec_id) or ("nod" in rec_id) :
838 print "entered"
841 print("entered")
839842 self.par.setStackParameters(paramList,rec_id)
840843 if self.rec_id != "xsh_scired_ifu_stare" :
841844 self.par.setCrhSingleParameters(paramList,rec_id)
842845
843846 if rec_id[16:21] == "stare" :
844 print "background"
847 print("background")
845848 self.par.setBackgroundParameters(paramList,rec_id)
846849
847850 if self.rec_id != "xsh_scired_ifu_stare" :
862865
863866 except ImportError:
864867 import_sucess = 'false'
865 print "Error importing modules pyfits, wx, matplotlib, numpy"
868 print("Error importing modules pyfits, wx, matplotlib, numpy")
866869 raise
867870
00 # import the needed modules
1 from __future__ import absolute_import
2 from __future__ import print_function
13 try:
24 import reflex
35 import_sucess = 'true'
68
79 except ImportError:
810 import_sucess = 'false'
9 print "Error importing modules pyfits, wx, matplotlib, numpy"
11 print("Error importing modules pyfits, wx, matplotlib, numpy")
1012
1113 #This is the 'main' function
1214 if __name__ == '__main__':
0 from __future__ import absolute_import
1 from __future__ import print_function
02 from reflex import RecipeParameter
13 class Parameters(RecipeParameter):
24
4345 def setGeneralObjectParameters(self,paramList,rec_id):
4446
4547 group="general"
46 print "rec_id=",rec_id
48 print("rec_id=",rec_id)
4749
4850 self.setDecodeBpParameters(paramList,rec_id,group)
4951 self.setPreOverscanParameters(paramList,rec_id,group)
5961
6062
6163 if "stare" in rec_id:
62 print "stare"
64 print("stare")
6365 help5=help5+"If sky-subtract is set to TRUE this must be set to TRUE."
6466 paramList.append(RecipeParameter(rec_id,displayName="compute-map",group=group,description=help5))
6567 paramList.append(RecipeParameter(rec_id,displayName="trace-obj",group=group,description=help6))
6668
6769 if "nod" in rec_id :
68 print "extract method"
70 print("extract method")
6971 paramList.append(RecipeParameter(rec_id,displayName="extract-method",group=group,description=help7))
7072
7173 if "slit_offset" in rec_id :
0 from __future__ import absolute_import
1 from __future__ import print_function
02 try:
13 import matplotlib.widgets
24 except ImportError:
8082 axes.set_title(title, fontsize=12, fontweight='semibold')
8183 self.rbuttons = matplotlib.widgets.RadioButtons(axes,
8284 textlabels, active)
83 print "radiobutton"
85 print("radiobutton")
8486 self.rbuttons.on_clicked(self.__callback)
8587 self.usercallback = callback
8688
00 # import the needed modules
1 from __future__ import absolute_import
2 from __future__ import print_function
13 try:
24 import reflex
35 import_sucess = 'true'
68
79 except ImportError:
810 import_sucess = 'false'
9 print "Error importing modules pyfits, wx, matplotlib, numpy"
11 print("Error importing modules pyfits, wx, matplotlib, numpy")
1012
1113 #This is the 'main' function
1214 if __name__ == '__main__':
00 # import the needed modules
1 from __future__ import absolute_import
2 from __future__ import print_function
13 try:
24 import reflex
35 import_sucess = 'true'
68
79 except ImportError:
810 import_sucess = 'false'
9 print "Error importing modules pyfits, wx, matplotlib, numpy"
11 print("Error importing modules pyfits, wx, matplotlib, numpy")
1012
1113 #This is the 'main' function
1214 if __name__ == '__main__':
00 # import the needed modules
1 from __future__ import absolute_import
2 from __future__ import print_function
13 try:
24 import reflex
35 import_sucess = 'true'
68
79 except ImportError:
810 import_sucess = 'false'
9 print "Error importing modules pyfits, wx, matplotlib, numpy"
11 print("Error importing modules pyfits, wx, matplotlib, numpy")
1012
1113 #This is the 'main' function
1214 if __name__ == '__main__':
00 # import the needed modules
1 from __future__ import absolute_import
2 from __future__ import print_function
13 try:
24 import reflex
35 import_sucess = 'true'
68
79 except ImportError:
810 import_sucess = 'false'
9 print "Error importing modules pyfits, wx, matplotlib, numpy"
11 print("Error importing modules pyfits, wx, matplotlib, numpy")
1012
1113
1214
00 # import the needed modules
1 from __future__ import absolute_import
2 from __future__ import print_function
13 try:
24 import reflex
35 import_sucess = 'true'
68
79 except ImportError:
810 import_sucess = 'false'
9 print "Error importing modules pyfits, wx, matplotlib, numpy"
11 print("Error importing modules pyfits, wx, matplotlib, numpy")
1012
1113 #This is the 'main' function
1214 if __name__ == '__main__':
00 # import the needed modules
1 from __future__ import absolute_import
2 from __future__ import print_function
13 try:
24 import reflex
35 import_sucess = 'true'
68
79 except ImportError:
810 import_sucess = 'false'
9 print "Error importing modules pyfits, wx, matplotlib, numpy"
11 print("Error importing modules pyfits, wx, matplotlib, numpy")
1012
1113 #This is the 'main' function
1214 if __name__ == '__main__':
00 # import the needed modules
1 from __future__ import absolute_import
2 from __future__ import print_function
13 try:
24 import reflex
35 import_sucess = 'true'
68
79 except ImportError:
810 import_sucess = 'false'
9 print "Error importing modules pyfits, wx, matplotlib, numpy"
11 print("Error importing modules pyfits, wx, matplotlib, numpy")
1012
1113 #This is the 'main' function
1214 if __name__ == '__main__':
00 # import the needed modules
1 from __future__ import absolute_import
2 from __future__ import print_function
13 try:
24 import reflex
35 import_sucess = 'true'
68
79 except ImportError:
810 import_sucess = 'false'
9 print "Error importing modules pyfits, wx, matplotlib, numpy"
11 print("Error importing modules pyfits, wx, matplotlib, numpy")
1012
1113 #This is the 'main' function
1214 if __name__ == '__main__':
00 # import the needed modules
1 from __future__ import absolute_import
2 from __future__ import print_function
13 try:
24 import reflex
35 import_sucess = 'true'
68
79 except ImportError:
810 import_sucess = 'false'
9 print "Error importing modules pyfits, wx, matplotlib, numpy"
11 print("Error importing modules pyfits, wx, matplotlib, numpy")
1012
1113 #This is the 'main' function
1214 if __name__ == '__main__':
27612761 select file as DISP_TAB_AFC_UVB_WKF from calibFiles where PRO.CATG=="DISP_TAB_AFC_UVB_WKF" and OBS.ID==inputFile.OBS.ID and OBS.TARG.NAME==inputFile.OBS.TARG.NAME and (inputFile.MJD-OBS - MJD-OBS) < 0.5 and (inputFile.MJD-OBS - MJD-OBS) > -0.5;
27622762
27632763 minRet = 1; maxRet = 1;
2764 select file as FLUX_STD_CATALOG_UVB from calibFiles where PRO.CATG=="FLUX_STD_CATALOG_UVB" and (inputFile.INSTRUME=="SHOOT" or inputFile.INSTRUME=="XSHOOTER") and MJD-OBS > 56351;
2764 select file as FLUX_STD_CATALOG_UVB from calibFiles where PRO.CATG=="FLUX_STD_CATALOG_UVB" and (inputFile.INSTRUME=="SHOOT" or inputFile.INSTRUME=="XSHOOTER");
27652765 // not necessary constrain
27662766 // and (MJD-OBS < inputFile.MJD-OBS or MJD-OBS >= inputFile.MJD-OBS);
27672767
27682768 minRet = 1; maxRet = 1;
2769 select file as ATMOS_EXT_UVB from calibFiles where PRO.CATG=="ATMOS_EXT_UVB" and (inputFile.INSTRUME=="SHOOT" or inputFile.INSTRUME=="XSHOOTER") and MJD-OBS > 56351;
2769 select file as ATMOS_EXT_UVB from calibFiles where PRO.CATG=="ATMOS_EXT_UVB" and (inputFile.INSTRUME=="SHOOT" or inputFile.INSTRUME=="XSHOOTER");
27702770 // not necessary constraint
27712771 // and (MJD-OBS < inputFile.MJD-OBS or MJD-OBS >= inputFile.MJD-OBS);
27722772
28182818 select file as DISP_TAB_AFC_VIS_WKF from calibFiles where PRO.CATG=="DISP_TAB_AFC_VIS_WKF" and OBS.ID==inputFile.OBS.ID and OBS.TARG.NAME==inputFile.OBS.TARG.NAME and (inputFile.MJD-OBS - MJD-OBS) < 0.5 and (inputFile.MJD-OBS - MJD-OBS) > -0.5;
28192819
28202820 minRet = 1; maxRet = 1;
2821 select file as FLUX_STD_CATALOG_VIS from calibFiles where PRO.CATG=="FLUX_STD_CATALOG_VIS" and (inputFile.INSTRUME=="SHOOT" or inputFile.INSTRUME=="XSHOOTER") and MJD-OBS > 56351;
2821 select file as FLUX_STD_CATALOG_VIS from calibFiles where PRO.CATG=="FLUX_STD_CATALOG_VIS" and (inputFile.INSTRUME=="SHOOT" or inputFile.INSTRUME=="XSHOOTER");
28222822 // not necessary constrain
28232823 // and (MJD-OBS < inputFile.MJD-OBS or MJD-OBS >= inputFile.MJD-OBS);
28242824
28252825 minRet = 1; maxRet = 1;
2826 select file as ATMOS_EXT_VIS from calibFiles where PRO.CATG=="ATMOS_EXT_VIS" and (inputFile.INSTRUME=="SHOOT" or inputFile.INSTRUME=="XSHOOTER") and MJD-OBS > 56351;
2826 select file as ATMOS_EXT_VIS from calibFiles where PRO.CATG=="ATMOS_EXT_VIS" and (inputFile.INSTRUME=="SHOOT" or inputFile.INSTRUME=="XSHOOTER");
28272827 // not necessary constraint
28282828 // and (MJD-OBS < inputFile.MJD-OBS or MJD-OBS >= inputFile.MJD-OBS);
28292829
28802880 select file as SPECTRAL_FORMAT_TAB_NIR from calibFiles where PRO.CATG=="SPECTRAL_FORMAT_TAB_NIR" and (INS.OPTI5.NAME is undefined or INS.OPTI5.NAME like "%x11") and (inputFile.INSTRUME=="SHOOT" or inputFile.INSTRUME=="XSHOOTER");
28812881
28822882 minRet = 1; maxRet = 1;
2883 select file as FLUX_STD_CATALOG_NIR from calibFiles where PRO.CATG=="FLUX_STD_CATALOG_NIR" and (inputFile.INSTRUME=="SHOOT" or inputFile.INSTRUME=="XSHOOTER") and MJD-OBS > 56351;
2883 select file as FLUX_STD_CATALOG_NIR from calibFiles where PRO.CATG=="FLUX_STD_CATALOG_NIR" and (inputFile.INSTRUME=="SHOOT" or inputFile.INSTRUME=="XSHOOTER");
28842884 // not necessary constraint
28852885 // and (MJD-OBS < inputFile.MJD-OBS or MJD-OBS >= inputFile.MJD-OBS);
28862886
28872887 minRet = 1; maxRet = 1;
2888 select file as ATMOS_EXT_NIR from calibFiles where PRO.CATG=="ATMOS_EXT_NIR" and (inputFile.INSTRUME=="SHOOT" or inputFile.INSTRUME=="XSHOOTER") and MJD-OBS > 56351;
2888 select file as ATMOS_EXT_NIR from calibFiles where PRO.CATG=="ATMOS_EXT_NIR" and (inputFile.INSTRUME=="SHOOT" or inputFile.INSTRUME=="XSHOOTER");
28892889 // not necessary constraint
28902890 // and (MJD-OBS < inputFile.MJD-OBS or MJD-OBS >= inputFile.MJD-OBS);
28912891
29462946 select file as SPECTRAL_FORMAT_TAB_JH_NIR from calibFiles where PRO.CATG=="SPECTRAL_FORMAT_TAB_JH_NIR" and (inputFile.INSTRUME=="SHOOT" or inputFile.INSTRUME=="XSHOOTER");
29472947
29482948 minRet = 1; maxRet = 1;
2949 select file as FLUX_STD_CATALOG_NIR from calibFiles where PRO.CATG=="FLUX_STD_CATALOG_NIR" and (inputFile.INSTRUME=="SHOOT" or inputFile.INSTRUME=="XSHOOTER") and MJD-OBS > 56351;
2949 select file as FLUX_STD_CATALOG_NIR from calibFiles where PRO.CATG=="FLUX_STD_CATALOG_NIR" and (inputFile.INSTRUME=="SHOOT" or inputFile.INSTRUME=="XSHOOTER");
29502950 // not necessary constraint
29512951 // and (MJD-OBS < inputFile.MJD-OBS or MJD-OBS >= inputFile.MJD-OBS);
29522952
29532953 minRet = 1; maxRet = 1;
2954 select file as ATMOS_EXT_NIR from calibFiles where PRO.CATG=="ATMOS_EXT_NIR" and (inputFile.INSTRUME=="SHOOT" or inputFile.INSTRUME=="XSHOOTER") and MJD-OBS > 56351;
2954 select file as ATMOS_EXT_NIR from calibFiles where PRO.CATG=="ATMOS_EXT_NIR" and (inputFile.INSTRUME=="SHOOT" or inputFile.INSTRUME=="XSHOOTER");
29552955 // not necessary constraint
29562956 // and (MJD-OBS < inputFile.MJD-OBS or MJD-OBS >= inputFile.MJD-OBS);
29572957
30113011 select file as XSH_MOD_CFG_OPT_AFC_UVB_WKF from calibFiles where PRO.CATG=="XSH_MOD_CFG_OPT_AFC_UVB_WKF" and OBS.ID==inputFile.OBS.ID and OBS.TARG.NAME==inputFile.OBS.TARG.NAME and (inputFile.MJD-OBS - MJD-OBS) < 0.5 and (inputFile.MJD-OBS - MJD-OBS) > -0.5;
30123012
30133013 minRet = 1; maxRet = 1;
3014 select file as FLUX_STD_CATALOG_UVB from calibFiles where PRO.CATG=="FLUX_STD_CATALOG_UVB" and (inputFile.INSTRUME=="SHOOT" or inputFile.INSTRUME=="XSHOOTER") and MJD-OBS > 56351;
3014 select file as FLUX_STD_CATALOG_UVB from calibFiles where PRO.CATG=="FLUX_STD_CATALOG_UVB" and (inputFile.INSTRUME=="SHOOT" or inputFile.INSTRUME=="XSHOOTER");
30153015 // not necessay constraint
30163016 // and (MJD-OBS < inputFile.MJD-OBS or MJD-OBS >= inputFile.MJD-OBS);
30173017
30183018 minRet = 1; maxRet = 1;
3019 select file as ATMOS_EXT_UVB from calibFiles where PRO.CATG=="ATMOS_EXT_UVB" and (inputFile.INSTRUME=="SHOOT" or inputFile.INSTRUME=="XSHOOTER") and MJD-OBS > 56351;
3019 select file as ATMOS_EXT_UVB from calibFiles where PRO.CATG=="ATMOS_EXT_UVB" and (inputFile.INSTRUME=="SHOOT" or inputFile.INSTRUME=="XSHOOTER");
30203020 // not necessary constraint
30213021 // and (MJD-OBS < inputFile.MJD-OBS or MJD-OBS >= inputFile.MJD-OBS);
30223022
30713071 select file as DISP_TAB_AFC_VIS_WKF from calibFiles where PRO.CATG=="DISP_TAB_AFC_VIS_WKF" and OBS.ID==inputFile.OBS.ID and OBS.TARG.NAME==inputFile.OBS.TARG.NAME and (inputFile.MJD-OBS - MJD-OBS) < 0.5 and (inputFile.MJD-OBS - MJD-OBS) > -0.5;
30723072
30733073 minRet = 1; maxRet = 1;
3074 select file as FLUX_STD_CATALOG_VIS from calibFiles where PRO.CATG=="FLUX_STD_CATALOG_VIS" and (inputFile.INSTRUME=="SHOOT" or inputFile.INSTRUME=="XSHOOTER") and MJD-OBS > 56351;
3074 select file as FLUX_STD_CATALOG_VIS from calibFiles where PRO.CATG=="FLUX_STD_CATALOG_VIS" and (inputFile.INSTRUME=="SHOOT" or inputFile.INSTRUME=="XSHOOTER");
30753075 // not necessary constraint
30763076 // and (MJD-OBS < inputFile.MJD-OBS or MJD-OBS >= inputFile.MJD-OBS);
30773077
30783078 minRet = 1; maxRet = 1;
3079 select file as ATMOS_EXT_VIS from calibFiles where PRO.CATG=="ATMOS_EXT_VIS" and (inputFile.INSTRUME=="SHOOT" or inputFile.INSTRUME=="XSHOOTER") and MJD-OBS > 56351;
3079 select file as ATMOS_EXT_VIS from calibFiles where PRO.CATG=="ATMOS_EXT_VIS" and (inputFile.INSTRUME=="SHOOT" or inputFile.INSTRUME=="XSHOOTER");
30803080 // not necessary constraint
30813081 // and (MJD-OBS < inputFile.MJD-OBS or MJD-OBS >= inputFile.MJD-OBS);
30823082
31353135 select file as SPECTRAL_FORMAT_TAB_NIR from calibFiles where PRO.CATG=="SPECTRAL_FORMAT_TAB_NIR" and (INS.OPTI5.NAME is undefined or INS.OPTI5.NAME like "%x11") and (inputFile.INSTRUME=="SHOOT" or inputFile.INSTRUME=="XSHOOTER");
31363136
31373137 minRet = 1; maxRet = 1;
3138 select file as FLUX_STD_CATALOG_NIR from calibFiles where PRO.CATG=="FLUX_STD_CATALOG_NIR" and (inputFile.INSTRUME=="SHOOT" or inputFile.INSTRUME=="XSHOOTER") and MJD-OBS > 56351;
3138 select file as FLUX_STD_CATALOG_NIR from calibFiles where PRO.CATG=="FLUX_STD_CATALOG_NIR" and (inputFile.INSTRUME=="SHOOT" or inputFile.INSTRUME=="XSHOOTER");
31393139 // not necessary constraint
31403140 // and (MJD-OBS < inputFile.MJD-OBS or MJD-OBS >= inputFile.MJD-OBS);
31413141
31423142 minRet = 1; maxRet = 1;
3143 select file as ATMOS_EXT_NIR from calibFiles where PRO.CATG=="ATMOS_EXT_NIR" and (inputFile.INSTRUME=="SHOOT" or inputFile.INSTRUME=="XSHOOTER") and MJD-OBS > 56351;
3143 select file as ATMOS_EXT_NIR from calibFiles where PRO.CATG=="ATMOS_EXT_NIR" and (inputFile.INSTRUME=="SHOOT" or inputFile.INSTRUME=="XSHOOTER");
31443144 // not necessary constraint
31453145 // and (MJD-OBS < inputFile.MJD-OBS or MJD-OBS >= inputFile.MJD-OBS);
31463146
32013201 select file as SPECTRAL_FORMAT_TAB_JH_NIR from calibFiles where PRO.CATG=="SPECTRAL_FORMAT_TAB_JH_NIR" and (inputFile.INSTRUME=="SHOOT" or inputFile.INSTRUME=="XSHOOTER");
32023202
32033203 minRet = 1; maxRet = 1;
3204 select file as FLUX_STD_CATALOG_NIR from calibFiles where PRO.CATG=="FLUX_STD_CATALOG_NIR" and (inputFile.INSTRUME=="SHOOT" or inputFile.INSTRUME=="XSHOOTER") and MJD-OBS > 56351;
3204 select file as FLUX_STD_CATALOG_NIR from calibFiles where PRO.CATG=="FLUX_STD_CATALOG_NIR" and (inputFile.INSTRUME=="SHOOT" or inputFile.INSTRUME=="XSHOOTER");
32053205 // not necessary constraint
32063206 // and (MJD-OBS < inputFile.MJD-OBS or MJD-OBS >= inputFile.MJD-OBS);
32073207
32083208 minRet = 1; maxRet = 1;
3209 select file as ATMOS_EXT_NIR from calibFiles where PRO.CATG=="ATMOS_EXT_NIR" and (inputFile.INSTRUME=="SHOOT" or inputFile.INSTRUME=="XSHOOTER") and MJD-OBS > 56351;
3209 select file as ATMOS_EXT_NIR from calibFiles where PRO.CATG=="ATMOS_EXT_NIR" and (inputFile.INSTRUME=="SHOOT" or inputFile.INSTRUME=="XSHOOTER");
32103210 // not necessary constraint
32113211 // and (MJD-OBS < inputFile.MJD-OBS or MJD-OBS >= inputFile.MJD-OBS);
32123212
32713271 select file as SPECTRAL_FORMAT_TAB_UVB from calibFiles where PRO.CATG=="SPECTRAL_FORMAT_TAB_UVB" and (inputFile.INSTRUME=="SHOOT" or inputFile.INSTRUME=="XSHOOTER");
32723272
32733273 minRet = 1; maxRet = 1;
3274 select file as FLUX_STD_CATALOG_UVB from calibFiles where PRO.CATG=="FLUX_STD_CATALOG_UVB" and (inputFile.INSTRUME=="SHOOT" or inputFile.INSTRUME=="XSHOOTER") and MJD-OBS > 56351;
3274 select file as FLUX_STD_CATALOG_UVB from calibFiles where PRO.CATG=="FLUX_STD_CATALOG_UVB" and (inputFile.INSTRUME=="SHOOT" or inputFile.INSTRUME=="XSHOOTER");
32753275 // not necessary constraint
32763276 // and (MJD-OBS < inputFile.MJD-OBS or MJD-OBS >= inputFile.MJD-OBS);
32773277
32783278 minRet = 1; maxRet = 1;
3279 select file as ATMOS_EXT_UVB from calibFiles where PRO.CATG=="ATMOS_EXT_UVB" and (inputFile.INSTRUME=="SHOOT" or inputFile.INSTRUME=="XSHOOTER") and MJD-OBS > 56351;
3279 select file as ATMOS_EXT_UVB from calibFiles where PRO.CATG=="ATMOS_EXT_UVB" and (inputFile.INSTRUME=="SHOOT" or inputFile.INSTRUME=="XSHOOTER");
32803280 // not necessary constraint
32813281 // and (MJD-OBS < inputFile.MJD-OBS or MJD-OBS >= inputFile.MJD-OBS);
32823282
33393339 select file as SPECTRAL_FORMAT_TAB_VIS from calibFiles where PRO.CATG=="SPECTRAL_FORMAT_TAB_VIS" and (inputFile.INSTRUME=="SHOOT" or inputFile.INSTRUME=="XSHOOTER");
33403340
33413341 minRet = 1; maxRet = 1;
3342 select file as FLUX_STD_CATALOG_VIS from calibFiles where PRO.CATG=="FLUX_STD_CATALOG_VIS" and (inputFile.INSTRUME=="SHOOT" or inputFile.INSTRUME=="XSHOOTER") and MJD-OBS > 56351;
3342 select file as FLUX_STD_CATALOG_VIS from calibFiles where PRO.CATG=="FLUX_STD_CATALOG_VIS" and (inputFile.INSTRUME=="SHOOT" or inputFile.INSTRUME=="XSHOOTER");
33433343 // not necessary constrain
33443344 // and (MJD-OBS < inputFile.MJD-OBS or MJD-OBS >= inputFile.MJD-OBS);
33453345
33463346 minRet = 1; maxRet = 1;
3347 select file as ATMOS_EXT_VIS from calibFiles where PRO.CATG=="ATMOS_EXT_VIS" and (inputFile.INSTRUME=="SHOOT" or inputFile.INSTRUME=="XSHOOTER") and MJD-OBS > 56351;
3347 select file as ATMOS_EXT_VIS from calibFiles where PRO.CATG=="ATMOS_EXT_VIS" and (inputFile.INSTRUME=="SHOOT" or inputFile.INSTRUME=="XSHOOTER");
33483348 // not necessary constraint
33493349 // and (MJD-OBS < inputFile.MJD-OBS or MJD-OBS >= inputFile.MJD-OBS);
33503350
34073407
34083408
34093409 minRet = 1; maxRet = 1;
3410 select file as FLUX_STD_CATALOG_NIR from calibFiles where PRO.CATG=="FLUX_STD_CATALOG_NIR" and (inputFile.INSTRUME=="SHOOT" or inputFile.INSTRUME=="XSHOOTER") and MJD-OBS > 56351;
3410 select file as FLUX_STD_CATALOG_NIR from calibFiles where PRO.CATG=="FLUX_STD_CATALOG_NIR" and (inputFile.INSTRUME=="SHOOT" or inputFile.INSTRUME=="XSHOOTER");
34113411 // not necessary constrain
34123412 // and (MJD-OBS < inputFile.MJD-OBS or MJD-OBS >= inputFile.MJD-OBS);
34133413
34143414 minRet = 1; maxRet = 1;
3415 select file as ATMOS_EXT_NIR from calibFiles where PRO.CATG=="ATMOS_EXT_NIR" and (inputFile.INSTRUME=="SHOOT" or inputFile.INSTRUME=="XSHOOTER") and MJD-OBS > 56351;
3415 select file as ATMOS_EXT_NIR from calibFiles where PRO.CATG=="ATMOS_EXT_NIR" and (inputFile.INSTRUME=="SHOOT" or inputFile.INSTRUME=="XSHOOTER");
34163416 // not necessary constraint
34173417 // and (MJD-OBS < inputFile.MJD-OBS or MJD-OBS >= inputFile.MJD-OBS);
34183418
34793479 select file as DISP_TAB_AFC_NIR_WKF from calibFiles where PRO.CATG=="DISP_TAB_AFC_NIR_WKF" and OBS.ID==inputFile.OBS.ID and OBS.TARG.NAME==inputFile.OBS.TARG.NAME and (inputFile.MJD-OBS - MJD-OBS) < 0.5 and (inputFile.MJD-OBS - MJD-OBS) > -0.5;
34803480
34813481 minRet = 1; maxRet = 1;
3482 select file as FLUX_STD_CATALOG_NIR from calibFiles where PRO.CATG=="FLUX_STD_CATALOG_NIR" and (inputFile.INSTRUME=="SHOOT" or inputFile.INSTRUME=="XSHOOTER") and MJD-OBS > 56351;
3482 select file as FLUX_STD_CATALOG_NIR from calibFiles where PRO.CATG=="FLUX_STD_CATALOG_NIR" and (inputFile.INSTRUME=="SHOOT" or inputFile.INSTRUME=="XSHOOTER");
34833483 // not necessary constrain
34843484 // and (MJD-OBS < inputFile.MJD-OBS or MJD-OBS >= inputFile.MJD-OBS);
34853485
34863486 minRet = 1; maxRet = 1;
3487 select file as ATMOS_EXT_NIR from calibFiles where PRO.CATG=="ATMOS_EXT_NIR" and (inputFile.INSTRUME=="SHOOT" or inputFile.INSTRUME=="XSHOOTER") and MJD-OBS > 56351;
3487 select file as ATMOS_EXT_NIR from calibFiles where PRO.CATG=="ATMOS_EXT_NIR" and (inputFile.INSTRUME=="SHOOT" or inputFile.INSTRUME=="XSHOOTER");
34883488 // not necessary constraint
34893489 // and (MJD-OBS < inputFile.MJD-OBS or MJD-OBS >= inputFile.MJD-OBS);
34903490
35273527
35283528 //Optional input in order to flux-calibrate
35293529 minRet = 0; maxRet = 1;
3530 select file as ATMOS_EXT_UVB from calibFiles where PRO.CATG=="ATMOS_EXT_UVB" and (inputFile.INSTRUME=="SHOOT" or inputFile.INSTRUME=="XSHOOTER") and MJD-OBS > 56351;
3530 select file as ATMOS_EXT_UVB from calibFiles where PRO.CATG=="ATMOS_EXT_UVB" and (inputFile.INSTRUME=="SHOOT" or inputFile.INSTRUME=="XSHOOTER");
35313531
35323532 minRet = 0; maxRet = 1;
35333533 select file as RESPONSE_MERGE1D_SLIT_UVB_WKF from calibFiles where PRO.CATG=="RESPONSE_MERGE1D_SLIT_UVB_WKF";
35863586
35873587 //Optional input in order to flux-calibrate
35883588 minRet = 0; maxRet = 1;
3589 select file as ATMOS_EXT_VIS from calibFiles where PRO.CATG=="ATMOS_EXT_VIS" and (inputFile.INSTRUME=="SHOOT" or inputFile.INSTRUME=="XSHOOTER") and MJD-OBS > 56351;
3589 select file as ATMOS_EXT_VIS from calibFiles where PRO.CATG=="ATMOS_EXT_VIS" and (inputFile.INSTRUME=="SHOOT" or inputFile.INSTRUME=="XSHOOTER");
35903590
35913591 minRet = 0; maxRet = 1;
35923592 select file as RESPONSE_MERGE1D_SLIT_VIS_WKF from calibFiles where PRO.CATG=="RESPONSE_MERGE1D_SLIT_VIS_WKF";
36463646
36473647 //Optional input in order to flux-calibrate
36483648 minRet = 0; maxRet = 1;
3649 select file as ATMOS_EXT_NIR from calibFiles where PRO.CATG=="ATMOS_EXT_NIR" and (inputFile.INSTRUME=="SHOOT" or inputFile.INSTRUME=="XSHOOTER") and MJD-OBS > 56351;
3649 select file as ATMOS_EXT_NIR from calibFiles where PRO.CATG=="ATMOS_EXT_NIR" and (inputFile.INSTRUME=="SHOOT" or inputFile.INSTRUME=="XSHOOTER");
36503650
36513651 minRet = 0; maxRet = 1;
36523652 select file as RESPONSE_MERGE1D_SLIT_NIR_WKF from calibFiles where PRO.CATG=="RESPONSE_MERGE1D_SLIT_NIR_WKF";
37053705
37063706 //Optional input in order to flux-calibrate
37073707 minRet = 0; maxRet = 1;
3708 select file as ATMOS_EXT_NIR from calibFiles where PRO.CATG=="ATMOS_EXT_NIR" and (inputFile.INSTRUME=="SHOOT" or inputFile.INSTRUME=="XSHOOTER") and MJD-OBS > 56351;
3708 select file as ATMOS_EXT_NIR from calibFiles where PRO.CATG=="ATMOS_EXT_NIR" and (inputFile.INSTRUME=="SHOOT" or inputFile.INSTRUME=="XSHOOTER");
37093709
37103710 minRet = 0; maxRet = 1;
37113711 select file as RESPONSE_MERGE1D_SLIT_NIR_WKF from calibFiles where PRO.CATG=="RESPONSE_MERGE1D_SLIT_NIR_WKF";
37643764
37653765 //Optional input in order to flux-calibrate
37663766 minRet = 0; maxRet = 1;
3767 select file as ATMOS_EXT_UVB from calibFiles where PRO.CATG=="ATMOS_EXT_UVB" and (inputFile.INSTRUME=="SHOOT" or inputFile.INSTRUME=="XSHOOTER") and MJD-OBS > 56351;
3767 select file as ATMOS_EXT_UVB from calibFiles where PRO.CATG=="ATMOS_EXT_UVB" and (inputFile.INSTRUME=="SHOOT" or inputFile.INSTRUME=="XSHOOTER");
37683768
37693769 minRet = 0; maxRet = 1;
37703770 select file as RESPONSE_MERGE1D_SLIT_UVB_WKF from calibFiles where PRO.CATG=="RESPONSE_MERGE1D_SLIT_UVB_WKF";
38143814
38153815 //Optional input in order to flux-calibrate
38163816 minRet = 0; maxRet = 1;
3817 select file as ATMOS_EXT_VIS from calibFiles where PRO.CATG=="ATMOS_EXT_VIS" and (inputFile.INSTRUME=="SHOOT" or inputFile.INSTRUME=="XSHOOTER") and MJD-OBS > 56351;
3817 select file as ATMOS_EXT_VIS from calibFiles where PRO.CATG=="ATMOS_EXT_VIS" and (inputFile.INSTRUME=="SHOOT" or inputFile.INSTRUME=="XSHOOTER");
38183818
38193819 minRet = 0; maxRet = 1;
38203820 select file as RESPONSE_MERGE1D_SLIT_VIS_WKF from calibFiles where PRO.CATG=="RESPONSE_MERGE1D_SLIT_VIS_WKF";
38643864
38653865 //Optional input in order to flux-calibrate
38663866 minRet = 0; maxRet = 1;
3867 select file as ATMOS_EXT_NIR from calibFiles where PRO.CATG=="ATMOS_EXT_NIR" and (inputFile.INSTRUME=="SHOOT" or inputFile.INSTRUME=="XSHOOTER") and MJD-OBS > 56351;
3867 select file as ATMOS_EXT_NIR from calibFiles where PRO.CATG=="ATMOS_EXT_NIR" and (inputFile.INSTRUME=="SHOOT" or inputFile.INSTRUME=="XSHOOTER");
38683868
38693869 minRet = 0; maxRet = 1;
38703870 select file as RESPONSE_MERGE1D_SLIT_NIR_WKF from calibFiles where PRO.CATG=="RESPONSE_MERGE1D_SLIT_NIR_WKF";
39183918
39193919 //Optional input in order to flux-calibrate
39203920 minRet = 0; maxRet = 1;
3921 select file as ATMOS_EXT_NIR from calibFiles where PRO.CATG=="ATMOS_EXT_NIR" and (inputFile.INSTRUME=="SHOOT" or inputFile.INSTRUME=="XSHOOTER") and MJD-OBS > 56351;
3921 select file as ATMOS_EXT_NIR from calibFiles where PRO.CATG=="ATMOS_EXT_NIR" and (inputFile.INSTRUME=="SHOOT" or inputFile.INSTRUME=="XSHOOTER");
39223922
39233923 minRet = 0; maxRet = 1;
39243924 select file as RESPONSE_MERGE1D_SLIT_NIR_WKF from calibFiles where PRO.CATG=="RESPONSE_MERGE1D_SLIT_NIR_WKF";
44384438
44394439
44404440 minRet = 0; maxRet = 1;
4441 select file as ATMOS_EXT_UVB from calibFiles where PRO.CATG=="ATMOS_EXT_UVB" and (inputFile.INSTRUME=="SHOOT" or inputFile.INSTRUME=="XSHOOTER") and MJD-OBS > 56351;
4441 select file as ATMOS_EXT_UVB from calibFiles where PRO.CATG=="ATMOS_EXT_UVB" and (inputFile.INSTRUME=="SHOOT" or inputFile.INSTRUME=="XSHOOTER");
44424442
44434443 minRet = 1; maxRet = 1;
44444444 select file as MASTER_BIAS_UVB_WKF from calibFiles where PRO.CATG=="MASTER_BIAS_UVB_WKF" and inputFile.DET.WIN1.BINX==DET.WIN1.BINX and inputFile.DET.WIN1.BINY==DET.WIN1.BINY and inputFile.DET.READ.CLOCK==DET.READ.CLOCK and inputFile.DET.CHIP1.ID==DET.CHIP1.ID;
44964496
44974497
44984498 minRet = 0; maxRet = 1;
4499 select file as ATMOS_EXT_VIS from calibFiles where PRO.CATG=="ATMOS_EXT_VIS" and (inputFile.INSTRUME=="SHOOT" or inputFile.INSTRUME=="XSHOOTER") and MJD-OBS > 56351;
4499 select file as ATMOS_EXT_VIS from calibFiles where PRO.CATG=="ATMOS_EXT_VIS" and (inputFile.INSTRUME=="SHOOT" or inputFile.INSTRUME=="XSHOOTER");
45004500
45014501 minRet = 1; maxRet = 1;
45024502 select file as MASTER_BIAS_VIS_WKF from calibFiles where PRO.CATG=="MASTER_BIAS_VIS_WKF" and inputFile.DET.WIN1.BINX==DET.WIN1.BINX and inputFile.DET.WIN1.BINY==DET.WIN1.BINY and inputFile.DET.READ.CLOCK==DET.READ.CLOCK and inputFile.DET.CHIP1.ID==DET.CHIP1.ID;
45554555
45564556
45574557 minRet = 0; maxRet = 1;
4558 select file as ATMOS_EXT_NIR from calibFiles where PRO.CATG=="ATMOS_EXT_NIR" and (inputFile.INSTRUME=="SHOOT" or inputFile.INSTRUME=="XSHOOTER") and MJD-OBS > 56351;
4558 select file as ATMOS_EXT_NIR from calibFiles where PRO.CATG=="ATMOS_EXT_NIR" and (inputFile.INSTRUME=="SHOOT" or inputFile.INSTRUME=="XSHOOTER");
45594559
45604560 minRet = 1; maxRet = 1;
45614561 select file as MASTER_DARK_NIR_WKF from calibFiles where PRO.CATG=="MASTER_DARK_NIR_WKF" and inputFile.DET.DIT==DET.DIT and inputFile.DET.CHIP.ID==DET.CHIP.ID;
46164616
46174617
46184618 minRet = 0; maxRet = 1;
4619 select file as ATMOS_EXT_NIR from calibFiles where PRO.CATG=="ATMOS_EXT_NIR" and (inputFile.INSTRUME=="SHOOT" or inputFile.INSTRUME=="XSHOOTER") and MJD-OBS > 56351;
4619 select file as ATMOS_EXT_NIR from calibFiles where PRO.CATG=="ATMOS_EXT_NIR" and (inputFile.INSTRUME=="SHOOT" or inputFile.INSTRUME=="XSHOOTER");
46204620
46214621 minRet = 1; maxRet = 1;
46224622 select file as MASTER_DARK_NIR_WKF from calibFiles where PRO.CATG=="MASTER_DARK_NIR_WKF" and inputFile.DET.DIT==DET.DIT and inputFile.DET.CHIP.ID==DET.CHIP.ID;
46804680
46814681
46824682 minRet = 0; maxRet = 1;
4683 select file as ATMOS_EXT_UVB from calibFiles where PRO.CATG=="ATMOS_EXT_UVB" and (inputFile.INSTRUME=="SHOOT" or inputFile.INSTRUME=="XSHOOTER") and MJD-OBS > 56351;
4683 select file as ATMOS_EXT_UVB from calibFiles where PRO.CATG=="ATMOS_EXT_UVB" and (inputFile.INSTRUME=="SHOOT" or inputFile.INSTRUME=="XSHOOTER");
46844684
46854685 minRet = 1; maxRet = 1;
46864686 select file as MASTER_BIAS_UVB_WKF from calibFiles where PRO.CATG=="MASTER_BIAS_UVB_WKF" and inputFile.DET.WIN1.BINX==DET.WIN1.BINX and inputFile.DET.WIN1.BINY==DET.WIN1.BINY and inputFile.DET.READ.CLOCK==DET.READ.CLOCK and inputFile.DET.CHIP1.ID==DET.CHIP1.ID;
47324732
47334733
47344734 minRet = 0; maxRet = 1;
4735 select file as ATMOS_EXT_VIS from calibFiles where PRO.CATG=="ATMOS_EXT_VIS" and (inputFile.INSTRUME=="SHOOT" or inputFile.INSTRUME=="XSHOOTER") and MJD-OBS > 56351;
4735 select file as ATMOS_EXT_VIS from calibFiles where PRO.CATG=="ATMOS_EXT_VIS" and (inputFile.INSTRUME=="SHOOT" or inputFile.INSTRUME=="XSHOOTER");
47364736
47374737 minRet = 1; maxRet = 1;
47384738 select file as MASTER_BIAS_VIS_WKF from calibFiles where PRO.CATG=="MASTER_BIAS_VIS_WKF" and inputFile.DET.WIN1.BINX==DET.WIN1.BINX and inputFile.DET.WIN1.BINY==DET.WIN1.BINY and inputFile.DET.READ.CLOCK==DET.READ.CLOCK and inputFile.DET.CHIP1.ID==DET.CHIP1.ID;
47844784
47854785
47864786 minRet = 0; maxRet = 1;
4787 select file as ATMOS_EXT_NIR from calibFiles where PRO.CATG=="ATMOS_EXT_NIR" and (inputFile.INSTRUME=="SHOOT" or inputFile.INSTRUME=="XSHOOTER") and MJD-OBS > 56351;
4787 select file as ATMOS_EXT_NIR from calibFiles where PRO.CATG=="ATMOS_EXT_NIR" and (inputFile.INSTRUME=="SHOOT" or inputFile.INSTRUME=="XSHOOTER");
47884788
47894789 minRet = 0; maxRet = 1;
47904790 select file as MASTER_DARK_NIR_WKF from calibFiles where PRO.CATG=="MASTER_DARK_NIR_WKF" and inputFile.DET.DIT==DET.DIT and inputFile.DET.CHIP.ID==DET.CHIP.ID;
48364836
48374837
48384838 minRet = 0; maxRet = 1;
4839 select file as ATMOS_EXT_NIR from calibFiles where PRO.CATG=="ATMOS_EXT_NIR" and (inputFile.INSTRUME=="SHOOT" or inputFile.INSTRUME=="XSHOOTER") and MJD-OBS > 56351;
4839 select file as ATMOS_EXT_NIR from calibFiles where PRO.CATG=="ATMOS_EXT_NIR" and (inputFile.INSTRUME=="SHOOT" or inputFile.INSTRUME=="XSHOOTER");
48404840
48414841 minRet = 0; maxRet = 1;
48424842 select file as MASTER_DARK_NIR_WKF from calibFiles where PRO.CATG=="MASTER_DARK_NIR_WKF" and inputFile.DET.DIT==DET.DIT and inputFile.DET.CHIP.ID==DET.CHIP.ID;
48854885
48864886
48874887 minRet = 0; maxRet = 1;
4888 select file as ATMOS_EXT_UVB from calibFiles where PRO.CATG=="ATMOS_EXT_UVB" and (inputFile.INSTRUME=="SHOOT" or inputFile.INSTRUME=="XSHOOTER") and MJD-OBS > 56351;
4888 select file as ATMOS_EXT_UVB from calibFiles where PRO.CATG=="ATMOS_EXT_UVB" and (inputFile.INSTRUME=="SHOOT" or inputFile.INSTRUME=="XSHOOTER");
48894889
48904890 minRet = 1; maxRet = 1;
48914891 select file as MASTER_BIAS_UVB_WKF from calibFiles where PRO.CATG=="MASTER_BIAS_UVB_WKF" and inputFile.DET.WIN1.BINX==DET.WIN1.BINX and inputFile.DET.WIN1.BINY==DET.WIN1.BINY and inputFile.DET.READ.CLOCK==DET.READ.CLOCK and inputFile.DET.CHIP1.ID==DET.CHIP1.ID;
49334933
49344934
49354935 minRet = 0; maxRet = 1;
4936 select file as ATMOS_EXT_VIS from calibFiles where PRO.CATG=="ATMOS_EXT_VIS" and (inputFile.INSTRUME=="SHOOT" or inputFile.INSTRUME=="XSHOOTER") and MJD-OBS > 56351;
4936 select file as ATMOS_EXT_VIS from calibFiles where PRO.CATG=="ATMOS_EXT_VIS" and (inputFile.INSTRUME=="SHOOT" or inputFile.INSTRUME=="XSHOOTER");
49374937
49384938 minRet = 1; maxRet = 1;
49394939 select file as MASTER_BIAS_VIS_WKF from calibFiles where PRO.CATG=="MASTER_BIAS_VIS_WKF" and inputFile.DET.WIN1.BINX==DET.WIN1.BINX and inputFile.DET.WIN1.BINY==DET.WIN1.BINY and inputFile.DET.READ.CLOCK==DET.READ.CLOCK and inputFile.DET.CHIP1.ID==DET.CHIP1.ID;
49814981
49824982
49834983 minRet = 0; maxRet = 1;
4984 select file as ATMOS_EXT_NIR from calibFiles where PRO.CATG=="ATMOS_EXT_NIR" and (inputFile.INSTRUME=="SHOOT" or inputFile.INSTRUME=="XSHOOTER") and MJD-OBS > 56351;
4984 select file as ATMOS_EXT_NIR from calibFiles where PRO.CATG=="ATMOS_EXT_NIR" and (inputFile.INSTRUME=="SHOOT" or inputFile.INSTRUME=="XSHOOTER");
49854985
49864986 minRet = 0; maxRet = 1;
49874987 select file as MASTER_DARK_NIR_WKF from calibFiles where PRO.CATG=="MASTER_DARK_NIR_WKF" and inputFile.DET.DIT==DET.DIT and inputFile.DET.CHIP.ID==DET.CHIP.ID;
50335033
50345034
50355035 minRet = 0; maxRet = 1;
5036 select file as ATMOS_EXT_NIR from calibFiles where PRO.CATG=="ATMOS_EXT_NIR" and (inputFile.INSTRUME=="SHOOT" or inputFile.INSTRUME=="XSHOOTER") and MJD-OBS > 56351;
5036 select file as ATMOS_EXT_NIR from calibFiles where PRO.CATG=="ATMOS_EXT_NIR" and (inputFile.INSTRUME=="SHOOT" or inputFile.INSTRUME=="XSHOOTER");
50375037
50385038 minRet = 0; maxRet = 1;
50395039 select file as MASTER_DARK_NIR_WKF from calibFiles where PRO.CATG=="MASTER_DARK_NIR_WKF" and inputFile.DET.DIT==DET.DIT and inputFile.DET.CHIP.ID==DET.CHIP.ID;
22922292 select file as DISP_TAB_AFC_UVB_WKF from calibFiles where PRO.CATG=="DISP_TAB_AFC_UVB_WKF" and OBS.ID==inputFile.OBS.ID and OBS.TARG.NAME==inputFile.OBS.TARG.NAME and (inputFile.MJD-OBS - MJD-OBS) < 0.5 and (inputFile.MJD-OBS - MJD-OBS) > -0.5;
22932293
22942294 minRet = 1; maxRet = 1;
2295 select file as FLUX_STD_CATALOG_UVB from calibFiles where PRO.CATG=="FLUX_STD_CATALOG_UVB" and (inputFile.INSTRUME=="SHOOT" or inputFile.INSTRUME=="XSHOOTER") and MJD-OBS > 56351;
2295 select file as FLUX_STD_CATALOG_UVB from calibFiles where PRO.CATG=="FLUX_STD_CATALOG_UVB" and (inputFile.INSTRUME=="SHOOT" or inputFile.INSTRUME=="XSHOOTER");
22962296 // not necessary constrain
22972297 // and (MJD-OBS < inputFile.MJD-OBS or MJD-OBS >= inputFile.MJD-OBS);
22982298
22992299 minRet = 1; maxRet = 1;
2300 select file as ATMOS_EXT_UVB from calibFiles where PRO.CATG=="ATMOS_EXT_UVB" and (inputFile.INSTRUME=="SHOOT" or inputFile.INSTRUME=="XSHOOTER") and MJD-OBS > 56351;
2300 select file as ATMOS_EXT_UVB from calibFiles where PRO.CATG=="ATMOS_EXT_UVB" and (inputFile.INSTRUME=="SHOOT" or inputFile.INSTRUME=="XSHOOTER");
23012301 // not necessary constraint
23022302 // and (MJD-OBS < inputFile.MJD-OBS or MJD-OBS >= inputFile.MJD-OBS);
23032303
23472347 select file as DISP_TAB_AFC_VIS_WKF from calibFiles where PRO.CATG=="DISP_TAB_AFC_VIS_WKF" and OBS.ID==inputFile.OBS.ID and OBS.TARG.NAME==inputFile.OBS.TARG.NAME and (inputFile.MJD-OBS - MJD-OBS) < 0.5 and (inputFile.MJD-OBS - MJD-OBS) > -0.5;
23482348
23492349 minRet = 1; maxRet = 1;
2350 select file as FLUX_STD_CATALOG_VIS from calibFiles where PRO.CATG=="FLUX_STD_CATALOG_VIS" and (inputFile.INSTRUME=="SHOOT" or inputFile.INSTRUME=="XSHOOTER") and MJD-OBS > 56351;
2350 select file as FLUX_STD_CATALOG_VIS from calibFiles where PRO.CATG=="FLUX_STD_CATALOG_VIS" and (inputFile.INSTRUME=="SHOOT" or inputFile.INSTRUME=="XSHOOTER");
23512351 // not necessary constrain
23522352 // and (MJD-OBS < inputFile.MJD-OBS or MJD-OBS >= inputFile.MJD-OBS);
23532353
23542354 minRet = 1; maxRet = 1;
2355 select file as ATMOS_EXT_VIS from calibFiles where PRO.CATG=="ATMOS_EXT_VIS" and (inputFile.INSTRUME=="SHOOT" or inputFile.INSTRUME=="XSHOOTER") and MJD-OBS > 56351;
2355 select file as ATMOS_EXT_VIS from calibFiles where PRO.CATG=="ATMOS_EXT_VIS" and (inputFile.INSTRUME=="SHOOT" or inputFile.INSTRUME=="XSHOOTER");
23562356 // not necessary constraint
23572357 // and (MJD-OBS < inputFile.MJD-OBS or MJD-OBS >= inputFile.MJD-OBS);
23582358
24092409 select file as SPECTRAL_FORMAT_TAB_NIR from calibFiles where PRO.CATG=="SPECTRAL_FORMAT_TAB_NIR" and (INS.OPTI5.NAME is undefined or INS.OPTI5.NAME like "%x11") and (inputFile.INSTRUME=="SHOOT" or inputFile.INSTRUME=="XSHOOTER");
24102410
24112411 minRet = 1; maxRet = 1;
2412 select file as FLUX_STD_CATALOG_NIR from calibFiles where PRO.CATG=="FLUX_STD_CATALOG_NIR" and (inputFile.INSTRUME=="SHOOT" or inputFile.INSTRUME=="XSHOOTER") and MJD-OBS > 56351;
2412 select file as FLUX_STD_CATALOG_NIR from calibFiles where PRO.CATG=="FLUX_STD_CATALOG_NIR" and (inputFile.INSTRUME=="SHOOT" or inputFile.INSTRUME=="XSHOOTER");
24132413 // not necessary constraint
24142414 // and (MJD-OBS < inputFile.MJD-OBS or MJD-OBS >= inputFile.MJD-OBS);
24152415
24162416 minRet = 1; maxRet = 1;
2417 select file as ATMOS_EXT_NIR from calibFiles where PRO.CATG=="ATMOS_EXT_NIR" and (inputFile.INSTRUME=="SHOOT" or inputFile.INSTRUME=="XSHOOTER") and MJD-OBS > 56351;
2417 select file as ATMOS_EXT_NIR from calibFiles where PRO.CATG=="ATMOS_EXT_NIR" and (inputFile.INSTRUME=="SHOOT" or inputFile.INSTRUME=="XSHOOTER");
24182418 // not necessary constraint
24192419 // and (MJD-OBS < inputFile.MJD-OBS or MJD-OBS >= inputFile.MJD-OBS);
24202420
24722472 select file as SPECTRAL_FORMAT_TAB_JH_NIR from calibFiles where PRO.CATG=="SPECTRAL_FORMAT_TAB_JH_NIR" and (inputFile.INSTRUME=="SHOOT" or inputFile.INSTRUME=="XSHOOTER");
24732473
24742474 minRet = 1; maxRet = 1;
2475 select file as FLUX_STD_CATALOG_NIR from calibFiles where PRO.CATG=="FLUX_STD_CATALOG_NIR" and (inputFile.INSTRUME=="SHOOT" or inputFile.INSTRUME=="XSHOOTER") and MJD-OBS > 56351;
2475 select file as FLUX_STD_CATALOG_NIR from calibFiles where PRO.CATG=="FLUX_STD_CATALOG_NIR" and (inputFile.INSTRUME=="SHOOT" or inputFile.INSTRUME=="XSHOOTER");
24762476 // not necessary constraint
24772477 // and (MJD-OBS < inputFile.MJD-OBS or MJD-OBS >= inputFile.MJD-OBS);
24782478
24792479 minRet = 1; maxRet = 1;
2480 select file as ATMOS_EXT_NIR from calibFiles where PRO.CATG=="ATMOS_EXT_NIR" and (inputFile.INSTRUME=="SHOOT" or inputFile.INSTRUME=="XSHOOTER") and MJD-OBS > 56351;
2480 select file as ATMOS_EXT_NIR from calibFiles where PRO.CATG=="ATMOS_EXT_NIR" and (inputFile.INSTRUME=="SHOOT" or inputFile.INSTRUME=="XSHOOTER");
24812481 // not necessary constraint
24822482 // and (MJD-OBS < inputFile.MJD-OBS or MJD-OBS >= inputFile.MJD-OBS);
24832483
25342534 select file as XSH_MOD_CFG_OPT_AFC_UVB_WKF from calibFiles where PRO.CATG=="XSH_MOD_CFG_OPT_AFC_UVB_WKF" and OBS.ID==inputFile.OBS.ID and OBS.TARG.NAME==inputFile.OBS.TARG.NAME and (inputFile.MJD-OBS - MJD-OBS) < 0.5 and (inputFile.MJD-OBS - MJD-OBS) > -0.5;
25352535
25362536 minRet = 1; maxRet = 1;
2537 select file as FLUX_STD_CATALOG_UVB from calibFiles where PRO.CATG=="FLUX_STD_CATALOG_UVB" and (inputFile.INSTRUME=="SHOOT" or inputFile.INSTRUME=="XSHOOTER") and MJD-OBS > 56351;
2537 select file as FLUX_STD_CATALOG_UVB from calibFiles where PRO.CATG=="FLUX_STD_CATALOG_UVB" and (inputFile.INSTRUME=="SHOOT" or inputFile.INSTRUME=="XSHOOTER");
25382538 // not necessay constraint
25392539 // and (MJD-OBS < inputFile.MJD-OBS or MJD-OBS >= inputFile.MJD-OBS);
25402540
25412541 minRet = 1; maxRet = 1;
2542 select file as ATMOS_EXT_UVB from calibFiles where PRO.CATG=="ATMOS_EXT_UVB" and (inputFile.INSTRUME=="SHOOT" or inputFile.INSTRUME=="XSHOOTER") and MJD-OBS > 56351;
2542 select file as ATMOS_EXT_UVB from calibFiles where PRO.CATG=="ATMOS_EXT_UVB" and (inputFile.INSTRUME=="SHOOT" or inputFile.INSTRUME=="XSHOOTER");
25432543 // not necessary constraint
25442544 // and (MJD-OBS < inputFile.MJD-OBS or MJD-OBS >= inputFile.MJD-OBS);
25452545
25922592 select file as DISP_TAB_AFC_VIS_WKF from calibFiles where PRO.CATG=="DISP_TAB_AFC_VIS_WKF" and OBS.ID==inputFile.OBS.ID and OBS.TARG.NAME==inputFile.OBS.TARG.NAME and (inputFile.MJD-OBS - MJD-OBS) < 0.5 and (inputFile.MJD-OBS - MJD-OBS) > -0.5;
25932593
25942594 minRet = 1; maxRet = 1;
2595 select file as FLUX_STD_CATALOG_VIS from calibFiles where PRO.CATG=="FLUX_STD_CATALOG_VIS" and (inputFile.INSTRUME=="SHOOT" or inputFile.INSTRUME=="XSHOOTER") and MJD-OBS > 56351;
2595 select file as FLUX_STD_CATALOG_VIS from calibFiles where PRO.CATG=="FLUX_STD_CATALOG_VIS" and (inputFile.INSTRUME=="SHOOT" or inputFile.INSTRUME=="XSHOOTER");
25962596 // not necessary constraint
25972597 // and (MJD-OBS < inputFile.MJD-OBS or MJD-OBS >= inputFile.MJD-OBS);
25982598
25992599 minRet = 1; maxRet = 1;
2600 select file as ATMOS_EXT_VIS from calibFiles where PRO.CATG=="ATMOS_EXT_VIS" and (inputFile.INSTRUME=="SHOOT" or inputFile.INSTRUME=="XSHOOTER") and MJD-OBS > 56351;
2600 select file as ATMOS_EXT_VIS from calibFiles where PRO.CATG=="ATMOS_EXT_VIS" and (inputFile.INSTRUME=="SHOOT" or inputFile.INSTRUME=="XSHOOTER");
26012601 // not necessary constraint
26022602 // and (MJD-OBS < inputFile.MJD-OBS or MJD-OBS >= inputFile.MJD-OBS);
26032603
26542654 select file as SPECTRAL_FORMAT_TAB_NIR from calibFiles where PRO.CATG=="SPECTRAL_FORMAT_TAB_NIR" and (INS.OPTI5.NAME is undefined or INS.OPTI5.NAME like "%x11") and (inputFile.INSTRUME=="SHOOT" or inputFile.INSTRUME=="XSHOOTER");
26552655
26562656 minRet = 1; maxRet = 1;
2657 select file as FLUX_STD_CATALOG_NIR from calibFiles where PRO.CATG=="FLUX_STD_CATALOG_NIR" and (inputFile.INSTRUME=="SHOOT" or inputFile.INSTRUME=="XSHOOTER") and MJD-OBS > 56351;
2657 select file as FLUX_STD_CATALOG_NIR from calibFiles where PRO.CATG=="FLUX_STD_CATALOG_NIR" and (inputFile.INSTRUME=="SHOOT" or inputFile.INSTRUME=="XSHOOTER");
26582658 // not necessary constraint
26592659 // and (MJD-OBS < inputFile.MJD-OBS or MJD-OBS >= inputFile.MJD-OBS);
26602660
26612661 minRet = 1; maxRet = 1;
2662 select file as ATMOS_EXT_NIR from calibFiles where PRO.CATG=="ATMOS_EXT_NIR" and (inputFile.INSTRUME=="SHOOT" or inputFile.INSTRUME=="XSHOOTER") and MJD-OBS > 56351;
2662 select file as ATMOS_EXT_NIR from calibFiles where PRO.CATG=="ATMOS_EXT_NIR" and (inputFile.INSTRUME=="SHOOT" or inputFile.INSTRUME=="XSHOOTER");
26632663 // not necessary constraint
26642664 // and (MJD-OBS < inputFile.MJD-OBS or MJD-OBS >= inputFile.MJD-OBS);
26652665
27172717 select file as SPECTRAL_FORMAT_TAB_JH_NIR from calibFiles where PRO.CATG=="SPECTRAL_FORMAT_TAB_JH_NIR" and (inputFile.INSTRUME=="SHOOT" or inputFile.INSTRUME=="XSHOOTER");
27182718
27192719 minRet = 1; maxRet = 1;
2720 select file as FLUX_STD_CATALOG_NIR from calibFiles where PRO.CATG=="FLUX_STD_CATALOG_NIR" and (inputFile.INSTRUME=="SHOOT" or inputFile.INSTRUME=="XSHOOTER") and MJD-OBS > 56351;
2720 select file as FLUX_STD_CATALOG_NIR from calibFiles where PRO.CATG=="FLUX_STD_CATALOG_NIR" and (inputFile.INSTRUME=="SHOOT" or inputFile.INSTRUME=="XSHOOTER");
27212721 // not necessary constraint
27222722 // and (MJD-OBS < inputFile.MJD-OBS or MJD-OBS >= inputFile.MJD-OBS);
27232723
27242724 minRet = 1; maxRet = 1;
2725 select file as ATMOS_EXT_NIR from calibFiles where PRO.CATG=="ATMOS_EXT_NIR" and (inputFile.INSTRUME=="SHOOT" or inputFile.INSTRUME=="XSHOOTER") and MJD-OBS > 56351;
2725 select file as ATMOS_EXT_NIR from calibFiles where PRO.CATG=="ATMOS_EXT_NIR" and (inputFile.INSTRUME=="SHOOT" or inputFile.INSTRUME=="XSHOOTER");
27262726 // not necessary constraint
27272727 // and (MJD-OBS < inputFile.MJD-OBS or MJD-OBS >= inputFile.MJD-OBS);
27282728
27832783 select file as SPECTRAL_FORMAT_TAB_UVB from calibFiles where PRO.CATG=="SPECTRAL_FORMAT_TAB_UVB" and (inputFile.INSTRUME=="SHOOT" or inputFile.INSTRUME=="XSHOOTER");
27842784
27852785 minRet = 1; maxRet = 1;
2786 select file as FLUX_STD_CATALOG_UVB from calibFiles where PRO.CATG=="FLUX_STD_CATALOG_UVB" and (inputFile.INSTRUME=="SHOOT" or inputFile.INSTRUME=="XSHOOTER") and MJD-OBS > 56351;
2786 select file as FLUX_STD_CATALOG_UVB from calibFiles where PRO.CATG=="FLUX_STD_CATALOG_UVB" and (inputFile.INSTRUME=="SHOOT" or inputFile.INSTRUME=="XSHOOTER");
27872787 // not necessary constraint
27882788 // and (MJD-OBS < inputFile.MJD-OBS or MJD-OBS >= inputFile.MJD-OBS);
27892789
27902790 minRet = 1; maxRet = 1;
2791 select file as ATMOS_EXT_UVB from calibFiles where PRO.CATG=="ATMOS_EXT_UVB" and (inputFile.INSTRUME=="SHOOT" or inputFile.INSTRUME=="XSHOOTER") and MJD-OBS > 56351;
2791 select file as ATMOS_EXT_UVB from calibFiles where PRO.CATG=="ATMOS_EXT_UVB" and (inputFile.INSTRUME=="SHOOT" or inputFile.INSTRUME=="XSHOOTER");
27922792 // not necessary constraint
27932793 // and (MJD-OBS < inputFile.MJD-OBS or MJD-OBS >= inputFile.MJD-OBS);
27942794
28452845 select file as SPECTRAL_FORMAT_TAB_VIS from calibFiles where PRO.CATG=="SPECTRAL_FORMAT_TAB_VIS" and (inputFile.INSTRUME=="SHOOT" or inputFile.INSTRUME=="XSHOOTER");
28462846
28472847 minRet = 1; maxRet = 1;
2848 select file as FLUX_STD_CATALOG_VIS from calibFiles where PRO.CATG=="FLUX_STD_CATALOG_VIS" and (inputFile.INSTRUME=="SHOOT" or inputFile.INSTRUME=="XSHOOTER") and MJD-OBS > 56351;
2848 select file as FLUX_STD_CATALOG_VIS from calibFiles where PRO.CATG=="FLUX_STD_CATALOG_VIS" and (inputFile.INSTRUME=="SHOOT" or inputFile.INSTRUME=="XSHOOTER");
28492849 // not necessary constrain
28502850 // and (MJD-OBS < inputFile.MJD-OBS or MJD-OBS >= inputFile.MJD-OBS);
28512851
28522852 minRet = 1; maxRet = 1;
2853 select file as ATMOS_EXT_VIS from calibFiles where PRO.CATG=="ATMOS_EXT_VIS" and (inputFile.INSTRUME=="SHOOT" or inputFile.INSTRUME=="XSHOOTER") and MJD-OBS > 56351;
2853 select file as ATMOS_EXT_VIS from calibFiles where PRO.CATG=="ATMOS_EXT_VIS" and (inputFile.INSTRUME=="SHOOT" or inputFile.INSTRUME=="XSHOOTER");
28542854 // not necessary constraint
28552855 // and (MJD-OBS < inputFile.MJD-OBS or MJD-OBS >= inputFile.MJD-OBS);
28562856
29052905
29062906
29072907 minRet = 1; maxRet = 1;
2908 select file as FLUX_STD_CATALOG_NIR from calibFiles where PRO.CATG=="FLUX_STD_CATALOG_NIR" and (inputFile.INSTRUME=="SHOOT" or inputFile.INSTRUME=="XSHOOTER") and MJD-OBS > 56351;
2908 select file as FLUX_STD_CATALOG_NIR from calibFiles where PRO.CATG=="FLUX_STD_CATALOG_NIR" and (inputFile.INSTRUME=="SHOOT" or inputFile.INSTRUME=="XSHOOTER");
29092909 // not necessary constrain
29102910 // and (MJD-OBS < inputFile.MJD-OBS or MJD-OBS >= inputFile.MJD-OBS);
29112911
29122912 minRet = 1; maxRet = 1;
2913 select file as ATMOS_EXT_NIR from calibFiles where PRO.CATG=="ATMOS_EXT_NIR" and (inputFile.INSTRUME=="SHOOT" or inputFile.INSTRUME=="XSHOOTER") and MJD-OBS > 56351;
2913 select file as ATMOS_EXT_NIR from calibFiles where PRO.CATG=="ATMOS_EXT_NIR" and (inputFile.INSTRUME=="SHOOT" or inputFile.INSTRUME=="XSHOOTER");
29142914 // not necessary constraint
29152915 // and (MJD-OBS < inputFile.MJD-OBS or MJD-OBS >= inputFile.MJD-OBS);
29162916
29702970 select file as DISP_TAB_AFC_NIR_WKF from calibFiles where PRO.CATG=="DISP_TAB_AFC_NIR_WKF" and OBS.ID==inputFile.OBS.ID and OBS.TARG.NAME==inputFile.OBS.TARG.NAME and (inputFile.MJD-OBS - MJD-OBS) < 0.5 and (inputFile.MJD-OBS - MJD-OBS) > -0.5;
29712971
29722972 minRet = 1; maxRet = 1;
2973 select file as FLUX_STD_CATALOG_NIR from calibFiles where PRO.CATG=="FLUX_STD_CATALOG_NIR" and (inputFile.INSTRUME=="SHOOT" or inputFile.INSTRUME=="XSHOOTER") and MJD-OBS > 56351;
2973 select file as FLUX_STD_CATALOG_NIR from calibFiles where PRO.CATG=="FLUX_STD_CATALOG_NIR" and (inputFile.INSTRUME=="SHOOT" or inputFile.INSTRUME=="XSHOOTER");
29742974 // not necessary constrain
29752975 // and (MJD-OBS < inputFile.MJD-OBS or MJD-OBS >= inputFile.MJD-OBS);
29762976
29772977 minRet = 1; maxRet = 1;
2978 select file as ATMOS_EXT_NIR from calibFiles where PRO.CATG=="ATMOS_EXT_NIR" and (inputFile.INSTRUME=="SHOOT" or inputFile.INSTRUME=="XSHOOTER") and MJD-OBS > 56351;
2978 select file as ATMOS_EXT_NIR from calibFiles where PRO.CATG=="ATMOS_EXT_NIR" and (inputFile.INSTRUME=="SHOOT" or inputFile.INSTRUME=="XSHOOTER");
29792979 // not necessary constraint
29802980 // and (MJD-OBS < inputFile.MJD-OBS or MJD-OBS >= inputFile.MJD-OBS);
29812981
30093009
30103010 //Optional input in order to flux-calibrate
30113011 minRet = 0; maxRet = 1;
3012 select file as ATMOS_EXT_UVB from calibFiles where PRO.CATG=="ATMOS_EXT_UVB" and (inputFile.INSTRUME=="SHOOT" or inputFile.INSTRUME=="XSHOOTER") and MJD-OBS > 56351;
3012 select file as ATMOS_EXT_UVB from calibFiles where PRO.CATG=="ATMOS_EXT_UVB" and (inputFile.INSTRUME=="SHOOT" or inputFile.INSTRUME=="XSHOOTER");
30133013
30143014 minRet = 0; maxRet = 1;
30153015 select file as RESPONSE_MERGE1D_SLIT_UVB_WKF from calibFiles where PRO.CATG=="RESPONSE_MERGE1D_SLIT_UVB_WKF";
30643064
30653065 //Optional input in order to flux-calibrate
30663066 minRet = 0; maxRet = 1;
3067 select file as ATMOS_EXT_VIS from calibFiles where PRO.CATG=="ATMOS_EXT_VIS" and (inputFile.INSTRUME=="SHOOT" or inputFile.INSTRUME=="XSHOOTER") and MJD-OBS > 56351;
3067 select file as ATMOS_EXT_VIS from calibFiles where PRO.CATG=="ATMOS_EXT_VIS" and (inputFile.INSTRUME=="SHOOT" or inputFile.INSTRUME=="XSHOOTER");
30683068
30693069 minRet = 0; maxRet = 1;
30703070 select file as RESPONSE_MERGE1D_SLIT_VIS_WKF from calibFiles where PRO.CATG=="RESPONSE_MERGE1D_SLIT_VIS_WKF";
31203120
31213121 //Optional input in order to flux-calibrate
31223122 minRet = 0; maxRet = 1;
3123 select file as ATMOS_EXT_NIR from calibFiles where PRO.CATG=="ATMOS_EXT_NIR" and (inputFile.INSTRUME=="SHOOT" or inputFile.INSTRUME=="XSHOOTER") and MJD-OBS > 56351;
3123 select file as ATMOS_EXT_NIR from calibFiles where PRO.CATG=="ATMOS_EXT_NIR" and (inputFile.INSTRUME=="SHOOT" or inputFile.INSTRUME=="XSHOOTER");
31243124
31253125 minRet = 0; maxRet = 1;
31263126 select file as RESPONSE_MERGE1D_SLIT_NIR_WKF from calibFiles where PRO.CATG=="RESPONSE_MERGE1D_SLIT_NIR_WKF";
31763176
31773177 //Optional input in order to flux-calibrate
31783178 minRet = 0; maxRet = 1;
3179 select file as ATMOS_EXT_NIR from calibFiles where PRO.CATG=="ATMOS_EXT_NIR" and (inputFile.INSTRUME=="SHOOT" or inputFile.INSTRUME=="XSHOOTER") and MJD-OBS > 56351;
3179 select file as ATMOS_EXT_NIR from calibFiles where PRO.CATG=="ATMOS_EXT_NIR" and (inputFile.INSTRUME=="SHOOT" or inputFile.INSTRUME=="XSHOOTER");
31803180
31813181 minRet = 0; maxRet = 1;
31823182 select file as RESPONSE_MERGE1D_SLIT_NIR_WKF from calibFiles where PRO.CATG=="RESPONSE_MERGE1D_SLIT_NIR_WKF";
32323232
32333233 //Optional input in order to flux-calibrate
32343234 minRet = 0; maxRet = 1;
3235 select file as ATMOS_EXT_UVB from calibFiles where PRO.CATG=="ATMOS_EXT_UVB" and (inputFile.INSTRUME=="SHOOT" or inputFile.INSTRUME=="XSHOOTER") and MJD-OBS > 56351;
3235 select file as ATMOS_EXT_UVB from calibFiles where PRO.CATG=="ATMOS_EXT_UVB" and (inputFile.INSTRUME=="SHOOT" or inputFile.INSTRUME=="XSHOOTER");
32363236
32373237 minRet = 0; maxRet = 1;
32383238 select file as RESPONSE_MERGE1D_SLIT_UVB_WKF from calibFiles where PRO.CATG=="RESPONSE_MERGE1D_SLIT_UVB_WKF";
32823282
32833283 //Optional input in order to flux-calibrate
32843284 minRet = 0; maxRet = 1;
3285 select file as ATMOS_EXT_VIS from calibFiles where PRO.CATG=="ATMOS_EXT_VIS" and (inputFile.INSTRUME=="SHOOT" or inputFile.INSTRUME=="XSHOOTER") and MJD-OBS > 56351;
3285 select file as ATMOS_EXT_VIS from calibFiles where PRO.CATG=="ATMOS_EXT_VIS" and (inputFile.INSTRUME=="SHOOT" or inputFile.INSTRUME=="XSHOOTER");
32863286
32873287 minRet = 0; maxRet = 1;
32883288 select file as RESPONSE_MERGE1D_SLIT_VIS_WKF from calibFiles where PRO.CATG=="RESPONSE_MERGE1D_SLIT_VIS_WKF";
33323332
33333333 //Optional input in order to flux-calibrate
33343334 minRet = 0; maxRet = 1;
3335 select file as ATMOS_EXT_NIR from calibFiles where PRO.CATG=="ATMOS_EXT_NIR" and (inputFile.INSTRUME=="SHOOT" or inputFile.INSTRUME=="XSHOOTER") and MJD-OBS > 56351;
3335 select file as ATMOS_EXT_NIR from calibFiles where PRO.CATG=="ATMOS_EXT_NIR" and (inputFile.INSTRUME=="SHOOT" or inputFile.INSTRUME=="XSHOOTER");
33363336
33373337 minRet = 0; maxRet = 1;
33383338 select file as RESPONSE_MERGE1D_SLIT_NIR_WKF from calibFiles where PRO.CATG=="RESPONSE_MERGE1D_SLIT_NIR_WKF";
33823382
33833383 //Optional input in order to flux-calibrate
33843384 minRet = 0; maxRet = 1;
3385 select file as ATMOS_EXT_NIR from calibFiles where PRO.CATG=="ATMOS_EXT_NIR" and (inputFile.INSTRUME=="SHOOT" or inputFile.INSTRUME=="XSHOOTER") and MJD-OBS > 56351;
3385 select file as ATMOS_EXT_NIR from calibFiles where PRO.CATG=="ATMOS_EXT_NIR" and (inputFile.INSTRUME=="SHOOT" or inputFile.INSTRUME=="XSHOOTER");
33863386
33873387 minRet = 0; maxRet = 1;
33883388 select file as RESPONSE_MERGE1D_SLIT_NIR_WKF from calibFiles where PRO.CATG=="RESPONSE_MERGE1D_SLIT_NIR_WKF";
38963896
38973897
38983898 minRet = 0; maxRet = 1;
3899 select file as ATMOS_EXT_UVB from calibFiles where PRO.CATG=="ATMOS_EXT_UVB" and (inputFile.INSTRUME=="SHOOT" or inputFile.INSTRUME=="XSHOOTER") and MJD-OBS > 56351;
3899 select file as ATMOS_EXT_UVB from calibFiles where PRO.CATG=="ATMOS_EXT_UVB" and (inputFile.INSTRUME=="SHOOT" or inputFile.INSTRUME=="XSHOOTER");
39003900
39013901 minRet = 1; maxRet = 1;
39023902 select file as MASTER_BIAS_UVB_WKF from calibFiles where PRO.CATG=="MASTER_BIAS_UVB_WKF" and inputFile.DET.WIN1.BINX==DET.WIN1.BINX and inputFile.DET.WIN1.BINY==DET.WIN1.BINY and inputFile.DET.READ.CLOCK==DET.READ.CLOCK and inputFile.DET.CHIP1.ID==DET.CHIP1.ID;
39523952
39533953
39543954 minRet = 0; maxRet = 1;
3955 select file as ATMOS_EXT_VIS from calibFiles where PRO.CATG=="ATMOS_EXT_VIS" and (inputFile.INSTRUME=="SHOOT" or inputFile.INSTRUME=="XSHOOTER") and MJD-OBS > 56351;
3955 select file as ATMOS_EXT_VIS from calibFiles where PRO.CATG=="ATMOS_EXT_VIS" and (inputFile.INSTRUME=="SHOOT" or inputFile.INSTRUME=="XSHOOTER");
39563956
39573957 minRet = 1; maxRet = 1;
39583958 select file as MASTER_BIAS_VIS_WKF from calibFiles where PRO.CATG=="MASTER_BIAS_VIS_WKF" and inputFile.DET.WIN1.BINX==DET.WIN1.BINX and inputFile.DET.WIN1.BINY==DET.WIN1.BINY and inputFile.DET.READ.CLOCK==DET.READ.CLOCK and inputFile.DET.CHIP1.ID==DET.CHIP1.ID;
40084008
40094009
40104010 minRet = 0; maxRet = 1;
4011 select file as ATMOS_EXT_NIR from calibFiles where PRO.CATG=="ATMOS_EXT_NIR" and (inputFile.INSTRUME=="SHOOT" or inputFile.INSTRUME=="XSHOOTER") and MJD-OBS > 56351;
4011 select file as ATMOS_EXT_NIR from calibFiles where PRO.CATG=="ATMOS_EXT_NIR" and (inputFile.INSTRUME=="SHOOT" or inputFile.INSTRUME=="XSHOOTER");
40124012
40134013 minRet = 1; maxRet = 1;
40144014 select file as MASTER_DARK_NIR_WKF from calibFiles where PRO.CATG=="MASTER_DARK_NIR_WKF" and inputFile.DET.DIT==DET.DIT and inputFile.DET.CHIP.ID==DET.CHIP.ID;
40644064
40654065
40664066 minRet = 0; maxRet = 1;
4067 select file as ATMOS_EXT_NIR from calibFiles where PRO.CATG=="ATMOS_EXT_NIR" and (inputFile.INSTRUME=="SHOOT" or inputFile.INSTRUME=="XSHOOTER") and MJD-OBS > 56351;
4067 select file as ATMOS_EXT_NIR from calibFiles where PRO.CATG=="ATMOS_EXT_NIR" and (inputFile.INSTRUME=="SHOOT" or inputFile.INSTRUME=="XSHOOTER");
40684068
40694069 minRet = 1; maxRet = 1;
40704070 select file as MASTER_DARK_NIR_WKF from calibFiles where PRO.CATG=="MASTER_DARK_NIR_WKF" and inputFile.DET.DIT==DET.DIT and inputFile.DET.CHIP.ID==DET.CHIP.ID;
27612761 select file as DISP_TAB_AFC_UVB_WKF from calibFiles where PRO.CATG=="DISP_TAB_AFC_UVB_WKF" and OBS.ID==inputFile.OBS.ID and OBS.TARG.NAME==inputFile.OBS.TARG.NAME and (inputFile.MJD-OBS - MJD-OBS) < 0.5 and (inputFile.MJD-OBS - MJD-OBS) > -0.5;
27622762
27632763 minRet = 1; maxRet = 1;
2764 select file as FLUX_STD_CATALOG_UVB from calibFiles where PRO.CATG=="FLUX_STD_CATALOG_UVB" and (inputFile.INSTRUME=="SHOOT" or inputFile.INSTRUME=="XSHOOTER") and MJD-OBS > 56351;
2764 select file as FLUX_STD_CATALOG_UVB from calibFiles where PRO.CATG=="FLUX_STD_CATALOG_UVB" and (inputFile.INSTRUME=="SHOOT" or inputFile.INSTRUME=="XSHOOTER");
27652765 // not necessary constrain
27662766 // and (MJD-OBS < inputFile.MJD-OBS or MJD-OBS >= inputFile.MJD-OBS);
27672767
27682768 minRet = 1; maxRet = 1;
2769 select file as ATMOS_EXT_UVB from calibFiles where PRO.CATG=="ATMOS_EXT_UVB" and (inputFile.INSTRUME=="SHOOT" or inputFile.INSTRUME=="XSHOOTER") and MJD-OBS > 56351;
2769 select file as ATMOS_EXT_UVB from calibFiles where PRO.CATG=="ATMOS_EXT_UVB" and (inputFile.INSTRUME=="SHOOT" or inputFile.INSTRUME=="XSHOOTER");
27702770 // not necessary constraint
27712771 // and (MJD-OBS < inputFile.MJD-OBS or MJD-OBS >= inputFile.MJD-OBS);
27722772
28182818 select file as DISP_TAB_AFC_VIS_WKF from calibFiles where PRO.CATG=="DISP_TAB_AFC_VIS_WKF" and OBS.ID==inputFile.OBS.ID and OBS.TARG.NAME==inputFile.OBS.TARG.NAME and (inputFile.MJD-OBS - MJD-OBS) < 0.5 and (inputFile.MJD-OBS - MJD-OBS) > -0.5;
28192819
28202820 minRet = 1; maxRet = 1;
2821 select file as FLUX_STD_CATALOG_VIS from calibFiles where PRO.CATG=="FLUX_STD_CATALOG_VIS" and (inputFile.INSTRUME=="SHOOT" or inputFile.INSTRUME=="XSHOOTER") and MJD-OBS > 56351;
2821 select file as FLUX_STD_CATALOG_VIS from calibFiles where PRO.CATG=="FLUX_STD_CATALOG_VIS" and (inputFile.INSTRUME=="SHOOT" or inputFile.INSTRUME=="XSHOOTER");
28222822 // not necessary constrain
28232823 // and (MJD-OBS < inputFile.MJD-OBS or MJD-OBS >= inputFile.MJD-OBS);
28242824
28252825 minRet = 1; maxRet = 1;
2826 select file as ATMOS_EXT_VIS from calibFiles where PRO.CATG=="ATMOS_EXT_VIS" and (inputFile.INSTRUME=="SHOOT" or inputFile.INSTRUME=="XSHOOTER") and MJD-OBS > 56351;
2826 select file as ATMOS_EXT_VIS from calibFiles where PRO.CATG=="ATMOS_EXT_VIS" and (inputFile.INSTRUME=="SHOOT" or inputFile.INSTRUME=="XSHOOTER");
28272827 // not necessary constraint
28282828 // and (MJD-OBS < inputFile.MJD-OBS or MJD-OBS >= inputFile.MJD-OBS);
28292829
28802880 select file as SPECTRAL_FORMAT_TAB_NIR from calibFiles where PRO.CATG=="SPECTRAL_FORMAT_TAB_NIR" and (INS.OPTI5.NAME is undefined or INS.OPTI5.NAME like "%x11") and (inputFile.INSTRUME=="SHOOT" or inputFile.INSTRUME=="XSHOOTER");
28812881
28822882 minRet = 1; maxRet = 1;
2883 select file as FLUX_STD_CATALOG_NIR from calibFiles where PRO.CATG=="FLUX_STD_CATALOG_NIR" and (inputFile.INSTRUME=="SHOOT" or inputFile.INSTRUME=="XSHOOTER") and MJD-OBS > 56351;
2883 select file as FLUX_STD_CATALOG_NIR from calibFiles where PRO.CATG=="FLUX_STD_CATALOG_NIR" and (inputFile.INSTRUME=="SHOOT" or inputFile.INSTRUME=="XSHOOTER");
28842884 // not necessary constraint
28852885 // and (MJD-OBS < inputFile.MJD-OBS or MJD-OBS >= inputFile.MJD-OBS);
28862886
28872887 minRet = 1; maxRet = 1;
2888 select file as ATMOS_EXT_NIR from calibFiles where PRO.CATG=="ATMOS_EXT_NIR" and (inputFile.INSTRUME=="SHOOT" or inputFile.INSTRUME=="XSHOOTER") and MJD-OBS > 56351;
2888 select file as ATMOS_EXT_NIR from calibFiles where PRO.CATG=="ATMOS_EXT_NIR" and (inputFile.INSTRUME=="SHOOT" or inputFile.INSTRUME=="XSHOOTER");
28892889 // not necessary constraint
28902890 // and (MJD-OBS < inputFile.MJD-OBS or MJD-OBS >= inputFile.MJD-OBS);
28912891
29462946 select file as SPECTRAL_FORMAT_TAB_JH_NIR from calibFiles where PRO.CATG=="SPECTRAL_FORMAT_TAB_JH_NIR" and (inputFile.INSTRUME=="SHOOT" or inputFile.INSTRUME=="XSHOOTER");
29472947
29482948 minRet = 1; maxRet = 1;
2949 select file as FLUX_STD_CATALOG_NIR from calibFiles where PRO.CATG=="FLUX_STD_CATALOG_NIR" and (inputFile.INSTRUME=="SHOOT" or inputFile.INSTRUME=="XSHOOTER") and MJD-OBS > 56351;
2949 select file as FLUX_STD_CATALOG_NIR from calibFiles where PRO.CATG=="FLUX_STD_CATALOG_NIR" and (inputFile.INSTRUME=="SHOOT" or inputFile.INSTRUME=="XSHOOTER");
29502950 // not necessary constraint
29512951 // and (MJD-OBS < inputFile.MJD-OBS or MJD-OBS >= inputFile.MJD-OBS);
29522952
29532953 minRet = 1; maxRet = 1;
2954 select file as ATMOS_EXT_NIR from calibFiles where PRO.CATG=="ATMOS_EXT_NIR" and (inputFile.INSTRUME=="SHOOT" or inputFile.INSTRUME=="XSHOOTER") and MJD-OBS > 56351;
2954 select file as ATMOS_EXT_NIR from calibFiles where PRO.CATG=="ATMOS_EXT_NIR" and (inputFile.INSTRUME=="SHOOT" or inputFile.INSTRUME=="XSHOOTER");
29552955 // not necessary constraint
29562956 // and (MJD-OBS < inputFile.MJD-OBS or MJD-OBS >= inputFile.MJD-OBS);
29572957
30113011 select file as XSH_MOD_CFG_OPT_AFC_UVB_WKF from calibFiles where PRO.CATG=="XSH_MOD_CFG_OPT_AFC_UVB_WKF" and OBS.ID==inputFile.OBS.ID and OBS.TARG.NAME==inputFile.OBS.TARG.NAME and (inputFile.MJD-OBS - MJD-OBS) < 0.5 and (inputFile.MJD-OBS - MJD-OBS) > -0.5;
30123012
30133013 minRet = 1; maxRet = 1;
3014 select file as FLUX_STD_CATALOG_UVB from calibFiles where PRO.CATG=="FLUX_STD_CATALOG_UVB" and (inputFile.INSTRUME=="SHOOT" or inputFile.INSTRUME=="XSHOOTER") and MJD-OBS > 56351;
3014 select file as FLUX_STD_CATALOG_UVB from calibFiles where PRO.CATG=="FLUX_STD_CATALOG_UVB" and (inputFile.INSTRUME=="SHOOT" or inputFile.INSTRUME=="XSHOOTER");
30153015 // not necessay constraint
30163016 // and (MJD-OBS < inputFile.MJD-OBS or MJD-OBS >= inputFile.MJD-OBS);
30173017
30183018 minRet = 1; maxRet = 1;
3019 select file as ATMOS_EXT_UVB from calibFiles where PRO.CATG=="ATMOS_EXT_UVB" and (inputFile.INSTRUME=="SHOOT" or inputFile.INSTRUME=="XSHOOTER") and MJD-OBS > 56351;
3019 select file as ATMOS_EXT_UVB from calibFiles where PRO.CATG=="ATMOS_EXT_UVB" and (inputFile.INSTRUME=="SHOOT" or inputFile.INSTRUME=="XSHOOTER");
30203020 // not necessary constraint
30213021 // and (MJD-OBS < inputFile.MJD-OBS or MJD-OBS >= inputFile.MJD-OBS);
30223022
30713071 select file as DISP_TAB_AFC_VIS_WKF from calibFiles where PRO.CATG=="DISP_TAB_AFC_VIS_WKF" and OBS.ID==inputFile.OBS.ID and OBS.TARG.NAME==inputFile.OBS.TARG.NAME and (inputFile.MJD-OBS - MJD-OBS) < 0.5 and (inputFile.MJD-OBS - MJD-OBS) > -0.5;
30723072
30733073 minRet = 1; maxRet = 1;
3074 select file as FLUX_STD_CATALOG_VIS from calibFiles where PRO.CATG=="FLUX_STD_CATALOG_VIS" and (inputFile.INSTRUME=="SHOOT" or inputFile.INSTRUME=="XSHOOTER") and MJD-OBS > 56351;
3074 select file as FLUX_STD_CATALOG_VIS from calibFiles where PRO.CATG=="FLUX_STD_CATALOG_VIS" and (inputFile.INSTRUME=="SHOOT" or inputFile.INSTRUME=="XSHOOTER");
30753075 // not necessary constraint
30763076 // and (MJD-OBS < inputFile.MJD-OBS or MJD-OBS >= inputFile.MJD-OBS);
30773077
30783078 minRet = 1; maxRet = 1;
3079 select file as ATMOS_EXT_VIS from calibFiles where PRO.CATG=="ATMOS_EXT_VIS" and (inputFile.INSTRUME=="SHOOT" or inputFile.INSTRUME=="XSHOOTER") and MJD-OBS > 56351;
3079 select file as ATMOS_EXT_VIS from calibFiles where PRO.CATG=="ATMOS_EXT_VIS" and (inputFile.INSTRUME=="SHOOT" or inputFile.INSTRUME=="XSHOOTER");
30803080 // not necessary constraint
30813081 // and (MJD-OBS < inputFile.MJD-OBS or MJD-OBS >= inputFile.MJD-OBS);
30823082
31353135 select file as SPECTRAL_FORMAT_TAB_NIR from calibFiles where PRO.CATG=="SPECTRAL_FORMAT_TAB_NIR" and (INS.OPTI5.NAME is undefined or INS.OPTI5.NAME like "%x11") and (inputFile.INSTRUME=="SHOOT" or inputFile.INSTRUME=="XSHOOTER");
31363136
31373137 minRet = 1; maxRet = 1;
3138 select file as FLUX_STD_CATALOG_NIR from calibFiles where PRO.CATG=="FLUX_STD_CATALOG_NIR" and (inputFile.INSTRUME=="SHOOT" or inputFile.INSTRUME=="XSHOOTER") and MJD-OBS > 56351;
3138 select file as FLUX_STD_CATALOG_NIR from calibFiles where PRO.CATG=="FLUX_STD_CATALOG_NIR" and (inputFile.INSTRUME=="SHOOT" or inputFile.INSTRUME=="XSHOOTER");
31393139 // not necessary constraint
31403140 // and (MJD-OBS < inputFile.MJD-OBS or MJD-OBS >= inputFile.MJD-OBS);
31413141
31423142 minRet = 1; maxRet = 1;
3143 select file as ATMOS_EXT_NIR from calibFiles where PRO.CATG=="ATMOS_EXT_NIR" and (inputFile.INSTRUME=="SHOOT" or inputFile.INSTRUME=="XSHOOTER") and MJD-OBS > 56351;
3143 select file as ATMOS_EXT_NIR from calibFiles where PRO.CATG=="ATMOS_EXT_NIR" and (inputFile.INSTRUME=="SHOOT" or inputFile.INSTRUME=="XSHOOTER");
31443144 // not necessary constraint
31453145 // and (MJD-OBS < inputFile.MJD-OBS or MJD-OBS >= inputFile.MJD-OBS);
31463146
32013201 select file as SPECTRAL_FORMAT_TAB_JH_NIR from calibFiles where PRO.CATG=="SPECTRAL_FORMAT_TAB_JH_NIR" and (inputFile.INSTRUME=="SHOOT" or inputFile.INSTRUME=="XSHOOTER");
32023202
32033203 minRet = 1; maxRet = 1;
3204 select file as FLUX_STD_CATALOG_NIR from calibFiles where PRO.CATG=="FLUX_STD_CATALOG_NIR" and (inputFile.INSTRUME=="SHOOT" or inputFile.INSTRUME=="XSHOOTER") and MJD-OBS > 56351;
3204 select file as FLUX_STD_CATALOG_NIR from calibFiles where PRO.CATG=="FLUX_STD_CATALOG_NIR" and (inputFile.INSTRUME=="SHOOT" or inputFile.INSTRUME=="XSHOOTER");
32053205 // not necessary constraint
32063206 // and (MJD-OBS < inputFile.MJD-OBS or MJD-OBS >= inputFile.MJD-OBS);
32073207
32083208 minRet = 1; maxRet = 1;
3209 select file as ATMOS_EXT_NIR from calibFiles where PRO.CATG=="ATMOS_EXT_NIR" and (inputFile.INSTRUME=="SHOOT" or inputFile.INSTRUME=="XSHOOTER") and MJD-OBS > 56351;
3209 select file as ATMOS_EXT_NIR from calibFiles where PRO.CATG=="ATMOS_EXT_NIR" and (inputFile.INSTRUME=="SHOOT" or inputFile.INSTRUME=="XSHOOTER");
32103210 // not necessary constraint
32113211 // and (MJD-OBS < inputFile.MJD-OBS or MJD-OBS >= inputFile.MJD-OBS);
32123212
32713271 select file as SPECTRAL_FORMAT_TAB_UVB from calibFiles where PRO.CATG=="SPECTRAL_FORMAT_TAB_UVB" and (inputFile.INSTRUME=="SHOOT" or inputFile.INSTRUME=="XSHOOTER");
32723272
32733273 minRet = 1; maxRet = 1;
3274 select file as FLUX_STD_CATALOG_UVB from calibFiles where PRO.CATG=="FLUX_STD_CATALOG_UVB" and (inputFile.INSTRUME=="SHOOT" or inputFile.INSTRUME=="XSHOOTER") and MJD-OBS > 56351;
3274 select file as FLUX_STD_CATALOG_UVB from calibFiles where PRO.CATG=="FLUX_STD_CATALOG_UVB" and (inputFile.INSTRUME=="SHOOT" or inputFile.INSTRUME=="XSHOOTER");
32753275 // not necessary constraint
32763276 // and (MJD-OBS < inputFile.MJD-OBS or MJD-OBS >= inputFile.MJD-OBS);
32773277
32783278 minRet = 1; maxRet = 1;
3279 select file as ATMOS_EXT_UVB from calibFiles where PRO.CATG=="ATMOS_EXT_UVB" and (inputFile.INSTRUME=="SHOOT" or inputFile.INSTRUME=="XSHOOTER") and MJD-OBS > 56351;
3279 select file as ATMOS_EXT_UVB from calibFiles where PRO.CATG=="ATMOS_EXT_UVB" and (inputFile.INSTRUME=="SHOOT" or inputFile.INSTRUME=="XSHOOTER");
32803280 // not necessary constraint
32813281 // and (MJD-OBS < inputFile.MJD-OBS or MJD-OBS >= inputFile.MJD-OBS);
32823282
33393339 select file as SPECTRAL_FORMAT_TAB_VIS from calibFiles where PRO.CATG=="SPECTRAL_FORMAT_TAB_VIS" and (inputFile.INSTRUME=="SHOOT" or inputFile.INSTRUME=="XSHOOTER");
33403340
33413341 minRet = 1; maxRet = 1;
3342 select file as FLUX_STD_CATALOG_VIS from calibFiles where PRO.CATG=="FLUX_STD_CATALOG_VIS" and (inputFile.INSTRUME=="SHOOT" or inputFile.INSTRUME=="XSHOOTER") and MJD-OBS > 56351;
3342 select file as FLUX_STD_CATALOG_VIS from calibFiles where PRO.CATG=="FLUX_STD_CATALOG_VIS" and (inputFile.INSTRUME=="SHOOT" or inputFile.INSTRUME=="XSHOOTER");
33433343 // not necessary constrain
33443344 // and (MJD-OBS < inputFile.MJD-OBS or MJD-OBS >= inputFile.MJD-OBS);
33453345
33463346 minRet = 1; maxRet = 1;
3347 select file as ATMOS_EXT_VIS from calibFiles where PRO.CATG=="ATMOS_EXT_VIS" and (inputFile.INSTRUME=="SHOOT" or inputFile.INSTRUME=="XSHOOTER") and MJD-OBS > 56351;
3347 select file as ATMOS_EXT_VIS from calibFiles where PRO.CATG=="ATMOS_EXT_VIS" and (inputFile.INSTRUME=="SHOOT" or inputFile.INSTRUME=="XSHOOTER");
33483348 // not necessary constraint
33493349 // and (MJD-OBS < inputFile.MJD-OBS or MJD-OBS >= inputFile.MJD-OBS);
33503350
34073407
34083408
34093409 minRet = 1; maxRet = 1;
3410 select file as FLUX_STD_CATALOG_NIR from calibFiles where PRO.CATG=="FLUX_STD_CATALOG_NIR" and (inputFile.INSTRUME=="SHOOT" or inputFile.INSTRUME=="XSHOOTER") and MJD-OBS > 56351;
3410 select file as FLUX_STD_CATALOG_NIR from calibFiles where PRO.CATG=="FLUX_STD_CATALOG_NIR" and (inputFile.INSTRUME=="SHOOT" or inputFile.INSTRUME=="XSHOOTER");
34113411 // not necessary constrain
34123412 // and (MJD-OBS < inputFile.MJD-OBS or MJD-OBS >= inputFile.MJD-OBS);
34133413
34143414 minRet = 1; maxRet = 1;
3415 select file as ATMOS_EXT_NIR from calibFiles where PRO.CATG=="ATMOS_EXT_NIR" and (inputFile.INSTRUME=="SHOOT" or inputFile.INSTRUME=="XSHOOTER") and MJD-OBS > 56351;
3415 select file as ATMOS_EXT_NIR from calibFiles where PRO.CATG=="ATMOS_EXT_NIR" and (inputFile.INSTRUME=="SHOOT" or inputFile.INSTRUME=="XSHOOTER");
34163416 // not necessary constraint
34173417 // and (MJD-OBS < inputFile.MJD-OBS or MJD-OBS >= inputFile.MJD-OBS);
34183418
34793479 select file as DISP_TAB_AFC_NIR_WKF from calibFiles where PRO.CATG=="DISP_TAB_AFC_NIR_WKF" and OBS.ID==inputFile.OBS.ID and OBS.TARG.NAME==inputFile.OBS.TARG.NAME and (inputFile.MJD-OBS - MJD-OBS) < 0.5 and (inputFile.MJD-OBS - MJD-OBS) > -0.5;
34803480
34813481 minRet = 1; maxRet = 1;
3482 select file as FLUX_STD_CATALOG_NIR from calibFiles where PRO.CATG=="FLUX_STD_CATALOG_NIR" and (inputFile.INSTRUME=="SHOOT" or inputFile.INSTRUME=="XSHOOTER") and MJD-OBS > 56351;
3482 select file as FLUX_STD_CATALOG_NIR from calibFiles where PRO.CATG=="FLUX_STD_CATALOG_NIR" and (inputFile.INSTRUME=="SHOOT" or inputFile.INSTRUME=="XSHOOTER");
34833483 // not necessary constrain
34843484 // and (MJD-OBS < inputFile.MJD-OBS or MJD-OBS >= inputFile.MJD-OBS);
34853485
34863486 minRet = 1; maxRet = 1;
3487 select file as ATMOS_EXT_NIR from calibFiles where PRO.CATG=="ATMOS_EXT_NIR" and (inputFile.INSTRUME=="SHOOT" or inputFile.INSTRUME=="XSHOOTER") and MJD-OBS > 56351;
3487 select file as ATMOS_EXT_NIR from calibFiles where PRO.CATG=="ATMOS_EXT_NIR" and (inputFile.INSTRUME=="SHOOT" or inputFile.INSTRUME=="XSHOOTER");
34883488 // not necessary constraint
34893489 // and (MJD-OBS < inputFile.MJD-OBS or MJD-OBS >= inputFile.MJD-OBS);
34903490
35273527
35283528 //Optional input in order to flux-calibrate
35293529 minRet = 0; maxRet = 1;
3530 select file as ATMOS_EXT_UVB from calibFiles where PRO.CATG=="ATMOS_EXT_UVB" and (inputFile.INSTRUME=="SHOOT" or inputFile.INSTRUME=="XSHOOTER") and MJD-OBS > 56351;
3530 select file as ATMOS_EXT_UVB from calibFiles where PRO.CATG=="ATMOS_EXT_UVB" and (inputFile.INSTRUME=="SHOOT" or inputFile.INSTRUME=="XSHOOTER");
35313531
35323532 minRet = 0; maxRet = 1;
35333533 select file as RESPONSE_MERGE1D_SLIT_UVB_WKF from calibFiles where PRO.CATG=="RESPONSE_MERGE1D_SLIT_UVB_WKF";
35863586
35873587 //Optional input in order to flux-calibrate
35883588 minRet = 0; maxRet = 1;
3589 select file as ATMOS_EXT_VIS from calibFiles where PRO.CATG=="ATMOS_EXT_VIS" and (inputFile.INSTRUME=="SHOOT" or inputFile.INSTRUME=="XSHOOTER") and MJD-OBS > 56351;
3589 select file as ATMOS_EXT_VIS from calibFiles where PRO.CATG=="ATMOS_EXT_VIS" and (inputFile.INSTRUME=="SHOOT" or inputFile.INSTRUME=="XSHOOTER");
35903590
35913591 minRet = 0; maxRet = 1;
35923592 select file as RESPONSE_MERGE1D_SLIT_VIS_WKF from calibFiles where PRO.CATG=="RESPONSE_MERGE1D_SLIT_VIS_WKF";
36463646
36473647 //Optional input in order to flux-calibrate
36483648 minRet = 0; maxRet = 1;
3649 select file as ATMOS_EXT_NIR from calibFiles where PRO.CATG=="ATMOS_EXT_NIR" and (inputFile.INSTRUME=="SHOOT" or inputFile.INSTRUME=="XSHOOTER") and MJD-OBS > 56351;
3649 select file as ATMOS_EXT_NIR from calibFiles where PRO.CATG=="ATMOS_EXT_NIR" and (inputFile.INSTRUME=="SHOOT" or inputFile.INSTRUME=="XSHOOTER");
36503650
36513651 minRet = 0; maxRet = 1;
36523652 select file as RESPONSE_MERGE1D_SLIT_NIR_WKF from calibFiles where PRO.CATG=="RESPONSE_MERGE1D_SLIT_NIR_WKF";
37053705
37063706 //Optional input in order to flux-calibrate
37073707 minRet = 0; maxRet = 1;
3708 select file as ATMOS_EXT_NIR from calibFiles where PRO.CATG=="ATMOS_EXT_NIR" and (inputFile.INSTRUME=="SHOOT" or inputFile.INSTRUME=="XSHOOTER") and MJD-OBS > 56351;
3708 select file as ATMOS_EXT_NIR from calibFiles where PRO.CATG=="ATMOS_EXT_NIR" and (inputFile.INSTRUME=="SHOOT" or inputFile.INSTRUME=="XSHOOTER");
37093709
37103710 minRet = 0; maxRet = 1;
37113711 select file as RESPONSE_MERGE1D_SLIT_NIR_WKF from calibFiles where PRO.CATG=="RESPONSE_MERGE1D_SLIT_NIR_WKF";
37643764
37653765 //Optional input in order to flux-calibrate
37663766 minRet = 0; maxRet = 1;
3767 select file as ATMOS_EXT_UVB from calibFiles where PRO.CATG=="ATMOS_EXT_UVB" and (inputFile.INSTRUME=="SHOOT" or inputFile.INSTRUME=="XSHOOTER") and MJD-OBS > 56351;
3767 select file as ATMOS_EXT_UVB from calibFiles where PRO.CATG=="ATMOS_EXT_UVB" and (inputFile.INSTRUME=="SHOOT" or inputFile.INSTRUME=="XSHOOTER");
37683768
37693769 minRet = 0; maxRet = 1;
37703770 select file as RESPONSE_MERGE1D_SLIT_UVB_WKF from calibFiles where PRO.CATG=="RESPONSE_MERGE1D_SLIT_UVB_WKF";
38143814
38153815 //Optional input in order to flux-calibrate
38163816 minRet = 0; maxRet = 1;
3817 select file as ATMOS_EXT_VIS from calibFiles where PRO.CATG=="ATMOS_EXT_VIS" and (inputFile.INSTRUME=="SHOOT" or inputFile.INSTRUME=="XSHOOTER") and MJD-OBS > 56351;
3817 select file as ATMOS_EXT_VIS from calibFiles where PRO.CATG=="ATMOS_EXT_VIS" and (inputFile.INSTRUME=="SHOOT" or inputFile.INSTRUME=="XSHOOTER");
38183818
38193819 minRet = 0; maxRet = 1;
38203820 select file as RESPONSE_MERGE1D_SLIT_VIS_WKF from calibFiles where PRO.CATG=="RESPONSE_MERGE1D_SLIT_VIS_WKF";
38643864
38653865 //Optional input in order to flux-calibrate
38663866 minRet = 0; maxRet = 1;
3867 select file as ATMOS_EXT_NIR from calibFiles where PRO.CATG=="ATMOS_EXT_NIR" and (inputFile.INSTRUME=="SHOOT" or inputFile.INSTRUME=="XSHOOTER") and MJD-OBS > 56351;
3867 select file as ATMOS_EXT_NIR from calibFiles where PRO.CATG=="ATMOS_EXT_NIR" and (inputFile.INSTRUME=="SHOOT" or inputFile.INSTRUME=="XSHOOTER");
38683868
38693869 minRet = 0; maxRet = 1;
38703870 select file as RESPONSE_MERGE1D_SLIT_NIR_WKF from calibFiles where PRO.CATG=="RESPONSE_MERGE1D_SLIT_NIR_WKF";
39183918
39193919 //Optional input in order to flux-calibrate
39203920 minRet = 0; maxRet = 1;
3921 select file as ATMOS_EXT_NIR from calibFiles where PRO.CATG=="ATMOS_EXT_NIR" and (inputFile.INSTRUME=="SHOOT" or inputFile.INSTRUME=="XSHOOTER") and MJD-OBS > 56351;
3921 select file as ATMOS_EXT_NIR from calibFiles where PRO.CATG=="ATMOS_EXT_NIR" and (inputFile.INSTRUME=="SHOOT" or inputFile.INSTRUME=="XSHOOTER");
39223922
39233923 minRet = 0; maxRet = 1;
39243924 select file as RESPONSE_MERGE1D_SLIT_NIR_WKF from calibFiles where PRO.CATG=="RESPONSE_MERGE1D_SLIT_NIR_WKF";
44374437
44384438
44394439 minRet = 0; maxRet = 1;
4440 select file as ATMOS_EXT_UVB from calibFiles where PRO.CATG=="ATMOS_EXT_UVB" and (inputFile.INSTRUME=="SHOOT" or inputFile.INSTRUME=="XSHOOTER") and MJD-OBS > 56351;
4440 select file as ATMOS_EXT_UVB from calibFiles where PRO.CATG=="ATMOS_EXT_UVB" and (inputFile.INSTRUME=="SHOOT" or inputFile.INSTRUME=="XSHOOTER");
44414441
44424442 minRet = 1; maxRet = 1;
44434443 select file as MASTER_BIAS_UVB_WKF from calibFiles where PRO.CATG=="MASTER_BIAS_UVB_WKF" and inputFile.DET.WIN1.BINX==DET.WIN1.BINX and inputFile.DET.WIN1.BINY==DET.WIN1.BINY and inputFile.DET.READ.CLOCK==DET.READ.CLOCK and inputFile.DET.CHIP1.ID==DET.CHIP1.ID;
44954495
44964496
44974497 minRet = 0; maxRet = 1;
4498 select file as ATMOS_EXT_VIS from calibFiles where PRO.CATG=="ATMOS_EXT_VIS" and (inputFile.INSTRUME=="SHOOT" or inputFile.INSTRUME=="XSHOOTER") and MJD-OBS > 56351;
4498 select file as ATMOS_EXT_VIS from calibFiles where PRO.CATG=="ATMOS_EXT_VIS" and (inputFile.INSTRUME=="SHOOT" or inputFile.INSTRUME=="XSHOOTER");
44994499
45004500 minRet = 1; maxRet = 1;
45014501 select file as MASTER_BIAS_VIS_WKF from calibFiles where PRO.CATG=="MASTER_BIAS_VIS_WKF" and inputFile.DET.WIN1.BINX==DET.WIN1.BINX and inputFile.DET.WIN1.BINY==DET.WIN1.BINY and inputFile.DET.READ.CLOCK==DET.READ.CLOCK and inputFile.DET.CHIP1.ID==DET.CHIP1.ID;
45544554
45554555
45564556 minRet = 0; maxRet = 1;
4557 select file as ATMOS_EXT_NIR from calibFiles where PRO.CATG=="ATMOS_EXT_NIR" and (inputFile.INSTRUME=="SHOOT" or inputFile.INSTRUME=="XSHOOTER") and MJD-OBS > 56351;
4557 select file as ATMOS_EXT_NIR from calibFiles where PRO.CATG=="ATMOS_EXT_NIR" and (inputFile.INSTRUME=="SHOOT" or inputFile.INSTRUME=="XSHOOTER");
45584558
45594559 minRet = 1; maxRet = 1;
45604560 select file as MASTER_DARK_NIR_WKF from calibFiles where PRO.CATG=="MASTER_DARK_NIR_WKF" and inputFile.DET.DIT==DET.DIT and inputFile.DET.CHIP.ID==DET.CHIP.ID;
46154615
46164616
46174617 minRet = 0; maxRet = 1;
4618 select file as ATMOS_EXT_NIR from calibFiles where PRO.CATG=="ATMOS_EXT_NIR" and (inputFile.INSTRUME=="SHOOT" or inputFile.INSTRUME=="XSHOOTER") and MJD-OBS > 56351;
4618 select file as ATMOS_EXT_NIR from calibFiles where PRO.CATG=="ATMOS_EXT_NIR" and (inputFile.INSTRUME=="SHOOT" or inputFile.INSTRUME=="XSHOOTER");
46194619
46204620 minRet = 1; maxRet = 1;
46214621 select file as MASTER_DARK_NIR_WKF from calibFiles where PRO.CATG=="MASTER_DARK_NIR_WKF" and inputFile.DET.DIT==DET.DIT and inputFile.DET.CHIP.ID==DET.CHIP.ID;
46794679
46804680
46814681 minRet = 0; maxRet = 1;
4682 select file as ATMOS_EXT_UVB from calibFiles where PRO.CATG=="ATMOS_EXT_UVB" and (inputFile.INSTRUME=="SHOOT" or inputFile.INSTRUME=="XSHOOTER") and MJD-OBS > 56351;
4682 select file as ATMOS_EXT_UVB from calibFiles where PRO.CATG=="ATMOS_EXT_UVB" and (inputFile.INSTRUME=="SHOOT" or inputFile.INSTRUME=="XSHOOTER");
46834683
46844684 minRet = 1; maxRet = 1;
46854685 select file as MASTER_BIAS_UVB_WKF from calibFiles where PRO.CATG=="MASTER_BIAS_UVB_WKF" and inputFile.DET.WIN1.BINX==DET.WIN1.BINX and inputFile.DET.WIN1.BINY==DET.WIN1.BINY and inputFile.DET.READ.CLOCK==DET.READ.CLOCK and inputFile.DET.CHIP1.ID==DET.CHIP1.ID;
47314731
47324732
47334733 minRet = 0; maxRet = 1;
4734 select file as ATMOS_EXT_VIS from calibFiles where PRO.CATG=="ATMOS_EXT_VIS" and (inputFile.INSTRUME=="SHOOT" or inputFile.INSTRUME=="XSHOOTER") and MJD-OBS > 56351;
4734 select file as ATMOS_EXT_VIS from calibFiles where PRO.CATG=="ATMOS_EXT_VIS" and (inputFile.INSTRUME=="SHOOT" or inputFile.INSTRUME=="XSHOOTER");
47354735
47364736 minRet = 1; maxRet = 1;
47374737 select file as MASTER_BIAS_VIS_WKF from calibFiles where PRO.CATG=="MASTER_BIAS_VIS_WKF" and inputFile.DET.WIN1.BINX==DET.WIN1.BINX and inputFile.DET.WIN1.BINY==DET.WIN1.BINY and inputFile.DET.READ.CLOCK==DET.READ.CLOCK and inputFile.DET.CHIP1.ID==DET.CHIP1.ID;
47834783
47844784
47854785 minRet = 0; maxRet = 1;
4786 select file as ATMOS_EXT_NIR from calibFiles where PRO.CATG=="ATMOS_EXT_NIR" and (inputFile.INSTRUME=="SHOOT" or inputFile.INSTRUME=="XSHOOTER") and MJD-OBS > 56351;
4786 select file as ATMOS_EXT_NIR from calibFiles where PRO.CATG=="ATMOS_EXT_NIR" and (inputFile.INSTRUME=="SHOOT" or inputFile.INSTRUME=="XSHOOTER");
47874787
47884788 minRet = 0; maxRet = 1;
47894789 select file as MASTER_DARK_NIR_WKF from calibFiles where PRO.CATG=="MASTER_DARK_NIR_WKF" and inputFile.DET.DIT==DET.DIT and inputFile.DET.CHIP.ID==DET.CHIP.ID;
48354835
48364836
48374837 minRet = 0; maxRet = 1;
4838 select file as ATMOS_EXT_NIR from calibFiles where PRO.CATG=="ATMOS_EXT_NIR" and (inputFile.INSTRUME=="SHOOT" or inputFile.INSTRUME=="XSHOOTER") and MJD-OBS > 56351;
4838 select file as ATMOS_EXT_NIR from calibFiles where PRO.CATG=="ATMOS_EXT_NIR" and (inputFile.INSTRUME=="SHOOT" or inputFile.INSTRUME=="XSHOOTER");
48394839
48404840 minRet = 0; maxRet = 1;
48414841 select file as MASTER_DARK_NIR_WKF from calibFiles where PRO.CATG=="MASTER_DARK_NIR_WKF" and inputFile.DET.DIT==DET.DIT and inputFile.DET.CHIP.ID==DET.CHIP.ID;
48844884
48854885
48864886 minRet = 0; maxRet = 1;
4887 select file as ATMOS_EXT_UVB from calibFiles where PRO.CATG=="ATMOS_EXT_UVB" and (inputFile.INSTRUME=="SHOOT" or inputFile.INSTRUME=="XSHOOTER") and MJD-OBS > 56351;
4887 select file as ATMOS_EXT_UVB from calibFiles where PRO.CATG=="ATMOS_EXT_UVB" and (inputFile.INSTRUME=="SHOOT" or inputFile.INSTRUME=="XSHOOTER");
48884888
48894889 minRet = 1; maxRet = 1;
48904890 select file as MASTER_BIAS_UVB_WKF from calibFiles where PRO.CATG=="MASTER_BIAS_UVB_WKF" and inputFile.DET.WIN1.BINX==DET.WIN1.BINX and inputFile.DET.WIN1.BINY==DET.WIN1.BINY and inputFile.DET.READ.CLOCK==DET.READ.CLOCK and inputFile.DET.CHIP1.ID==DET.CHIP1.ID;
49324932
49334933
49344934 minRet = 0; maxRet = 1;
4935 select file as ATMOS_EXT_VIS from calibFiles where PRO.CATG=="ATMOS_EXT_VIS" and (inputFile.INSTRUME=="SHOOT" or inputFile.INSTRUME=="XSHOOTER") and MJD-OBS > 56351;
4935 select file as ATMOS_EXT_VIS from calibFiles where PRO.CATG=="ATMOS_EXT_VIS" and (inputFile.INSTRUME=="SHOOT" or inputFile.INSTRUME=="XSHOOTER");
49364936
49374937 minRet = 1; maxRet = 1;
49384938 select file as MASTER_BIAS_VIS_WKF from calibFiles where PRO.CATG=="MASTER_BIAS_VIS_WKF" and inputFile.DET.WIN1.BINX==DET.WIN1.BINX and inputFile.DET.WIN1.BINY==DET.WIN1.BINY and inputFile.DET.READ.CLOCK==DET.READ.CLOCK and inputFile.DET.CHIP1.ID==DET.CHIP1.ID;
49804980
49814981
49824982 minRet = 0; maxRet = 1;
4983 select file as ATMOS_EXT_NIR from calibFiles where PRO.CATG=="ATMOS_EXT_NIR" and (inputFile.INSTRUME=="SHOOT" or inputFile.INSTRUME=="XSHOOTER") and MJD-OBS > 56351;
4983 select file as ATMOS_EXT_NIR from calibFiles where PRO.CATG=="ATMOS_EXT_NIR" and (inputFile.INSTRUME=="SHOOT" or inputFile.INSTRUME=="XSHOOTER");
49844984
49854985 minRet = 0; maxRet = 1;
49864986 select file as MASTER_DARK_NIR_WKF from calibFiles where PRO.CATG=="MASTER_DARK_NIR_WKF" and inputFile.DET.DIT==DET.DIT and inputFile.DET.CHIP.ID==DET.CHIP.ID;
50325032
50335033
50345034 minRet = 0; maxRet = 1;
5035 select file as ATMOS_EXT_NIR from calibFiles where PRO.CATG=="ATMOS_EXT_NIR" and (inputFile.INSTRUME=="SHOOT" or inputFile.INSTRUME=="XSHOOTER") and MJD-OBS > 56351;
5035 select file as ATMOS_EXT_NIR from calibFiles where PRO.CATG=="ATMOS_EXT_NIR" and (inputFile.INSTRUME=="SHOOT" or inputFile.INSTRUME=="XSHOOTER");
50365036
50375037 minRet = 0; maxRet = 1;
50385038 select file as MASTER_DARK_NIR_WKF from calibFiles where PRO.CATG=="MASTER_DARK_NIR_WKF" and inputFile.DET.DIT==DET.DIT and inputFile.DET.CHIP.ID==DET.CHIP.ID;
14591459 </property>
14601460 <property name="italic" class="ptolemy.data.expr.Parameter" value="false">
14611461 </property>
1462 <property name="text" class="ptolemy.kernel.util.StringAttribute" value="&#10;To run this workflow on the demo data:&#10; - Turn on highlighting. Choose &quot;Tools&quot;-&gt; &quot;Animate at Runtime&quot;&#10; from top menu and set it to &quot;1&quot;.&#10; - Press the &quot;Run&quot; button OR cntrl-R to start the workflow.&#10;&#10;To run on a different data set:&#10; - Click on ROOT_DATA_DIR and set as appropriate.&#10; All subdirectories of RAW_DATA_DIR will be searched for data.&#10; - If desired, change END_PRODUCTS_DIR.&#10; IMPORTANT: END_PRODUCTS_DIR should not be a subdirectory&#10; of the RAW_DATA_DIR, otherwise it will be searched for raw&#10; data!&#10; - Press the &quot;Run&quot; button OR cntrl-R to start the workflow.&#10;&#10;To monitor the progress of the workflow in more detail:&#10; - Open &quot;Window&quot; -&gt; &quot;Runtime Window&quot; in top menu before&#10; starting the workflow.&#10;&#10;The general concepts of Reflex are described in&#10;Astron. Astrophys., 559, A96. Please credit this paper in&#10;publications on research that used Reflex.&#10;&#10;The X-shooter workflow tutorial and demo data and the pipeline user manual can be found here:&#10;http://www.eso.org/sci/software/pipelines/#reflex_workflows">
1462 <property name="text" class="ptolemy.kernel.util.StringAttribute" value="&#10;To run this workflow on the demo data:&#10; - Turn on highlighting. Choose &quot;Tools&quot;-&gt; &quot;Animate at Runtime&quot;&#10; from top menu and set it to &quot;1&quot;.&#10; - Press the &quot;Run&quot; button OR cntrl-R to start the workflow.&#10;&#10;To run on a different data set:&#10; - Click on ROOT_DATA_DIR and set as appropriate.&#10; All subdirectories of RAW_DATA_DIR will be searched for data.&#10; - If desired, change END_PRODUCTS_DIR.&#10; IMPORTANT: END_PRODUCTS_DIR should not be a subdirectory&#10; of the RAW_DATA_DIR, otherwise it will be searched for raw&#10; data!&#10; - Press the &quot;Run&quot; button OR cntrl-R to start the workflow.&#10;&#10;To monitor the progress of the workflow in more detail:&#10; - Open &quot;Window&quot; -&gt; &quot;Runtime Window&quot; in top menu before&#10; starting the workflow.&#10;&#10;The general concepts of Reflex are described in&#10;Astron. Astrophys., 559, A96. Please credit this paper in&#10;publications on research that used Reflex.&#10;&#10;The X-shooter workflow tutorial and demo data and the pipeline user manual can be found here:&#10;http://www.eso.org/sci/software/pipelines/index.html#pipelines_table">
14631463 <property name="_style" class="ptolemy.actor.gui.style.TextStyle">
14641464 <property name="height" class="ptolemy.data.expr.Parameter" value="20">
14651465 </property>
0 # Makefile.in generated by automake 1.15 from Makefile.am.
0 # Makefile.in generated by automake 1.16.1 from Makefile.am.
11 # @configure_input@
22
3 # Copyright (C) 1994-2014 Free Software Foundation, Inc.
3 # Copyright (C) 1994-2018 Free Software Foundation, Inc.
44
55 # This Makefile.in is free software; the Free Software Foundation
66 # gives unlimited permission to copy and/or distribute it,
139139 $(RECURSIVE_CLEAN_TARGETS) \
140140 $(am__extra_recursive_targets)
141141 AM_RECURSIVE_TARGETS = $(am__recursive_targets:-recursive=) TAGS CTAGS \
142 distdir
142 distdir distdir-am
143143 am__tagged_files = $(HEADERS) $(SOURCES) $(TAGS_FILES) $(LISP)
144144 # Read a list of newline-separated strings from the standard input,
145145 # and print each of them once, without duplicates. Input order is
382382 *config.status*) \
383383 cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \
384384 *) \
385 echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \
386 cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \
385 echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__maybe_remake_depfiles)'; \
386 cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__maybe_remake_depfiles);; \
387387 esac;
388388
389389 $(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
500500 distclean-tags:
501501 -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
502502
503 distdir: $(DISTFILES)
503 distdir: $(BUILT_SOURCES)
504 $(MAKE) $(AM_MAKEFLAGS) distdir-am
505
506 distdir-am: $(DISTFILES)
504507 @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
505508 topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
506509 list='$(DISTFILES)'; \
0 # Makefile.in generated by automake 1.15 from Makefile.am.
0 # Makefile.in generated by automake 1.16.1 from Makefile.am.
11 # @configure_input@
22
3 # Copyright (C) 1994-2014 Free Software Foundation, Inc.
3 # Copyright (C) 1994-2018 Free Software Foundation, Inc.
44
55 # This Makefile.in is free software; the Free Software Foundation
66 # gives unlimited permission to copy and/or distribute it,
321321 *config.status*) \
322322 cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \
323323 *) \
324 echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \
325 cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \
324 echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__maybe_remake_depfiles)'; \
325 cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__maybe_remake_depfiles);; \
326326 esac;
327327
328328 $(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
346346 cscope cscopelist:
347347
348348
349 distdir: $(DISTFILES)
349 distdir: $(BUILT_SOURCES)
350 $(MAKE) $(AM_MAKEFLAGS) distdir-am
351
352 distdir-am: $(DISTFILES)
350353 @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
351354 topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
352355 list='$(DISTFILES)'; \
232232
233233 libxsh_la_LDFLAGS = $(GSL_LDFLAGS) $(CPL_LDFLAGS) $(HDRL_LDFLAGS) -version-info $(LT_CURRENT):$(LT_REVISION):$(LT_AGE)
234234 libxsh_la_LIBADD = $(LIBCFITSIO) $(LIBIRPLIB) $(LIBCPLDFS) $(LIBCPLUI) $(LIBCPLDRS) $(LIBCPLCORE) $(HDRL_LIBS) $(GSL_LIBS)
235 libxsh_la_DEPENDENCIES = $(LIBIRPLIB)
235 libxsh_la_DEPENDENCIES = $(LIBIRPLIB) $(LIBHDRL)
0 # Makefile.in generated by automake 1.15 from Makefile.am.
0 # Makefile.in generated by automake 1.16.1 from Makefile.am.
11 # @configure_input@
22
3 # Copyright (C) 1994-2014 Free Software Foundation, Inc.
3 # Copyright (C) 1994-2018 Free Software Foundation, Inc.
44
55 # This Makefile.in is free software; the Free Software Foundation
66 # gives unlimited permission to copy and/or distribute it,
200200 am__v_at_1 =
201201 DEFAULT_INCLUDES = -I.@am__isrc@ -I$(top_builddir)
202202 depcomp = $(SHELL) $(top_srcdir)/admin/depcomp
203 am__depfiles_maybe = depfiles
203 am__maybe_remake_depfiles = depfiles
204 am__depfiles_remade = ./$(DEPDIR)/irplib_error.Plo \
205 ./$(DEPDIR)/xsh_badpixelmap.Plo ./$(DEPDIR)/xsh_baryvel.Plo \
206 ./$(DEPDIR)/xsh_blaze.Plo ./$(DEPDIR)/xsh_calibrate_flux.Plo \
207 ./$(DEPDIR)/xsh_combine_nod.Plo \
208 ./$(DEPDIR)/xsh_compute_absorp.Plo \
209 ./$(DEPDIR)/xsh_compute_linearity.Plo \
210 ./$(DEPDIR)/xsh_compute_noise_map.Plo \
211 ./$(DEPDIR)/xsh_compute_response.Plo \
212 ./$(DEPDIR)/xsh_compute_slice_dist.Plo \
213 ./$(DEPDIR)/xsh_create_master.Plo \
214 ./$(DEPDIR)/xsh_create_order_table.Plo \
215 ./$(DEPDIR)/xsh_create_wavemap.Plo \
216 ./$(DEPDIR)/xsh_data_arclist.Plo \
217 ./$(DEPDIR)/xsh_data_atmos_ext.Plo \
218 ./$(DEPDIR)/xsh_data_check.Plo \
219 ./$(DEPDIR)/xsh_data_dispersol.Plo \
220 ./$(DEPDIR)/xsh_data_grid.Plo \
221 ./$(DEPDIR)/xsh_data_image_3d.Plo \
222 ./$(DEPDIR)/xsh_data_instrument.Plo \
223 ./$(DEPDIR)/xsh_data_linetilt.Plo \
224 ./$(DEPDIR)/xsh_data_localization.Plo \
225 ./$(DEPDIR)/xsh_data_order.Plo \
226 ./$(DEPDIR)/xsh_data_order_resid_tab.Plo \
227 ./$(DEPDIR)/xsh_data_pre.Plo ./$(DEPDIR)/xsh_data_pre_3d.Plo \
228 ./$(DEPDIR)/xsh_data_rec.Plo \
229 ./$(DEPDIR)/xsh_data_resid_tab.Plo \
230 ./$(DEPDIR)/xsh_data_shift_tab.Plo \
231 ./$(DEPDIR)/xsh_data_slice_offset.Plo \
232 ./$(DEPDIR)/xsh_data_spectralformat.Plo \
233 ./$(DEPDIR)/xsh_data_spectrum.Plo \
234 ./$(DEPDIR)/xsh_data_spectrum1D.Plo \
235 ./$(DEPDIR)/xsh_data_star_flux.Plo \
236 ./$(DEPDIR)/xsh_data_the_map.Plo \
237 ./$(DEPDIR)/xsh_data_wavemap.Plo \
238 ./$(DEPDIR)/xsh_data_wavesol.Plo \
239 ./$(DEPDIR)/xsh_detect_arclines.Plo \
240 ./$(DEPDIR)/xsh_detect_continuum.Plo \
241 ./$(DEPDIR)/xsh_detect_order.Plo ./$(DEPDIR)/xsh_detmon.Plo \
242 ./$(DEPDIR)/xsh_detmon_lg.Plo ./$(DEPDIR)/xsh_detmon_utils.Plo \
243 ./$(DEPDIR)/xsh_dfs.Plo ./$(DEPDIR)/xsh_divide.Plo \
244 ./$(DEPDIR)/xsh_drl_check.Plo ./$(DEPDIR)/xsh_dump.Plo \
245 ./$(DEPDIR)/xsh_efficiency_response.Plo \
246 ./$(DEPDIR)/xsh_eqwidth_lib.Plo ./$(DEPDIR)/xsh_extract.Plo \
247 ./$(DEPDIR)/xsh_fit.Plo ./$(DEPDIR)/xsh_flat_merge.Plo \
248 ./$(DEPDIR)/xsh_flexcor.Plo \
249 ./$(DEPDIR)/xsh_follow_arclines.Plo ./$(DEPDIR)/xsh_format.Plo \
250 ./$(DEPDIR)/xsh_hdrl_functions.Plo ./$(DEPDIR)/xsh_hist.Plo \
251 ./$(DEPDIR)/xsh_ifu.Plo ./$(DEPDIR)/xsh_irplib_mkmaster.Plo \
252 ./$(DEPDIR)/xsh_ksigma_clip.Plo \
253 ./$(DEPDIR)/xsh_localize_obj.Plo ./$(DEPDIR)/xsh_merge_ord.Plo \
254 ./$(DEPDIR)/xsh_model_anneal.Plo \
255 ./$(DEPDIR)/xsh_model_cputime.Plo ./$(DEPDIR)/xsh_model_io.Plo \
256 ./$(DEPDIR)/xsh_model_kernel.Plo \
257 ./$(DEPDIR)/xsh_model_metric.Plo \
258 ./$(DEPDIR)/xsh_model_r250.Plo \
259 ./$(DEPDIR)/xsh_model_randlcg.Plo ./$(DEPDIR)/xsh_model_sa.Plo \
260 ./$(DEPDIR)/xsh_model_utils.Plo ./$(DEPDIR)/xsh_msg.Plo \
261 ./$(DEPDIR)/xsh_multiply.Plo ./$(DEPDIR)/xsh_opt_extract.Plo \
262 ./$(DEPDIR)/xsh_paf_save.Plo ./$(DEPDIR)/xsh_parameters.Plo \
263 ./$(DEPDIR)/xsh_pfits.Plo ./$(DEPDIR)/xsh_pfits_qc.Plo \
264 ./$(DEPDIR)/xsh_prepare.Plo ./$(DEPDIR)/xsh_qc_handling.Plo \
265 ./$(DEPDIR)/xsh_rectify.Plo \
266 ./$(DEPDIR)/xsh_remove_crh_multi.Plo \
267 ./$(DEPDIR)/xsh_remove_crh_single.Plo \
268 ./$(DEPDIR)/xsh_spectrum.Plo ./$(DEPDIR)/xsh_star_index.Plo \
269 ./$(DEPDIR)/xsh_subtract.Plo \
270 ./$(DEPDIR)/xsh_subtract_sky_nod.Plo \
271 ./$(DEPDIR)/xsh_subtract_sky_offset.Plo \
272 ./$(DEPDIR)/xsh_subtract_sky_single.Plo \
273 ./$(DEPDIR)/xsh_time.Plo ./$(DEPDIR)/xsh_utils.Plo \
274 ./$(DEPDIR)/xsh_utils_efficiency.Plo \
275 ./$(DEPDIR)/xsh_utils_ifu.Plo ./$(DEPDIR)/xsh_utils_image.Plo \
276 ./$(DEPDIR)/xsh_utils_imagelist.Plo \
277 ./$(DEPDIR)/xsh_utils_polynomial.Plo \
278 ./$(DEPDIR)/xsh_utils_response.Plo \
279 ./$(DEPDIR)/xsh_utils_scired_slit.Plo \
280 ./$(DEPDIR)/xsh_utils_table.Plo \
281 ./$(DEPDIR)/xsh_utils_vector.Plo \
282 ./$(DEPDIR)/xsh_utils_wrappers.Plo
204283 am__mv = mv -f
205284 COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \
206285 $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
243322 $(RECURSIVE_CLEAN_TARGETS) \
244323 $(am__extra_recursive_targets)
245324 AM_RECURSIVE_TARGETS = $(am__recursive_targets:-recursive=) TAGS CTAGS \
246 distdir
325 distdir distdir-am
247326 am__tagged_files = $(HEADERS) $(SOURCES) $(TAGS_FILES) $(LISP)
248327 # Read a list of newline-separated strings from the standard input,
249328 # and print each of them once, without duplicates. Input order is
661740 # xsh_struct.c
662741 libxsh_la_LDFLAGS = $(GSL_LDFLAGS) $(CPL_LDFLAGS) $(HDRL_LDFLAGS) -version-info $(LT_CURRENT):$(LT_REVISION):$(LT_AGE)
663742 libxsh_la_LIBADD = $(LIBCFITSIO) $(LIBIRPLIB) $(LIBCPLDFS) $(LIBCPLUI) $(LIBCPLDRS) $(LIBCPLCORE) $(HDRL_LIBS) $(GSL_LIBS)
664 libxsh_la_DEPENDENCIES = $(LIBIRPLIB)
743 libxsh_la_DEPENDENCIES = $(LIBIRPLIB) $(LIBHDRL)
665744 all: all-recursive
666745
667746 .SUFFIXES:
683762 *config.status*) \
684763 cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \
685764 *) \
686 echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \
687 cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \
765 echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__maybe_remake_depfiles)'; \
766 cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__maybe_remake_depfiles);; \
688767 esac;
689768
690769 $(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
740819 distclean-compile:
741820 -rm -f *.tab.c
742821
743 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/irplib_error.Plo@am__quote@
744 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/xsh_badpixelmap.Plo@am__quote@
745 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/xsh_baryvel.Plo@am__quote@
746 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/xsh_blaze.Plo@am__quote@
747 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/xsh_calibrate_flux.Plo@am__quote@
748 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/xsh_combine_nod.Plo@am__quote@
749 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/xsh_compute_absorp.Plo@am__quote@
750 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/xsh_compute_linearity.Plo@am__quote@
751 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/xsh_compute_noise_map.Plo@am__quote@
752 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/xsh_compute_response.Plo@am__quote@
753 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/xsh_compute_slice_dist.Plo@am__quote@
754 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/xsh_create_master.Plo@am__quote@
755 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/xsh_create_order_table.Plo@am__quote@
756 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/xsh_create_wavemap.Plo@am__quote@
757 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/xsh_data_arclist.Plo@am__quote@
758 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/xsh_data_atmos_ext.Plo@am__quote@
759 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/xsh_data_check.Plo@am__quote@
760 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/xsh_data_dispersol.Plo@am__quote@
761 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/xsh_data_grid.Plo@am__quote@
762 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/xsh_data_image_3d.Plo@am__quote@
763 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/xsh_data_instrument.Plo@am__quote@
764 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/xsh_data_linetilt.Plo@am__quote@
765 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/xsh_data_localization.Plo@am__quote@
766 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/xsh_data_order.Plo@am__quote@
767 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/xsh_data_order_resid_tab.Plo@am__quote@
768 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/xsh_data_pre.Plo@am__quote@
769 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/xsh_data_pre_3d.Plo@am__quote@
770 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/xsh_data_rec.Plo@am__quote@
771 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/xsh_data_resid_tab.Plo@am__quote@
772 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/xsh_data_shift_tab.Plo@am__quote@
773 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/xsh_data_slice_offset.Plo@am__quote@
774 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/xsh_data_spectralformat.Plo@am__quote@
775 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/xsh_data_spectrum.Plo@am__quote@
776 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/xsh_data_spectrum1D.Plo@am__quote@
777 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/xsh_data_star_flux.Plo@am__quote@
778 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/xsh_data_the_map.Plo@am__quote@
779 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/xsh_data_wavemap.Plo@am__quote@
780 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/xsh_data_wavesol.Plo@am__quote@
781 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/xsh_detect_arclines.Plo@am__quote@
782 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/xsh_detect_continuum.Plo@am__quote@
783 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/xsh_detect_order.Plo@am__quote@
784 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/xsh_detmon.Plo@am__quote@
785 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/xsh_detmon_lg.Plo@am__quote@
786 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/xsh_detmon_utils.Plo@am__quote@
787 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/xsh_dfs.Plo@am__quote@
788 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/xsh_divide.Plo@am__quote@
789 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/xsh_drl_check.Plo@am__quote@
790 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/xsh_dump.Plo@am__quote@
791 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/xsh_efficiency_response.Plo@am__quote@
792 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/xsh_eqwidth_lib.Plo@am__quote@
793 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/xsh_extract.Plo@am__quote@
794 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/xsh_fit.Plo@am__quote@
795 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/xsh_flat_merge.Plo@am__quote@
796 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/xsh_flexcor.Plo@am__quote@
797 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/xsh_follow_arclines.Plo@am__quote@
798 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/xsh_format.Plo@am__quote@
799 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/xsh_hdrl_functions.Plo@am__quote@
800 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/xsh_hist.Plo@am__quote@
801 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/xsh_ifu.Plo@am__quote@
802 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/xsh_irplib_mkmaster.Plo@am__quote@
803 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/xsh_ksigma_clip.Plo@am__quote@
804 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/xsh_localize_obj.Plo@am__quote@
805 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/xsh_merge_ord.Plo@am__quote@
806 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/xsh_model_anneal.Plo@am__quote@
807 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/xsh_model_cputime.Plo@am__quote@
808 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/xsh_model_io.Plo@am__quote@
809 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/xsh_model_kernel.Plo@am__quote@
810 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/xsh_model_metric.Plo@am__quote@
811 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/xsh_model_r250.Plo@am__quote@
812 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/xsh_model_randlcg.Plo@am__quote@
813 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/xsh_model_sa.Plo@am__quote@
814 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/xsh_model_utils.Plo@am__quote@
815 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/xsh_msg.Plo@am__quote@
816 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/xsh_multiply.Plo@am__quote@
817 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/xsh_opt_extract.Plo@am__quote@
818 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/xsh_paf_save.Plo@am__quote@
819 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/xsh_parameters.Plo@am__quote@
820 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/xsh_pfits.Plo@am__quote@
821 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/xsh_pfits_qc.Plo@am__quote@
822 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/xsh_prepare.Plo@am__quote@
823 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/xsh_qc_handling.Plo@am__quote@
824 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/xsh_rectify.Plo@am__quote@
825 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/xsh_remove_crh_multi.Plo@am__quote@
826 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/xsh_remove_crh_single.Plo@am__quote@
827 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/xsh_spectrum.Plo@am__quote@
828 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/xsh_star_index.Plo@am__quote@
829 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/xsh_subtract.Plo@am__quote@
830 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/xsh_subtract_sky_nod.Plo@am__quote@
831 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/xsh_subtract_sky_offset.Plo@am__quote@
832 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/xsh_subtract_sky_single.Plo@am__quote@
833 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/xsh_time.Plo@am__quote@
834 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/xsh_utils.Plo@am__quote@
835 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/xsh_utils_efficiency.Plo@am__quote@
836 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/xsh_utils_ifu.Plo@am__quote@
837 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/xsh_utils_image.Plo@am__quote@
838 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/xsh_utils_imagelist.Plo@am__quote@
839 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/xsh_utils_polynomial.Plo@am__quote@
840 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/xsh_utils_response.Plo@am__quote@
841 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/xsh_utils_scired_slit.Plo@am__quote@
842 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/xsh_utils_table.Plo@am__quote@
843 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/xsh_utils_vector.Plo@am__quote@
844 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/xsh_utils_wrappers.Plo@am__quote@
822 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/irplib_error.Plo@am__quote@ # am--include-marker
823 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/xsh_badpixelmap.Plo@am__quote@ # am--include-marker
824 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/xsh_baryvel.Plo@am__quote@ # am--include-marker
825 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/xsh_blaze.Plo@am__quote@ # am--include-marker
826 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/xsh_calibrate_flux.Plo@am__quote@ # am--include-marker
827 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/xsh_combine_nod.Plo@am__quote@ # am--include-marker
828 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/xsh_compute_absorp.Plo@am__quote@ # am--include-marker
829 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/xsh_compute_linearity.Plo@am__quote@ # am--include-marker
830 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/xsh_compute_noise_map.Plo@am__quote@ # am--include-marker
831 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/xsh_compute_response.Plo@am__quote@ # am--include-marker
832 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/xsh_compute_slice_dist.Plo@am__quote@ # am--include-marker
833 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/xsh_create_master.Plo@am__quote@ # am--include-marker
834 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/xsh_create_order_table.Plo@am__quote@ # am--include-marker
835 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/xsh_create_wavemap.Plo@am__quote@ # am--include-marker
836 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/xsh_data_arclist.Plo@am__quote@ # am--include-marker
837 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/xsh_data_atmos_ext.Plo@am__quote@ # am--include-marker
838 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/xsh_data_check.Plo@am__quote@ # am--include-marker
839 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/xsh_data_dispersol.Plo@am__quote@ # am--include-marker
840 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/xsh_data_grid.Plo@am__quote@ # am--include-marker
841 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/xsh_data_image_3d.Plo@am__quote@ # am--include-marker
842 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/xsh_data_instrument.Plo@am__quote@ # am--include-marker
843 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/xsh_data_linetilt.Plo@am__quote@ # am--include-marker
844 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/xsh_data_localization.Plo@am__quote@ # am--include-marker
845 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/xsh_data_order.Plo@am__quote@ # am--include-marker
846 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/xsh_data_order_resid_tab.Plo@am__quote@ # am--include-marker
847 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/xsh_data_pre.Plo@am__quote@ # am--include-marker
848 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/xsh_data_pre_3d.Plo@am__quote@ # am--include-marker
849 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/xsh_data_rec.Plo@am__quote@ # am--include-marker
850 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/xsh_data_resid_tab.Plo@am__quote@ # am--include-marker
851 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/xsh_data_shift_tab.Plo@am__quote@ # am--include-marker
852 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/xsh_data_slice_offset.Plo@am__quote@ # am--include-marker
853 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/xsh_data_spectralformat.Plo@am__quote@ # am--include-marker
854 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/xsh_data_spectrum.Plo@am__quote@ # am--include-marker
855 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/xsh_data_spectrum1D.Plo@am__quote@ # am--include-marker
856 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/xsh_data_star_flux.Plo@am__quote@ # am--include-marker
857 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/xsh_data_the_map.Plo@am__quote@ # am--include-marker
858 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/xsh_data_wavemap.Plo@am__quote@ # am--include-marker
859 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/xsh_data_wavesol.Plo@am__quote@ # am--include-marker
860 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/xsh_detect_arclines.Plo@am__quote@ # am--include-marker
861 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/xsh_detect_continuum.Plo@am__quote@ # am--include-marker
862 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/xsh_detect_order.Plo@am__quote@ # am--include-marker
863 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/xsh_detmon.Plo@am__quote@ # am--include-marker
864 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/xsh_detmon_lg.Plo@am__quote@ # am--include-marker
865 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/xsh_detmon_utils.Plo@am__quote@ # am--include-marker
866 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/xsh_dfs.Plo@am__quote@ # am--include-marker
867 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/xsh_divide.Plo@am__quote@ # am--include-marker
868 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/xsh_drl_check.Plo@am__quote@ # am--include-marker
869 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/xsh_dump.Plo@am__quote@ # am--include-marker
870 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/xsh_efficiency_response.Plo@am__quote@ # am--include-marker
871 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/xsh_eqwidth_lib.Plo@am__quote@ # am--include-marker
872 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/xsh_extract.Plo@am__quote@ # am--include-marker
873 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/xsh_fit.Plo@am__quote@ # am--include-marker
874 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/xsh_flat_merge.Plo@am__quote@ # am--include-marker
875 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/xsh_flexcor.Plo@am__quote@ # am--include-marker
876 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/xsh_follow_arclines.Plo@am__quote@ # am--include-marker
877 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/xsh_format.Plo@am__quote@ # am--include-marker
878 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/xsh_hdrl_functions.Plo@am__quote@ # am--include-marker
879 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/xsh_hist.Plo@am__quote@ # am--include-marker
880 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/xsh_ifu.Plo@am__quote@ # am--include-marker
881 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/xsh_irplib_mkmaster.Plo@am__quote@ # am--include-marker
882 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/xsh_ksigma_clip.Plo@am__quote@ # am--include-marker
883 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/xsh_localize_obj.Plo@am__quote@ # am--include-marker
884 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/xsh_merge_ord.Plo@am__quote@ # am--include-marker
885 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/xsh_model_anneal.Plo@am__quote@ # am--include-marker
886 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/xsh_model_cputime.Plo@am__quote@ # am--include-marker
887 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/xsh_model_io.Plo@am__quote@ # am--include-marker
888 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/xsh_model_kernel.Plo@am__quote@ # am--include-marker
889 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/xsh_model_metric.Plo@am__quote@ # am--include-marker
890 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/xsh_model_r250.Plo@am__quote@ # am--include-marker
891 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/xsh_model_randlcg.Plo@am__quote@ # am--include-marker
892 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/xsh_model_sa.Plo@am__quote@ # am--include-marker
893 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/xsh_model_utils.Plo@am__quote@ # am--include-marker
894 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/xsh_msg.Plo@am__quote@ # am--include-marker
895 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/xsh_multiply.Plo@am__quote@ # am--include-marker
896 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/xsh_opt_extract.Plo@am__quote@ # am--include-marker
897 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/xsh_paf_save.Plo@am__quote@ # am--include-marker
898 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/xsh_parameters.Plo@am__quote@ # am--include-marker
899 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/xsh_pfits.Plo@am__quote@ # am--include-marker
900 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/xsh_pfits_qc.Plo@am__quote@ # am--include-marker
901 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/xsh_prepare.Plo@am__quote@ # am--include-marker
902 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/xsh_qc_handling.Plo@am__quote@ # am--include-marker
903 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/xsh_rectify.Plo@am__quote@ # am--include-marker
904 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/xsh_remove_crh_multi.Plo@am__quote@ # am--include-marker
905 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/xsh_remove_crh_single.Plo@am__quote@ # am--include-marker
906 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/xsh_spectrum.Plo@am__quote@ # am--include-marker
907 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/xsh_star_index.Plo@am__quote@ # am--include-marker
908 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/xsh_subtract.Plo@am__quote@ # am--include-marker
909 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/xsh_subtract_sky_nod.Plo@am__quote@ # am--include-marker
910 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/xsh_subtract_sky_offset.Plo@am__quote@ # am--include-marker
911 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/xsh_subtract_sky_single.Plo@am__quote@ # am--include-marker
912 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/xsh_time.Plo@am__quote@ # am--include-marker
913 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/xsh_utils.Plo@am__quote@ # am--include-marker
914 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/xsh_utils_efficiency.Plo@am__quote@ # am--include-marker
915 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/xsh_utils_ifu.Plo@am__quote@ # am--include-marker
916 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/xsh_utils_image.Plo@am__quote@ # am--include-marker
917 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/xsh_utils_imagelist.Plo@am__quote@ # am--include-marker
918 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/xsh_utils_polynomial.Plo@am__quote@ # am--include-marker
919 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/xsh_utils_response.Plo@am__quote@ # am--include-marker
920 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/xsh_utils_scired_slit.Plo@am__quote@ # am--include-marker
921 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/xsh_utils_table.Plo@am__quote@ # am--include-marker
922 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/xsh_utils_vector.Plo@am__quote@ # am--include-marker
923 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/xsh_utils_wrappers.Plo@am__quote@ # am--include-marker
924
925 $(am__depfiles_remade):
926 @$(MKDIR_P) $(@D)
927 @echo '# dummy' >$@-t && $(am__mv) $@-t $@
928
929 am--depfiles: $(am__depfiles_remade)
845930
846931 .c.o:
847932 @am__fastdepCC_TRUE@ $(AM_V_CC)$(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $<
9901075 distclean-tags:
9911076 -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
9921077
993 distdir: $(DISTFILES)
1078 distdir: $(BUILT_SOURCES)
1079 $(MAKE) $(AM_MAKEFLAGS) distdir-am
1080
1081 distdir-am: $(DISTFILES)
9941082 @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
9951083 topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
9961084 list='$(DISTFILES)'; \
10911179 mostlyclean-am
10921180
10931181 distclean: distclean-recursive
1094 -rm -rf ./$(DEPDIR)
1182 -rm -f ./$(DEPDIR)/irplib_error.Plo
1183 -rm -f ./$(DEPDIR)/xsh_badpixelmap.Plo
1184 -rm -f ./$(DEPDIR)/xsh_baryvel.Plo
1185 -rm -f ./$(DEPDIR)/xsh_blaze.Plo
1186 -rm -f ./$(DEPDIR)/xsh_calibrate_flux.Plo
1187 -rm -f ./$(DEPDIR)/xsh_combine_nod.Plo
1188 -rm -f ./$(DEPDIR)/xsh_compute_absorp.Plo
1189 -rm -f ./$(DEPDIR)/xsh_compute_linearity.Plo
1190 -rm -f ./$(DEPDIR)/xsh_compute_noise_map.Plo
1191 -rm -f ./$(DEPDIR)/xsh_compute_response.Plo
1192 -rm -f ./$(DEPDIR)/xsh_compute_slice_dist.Plo
1193 -rm -f ./$(DEPDIR)/xsh_create_master.Plo
1194 -rm -f ./$(DEPDIR)/xsh_create_order_table.Plo
1195 -rm -f ./$(DEPDIR)/xsh_create_wavemap.Plo
1196 -rm -f ./$(DEPDIR)/xsh_data_arclist.Plo
1197 -rm -f ./$(DEPDIR)/xsh_data_atmos_ext.Plo
1198 -rm -f ./$(DEPDIR)/xsh_data_check.Plo
1199 -rm -f ./$(DEPDIR)/xsh_data_dispersol.Plo
1200 -rm -f ./$(DEPDIR)/xsh_data_grid.Plo
1201 -rm -f ./$(DEPDIR)/xsh_data_image_3d.Plo
1202 -rm -f ./$(DEPDIR)/xsh_data_instrument.Plo
1203 -rm -f ./$(DEPDIR)/xsh_data_linetilt.Plo
1204 -rm -f ./$(DEPDIR)/xsh_data_localization.Plo
1205 -rm -f ./$(DEPDIR)/xsh_data_order.Plo
1206 -rm -f ./$(DEPDIR)/xsh_data_order_resid_tab.Plo
1207 -rm -f ./$(DEPDIR)/xsh_data_pre.Plo
1208 -rm -f ./$(DEPDIR)/xsh_data_pre_3d.Plo
1209 -rm -f ./$(DEPDIR)/xsh_data_rec.Plo
1210 -rm -f ./$(DEPDIR)/xsh_data_resid_tab.Plo
1211 -rm -f ./$(DEPDIR)/xsh_data_shift_tab.Plo
1212 -rm -f ./$(DEPDIR)/xsh_data_slice_offset.Plo
1213 -rm -f ./$(DEPDIR)/xsh_data_spectralformat.Plo
1214 -rm -f ./$(DEPDIR)/xsh_data_spectrum.Plo
1215 -rm -f ./$(DEPDIR)/xsh_data_spectrum1D.Plo
1216 -rm -f ./$(DEPDIR)/xsh_data_star_flux.Plo
1217 -rm -f ./$(DEPDIR)/xsh_data_the_map.Plo
1218 -rm -f ./$(DEPDIR)/xsh_data_wavemap.Plo
1219 -rm -f ./$(DEPDIR)/xsh_data_wavesol.Plo
1220 -rm -f ./$(DEPDIR)/xsh_detect_arclines.Plo
1221 -rm -f ./$(DEPDIR)/xsh_detect_continuum.Plo
1222 -rm -f ./$(DEPDIR)/xsh_detect_order.Plo
1223 -rm -f ./$(DEPDIR)/xsh_detmon.Plo
1224 -rm -f ./$(DEPDIR)/xsh_detmon_lg.Plo
1225 -rm -f ./$(DEPDIR)/xsh_detmon_utils.Plo
1226 -rm -f ./$(DEPDIR)/xsh_dfs.Plo
1227 -rm -f ./$(DEPDIR)/xsh_divide.Plo
1228 -rm -f ./$(DEPDIR)/xsh_drl_check.Plo
1229 -rm -f ./$(DEPDIR)/xsh_dump.Plo
1230 -rm -f ./$(DEPDIR)/xsh_efficiency_response.Plo
1231 -rm -f ./$(DEPDIR)/xsh_eqwidth_lib.Plo
1232 -rm -f ./$(DEPDIR)/xsh_extract.Plo
1233 -rm -f ./$(DEPDIR)/xsh_fit.Plo
1234 -rm -f ./$(DEPDIR)/xsh_flat_merge.Plo
1235 -rm -f ./$(DEPDIR)/xsh_flexcor.Plo
1236 -rm -f ./$(DEPDIR)/xsh_follow_arclines.Plo
1237 -rm -f ./$(DEPDIR)/xsh_format.Plo
1238 -rm -f ./$(DEPDIR)/xsh_hdrl_functions.Plo
1239 -rm -f ./$(DEPDIR)/xsh_hist.Plo
1240 -rm -f ./$(DEPDIR)/xsh_ifu.Plo
1241 -rm -f ./$(DEPDIR)/xsh_irplib_mkmaster.Plo
1242 -rm -f ./$(DEPDIR)/xsh_ksigma_clip.Plo
1243 -rm -f ./$(DEPDIR)/xsh_localize_obj.Plo
1244 -rm -f ./$(DEPDIR)/xsh_merge_ord.Plo
1245 -rm -f ./$(DEPDIR)/xsh_model_anneal.Plo
1246 -rm -f ./$(DEPDIR)/xsh_model_cputime.Plo
1247 -rm -f ./$(DEPDIR)/xsh_model_io.Plo
1248 -rm -f ./$(DEPDIR)/xsh_model_kernel.Plo
1249 -rm -f ./$(DEPDIR)/xsh_model_metric.Plo
1250 -rm -f ./$(DEPDIR)/xsh_model_r250.Plo
1251 -rm -f ./$(DEPDIR)/xsh_model_randlcg.Plo
1252 -rm -f ./$(DEPDIR)/xsh_model_sa.Plo
1253 -rm -f ./$(DEPDIR)/xsh_model_utils.Plo
1254 -rm -f ./$(DEPDIR)/xsh_msg.Plo
1255 -rm -f ./$(DEPDIR)/xsh_multiply.Plo
1256 -rm -f ./$(DEPDIR)/xsh_opt_extract.Plo
1257 -rm -f ./$(DEPDIR)/xsh_paf_save.Plo
1258 -rm -f ./$(DEPDIR)/xsh_parameters.Plo
1259 -rm -f ./$(DEPDIR)/xsh_pfits.Plo
1260 -rm -f ./$(DEPDIR)/xsh_pfits_qc.Plo
1261 -rm -f ./$(DEPDIR)/xsh_prepare.Plo
1262 -rm -f ./$(DEPDIR)/xsh_qc_handling.Plo
1263 -rm -f ./$(DEPDIR)/xsh_rectify.Plo
1264 -rm -f ./$(DEPDIR)/xsh_remove_crh_multi.Plo
1265 -rm -f ./$(DEPDIR)/xsh_remove_crh_single.Plo
1266 -rm -f ./$(DEPDIR)/xsh_spectrum.Plo
1267 -rm -f ./$(DEPDIR)/xsh_star_index.Plo
1268 -rm -f ./$(DEPDIR)/xsh_subtract.Plo
1269 -rm -f ./$(DEPDIR)/xsh_subtract_sky_nod.Plo
1270 -rm -f ./$(DEPDIR)/xsh_subtract_sky_offset.Plo
1271 -rm -f ./$(DEPDIR)/xsh_subtract_sky_single.Plo
1272 -rm -f ./$(DEPDIR)/xsh_time.Plo
1273 -rm -f ./$(DEPDIR)/xsh_utils.Plo
1274 -rm -f ./$(DEPDIR)/xsh_utils_efficiency.Plo
1275 -rm -f ./$(DEPDIR)/xsh_utils_ifu.Plo
1276 -rm -f ./$(DEPDIR)/xsh_utils_image.Plo
1277 -rm -f ./$(DEPDIR)/xsh_utils_imagelist.Plo
1278 -rm -f ./$(DEPDIR)/xsh_utils_polynomial.Plo
1279 -rm -f ./$(DEPDIR)/xsh_utils_response.Plo
1280 -rm -f ./$(DEPDIR)/xsh_utils_scired_slit.Plo
1281 -rm -f ./$(DEPDIR)/xsh_utils_table.Plo
1282 -rm -f ./$(DEPDIR)/xsh_utils_vector.Plo
1283 -rm -f ./$(DEPDIR)/xsh_utils_wrappers.Plo
10951284 -rm -f Makefile
10961285 distclean-am: clean-am distclean-compile distclean-generic \
10971286 distclean-tags
11381327 installcheck-am:
11391328
11401329 maintainer-clean: maintainer-clean-recursive
1141 -rm -rf ./$(DEPDIR)
1330 -rm -f ./$(DEPDIR)/irplib_error.Plo
1331 -rm -f ./$(DEPDIR)/xsh_badpixelmap.Plo
1332 -rm -f ./$(DEPDIR)/xsh_baryvel.Plo
1333 -rm -f ./$(DEPDIR)/xsh_blaze.Plo
1334 -rm -f ./$(DEPDIR)/xsh_calibrate_flux.Plo
1335 -rm -f ./$(DEPDIR)/xsh_combine_nod.Plo
1336 -rm -f ./$(DEPDIR)/xsh_compute_absorp.Plo
1337 -rm -f ./$(DEPDIR)/xsh_compute_linearity.Plo
1338 -rm -f ./$(DEPDIR)/xsh_compute_noise_map.Plo
1339 -rm -f ./$(DEPDIR)/xsh_compute_response.Plo
1340 -rm -f ./$(DEPDIR)/xsh_compute_slice_dist.Plo
1341 -rm -f ./$(DEPDIR)/xsh_create_master.Plo
1342 -rm -f ./$(DEPDIR)/xsh_create_order_table.Plo
1343 -rm -f ./$(DEPDIR)/xsh_create_wavemap.Plo
1344 -rm -f ./$(DEPDIR)/xsh_data_arclist.Plo
1345 -rm -f ./$(DEPDIR)/xsh_data_atmos_ext.Plo
1346 -rm -f ./$(DEPDIR)/xsh_data_check.Plo
1347 -rm -f ./$(DEPDIR)/xsh_data_dispersol.Plo
1348 -rm -f ./$(DEPDIR)/xsh_data_grid.Plo
1349 -rm -f ./$(DEPDIR)/xsh_data_image_3d.Plo
1350 -rm -f ./$(DEPDIR)/xsh_data_instrument.Plo
1351 -rm -f ./$(DEPDIR)/xsh_data_linetilt.Plo
1352 -rm -f ./$(DEPDIR)/xsh_data_localization.Plo
1353 -rm -f ./$(DEPDIR)/xsh_data_order.Plo
1354 -rm -f ./$(DEPDIR)/xsh_data_order_resid_tab.Plo
1355 -rm -f ./$(DEPDIR)/xsh_data_pre.Plo
1356 -rm -f ./$(DEPDIR)/xsh_data_pre_3d.Plo
1357 -rm -f ./$(DEPDIR)/xsh_data_rec.Plo
1358 -rm -f ./$(DEPDIR)/xsh_data_resid_tab.Plo
1359 -rm -f ./$(DEPDIR)/xsh_data_shift_tab.Plo
1360 -rm -f ./$(DEPDIR)/xsh_data_slice_offset.Plo
1361 -rm -f ./$(DEPDIR)/xsh_data_spectralformat.Plo
1362 -rm -f ./$(DEPDIR)/xsh_data_spectrum.Plo
1363 -rm -f ./$(DEPDIR)/xsh_data_spectrum1D.Plo
1364 -rm -f ./$(DEPDIR)/xsh_data_star_flux.Plo
1365 -rm -f ./$(DEPDIR)/xsh_data_the_map.Plo
1366 -rm -f ./$(DEPDIR)/xsh_data_wavemap.Plo
1367 -rm -f ./$(DEPDIR)/xsh_data_wavesol.Plo
1368 -rm -f ./$(DEPDIR)/xsh_detect_arclines.Plo
1369 -rm -f ./$(DEPDIR)/xsh_detect_continuum.Plo
1370 -rm -f ./$(DEPDIR)/xsh_detect_order.Plo
1371 -rm -f ./$(DEPDIR)/xsh_detmon.Plo
1372 -rm -f ./$(DEPDIR)/xsh_detmon_lg.Plo
1373 -rm -f ./$(DEPDIR)/xsh_detmon_utils.Plo
1374 -rm -f ./$(DEPDIR)/xsh_dfs.Plo
1375 -rm -f ./$(DEPDIR)/xsh_divide.Plo
1376 -rm -f ./$(DEPDIR)/xsh_drl_check.Plo
1377 -rm -f ./$(DEPDIR)/xsh_dump.Plo
1378 -rm -f ./$(DEPDIR)/xsh_efficiency_response.Plo
1379 -rm -f ./$(DEPDIR)/xsh_eqwidth_lib.Plo
1380 -rm -f ./$(DEPDIR)/xsh_extract.Plo
1381 -rm -f ./$(DEPDIR)/xsh_fit.Plo
1382 -rm -f ./$(DEPDIR)/xsh_flat_merge.Plo
1383 -rm -f ./$(DEPDIR)/xsh_flexcor.Plo
1384 -rm -f ./$(DEPDIR)/xsh_follow_arclines.Plo
1385 -rm -f ./$(DEPDIR)/xsh_format.Plo
1386 -rm -f ./$(DEPDIR)/xsh_hdrl_functions.Plo
1387 -rm -f ./$(DEPDIR)/xsh_hist.Plo
1388 -rm -f ./$(DEPDIR)/xsh_ifu.Plo
1389 -rm -f ./$(DEPDIR)/xsh_irplib_mkmaster.Plo
1390 -rm -f ./$(DEPDIR)/xsh_ksigma_clip.Plo
1391 -rm -f ./$(DEPDIR)/xsh_localize_obj.Plo
1392 -rm -f ./$(DEPDIR)/xsh_merge_ord.Plo
1393 -rm -f ./$(DEPDIR)/xsh_model_anneal.Plo
1394 -rm -f ./$(DEPDIR)/xsh_model_cputime.Plo
1395 -rm -f ./$(DEPDIR)/xsh_model_io.Plo
1396 -rm -f ./$(DEPDIR)/xsh_model_kernel.Plo
1397 -rm -f ./$(DEPDIR)/xsh_model_metric.Plo
1398 -rm -f ./$(DEPDIR)/xsh_model_r250.Plo
1399 -rm -f ./$(DEPDIR)/xsh_model_randlcg.Plo
1400 -rm -f ./$(DEPDIR)/xsh_model_sa.Plo
1401 -rm -f ./$(DEPDIR)/xsh_model_utils.Plo
1402 -rm -f ./$(DEPDIR)/xsh_msg.Plo
1403 -rm -f ./$(DEPDIR)/xsh_multiply.Plo
1404 -rm -f ./$(DEPDIR)/xsh_opt_extract.Plo
1405 -rm -f ./$(DEPDIR)/xsh_paf_save.Plo
1406 -rm -f ./$(DEPDIR)/xsh_parameters.Plo
1407 -rm -f ./$(DEPDIR)/xsh_pfits.Plo
1408 -rm -f ./$(DEPDIR)/xsh_pfits_qc.Plo
1409 -rm -f ./$(DEPDIR)/xsh_prepare.Plo
1410 -rm -f ./$(DEPDIR)/xsh_qc_handling.Plo
1411 -rm -f ./$(DEPDIR)/xsh_rectify.Plo
1412 -rm -f ./$(DEPDIR)/xsh_remove_crh_multi.Plo
1413 -rm -f ./$(DEPDIR)/xsh_remove_crh_single.Plo
1414 -rm -f ./$(DEPDIR)/xsh_spectrum.Plo
1415 -rm -f ./$(DEPDIR)/xsh_star_index.Plo
1416 -rm -f ./$(DEPDIR)/xsh_subtract.Plo
1417 -rm -f ./$(DEPDIR)/xsh_subtract_sky_nod.Plo
1418 -rm -f ./$(DEPDIR)/xsh_subtract_sky_offset.Plo
1419 -rm -f ./$(DEPDIR)/xsh_subtract_sky_single.Plo
1420 -rm -f ./$(DEPDIR)/xsh_time.Plo
1421 -rm -f ./$(DEPDIR)/xsh_utils.Plo
1422 -rm -f ./$(DEPDIR)/xsh_utils_efficiency.Plo
1423 -rm -f ./$(DEPDIR)/xsh_utils_ifu.Plo
1424 -rm -f ./$(DEPDIR)/xsh_utils_image.Plo
1425 -rm -f ./$(DEPDIR)/xsh_utils_imagelist.Plo
1426 -rm -f ./$(DEPDIR)/xsh_utils_polynomial.Plo
1427 -rm -f ./$(DEPDIR)/xsh_utils_response.Plo
1428 -rm -f ./$(DEPDIR)/xsh_utils_scired_slit.Plo
1429 -rm -f ./$(DEPDIR)/xsh_utils_table.Plo
1430 -rm -f ./$(DEPDIR)/xsh_utils_vector.Plo
1431 -rm -f ./$(DEPDIR)/xsh_utils_wrappers.Plo
11421432 -rm -f Makefile
11431433 maintainer-clean-am: distclean-am maintainer-clean-generic
11441434
11601450
11611451 .MAKE: $(am__recursive_targets) install-am install-strip
11621452
1163 .PHONY: $(am__recursive_targets) CTAGS GTAGS TAGS all all-am check \
1164 check-am clean clean-generic clean-libtool \
1453 .PHONY: $(am__recursive_targets) CTAGS GTAGS TAGS all all-am \
1454 am--depfiles check check-am clean clean-generic clean-libtool \
11651455 clean-privatelibLTLIBRARIES cscopelist-am ctags ctags-am \
11661456 distclean distclean-compile distclean-generic \
11671457 distclean-libtool distclean-tags distdir dvi dvi-am html \
0 # Makefile.in generated by automake 1.15 from Makefile.am.
0 # Makefile.in generated by automake 1.16.1 from Makefile.am.
11 # @configure_input@
22
3 # Copyright (C) 1994-2014 Free Software Foundation, Inc.
3 # Copyright (C) 1994-2018 Free Software Foundation, Inc.
44
55 # This Makefile.in is free software; the Free Software Foundation
66 # gives unlimited permission to copy and/or distribute it,
635635 am__v_at_1 =
636636 DEFAULT_INCLUDES = -I.@am__isrc@ -I$(top_builddir)
637637 depcomp = $(SHELL) $(top_srcdir)/admin/depcomp
638 am__depfiles_maybe = depfiles
638 am__maybe_remake_depfiles = depfiles
639 am__depfiles_remade = ./$(DEPDIR)/test-combine_flux_with_scaling.Po \
640 ./$(DEPDIR)/test-convert_wave_map_to_order_map.Po \
641 ./$(DEPDIR)/test-cpl_image_fit_gaussian.Po \
642 ./$(DEPDIR)/test-cpl_image_threshold.Po \
643 ./$(DEPDIR)/test-product_xsh_master_bias.Po \
644 ./$(DEPDIR)/test-region_file.Po \
645 ./$(DEPDIR)/test-spectrum_stat.Po \
646 ./$(DEPDIR)/test-tell_catalog.Po \
647 ./$(DEPDIR)/test-telluric_sampling.Po \
648 ./$(DEPDIR)/test-xsh_atrous.Po ./$(DEPDIR)/test-xsh_bspline.Po \
649 ./$(DEPDIR)/test-xsh_bspline_interpol.Po \
650 ./$(DEPDIR)/test-xsh_build_cube.Po \
651 ./$(DEPDIR)/test-xsh_combine_nod.Po \
652 ./$(DEPDIR)/test-xsh_compute_absorp.Po \
653 ./$(DEPDIR)/test-xsh_compute_noise_map.Po \
654 ./$(DEPDIR)/test-xsh_compute_response.Po \
655 ./$(DEPDIR)/test-xsh_compute_shift_ifu.Po \
656 ./$(DEPDIR)/test-xsh_correct_vacuum_to_air.Po \
657 ./$(DEPDIR)/test-xsh_correl_gaussians.Po \
658 ./$(DEPDIR)/test-xsh_cpl_vector_correl_gaussians.Po \
659 ./$(DEPDIR)/test-xsh_create_map.Po \
660 ./$(DEPDIR)/test-xsh_create_master_bias.Po \
661 ./$(DEPDIR)/test-xsh_create_master_dark.Po \
662 ./$(DEPDIR)/test-xsh_create_spectralformat.Po \
663 ./$(DEPDIR)/test-xsh_cube_ext_save.Po \
664 ./$(DEPDIR)/test-xsh_data_atmos_ext.Po \
665 ./$(DEPDIR)/test-xsh_data_cube.Po \
666 ./$(DEPDIR)/test-xsh_data_dispersol.Po \
667 ./$(DEPDIR)/test-xsh_data_order.Po \
668 ./$(DEPDIR)/test-xsh_data_order_2D.Po \
669 ./$(DEPDIR)/test-xsh_data_pre.Po \
670 ./$(DEPDIR)/test-xsh_data_spectralformat.Po \
671 ./$(DEPDIR)/test-xsh_data_spectrum_merge_3d.Po \
672 ./$(DEPDIR)/test-xsh_data_spectrum_order_1D.Po \
673 ./$(DEPDIR)/test-xsh_data_star_flux.Po \
674 ./$(DEPDIR)/test-xsh_data_wave_tab_2d.Po \
675 ./$(DEPDIR)/test-xsh_data_wave_tab_2d_sample.Po \
676 ./$(DEPDIR)/test-xsh_data_wavemap.Po \
677 ./$(DEPDIR)/test-xsh_detect_arclines.Po \
678 ./$(DEPDIR)/test-xsh_detect_continuum.Po \
679 ./$(DEPDIR)/test-xsh_detect_line_file.Po \
680 ./$(DEPDIR)/test-xsh_detect_line_pos.Po \
681 ./$(DEPDIR)/test-xsh_detect_line_pos2.Po \
682 ./$(DEPDIR)/test-xsh_detect_order.Po \
683 ./$(DEPDIR)/test-xsh_dfs_sdp.Po \
684 ./$(DEPDIR)/test-xsh_divide_flat.Po \
685 ./$(DEPDIR)/test-xsh_extract.Po \
686 ./$(DEPDIR)/test-xsh_extract_clean.Po \
687 ./$(DEPDIR)/test-xsh_extract_clean_sym.Po \
688 ./$(DEPDIR)/test-xsh_fit.Po ./$(DEPDIR)/test-xsh_flat_merge.Po \
689 ./$(DEPDIR)/test-xsh_flux.Po \
690 ./$(DEPDIR)/test-xsh_flux_conservation.Po \
691 ./$(DEPDIR)/test-xsh_format.Po \
692 ./$(DEPDIR)/test-xsh_gaussian_fit.Po \
693 ./$(DEPDIR)/test-xsh_geom_ifu.Po ./$(DEPDIR)/test-xsh_guess.Po \
694 ./$(DEPDIR)/test-xsh_ifu_trace_object.Po \
695 ./$(DEPDIR)/test-xsh_ifu_trace_slices.Po \
696 ./$(DEPDIR)/test-xsh_lambda_err.Po \
697 ./$(DEPDIR)/test-xsh_localize_ifu.Po \
698 ./$(DEPDIR)/test-xsh_localize_obj.Po \
699 ./$(DEPDIR)/test-xsh_mark_tell.Po \
700 ./$(DEPDIR)/test-xsh_merge_ord.Po \
701 ./$(DEPDIR)/test-xsh_model.Po \
702 ./$(DEPDIR)/test-xsh_model_maps_create.Po \
703 ./$(DEPDIR)/test-xsh_opt_extract.Po \
704 ./$(DEPDIR)/test-xsh_paf_save.Po \
705 ./$(DEPDIR)/test-xsh_pix_convention.Po \
706 ./$(DEPDIR)/test-xsh_prepare.Po \
707 ./$(DEPDIR)/test-xsh_rectify.Po \
708 ./$(DEPDIR)/test-xsh_remove_crh_multiple.Po \
709 ./$(DEPDIR)/test-xsh_remove_crh_single.Po \
710 ./$(DEPDIR)/test-xsh_resid_tab.Po \
711 ./$(DEPDIR)/test-xsh_sky_lines_sampling.Po \
712 ./$(DEPDIR)/test-xsh_slitmap.Po \
713 ./$(DEPDIR)/test-xsh_spectrum_detect_lines.Po \
714 ./$(DEPDIR)/test-xsh_startup.Po \
715 ./$(DEPDIR)/test-xsh_subtract_background.Po \
716 ./$(DEPDIR)/test-xsh_subtract_bias.Po \
717 ./$(DEPDIR)/test-xsh_subtract_dark.Po \
718 ./$(DEPDIR)/test-xsh_subtract_sky_nod.Po \
719 ./$(DEPDIR)/test-xsh_subtract_sky_single.Po \
720 ./$(DEPDIR)/test-xsh_telluric_cor.Po \
721 ./$(DEPDIR)/test-xsh_the_map.Po \
722 ./$(DEPDIR)/test-xsh_tools_perf.Po \
723 ./$(DEPDIR)/test-xsh_wavecal_fwhm.Po \
724 ./$(DEPDIR)/test-xsh_xcorrel_gaussians.Po ./$(DEPDIR)/tests.Po
639725 am__mv = mv -f
640726 COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \
641727 $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
14651551 *config.status*) \
14661552 cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \
14671553 *) \
1468 echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \
1469 cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \
1554 echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__maybe_remake_depfiles)'; \
1555 cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__maybe_remake_depfiles);; \
14701556 esac;
14711557
14721558 $(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
18491935 distclean-compile:
18501936 -rm -f *.tab.c
18511937
1852 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/test-combine_flux_with_scaling.Po@am__quote@
1853 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/test-convert_wave_map_to_order_map.Po@am__quote@
1854 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/test-cpl_image_fit_gaussian.Po@am__quote@
1855 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/test-cpl_image_threshold.Po@am__quote@
1856 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/test-product_xsh_master_bias.Po@am__quote@
1857 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/test-region_file.Po@am__quote@
1858 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/test-spectrum_stat.Po@am__quote@
1859 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/test-tell_catalog.Po@am__quote@
1860 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/test-telluric_sampling.Po@am__quote@
1861 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/test-xsh_atrous.Po@am__quote@
1862 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/test-xsh_bspline.Po@am__quote@
1863 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/test-xsh_bspline_interpol.Po@am__quote@
1864 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/test-xsh_build_cube.Po@am__quote@
1865 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/test-xsh_combine_nod.Po@am__quote@
1866 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/test-xsh_compute_absorp.Po@am__quote@
1867 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/test-xsh_compute_noise_map.Po@am__quote@
1868 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/test-xsh_compute_response.Po@am__quote@
1869 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/test-xsh_compute_shift_ifu.Po@am__quote@
1870 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/test-xsh_correct_vacuum_to_air.Po@am__quote@
1871 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/test-xsh_correl_gaussians.Po@am__quote@
1872 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/test-xsh_cpl_vector_correl_gaussians.Po@am__quote@
1873 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/test-xsh_create_map.Po@am__quote@
1874 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/test-xsh_create_master_bias.Po@am__quote@
1875 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/test-xsh_create_master_dark.Po@am__quote@
1876 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/test-xsh_create_spectralformat.Po@am__quote@
1877 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/test-xsh_cube_ext_save.Po@am__quote@
1878 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/test-xsh_data_atmos_ext.Po@am__quote@
1879 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/test-xsh_data_cube.Po@am__quote@
1880 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/test-xsh_data_dispersol.Po@am__quote@
1881 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/test-xsh_data_order.Po@am__quote@
1882 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/test-xsh_data_order_2D.Po@am__quote@
1883 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/test-xsh_data_pre.Po@am__quote@
1884 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/test-xsh_data_spectralformat.Po@am__quote@
1885 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/test-xsh_data_spectrum_merge_3d.Po@am__quote@
1886 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/test-xsh_data_spectrum_order_1D.Po@am__quote@
1887 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/test-xsh_data_star_flux.Po@am__quote@
1888 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/test-xsh_data_wave_tab_2d.Po@am__quote@
1889 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/test-xsh_data_wave_tab_2d_sample.Po@am__quote@
1890 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/test-xsh_data_wavemap.Po@am__quote@
1891 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/test-xsh_detect_arclines.Po@am__quote@
1892 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/test-xsh_detect_continuum.Po@am__quote@
1893 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/test-xsh_detect_line_file.Po@am__quote@
1894 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/test-xsh_detect_line_pos.Po@am__quote@
1895 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/test-xsh_detect_line_pos2.Po@am__quote@
1896 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/test-xsh_detect_order.Po@am__quote@
1897 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/test-xsh_dfs_sdp.Po@am__quote@
1898 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/test-xsh_divide_flat.Po@am__quote@
1899 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/test-xsh_extract.Po@am__quote@
1900 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/test-xsh_extract_clean.Po@am__quote@
1901 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/test-xsh_extract_clean_sym.Po@am__quote@
1902 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/test-xsh_fit.Po@am__quote@
1903 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/test-xsh_flat_merge.Po@am__quote@
1904 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/test-xsh_flux.Po@am__quote@
1905 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/test-xsh_flux_conservation.Po@am__quote@
1906 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/test-xsh_format.Po@am__quote@
1907 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/test-xsh_gaussian_fit.Po@am__quote@
1908 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/test-xsh_geom_ifu.Po@am__quote@
1909 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/test-xsh_guess.Po@am__quote@
1910 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/test-xsh_ifu_trace_object.Po@am__quote@
1911 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/test-xsh_ifu_trace_slices.Po@am__quote@
1912 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/test-xsh_lambda_err.Po@am__quote@
1913 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/test-xsh_localize_ifu.Po@am__quote@
1914 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/test-xsh_localize_obj.Po@am__quote@
1915 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/test-xsh_mark_tell.Po@am__quote@
1916 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/test-xsh_merge_ord.Po@am__quote@
1917 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/test-xsh_model.Po@am__quote@
1918 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/test-xsh_model_maps_create.Po@am__quote@
1919 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/test-xsh_opt_extract.Po@am__quote@
1920 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/test-xsh_paf_save.Po@am__quote@
1921 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/test-xsh_pix_convention.Po@am__quote@
1922 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/test-xsh_prepare.Po@am__quote@
1923 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/test-xsh_rectify.Po@am__quote@
1924 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/test-xsh_remove_crh_multiple.Po@am__quote@
1925 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/test-xsh_remove_crh_single.Po@am__quote@
1926 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/test-xsh_resid_tab.Po@am__quote@
1927 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/test-xsh_sky_lines_sampling.Po@am__quote@
1928 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/test-xsh_slitmap.Po@am__quote@
1929 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/test-xsh_spectrum_detect_lines.Po@am__quote@
1930 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/test-xsh_startup.Po@am__quote@
1931 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/test-xsh_subtract_background.Po@am__quote@
1932 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/test-xsh_subtract_bias.Po@am__quote@
1933 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/test-xsh_subtract_dark.Po@am__quote@
1934 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/test-xsh_subtract_sky_nod.Po@am__quote@
1935 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/test-xsh_subtract_sky_single.Po@am__quote@
1936 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/test-xsh_telluric_cor.Po@am__quote@
1937 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/test-xsh_the_map.Po@am__quote@
1938 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/test-xsh_tools_perf.Po@am__quote@
1939 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/test-xsh_wavecal_fwhm.Po@am__quote@
1940 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/test-xsh_xcorrel_gaussians.Po@am__quote@
1941 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/tests.Po@am__quote@
1938 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/test-combine_flux_with_scaling.Po@am__quote@ # am--include-marker
1939 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/test-convert_wave_map_to_order_map.Po@am__quote@ # am--include-marker
1940 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/test-cpl_image_fit_gaussian.Po@am__quote@ # am--include-marker
1941 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/test-cpl_image_threshold.Po@am__quote@ # am--include-marker
1942 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/test-product_xsh_master_bias.Po@am__quote@ # am--include-marker
1943 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/test-region_file.Po@am__quote@ # am--include-marker
1944 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/test-spectrum_stat.Po@am__quote@ # am--include-marker
1945 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/test-tell_catalog.Po@am__quote@ # am--include-marker
1946 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/test-telluric_sampling.Po@am__quote@ # am--include-marker
1947 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/test-xsh_atrous.Po@am__quote@ # am--include-marker
1948 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/test-xsh_bspline.Po@am__quote@ # am--include-marker
1949 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/test-xsh_bspline_interpol.Po@am__quote@ # am--include-marker
1950 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/test-xsh_build_cube.Po@am__quote@ # am--include-marker
1951 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/test-xsh_combine_nod.Po@am__quote@ # am--include-marker
1952 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/test-xsh_compute_absorp.Po@am__quote@ # am--include-marker
1953 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/test-xsh_compute_noise_map.Po@am__quote@ # am--include-marker
1954 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/test-xsh_compute_response.Po@am__quote@ # am--include-marker
1955 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/test-xsh_compute_shift_ifu.Po@am__quote@ # am--include-marker
1956 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/test-xsh_correct_vacuum_to_air.Po@am__quote@ # am--include-marker
1957 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/test-xsh_correl_gaussians.Po@am__quote@ # am--include-marker
1958 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/test-xsh_cpl_vector_correl_gaussians.Po@am__quote@ # am--include-marker
1959 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/test-xsh_create_map.Po@am__quote@ # am--include-marker
1960 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/test-xsh_create_master_bias.Po@am__quote@ # am--include-marker
1961 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/test-xsh_create_master_dark.Po@am__quote@ # am--include-marker
1962 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/test-xsh_create_spectralformat.Po@am__quote@ # am--include-marker
1963 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/test-xsh_cube_ext_save.Po@am__quote@ # am--include-marker
1964 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/test-xsh_data_atmos_ext.Po@am__quote@ # am--include-marker
1965 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/test-xsh_data_cube.Po@am__quote@ # am--include-marker
1966 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/test-xsh_data_dispersol.Po@am__quote@ # am--include-marker
1967 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/test-xsh_data_order.Po@am__quote@ # am--include-marker
1968 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/test-xsh_data_order_2D.Po@am__quote@ # am--include-marker
1969 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/test-xsh_data_pre.Po@am__quote@ # am--include-marker
1970 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/test-xsh_data_spectralformat.Po@am__quote@ # am--include-marker
1971 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/test-xsh_data_spectrum_merge_3d.Po@am__quote@ # am--include-marker
1972 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/test-xsh_data_spectrum_order_1D.Po@am__quote@ # am--include-marker
1973 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/test-xsh_data_star_flux.Po@am__quote@ # am--include-marker
1974 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/test-xsh_data_wave_tab_2d.Po@am__quote@ # am--include-marker
1975 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/test-xsh_data_wave_tab_2d_sample.Po@am__quote@ # am--include-marker
1976 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/test-xsh_data_wavemap.Po@am__quote@ # am--include-marker
1977 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/test-xsh_detect_arclines.Po@am__quote@ # am--include-marker
1978 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/test-xsh_detect_continuum.Po@am__quote@ # am--include-marker
1979 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/test-xsh_detect_line_file.Po@am__quote@ # am--include-marker
1980 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/test-xsh_detect_line_pos.Po@am__quote@ # am--include-marker
1981 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/test-xsh_detect_line_pos2.Po@am__quote@ # am--include-marker
1982 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/test-xsh_detect_order.Po@am__quote@ # am--include-marker
1983 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/test-xsh_dfs_sdp.Po@am__quote@ # am--include-marker
1984 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/test-xsh_divide_flat.Po@am__quote@ # am--include-marker
1985 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/test-xsh_extract.Po@am__quote@ # am--include-marker
1986 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/test-xsh_extract_clean.Po@am__quote@ # am--include-marker
1987 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/test-xsh_extract_clean_sym.Po@am__quote@ # am--include-marker
1988 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/test-xsh_fit.Po@am__quote@ # am--include-marker
1989 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/test-xsh_flat_merge.Po@am__quote@ # am--include-marker
1990 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/test-xsh_flux.Po@am__quote@ # am--include-marker
1991 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/test-xsh_flux_conservation.Po@am__quote@ # am--include-marker
1992 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/test-xsh_format.Po@am__quote@ # am--include-marker
1993 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/test-xsh_gaussian_fit.Po@am__quote@ # am--include-marker
1994 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/test-xsh_geom_ifu.Po@am__quote@ # am--include-marker
1995 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/test-xsh_guess.Po@am__quote@ # am--include-marker
1996 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/test-xsh_ifu_trace_object.Po@am__quote@ # am--include-marker
1997 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/test-xsh_ifu_trace_slices.Po@am__quote@ # am--include-marker
1998 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/test-xsh_lambda_err.Po@am__quote@ # am--include-marker
1999 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/test-xsh_localize_ifu.Po@am__quote@ # am--include-marker
2000 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/test-xsh_localize_obj.Po@am__quote@ # am--include-marker
2001 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/test-xsh_mark_tell.Po@am__quote@ # am--include-marker
2002 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/test-xsh_merge_ord.Po@am__quote@ # am--include-marker
2003 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/test-xsh_model.Po@am__quote@ # am--include-marker
2004 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/test-xsh_model_maps_create.Po@am__quote@ # am--include-marker
2005 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/test-xsh_opt_extract.Po@am__quote@ # am--include-marker
2006 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/test-xsh_paf_save.Po@am__quote@ # am--include-marker
2007 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/test-xsh_pix_convention.Po@am__quote@ # am--include-marker
2008 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/test-xsh_prepare.Po@am__quote@ # am--include-marker
2009 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/test-xsh_rectify.Po@am__quote@ # am--include-marker
2010 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/test-xsh_remove_crh_multiple.Po@am__quote@ # am--include-marker
2011 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/test-xsh_remove_crh_single.Po@am__quote@ # am--include-marker
2012 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/test-xsh_resid_tab.Po@am__quote@ # am--include-marker
2013 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/test-xsh_sky_lines_sampling.Po@am__quote@ # am--include-marker
2014 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/test-xsh_slitmap.Po@am__quote@ # am--include-marker
2015 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/test-xsh_spectrum_detect_lines.Po@am__quote@ # am--include-marker
2016 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/test-xsh_startup.Po@am__quote@ # am--include-marker
2017 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/test-xsh_subtract_background.Po@am__quote@ # am--include-marker
2018 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/test-xsh_subtract_bias.Po@am__quote@ # am--include-marker
2019 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/test-xsh_subtract_dark.Po@am__quote@ # am--include-marker
2020 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/test-xsh_subtract_sky_nod.Po@am__quote@ # am--include-marker
2021 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/test-xsh_subtract_sky_single.Po@am__quote@ # am--include-marker
2022 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/test-xsh_telluric_cor.Po@am__quote@ # am--include-marker
2023 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/test-xsh_the_map.Po@am__quote@ # am--include-marker
2024 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/test-xsh_tools_perf.Po@am__quote@ # am--include-marker
2025 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/test-xsh_wavecal_fwhm.Po@am__quote@ # am--include-marker
2026 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/test-xsh_xcorrel_gaussians.Po@am__quote@ # am--include-marker
2027 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/tests.Po@am__quote@ # am--include-marker
2028
2029 $(am__depfiles_remade):
2030 @$(MKDIR_P) $(@D)
2031 @echo '# dummy' >$@-t && $(am__mv) $@-t $@
2032
2033 am--depfiles: $(am__depfiles_remade)
19422034
19432035 .c.o:
19442036 @am__fastdepCC_TRUE@ $(AM_V_CC)$(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $<
21602252 fi; \
21612253 $$success || exit 1
21622254
2163 check-TESTS:
2255 check-TESTS: $(check_PROGRAMS)
21642256 @list='$(RECHECK_LOGS)'; test -z "$$list" || rm -f $$list
21652257 @list='$(RECHECK_LOGS:.log=.trs)'; test -z "$$list" || rm -f $$list
21662258 @test -z "$(TEST_SUITE_LOG)" || rm -f $(TEST_SUITE_LOG)
27562848 @am__EXEEXT_TRUE@ $(am__common_driver_flags) $(AM_TEST_LOG_DRIVER_FLAGS) $(TEST_LOG_DRIVER_FLAGS) -- $(TEST_LOG_COMPILE) \
27572849 @am__EXEEXT_TRUE@ "$$tst" $(AM_TESTS_FD_REDIRECT)
27582850
2759 distdir: $(DISTFILES)
2851 distdir: $(BUILT_SOURCES)
2852 $(MAKE) $(AM_MAKEFLAGS) distdir-am
2853
2854 distdir-am: $(DISTFILES)
27602855 @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
27612856 topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
27622857 list='$(DISTFILES)'; \
28362931 mostlyclean-am
28372932
28382933 distclean: distclean-am
2839 -rm -rf ./$(DEPDIR)
2934 -rm -f ./$(DEPDIR)/test-combine_flux_with_scaling.Po
2935 -rm -f ./$(DEPDIR)/test-convert_wave_map_to_order_map.Po
2936 -rm -f ./$(DEPDIR)/test-cpl_image_fit_gaussian.Po
2937 -rm -f ./$(DEPDIR)/test-cpl_image_threshold.Po
2938 -rm -f ./$(DEPDIR)/test-product_xsh_master_bias.Po
2939 -rm -f ./$(DEPDIR)/test-region_file.Po
2940 -rm -f ./$(DEPDIR)/test-spectrum_stat.Po
2941 -rm -f ./$(DEPDIR)/test-tell_catalog.Po
2942 -rm -f ./$(DEPDIR)/test-telluric_sampling.Po
2943 -rm -f ./$(DEPDIR)/test-xsh_atrous.Po
2944 -rm -f ./$(DEPDIR)/test-xsh_bspline.Po
2945 -rm -f ./$(DEPDIR)/test-xsh_bspline_interpol.Po
2946 -rm -f ./$(DEPDIR)/test-xsh_build_cube.Po
2947 -rm -f ./$(DEPDIR)/test-xsh_combine_nod.Po
2948 -rm -f ./$(DEPDIR)/test-xsh_compute_absorp.Po
2949 -rm -f ./$(DEPDIR)/test-xsh_compute_noise_map.Po
2950 -rm -f ./$(DEPDIR)/test-xsh_compute_response.Po
2951 -rm -f ./$(DEPDIR)/test-xsh_compute_shift_ifu.Po
2952 -rm -f ./$(DEPDIR)/test-xsh_correct_vacuum_to_air.Po
2953 -rm -f ./$(DEPDIR)/test-xsh_correl_gaussians.Po
2954 -rm -f ./$(DEPDIR)/test-xsh_cpl_vector_correl_gaussians.Po
2955 -rm -f ./$(DEPDIR)/test-xsh_create_map.Po
2956 -rm -f ./$(DEPDIR)/test-xsh_create_master_bias.Po
2957 -rm -f ./$(DEPDIR)/test-xsh_create_master_dark.Po
2958 -rm -f ./$(DEPDIR)/test-xsh_create_spectralformat.Po
2959 -rm -f ./$(DEPDIR)/test-xsh_cube_ext_save.Po
2960 -rm -f ./$(DEPDIR)/test-xsh_data_atmos_ext.Po
2961 -rm -f ./$(DEPDIR)/test-xsh_data_cube.Po
2962 -rm -f ./$(DEPDIR)/test-xsh_data_dispersol.Po
2963 -rm -f ./$(DEPDIR)/test-xsh_data_order.Po
2964 -rm -f ./$(DEPDIR)/test-xsh_data_order_2D.Po
2965 -rm -f ./$(DEPDIR)/test-xsh_data_pre.Po
2966 -rm -f ./$(DEPDIR)/test-xsh_data_spectralformat.Po
2967 -rm -f ./$(DEPDIR)/test-xsh_data_spectrum_merge_3d.Po
2968 -rm -f ./$(DEPDIR)/test-xsh_data_spectrum_order_1D.Po
2969 -rm -f ./$(DEPDIR)/test-xsh_data_star_flux.Po
2970 -rm -f ./$(DEPDIR)/test-xsh_data_wave_tab_2d.Po
2971 -rm -f ./$(DEPDIR)/test-xsh_data_wave_tab_2d_sample.Po
2972 -rm -f ./$(DEPDIR)/test-xsh_data_wavemap.Po
2973 -rm -f ./$(DEPDIR)/test-xsh_detect_arclines.Po
2974 -rm -f ./$(DEPDIR)/test-xsh_detect_continuum.Po
2975 -rm -f ./$(DEPDIR)/test-xsh_detect_line_file.Po
2976 -rm -f ./$(DEPDIR)/test-xsh_detect_line_pos.Po
2977 -rm -f ./$(DEPDIR)/test-xsh_detect_line_pos2.Po
2978 -rm -f ./$(DEPDIR)/test-xsh_detect_order.Po
2979 -rm -f ./$(DEPDIR)/test-xsh_dfs_sdp.Po
2980 -rm -f ./$(DEPDIR)/test-xsh_divide_flat.Po
2981 -rm -f ./$(DEPDIR)/test-xsh_extract.Po
2982 -rm -f ./$(DEPDIR)/test-xsh_extract_clean.Po
2983 -rm -f ./$(DEPDIR)/test-xsh_extract_clean_sym.Po
2984 -rm -f ./$(DEPDIR)/test-xsh_fit.Po
2985 -rm -f ./$(DEPDIR)/test-xsh_flat_merge.Po
2986 -rm -f ./$(DEPDIR)/test-xsh_flux.Po
2987 -rm -f ./$(DEPDIR)/test-xsh_flux_conservation.Po
2988 -rm -f ./$(DEPDIR)/test-xsh_format.Po
2989 -rm -f ./$(DEPDIR)/test-xsh_gaussian_fit.Po
2990 -rm -f ./$(DEPDIR)/test-xsh_geom_ifu.Po
2991 -rm -f ./$(DEPDIR)/test-xsh_guess.Po
2992 -rm -f ./$(DEPDIR)/test-xsh_ifu_trace_object.Po
2993 -rm -f ./$(DEPDIR)/test-xsh_ifu_trace_slices.Po
2994 -rm -f ./$(DEPDIR)/test-xsh_lambda_err.Po
2995 -rm -f ./$(DEPDIR)/test-xsh_localize_ifu.Po
2996 -rm -f ./$(DEPDIR)/test-xsh_localize_obj.Po
2997 -rm -f ./$(DEPDIR)/test-xsh_mark_tell.Po
2998 -rm -f ./$(DEPDIR)/test-xsh_merge_ord.Po
2999 -rm -f ./$(DEPDIR)/test-xsh_model.Po
3000 -rm -f ./$(DEPDIR)/test-xsh_model_maps_create.Po
3001 -rm -f ./$(DEPDIR)/test-xsh_opt_extract.Po
3002 -rm -f ./$(DEPDIR)/test-xsh_paf_save.Po
3003 -rm -f ./$(DEPDIR)/test-xsh_pix_convention.Po
3004 -rm -f ./$(DEPDIR)/test-xsh_prepare.Po
3005 -rm -f ./$(DEPDIR)/test-xsh_rectify.Po
3006 -rm -f ./$(DEPDIR)/test-xsh_remove_crh_multiple.Po
3007 -rm -f ./$(DEPDIR)/test-xsh_remove_crh_single.Po
3008 -rm -f ./$(DEPDIR)/test-xsh_resid_tab.Po
3009 -rm -f ./$(DEPDIR)/test-xsh_sky_lines_sampling.Po
3010 -rm -f ./$(DEPDIR)/test-xsh_slitmap.Po
3011 -rm -f ./$(DEPDIR)/test-xsh_spectrum_detect_lines.Po
3012 -rm -f ./$(DEPDIR)/test-xsh_startup.Po
3013 -rm -f ./$(DEPDIR)/test-xsh_subtract_background.Po
3014 -rm -f ./$(DEPDIR)/test-xsh_subtract_bias.Po
3015 -rm -f ./$(DEPDIR)/test-xsh_subtract_dark.Po
3016 -rm -f ./$(DEPDIR)/test-xsh_subtract_sky_nod.Po
3017 -rm -f ./$(DEPDIR)/test-xsh_subtract_sky_single.Po
3018 -rm -f ./$(DEPDIR)/test-xsh_telluric_cor.Po
3019 -rm -f ./$(DEPDIR)/test-xsh_the_map.Po
3020 -rm -f ./$(DEPDIR)/test-xsh_tools_perf.Po
3021 -rm -f ./$(DEPDIR)/test-xsh_wavecal_fwhm.Po
3022 -rm -f ./$(DEPDIR)/test-xsh_xcorrel_gaussians.Po
3023 -rm -f ./$(DEPDIR)/tests.Po
28403024 -rm -f Makefile
28413025 distclean-am: clean-am distclean-compile distclean-generic \
28423026 distclean-tags
28823066 installcheck-am:
28833067
28843068 maintainer-clean: maintainer-clean-am
2885 -rm -rf ./$(DEPDIR)
3069 -rm -f ./$(DEPDIR)/test-combine_flux_with_scaling.Po
3070 -rm -f ./$(DEPDIR)/test-convert_wave_map_to_order_map.Po
3071 -rm -f ./$(DEPDIR)/test-cpl_image_fit_gaussian.Po
3072 -rm -f ./$(DEPDIR)/test-cpl_image_threshold.Po
3073 -rm -f ./$(DEPDIR)/test-product_xsh_master_bias.Po
3074 -rm -f ./$(DEPDIR)/test-region_file.Po
3075 -rm -f ./$(DEPDIR)/test-spectrum_stat.Po
3076 -rm -f ./$(DEPDIR)/test-tell_catalog.Po
3077 -rm -f ./$(DEPDIR)/test-telluric_sampling.Po
3078 -rm -f ./$(DEPDIR)/test-xsh_atrous.Po
3079 -rm -f ./$(DEPDIR)/test-xsh_bspline.Po
3080 -rm -f ./$(DEPDIR)/test-xsh_bspline_interpol.Po
3081 -rm -f ./$(DEPDIR)/test-xsh_build_cube.Po
3082 -rm -f ./$(DEPDIR)/test-xsh_combine_nod.Po
3083 -rm -f ./$(DEPDIR)/test-xsh_compute_absorp.Po
3084 -rm -f ./$(DEPDIR)/test-xsh_compute_noise_map.Po
3085 -rm -f ./$(DEPDIR)/test-xsh_compute_response.Po
3086 -rm -f ./$(DEPDIR)/test-xsh_compute_shift_ifu.Po
3087 -rm -f ./$(DEPDIR)/test-xsh_correct_vacuum_to_air.Po
3088 -rm -f ./$(DEPDIR)/test-xsh_correl_gaussians.Po
3089 -rm -f ./$(DEPDIR)/test-xsh_cpl_vector_correl_gaussians.Po
3090 -rm -f ./$(DEPDIR)/test-xsh_create_map.Po
3091 -rm -f ./$(DEPDIR)/test-xsh_create_master_bias.Po
3092 -rm -f ./$(DEPDIR)/test-xsh_create_master_dark.Po
3093 -rm -f ./$(DEPDIR)/test-xsh_create_spectralformat.Po
3094 -rm -f ./$(DEPDIR)/test-xsh_cube_ext_save.Po
3095 -rm -f ./$(DEPDIR)/test-xsh_data_atmos_ext.Po
3096 -rm -f ./$(DEPDIR)/test-xsh_data_cube.Po
3097 -rm -f ./$(DEPDIR)/test-xsh_data_dispersol.Po
3098 -rm -f ./$(DEPDIR)/test-xsh_data_order.Po
3099 -rm -f ./$(DEPDIR)/test-xsh_data_order_2D.Po
3100 -rm -f ./$(DEPDIR)/test-xsh_data_pre.Po
3101 -rm -f ./$(DEPDIR)/test-xsh_data_spectralformat.Po
3102 -rm -f ./$(DEPDIR)/test-xsh_data_spectrum_merge_3d.Po
3103 -rm -f ./$(DEPDIR)/test-xsh_data_spectrum_order_1D.Po
3104 -rm -f ./$(DEPDIR)/test-xsh_data_star_flux.Po
3105 -rm -f ./$(DEPDIR)/test-xsh_data_wave_tab_2d.Po
3106 -rm -f ./$(DEPDIR)/test-xsh_data_wave_tab_2d_sample.Po
3107 -rm -f ./$(DEPDIR)/test-xsh_data_wavemap.Po
3108 -rm -f ./$(DEPDIR)/test-xsh_detect_arclines.Po
3109 -rm -f ./$(DEPDIR)/test-xsh_detect_continuum.Po
3110 -rm -f ./$(DEPDIR)/test-xsh_detect_line_file.Po
3111 -rm -f ./$(DEPDIR)/test-xsh_detect_line_pos.Po
3112 -rm -f ./$(DEPDIR)/test-xsh_detect_line_pos2.Po
3113 -rm -f ./$(DEPDIR)/test-xsh_detect_order.Po
3114 -rm -f ./$(DEPDIR)/test-xsh_dfs_sdp.Po
3115 -rm -f ./$(DEPDIR)/test-xsh_divide_flat.Po
3116 -rm -f ./$(DEPDIR)/test-xsh_extract.Po
3117 -rm -f ./$(DEPDIR)/test-xsh_extract_clean.Po
3118 -rm -f ./$(DEPDIR)/test-xsh_extract_clean_sym.Po
3119 -rm -f ./$(DEPDIR)/test-xsh_fit.Po
3120 -rm -f ./$(DEPDIR)/test-xsh_flat_merge.Po
3121 -rm -f ./$(DEPDIR)/test-xsh_flux.Po
3122 -rm -f ./$(DEPDIR)/test-xsh_flux_conservation.Po
3123 -rm -f ./$(DEPDIR)/test-xsh_format.Po
3124 -rm -f ./$(DEPDIR)/test-xsh_gaussian_fit.Po
3125 -rm -f ./$(DEPDIR)/test-xsh_geom_ifu.Po
3126 -rm -f ./$(DEPDIR)/test-xsh_guess.Po
3127 -rm -f ./$(DEPDIR)/test-xsh_ifu_trace_object.Po
3128 -rm -f ./$(DEPDIR)/test-xsh_ifu_trace_slices.Po
3129 -rm -f ./$(DEPDIR)/test-xsh_lambda_err.Po
3130 -rm -f ./$(DEPDIR)/test-xsh_localize_ifu.Po
3131 -rm -f ./$(DEPDIR)/test-xsh_localize_obj.Po
3132 -rm -f ./$(DEPDIR)/test-xsh_mark_tell.Po
3133 -rm -f ./$(DEPDIR)/test-xsh_merge_ord.Po
3134 -rm -f ./$(DEPDIR)/test-xsh_model.Po
3135 -rm -f ./$(DEPDIR)/test-xsh_model_maps_create.Po
3136 -rm -f ./$(DEPDIR)/test-xsh_opt_extract.Po
3137 -rm -f ./$(DEPDIR)/test-xsh_paf_save.Po
3138 -rm -f ./$(DEPDIR)/test-xsh_pix_convention.Po
3139 -rm -f ./$(DEPDIR)/test-xsh_prepare.Po
3140 -rm -f ./$(DEPDIR)/test-xsh_rectify.Po
3141 -rm -f ./$(DEPDIR)/test-xsh_remove_crh_multiple.Po
3142 -rm -f ./$(DEPDIR)/test-xsh_remove_crh_single.Po
3143 -rm -f ./$(DEPDIR)/test-xsh_resid_tab.Po
3144 -rm -f ./$(DEPDIR)/test-xsh_sky_lines_sampling.Po
3145 -rm -f ./$(DEPDIR)/test-xsh_slitmap.Po
3146 -rm -f ./$(DEPDIR)/test-xsh_spectrum_detect_lines.Po
3147 -rm -f ./$(DEPDIR)/test-xsh_startup.Po
3148 -rm -f ./$(DEPDIR)/test-xsh_subtract_background.Po
3149 -rm -f ./$(DEPDIR)/test-xsh_subtract_bias.Po
3150 -rm -f ./$(DEPDIR)/test-xsh_subtract_dark.Po
3151 -rm -f ./$(DEPDIR)/test-xsh_subtract_sky_nod.Po
3152 -rm -f ./$(DEPDIR)/test-xsh_subtract_sky_single.Po
3153 -rm -f ./$(DEPDIR)/test-xsh_telluric_cor.Po
3154 -rm -f ./$(DEPDIR)/test-xsh_the_map.Po
3155 -rm -f ./$(DEPDIR)/test-xsh_tools_perf.Po
3156 -rm -f ./$(DEPDIR)/test-xsh_wavecal_fwhm.Po
3157 -rm -f ./$(DEPDIR)/test-xsh_xcorrel_gaussians.Po
3158 -rm -f ./$(DEPDIR)/tests.Po
28863159 -rm -f Makefile
28873160 maintainer-clean-am: distclean-am maintainer-clean-generic
28883161
29033176
29043177 .MAKE: check-am install-am install-strip
29053178
2906 .PHONY: CTAGS GTAGS TAGS all all-am check check-TESTS check-am clean \
2907 clean-checkPROGRAMS clean-generic clean-libtool clean-local \
2908 cscopelist-am ctags ctags-am distclean distclean-compile \
2909 distclean-generic distclean-libtool distclean-tags distdir dvi \
2910 dvi-am html html-am info info-am install install-am \
2911 install-data install-data-am install-dvi install-dvi-am \
2912 install-exec install-exec-am install-html install-html-am \
2913 install-info install-info-am install-man install-pdf \
2914 install-pdf-am install-pkgincludeHEADERS install-ps \
2915 install-ps-am install-strip installcheck installcheck-am \
2916 installdirs maintainer-clean maintainer-clean-generic \
2917 mostlyclean mostlyclean-compile mostlyclean-generic \
2918 mostlyclean-libtool pdf pdf-am ps ps-am recheck tags tags-am \
2919 uninstall uninstall-am uninstall-pkgincludeHEADERS
3179 .PHONY: CTAGS GTAGS TAGS all all-am am--depfiles check check-TESTS \
3180 check-am clean clean-checkPROGRAMS clean-generic clean-libtool \
3181 clean-local cscopelist-am ctags ctags-am distclean \
3182 distclean-compile distclean-generic distclean-libtool \
3183 distclean-tags distdir dvi dvi-am html html-am info info-am \
3184 install install-am install-data install-data-am install-dvi \
3185 install-dvi-am install-exec install-exec-am install-html \
3186 install-html-am install-info install-info-am install-man \
3187 install-pdf install-pdf-am install-pkgincludeHEADERS \
3188 install-ps install-ps-am install-strip installcheck \
3189 installcheck-am installdirs maintainer-clean \
3190 maintainer-clean-generic mostlyclean mostlyclean-compile \
3191 mostlyclean-generic mostlyclean-libtool pdf pdf-am ps ps-am \
3192 recheck tags tags-am uninstall uninstall-am \
3193 uninstall-pkgincludeHEADERS
29203194
29213195 .PRECIOUS: Makefile
29223196
306306 check(fpn_lly=xsh_parameters_get_int(parameters,"xsh_mdark","fpn_lly"));
307307 check(fpn_urx=xsh_parameters_get_int(parameters,"xsh_mdark","fpn_urx"));
308308 check(fpn_ury=xsh_parameters_get_int(parameters,"xsh_mdark","fpn_ury"));
309 //check(fpn_nsamp=xsh_parameters_get_int(parameters,"xsh_mdark","fpn_nsamples"));
310 //check(fpn_hsize=xsh_parameters_get_int(parameters,"xsh_mdark","fpn_hsize"));
309 check(fpn_nsamp=xsh_parameters_get_int(parameters,"xsh_mdark","fpn_nsamples"));
310 check(fpn_hsize=xsh_parameters_get_int(parameters,"xsh_mdark","fpn_hsize"));
311311 //xsh_msg("fpn=%d %d %d %d",fpn_llx,fpn_lly,fpn_urx,fpn_ury);
312312 sx=cpl_image_get_size_x(preFrame->data);
313313 sy=cpl_image_get_size_y(preFrame->data);
337337 zone_fpn[2]=fpn_lly;
338338 zone_fpn[3]=fpn_ury;
339339 xsh_image_flag_bp(preFrame->data,preFrame->qual,instrument);
340 /*
341 xsh_msg("fpn=%d %d %d %d hsize=%d nsamp=%d",fpn_llx,fpn_urx,fpn_lly,fpn_ury,
342 fpn_hsize,fpn_nsamp);
343 */
340
341 //xsh_msg("fpn=%d %d %d %d hsize=%d nsamp=%d",fpn_llx,fpn_urx,fpn_lly,fpn_ury,
342 // fpn_hsize,fpn_nsamp);
344343 check_msg(cpl_flux_get_noise_window(preFrame->data, zone_fpn, fpn_hsize,
345344 fpn_nsamp, &qc_fpn_val, &qc_fpn_err),
346345 "Error computing noise in a window");
114114 int ,
115115 int );
116116
117 /* The following 2 functions are duplicated from cpl_det */
118
119
120 #if 0
121 static cpl_bivector *
122 irplib_bivector_gen_rect_poisson(const int *r,
123 const int np,
124 const int homog);
125
126
127 static cpl_error_code
128 xsh_detmon_dark_save(const cpl_parameterlist *,
129 cpl_frameset *,
130 const char *,
131 const char *,
132 const char *,
133 const char *,
134 const char *,
135 const char *,
136 cpl_imagelist **,
137 cpl_table **,
138 cpl_imagelist **,
139 cpl_propertylist **,
140 const int,
141 const int,
142 const cpl_frameset *);
143
144
145
146 static cpl_error_code
147 xsh_detmon_retrieve_dark_params(const char *,
148 const char *,
149 const cpl_parameterlist *);
150 #endif
151
152117 /*---------------------------------------------------------------------------*/
153118
154119 /*
248213 const cpl_parameterlist * parlist)
249214 {
250215 char *par_name;
251 cpl_parameter *par;
216 const cpl_parameter *par;
252217 int value;
253218
254219 par_name = cpl_sprintf("%s.%s.%s", pipeline_name, recipe_name, parn);
255220 assert(par_name != NULL);
256 par = cpl_parameterlist_find((cpl_parameterlist *) parlist, par_name);
221 par = cpl_parameterlist_find_const(parlist, par_name);
257222 value = cpl_parameter_get_int(par);
258223 cpl_free(par_name);
259224
278243 const cpl_parameterlist * parlist)
279244 {
280245 char *par_name;
281 cpl_parameter *par;
282 double value;
246 const cpl_parameter *par;
247 double value;
283248
284249 par_name = cpl_sprintf("%s.%s.%s", pipeline_name, recipe_name, parn);
285250 assert(par_name != NULL);
286 par = cpl_parameterlist_find((cpl_parameterlist *) parlist, par_name);
251 par = cpl_parameterlist_find_const(parlist, par_name);
287252 value = cpl_parameter_get_double(par);
288253 cpl_free(par_name);
289254
413378 return cpl_error_get_code();
414379
415380 }
416 #if 0
417 /* NOT USED! */
418 /*---------------------------------------------------------------------------*/
419
420 /*
421 * @brief Generates Poisson distributed values
422 * @param r Input values
423 * @param np number of points
424 * @param homog homogeneity factor
425 * @return CPL_ERROR_NONE on success.
426 */
427
428 /*---------------------------------------------------------------------------*/
429 static cpl_bivector *
430 irplib_bivector_gen_rect_poisson(const int *r, const int np, const int homog)
431 {
432 double min_dist;
433 int i;
434 int gnp;
435 cpl_bivector *list;
436 double cand_x, cand_y;
437 int ok;
438 int start_ndx;
439 int xmin, xmax, ymin, ymax;
440
441 /* Corrected Homogeneity factor */
442 const int homogc = 0 < homog && homog < np ? homog : np;
443 double *px;
444 double *py;
445
446 /* error handling: test arguments are correct */
447 cpl_ensure(r, CPL_ERROR_NULL_INPUT, NULL);
448 cpl_ensure(np > 0, CPL_ERROR_ILLEGAL_INPUT, NULL);
449
450 list = cpl_bivector_new(np);
451 cpl_ensure(list, CPL_ERROR_NULL_INPUT, NULL);
452 px = cpl_bivector_get_x_data(list);
453 py = cpl_bivector_get_y_data(list);
454
455 xmin = r[0];
456 xmax = r[1];
457 ymin = r[2];
458 ymax = r[3];
459
460 min_dist =
461 CPL_MATH_SQRT1_2 * ((xmax - xmin) * (ymax - ymin) / (double) (homogc + 1));
462 gnp = 1;
463 px[0] = 0;
464 py[0] = 0;
465
466 /* First: generate <homog> points */
467 while(gnp < homogc) {
468 /* Pick a random point within requested range */
469 cand_x = cpl_drand() * (xmax - xmin) + xmin;
470 cand_y = cpl_drand() * (ymax - ymin) + ymin;
471
472 /* Check the candidate obeys the minimal Poisson distance */
473 ok = 1;
474 for(i = 0; i < gnp; i++) {
475 if(pdist(cand_x, cand_y, px[i], py[i]) < min_dist) {
476 /* does not check Poisson law: reject point */
477 ok = 0;
478 break;
479 }
480 }
481 if(ok) {
482 /* obeys Poisson law: register the point as valid */
483 px[gnp] = cand_x;
484 py[gnp] = cand_y;
485 gnp++;
486 }
487 }
488
489 /* Iterative process: */
490 /* Pick points out of Poisson distance of the last <homogc-1> points. */
491 start_ndx = 0;
492 while(gnp < np) {
493 /* Pick a random point within requested range */
494 cand_x = cpl_drand() * (xmax - xmin) + xmin;
495 cand_y = cpl_drand() * (ymax - ymin) + ymin;
496
497 /* Check the candidate obeys the minimal Poisson distance */
498 ok = 1;
499 for(i = 0; i < homogc; i++) {
500 if(pdist(cand_x,
501 cand_y,
502 px[start_ndx + i], py[start_ndx + i]) < min_dist) {
503 /* does not check Poisson law: reject point */
504 ok = 0;
505 break;
506 }
507 }
508 if(ok) {
509 /* obeys Poisson law: register the point as valid */
510 px[gnp] = cand_x;
511 py[gnp] = cand_y;
512 gnp++;
513 }
514 }
515
516 /* Iterative process: */
517 /* Pick points out of Poisson distance of the last <homogc-1> points. */
518 start_ndx = 0;
519 while(gnp < np) {
520 /* Pick a random point within requested range */
521 cand_x = cpl_drand() * (xmax - xmin) + xmin;
522 cand_y = cpl_drand() * (ymax - ymin) + ymin;
523
524 /* Check the candidate obeys the minimal Poisson distance */
525 ok = 1;
526 for(i = 0; i < homogc; i++) {
527 if(pdist(cand_x,
528 cand_y,
529 px[start_ndx + i], py[start_ndx + i]) < min_dist) {
530 /* does not check Poisson law: reject point */
531 ok = 0;
532 break;
533 }
534 }
535 if(ok) {
536 /* obeys Poisson law: register the point as valid */
537 px[gnp] = cand_x;
538 py[gnp] = cand_y;
539 gnp++;
540 start_ndx++;
541 }
542 }
543 return list;
544 }
545 #endif
546
547 #if 0
548 /* Not used !! */
549 /*---------------------------------------------------------------------------*/
550
551 /*
552 * @brief Retrieve input parameters
553 * @param pipeline_name Input pipeline name
554 * @param recipe_name Input recipe name
555 * @param parlist Input parameter list
556 * @return CPL_ERROR_NONE on success.
557 */
558
559 /*---------------------------------------------------------------------------*/
560 static cpl_error_code
561 xsh_detmon_retrieve_dark_params(const char *pipeline_name,
562 const char *recipe_name,
563 const cpl_parameterlist * parlist)
564 {
565 char *par_name;
566 cpl_parameter *par;
567
568 /* --ron.method */
569 par_name = cpl_sprintf("%s.%s.ron.method", pipeline_name, recipe_name);
570 assert(par_name != NULL);
571 par = cpl_parameterlist_find((cpl_parameterlist *) parlist, par_name);
572 xsh_detmon_dark_config.ron_method = cpl_parameter_get_string(par);
573 cpl_free(par_name);
574
575 /* --dsnu.method */
576 par_name = cpl_sprintf("%s.%s.dsnu.method", pipeline_name, recipe_name);
577 assert(par_name != NULL);
578 par = cpl_parameterlist_find((cpl_parameterlist *) parlist, par_name);
579 xsh_detmon_dark_config.dsnu_method = cpl_parameter_get_string(par);
580 cpl_free(par_name);
581
582 /* --opt_nir */
583 par_name = cpl_sprintf("%s.%s.opt_nir", pipeline_name, recipe_name);
584 assert(par_name != NULL);
585 par = cpl_parameterlist_find((cpl_parameterlist *) parlist, par_name);
586 xsh_detmon_dark_config.opt_nir = cpl_parameter_get_bool(par);
587 cpl_free(par_name);
588
589 /* --exts */
590 xsh_detmon_dark_config.exts =
591 xsh_detmon_retrieve_par_int("exts", pipeline_name, recipe_name,
592 parlist);
593
594 if(cpl_error_get_code()) {
595 cpl_msg_error(cpl_func, "Failed to retrieve the input parameters");
596 cpl_ensure_code(0, CPL_ERROR_DATA_NOT_FOUND);
597 }
598
599
600 return CPL_ERROR_NONE;
601 }
602 #endif
603 #if 0
604 /* NOT USED! */
605 /*---------------------------------------------------------------------------*/
606
607 /*
608 * @brief Save dark recipe products
609 * @param parlist input parameter list
610 * @param frameset input frameset
611 * @param recipe_name input recipe name
612 * @param pipeline_name input pipeline name
613 * @param procatg_master input procatg of master product
614 * @param procatg_tbl input procatg table
615 * @param procatg_dsnu input procatg dsnu product
616 * @param package input package name
617 * @param masters list of masters products
618 * @param dsnu_table dsnu table product
619 * @param dsnu list of dsnu images products
620 * @param qclist qc parameters
621 * @param flag_sets switch
622 * @param which_set specifier
623 * @param usedframes used frames
624 * @return CPL_ERROR_NONE on success.
625 */
626
627 /*---------------------------------------------------------------------------*/
628 static cpl_error_code
629 xsh_detmon_dark_save(const cpl_parameterlist * parlist,
630 cpl_frameset * frameset,
631 const char *recipe_name,
632 const char *pipeline_name,
633 const char *procatg_master,
634 const char *procatg_tbl,
635 const char *procatg_dsnu,
636 const char *package,
637 cpl_imagelist ** masters,
638 cpl_table ** dsnu_table,
639 cpl_imagelist ** dsnu,
640 cpl_propertylist ** qclist,
641 const int flag_sets,
642 const int which_set,
643 const cpl_frameset * usedframes)
644 {
645
646 cpl_frame *ref_frame;
647 cpl_propertylist *plist;
648 char *name_o = NULL; /* Avoid (false) uninit warning */
649 int i, j;
650 cpl_propertylist *paflist;
651 cpl_error_code error;
652 int nb_images;
653
654 /***************************/
655 /* Write the MASTER FITS */
656 /***************************/
657
658 nb_images = cpl_imagelist_get_size(masters[0]);
659 cpl_ensure_code(nb_images > 0, CPL_ERROR_DATA_NOT_FOUND);
660
661
662 for(i = 0; i < nb_images; i++) {
663 /* Set the file name for each image */
664 if(!flag_sets) {
665 name_o =
666 cpl_sprintf("%s_master_dit_%d.fits", recipe_name, i+1);
667 assert(name_o != NULL);
668 } else {
669 name_o =
670 cpl_sprintf("%s_master_dit_%d_set%02d.fits",
671 recipe_name, i, which_set);
672 assert(name_o != NULL);
673 }
674
675
676 /* Save the image */
677 if(xsh_detmon_dark_config.exts >= 0) {
678 cpl_propertylist * pro_master = cpl_propertylist_new();
679
680 cpl_propertylist_append_string(pro_master,
681 CPL_DFS_PRO_CATG, procatg_master);
682
683 cpl_propertylist_append(pro_master, qclist[0]);
684
685 if(cpl_dfs_save_image
686 (frameset, NULL, parlist, usedframes, NULL,
687 cpl_imagelist_get(*masters, i), CPL_BPP_IEEE_FLOAT,
688 recipe_name, pro_master, NULL, package,
689 name_o)) {
690 cpl_msg_error(cpl_func, "Cannot save the product: %s",
691 name_o);
692 cpl_free(name_o);
693 cpl_ensure_code(0, CPL_ERROR_FILE_NOT_CREATED);
694
695 }
696
697 cpl_propertylist_delete(pro_master);
698 } else {
699 cpl_propertylist * pro_master = cpl_propertylist_new();
700
701 cpl_propertylist_append_string(pro_master,
702 CPL_DFS_PRO_CATG, procatg_master);
703
704 cpl_propertylist_append(pro_master, qclist[0]);
705
706 if(cpl_dfs_save_image(frameset, NULL, parlist, usedframes, NULL,
707 NULL, CPL_BPP_IEEE_FLOAT, recipe_name,
708 pro_master, NULL,
709 package, name_o)) {
710 cpl_msg_error(cpl_func, "Cannot save the product: %s",
711 name_o);
712 cpl_free(name_o);
713 cpl_ensure_code(0, CPL_ERROR_FILE_NOT_CREATED);
714 }
715
716 cpl_propertylist_delete(pro_master);
717 for(j = 0; j < xsh_detmon_dark_config.nb_extensions; j++) {
718 error =
719 cpl_image_save(cpl_imagelist_get(masters[j], i),
720 name_o, CPL_BPP_IEEE_FLOAT, qclist[j],
721 CPL_IO_EXTEND);
722 cpl_ensure_code(!error, error);
723 }
724 }
725 cpl_free(name_o);
726 }
727
728 if (xsh_detmon_dark_config.opt_nir == OPT) {
729 cpl_propertylist * pro_tbl = cpl_propertylist_new();
730
731 cpl_propertylist_append_string(pro_tbl,
732 CPL_DFS_PRO_CATG, procatg_tbl);
733
734 cpl_propertylist_append(pro_tbl, qclist[0]);
735 /*******************************/
736 /* Write the LINEARITY TABLE */
737 /*******************************/
738
739 /* Set the file name for the table */
740 if(!flag_sets) {
741 name_o = cpl_sprintf("%s_dsnu_table.fits", recipe_name);
742 assert(name_o != NULL);
743 } else {
744 name_o =
745 cpl_sprintf("%s_dsnu_table_set%02d.fits", recipe_name,
746 which_set);
747 assert(name_o != NULL);
748 }
749 /* Save the table */
750 if(cpl_dfs_save_table(frameset, NULL, parlist, usedframes, NULL,
751 dsnu_table[0], NULL, recipe_name, pro_tbl, NULL,
752 package, name_o)) {
753 cpl_msg_error(cpl_func, "Cannot save the product: %s", name_o);
754 cpl_free(name_o);
755 cpl_ensure_code(0, CPL_ERROR_FILE_NOT_CREATED);
756 }
757
758 cpl_propertylist_delete(pro_tbl);
759
760 if(xsh_detmon_dark_config.exts < 0) {
761
762 for(i = 1; i < xsh_detmon_dark_config.nb_extensions; i++) {
763 error =
764 cpl_table_save(dsnu_table[i], NULL, qclist[i], name_o,
765 CPL_IO_EXTEND);
766 cpl_ensure_code(!error, error);
767 }
768 }
769
770 /* Free */
771 cpl_free(name_o);
772
773 /***************************/
774 /* Write the DSNU_MAP FITS */
775 /***************************/
776
777 for(i = 0; i < nb_images; i++) {
778 /* Set the file name for each image */
779 if(!flag_sets) {
780 name_o =
781 cpl_sprintf("%s_dsnu_map_dit_%d.fits", recipe_name, i+1);
782 assert(name_o != NULL);
783 } else {
784 name_o =
785 cpl_sprintf("%s_dsnu_map_dit_%d_set%02d.fits",
786 recipe_name, i, which_set);
787 assert(name_o != NULL);
788 }
789
790
791 /* Save the image */
792 if(xsh_detmon_dark_config.exts >= 0) {
793 cpl_propertylist * pro_dsnu = cpl_propertylist_new();
794
795 cpl_propertylist_append_string(pro_dsnu,
796 CPL_DFS_PRO_CATG, procatg_dsnu);
797
798 cpl_propertylist_append(pro_dsnu, qclist[0]);
799
800 if(cpl_dfs_save_image
801 (frameset, NULL, parlist, usedframes, NULL,
802 cpl_imagelist_get(*dsnu, i), CPL_BPP_IEEE_FLOAT,
803 recipe_name, pro_dsnu, NULL, package,
804 name_o)) {
805 cpl_msg_error(cpl_func, "Cannot save the product: %s",
806 name_o);
807 cpl_free(name_o);
808 cpl_ensure_code(0, CPL_ERROR_FILE_NOT_CREATED);
809
810 }
811
812 cpl_propertylist_delete(pro_dsnu);
813 } else {
814 cpl_propertylist * pro_dsnu = cpl_propertylist_new();
815
816 cpl_propertylist_append_string(pro_dsnu,
817 CPL_DFS_PRO_CATG, procatg_dsnu);
818
819 cpl_propertylist_append(pro_dsnu, qclist[0]);
820
821 if(cpl_dfs_save_image(frameset, NULL, parlist, usedframes,
822 NULL, NULL,
823 CPL_BPP_IEEE_FLOAT, recipe_name,
824 pro_dsnu, NULL,
825 package, name_o)) {
826 cpl_msg_error(cpl_func, "Cannot save the product: %s",
827 name_o);
828 cpl_free(name_o);
829 cpl_ensure_code(0, CPL_ERROR_FILE_NOT_CREATED);
830 }
831
832 cpl_propertylist_delete(pro_dsnu);
833 for(j = 0; j < xsh_detmon_dark_config.nb_extensions; j++) {
834 error =
835 cpl_image_save(cpl_imagelist_get(dsnu[j], i),
836 name_o, CPL_BPP_IEEE_FLOAT, qclist[j],
837 CPL_IO_EXTEND);
838 cpl_ensure_code(!error, error);
839 }
840 }
841 cpl_free(name_o);
842 }
843
844
845
846 } /* End of if(OPT) */
847
848 /*******************************/
849 /* Write the PAF file(s) */
850 /*******************************/
851
852 /* Get FITS header from reference file */
853 ref_frame = cpl_frameset_get_position(frameset, 0);
854 if((plist = cpl_propertylist_load(cpl_frame_get_filename(ref_frame),
855 0)) == NULL) {
856 cpl_msg_error(cpl_func, "getting header from reference frame");
857 cpl_ensure_code(0, cpl_error_get_code());
858 }
859
860 /* Get the keywords for the paf file */
861 paflist = cpl_propertylist_new();
862 cpl_propertylist_copy_property_regexp(paflist, plist,
863 "^(ARCFILE|MJD-OBS|ESO TPL ID|"
864 "DATE-OBS|ESO DET DIT|ESO DET NDIT|"
865 "ESO DET NCORRS|"
866 "ESO DET MODE NAME)$", 0);
867
868 for(i = 0; i < xsh_detmon_dark_config.nb_extensions; i++) {
869 cpl_propertylist * c_paflist = cpl_propertylist_duplicate(paflist);
870 error = cpl_propertylist_append(c_paflist, qclist[i]);
871 cpl_ensure_code(!error, error);
872
873 /* Set the file name for the bpm */
874 if(xsh_detmon_dark_config.exts >= 0) {
875 if(!flag_sets) {
876 name_o = cpl_sprintf("%s.paf", recipe_name);
877 assert(name_o != NULL);
878 } else {
879 name_o = cpl_sprintf("%s_set%02d.paf", recipe_name, which_set);
880 assert(name_o != NULL);
881 }
882 } else {
883 if(!flag_sets) {
884 name_o = cpl_sprintf("%s_ext%02d.paf", recipe_name, i+1);
885 assert(name_o != NULL);
886 } else {
887 name_o = cpl_sprintf("%s_set%02d_ext%02d.paf", recipe_name, which_set, i+1);
888 assert(name_o != NULL);
889 }
890 }
891 /* Save the PAF */
892 if(cpl_dfs_save_paf(pipeline_name, recipe_name, c_paflist, name_o)) {
893 cpl_msg_error(cpl_func, "Cannot save the product: %s", name_o);
894 cpl_free(name_o);
895 cpl_propertylist_delete(paflist);
896 cpl_propertylist_delete(plist);
897 cpl_free(name_o);
898 cpl_ensure_code(0, CPL_ERROR_FILE_NOT_CREATED);
899 }
900 cpl_propertylist_delete(c_paflist);
901 cpl_free(name_o);
902 }
903
904 cpl_propertylist_delete(plist);
905 cpl_propertylist_delete(paflist);
906
907 return cpl_error_get_code();
908 }
909 #endif
910
381
382 void
383 detmon_print_rec_status(void) {
384 if(cpl_error_get_code() != CPL_ERROR_NONE) {
385 /* cpl_msg_error(cpl_func,"Function status at %d",val); */
386 cpl_msg_error(cpl_func,"%s",(const char*) cpl_error_get_message());
387 cpl_msg_error(cpl_func,"%s",(const char*) cpl_error_get_where());
388 return;
389 }
390 return;
391 }
911392
912393 /**@}*/
4343 #include "xsh_detmon_lg.h"
4444 #include "xsh_detmon_lg_impl.h"
4545 #include "xsh_detmon_dfs.h"
46
46 #include "xsh_dfs.h"
4747 #include "xsh_ksigma_clip.h"
4848 #include "irplib_utils.h"
4949 #include "irplib_hist.h"
5353 #include <math.h>
5454 #include <string.h>
5555 #include <assert.h>
56
5657 /**@{*/
5758 /*
5859 * @defgroup irplib_xsh_detmon Detector monitoring functions
10391040 opt_nir, whichext) == CPL_ERROR_CONTINUE) {
10401041 cpl_msg_info(cpl_func, "Empty extension %d", whichext);
10411042 }
1042 cpl_table_name_column(linear_table, "ESO DET WIN1 UIT1","ESO_DET_WIN1_UIT1" );
1043 cpl_table_name_column(gain_table, "ESO DET WIN1 UIT1","ESO_DET_WIN1_UIT1" );
1043 if(cpl_table_has_column(linear_table,"ESO DET WIN1 UIT1") ) {
1044 cpl_table_name_column(linear_table, "ESO DET WIN1 UIT1","ESO_DET_WIN1_UIT1" );
1045 }
1046 if(cpl_table_has_column(linear_table,"ESO DET WIN1 UIT1") ) {
1047 cpl_table_name_column(gain_table, "ESO DET WIN1 UIT1","ESO_DET_WIN1_UIT1" );
1048 }
10441049 /* Save the products for each setting */
10451050 cpl_msg_info(cpl_func, "Saving the products");
10461051 if (nsets == 1) {
13111316
13121317 im_re = cpl_image_new(p, p, CPL_TYPE_DOUBLE);
13131318 error = cpl_image_copy(im_re, input, 1, 1);
1319 cpl_image_delete(input);
1320
13141321 cpl_ensure(!error, error, NULL);
13151322
13161323 im_im = cpl_image_new(p, p, CPL_TYPE_DOUBLE);
13981405
13991406 autocorr_norm = cpl_image_cast(autocorr_norm_double, CPL_TYPE_FLOAT);
14001407 cpl_image_delete(autocorr_norm_double);
1401
1402 cpl_image_delete(input);
14031408
14041409 return autocorr_norm;
14051410 }
23362341 const cpl_frame * second;
23372342 const char * first_tag;
23382343 const char * second_tag;
2339 skip_if((first = cpl_frameset_get_first_const(cur_fset)) == NULL);
2340 skip_if((second = cpl_frameset_get_next_const (cur_fset)) == NULL);
2344 skip_if((first = cpl_frameset_get_position_const(cur_fset, 0)) == NULL);
2345 skip_if((second = cpl_frameset_get_position_const(cur_fset, 1)) == NULL);
23412346
23422347 skip_if((first_tag = cpl_frame_get_tag(first)) == NULL);
23432348 skip_if((second_tag = cpl_frame_get_tag(second)) == NULL);
30243029 skip_if(xsh_detmon_lg_rescale(offs));
30253030 }
30263031 /* DIT or EXPTIME value extraction */
3032
30273033 filename =
3028 cpl_frame_get_filename(cpl_frameset_get_position(pair_on, 0));
3034 cpl_frame_get_filename(cpl_frameset_get_position_const(pair_on, 0));
30293035 skip_if ((plist = cpl_propertylist_load(filename, 0)) == NULL);
30303036 /* Add columns to the tables DETi WINi UITi*/
30313037 if (plist)
30533059 * of the GAIN table (output) and of the FIT table (by-product to be
30543060 * used later for the polynomial computation of the GAIN)
30553061 */
3056
30573062
30583063 cpl_msg_info(cpl_func, "Computing GAIN for EXPTIME value nb %d",
30593064 dit_nb + 1);
36243629 const cpl_image *image;
36253630 double std = 0;
36263631 double avg_on1, avg_on2;
3627 //double sigma;
36283632
36293633
36303634 if(*rows_linear_affected == 0)
51235127 return cpl_error_get_code();
51245128 }
51255129 */
5130 #ifdef DETMON_USE_DETECTOR_SHOTNOISE_MODEL
51265131 /*----------------------------------------------------------------------------*/
51275132 /**
51285133 @brief compute photon count error in [ADU]
51665171
51675172 return cpl_error_get_code();
51685173 }
5174 #endif
51695175
51705176 int
51715177 xsh_detmon_compute_badpixmap(cpl_boolean opt_nir, const int nsets,
52325238 /* on simulations gain ,may be < 0: make sure it is > 0 */
52335239 //cpl_msg_info(cpl_func,"ok1 gain=%g",gain);
52345240 gain = (gain < 0) ? 1 : gain;
5235 //double gain_eff = 2 * gain;
5236 //gain_eff=1;
5237 //double ron = 1;
52385241 double avg = 0;
52395242 double rms = 0;
5240 //int k = 0;
5241 //char dname[80];
5242 //char ename[80];
5243 //char fname[80];
52445243 skip_if(rms);
52455244 //cpl_msg_info(cpl_func,"sz=%d",sz);
52465245 //cpl_msg_info(cpl_func,"llx=%d lly=%d urx=%d ury=%d",llx,lly,urx,ury);
74117410 } while(fabs(exptime[i-1] - exptime[i]) < tolerance);
74127411 } while(i < sz - 1);
74137412 /* the very last adjustment for the last group */
7414 if (!(fabs(exptime[i-1] - exptime[i]) < tolerance)) nsets++;
7413 if ( !( fabs(exptime[i-1] - exptime[i]) < tolerance ) ) nsets++;
74157414 if(nsets <= order)
74167415 {
74177416 cpl_error_set_message(cpl_func,CPL_ERROR_INCOMPATIBLE_INPUT,
165165 #define IRPLIB_LIN_WITH_RESCALE ((irplib_lin_flag) 1 << 13)
166166 #define IRPLIB_LIN_OPT ((irplib_lin_flag) 1 << 14)
167167 #define IRPLIB_LIN_NIR ((irplib_lin_flag) 1 << 15)
168
169 /*----------------------------------------------------------------------------
170 Prototypes
171 ----------------------------------------------------------------------------*/
168172
169173 cpl_error_code
170174 xsh_detmon_lg(cpl_frameset * frameset,
137137 cpl_size nx, cpl_size ny)
138138 {
139139 cpl_imagelist * list = cpl_imagelist_new();
140 const size_t n = cpl_frameset_get_size(fset);
140 const cpl_size n = cpl_frameset_get_size(fset);
141141 skip_if(pnum < 0);
142142 if (nx >= 0 && ny >= 0) {
143143 error_if(urx - llx + 1 > nx || ury - lly + 1 > ny ,
146146 (int)llx, (int)urx, (int)lly, (int)ury, (int)nx, (int)ny);
147147 }
148148
149 for (size_t i = 0; i < n; i++) {
149 for (cpl_size i = 0; i < n; i++) {
150150 const cpl_frame * frm = cpl_frameset_get_position_const(fset, i);
151151 const char * fn = cpl_frame_get_filename(frm);
152152 if (xtnum < 0) {
153 cpl_size next = cpl_frame_get_nextensions(frm);
154 for (size_t e = 0; e < next; e++) {
153 const cpl_size next = cpl_frame_get_nextensions(frm);
154 for (cpl_size e = 0; e < next; e++) {
155155 cpl_image * image = cpl_image_load_window(fn, type, pnum, e,
156156 llx, lly, urx, ury);
157157 skip_if(image == NULL);
640640 #define XSH_MASTER_BP_MAP_VIS "MASTER_BP_MAP_VIS"
641641 #define XSH_MASTER_BP_MAP_NIR "MASTER_BP_MAP_NIR"
642642
643
643 #define XSH_BIAS_PD "BIAS_PD"
644 #define XSH_BIAS_PD_UVB "BIAS_PD_UVB"
645 #define XSH_BIAS_PD_VIS "BIAS_PD_VIS"
646 #define XSH_BIAS_PD_NIR "BIAS_PD_NIR"
647
648 #define XSH_BIAS_PD_MASK "BIAS_PD_MASK"
649 #define XSH_BIAS_PD_MASK_UVB "BIAS_PD_MASK_UVB"
650 #define XSH_BIAS_PD_MASK_VIS "BIAS_PD_MASK_VIS"
651 #define XSH_BIAS_PD_MASK_NIR "BIAS_PD_MASK_NIR"
652 #define XSH_BIAS_PD_MASK_AGC "BIAS_PD_MASK_AGC"
644653
645654 #define XSH_MASTER_BP_MAP_NLIN "MASTER_BP_MAP_NLIN"
646655 #define XSH_MASTER_BP_MAP_NLIN_UVB "MASTER_BP_MAP_NLIN_UVB"
13711380 XSH_CMP_TAG_ARM( tag, XSH_MASTER_BP_MAP_DARK) || \
13721381 XSH_CMP_TAG_ARM( tag, XSH_MASTER_BP_MAP_FLAT) || \
13731382 XSH_CMP_TAG_ARM( tag, XSH_BP_MAP) || \
1383 XSH_CMP_TAG_ARM( tag, XSH_BIAS_PD) || \
1384 XSH_CMP_TAG_ARM( tag, XSH_BIAS_PD_MASK) || \
13741385 XSH_CMP_TAG_ARM( tag, XSH_BP_MAP_CP) || \
13751386 XSH_CMP_TAG_ARM( tag, XSH_BP_MAP_HP) || \
13761387 XSH_CMP_TAG_ARM( tag, XSH_BP_MAP_SP) || \
789789
790790 }
791791
792 /*---------------------------------------------------------------------------*/
793 /**
794 @brief create the FPN parameters in a parameters list
795
796 @param recipe_id the current recipe in use
797 @param list the parameters list to update
798 @param p Fixed Pattern Noise parameters structure
799 */
800 /*---------------------------------------------------------------------------*/
801 void xsh_parameters_pd_noise_create(const char* recipe_id,
802 cpl_parameterlist* list, xsh_pd_noise_param p)
803 {
804
805 xsh_parameters_new_bool(list, recipe_id, "pd_noise_compute", p.pd_compute,
806 "Determine Fixed Pattern Noise. "
807 "If TRUE the Fixed Pattern Noise power spectrum is determined.");
808
809 xsh_parameters_new_range_int(list,recipe_id,"pd_noise_dc_x",1,1,4096,
810 "x-size (pixel) of the mask starting at (x,y) = (1,1).");
811
812 xsh_parameters_new_range_int(list,recipe_id,"pd_noise_dc_y",1,1,4096,
813 "y-size (pixel) of the mask starting at (x,y) = (1,1).");
814
815 }
792816
793817
794818 /*---------------------------------------------------------------------------*/
451451 int fpn_nsamples;/** FPN number of samples */
452452 }xsh_fpn_param;
453453
454 typedef struct {
455 int pd_dc_x;/** FPN dc_x */
456 int pd_dc_y;/** FPN dc_y */
457 int pd_compute;/** FPN compute */
458 }xsh_pd_noise_param;
459
454460
455461 typedef struct {
456462 const char* ron_method;/** RON method */
583589 void
584590 xsh_parameters_ron_create(const char* recipe_id,cpl_parameterlist* list,
585591 xsh_ron_param p);
586
587 void
592 void
593 xsh_parameters_pd_noise_create(const char* recipe_id,
594 cpl_parameterlist* list, xsh_pd_noise_param p);
595 void
588596 xsh_parameters_fpn_create(const char* recipe_id,cpl_parameterlist* list,
589597 xsh_fpn_param p);
590598