New upstream version 3.5.0+dfsg
Ole Streicher
3 years ago
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 | |
0 | 8 | 3.3.4 26/04/2019 Pop up no, Fix PIPE-7986 |
1 | 9 | 3.3.3 25/04/2019 Updated doc |
2 | 10 | 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. | |
1 | 1 | # @configure_input@ |
2 | 2 | |
3 | # Copyright (C) 1994-2014 Free Software Foundation, Inc. | |
3 | # Copyright (C) 1994-2018 Free Software Foundation, Inc. | |
4 | 4 | |
5 | 5 | # This Makefile.in is free software; the Free Software Foundation |
6 | 6 | # gives unlimited permission to copy and/or distribute it, |
172 | 172 | $(RECURSIVE_CLEAN_TARGETS) \ |
173 | 173 | $(am__extra_recursive_targets) |
174 | 174 | 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 | |
176 | 176 | am__tagged_files = $(HEADERS) $(SOURCES) $(TAGS_FILES) \ |
177 | 177 | $(LISP)config.h.in |
178 | 178 | # Read a list of newline-separated strings from the standard input, |
459 | 459 | echo ' $(SHELL) ./config.status'; \ |
460 | 460 | $(SHELL) ./config.status;; \ |
461 | 461 | *) \ |
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);; \ | |
464 | 464 | esac; |
465 | 465 | $(top_srcdir)/admin/html.am $(am__empty): |
466 | 466 | |
629 | 629 | -rm -f cscope.out cscope.in.out cscope.po.out cscope.files |
630 | 630 | @MAINTAINER_MODE_FALSE@dist-hook: |
631 | 631 | |
632 | distdir: $(DISTFILES) | |
632 | distdir: $(BUILT_SOURCES) | |
633 | $(MAKE) $(AM_MAKEFLAGS) distdir-am | |
634 | ||
635 | distdir-am: $(DISTFILES) | |
633 | 636 | $(am__remove_distdir) |
634 | 637 | test -d "$(distdir)" || mkdir "$(distdir)" |
635 | 638 | @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ |
697 | 700 | ! -type d ! -perm -444 -exec $(install_sh) -c -m a+r {} {} \; \ |
698 | 701 | || chmod -R a+r "$(distdir)" |
699 | 702 | 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 | |
701 | 704 | $(am__post_remove_distdir) |
702 | 705 | |
703 | 706 | dist-bzip2: distdir |
723 | 726 | @echo WARNING: "Support for shar distribution archives is" \ |
724 | 727 | "deprecated." >&2 |
725 | 728 | @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 | |
727 | 730 | $(am__post_remove_distdir) |
728 | 731 | |
729 | 732 | dist-zip: distdir |
741 | 744 | distcheck: dist |
742 | 745 | case '$(DIST_ARCHIVES)' in \ |
743 | 746 | *.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) ;;\ | |
745 | 748 | *.tar.bz2*) \ |
746 | 749 | bzip2 -dc $(distdir).tar.bz2 | $(am__untar) ;;\ |
747 | 750 | *.tar.lz*) \ |
751 | 754 | *.tar.Z*) \ |
752 | 755 | uncompress -c $(distdir).tar.Z | $(am__untar) ;;\ |
753 | 756 | *.shar.gz*) \ |
754 | GZIP=$(GZIP_ENV) gzip -dc $(distdir).shar.gz | unshar ;;\ | |
757 | eval GZIP= gzip $(GZIP_ENV) -dc $(distdir).shar.gz | unshar ;;\ | |
755 | 758 | *.zip*) \ |
756 | 759 | unzip $(distdir).zip ;;\ |
757 | 760 | 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 | |
0 | 5 | v 3.3.5 Pop up no, Fix revert PIPE-8389 to fix PIPE-8461 |
1 | 6 | v 3.3.4 Pop up no, Fix PIPE-7986 |
2 | 7 | 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. | |
3 | 3 | |
4 | 4 | # This file is free software; the Free Software Foundation |
5 | 5 | # gives unlimited permission to copy and/or distribute it, |
19 | 19 | If you have problems, you may need to regenerate the build system entirely. |
20 | 20 | To do so, use the procedure documented by the package, typically 'autoreconf'.])]) |
21 | 21 | |
22 | # Copyright (C) 2002-2014 Free Software Foundation, Inc. | |
22 | # Copyright (C) 2002-2018 Free Software Foundation, Inc. | |
23 | 23 | # |
24 | 24 | # This file is free software; the Free Software Foundation |
25 | 25 | # gives unlimited permission to copy and/or distribute it, |
31 | 31 | # generated from the m4 files accompanying Automake X.Y. |
32 | 32 | # (This private macro should not be called outside this file.) |
33 | 33 | AC_DEFUN([AM_AUTOMAKE_VERSION], |
34 | [am__api_version='1.15' | |
34 | [am__api_version='1.16' | |
35 | 35 | dnl Some users find AM_AUTOMAKE_VERSION and mistake it for a way to |
36 | 36 | dnl require some minimum version. Point them to the right macro. |
37 | m4_if([$1], [1.15], [], | |
37 | m4_if([$1], [1.16.1], [], | |
38 | 38 | [AC_FATAL([Do not call $0, use AM_INIT_AUTOMAKE([$1]).])])dnl |
39 | 39 | ]) |
40 | 40 | |
50 | 50 | # Call AM_AUTOMAKE_VERSION and AM_AUTOMAKE_VERSION so they can be traced. |
51 | 51 | # This function is AC_REQUIREd by AM_INIT_AUTOMAKE. |
52 | 52 | AC_DEFUN([AM_SET_CURRENT_AUTOMAKE_VERSION], |
53 | [AM_AUTOMAKE_VERSION([1.15])dnl | |
53 | [AM_AUTOMAKE_VERSION([1.16.1])dnl | |
54 | 54 | m4_ifndef([AC_AUTOCONF_VERSION], |
55 | 55 | [m4_copy([m4_PACKAGE_VERSION], [AC_AUTOCONF_VERSION])])dnl |
56 | 56 | _AM_AUTOCONF_VERSION(m4_defn([AC_AUTOCONF_VERSION]))]) |
57 | 57 | |
58 | 58 | # AM_AUX_DIR_EXPAND -*- Autoconf -*- |
59 | 59 | |
60 | # Copyright (C) 2001-2014 Free Software Foundation, Inc. | |
60 | # Copyright (C) 2001-2018 Free Software Foundation, Inc. | |
61 | 61 | # |
62 | 62 | # This file is free software; the Free Software Foundation |
63 | 63 | # gives unlimited permission to copy and/or distribute it, |
109 | 109 | |
110 | 110 | # AM_CONDITIONAL -*- Autoconf -*- |
111 | 111 | |
112 | # Copyright (C) 1997-2014 Free Software Foundation, Inc. | |
112 | # Copyright (C) 1997-2018 Free Software Foundation, Inc. | |
113 | 113 | # |
114 | 114 | # This file is free software; the Free Software Foundation |
115 | 115 | # gives unlimited permission to copy and/or distribute it, |
140 | 140 | Usually this means the macro was only invoked conditionally.]]) |
141 | 141 | fi])]) |
142 | 142 | |
143 | # Copyright (C) 1999-2014 Free Software Foundation, Inc. | |
143 | # Copyright (C) 1999-2018 Free Software Foundation, Inc. | |
144 | 144 | # |
145 | 145 | # This file is free software; the Free Software Foundation |
146 | 146 | # gives unlimited permission to copy and/or distribute it, |
331 | 331 | |
332 | 332 | # Generate code to set up dependency tracking. -*- Autoconf -*- |
333 | 333 | |
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. | |
340 | 339 | |
341 | 340 | # _AM_OUTPUT_DEPENDENCY_COMMANDS |
342 | 341 | # ------------------------------ |
345 | 344 | # Older Autoconf quotes --file arguments for eval, but not when files |
346 | 345 | # are listed without --file. Let's play safe and only enable the eval |
347 | 346 | # 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]) | |
352 | 352 | shift |
353 | for mf | |
353 | # Used to flag and report bootstrapping failures. | |
354 | am_rc=0 | |
355 | for am_mf | |
354 | 356 | do |
355 | 357 | # 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 | |
363 | 362 | # 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=$? | |
390 | 370 | 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 | |
391 | 382 | } |
392 | 383 | ])# _AM_OUTPUT_DEPENDENCY_COMMANDS |
393 | 384 | |
396 | 387 | # ----------------------------- |
397 | 388 | # This macro should only be invoked once -- use via AC_REQUIRE. |
398 | 389 | # |
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. | |
402 | 393 | AC_DEFUN([AM_OUTPUT_DEPENDENCY_COMMANDS], |
403 | 394 | [AC_CONFIG_COMMANDS([depfiles], |
404 | 395 | [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. | |
410 | 400 | # |
411 | 401 | # This file is free software; the Free Software Foundation |
412 | 402 | # gives unlimited permission to copy and/or distribute it, |
430 | 420 | |
431 | 421 | # Do all the work for Automake. -*- Autoconf -*- |
432 | 422 | |
433 | # Copyright (C) 1996-2014 Free Software Foundation, Inc. | |
423 | # Copyright (C) 1996-2018 Free Software Foundation, Inc. | |
434 | 424 | # |
435 | 425 | # This file is free software; the Free Software Foundation |
436 | 426 | # gives unlimited permission to copy and/or distribute it, |
517 | 507 | AC_REQUIRE([AC_PROG_MKDIR_P])dnl |
518 | 508 | # For better backward compatibility. To be removed once Automake 1.9.x |
519 | 509 | # 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> | |
522 | 512 | AC_SUBST([mkdir_p], ['$(MKDIR_P)']) |
523 | 513 | # We need awk for the "check" target (and possibly the TAP driver). The |
524 | 514 | # system "awk" is bad on some platforms. |
585 | 575 | Aborting the configuration process, to ensure you take notice of the issue. |
586 | 576 | |
587 | 577 | 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/>. | |
589 | 579 | |
590 | 580 | If you want to complete the configuration process using your problematic |
591 | 581 | 'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM |
627 | 617 | done |
628 | 618 | echo "timestamp for $_am_arg" >`AS_DIRNAME(["$_am_arg"])`/stamp-h[]$_am_stamp_count]) |
629 | 619 | |
630 | # Copyright (C) 2001-2014 Free Software Foundation, Inc. | |
620 | # Copyright (C) 2001-2018 Free Software Foundation, Inc. | |
631 | 621 | # |
632 | 622 | # This file is free software; the Free Software Foundation |
633 | 623 | # gives unlimited permission to copy and/or distribute it, |
648 | 638 | fi |
649 | 639 | AC_SUBST([install_sh])]) |
650 | 640 | |
651 | # Copyright (C) 2003-2014 Free Software Foundation, Inc. | |
641 | # Copyright (C) 2003-2018 Free Software Foundation, Inc. | |
652 | 642 | # |
653 | 643 | # This file is free software; the Free Software Foundation |
654 | 644 | # gives unlimited permission to copy and/or distribute it, |
670 | 660 | # Add --enable-maintainer-mode option to configure. -*- Autoconf -*- |
671 | 661 | # From Jim Meyering |
672 | 662 | |
673 | # Copyright (C) 1996-2014 Free Software Foundation, Inc. | |
663 | # Copyright (C) 1996-2018 Free Software Foundation, Inc. | |
674 | 664 | # |
675 | 665 | # This file is free software; the Free Software Foundation |
676 | 666 | # gives unlimited permission to copy and/or distribute it, |
705 | 695 | |
706 | 696 | # Check to see how 'make' treats includes. -*- Autoconf -*- |
707 | 697 | |
708 | # Copyright (C) 2001-2014 Free Software Foundation, Inc. | |
698 | # Copyright (C) 2001-2018 Free Software Foundation, Inc. | |
709 | 699 | # |
710 | 700 | # This file is free software; the Free Software Foundation |
711 | 701 | # gives unlimited permission to copy and/or distribute it, |
713 | 703 | |
714 | 704 | # AM_MAKE_INCLUDE() |
715 | 705 | # ----------------- |
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. | |
717 | 708 | 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' | |
720 | 711 | am__doit: |
721 | @echo this is the am__doit target | |
712 | @echo this is the am__doit target >confinc.out | |
722 | 713 | .PHONY: am__doit |
723 | 714 | 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]) | |
726 | 715 | am__include="#" |
727 | 716 | 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])]) | |
755 | 738 | |
756 | 739 | # Fake the existence of programs that GNU maintainers use. -*- Autoconf -*- |
757 | 740 | |
758 | # Copyright (C) 1997-2014 Free Software Foundation, Inc. | |
741 | # Copyright (C) 1997-2018 Free Software Foundation, Inc. | |
759 | 742 | # |
760 | 743 | # This file is free software; the Free Software Foundation |
761 | 744 | # gives unlimited permission to copy and/or distribute it, |
794 | 777 | |
795 | 778 | # Helper functions for option handling. -*- Autoconf -*- |
796 | 779 | |
797 | # Copyright (C) 2001-2014 Free Software Foundation, Inc. | |
780 | # Copyright (C) 2001-2018 Free Software Foundation, Inc. | |
798 | 781 | # |
799 | 782 | # This file is free software; the Free Software Foundation |
800 | 783 | # gives unlimited permission to copy and/or distribute it, |
823 | 806 | AC_DEFUN([_AM_IF_OPTION], |
824 | 807 | [m4_ifset(_AM_MANGLE_OPTION([$1]), [$2], [$3])]) |
825 | 808 | |
826 | # Copyright (C) 1999-2014 Free Software Foundation, Inc. | |
809 | # Copyright (C) 1999-2018 Free Software Foundation, Inc. | |
827 | 810 | # |
828 | 811 | # This file is free software; the Free Software Foundation |
829 | 812 | # gives unlimited permission to copy and/or distribute it, |
870 | 853 | # For backward compatibility. |
871 | 854 | AC_DEFUN_ONCE([AM_PROG_CC_C_O], [AC_REQUIRE([AC_PROG_CC])]) |
872 | 855 | |
873 | # Copyright (C) 2001-2014 Free Software Foundation, Inc. | |
856 | # Copyright (C) 2001-2018 Free Software Foundation, Inc. | |
874 | 857 | # |
875 | 858 | # This file is free software; the Free Software Foundation |
876 | 859 | # gives unlimited permission to copy and/or distribute it, |
889 | 872 | |
890 | 873 | # Check to make sure that the build environment is sane. -*- Autoconf -*- |
891 | 874 | |
892 | # Copyright (C) 1996-2014 Free Software Foundation, Inc. | |
875 | # Copyright (C) 1996-2018 Free Software Foundation, Inc. | |
893 | 876 | # |
894 | 877 | # This file is free software; the Free Software Foundation |
895 | 878 | # gives unlimited permission to copy and/or distribute it, |
970 | 953 | rm -f conftest.file |
971 | 954 | ]) |
972 | 955 | |
973 | # Copyright (C) 2009-2014 Free Software Foundation, Inc. | |
956 | # Copyright (C) 2009-2018 Free Software Foundation, Inc. | |
974 | 957 | # |
975 | 958 | # This file is free software; the Free Software Foundation |
976 | 959 | # gives unlimited permission to copy and/or distribute it, |
1030 | 1013 | _AM_SUBST_NOTMAKE([AM_BACKSLASH])dnl |
1031 | 1014 | ]) |
1032 | 1015 | |
1033 | # Copyright (C) 2001-2014 Free Software Foundation, Inc. | |
1016 | # Copyright (C) 2001-2018 Free Software Foundation, Inc. | |
1034 | 1017 | # |
1035 | 1018 | # This file is free software; the Free Software Foundation |
1036 | 1019 | # gives unlimited permission to copy and/or distribute it, |
1058 | 1041 | INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s" |
1059 | 1042 | AC_SUBST([INSTALL_STRIP_PROGRAM])]) |
1060 | 1043 | |
1061 | # Copyright (C) 2006-2014 Free Software Foundation, Inc. | |
1044 | # Copyright (C) 2006-2018 Free Software Foundation, Inc. | |
1062 | 1045 | # |
1063 | 1046 | # This file is free software; the Free Software Foundation |
1064 | 1047 | # gives unlimited permission to copy and/or distribute it, |
1077 | 1060 | |
1078 | 1061 | # Check how to create a tarball. -*- Autoconf -*- |
1079 | 1062 | |
1080 | # Copyright (C) 2004-2014 Free Software Foundation, Inc. | |
1063 | # Copyright (C) 2004-2018 Free Software Foundation, Inc. | |
1081 | 1064 | # |
1082 | 1065 | # This file is free software; the Free Software Foundation |
1083 | 1066 | # gives unlimited permission to copy and/or distribute it, |
0 | 0 | #! /bin/sh |
1 | 1 | # Wrapper for compilers which do not understand '-c -o'. |
2 | 2 | |
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. | |
6 | 6 | # Written by Tom Tromey <tromey@cygnus.com>. |
7 | 7 | # |
8 | 8 | # This program is free software; you can redistribute it and/or modify |
16 | 16 | # GNU General Public License for more details. |
17 | 17 | # |
18 | 18 | # 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/>. | |
20 | 20 | |
21 | 21 | # As a special exception to the GNU General Public License, if you |
22 | 22 | # distribute this file as part of a program that contains a |
254 | 254 | echo "compile $scriptversion" |
255 | 255 | exit $? |
256 | 256 | ;; |
257 | cl | *[/\\]cl | cl.exe | *[/\\]cl.exe ) | |
257 | cl | *[/\\]cl | cl.exe | *[/\\]cl.exe | \ | |
258 | icl | *[/\\]icl | icl.exe | *[/\\]icl.exe ) | |
258 | 259 | func_cl_wrapper "$@" # Doesn't return... |
259 | 260 | ;; |
260 | 261 | esac |
338 | 339 | # Local Variables: |
339 | 340 | # mode: shell-script |
340 | 341 | # sh-indentation: 2 |
341 | # eval: (add-hook 'write-file-hooks 'time-stamp) | |
342 | # eval: (add-hook 'before-save-hook 'time-stamp) | |
342 | 343 | # time-stamp-start: "scriptversion=" |
343 | 344 | # time-stamp-format: "%:y-%02m-%02d.%02H" |
344 | # time-stamp-time-zone: "UTC" | |
345 | # time-stamp-time-zone: "UTC0" | |
345 | 346 | # time-stamp-end: "; # UTC" |
346 | 347 | # End: |
0 | 0 | #! /bin/sh |
1 | 1 | # 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' | |
5 | 5 | |
6 | 6 | # This file is free software; you can redistribute it and/or modify it |
7 | 7 | # under the terms of the GNU General Public License as published by |
14 | 14 | # General Public License for more details. |
15 | 15 | # |
16 | 16 | # 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/>. | |
18 | 18 | # |
19 | 19 | # As a special exception to the GNU General Public License, if you |
20 | 20 | # distribute this file as part of a program that contains a |
26 | 26 | # Originally written by Per Bothner; maintained since 2000 by Ben Elliston. |
27 | 27 | # |
28 | 28 | # 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 | |
30 | 30 | # |
31 | 31 | # Please send patches to <config-patches@gnu.org>. |
32 | 32 | |
38 | 38 | |
39 | 39 | Output the configuration name of the system \`$me' is run on. |
40 | 40 | |
41 | Operation modes: | |
41 | Options: | |
42 | 42 | -h, --help print this help, then exit |
43 | 43 | -t, --time-stamp print date of last modification, then exit |
44 | 44 | -v, --version print version number, then exit |
49 | 49 | GNU config.guess ($timestamp) |
50 | 50 | |
51 | 51 | Originally written by Per Bothner. |
52 | Copyright 1992-2015 Free Software Foundation, Inc. | |
52 | Copyright 1992-2018 Free Software Foundation, Inc. | |
53 | 53 | |
54 | 54 | This is free software; see the source for copying conditions. There is NO |
55 | 55 | warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE." |
106 | 106 | dummy=$tmp/dummy ; |
107 | 107 | tmpfiles="$dummy.c $dummy.o $dummy.rel $dummy" ; |
108 | 108 | case $CC_FOR_BUILD,$HOST_CC,$CC in |
109 | ,,) echo "int x;" > $dummy.c ; | |
109 | ,,) echo "int x;" > "$dummy.c" ; | |
110 | 110 | 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 | |
112 | 112 | CC_FOR_BUILD="$c"; break ; |
113 | 113 | fi ; |
114 | 114 | done ; |
131 | 131 | UNAME_SYSTEM=`(uname -s) 2>/dev/null` || UNAME_SYSTEM=unknown |
132 | 132 | UNAME_VERSION=`(uname -v) 2>/dev/null` || UNAME_VERSION=unknown |
133 | 133 | |
134 | case "${UNAME_SYSTEM}" in | |
134 | case "$UNAME_SYSTEM" in | |
135 | 135 | Linux|GNU|GNU/*) |
136 | 136 | # If the system lacks a compiler, then just pick glibc. |
137 | 137 | # We could probably try harder. |
138 | 138 | LIBC=gnu |
139 | 139 | |
140 | eval $set_cc_for_build | |
141 | cat <<-EOF > $dummy.c | |
140 | eval "$set_cc_for_build" | |
141 | cat <<-EOF > "$dummy.c" | |
142 | 142 | #include <features.h> |
143 | 143 | #if defined(__UCLIBC__) |
144 | 144 | LIBC=uclibc |
148 | 148 | LIBC=gnu |
149 | 149 | #endif |
150 | 150 | 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 | |
152 | 159 | ;; |
153 | 160 | esac |
154 | 161 | |
155 | 162 | # Note: order is significant - the case branches are not exclusive. |
156 | 163 | |
157 | case "${UNAME_MACHINE}:${UNAME_SYSTEM}:${UNAME_RELEASE}:${UNAME_VERSION}" in | |
164 | case "$UNAME_MACHINE:$UNAME_SYSTEM:$UNAME_RELEASE:$UNAME_VERSION" in | |
158 | 165 | *:NetBSD:*:*) |
159 | 166 | # NetBSD (nbsd) targets should (where applicable) match one or |
160 | 167 | # more of the tuples: *-*-netbsdelf*, *-*-netbsdaout*, |
167 | 174 | # Note: NetBSD doesn't particularly care about the vendor |
168 | 175 | # portion of the name. We always set it to "unknown". |
169 | 176 | 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 | |
173 | 182 | armeb) machine=armeb-unknown ;; |
174 | 183 | arm*) machine=arm-unknown ;; |
175 | 184 | sh3el) machine=shl-unknown ;; |
176 | 185 | sh3eb) machine=sh-unknown ;; |
177 | 186 | 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 ;; | |
179 | 193 | esac |
180 | 194 | # 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 | ;; | |
183 | 200 | arm*|i386|m68k|ns32k|sh3*|sparc|vax) |
184 | eval $set_cc_for_build | |
201 | eval "$set_cc_for_build" | |
185 | 202 | if echo __ELF__ | $CC_FOR_BUILD -E - 2>/dev/null \ |
186 | 203 | | grep -q __ELF__ |
187 | 204 | then |
196 | 213 | os=netbsd |
197 | 214 | ;; |
198 | 215 | 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 | |
199 | 223 | # The OS release |
200 | 224 | # Debian GNU/NetBSD machines have a different userland, and |
201 | 225 | # thus, need a distinct triplet. However, they do not need |
202 | 226 | # kernel version information, so it can be replaced with a |
203 | 227 | # suitable tag, in the style of linux-gnu. |
204 | case "${UNAME_VERSION}" in | |
228 | case "$UNAME_VERSION" in | |
205 | 229 | Debian*) |
206 | 230 | release='-gnu' |
207 | 231 | ;; |
208 | 232 | *) |
209 | release=`echo ${UNAME_RELEASE}|sed -e 's/[-_].*/\./'` | |
233 | release=`echo "$UNAME_RELEASE" | sed -e 's/[-_].*//' | cut -d. -f1,2` | |
210 | 234 | ;; |
211 | 235 | esac |
212 | 236 | # Since CPU_TYPE-MANUFACTURER-KERNEL-OPERATING_SYSTEM: |
213 | 237 | # contains redundant information, the shorter form: |
214 | 238 | # CPU_TYPE-MANUFACTURER-OPERATING_SYSTEM is used. |
215 | echo "${machine}-${os}${release}" | |
239 | echo "$machine-${os}${release}${abi}" | |
216 | 240 | exit ;; |
217 | 241 | *:Bitrig:*:*) |
218 | 242 | 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" | |
220 | 244 | exit ;; |
221 | 245 | *:OpenBSD:*:*) |
222 | 246 | 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" | |
224 | 255 | exit ;; |
225 | 256 | *:ekkoBSD:*:*) |
226 | echo ${UNAME_MACHINE}-unknown-ekkobsd${UNAME_RELEASE} | |
257 | echo "$UNAME_MACHINE"-unknown-ekkobsd"$UNAME_RELEASE" | |
227 | 258 | exit ;; |
228 | 259 | *:SolidBSD:*:*) |
229 | echo ${UNAME_MACHINE}-unknown-solidbsd${UNAME_RELEASE} | |
260 | echo "$UNAME_MACHINE"-unknown-solidbsd"$UNAME_RELEASE" | |
230 | 261 | exit ;; |
231 | 262 | macppc:MirBSD:*:*) |
232 | echo powerpc-unknown-mirbsd${UNAME_RELEASE} | |
263 | echo powerpc-unknown-mirbsd"$UNAME_RELEASE" | |
233 | 264 | exit ;; |
234 | 265 | *: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 ;; | |
237 | 277 | alpha:OSF1:*:*) |
238 | 278 | case $UNAME_RELEASE in |
239 | 279 | *4.0) |
250 | 290 | ALPHA_CPU_TYPE=`/usr/sbin/psrinfo -v | sed -n -e 's/^ The alpha \(.*\) processor.*$/\1/p' | head -n 1` |
251 | 291 | case "$ALPHA_CPU_TYPE" in |
252 | 292 | "EV4 (21064)") |
253 | UNAME_MACHINE="alpha" ;; | |
293 | UNAME_MACHINE=alpha ;; | |
254 | 294 | "EV4.5 (21064)") |
255 | UNAME_MACHINE="alpha" ;; | |
295 | UNAME_MACHINE=alpha ;; | |
256 | 296 | "LCA4 (21066/21068)") |
257 | UNAME_MACHINE="alpha" ;; | |
297 | UNAME_MACHINE=alpha ;; | |
258 | 298 | "EV5 (21164)") |
259 | UNAME_MACHINE="alphaev5" ;; | |
299 | UNAME_MACHINE=alphaev5 ;; | |
260 | 300 | "EV5.6 (21164A)") |
261 | UNAME_MACHINE="alphaev56" ;; | |
301 | UNAME_MACHINE=alphaev56 ;; | |
262 | 302 | "EV5.6 (21164PC)") |
263 | UNAME_MACHINE="alphapca56" ;; | |
303 | UNAME_MACHINE=alphapca56 ;; | |
264 | 304 | "EV5.7 (21164PC)") |
265 | UNAME_MACHINE="alphapca57" ;; | |
305 | UNAME_MACHINE=alphapca57 ;; | |
266 | 306 | "EV6 (21264)") |
267 | UNAME_MACHINE="alphaev6" ;; | |
307 | UNAME_MACHINE=alphaev6 ;; | |
268 | 308 | "EV6.7 (21264A)") |
269 | UNAME_MACHINE="alphaev67" ;; | |
309 | UNAME_MACHINE=alphaev67 ;; | |
270 | 310 | "EV6.8CB (21264C)") |
271 | UNAME_MACHINE="alphaev68" ;; | |
311 | UNAME_MACHINE=alphaev68 ;; | |
272 | 312 | "EV6.8AL (21264B)") |
273 | UNAME_MACHINE="alphaev68" ;; | |
313 | UNAME_MACHINE=alphaev68 ;; | |
274 | 314 | "EV6.8CX (21264D)") |
275 | UNAME_MACHINE="alphaev68" ;; | |
315 | UNAME_MACHINE=alphaev68 ;; | |
276 | 316 | "EV6.9A (21264/EV69A)") |
277 | UNAME_MACHINE="alphaev69" ;; | |
317 | UNAME_MACHINE=alphaev69 ;; | |
278 | 318 | "EV7 (21364)") |
279 | UNAME_MACHINE="alphaev7" ;; | |
319 | UNAME_MACHINE=alphaev7 ;; | |
280 | 320 | "EV7.9 (21364A)") |
281 | UNAME_MACHINE="alphaev79" ;; | |
321 | UNAME_MACHINE=alphaev79 ;; | |
282 | 322 | esac |
283 | 323 | # A Pn.n version is a patched version. |
284 | 324 | # A Vn.n version is a released version. |
285 | 325 | # A Tn.n version is a released field test version. |
286 | 326 | # A Xn.n version is an unreleased experimental baselevel. |
287 | 327 | # 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`" | |
289 | 329 | # Reset EXIT trap before exiting to avoid spurious non-zero exit code. |
290 | 330 | exitcode=$? |
291 | 331 | trap '' 0 |
292 | 332 | 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 ;; | |
302 | 333 | Amiga*:UNIX_System_V:4.0:*) |
303 | 334 | echo m68k-unknown-sysv4 |
304 | 335 | exit ;; |
305 | 336 | *:[Aa]miga[Oo][Ss]:*:*) |
306 | echo ${UNAME_MACHINE}-unknown-amigaos | |
337 | echo "$UNAME_MACHINE"-unknown-amigaos | |
307 | 338 | exit ;; |
308 | 339 | *:[Mm]orph[Oo][Ss]:*:*) |
309 | echo ${UNAME_MACHINE}-unknown-morphos | |
340 | echo "$UNAME_MACHINE"-unknown-morphos | |
310 | 341 | exit ;; |
311 | 342 | *:OS/390:*:*) |
312 | 343 | echo i370-ibm-openedition |
318 | 349 | echo powerpc-ibm-os400 |
319 | 350 | exit ;; |
320 | 351 | arm:RISC*:1.[012]*:*|arm:riscix:1.[012]*:*) |
321 | echo arm-acorn-riscix${UNAME_RELEASE} | |
352 | echo arm-acorn-riscix"$UNAME_RELEASE" | |
322 | 353 | exit ;; |
323 | 354 | arm*:riscos:*:*|arm*:RISCOS:*:*) |
324 | 355 | echo arm-unknown-riscos |
345 | 376 | sparc) echo sparc-icl-nx7; exit ;; |
346 | 377 | esac ;; |
347 | 378 | 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/[^.]*//'`" | |
349 | 380 | exit ;; |
350 | 381 | 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/[^.]*//'`" | |
352 | 383 | exit ;; |
353 | 384 | 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/[^.]*//'`" | |
355 | 386 | exit ;; |
356 | 387 | i86pc:AuroraUX:5.*:* | i86xen:AuroraUX:5.*:*) |
357 | echo i386-pc-auroraux${UNAME_RELEASE} | |
388 | echo i386-pc-auroraux"$UNAME_RELEASE" | |
358 | 389 | exit ;; |
359 | 390 | 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 | |
362 | 393 | # If there is a compiler, see if it is configured for 64-bit objects. |
363 | 394 | # Note that the Sun cc does not turn __LP64__ into 1 like gcc does. |
364 | 395 | # This test works for both compilers. |
365 | if [ "$CC_FOR_BUILD" != 'no_compiler_found' ]; then | |
396 | if [ "$CC_FOR_BUILD" != no_compiler_found ]; then | |
366 | 397 | 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) | \ | |
368 | 399 | grep IS_64BIT_ARCH >/dev/null |
369 | 400 | then |
370 | SUN_ARCH="x86_64" | |
401 | SUN_ARCH=x86_64 | |
371 | 402 | fi |
372 | 403 | 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/[^.]*//'`" | |
374 | 405 | exit ;; |
375 | 406 | sun4*:SunOS:6*:*) |
376 | 407 | # According to config.sub, this is the proper way to canonicalize |
377 | 408 | # SunOS6. Hard to guess exactly what SunOS6 will be like, but |
378 | 409 | # 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/[^.]*//'`" | |
380 | 411 | exit ;; |
381 | 412 | sun4*:SunOS:*:*) |
382 | 413 | case "`/usr/bin/arch -k`" in |
385 | 416 | ;; |
386 | 417 | esac |
387 | 418 | # 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/-/_/'`" | |
389 | 420 | exit ;; |
390 | 421 | sun3*:SunOS:*:*) |
391 | echo m68k-sun-sunos${UNAME_RELEASE} | |
422 | echo m68k-sun-sunos"$UNAME_RELEASE" | |
392 | 423 | exit ;; |
393 | 424 | sun*:*:4.2BSD:*) |
394 | 425 | 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 | |
396 | 427 | case "`/bin/arch`" in |
397 | 428 | sun3) |
398 | echo m68k-sun-sunos${UNAME_RELEASE} | |
429 | echo m68k-sun-sunos"$UNAME_RELEASE" | |
399 | 430 | ;; |
400 | 431 | sun4) |
401 | echo sparc-sun-sunos${UNAME_RELEASE} | |
432 | echo sparc-sun-sunos"$UNAME_RELEASE" | |
402 | 433 | ;; |
403 | 434 | esac |
404 | 435 | exit ;; |
405 | 436 | aushp:SunOS:*:*) |
406 | echo sparc-auspex-sunos${UNAME_RELEASE} | |
437 | echo sparc-auspex-sunos"$UNAME_RELEASE" | |
407 | 438 | exit ;; |
408 | 439 | # The situation for MiNT is a little confusing. The machine name |
409 | 440 | # can be virtually everything (everything which is not |
414 | 445 | # MiNT. But MiNT is downward compatible to TOS, so this should |
415 | 446 | # be no problem. |
416 | 447 | atarist[e]:*MiNT:*:* | atarist[e]:*mint:*:* | atarist[e]:*TOS:*:*) |
417 | echo m68k-atari-mint${UNAME_RELEASE} | |
448 | echo m68k-atari-mint"$UNAME_RELEASE" | |
418 | 449 | exit ;; |
419 | 450 | atari*:*MiNT:*:* | atari*:*mint:*:* | atarist[e]:*TOS:*:*) |
420 | echo m68k-atari-mint${UNAME_RELEASE} | |
451 | echo m68k-atari-mint"$UNAME_RELEASE" | |
421 | 452 | exit ;; |
422 | 453 | *falcon*:*MiNT:*:* | *falcon*:*mint:*:* | *falcon*:*TOS:*:*) |
423 | echo m68k-atari-mint${UNAME_RELEASE} | |
454 | echo m68k-atari-mint"$UNAME_RELEASE" | |
424 | 455 | exit ;; |
425 | 456 | milan*:*MiNT:*:* | milan*:*mint:*:* | *milan*:*TOS:*:*) |
426 | echo m68k-milan-mint${UNAME_RELEASE} | |
457 | echo m68k-milan-mint"$UNAME_RELEASE" | |
427 | 458 | exit ;; |
428 | 459 | hades*:*MiNT:*:* | hades*:*mint:*:* | *hades*:*TOS:*:*) |
429 | echo m68k-hades-mint${UNAME_RELEASE} | |
460 | echo m68k-hades-mint"$UNAME_RELEASE" | |
430 | 461 | exit ;; |
431 | 462 | *:*MiNT:*:* | *:*mint:*:* | *:*TOS:*:*) |
432 | echo m68k-unknown-mint${UNAME_RELEASE} | |
463 | echo m68k-unknown-mint"$UNAME_RELEASE" | |
433 | 464 | exit ;; |
434 | 465 | m68k:machten:*:*) |
435 | echo m68k-apple-machten${UNAME_RELEASE} | |
466 | echo m68k-apple-machten"$UNAME_RELEASE" | |
436 | 467 | exit ;; |
437 | 468 | powerpc:machten:*:*) |
438 | echo powerpc-apple-machten${UNAME_RELEASE} | |
469 | echo powerpc-apple-machten"$UNAME_RELEASE" | |
439 | 470 | exit ;; |
440 | 471 | RISC*:Mach:*:*) |
441 | 472 | echo mips-dec-mach_bsd4.3 |
442 | 473 | exit ;; |
443 | 474 | RISC*:ULTRIX:*:*) |
444 | echo mips-dec-ultrix${UNAME_RELEASE} | |
475 | echo mips-dec-ultrix"$UNAME_RELEASE" | |
445 | 476 | exit ;; |
446 | 477 | VAX*:ULTRIX*:*:*) |
447 | echo vax-dec-ultrix${UNAME_RELEASE} | |
478 | echo vax-dec-ultrix"$UNAME_RELEASE" | |
448 | 479 | exit ;; |
449 | 480 | 2020:CLIX:*:* | 2430:CLIX:*:*) |
450 | echo clipper-intergraph-clix${UNAME_RELEASE} | |
481 | echo clipper-intergraph-clix"$UNAME_RELEASE" | |
451 | 482 | exit ;; |
452 | 483 | 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" | |
455 | 486 | #ifdef __cplusplus |
456 | 487 | #include <stdio.h> /* for printf() prototype */ |
457 | 488 | int main (int argc, char *argv[]) { |
460 | 491 | #endif |
461 | 492 | #if defined (host_mips) && defined (MIPSEB) |
462 | 493 | #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); | |
464 | 495 | #endif |
465 | 496 | #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); | |
467 | 498 | #endif |
468 | 499 | #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); | |
470 | 501 | #endif |
471 | 502 | #endif |
472 | 503 | exit (-1); |
473 | 504 | } |
474 | 505 | 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"` && | |
478 | 509 | { echo "$SYSTEM_NAME"; exit; } |
479 | echo mips-mips-riscos${UNAME_RELEASE} | |
510 | echo mips-mips-riscos"$UNAME_RELEASE" | |
480 | 511 | exit ;; |
481 | 512 | Motorola:PowerMAX_OS:*:*) |
482 | 513 | echo powerpc-motorola-powermax |
502 | 533 | AViiON:dgux:*:*) |
503 | 534 | # DG/UX returns AViiON for all architectures |
504 | 535 | UNAME_PROCESSOR=`/usr/bin/uname -p` |
505 | if [ $UNAME_PROCESSOR = mc88100 ] || [ $UNAME_PROCESSOR = mc88110 ] | |
536 | if [ "$UNAME_PROCESSOR" = mc88100 ] || [ "$UNAME_PROCESSOR" = mc88110 ] | |
506 | 537 | 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 ] | |
509 | 540 | then |
510 | echo m88k-dg-dgux${UNAME_RELEASE} | |
541 | echo m88k-dg-dgux"$UNAME_RELEASE" | |
511 | 542 | else |
512 | echo m88k-dg-dguxbcs${UNAME_RELEASE} | |
543 | echo m88k-dg-dguxbcs"$UNAME_RELEASE" | |
513 | 544 | fi |
514 | 545 | else |
515 | echo i586-dg-dgux${UNAME_RELEASE} | |
546 | echo i586-dg-dgux"$UNAME_RELEASE" | |
516 | 547 | fi |
517 | 548 | exit ;; |
518 | 549 | M88*:DolphinOS:*:*) # DolphinOS (SVR3) |
529 | 560 | echo m68k-tektronix-bsd |
530 | 561 | exit ;; |
531 | 562 | *: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'`" | |
533 | 564 | exit ;; |
534 | 565 | ????????:AIX?:[12].1:2) # AIX 2.2.1 or AIX 2.1.1 is RT/PC AIX. |
535 | 566 | echo romp-ibm-aix # uname -m gives an 8 hex-code CPU id |
541 | 572 | if [ -x /usr/bin/oslevel ] ; then |
542 | 573 | IBM_REV=`/usr/bin/oslevel` |
543 | 574 | 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" | |
547 | 578 | exit ;; |
548 | 579 | *:AIX:2:3) |
549 | 580 | 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" | |
552 | 583 | #include <sys/systemcfg.h> |
553 | 584 | |
554 | 585 | main() |
559 | 590 | exit(0); |
560 | 591 | } |
561 | 592 | 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"` | |
563 | 594 | then |
564 | 595 | echo "$SYSTEM_NAME" |
565 | 596 | else |
573 | 604 | exit ;; |
574 | 605 | *:AIX:*:[4567]) |
575 | 606 | 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 | |
577 | 608 | IBM_ARCH=rs6000 |
578 | 609 | else |
579 | 610 | IBM_ARCH=powerpc |
582 | 613 | IBM_REV=`/usr/bin/lslpp -Lqc bos.rte.libc | |
583 | 614 | awk -F: '{ print $3 }' | sed s/[0-9]*$/0/` |
584 | 615 | 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" | |
588 | 619 | exit ;; |
589 | 620 | *:AIX:*:*) |
590 | 621 | echo rs6000-ibm-aix |
591 | 622 | exit ;; |
592 | ibmrt:4.4BSD:*|romp-ibm:BSD:*) | |
623 | ibmrt:4.4BSD:*|romp-ibm:4.4BSD:*) | |
593 | 624 | echo romp-ibm-bsd4.4 |
594 | 625 | exit ;; |
595 | 626 | 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 | |
597 | 628 | exit ;; # report: romp-ibm BSD 4.3 |
598 | 629 | *:BOSX:*:*) |
599 | 630 | echo rs6000-bull-bosx |
608 | 639 | echo m68k-hp-bsd4.4 |
609 | 640 | exit ;; |
610 | 641 | 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 ;; | |
615 | 646 | 9000/[678][0-9][0-9]) |
616 | 647 | if [ -x /usr/bin/getconf ]; then |
617 | 648 | sc_cpu_version=`/usr/bin/getconf SC_CPU_VERSION 2>/dev/null` |
618 | 649 | 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 | |
622 | 653 | 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 | |
627 | 658 | esac ;; |
628 | 659 | esac |
629 | 660 | 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" | |
633 | 664 | |
634 | 665 | #define _HPUX_SOURCE |
635 | 666 | #include <stdlib.h> |
662 | 693 | exit (0); |
663 | 694 | } |
664 | 695 | 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"` | |
666 | 697 | test -z "$HP_ARCH" && HP_ARCH=hppa |
667 | 698 | fi ;; |
668 | 699 | esac |
669 | if [ ${HP_ARCH} = "hppa2.0w" ] | |
700 | if [ "$HP_ARCH" = hppa2.0w ] | |
670 | 701 | then |
671 | eval $set_cc_for_build | |
702 | eval "$set_cc_for_build" | |
672 | 703 | |
673 | 704 | # hppa2.0w-hp-hpux* has a 64-bit kernel and a compiler generating |
674 | 705 | # 32-bit code. hppa64-hp-hpux* has the same kernel and a compiler |
679 | 710 | # $ CC_FOR_BUILD="cc +DA2.0w" ./config.guess |
680 | 711 | # => hppa64-hp-hpux11.23 |
681 | 712 | |
682 | if echo __LP64__ | (CCOPTS= $CC_FOR_BUILD -E - 2>/dev/null) | | |
713 | if echo __LP64__ | (CCOPTS="" $CC_FOR_BUILD -E - 2>/dev/null) | | |
683 | 714 | grep -q __LP64__ |
684 | 715 | then |
685 | HP_ARCH="hppa2.0w" | |
716 | HP_ARCH=hppa2.0w | |
686 | 717 | else |
687 | HP_ARCH="hppa64" | |
718 | HP_ARCH=hppa64 | |
688 | 719 | fi |
689 | 720 | fi |
690 | echo ${HP_ARCH}-hp-hpux${HPUX_REV} | |
721 | echo "$HP_ARCH"-hp-hpux"$HPUX_REV" | |
691 | 722 | exit ;; |
692 | 723 | 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" | |
695 | 726 | exit ;; |
696 | 727 | 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" | |
699 | 730 | #include <unistd.h> |
700 | 731 | int |
701 | 732 | main () |
720 | 751 | exit (0); |
721 | 752 | } |
722 | 753 | EOF |
723 | $CC_FOR_BUILD -o $dummy $dummy.c && SYSTEM_NAME=`$dummy` && | |
754 | $CC_FOR_BUILD -o "$dummy" "$dummy.c" && SYSTEM_NAME=`"$dummy"` && | |
724 | 755 | { echo "$SYSTEM_NAME"; exit; } |
725 | 756 | echo unknown-hitachi-hiuxwe2 |
726 | 757 | exit ;; |
727 | 9000/7??:4.3bsd:*:* | 9000/8?[79]:4.3bsd:*:* ) | |
758 | 9000/7??:4.3bsd:*:* | 9000/8?[79]:4.3bsd:*:*) | |
728 | 759 | echo hppa1.1-hp-bsd |
729 | 760 | exit ;; |
730 | 761 | 9000/8??:4.3bsd:*:*) |
733 | 764 | *9??*:MPE/iX:*:* | *3000*:MPE/iX:*:*) |
734 | 765 | echo hppa1.0-hp-mpeix |
735 | 766 | exit ;; |
736 | hp7??:OSF1:*:* | hp8?[79]:OSF1:*:* ) | |
767 | hp7??:OSF1:*:* | hp8?[79]:OSF1:*:*) | |
737 | 768 | echo hppa1.1-hp-osf |
738 | 769 | exit ;; |
739 | 770 | hp8??:OSF1:*:*) |
741 | 772 | exit ;; |
742 | 773 | i*86:OSF1:*:*) |
743 | 774 | if [ -x /usr/sbin/sysversion ] ; then |
744 | echo ${UNAME_MACHINE}-unknown-osf1mk | |
775 | echo "$UNAME_MACHINE"-unknown-osf1mk | |
745 | 776 | else |
746 | echo ${UNAME_MACHINE}-unknown-osf1 | |
777 | echo "$UNAME_MACHINE"-unknown-osf1 | |
747 | 778 | fi |
748 | 779 | exit ;; |
749 | 780 | parisc*:Lites*:*:*) |
768 | 799 | echo c4-convex-bsd |
769 | 800 | exit ;; |
770 | 801 | 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/' | |
772 | 803 | exit ;; |
773 | 804 | CRAY*[A-Z]90:*:*:*) |
774 | echo ${UNAME_MACHINE}-cray-unicos${UNAME_RELEASE} \ | |
805 | echo "$UNAME_MACHINE"-cray-unicos"$UNAME_RELEASE" \ | |
775 | 806 | | sed -e 's/CRAY.*\([A-Z]90\)/\1/' \ |
776 | 807 | -e y/ABCDEFGHIJKLMNOPQRSTUVWXYZ/abcdefghijklmnopqrstuvwxyz/ \ |
777 | 808 | -e 's/\.[^.]*$/.X/' |
778 | 809 | exit ;; |
779 | 810 | CRAY*TS:*:*:*) |
780 | echo t90-cray-unicos${UNAME_RELEASE} | sed -e 's/\.[^.]*$/.X/' | |
811 | echo t90-cray-unicos"$UNAME_RELEASE" | sed -e 's/\.[^.]*$/.X/' | |
781 | 812 | exit ;; |
782 | 813 | CRAY*T3E:*:*:*) |
783 | echo alphaev5-cray-unicosmk${UNAME_RELEASE} | sed -e 's/\.[^.]*$/.X/' | |
814 | echo alphaev5-cray-unicosmk"$UNAME_RELEASE" | sed -e 's/\.[^.]*$/.X/' | |
784 | 815 | exit ;; |
785 | 816 | CRAY*SV1:*:*:*) |
786 | echo sv1-cray-unicos${UNAME_RELEASE} | sed -e 's/\.[^.]*$/.X/' | |
817 | echo sv1-cray-unicos"$UNAME_RELEASE" | sed -e 's/\.[^.]*$/.X/' | |
787 | 818 | exit ;; |
788 | 819 | *:UNICOS/mp:*:*) |
789 | echo craynv-cray-unicosmp${UNAME_RELEASE} | sed -e 's/\.[^.]*$/.X/' | |
820 | echo craynv-cray-unicosmp"$UNAME_RELEASE" | sed -e 's/\.[^.]*$/.X/' | |
790 | 821 | exit ;; |
791 | 822 | 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/ /_/'` | |
795 | 826 | echo "${FUJITSU_PROC}-fujitsu-${FUJITSU_SYS}${FUJITSU_REL}" |
796 | 827 | exit ;; |
797 | 828 | 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/ /_/'` | |
800 | 831 | echo "sparc-fujitsu-${FUJITSU_SYS}${FUJITSU_REL}" |
801 | 832 | exit ;; |
802 | 833 | 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" | |
804 | 835 | exit ;; |
805 | 836 | sparc*:BSD/OS:*:*) |
806 | echo sparc-unknown-bsdi${UNAME_RELEASE} | |
837 | echo sparc-unknown-bsdi"$UNAME_RELEASE" | |
807 | 838 | exit ;; |
808 | 839 | *:BSD/OS:*:*) |
809 | echo ${UNAME_MACHINE}-unknown-bsdi${UNAME_RELEASE} | |
840 | echo "$UNAME_MACHINE"-unknown-bsdi"$UNAME_RELEASE" | |
810 | 841 | exit ;; |
811 | 842 | *:FreeBSD:*:*) |
812 | 843 | UNAME_PROCESSOR=`/usr/bin/uname -p` |
813 | case ${UNAME_PROCESSOR} in | |
844 | case "$UNAME_PROCESSOR" in | |
814 | 845 | 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 ;; | |
818 | 849 | esac |
850 | echo "$UNAME_PROCESSOR"-unknown-freebsd"`echo "$UNAME_RELEASE"|sed -e 's/[-(].*//'`" | |
819 | 851 | exit ;; |
820 | 852 | i*:CYGWIN*:*) |
821 | echo ${UNAME_MACHINE}-pc-cygwin | |
853 | echo "$UNAME_MACHINE"-pc-cygwin | |
822 | 854 | exit ;; |
823 | 855 | *:MINGW64*:*) |
824 | echo ${UNAME_MACHINE}-pc-mingw64 | |
856 | echo "$UNAME_MACHINE"-pc-mingw64 | |
825 | 857 | exit ;; |
826 | 858 | *:MINGW*:*) |
827 | echo ${UNAME_MACHINE}-pc-mingw32 | |
859 | echo "$UNAME_MACHINE"-pc-mingw32 | |
828 | 860 | exit ;; |
829 | 861 | *: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 | |
835 | 863 | exit ;; |
836 | 864 | i*:PW*:*) |
837 | echo ${UNAME_MACHINE}-pc-pw32 | |
865 | echo "$UNAME_MACHINE"-pc-pw32 | |
838 | 866 | exit ;; |
839 | 867 | *:Interix*:*) |
840 | case ${UNAME_MACHINE} in | |
868 | case "$UNAME_MACHINE" in | |
841 | 869 | x86) |
842 | echo i586-pc-interix${UNAME_RELEASE} | |
870 | echo i586-pc-interix"$UNAME_RELEASE" | |
843 | 871 | exit ;; |
844 | 872 | authenticamd | genuineintel | EM64T) |
845 | echo x86_64-unknown-interix${UNAME_RELEASE} | |
873 | echo x86_64-unknown-interix"$UNAME_RELEASE" | |
846 | 874 | exit ;; |
847 | 875 | IA64) |
848 | echo ia64-unknown-interix${UNAME_RELEASE} | |
876 | echo ia64-unknown-interix"$UNAME_RELEASE" | |
849 | 877 | exit ;; |
850 | 878 | 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 ;; | |
863 | 879 | i*:UWIN*:*) |
864 | echo ${UNAME_MACHINE}-pc-uwin | |
880 | echo "$UNAME_MACHINE"-pc-uwin | |
865 | 881 | exit ;; |
866 | 882 | amd64:CYGWIN*:*:* | x86_64:CYGWIN*:*:*) |
867 | 883 | echo x86_64-unknown-cygwin |
868 | 884 | exit ;; |
869 | p*:CYGWIN*:*) | |
870 | echo powerpcle-unknown-cygwin | |
871 | exit ;; | |
872 | 885 | 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/[^.]*//'`" | |
874 | 887 | exit ;; |
875 | 888 | *:GNU:*:*) |
876 | 889 | # 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,/.*$,,'`" | |
878 | 891 | exit ;; |
879 | 892 | *:GNU/*:*:*) |
880 | 893 | # 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" | |
882 | 895 | exit ;; |
883 | 896 | i*86:Minix:*:*) |
884 | echo ${UNAME_MACHINE}-pc-minix | |
897 | echo "$UNAME_MACHINE"-pc-minix | |
885 | 898 | exit ;; |
886 | 899 | aarch64:Linux:*:*) |
887 | echo ${UNAME_MACHINE}-unknown-linux-${LIBC} | |
900 | echo "$UNAME_MACHINE"-unknown-linux-"$LIBC" | |
888 | 901 | exit ;; |
889 | 902 | aarch64_be:Linux:*:*) |
890 | 903 | UNAME_MACHINE=aarch64_be |
891 | echo ${UNAME_MACHINE}-unknown-linux-${LIBC} | |
904 | echo "$UNAME_MACHINE"-unknown-linux-"$LIBC" | |
892 | 905 | exit ;; |
893 | 906 | alpha:Linux:*:*) |
894 | 907 | case `sed -n '/^cpu model/s/^.*: \(.*\)/\1/p' < /proc/cpuinfo` in |
901 | 914 | EV68*) UNAME_MACHINE=alphaev68 ;; |
902 | 915 | esac |
903 | 916 | 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" | |
906 | 919 | exit ;; |
907 | 920 | arc:Linux:*:* | arceb:Linux:*:*) |
908 | echo ${UNAME_MACHINE}-unknown-linux-${LIBC} | |
921 | echo "$UNAME_MACHINE"-unknown-linux-"$LIBC" | |
909 | 922 | exit ;; |
910 | 923 | arm*:Linux:*:*) |
911 | eval $set_cc_for_build | |
924 | eval "$set_cc_for_build" | |
912 | 925 | if echo __ARM_EABI__ | $CC_FOR_BUILD -E - 2>/dev/null \ |
913 | 926 | | grep -q __ARM_EABI__ |
914 | 927 | then |
915 | echo ${UNAME_MACHINE}-unknown-linux-${LIBC} | |
928 | echo "$UNAME_MACHINE"-unknown-linux-"$LIBC" | |
916 | 929 | else |
917 | 930 | if echo __ARM_PCS_VFP | $CC_FOR_BUILD -E - 2>/dev/null \ |
918 | 931 | | grep -q __ARM_PCS_VFP |
919 | 932 | then |
920 | echo ${UNAME_MACHINE}-unknown-linux-${LIBC}eabi | |
933 | echo "$UNAME_MACHINE"-unknown-linux-"$LIBC"eabi | |
921 | 934 | else |
922 | echo ${UNAME_MACHINE}-unknown-linux-${LIBC}eabihf | |
935 | echo "$UNAME_MACHINE"-unknown-linux-"$LIBC"eabihf | |
923 | 936 | fi |
924 | 937 | fi |
925 | 938 | exit ;; |
926 | 939 | avr32*:Linux:*:*) |
927 | echo ${UNAME_MACHINE}-unknown-linux-${LIBC} | |
940 | echo "$UNAME_MACHINE"-unknown-linux-"$LIBC" | |
928 | 941 | exit ;; |
929 | 942 | cris:Linux:*:*) |
930 | echo ${UNAME_MACHINE}-axis-linux-${LIBC} | |
943 | echo "$UNAME_MACHINE"-axis-linux-"$LIBC" | |
931 | 944 | exit ;; |
932 | 945 | 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" | |
934 | 950 | exit ;; |
935 | 951 | frv:Linux:*:*) |
936 | echo ${UNAME_MACHINE}-unknown-linux-${LIBC} | |
952 | echo "$UNAME_MACHINE"-unknown-linux-"$LIBC" | |
937 | 953 | exit ;; |
938 | 954 | hexagon:Linux:*:*) |
939 | echo ${UNAME_MACHINE}-unknown-linux-${LIBC} | |
955 | echo "$UNAME_MACHINE"-unknown-linux-"$LIBC" | |
940 | 956 | exit ;; |
941 | 957 | i*86:Linux:*:*) |
942 | echo ${UNAME_MACHINE}-pc-linux-${LIBC} | |
958 | echo "$UNAME_MACHINE"-pc-linux-"$LIBC" | |
943 | 959 | exit ;; |
944 | 960 | 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" | |
946 | 965 | exit ;; |
947 | 966 | m32r*:Linux:*:*) |
948 | echo ${UNAME_MACHINE}-unknown-linux-${LIBC} | |
967 | echo "$UNAME_MACHINE"-unknown-linux-"$LIBC" | |
949 | 968 | exit ;; |
950 | 969 | m68*:Linux:*:*) |
951 | echo ${UNAME_MACHINE}-unknown-linux-${LIBC} | |
970 | echo "$UNAME_MACHINE"-unknown-linux-"$LIBC" | |
952 | 971 | exit ;; |
953 | 972 | 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" | |
956 | 975 | #undef CPU |
957 | 976 | #undef ${UNAME_MACHINE} |
958 | 977 | #undef ${UNAME_MACHINE}el |
966 | 985 | #endif |
967 | 986 | #endif |
968 | 987 | 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; } | |
971 | 990 | ;; |
991 | mips64el:Linux:*:*) | |
992 | echo "$UNAME_MACHINE"-unknown-linux-"$LIBC" | |
993 | exit ;; | |
972 | 994 | openrisc*:Linux:*:*) |
973 | echo or1k-unknown-linux-${LIBC} | |
995 | echo or1k-unknown-linux-"$LIBC" | |
974 | 996 | exit ;; |
975 | 997 | or32:Linux:*:* | or1k*:Linux:*:*) |
976 | echo ${UNAME_MACHINE}-unknown-linux-${LIBC} | |
998 | echo "$UNAME_MACHINE"-unknown-linux-"$LIBC" | |
977 | 999 | exit ;; |
978 | 1000 | padre:Linux:*:*) |
979 | echo sparc-unknown-linux-${LIBC} | |
1001 | echo sparc-unknown-linux-"$LIBC" | |
980 | 1002 | exit ;; |
981 | 1003 | parisc64:Linux:*:* | hppa64:Linux:*:*) |
982 | echo hppa64-unknown-linux-${LIBC} | |
1004 | echo hppa64-unknown-linux-"$LIBC" | |
983 | 1005 | exit ;; |
984 | 1006 | parisc:Linux:*:* | hppa:Linux:*:*) |
985 | 1007 | # Look for CPU level |
986 | 1008 | 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" ;; | |
990 | 1012 | esac |
991 | 1013 | exit ;; |
992 | 1014 | ppc64:Linux:*:*) |
993 | echo powerpc64-unknown-linux-${LIBC} | |
1015 | echo powerpc64-unknown-linux-"$LIBC" | |
994 | 1016 | exit ;; |
995 | 1017 | ppc:Linux:*:*) |
996 | echo powerpc-unknown-linux-${LIBC} | |
1018 | echo powerpc-unknown-linux-"$LIBC" | |
997 | 1019 | exit ;; |
998 | 1020 | ppc64le:Linux:*:*) |
999 | echo powerpc64le-unknown-linux-${LIBC} | |
1021 | echo powerpc64le-unknown-linux-"$LIBC" | |
1000 | 1022 | exit ;; |
1001 | 1023 | 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" | |
1003 | 1028 | exit ;; |
1004 | 1029 | s390:Linux:*:* | s390x:Linux:*:*) |
1005 | echo ${UNAME_MACHINE}-ibm-linux-${LIBC} | |
1030 | echo "$UNAME_MACHINE"-ibm-linux-"$LIBC" | |
1006 | 1031 | exit ;; |
1007 | 1032 | sh64*:Linux:*:*) |
1008 | echo ${UNAME_MACHINE}-unknown-linux-${LIBC} | |
1033 | echo "$UNAME_MACHINE"-unknown-linux-"$LIBC" | |
1009 | 1034 | exit ;; |
1010 | 1035 | sh*:Linux:*:*) |
1011 | echo ${UNAME_MACHINE}-unknown-linux-${LIBC} | |
1036 | echo "$UNAME_MACHINE"-unknown-linux-"$LIBC" | |
1012 | 1037 | exit ;; |
1013 | 1038 | sparc:Linux:*:* | sparc64:Linux:*:*) |
1014 | echo ${UNAME_MACHINE}-unknown-linux-${LIBC} | |
1039 | echo "$UNAME_MACHINE"-unknown-linux-"$LIBC" | |
1015 | 1040 | exit ;; |
1016 | 1041 | tile*:Linux:*:*) |
1017 | echo ${UNAME_MACHINE}-unknown-linux-${LIBC} | |
1042 | echo "$UNAME_MACHINE"-unknown-linux-"$LIBC" | |
1018 | 1043 | exit ;; |
1019 | 1044 | vax:Linux:*:*) |
1020 | echo ${UNAME_MACHINE}-dec-linux-${LIBC} | |
1045 | echo "$UNAME_MACHINE"-dec-linux-"$LIBC" | |
1021 | 1046 | exit ;; |
1022 | 1047 | x86_64:Linux:*:*) |
1023 | echo ${UNAME_MACHINE}-unknown-linux-${LIBC} | |
1048 | echo "$UNAME_MACHINE"-pc-linux-"$LIBC" | |
1024 | 1049 | exit ;; |
1025 | 1050 | xtensa*:Linux:*:*) |
1026 | echo ${UNAME_MACHINE}-unknown-linux-${LIBC} | |
1051 | echo "$UNAME_MACHINE"-unknown-linux-"$LIBC" | |
1027 | 1052 | exit ;; |
1028 | 1053 | i*86:DYNIX/ptx:4*:*) |
1029 | 1054 | # ptx 4.0 does uname -s correctly, with DYNIX/ptx in there. |
1037 | 1062 | # I am not positive that other SVR4 systems won't match this, |
1038 | 1063 | # I just have to hope. -- rms. |
1039 | 1064 | # 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" | |
1041 | 1066 | exit ;; |
1042 | 1067 | i*86:OS/2:*:*) |
1043 | 1068 | # If we were able to find `uname', then EMX Unix compatibility |
1044 | 1069 | # is probably installed. |
1045 | echo ${UNAME_MACHINE}-pc-os2-emx | |
1070 | echo "$UNAME_MACHINE"-pc-os2-emx | |
1046 | 1071 | exit ;; |
1047 | 1072 | i*86:XTS-300:*:STOP) |
1048 | echo ${UNAME_MACHINE}-unknown-stop | |
1073 | echo "$UNAME_MACHINE"-unknown-stop | |
1049 | 1074 | exit ;; |
1050 | 1075 | i*86:atheos:*:*) |
1051 | echo ${UNAME_MACHINE}-unknown-atheos | |
1076 | echo "$UNAME_MACHINE"-unknown-atheos | |
1052 | 1077 | exit ;; |
1053 | 1078 | i*86:syllable:*:*) |
1054 | echo ${UNAME_MACHINE}-pc-syllable | |
1079 | echo "$UNAME_MACHINE"-pc-syllable | |
1055 | 1080 | exit ;; |
1056 | 1081 | 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" | |
1058 | 1083 | exit ;; |
1059 | 1084 | 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$//'` | |
1064 | 1089 | 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" | |
1066 | 1091 | else |
1067 | echo ${UNAME_MACHINE}-pc-sysv${UNAME_REL} | |
1092 | echo "$UNAME_MACHINE"-pc-sysv"$UNAME_REL" | |
1068 | 1093 | fi |
1069 | 1094 | exit ;; |
1070 | 1095 | i*86:*:5:[678]*) |
1074 | 1099 | *Pentium) UNAME_MACHINE=i586 ;; |
1075 | 1100 | *Pent*|*Celeron) UNAME_MACHINE=i686 ;; |
1076 | 1101 | 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}" | |
1078 | 1103 | exit ;; |
1079 | 1104 | i*86:*:3.2:*) |
1080 | 1105 | if test -f /usr/options/cb.name; then |
1081 | 1106 | 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" | |
1083 | 1108 | elif /bin/uname -X 2>/dev/null >/dev/null ; then |
1084 | 1109 | UNAME_REL=`(/bin/uname -X|grep Release|sed -e 's/.*= //')` |
1085 | 1110 | (/bin/uname -X|grep i80486 >/dev/null) && UNAME_MACHINE=i486 |
1089 | 1114 | && UNAME_MACHINE=i686 |
1090 | 1115 | (/bin/uname -X|grep '^Machine.*Pentium Pro' >/dev/null) \ |
1091 | 1116 | && UNAME_MACHINE=i686 |
1092 | echo ${UNAME_MACHINE}-pc-sco$UNAME_REL | |
1117 | echo "$UNAME_MACHINE"-pc-sco"$UNAME_REL" | |
1093 | 1118 | else |
1094 | echo ${UNAME_MACHINE}-pc-sysv32 | |
1119 | echo "$UNAME_MACHINE"-pc-sysv32 | |
1095 | 1120 | fi |
1096 | 1121 | exit ;; |
1097 | 1122 | pc:*:*:*) |
1099 | 1124 | # uname -m prints for DJGPP always 'pc', but it prints nothing about |
1100 | 1125 | # the processor, so we play safe by assuming i586. |
1101 | 1126 | # 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 | |
1103 | 1128 | # this is a cross-build. |
1104 | 1129 | echo i586-pc-msdosdjgpp |
1105 | 1130 | exit ;; |
1111 | 1136 | exit ;; |
1112 | 1137 | i860:*:4.*:*) # i860-SVR4 |
1113 | 1138 | 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 | |
1115 | 1140 | 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 | |
1117 | 1142 | fi |
1118 | 1143 | exit ;; |
1119 | 1144 | mini*:CTIX:SYS*5:*) |
1133 | 1158 | test -r /etc/.relid \ |
1134 | 1159 | && OS_REL=.`sed -n 's/[^ ]* [^ ]* \([0-9][0-9]\).*/\1/p' < /etc/.relid` |
1135 | 1160 | /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; } | |
1137 | 1162 | /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; } ;; | |
1139 | 1164 | 3[34]??:*:4.0:* | 3[34]??,*:*:4.0:*) |
1140 | 1165 | /bin/uname -p 2>/dev/null | grep 86 >/dev/null \ |
1141 | 1166 | && { echo i486-ncr-sysv4; exit; } ;; |
1144 | 1169 | test -r /etc/.relid \ |
1145 | 1170 | && OS_REL=.`sed -n 's/[^ ]* [^ ]* \([0-9][0-9]\).*/\1/p' < /etc/.relid` |
1146 | 1171 | /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; } | |
1148 | 1173 | /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; } | |
1150 | 1175 | /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; } ;; | |
1152 | 1177 | m68*:LynxOS:2.*:* | m68*:LynxOS:3.0*:*) |
1153 | echo m68k-unknown-lynxos${UNAME_RELEASE} | |
1178 | echo m68k-unknown-lynxos"$UNAME_RELEASE" | |
1154 | 1179 | exit ;; |
1155 | 1180 | mc68030:UNIX_System_V:4.*:*) |
1156 | 1181 | echo m68k-atari-sysv4 |
1157 | 1182 | exit ;; |
1158 | 1183 | TSUNAMI:LynxOS:2.*:*) |
1159 | echo sparc-unknown-lynxos${UNAME_RELEASE} | |
1184 | echo sparc-unknown-lynxos"$UNAME_RELEASE" | |
1160 | 1185 | exit ;; |
1161 | 1186 | rs6000:LynxOS:2.*:*) |
1162 | echo rs6000-unknown-lynxos${UNAME_RELEASE} | |
1187 | echo rs6000-unknown-lynxos"$UNAME_RELEASE" | |
1163 | 1188 | exit ;; |
1164 | 1189 | 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" | |
1166 | 1191 | exit ;; |
1167 | 1192 | SM[BE]S:UNIX_SV:*:*) |
1168 | echo mips-dde-sysv${UNAME_RELEASE} | |
1193 | echo mips-dde-sysv"$UNAME_RELEASE" | |
1169 | 1194 | exit ;; |
1170 | 1195 | RM*:ReliantUNIX-*:*:*) |
1171 | 1196 | echo mips-sni-sysv4 |
1176 | 1201 | *:SINIX-*:*:*) |
1177 | 1202 | if uname -p 2>/dev/null >/dev/null ; then |
1178 | 1203 | UNAME_MACHINE=`(uname -p) 2>/dev/null` |
1179 | echo ${UNAME_MACHINE}-sni-sysv4 | |
1204 | echo "$UNAME_MACHINE"-sni-sysv4 | |
1180 | 1205 | else |
1181 | 1206 | echo ns32k-sni-sysv |
1182 | 1207 | fi |
1196 | 1221 | exit ;; |
1197 | 1222 | i*86:VOS:*:*) |
1198 | 1223 | # From Paul.Green@stratus.com. |
1199 | echo ${UNAME_MACHINE}-stratus-vos | |
1224 | echo "$UNAME_MACHINE"-stratus-vos | |
1200 | 1225 | exit ;; |
1201 | 1226 | *:VOS:*:*) |
1202 | 1227 | # From Paul.Green@stratus.com. |
1203 | 1228 | echo hppa1.1-stratus-vos |
1204 | 1229 | exit ;; |
1205 | 1230 | mc68*:A/UX:*:*) |
1206 | echo m68k-apple-aux${UNAME_RELEASE} | |
1231 | echo m68k-apple-aux"$UNAME_RELEASE" | |
1207 | 1232 | exit ;; |
1208 | 1233 | news*:NEWS-OS:6*:*) |
1209 | 1234 | echo mips-sony-newsos6 |
1210 | 1235 | exit ;; |
1211 | 1236 | R[34]000:*System_V*:*:* | R4000:UNIX_SYSV:*:* | R*000:UNIX_SV:*:*) |
1212 | 1237 | if [ -d /usr/nec ]; then |
1213 | echo mips-nec-sysv${UNAME_RELEASE} | |
1238 | echo mips-nec-sysv"$UNAME_RELEASE" | |
1214 | 1239 | else |
1215 | echo mips-unknown-sysv${UNAME_RELEASE} | |
1240 | echo mips-unknown-sysv"$UNAME_RELEASE" | |
1216 | 1241 | fi |
1217 | 1242 | exit ;; |
1218 | 1243 | BeBox:BeOS:*:*) # BeOS running on hardware made by Be, PPC only. |
1231 | 1256 | echo x86_64-unknown-haiku |
1232 | 1257 | exit ;; |
1233 | 1258 | SX-4:SUPER-UX:*:*) |
1234 | echo sx4-nec-superux${UNAME_RELEASE} | |
1259 | echo sx4-nec-superux"$UNAME_RELEASE" | |
1235 | 1260 | exit ;; |
1236 | 1261 | SX-5:SUPER-UX:*:*) |
1237 | echo sx5-nec-superux${UNAME_RELEASE} | |
1262 | echo sx5-nec-superux"$UNAME_RELEASE" | |
1238 | 1263 | exit ;; |
1239 | 1264 | SX-6:SUPER-UX:*:*) |
1240 | echo sx6-nec-superux${UNAME_RELEASE} | |
1265 | echo sx6-nec-superux"$UNAME_RELEASE" | |
1241 | 1266 | exit ;; |
1242 | 1267 | SX-7:SUPER-UX:*:*) |
1243 | echo sx7-nec-superux${UNAME_RELEASE} | |
1268 | echo sx7-nec-superux"$UNAME_RELEASE" | |
1244 | 1269 | exit ;; |
1245 | 1270 | SX-8:SUPER-UX:*:*) |
1246 | echo sx8-nec-superux${UNAME_RELEASE} | |
1271 | echo sx8-nec-superux"$UNAME_RELEASE" | |
1247 | 1272 | exit ;; |
1248 | 1273 | 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" | |
1250 | 1278 | exit ;; |
1251 | 1279 | Power*:Rhapsody:*:*) |
1252 | echo powerpc-apple-rhapsody${UNAME_RELEASE} | |
1280 | echo powerpc-apple-rhapsody"$UNAME_RELEASE" | |
1253 | 1281 | exit ;; |
1254 | 1282 | *:Rhapsody:*:*) |
1255 | echo ${UNAME_MACHINE}-apple-rhapsody${UNAME_RELEASE} | |
1283 | echo "$UNAME_MACHINE"-apple-rhapsody"$UNAME_RELEASE" | |
1256 | 1284 | exit ;; |
1257 | 1285 | *:Darwin:*:*) |
1258 | 1286 | UNAME_PROCESSOR=`uname -p` || UNAME_PROCESSOR=unknown |
1259 | eval $set_cc_for_build | |
1287 | eval "$set_cc_for_build" | |
1260 | 1288 | if test "$UNAME_PROCESSOR" = unknown ; then |
1261 | 1289 | UNAME_PROCESSOR=powerpc |
1262 | 1290 | 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 | |
1265 | 1293 | 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 | |
1268 | 1296 | then |
1269 | 1297 | case $UNAME_PROCESSOR in |
1270 | 1298 | i386) UNAME_PROCESSOR=x86_64 ;; |
1271 | 1299 | powerpc) UNAME_PROCESSOR=powerpc64 ;; |
1272 | 1300 | 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 | |
1273 | 1308 | fi |
1274 | 1309 | fi |
1275 | 1310 | elif test "$UNAME_PROCESSOR" = i386 ; then |
1281 | 1316 | # that Apple uses in portable devices. |
1282 | 1317 | UNAME_PROCESSOR=x86_64 |
1283 | 1318 | fi |
1284 | echo ${UNAME_PROCESSOR}-apple-darwin${UNAME_RELEASE} | |
1319 | echo "$UNAME_PROCESSOR"-apple-darwin"$UNAME_RELEASE" | |
1285 | 1320 | exit ;; |
1286 | 1321 | *:procnto*:*:* | *:QNX:[0123456789]*:*) |
1287 | 1322 | UNAME_PROCESSOR=`uname -p` |
1288 | if test "$UNAME_PROCESSOR" = "x86"; then | |
1323 | if test "$UNAME_PROCESSOR" = x86; then | |
1289 | 1324 | UNAME_PROCESSOR=i386 |
1290 | 1325 | UNAME_MACHINE=pc |
1291 | 1326 | fi |
1292 | echo ${UNAME_PROCESSOR}-${UNAME_MACHINE}-nto-qnx${UNAME_RELEASE} | |
1327 | echo "$UNAME_PROCESSOR"-"$UNAME_MACHINE"-nto-qnx"$UNAME_RELEASE" | |
1293 | 1328 | exit ;; |
1294 | 1329 | *:QNX:*:4*) |
1295 | 1330 | echo i386-pc-qnx |
1296 | 1331 | exit ;; |
1297 | NEO-?:NONSTOP_KERNEL:*:*) | |
1298 | echo neo-tandem-nsk${UNAME_RELEASE} | |
1332 | NEO-*:NONSTOP_KERNEL:*:*) | |
1333 | echo neo-tandem-nsk"$UNAME_RELEASE" | |
1299 | 1334 | exit ;; |
1300 | 1335 | 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" | |
1305 | 1346 | exit ;; |
1306 | 1347 | *:NonStop-UX:*:*) |
1307 | 1348 | echo mips-compaq-nonstopux |
1310 | 1351 | echo bs2000-siemens-sysv |
1311 | 1352 | exit ;; |
1312 | 1353 | DS/*:UNIX_System_V:*:*) |
1313 | echo ${UNAME_MACHINE}-${UNAME_SYSTEM}-${UNAME_RELEASE} | |
1354 | echo "$UNAME_MACHINE"-"$UNAME_SYSTEM"-"$UNAME_RELEASE" | |
1314 | 1355 | exit ;; |
1315 | 1356 | *:Plan9:*:*) |
1316 | 1357 | # "uname -m" is not consistent, so use $cputype instead. 386 |
1317 | 1358 | # is converted to i386 for consistency with other x86 |
1318 | 1359 | # operating systems. |
1319 | if test "$cputype" = "386"; then | |
1360 | if test "$cputype" = 386; then | |
1320 | 1361 | UNAME_MACHINE=i386 |
1321 | 1362 | else |
1322 | 1363 | UNAME_MACHINE="$cputype" |
1323 | 1364 | fi |
1324 | echo ${UNAME_MACHINE}-unknown-plan9 | |
1365 | echo "$UNAME_MACHINE"-unknown-plan9 | |
1325 | 1366 | exit ;; |
1326 | 1367 | *:TOPS-10:*:*) |
1327 | 1368 | echo pdp10-unknown-tops10 |
1342 | 1383 | echo pdp10-unknown-its |
1343 | 1384 | exit ;; |
1344 | 1385 | SEI:*:*:SEIUX) |
1345 | echo mips-sei-seiux${UNAME_RELEASE} | |
1386 | echo mips-sei-seiux"$UNAME_RELEASE" | |
1346 | 1387 | exit ;; |
1347 | 1388 | *: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/[-(].*//'`" | |
1349 | 1390 | exit ;; |
1350 | 1391 | *:*VMS:*:*) |
1351 | 1392 | UNAME_MACHINE=`(uname -p) 2>/dev/null` |
1352 | case "${UNAME_MACHINE}" in | |
1393 | case "$UNAME_MACHINE" in | |
1353 | 1394 | A*) echo alpha-dec-vms ; exit ;; |
1354 | 1395 | I*) echo ia64-dec-vms ; exit ;; |
1355 | 1396 | V*) echo vax-dec-vms ; exit ;; |
1358 | 1399 | echo i386-pc-xenix |
1359 | 1400 | exit ;; |
1360 | 1401 | 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/ .*$//'`" | |
1362 | 1403 | exit ;; |
1363 | 1404 | i*86:rdos:*:*) |
1364 | echo ${UNAME_MACHINE}-pc-rdos | |
1405 | echo "$UNAME_MACHINE"-pc-rdos | |
1365 | 1406 | exit ;; |
1366 | 1407 | i*86:AROS:*:*) |
1367 | echo ${UNAME_MACHINE}-pc-aros | |
1408 | echo "$UNAME_MACHINE"-pc-aros | |
1368 | 1409 | exit ;; |
1369 | 1410 | 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 | |
1371 | 1415 | exit ;; |
1372 | 1416 | esac |
1373 | 1417 | |
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 | ||
1374 | 1431 | 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 | |
1382 | 1438 | 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. | |
1389 | 1444 | |
1390 | 1445 | config.guess timestamp = $timestamp |
1391 | 1446 | |
1404 | 1459 | /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null` |
1405 | 1460 | /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null` |
1406 | 1461 | |
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" | |
1411 | 1466 | EOF |
1412 | 1467 | |
1413 | 1468 | exit 1 |
1414 | 1469 | |
1415 | 1470 | # Local variables: |
1416 | # eval: (add-hook 'write-file-hooks 'time-stamp) | |
1471 | # eval: (add-hook 'before-save-hook 'time-stamp) | |
1417 | 1472 | # time-stamp-start: "timestamp='" |
1418 | 1473 | # time-stamp-format: "%:y-%02m-%02d" |
1419 | 1474 | # time-stamp-end: "'" |
0 | 0 | #! /bin/sh |
1 | 1 | # 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' | |
5 | 5 | |
6 | 6 | # This file is free software; you can redistribute it and/or modify it |
7 | 7 | # under the terms of the GNU General Public License as published by |
14 | 14 | # General Public License for more details. |
15 | 15 | # |
16 | 16 | # 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/>. | |
18 | 18 | # |
19 | 19 | # As a special exception to the GNU General Public License, if you |
20 | 20 | # distribute this file as part of a program that contains a |
32 | 32 | # Otherwise, we print the canonical config type on stdout and succeed. |
33 | 33 | |
34 | 34 | # 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 | |
36 | 36 | |
37 | 37 | # This file is supposed to be the same for all GNU packages |
38 | 38 | # and recognize all the CPU types, system types and aliases |
52 | 52 | me=`echo "$0" | sed -e 's,.*/,,'` |
53 | 53 | |
54 | 54 | usage="\ |
55 | Usage: $0 [OPTION] CPU-MFR-OPSYS | |
56 | $0 [OPTION] ALIAS | |
55 | Usage: $0 [OPTION] CPU-MFR-OPSYS or ALIAS | |
57 | 56 | |
58 | 57 | Canonicalize a configuration name. |
59 | 58 | |
60 | Operation modes: | |
59 | Options: | |
61 | 60 | -h, --help print this help, then exit |
62 | 61 | -t, --time-stamp print date of last modification, then exit |
63 | 62 | -v, --version print version number, then exit |
67 | 66 | version="\ |
68 | 67 | GNU config.sub ($timestamp) |
69 | 68 | |
70 | Copyright 1992-2015 Free Software Foundation, Inc. | |
69 | Copyright 1992-2018 Free Software Foundation, Inc. | |
71 | 70 | |
72 | 71 | This is free software; see the source for copying conditions. There is NO |
73 | 72 | warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE." |
94 | 93 | |
95 | 94 | *local*) |
96 | 95 | # First pass through any local machine types. |
97 | echo $1 | |
96 | echo "$1" | |
98 | 97 | exit ;; |
99 | 98 | |
100 | 99 | * ) |
110 | 109 | exit 1;; |
111 | 110 | esac |
112 | 111 | |
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 | ;; | |
135 | 154 | esac |
136 | 155 | |
137 | 156 | ### Let's recognize common machines as not being operating systems so |
178 | 197 | ;; |
179 | 198 | -sco6) |
180 | 199 | os=-sco5v6 |
181 | basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'` | |
200 | basic_machine=`echo "$1" | sed -e 's/86-.*/86-pc/'` | |
182 | 201 | ;; |
183 | 202 | -sco5) |
184 | 203 | 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/'` | |
186 | 205 | ;; |
187 | 206 | -sco4) |
188 | 207 | 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/'` | |
190 | 209 | ;; |
191 | 210 | -sco3.2.[4-9]*) |
192 | 211 | 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/'` | |
194 | 213 | ;; |
195 | 214 | -sco3.2v[4-9]*) |
196 | 215 | # 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/'` | |
198 | 217 | ;; |
199 | 218 | -sco5v6*) |
200 | 219 | # 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/'` | |
202 | 221 | ;; |
203 | 222 | -sco*) |
204 | 223 | 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/'` | |
206 | 225 | ;; |
207 | 226 | -udk*) |
208 | basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'` | |
227 | basic_machine=`echo "$1" | sed -e 's/86-.*/86-pc/'` | |
209 | 228 | ;; |
210 | 229 | -isc) |
211 | 230 | 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/'` | |
213 | 232 | ;; |
214 | 233 | -clix*) |
215 | 234 | basic_machine=clipper-intergraph |
216 | 235 | ;; |
217 | 236 | -isc*) |
218 | basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'` | |
237 | basic_machine=`echo "$1" | sed -e 's/86-.*/86-pc/'` | |
219 | 238 | ;; |
220 | 239 | -lynx*178) |
221 | 240 | os=-lynxos178 |
227 | 246 | os=-lynxos |
228 | 247 | ;; |
229 | 248 | -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/'` | |
234 | 250 | ;; |
235 | 251 | -psos*) |
236 | 252 | os=-psos |
252 | 268 | | alpha64 | alpha64ev[4-8] | alpha64ev56 | alpha64ev6[78] | alpha64pca5[67] \ |
253 | 269 | | am33_2.0 \ |
254 | 270 | | 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] \ | |
256 | 272 | | avr | avr32 \ |
273 | | ba \ | |
257 | 274 | | be32 | be64 \ |
258 | 275 | | bfin \ |
259 | | c4x | c8051 | clipper \ | |
276 | | c4x | c8051 | clipper | csky \ | |
260 | 277 | | d10v | d30v | dlx | dsp16xx \ |
261 | | epiphany \ | |
278 | | e2k | epiphany \ | |
262 | 279 | | fido | fr30 | frv | ft32 \ |
263 | 280 | | h8300 | h8500 | hppa | hppa1.[01] | hppa2.0 | hppa2.0[nw] | hppa64 \ |
264 | 281 | | hexagon \ |
265 | | i370 | i860 | i960 | ia64 \ | |
282 | | i370 | i860 | i960 | ia16 | ia64 \ | |
266 | 283 | | ip2k | iq2000 \ |
267 | 284 | | k1om \ |
268 | 285 | | le32 | le64 \ |
295 | 312 | | mt \ |
296 | 313 | | msp430 \ |
297 | 314 | | nds32 | nds32le | nds32be \ |
315 | | nfp \ | |
298 | 316 | | nios | nios2 | nios2eb | nios2el \ |
299 | 317 | | ns16k | ns32k \ |
300 | 318 | | open8 | or1k | or1knd | or32 \ |
301 | | pdp10 | pdp11 | pj | pjl \ | |
319 | | pdp10 | pj | pjl \ | |
302 | 320 | | powerpc | powerpc64 | powerpc64le | powerpcle \ |
321 | | pru \ | |
303 | 322 | | pyramid \ |
304 | 323 | | riscv32 | riscv64 \ |
305 | 324 | | rl78 | rx \ |
306 | 325 | | 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 \ | |
308 | 327 | | sh64 | sh64le \ |
309 | 328 | | sparc | sparc64 | sparc64b | sparc64v | sparc86x | sparclet | sparclite \ |
310 | 329 | | sparcv8 | sparcv9 | sparcv9b | sparcv9v \ |
313 | 332 | | ubicom32 \ |
314 | 333 | | v850 | v850e | v850e1 | v850e2 | v850es | v850e2v3 \ |
315 | 334 | | visium \ |
316 | | we32k \ | |
335 | | wasm32 \ | |
317 | 336 | | x86 | xc16x | xstormy16 | xtensa \ |
318 | 337 | | z8k | z80) |
319 | 338 | basic_machine=$basic_machine-unknown |
334 | 353 | basic_machine=$basic_machine-unknown |
335 | 354 | os=-none |
336 | 355 | ;; |
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 | |
338 | 361 | ;; |
339 | 362 | ms1) |
340 | 363 | basic_machine=mt-unknown |
363 | 386 | ;; |
364 | 387 | # Object if more than one company name word. |
365 | 388 | *-*-*) |
366 | echo Invalid configuration \`$1\': machine \`$basic_machine\' not recognized 1>&2 | |
389 | echo Invalid configuration \`"$1"\': machine \`"$basic_machine"\' not recognized 1>&2 | |
367 | 390 | exit 1 |
368 | 391 | ;; |
369 | 392 | # Recognize the basic CPU types with company name. |
375 | 398 | | alphapca5[67]-* | alpha64pca5[67]-* | arc-* | arceb-* \ |
376 | 399 | | arm-* | armbe-* | armle-* | armeb-* | armv*-* \ |
377 | 400 | | avr-* | avr32-* \ |
401 | | ba-* \ | |
378 | 402 | | be32-* | be64-* \ |
379 | 403 | | bfin-* | bs2000-* \ |
380 | 404 | | c[123]* | c30-* | [cjt]90-* | c4x-* \ |
381 | | c8051-* | clipper-* | craynv-* | cydra-* \ | |
405 | | c8051-* | clipper-* | craynv-* | csky-* | cydra-* \ | |
382 | 406 | | d10v-* | d30v-* | dlx-* \ |
383 | | elxsi-* \ | |
407 | | e2k-* | elxsi-* \ | |
384 | 408 | | f30[01]-* | f700-* | fido-* | fr30-* | frv-* | fx80-* \ |
385 | 409 | | h8300-* | h8500-* \ |
386 | 410 | | hppa-* | hppa1.[01]-* | hppa2.0-* | hppa2.0[nw]-* | hppa64-* \ |
387 | 411 | | hexagon-* \ |
388 | | i*86-* | i860-* | i960-* | ia64-* \ | |
412 | | i*86-* | i860-* | i960-* | ia16-* | ia64-* \ | |
389 | 413 | | ip2k-* | iq2000-* \ |
390 | 414 | | k1om-* \ |
391 | 415 | | le32-* | le64-* \ |
419 | 443 | | mt-* \ |
420 | 444 | | msp430-* \ |
421 | 445 | | nds32-* | nds32le-* | nds32be-* \ |
446 | | nfp-* \ | |
422 | 447 | | nios-* | nios2-* | nios2eb-* | nios2el-* \ |
423 | 448 | | none-* | np1-* | ns16k-* | ns32k-* \ |
424 | 449 | | open8-* \ |
426 | 451 | | orion-* \ |
427 | 452 | | pdp10-* | pdp11-* | pj-* | pjl-* | pn-* | power-* \ |
428 | 453 | | powerpc-* | powerpc64-* | powerpc64le-* | powerpcle-* \ |
454 | | pru-* \ | |
429 | 455 | | pyramid-* \ |
456 | | riscv32-* | riscv64-* \ | |
430 | 457 | | rl78-* | romp-* | rs6000-* | rx-* \ |
431 | 458 | | sh-* | sh[1234]-* | sh[24]a-* | sh[24]aeb-* | sh[23]e-* | sh[34]eb-* | sheb-* | shbe-* \ |
432 | 459 | | shle-* | sh[1234]le-* | sh3ele-* | sh64-* | sh64le-* \ |
433 | 460 | | sparc-* | sparc64-* | sparc64b-* | sparc64v-* | sparc86x-* | sparclet-* \ |
434 | 461 | | sparclite-* \ |
435 | | sparcv8-* | sparcv9-* | sparcv9b-* | sparcv9v-* | sv1-* | sx?-* \ | |
462 | | sparcv8-* | sparcv9-* | sparcv9b-* | sparcv9v-* | sv1-* | sx*-* \ | |
436 | 463 | | tahoe-* \ |
437 | 464 | | tic30-* | tic4x-* | tic54x-* | tic55x-* | tic6x-* | tic80-* \ |
438 | 465 | | tile*-* \ |
441 | 468 | | v850-* | v850e-* | v850e1-* | v850es-* | v850e2-* | v850e2v3-* \ |
442 | 469 | | vax-* \ |
443 | 470 | | visium-* \ |
471 | | wasm32-* \ | |
444 | 472 | | we32k-* \ |
445 | 473 | | x86-* | x86_64-* | xc16x-* | xps100-* \ |
446 | 474 | | xstormy16-* | xtensa*-* \ |
454 | 482 | # Recognize the various machine names and aliases which stand |
455 | 483 | # for a CPU type and a company and sometimes even an OS. |
456 | 484 | 386bsd) |
457 | basic_machine=i386-unknown | |
485 | basic_machine=i386-pc | |
458 | 486 | os=-bsd |
459 | 487 | ;; |
460 | 488 | 3b1 | 7300 | 7300-att | att-7300 | pc7300 | safari | unixpc) |
488 | 516 | basic_machine=x86_64-pc |
489 | 517 | ;; |
490 | 518 | amd64-*) |
491 | basic_machine=x86_64-`echo $basic_machine | sed 's/^[^-]*-//'` | |
519 | basic_machine=x86_64-`echo "$basic_machine" | sed 's/^[^-]*-//'` | |
492 | 520 | ;; |
493 | 521 | amdahl) |
494 | 522 | basic_machine=580-amdahl |
517 | 545 | basic_machine=i386-pc |
518 | 546 | os=-aros |
519 | 547 | ;; |
548 | asmjs) | |
549 | basic_machine=asmjs-unknown | |
550 | ;; | |
520 | 551 | aux) |
521 | 552 | basic_machine=m68k-apple |
522 | 553 | os=-aux |
530 | 561 | os=-linux |
531 | 562 | ;; |
532 | 563 | blackfin-*) |
533 | basic_machine=bfin-`echo $basic_machine | sed 's/^[^-]*-//'` | |
564 | basic_machine=bfin-`echo "$basic_machine" | sed 's/^[^-]*-//'` | |
534 | 565 | os=-linux |
535 | 566 | ;; |
536 | 567 | bluegene*) |
538 | 569 | os=-cnk |
539 | 570 | ;; |
540 | 571 | c54x-*) |
541 | basic_machine=tic54x-`echo $basic_machine | sed 's/^[^-]*-//'` | |
572 | basic_machine=tic54x-`echo "$basic_machine" | sed 's/^[^-]*-//'` | |
542 | 573 | ;; |
543 | 574 | c55x-*) |
544 | basic_machine=tic55x-`echo $basic_machine | sed 's/^[^-]*-//'` | |
575 | basic_machine=tic55x-`echo "$basic_machine" | sed 's/^[^-]*-//'` | |
545 | 576 | ;; |
546 | 577 | c6x-*) |
547 | basic_machine=tic6x-`echo $basic_machine | sed 's/^[^-]*-//'` | |
578 | basic_machine=tic6x-`echo "$basic_machine" | sed 's/^[^-]*-//'` | |
548 | 579 | ;; |
549 | 580 | c90) |
550 | 581 | basic_machine=c90-cray |
633 | 664 | basic_machine=rs6000-bull |
634 | 665 | os=-bosx |
635 | 666 | ;; |
636 | dpx2* | dpx2*-bull) | |
667 | dpx2*) | |
637 | 668 | basic_machine=m68k-bull |
638 | 669 | 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" | |
639 | 678 | ;; |
640 | 679 | ebmon29k) |
641 | 680 | basic_machine=a29k-amd |
726 | 765 | hp9k8[0-9][0-9] | hp8[0-9][0-9]) |
727 | 766 | basic_machine=hppa1.0-hp |
728 | 767 | ;; |
729 | hppa-next) | |
730 | os=-nextstep3 | |
731 | ;; | |
732 | 768 | hppaosf) |
733 | 769 | basic_machine=hppa1.1-hp |
734 | 770 | os=-osf |
741 | 777 | basic_machine=i370-ibm |
742 | 778 | ;; |
743 | 779 | i*86v32) |
744 | basic_machine=`echo $1 | sed -e 's/86.*/86-pc/'` | |
780 | basic_machine=`echo "$1" | sed -e 's/86.*/86-pc/'` | |
745 | 781 | os=-sysv32 |
746 | 782 | ;; |
747 | 783 | i*86v4*) |
748 | basic_machine=`echo $1 | sed -e 's/86.*/86-pc/'` | |
784 | basic_machine=`echo "$1" | sed -e 's/86.*/86-pc/'` | |
749 | 785 | os=-sysv4 |
750 | 786 | ;; |
751 | 787 | i*86v) |
752 | basic_machine=`echo $1 | sed -e 's/86.*/86-pc/'` | |
788 | basic_machine=`echo "$1" | sed -e 's/86.*/86-pc/'` | |
753 | 789 | os=-sysv |
754 | 790 | ;; |
755 | 791 | i*86sol2) |
756 | basic_machine=`echo $1 | sed -e 's/86.*/86-pc/'` | |
792 | basic_machine=`echo "$1" | sed -e 's/86.*/86-pc/'` | |
757 | 793 | os=-solaris2 |
758 | 794 | ;; |
759 | 795 | i386mach) |
760 | 796 | basic_machine=i386-mach |
761 | 797 | os=-mach |
762 | 798 | ;; |
763 | i386-vsta | vsta) | |
799 | vsta) | |
764 | 800 | basic_machine=i386-unknown |
765 | 801 | os=-vsta |
766 | 802 | ;; |
779 | 815 | os=-sysv |
780 | 816 | ;; |
781 | 817 | leon-*|leon[3-9]-*) |
782 | basic_machine=sparc-`echo $basic_machine | sed 's/-.*//'` | |
818 | basic_machine=sparc-`echo "$basic_machine" | sed 's/-.*//'` | |
783 | 819 | ;; |
784 | 820 | m68knommu) |
785 | 821 | basic_machine=m68k-unknown |
786 | 822 | os=-linux |
787 | 823 | ;; |
788 | 824 | m68knommu-*) |
789 | basic_machine=m68k-`echo $basic_machine | sed 's/^[^-]*-//'` | |
825 | basic_machine=m68k-`echo "$basic_machine" | sed 's/^[^-]*-//'` | |
790 | 826 | os=-linux |
791 | ;; | |
792 | m88k-omron*) | |
793 | basic_machine=m88k-omron | |
794 | 827 | ;; |
795 | 828 | magnum | m3230) |
796 | 829 | basic_machine=mips-mips |
823 | 856 | os=-mint |
824 | 857 | ;; |
825 | 858 | mips3*-*) |
826 | basic_machine=`echo $basic_machine | sed -e 's/mips3/mips64/'` | |
859 | basic_machine=`echo "$basic_machine" | sed -e 's/mips3/mips64/'` | |
827 | 860 | ;; |
828 | 861 | 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 | |
830 | 863 | ;; |
831 | 864 | monitor) |
832 | 865 | basic_machine=m68k-rom68k |
845 | 878 | os=-msdos |
846 | 879 | ;; |
847 | 880 | ms1-*) |
848 | basic_machine=`echo $basic_machine | sed -e 's/ms1-/mt-/'` | |
881 | basic_machine=`echo "$basic_machine" | sed -e 's/ms1-/mt-/'` | |
849 | 882 | ;; |
850 | 883 | msys) |
851 | 884 | basic_machine=i686-pc |
887 | 920 | basic_machine=v70-nec |
888 | 921 | os=-sysv |
889 | 922 | ;; |
890 | next | m*-next ) | |
923 | next | m*-next) | |
891 | 924 | basic_machine=m68k-next |
892 | 925 | case $os in |
893 | 926 | -nextstep* ) |
932 | 965 | nsr-tandem) |
933 | 966 | basic_machine=nsr-tandem |
934 | 967 | ;; |
968 | nsv-tandem) | |
969 | basic_machine=nsv-tandem | |
970 | ;; | |
971 | nsx-tandem) | |
972 | basic_machine=nsx-tandem | |
973 | ;; | |
935 | 974 | op50n-* | op60c-*) |
936 | 975 | basic_machine=hppa1.1-oki |
937 | 976 | os=-proelf |
964 | 1003 | os=-linux |
965 | 1004 | ;; |
966 | 1005 | parisc-*) |
967 | basic_machine=hppa-`echo $basic_machine | sed 's/^[^-]*-//'` | |
1006 | basic_machine=hppa-`echo "$basic_machine" | sed 's/^[^-]*-//'` | |
968 | 1007 | os=-linux |
969 | 1008 | ;; |
970 | 1009 | pbd) |
980 | 1019 | basic_machine=i386-pc |
981 | 1020 | ;; |
982 | 1021 | pc98-*) |
983 | basic_machine=i386-`echo $basic_machine | sed 's/^[^-]*-//'` | |
1022 | basic_machine=i386-`echo "$basic_machine" | sed 's/^[^-]*-//'` | |
984 | 1023 | ;; |
985 | 1024 | pentium | p5 | k5 | k6 | nexgen | viac3) |
986 | 1025 | basic_machine=i586-pc |
995 | 1034 | basic_machine=i786-pc |
996 | 1035 | ;; |
997 | 1036 | pentium-* | p5-* | k5-* | k6-* | nexgen-* | viac3-*) |
998 | basic_machine=i586-`echo $basic_machine | sed 's/^[^-]*-//'` | |
1037 | basic_machine=i586-`echo "$basic_machine" | sed 's/^[^-]*-//'` | |
999 | 1038 | ;; |
1000 | 1039 | pentiumpro-* | p6-* | 6x86-* | athlon-*) |
1001 | basic_machine=i686-`echo $basic_machine | sed 's/^[^-]*-//'` | |
1040 | basic_machine=i686-`echo "$basic_machine" | sed 's/^[^-]*-//'` | |
1002 | 1041 | ;; |
1003 | 1042 | pentiumii-* | pentium2-* | pentiumiii-* | pentium3-*) |
1004 | basic_machine=i686-`echo $basic_machine | sed 's/^[^-]*-//'` | |
1043 | basic_machine=i686-`echo "$basic_machine" | sed 's/^[^-]*-//'` | |
1005 | 1044 | ;; |
1006 | 1045 | pentium4-*) |
1007 | basic_machine=i786-`echo $basic_machine | sed 's/^[^-]*-//'` | |
1046 | basic_machine=i786-`echo "$basic_machine" | sed 's/^[^-]*-//'` | |
1008 | 1047 | ;; |
1009 | 1048 | pn) |
1010 | 1049 | basic_machine=pn-gould |
1014 | 1053 | ppc | ppcbe) basic_machine=powerpc-unknown |
1015 | 1054 | ;; |
1016 | 1055 | 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) | |
1020 | 1059 | basic_machine=powerpcle-unknown |
1021 | 1060 | ;; |
1022 | 1061 | ppcle-* | powerpclittle-*) |
1023 | basic_machine=powerpcle-`echo $basic_machine | sed 's/^[^-]*-//'` | |
1062 | basic_machine=powerpcle-`echo "$basic_machine" | sed 's/^[^-]*-//'` | |
1024 | 1063 | ;; |
1025 | 1064 | ppc64) basic_machine=powerpc64-unknown |
1026 | 1065 | ;; |
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) | |
1030 | 1069 | basic_machine=powerpc64le-unknown |
1031 | 1070 | ;; |
1032 | 1071 | ppc64le-* | powerpc64little-*) |
1033 | basic_machine=powerpc64le-`echo $basic_machine | sed 's/^[^-]*-//'` | |
1072 | basic_machine=powerpc64le-`echo "$basic_machine" | sed 's/^[^-]*-//'` | |
1034 | 1073 | ;; |
1035 | 1074 | ps2) |
1036 | 1075 | basic_machine=i386-ibm |
1084 | 1123 | sequent) |
1085 | 1124 | basic_machine=i386-sequent |
1086 | 1125 | ;; |
1087 | sh) | |
1088 | basic_machine=sh-hitachi | |
1089 | os=-hms | |
1090 | ;; | |
1091 | 1126 | sh5el) |
1092 | 1127 | basic_machine=sh5le-unknown |
1093 | 1128 | ;; |
1094 | sh64) | |
1095 | basic_machine=sh64-unknown | |
1096 | ;; | |
1097 | sparclite-wrs | simso-wrs) | |
1129 | simso-wrs) | |
1098 | 1130 | basic_machine=sparclite-wrs |
1099 | 1131 | os=-vxworks |
1100 | 1132 | ;; |
1113 | 1145 | os=-sysv4 |
1114 | 1146 | ;; |
1115 | 1147 | strongarm-* | thumb-*) |
1116 | basic_machine=arm-`echo $basic_machine | sed 's/^[^-]*-//'` | |
1148 | basic_machine=arm-`echo "$basic_machine" | sed 's/^[^-]*-//'` | |
1117 | 1149 | ;; |
1118 | 1150 | sun2) |
1119 | 1151 | basic_machine=m68000-sun |
1235 | 1267 | basic_machine=hppa1.1-winbond |
1236 | 1268 | os=-proelf |
1237 | 1269 | ;; |
1270 | x64) | |
1271 | basic_machine=x86_64-pc | |
1272 | ;; | |
1238 | 1273 | xbox) |
1239 | 1274 | basic_machine=i686-pc |
1240 | 1275 | os=-mingw32 |
1243 | 1278 | basic_machine=xps100-honeywell |
1244 | 1279 | ;; |
1245 | 1280 | xscale-* | xscalee[bl]-*) |
1246 | basic_machine=`echo $basic_machine | sed 's/^xscale/arm/'` | |
1281 | basic_machine=`echo "$basic_machine" | sed 's/^xscale/arm/'` | |
1247 | 1282 | ;; |
1248 | 1283 | ymp) |
1249 | 1284 | basic_machine=ymp-cray |
1250 | 1285 | 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 | |
1259 | 1286 | ;; |
1260 | 1287 | none) |
1261 | 1288 | basic_machine=none-none |
1285 | 1312 | vax) |
1286 | 1313 | basic_machine=vax-dec |
1287 | 1314 | ;; |
1288 | pdp10) | |
1289 | # there are many clones, so DEC is not a safe bet | |
1290 | basic_machine=pdp10-unknown | |
1291 | ;; | |
1292 | 1315 | pdp11) |
1293 | 1316 | basic_machine=pdp11-dec |
1294 | 1317 | ;; |
1298 | 1321 | sh[1234] | sh[24]a | sh[24]aeb | sh[34]eb | sh[1234]le | sh[23]ele) |
1299 | 1322 | basic_machine=sh-unknown |
1300 | 1323 | ;; |
1301 | sparc | sparcv8 | sparcv9 | sparcv9b | sparcv9v) | |
1302 | basic_machine=sparc-sun | |
1303 | ;; | |
1304 | 1324 | cydra) |
1305 | 1325 | basic_machine=cydra-cydrome |
1306 | 1326 | ;; |
1320 | 1340 | # Make sure to match an already-canonicalized machine name. |
1321 | 1341 | ;; |
1322 | 1342 | *) |
1323 | echo Invalid configuration \`$1\': machine \`$basic_machine\' not recognized 1>&2 | |
1343 | echo Invalid configuration \`"$1"\': machine \`"$basic_machine"\' not recognized 1>&2 | |
1324 | 1344 | exit 1 |
1325 | 1345 | ;; |
1326 | 1346 | esac |
1328 | 1348 | # Here we canonicalize certain aliases for manufacturers. |
1329 | 1349 | case $basic_machine in |
1330 | 1350 | *-digital*) |
1331 | basic_machine=`echo $basic_machine | sed 's/digital.*/dec/'` | |
1351 | basic_machine=`echo "$basic_machine" | sed 's/digital.*/dec/'` | |
1332 | 1352 | ;; |
1333 | 1353 | *-commodore*) |
1334 | basic_machine=`echo $basic_machine | sed 's/commodore.*/cbm/'` | |
1354 | basic_machine=`echo "$basic_machine" | sed 's/commodore.*/cbm/'` | |
1335 | 1355 | ;; |
1336 | 1356 | *) |
1337 | 1357 | ;; |
1339 | 1359 | |
1340 | 1360 | # Decode manufacturer-specific aliases for certain operating systems. |
1341 | 1361 | |
1342 | if [ x"$os" != x"" ] | |
1362 | if [ x$os != x ] | |
1343 | 1363 | then |
1344 | 1364 | 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. | |
1347 | 1367 | # -solaris* is a basic system type, with this one exception. |
1348 | 1368 | -auroraux) |
1349 | 1369 | os=-auroraux |
1354 | 1374 | -solaris) |
1355 | 1375 | os=-solaris2 |
1356 | 1376 | ;; |
1357 | -svr4*) | |
1358 | os=-sysv4 | |
1359 | ;; | |
1360 | 1377 | -unixware*) |
1361 | 1378 | os=-sysv4.2uw |
1362 | 1379 | ;; |
1363 | 1380 | -gnu/linux*) |
1364 | 1381 | os=`echo $os | sed -e 's|gnu/linux|linux-gnu|'` |
1365 | 1382 | ;; |
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. | |
1367 | 1388 | # 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. | |
1369 | 1390 | # -sysv* is not here because it comes later, after sysvr4. |
1370 | 1391 | -gnu* | -bsd* | -mach* | -minix* | -genix* | -ultrix* | -irix* \ |
1371 | 1392 | | -*vms* | -sco* | -esix* | -isc* | -aix* | -cnk* | -sunos | -sunos[34]*\ |
1372 | 1393 | | -hpux* | -unos* | -osf* | -luna* | -dgux* | -auroraux* | -solaris* \ |
1373 | 1394 | | -sym* | -kopensolaris* | -plan9* \ |
1374 | 1395 | | -amigaos* | -amigados* | -msdos* | -newsos* | -unicos* | -aof* \ |
1375 | | -aos* | -aros* \ | |
1396 | | -aos* | -aros* | -cloudabi* | -sortix* \ | |
1376 | 1397 | | -nindy* | -vxsim* | -vxworks* | -ebmon* | -hms* | -mvs* \ |
1377 | 1398 | | -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* \ | |
1380 | 1401 | | -ekkobsd* | -kfreebsd* | -freebsd* | -riscix* | -lynxos* \ |
1381 | 1402 | | -bosx* | -nextstep* | -cxux* | -aout* | -elf* | -oabi* \ |
1382 | 1403 | | -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* \ | |
1385 | 1406 | | -cygwin* | -msys* | -pe* | -psos* | -moss* | -proelf* | -rtems* \ |
1386 | | -mingw32* | -mingw64* | -linux-gnu* | -linux-android* \ | |
1407 | | -midipix* | -mingw32* | -mingw64* | -linux-gnu* | -linux-android* \ | |
1387 | 1408 | | -linux-newlib* | -linux-musl* | -linux-uclibc* \ |
1388 | 1409 | | -uxpv* | -beos* | -mpeix* | -udk* | -moxiebox* \ |
1389 | | -interix* | -uwin* | -mks* | -rhapsody* | -darwin* | -opened* \ | |
1410 | | -interix* | -uwin* | -mks* | -rhapsody* | -darwin* \ | |
1390 | 1411 | | -openstep* | -oskit* | -conix* | -pw32* | -nonstopux* \ |
1391 | 1412 | | -storm-chaos* | -tops10* | -tenex* | -tops20* | -its* \ |
1392 | 1413 | | -os2* | -vos* | -palmos* | -uclinux* | -nucleus* \ |
1393 | | -morphos* | -superux* | -rtmk* | -rtmk-nova* | -windiss* \ | |
1414 | | -morphos* | -superux* | -rtmk* | -windiss* \ | |
1394 | 1415 | | -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*) | |
1396 | 1419 | # Remember, each alternative MUST END IN *, to match a version number. |
1397 | 1420 | ;; |
1398 | 1421 | -qnx*) |
1409 | 1432 | -nto*) |
1410 | 1433 | os=`echo $os | sed -e 's|nto|nto-qnx|'` |
1411 | 1434 | ;; |
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* \ | |
1414 | 1437 | | -macos* | -mpw* | -magic* | -mmixware* | -mon960* | -lnews*) |
1415 | 1438 | ;; |
1416 | 1439 | -mac*) |
1417 | os=`echo $os | sed -e 's|mac|macos|'` | |
1440 | os=`echo "$os" | sed -e 's|mac|macos|'` | |
1418 | 1441 | ;; |
1419 | 1442 | -linux-dietlibc) |
1420 | 1443 | os=-linux-dietlibc |
1423 | 1446 | os=`echo $os | sed -e 's|linux|linux-gnu|'` |
1424 | 1447 | ;; |
1425 | 1448 | -sunos5*) |
1426 | os=`echo $os | sed -e 's|sunos5|solaris2|'` | |
1449 | os=`echo "$os" | sed -e 's|sunos5|solaris2|'` | |
1427 | 1450 | ;; |
1428 | 1451 | -sunos6*) |
1429 | os=`echo $os | sed -e 's|sunos6|solaris3|'` | |
1452 | os=`echo "$os" | sed -e 's|sunos6|solaris3|'` | |
1430 | 1453 | ;; |
1431 | 1454 | -opened*) |
1432 | 1455 | os=-openedition |
1437 | 1460 | -wince*) |
1438 | 1461 | os=-wince |
1439 | 1462 | ;; |
1440 | -osfrose*) | |
1441 | os=-osfrose | |
1442 | ;; | |
1443 | -osf*) | |
1444 | os=-osf | |
1445 | ;; | |
1446 | 1463 | -utek*) |
1447 | 1464 | os=-bsd |
1448 | 1465 | ;; |
1467 | 1484 | -nova*) |
1468 | 1485 | os=-rtmk-nova |
1469 | 1486 | ;; |
1470 | -ns2 ) | |
1487 | -ns2) | |
1471 | 1488 | os=-nextstep2 |
1472 | 1489 | ;; |
1473 | 1490 | -nsk*) |
1489 | 1506 | -oss*) |
1490 | 1507 | os=-sysv3 |
1491 | 1508 | ;; |
1492 | -svr4) | |
1509 | -svr4*) | |
1493 | 1510 | os=-sysv4 |
1494 | 1511 | ;; |
1495 | 1512 | -svr3) |
1504 | 1521 | -ose*) |
1505 | 1522 | os=-ose |
1506 | 1523 | ;; |
1507 | -es1800*) | |
1508 | os=-ose | |
1509 | ;; | |
1510 | -xenix) | |
1511 | os=-xenix | |
1512 | ;; | |
1513 | 1524 | -*mint | -mint[0-9]* | -*MiNT | -MiNT[0-9]*) |
1514 | 1525 | os=-mint |
1515 | 1526 | ;; |
1516 | -aros*) | |
1517 | os=-aros | |
1518 | ;; | |
1519 | 1527 | -zvmoe) |
1520 | 1528 | os=-zvmoe |
1521 | 1529 | ;; |
1522 | 1530 | -dicos*) |
1523 | 1531 | os=-dicos |
1524 | 1532 | ;; |
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 | ;; | |
1525 | 1546 | -nacl*) |
1526 | 1547 | ;; |
1548 | -ios) | |
1549 | ;; | |
1527 | 1550 | -none) |
1551 | ;; | |
1552 | -*-eabi) | |
1553 | case $basic_machine in | |
1554 | arm*) | |
1555 | ;; | |
1556 | esac | |
1528 | 1557 | ;; |
1529 | 1558 | *) |
1530 | 1559 | # Get rid of the `-' at the beginning of $os. |
1531 | 1560 | 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 | |
1533 | 1562 | exit 1 |
1534 | 1563 | ;; |
1535 | 1564 | esac |
1619 | 1648 | sparc-* | *-sun) |
1620 | 1649 | os=-sunos4.1.1 |
1621 | 1650 | ;; |
1651 | pru-*) | |
1652 | os=-elf | |
1653 | ;; | |
1622 | 1654 | *-be) |
1623 | 1655 | os=-beos |
1624 | 1656 | ;; |
1625 | *-haiku) | |
1626 | os=-haiku | |
1627 | ;; | |
1628 | 1657 | *-ibm) |
1629 | 1658 | os=-aix |
1630 | 1659 | ;; |
1664 | 1693 | m88k-omron*) |
1665 | 1694 | os=-luna |
1666 | 1695 | ;; |
1667 | *-next ) | |
1696 | *-next) | |
1668 | 1697 | os=-nextstep |
1669 | 1698 | ;; |
1670 | 1699 | *-sequent) |
1678 | 1707 | ;; |
1679 | 1708 | i370-*) |
1680 | 1709 | os=-mvs |
1681 | ;; | |
1682 | *-next) | |
1683 | os=-nextstep3 | |
1684 | 1710 | ;; |
1685 | 1711 | *-gould) |
1686 | 1712 | os=-sysv |
1791 | 1817 | vendor=stratus |
1792 | 1818 | ;; |
1793 | 1819 | esac |
1794 | basic_machine=`echo $basic_machine | sed "s/unknown/$vendor/"` | |
1820 | basic_machine=`echo "$basic_machine" | sed "s/unknown/$vendor/"` | |
1795 | 1821 | ;; |
1796 | 1822 | esac |
1797 | 1823 | |
1798 | echo $basic_machine$os | |
1824 | echo "$basic_machine$os" | |
1799 | 1825 | exit |
1800 | 1826 | |
1801 | 1827 | # Local variables: |
1802 | # eval: (add-hook 'write-file-hooks 'time-stamp) | |
1828 | # eval: (add-hook 'before-save-hook 'time-stamp) | |
1803 | 1829 | # time-stamp-start: "timestamp='" |
1804 | 1830 | # time-stamp-format: "%:y-%02m-%02d" |
1805 | 1831 | # time-stamp-end: "'" |
0 | 0 | #! /bin/sh |
1 | 1 | # depcomp - compile a program generating dependencies as side-effects |
2 | 2 | |
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. | |
6 | 6 | |
7 | 7 | # This program is free software; you can redistribute it and/or modify |
8 | 8 | # it under the terms of the GNU General Public License as published by |
15 | 15 | # GNU General Public License for more details. |
16 | 16 | |
17 | 17 | # 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/>. | |
19 | 19 | |
20 | 20 | # As a special exception to the GNU General Public License, if you |
21 | 21 | # distribute this file as part of a program that contains a |
782 | 782 | # Local Variables: |
783 | 783 | # mode: shell-script |
784 | 784 | # sh-indentation: 2 |
785 | # eval: (add-hook 'write-file-hooks 'time-stamp) | |
785 | # eval: (add-hook 'before-save-hook 'time-stamp) | |
786 | 786 | # time-stamp-start: "scriptversion=" |
787 | 787 | # time-stamp-format: "%:y-%02m-%02d.%02H" |
788 | # time-stamp-time-zone: "UTC" | |
788 | # time-stamp-time-zone: "UTC0" | |
789 | 789 | # time-stamp-end: "; # UTC" |
790 | 790 | # End: |
0 | 0 | #!/bin/sh |
1 | 1 | # install - install a program, script, or datafile |
2 | 2 | |
3 | scriptversion=2013-12-25.23; # UTC | |
3 | scriptversion=2018-03-11.20; # UTC | |
4 | 4 | |
5 | 5 | # This originates from X11R5 (mit/util/scripts/install.sh), which was |
6 | 6 | # later released in X11R6 (xc/config/util/install.sh) with the |
270 | 270 | fi |
271 | 271 | dst=$dst_arg |
272 | 272 | |
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. | |
275 | 274 | if test -d "$dst"; then |
276 | 275 | if test "$is_target_a_directory" = never; then |
277 | 276 | echo "$0: $dst_arg: Is a directory" >&2 |
278 | 277 | exit 1 |
279 | 278 | fi |
280 | 279 | 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 | |
282 | 285 | dstdir_status=0 |
283 | 286 | else |
284 | 287 | dstdir=`dirname "$dst"` |
286 | 289 | dstdir_status=$? |
287 | 290 | fi |
288 | 291 | fi |
292 | ||
293 | case $dstdir in | |
294 | */) dstdirslash=$dstdir;; | |
295 | *) dstdirslash=$dstdir/;; | |
296 | esac | |
289 | 297 | |
290 | 298 | obsolete_mkdir_used=false |
291 | 299 | |
323 | 331 | # is incompatible with FreeBSD 'install' when (umask & 300) != 0. |
324 | 332 | ;; |
325 | 333 | *) |
334 | # Note that $RANDOM variable is not portable (e.g. dash); Use it | |
335 | # here however when possible just to lower collision chance. | |
326 | 336 | 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. | |
329 | 344 | 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 | |
331 | 347 | then |
332 | 348 | if test -z "$dir_arg" || { |
333 | 349 | # Check for POSIX incompatibilities with -m. |
334 | 350 | # HP-UX 11.23 and IRIX 6.5 mkdir -m -p sets group- or |
335 | 351 | # other-writable bit of parent directory when it shouldn't. |
336 | 352 | # 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"` | |
338 | 355 | case $ls_ld_tmpdir in |
339 | 356 | d????-?r-*) different_mode=700;; |
340 | 357 | d????-?--*) different_mode=755;; |
341 | 358 | *) false;; |
342 | 359 | 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"` | |
345 | 362 | test "$ls_ld_tmpdir" = "$ls_ld_tmpdir_1" |
346 | 363 | } |
347 | 364 | } |
348 | 365 | then posix_mkdir=: |
349 | 366 | fi |
350 | rmdir "$tmpdir/d" "$tmpdir" | |
367 | rmdir "$tmpdir/a/b" "$tmpdir/a" "$tmpdir" | |
351 | 368 | else |
352 | 369 | # 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 | |
354 | 371 | fi |
355 | 372 | trap '' 0;; |
356 | 373 | esac;; |
426 | 443 | else |
427 | 444 | |
428 | 445 | # 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.$$_ | |
431 | 448 | |
432 | 449 | # Trap to clean up those temp files at exit. |
433 | 450 | trap 'ret=$?; rm -f "$dsttmp" "$rmtmp" && exit $ret' 0 |
492 | 509 | done |
493 | 510 | |
494 | 511 | # Local variables: |
495 | # eval: (add-hook 'write-file-hooks 'time-stamp) | |
512 | # eval: (add-hook 'before-save-hook 'time-stamp) | |
496 | 513 | # time-stamp-start: "scriptversion=" |
497 | 514 | # time-stamp-format: "%:y-%02m-%02d.%02H" |
498 | # time-stamp-time-zone: "UTC" | |
515 | # time-stamp-time-zone: "UTC0" | |
499 | 516 | # time-stamp-end: "; # UTC" |
500 | 517 | # End: |
2123 | 2123 | # a configuration failure hint, and exit. |
2124 | 2124 | func_fatal_configuration () |
2125 | 2125 | { |
2126 | func__fatal_error ${1+"$@"} \ | |
2126 | func_fatal_error ${1+"$@"} \ | |
2127 | 2127 | "See the $PACKAGE documentation for more information." \ |
2128 | 2128 | "Fatal configuration error." |
2129 | 2129 | } |
7271 | 7271 | # -tp=* Portland pgcc target processor selection |
7272 | 7272 | # --sysroot=* for sysroot support |
7273 | 7273 | # -O*, -g*, -flto*, -fwhopr*, -fuse-linker-plugin GCC link-time optimization |
7274 | # -specs=* GCC specs files | |
7274 | 7275 | # -stdlib=* select c++ std lib with clang |
7275 | 7276 | -64|-mips[0-9]|-r[0-9][0-9]*|-xarch=*|-xtarget=*|+DA*|+DD*|-q*|-m*| \ |
7276 | 7277 | -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=*) | |
7278 | 7280 | func_quote_for_eval "$arg" |
7279 | 7281 | arg=$func_quote_for_eval_result |
7280 | 7282 | func_append compile_command " $arg" |
0 | 0 | #! /bin/sh |
1 | 1 | # Common wrapper for a few potentially missing GNU programs. |
2 | 2 | |
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. | |
6 | 6 | # Originally written by Fran,cois Pinard <pinard@iro.umontreal.ca>, 1996. |
7 | 7 | |
8 | 8 | # This program is free software; you can redistribute it and/or modify |
16 | 16 | # GNU General Public License for more details. |
17 | 17 | |
18 | 18 | # 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/>. | |
20 | 20 | |
21 | 21 | # As a special exception to the GNU General Public License, if you |
22 | 22 | # distribute this file as part of a program that contains a |
100 | 100 | exit $st |
101 | 101 | fi |
102 | 102 | |
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 | |
106 | 106 | |
107 | 107 | program_details () |
108 | 108 | { |
206 | 206 | exit $st |
207 | 207 | |
208 | 208 | # Local variables: |
209 | # eval: (add-hook 'write-file-hooks 'time-stamp) | |
209 | # eval: (add-hook 'before-save-hook 'time-stamp) | |
210 | 210 | # time-stamp-start: "scriptversion=" |
211 | 211 | # time-stamp-format: "%:y-%02m-%02d.%02H" |
212 | # time-stamp-time-zone: "UTC" | |
212 | # time-stamp-time-zone: "UTC0" | |
213 | 213 | # time-stamp-end: "; # UTC" |
214 | 214 | # End: |
0 | 0 | #! /bin/sh |
1 | 1 | # test-driver - basic testsuite driver script. |
2 | 2 | |
3 | scriptversion=2013-07-13.22; # UTC | |
3 | scriptversion=2018-03-07.03; # UTC | |
4 | 4 | |
5 | # Copyright (C) 2011-2014 Free Software Foundation, Inc. | |
5 | # Copyright (C) 2011-2018 Free Software Foundation, Inc. | |
6 | 6 | # |
7 | 7 | # This program is free software; you can redistribute it and/or modify |
8 | 8 | # it under the terms of the GNU General Public License as published by |
15 | 15 | # GNU General Public License for more details. |
16 | 16 | # |
17 | 17 | # 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/>. | |
19 | 19 | |
20 | 20 | # As a special exception to the GNU General Public License, if you |
21 | 21 | # distribute this file as part of a program that contains a |
139 | 139 | # Local Variables: |
140 | 140 | # mode: shell-script |
141 | 141 | # sh-indentation: 2 |
142 | # eval: (add-hook 'write-file-hooks 'time-stamp) | |
142 | # eval: (add-hook 'before-save-hook 'time-stamp) | |
143 | 143 | # time-stamp-start: "scriptversion=" |
144 | 144 | # time-stamp-format: "%:y-%02m-%02d.%02H" |
145 | # time-stamp-time-zone: "UTC" | |
145 | # time-stamp-time-zone: "UTC0" | |
146 | 146 | # time-stamp-end: "; # UTC" |
147 | 147 | # End: |
4 | 4 | COMPONENT_FONT=Dialog:14 |
5 | 5 | CUBE_TO_VIEWER=cubeview |
6 | 6 | 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 | |
8 | 8 | DBOBS_DISPLAY_COLUMNS=CLASSIFICATION:RA:DEC:TPL.EXPNO:TPL.NEXP |
9 | 9 | DBOBS_DISPLAY_COLUMNS_SIZE=0:0:0:0:0 |
10 | 10 | DBOBS_INSTRUMENT=All |
40 | 40 | PRINT_FONT=Monospaced:16 |
41 | 41 | PRINT_ORIENTATION=P |
42 | 42 | 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 | |
45 | 45 | SHORTEN_FILES_PATH=false |
46 | 46 | SHORT_FILENAME=true |
47 | 47 | SHOW_EXTENSIONS=true |
0 | 0 | #! /bin/sh |
1 | 1 | # 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. | |
3 | 3 | # |
4 | 4 | # Report bugs to <usd-help@eso.org>. |
5 | 5 | # |
589 | 589 | # Identity of this package. |
590 | 590 | PACKAGE_NAME='X-shooter Instrument Pipeline' |
591 | 591 | 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' | |
594 | 594 | PACKAGE_BUGREPORT='usd-help@eso.org' |
595 | 595 | PACKAGE_URL='' |
596 | 596 | |
707 | 707 | AMDEPBACKSLASH |
708 | 708 | AMDEP_FALSE |
709 | 709 | AMDEP_TRUE |
710 | am__quote | |
711 | 710 | am__include |
712 | 711 | DEPDIR |
713 | 712 | OBJEXT |
807 | 806 | PACKAGE_TARNAME |
808 | 807 | PACKAGE_NAME |
809 | 808 | PATH_SEPARATOR |
810 | SHELL' | |
809 | SHELL | |
810 | am__quote' | |
811 | 811 | ac_subst_files='' |
812 | 812 | ac_user_opts=' |
813 | 813 | enable_option_checking |
1395 | 1395 | # Omit some internal or obsolete options to make the list less imposing. |
1396 | 1396 | # This message is too long to be a string in the A/UX 3.1 sh. |
1397 | 1397 | 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. | |
1399 | 1399 | |
1400 | 1400 | Usage: $0 [OPTION]... [VAR=VALUE]... |
1401 | 1401 | |
1466 | 1466 | |
1467 | 1467 | if test -n "$ac_init_help"; then |
1468 | 1468 | 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:";; | |
1470 | 1470 | esac |
1471 | 1471 | cat <<\_ACEOF |
1472 | 1472 | |
1604 | 1604 | test -n "$ac_init_help" && exit $ac_status |
1605 | 1605 | if $ac_init_version; then |
1606 | 1606 | cat <<\_ACEOF |
1607 | X-shooter Instrument Pipeline configure 3.3.5 | |
1607 | X-shooter Instrument Pipeline configure 3.5.0 | |
1608 | 1608 | generated by GNU Autoconf 2.69 |
1609 | 1609 | |
1610 | 1610 | Copyright (C) 2012 Free Software Foundation, Inc. |
2019 | 2019 | This file contains any messages produced by compilers while |
2020 | 2020 | running configure, to aid debugging if configure makes a mistake. |
2021 | 2021 | |
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 | |
2023 | 2023 | generated by GNU Autoconf 2.69. Invocation command line was |
2024 | 2024 | |
2025 | 2025 | $ $0 $@ |
2515 | 2515 | NONENONEs,x,x, && |
2516 | 2516 | program_prefix=${target_alias}- |
2517 | 2517 | |
2518 | am__api_version='1.15' | |
2518 | am__api_version='1.16' | |
2519 | 2519 | |
2520 | 2520 | # Find a good install program. We prefer a C program (faster), |
2521 | 2521 | # so one script is as good as another. But avoid the broken or |
3001 | 3001 | |
3002 | 3002 | # Define the identity of the package. |
3003 | 3003 | PACKAGE='xshoo' |
3004 | VERSION='3.3.5' | |
3004 | VERSION='3.5.0' | |
3005 | 3005 | |
3006 | 3006 | |
3007 | 3007 | cat >>confdefs.h <<_ACEOF |
3031 | 3031 | |
3032 | 3032 | # For better backward compatibility. To be removed once Automake 1.9.x |
3033 | 3033 | # 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> | |
3036 | 3036 | mkdir_p='$(MKDIR_P)' |
3037 | 3037 | |
3038 | 3038 | # We need awk for the "check" target (and possibly the TAP driver). The |
3083 | 3083 | Aborting the configuration process, to ensure you take notice of the issue. |
3084 | 3084 | |
3085 | 3085 | 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/>. | |
3087 | 3087 | |
3088 | 3088 | If you want to complete the configuration process using your problematic |
3089 | 3089 | 'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM |
4118 | 4118 | |
4119 | 4119 | ac_config_commands="$ac_config_commands depfiles" |
4120 | 4120 | |
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' | |
4124 | 4124 | am__doit: |
4125 | @echo this is the am__doit target | |
4125 | @echo this is the am__doit target >confinc.out | |
4126 | 4126 | .PHONY: am__doit |
4127 | 4127 | 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; } | |
4131 | 4128 | am__include="#" |
4132 | 4129 | 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 | ;; | |
4143 | 4151 | 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; } | |
4160 | 4160 | |
4161 | 4161 | # Check whether --enable-dependency-tracking was given. |
4162 | 4162 | if test "${enable_dependency_tracking+set}" = set; then : |
16029 | 16029 | # report actual input values of CONFIG_FILES etc. instead of their |
16030 | 16030 | # values after options handling. |
16031 | 16031 | 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 | |
16033 | 16033 | generated by GNU Autoconf 2.69. Invocation command line was |
16034 | 16034 | |
16035 | 16035 | CONFIG_FILES = $CONFIG_FILES |
16095 | 16095 | cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 |
16096 | 16096 | ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`" |
16097 | 16097 | ac_cs_version="\\ |
16098 | X-shooter Instrument Pipeline config.status 3.3.5 | |
16098 | X-shooter Instrument Pipeline config.status 3.5.0 | |
16099 | 16099 | configured by $0, generated by GNU Autoconf 2.69, |
16100 | 16100 | with options \\"\$ac_cs_config\\" |
16101 | 16101 | |
16214 | 16214 | # |
16215 | 16215 | # INIT-COMMANDS |
16216 | 16216 | # |
16217 | AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir" | |
16217 | AMDEP_TRUE="$AMDEP_TRUE" MAKE="${MAKE-make}" | |
16218 | 16218 | |
16219 | 16219 | |
16220 | 16220 | # The HP-UX ksh and POSIX shell print the target directory to stdout |
17121 | 17121 | # Older Autoconf quotes --file arguments for eval, but not when files |
17122 | 17122 | # are listed without --file. Let's play safe and only enable the eval |
17123 | 17123 | # 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 | |
17128 | 17134 | shift |
17129 | for mf | |
17135 | # Used to flag and report bootstrapping failures. | |
17136 | am_rc=0 | |
17137 | for am_mf | |
17130 | 17138 | do |
17131 | 17139 | # 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 | |
17139 | 17144 | # 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" | | |
17147 | 17153 | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ |
17148 | 17154 | s//\1/ |
17149 | 17155 | q |
17161 | 17167 | q |
17162 | 17168 | } |
17163 | 17169 | 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 '/^.*\/\([^/][^/]*\)\/*$/{ | |
17190 | 17176 | s//\1/ |
17191 | 17177 | q |
17192 | 17178 | } |
17193 | /^X\(\/\/\)[^/].*/{ | |
17179 | /^X\/\(\/\/\)$/{ | |
17194 | 17180 | s//\1/ |
17195 | 17181 | q |
17196 | 17182 | } |
17197 | /^X\(\/\/\)$/{ | |
17198 | s//\1/ | |
17199 | q | |
17200 | } | |
17201 | /^X\(\/\).*/{ | |
17183 | /^X\/\(\/\).*/{ | |
17202 | 17184 | s//\1/ |
17203 | 17185 | q |
17204 | 17186 | } |
17205 | 17187 | 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=$? | |
17210 | 17197 | 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 | |
17211 | 17212 | } |
17212 | 17213 | ;; |
17213 | 17214 | "libtool":C) |
0 | 0 | # 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], | |
2 | 2 | [xshoo]) |
3 | 3 | |
4 | 4 |
0 | # Makefile.in generated by automake 1.15 from Makefile.am. | |
0 | # Makefile.in generated by automake 1.16.1 from Makefile.am. | |
1 | 1 | # @configure_input@ |
2 | 2 | |
3 | # Copyright (C) 1994-2014 Free Software Foundation, Inc. | |
3 | # Copyright (C) 1994-2018 Free Software Foundation, Inc. | |
4 | 4 | |
5 | 5 | # This Makefile.in is free software; the Free Software Foundation |
6 | 6 | # gives unlimited permission to copy and/or distribute it, |
190 | 190 | am__v_at_1 = |
191 | 191 | DEFAULT_INCLUDES = -I.@am__isrc@ |
192 | 192 | 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 | |
194 | 233 | am__mv = mv -f |
195 | 234 | COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \ |
196 | 235 | $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) |
261 | 300 | $(RECURSIVE_CLEAN_TARGETS) \ |
262 | 301 | $(am__extra_recursive_targets) |
263 | 302 | 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 | |
265 | 304 | am__tagged_files = $(HEADERS) $(SOURCES) $(TAGS_FILES) \ |
266 | 305 | $(LISP)config.h.in |
267 | 306 | # Read a list of newline-separated strings from the standard input, |
610 | 649 | echo ' $(SHELL) ./config.status'; \ |
611 | 650 | $(SHELL) ./config.status;; \ |
612 | 651 | *) \ |
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);; \ | |
615 | 654 | esac; |
616 | 655 | |
617 | 656 | $(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES) |
693 | 732 | distclean-compile: |
694 | 733 | -rm -f *.tab.c |
695 | 734 | |
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) | |
735 | 780 | |
736 | 781 | .c.o: |
737 | 782 | @am__fastdepCC_TRUE@ $(AM_V_CC)$(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $< |
1163 | 1208 | -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags |
1164 | 1209 | -rm -f cscope.out cscope.in.out cscope.po.out cscope.files |
1165 | 1210 | |
1166 | distdir: $(DISTFILES) | |
1211 | distdir: $(BUILT_SOURCES) | |
1212 | $(MAKE) $(AM_MAKEFLAGS) distdir-am | |
1213 | ||
1214 | distdir-am: $(DISTFILES) | |
1167 | 1215 | $(am__remove_distdir) |
1168 | 1216 | test -d "$(distdir)" || mkdir "$(distdir)" |
1169 | 1217 | @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ |
1228 | 1276 | ! -type d ! -perm -444 -exec $(install_sh) -c -m a+r {} {} \; \ |
1229 | 1277 | || chmod -R a+r "$(distdir)" |
1230 | 1278 | 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 | |
1232 | 1280 | $(am__post_remove_distdir) |
1233 | 1281 | |
1234 | 1282 | dist-bzip2: distdir |
1254 | 1302 | @echo WARNING: "Support for shar distribution archives is" \ |
1255 | 1303 | "deprecated." >&2 |
1256 | 1304 | @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 | |
1258 | 1306 | $(am__post_remove_distdir) |
1259 | 1307 | |
1260 | 1308 | dist-zip: distdir |
1272 | 1320 | distcheck: dist |
1273 | 1321 | case '$(DIST_ARCHIVES)' in \ |
1274 | 1322 | *.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) ;;\ | |
1276 | 1324 | *.tar.bz2*) \ |
1277 | 1325 | bzip2 -dc $(distdir).tar.bz2 | $(am__untar) ;;\ |
1278 | 1326 | *.tar.lz*) \ |
1282 | 1330 | *.tar.Z*) \ |
1283 | 1331 | uncompress -c $(distdir).tar.Z | $(am__untar) ;;\ |
1284 | 1332 | *.shar.gz*) \ |
1285 | GZIP=$(GZIP_ENV) gzip -dc $(distdir).shar.gz | unshar ;;\ | |
1333 | eval GZIP= gzip $(GZIP_ENV) -dc $(distdir).shar.gz | unshar ;;\ | |
1286 | 1334 | *.zip*) \ |
1287 | 1335 | unzip $(distdir).zip ;;\ |
1288 | 1336 | esac |
1398 | 1446 | |
1399 | 1447 | distclean: distclean-recursive |
1400 | 1448 | -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 | |
1402 | 1488 | -rm -f Makefile |
1403 | 1489 | distclean-am: clean-am distclean-compile distclean-generic \ |
1404 | 1490 | distclean-hdr distclean-libtool distclean-tags |
1446 | 1532 | maintainer-clean: maintainer-clean-recursive |
1447 | 1533 | -rm -f $(am__CONFIG_DISTCLEAN_FILES) |
1448 | 1534 | -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 | |
1450 | 1574 | -rm -f Makefile |
1451 | 1575 | maintainer-clean-am: distclean-am maintainer-clean-generic |
1452 | 1576 | |
1468 | 1592 | .MAKE: $(am__recursive_targets) all install-am install-strip |
1469 | 1593 | |
1470 | 1594 | .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 \ | |
1481 | 1606 | install-libLTLIBRARIES install-man install-pdf install-pdf-am \ |
1482 | 1607 | install-pkgincludeHEADERS install-ps install-ps-am \ |
1483 | 1608 | 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. | |
3 | 3 | |
4 | 4 | # This file is free software; the Free Software Foundation |
5 | 5 | # gives unlimited permission to copy and/or distribute it, |
19 | 19 | If you have problems, you may need to regenerate the build system entirely. |
20 | 20 | To do so, use the procedure documented by the package, typically 'autoreconf'.])]) |
21 | 21 | |
22 | # Copyright (C) 2002-2014 Free Software Foundation, Inc. | |
22 | # Copyright (C) 2002-2018 Free Software Foundation, Inc. | |
23 | 23 | # |
24 | 24 | # This file is free software; the Free Software Foundation |
25 | 25 | # gives unlimited permission to copy and/or distribute it, |
31 | 31 | # generated from the m4 files accompanying Automake X.Y. |
32 | 32 | # (This private macro should not be called outside this file.) |
33 | 33 | AC_DEFUN([AM_AUTOMAKE_VERSION], |
34 | [am__api_version='1.15' | |
34 | [am__api_version='1.16' | |
35 | 35 | dnl Some users find AM_AUTOMAKE_VERSION and mistake it for a way to |
36 | 36 | dnl require some minimum version. Point them to the right macro. |
37 | m4_if([$1], [1.15], [], | |
37 | m4_if([$1], [1.16.1], [], | |
38 | 38 | [AC_FATAL([Do not call $0, use AM_INIT_AUTOMAKE([$1]).])])dnl |
39 | 39 | ]) |
40 | 40 | |
50 | 50 | # Call AM_AUTOMAKE_VERSION and AM_AUTOMAKE_VERSION so they can be traced. |
51 | 51 | # This function is AC_REQUIREd by AM_INIT_AUTOMAKE. |
52 | 52 | AC_DEFUN([AM_SET_CURRENT_AUTOMAKE_VERSION], |
53 | [AM_AUTOMAKE_VERSION([1.15])dnl | |
53 | [AM_AUTOMAKE_VERSION([1.16.1])dnl | |
54 | 54 | m4_ifndef([AC_AUTOCONF_VERSION], |
55 | 55 | [m4_copy([m4_PACKAGE_VERSION], [AC_AUTOCONF_VERSION])])dnl |
56 | 56 | _AM_AUTOCONF_VERSION(m4_defn([AC_AUTOCONF_VERSION]))]) |
57 | 57 | |
58 | 58 | # AM_AUX_DIR_EXPAND -*- Autoconf -*- |
59 | 59 | |
60 | # Copyright (C) 2001-2014 Free Software Foundation, Inc. | |
60 | # Copyright (C) 2001-2018 Free Software Foundation, Inc. | |
61 | 61 | # |
62 | 62 | # This file is free software; the Free Software Foundation |
63 | 63 | # gives unlimited permission to copy and/or distribute it, |
109 | 109 | |
110 | 110 | # AM_CONDITIONAL -*- Autoconf -*- |
111 | 111 | |
112 | # Copyright (C) 1997-2014 Free Software Foundation, Inc. | |
112 | # Copyright (C) 1997-2018 Free Software Foundation, Inc. | |
113 | 113 | # |
114 | 114 | # This file is free software; the Free Software Foundation |
115 | 115 | # gives unlimited permission to copy and/or distribute it, |
140 | 140 | Usually this means the macro was only invoked conditionally.]]) |
141 | 141 | fi])]) |
142 | 142 | |
143 | # Copyright (C) 1999-2014 Free Software Foundation, Inc. | |
143 | # Copyright (C) 1999-2018 Free Software Foundation, Inc. | |
144 | 144 | # |
145 | 145 | # This file is free software; the Free Software Foundation |
146 | 146 | # gives unlimited permission to copy and/or distribute it, |
331 | 331 | |
332 | 332 | # Generate code to set up dependency tracking. -*- Autoconf -*- |
333 | 333 | |
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. | |
340 | 339 | |
341 | 340 | # _AM_OUTPUT_DEPENDENCY_COMMANDS |
342 | 341 | # ------------------------------ |
345 | 344 | # Older Autoconf quotes --file arguments for eval, but not when files |
346 | 345 | # are listed without --file. Let's play safe and only enable the eval |
347 | 346 | # 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]) | |
352 | 352 | shift |
353 | for mf | |
353 | # Used to flag and report bootstrapping failures. | |
354 | am_rc=0 | |
355 | for am_mf | |
354 | 356 | do |
355 | 357 | # 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 | |
363 | 362 | # 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=$? | |
390 | 370 | 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 | |
391 | 382 | } |
392 | 383 | ])# _AM_OUTPUT_DEPENDENCY_COMMANDS |
393 | 384 | |
396 | 387 | # ----------------------------- |
397 | 388 | # This macro should only be invoked once -- use via AC_REQUIRE. |
398 | 389 | # |
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. | |
402 | 393 | AC_DEFUN([AM_OUTPUT_DEPENDENCY_COMMANDS], |
403 | 394 | [AC_CONFIG_COMMANDS([depfiles], |
404 | 395 | [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. | |
410 | 400 | # |
411 | 401 | # This file is free software; the Free Software Foundation |
412 | 402 | # gives unlimited permission to copy and/or distribute it, |
430 | 420 | |
431 | 421 | # Do all the work for Automake. -*- Autoconf -*- |
432 | 422 | |
433 | # Copyright (C) 1996-2014 Free Software Foundation, Inc. | |
423 | # Copyright (C) 1996-2018 Free Software Foundation, Inc. | |
434 | 424 | # |
435 | 425 | # This file is free software; the Free Software Foundation |
436 | 426 | # gives unlimited permission to copy and/or distribute it, |
517 | 507 | AC_REQUIRE([AC_PROG_MKDIR_P])dnl |
518 | 508 | # For better backward compatibility. To be removed once Automake 1.9.x |
519 | 509 | # 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> | |
522 | 512 | AC_SUBST([mkdir_p], ['$(MKDIR_P)']) |
523 | 513 | # We need awk for the "check" target (and possibly the TAP driver). The |
524 | 514 | # system "awk" is bad on some platforms. |
585 | 575 | Aborting the configuration process, to ensure you take notice of the issue. |
586 | 576 | |
587 | 577 | 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/>. | |
589 | 579 | |
590 | 580 | If you want to complete the configuration process using your problematic |
591 | 581 | 'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM |
627 | 617 | done |
628 | 618 | echo "timestamp for $_am_arg" >`AS_DIRNAME(["$_am_arg"])`/stamp-h[]$_am_stamp_count]) |
629 | 619 | |
630 | # Copyright (C) 2001-2014 Free Software Foundation, Inc. | |
620 | # Copyright (C) 2001-2018 Free Software Foundation, Inc. | |
631 | 621 | # |
632 | 622 | # This file is free software; the Free Software Foundation |
633 | 623 | # gives unlimited permission to copy and/or distribute it, |
648 | 638 | fi |
649 | 639 | AC_SUBST([install_sh])]) |
650 | 640 | |
651 | # Copyright (C) 2003-2014 Free Software Foundation, Inc. | |
641 | # Copyright (C) 2003-2018 Free Software Foundation, Inc. | |
652 | 642 | # |
653 | 643 | # This file is free software; the Free Software Foundation |
654 | 644 | # gives unlimited permission to copy and/or distribute it, |
670 | 660 | # Add --enable-maintainer-mode option to configure. -*- Autoconf -*- |
671 | 661 | # From Jim Meyering |
672 | 662 | |
673 | # Copyright (C) 1996-2014 Free Software Foundation, Inc. | |
663 | # Copyright (C) 1996-2018 Free Software Foundation, Inc. | |
674 | 664 | # |
675 | 665 | # This file is free software; the Free Software Foundation |
676 | 666 | # gives unlimited permission to copy and/or distribute it, |
705 | 695 | |
706 | 696 | # Check to see how 'make' treats includes. -*- Autoconf -*- |
707 | 697 | |
708 | # Copyright (C) 2001-2014 Free Software Foundation, Inc. | |
698 | # Copyright (C) 2001-2018 Free Software Foundation, Inc. | |
709 | 699 | # |
710 | 700 | # This file is free software; the Free Software Foundation |
711 | 701 | # gives unlimited permission to copy and/or distribute it, |
713 | 703 | |
714 | 704 | # AM_MAKE_INCLUDE() |
715 | 705 | # ----------------- |
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. | |
717 | 708 | 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' | |
720 | 711 | am__doit: |
721 | @echo this is the am__doit target | |
712 | @echo this is the am__doit target >confinc.out | |
722 | 713 | .PHONY: am__doit |
723 | 714 | 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]) | |
726 | 715 | am__include="#" |
727 | 716 | 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])]) | |
755 | 738 | |
756 | 739 | # Fake the existence of programs that GNU maintainers use. -*- Autoconf -*- |
757 | 740 | |
758 | # Copyright (C) 1997-2014 Free Software Foundation, Inc. | |
741 | # Copyright (C) 1997-2018 Free Software Foundation, Inc. | |
759 | 742 | # |
760 | 743 | # This file is free software; the Free Software Foundation |
761 | 744 | # gives unlimited permission to copy and/or distribute it, |
794 | 777 | |
795 | 778 | # Helper functions for option handling. -*- Autoconf -*- |
796 | 779 | |
797 | # Copyright (C) 2001-2014 Free Software Foundation, Inc. | |
780 | # Copyright (C) 2001-2018 Free Software Foundation, Inc. | |
798 | 781 | # |
799 | 782 | # This file is free software; the Free Software Foundation |
800 | 783 | # gives unlimited permission to copy and/or distribute it, |
823 | 806 | AC_DEFUN([_AM_IF_OPTION], |
824 | 807 | [m4_ifset(_AM_MANGLE_OPTION([$1]), [$2], [$3])]) |
825 | 808 | |
826 | # Copyright (C) 1999-2014 Free Software Foundation, Inc. | |
809 | # Copyright (C) 1999-2018 Free Software Foundation, Inc. | |
827 | 810 | # |
828 | 811 | # This file is free software; the Free Software Foundation |
829 | 812 | # gives unlimited permission to copy and/or distribute it, |
870 | 853 | # For backward compatibility. |
871 | 854 | AC_DEFUN_ONCE([AM_PROG_CC_C_O], [AC_REQUIRE([AC_PROG_CC])]) |
872 | 855 | |
873 | # Copyright (C) 2001-2014 Free Software Foundation, Inc. | |
856 | # Copyright (C) 2001-2018 Free Software Foundation, Inc. | |
874 | 857 | # |
875 | 858 | # This file is free software; the Free Software Foundation |
876 | 859 | # gives unlimited permission to copy and/or distribute it, |
889 | 872 | |
890 | 873 | # Check to make sure that the build environment is sane. -*- Autoconf -*- |
891 | 874 | |
892 | # Copyright (C) 1996-2014 Free Software Foundation, Inc. | |
875 | # Copyright (C) 1996-2018 Free Software Foundation, Inc. | |
893 | 876 | # |
894 | 877 | # This file is free software; the Free Software Foundation |
895 | 878 | # gives unlimited permission to copy and/or distribute it, |
970 | 953 | rm -f conftest.file |
971 | 954 | ]) |
972 | 955 | |
973 | # Copyright (C) 2009-2014 Free Software Foundation, Inc. | |
956 | # Copyright (C) 2009-2018 Free Software Foundation, Inc. | |
974 | 957 | # |
975 | 958 | # This file is free software; the Free Software Foundation |
976 | 959 | # gives unlimited permission to copy and/or distribute it, |
1030 | 1013 | _AM_SUBST_NOTMAKE([AM_BACKSLASH])dnl |
1031 | 1014 | ]) |
1032 | 1015 | |
1033 | # Copyright (C) 2001-2014 Free Software Foundation, Inc. | |
1016 | # Copyright (C) 2001-2018 Free Software Foundation, Inc. | |
1034 | 1017 | # |
1035 | 1018 | # This file is free software; the Free Software Foundation |
1036 | 1019 | # gives unlimited permission to copy and/or distribute it, |
1058 | 1041 | INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s" |
1059 | 1042 | AC_SUBST([INSTALL_STRIP_PROGRAM])]) |
1060 | 1043 | |
1061 | # Copyright (C) 2006-2014 Free Software Foundation, Inc. | |
1044 | # Copyright (C) 2006-2018 Free Software Foundation, Inc. | |
1062 | 1045 | # |
1063 | 1046 | # This file is free software; the Free Software Foundation |
1064 | 1047 | # gives unlimited permission to copy and/or distribute it, |
1077 | 1060 | |
1078 | 1061 | # Check how to create a tarball. -*- Autoconf -*- |
1079 | 1062 | |
1080 | # Copyright (C) 2004-2014 Free Software Foundation, Inc. | |
1063 | # Copyright (C) 2004-2018 Free Software Foundation, Inc. | |
1081 | 1064 | # |
1082 | 1065 | # This file is free software; the Free Software Foundation |
1083 | 1066 | # gives unlimited permission to copy and/or distribute it, |
0 | 0 | #! /bin/sh |
1 | 1 | # Wrapper for compilers which do not understand '-c -o'. |
2 | 2 | |
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. | |
6 | 6 | # Written by Tom Tromey <tromey@cygnus.com>. |
7 | 7 | # |
8 | 8 | # This program is free software; you can redistribute it and/or modify |
16 | 16 | # GNU General Public License for more details. |
17 | 17 | # |
18 | 18 | # 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/>. | |
20 | 20 | |
21 | 21 | # As a special exception to the GNU General Public License, if you |
22 | 22 | # distribute this file as part of a program that contains a |
254 | 254 | echo "compile $scriptversion" |
255 | 255 | exit $? |
256 | 256 | ;; |
257 | cl | *[/\\]cl | cl.exe | *[/\\]cl.exe ) | |
257 | cl | *[/\\]cl | cl.exe | *[/\\]cl.exe | \ | |
258 | icl | *[/\\]icl | icl.exe | *[/\\]icl.exe ) | |
258 | 259 | func_cl_wrapper "$@" # Doesn't return... |
259 | 260 | ;; |
260 | 261 | esac |
338 | 339 | # Local Variables: |
339 | 340 | # mode: shell-script |
340 | 341 | # sh-indentation: 2 |
341 | # eval: (add-hook 'write-file-hooks 'time-stamp) | |
342 | # eval: (add-hook 'before-save-hook 'time-stamp) | |
342 | 343 | # time-stamp-start: "scriptversion=" |
343 | 344 | # time-stamp-format: "%:y-%02m-%02d.%02H" |
344 | # time-stamp-time-zone: "UTC" | |
345 | # time-stamp-time-zone: "UTC0" | |
345 | 346 | # time-stamp-end: "; # UTC" |
346 | 347 | # End: |
0 | 0 | #! /bin/sh |
1 | 1 | # 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' | |
5 | 5 | |
6 | 6 | # This file is free software; you can redistribute it and/or modify it |
7 | 7 | # under the terms of the GNU General Public License as published by |
14 | 14 | # General Public License for more details. |
15 | 15 | # |
16 | 16 | # 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/>. | |
18 | 18 | # |
19 | 19 | # As a special exception to the GNU General Public License, if you |
20 | 20 | # distribute this file as part of a program that contains a |
26 | 26 | # Originally written by Per Bothner; maintained since 2000 by Ben Elliston. |
27 | 27 | # |
28 | 28 | # 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 | |
30 | 30 | # |
31 | 31 | # Please send patches to <config-patches@gnu.org>. |
32 | 32 | |
38 | 38 | |
39 | 39 | Output the configuration name of the system \`$me' is run on. |
40 | 40 | |
41 | Operation modes: | |
41 | Options: | |
42 | 42 | -h, --help print this help, then exit |
43 | 43 | -t, --time-stamp print date of last modification, then exit |
44 | 44 | -v, --version print version number, then exit |
49 | 49 | GNU config.guess ($timestamp) |
50 | 50 | |
51 | 51 | Originally written by Per Bothner. |
52 | Copyright 1992-2015 Free Software Foundation, Inc. | |
52 | Copyright 1992-2018 Free Software Foundation, Inc. | |
53 | 53 | |
54 | 54 | This is free software; see the source for copying conditions. There is NO |
55 | 55 | warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE." |
106 | 106 | dummy=$tmp/dummy ; |
107 | 107 | tmpfiles="$dummy.c $dummy.o $dummy.rel $dummy" ; |
108 | 108 | case $CC_FOR_BUILD,$HOST_CC,$CC in |
109 | ,,) echo "int x;" > $dummy.c ; | |
109 | ,,) echo "int x;" > "$dummy.c" ; | |
110 | 110 | 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 | |
112 | 112 | CC_FOR_BUILD="$c"; break ; |
113 | 113 | fi ; |
114 | 114 | done ; |
131 | 131 | UNAME_SYSTEM=`(uname -s) 2>/dev/null` || UNAME_SYSTEM=unknown |
132 | 132 | UNAME_VERSION=`(uname -v) 2>/dev/null` || UNAME_VERSION=unknown |
133 | 133 | |
134 | case "${UNAME_SYSTEM}" in | |
134 | case "$UNAME_SYSTEM" in | |
135 | 135 | Linux|GNU|GNU/*) |
136 | 136 | # If the system lacks a compiler, then just pick glibc. |
137 | 137 | # We could probably try harder. |
138 | 138 | LIBC=gnu |
139 | 139 | |
140 | eval $set_cc_for_build | |
141 | cat <<-EOF > $dummy.c | |
140 | eval "$set_cc_for_build" | |
141 | cat <<-EOF > "$dummy.c" | |
142 | 142 | #include <features.h> |
143 | 143 | #if defined(__UCLIBC__) |
144 | 144 | LIBC=uclibc |
148 | 148 | LIBC=gnu |
149 | 149 | #endif |
150 | 150 | 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 | |
152 | 159 | ;; |
153 | 160 | esac |
154 | 161 | |
155 | 162 | # Note: order is significant - the case branches are not exclusive. |
156 | 163 | |
157 | case "${UNAME_MACHINE}:${UNAME_SYSTEM}:${UNAME_RELEASE}:${UNAME_VERSION}" in | |
164 | case "$UNAME_MACHINE:$UNAME_SYSTEM:$UNAME_RELEASE:$UNAME_VERSION" in | |
158 | 165 | *:NetBSD:*:*) |
159 | 166 | # NetBSD (nbsd) targets should (where applicable) match one or |
160 | 167 | # more of the tuples: *-*-netbsdelf*, *-*-netbsdaout*, |
167 | 174 | # Note: NetBSD doesn't particularly care about the vendor |
168 | 175 | # portion of the name. We always set it to "unknown". |
169 | 176 | 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 | |
173 | 182 | armeb) machine=armeb-unknown ;; |
174 | 183 | arm*) machine=arm-unknown ;; |
175 | 184 | sh3el) machine=shl-unknown ;; |
176 | 185 | sh3eb) machine=sh-unknown ;; |
177 | 186 | 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 ;; | |
179 | 193 | esac |
180 | 194 | # 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 | ;; | |
183 | 200 | arm*|i386|m68k|ns32k|sh3*|sparc|vax) |
184 | eval $set_cc_for_build | |
201 | eval "$set_cc_for_build" | |
185 | 202 | if echo __ELF__ | $CC_FOR_BUILD -E - 2>/dev/null \ |
186 | 203 | | grep -q __ELF__ |
187 | 204 | then |
196 | 213 | os=netbsd |
197 | 214 | ;; |
198 | 215 | 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 | |
199 | 223 | # The OS release |
200 | 224 | # Debian GNU/NetBSD machines have a different userland, and |
201 | 225 | # thus, need a distinct triplet. However, they do not need |
202 | 226 | # kernel version information, so it can be replaced with a |
203 | 227 | # suitable tag, in the style of linux-gnu. |
204 | case "${UNAME_VERSION}" in | |
228 | case "$UNAME_VERSION" in | |
205 | 229 | Debian*) |
206 | 230 | release='-gnu' |
207 | 231 | ;; |
208 | 232 | *) |
209 | release=`echo ${UNAME_RELEASE}|sed -e 's/[-_].*/\./'` | |
233 | release=`echo "$UNAME_RELEASE" | sed -e 's/[-_].*//' | cut -d. -f1,2` | |
210 | 234 | ;; |
211 | 235 | esac |
212 | 236 | # Since CPU_TYPE-MANUFACTURER-KERNEL-OPERATING_SYSTEM: |
213 | 237 | # contains redundant information, the shorter form: |
214 | 238 | # CPU_TYPE-MANUFACTURER-OPERATING_SYSTEM is used. |
215 | echo "${machine}-${os}${release}" | |
239 | echo "$machine-${os}${release}${abi}" | |
216 | 240 | exit ;; |
217 | 241 | *:Bitrig:*:*) |
218 | 242 | 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" | |
220 | 244 | exit ;; |
221 | 245 | *:OpenBSD:*:*) |
222 | 246 | 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" | |
224 | 255 | exit ;; |
225 | 256 | *:ekkoBSD:*:*) |
226 | echo ${UNAME_MACHINE}-unknown-ekkobsd${UNAME_RELEASE} | |
257 | echo "$UNAME_MACHINE"-unknown-ekkobsd"$UNAME_RELEASE" | |
227 | 258 | exit ;; |
228 | 259 | *:SolidBSD:*:*) |
229 | echo ${UNAME_MACHINE}-unknown-solidbsd${UNAME_RELEASE} | |
260 | echo "$UNAME_MACHINE"-unknown-solidbsd"$UNAME_RELEASE" | |
230 | 261 | exit ;; |
231 | 262 | macppc:MirBSD:*:*) |
232 | echo powerpc-unknown-mirbsd${UNAME_RELEASE} | |
263 | echo powerpc-unknown-mirbsd"$UNAME_RELEASE" | |
233 | 264 | exit ;; |
234 | 265 | *: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 ;; | |
237 | 277 | alpha:OSF1:*:*) |
238 | 278 | case $UNAME_RELEASE in |
239 | 279 | *4.0) |
250 | 290 | ALPHA_CPU_TYPE=`/usr/sbin/psrinfo -v | sed -n -e 's/^ The alpha \(.*\) processor.*$/\1/p' | head -n 1` |
251 | 291 | case "$ALPHA_CPU_TYPE" in |
252 | 292 | "EV4 (21064)") |
253 | UNAME_MACHINE="alpha" ;; | |
293 | UNAME_MACHINE=alpha ;; | |
254 | 294 | "EV4.5 (21064)") |
255 | UNAME_MACHINE="alpha" ;; | |
295 | UNAME_MACHINE=alpha ;; | |
256 | 296 | "LCA4 (21066/21068)") |
257 | UNAME_MACHINE="alpha" ;; | |
297 | UNAME_MACHINE=alpha ;; | |
258 | 298 | "EV5 (21164)") |
259 | UNAME_MACHINE="alphaev5" ;; | |
299 | UNAME_MACHINE=alphaev5 ;; | |
260 | 300 | "EV5.6 (21164A)") |
261 | UNAME_MACHINE="alphaev56" ;; | |
301 | UNAME_MACHINE=alphaev56 ;; | |
262 | 302 | "EV5.6 (21164PC)") |
263 | UNAME_MACHINE="alphapca56" ;; | |
303 | UNAME_MACHINE=alphapca56 ;; | |
264 | 304 | "EV5.7 (21164PC)") |
265 | UNAME_MACHINE="alphapca57" ;; | |
305 | UNAME_MACHINE=alphapca57 ;; | |
266 | 306 | "EV6 (21264)") |
267 | UNAME_MACHINE="alphaev6" ;; | |
307 | UNAME_MACHINE=alphaev6 ;; | |
268 | 308 | "EV6.7 (21264A)") |
269 | UNAME_MACHINE="alphaev67" ;; | |
309 | UNAME_MACHINE=alphaev67 ;; | |
270 | 310 | "EV6.8CB (21264C)") |
271 | UNAME_MACHINE="alphaev68" ;; | |
311 | UNAME_MACHINE=alphaev68 ;; | |
272 | 312 | "EV6.8AL (21264B)") |
273 | UNAME_MACHINE="alphaev68" ;; | |
313 | UNAME_MACHINE=alphaev68 ;; | |
274 | 314 | "EV6.8CX (21264D)") |
275 | UNAME_MACHINE="alphaev68" ;; | |
315 | UNAME_MACHINE=alphaev68 ;; | |
276 | 316 | "EV6.9A (21264/EV69A)") |
277 | UNAME_MACHINE="alphaev69" ;; | |
317 | UNAME_MACHINE=alphaev69 ;; | |
278 | 318 | "EV7 (21364)") |
279 | UNAME_MACHINE="alphaev7" ;; | |
319 | UNAME_MACHINE=alphaev7 ;; | |
280 | 320 | "EV7.9 (21364A)") |
281 | UNAME_MACHINE="alphaev79" ;; | |
321 | UNAME_MACHINE=alphaev79 ;; | |
282 | 322 | esac |
283 | 323 | # A Pn.n version is a patched version. |
284 | 324 | # A Vn.n version is a released version. |
285 | 325 | # A Tn.n version is a released field test version. |
286 | 326 | # A Xn.n version is an unreleased experimental baselevel. |
287 | 327 | # 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`" | |
289 | 329 | # Reset EXIT trap before exiting to avoid spurious non-zero exit code. |
290 | 330 | exitcode=$? |
291 | 331 | trap '' 0 |
292 | 332 | 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 ;; | |
302 | 333 | Amiga*:UNIX_System_V:4.0:*) |
303 | 334 | echo m68k-unknown-sysv4 |
304 | 335 | exit ;; |
305 | 336 | *:[Aa]miga[Oo][Ss]:*:*) |
306 | echo ${UNAME_MACHINE}-unknown-amigaos | |
337 | echo "$UNAME_MACHINE"-unknown-amigaos | |
307 | 338 | exit ;; |
308 | 339 | *:[Mm]orph[Oo][Ss]:*:*) |
309 | echo ${UNAME_MACHINE}-unknown-morphos | |
340 | echo "$UNAME_MACHINE"-unknown-morphos | |
310 | 341 | exit ;; |
311 | 342 | *:OS/390:*:*) |
312 | 343 | echo i370-ibm-openedition |
318 | 349 | echo powerpc-ibm-os400 |
319 | 350 | exit ;; |
320 | 351 | arm:RISC*:1.[012]*:*|arm:riscix:1.[012]*:*) |
321 | echo arm-acorn-riscix${UNAME_RELEASE} | |
352 | echo arm-acorn-riscix"$UNAME_RELEASE" | |
322 | 353 | exit ;; |
323 | 354 | arm*:riscos:*:*|arm*:RISCOS:*:*) |
324 | 355 | echo arm-unknown-riscos |
345 | 376 | sparc) echo sparc-icl-nx7; exit ;; |
346 | 377 | esac ;; |
347 | 378 | 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/[^.]*//'`" | |
349 | 380 | exit ;; |
350 | 381 | 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/[^.]*//'`" | |
352 | 383 | exit ;; |
353 | 384 | 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/[^.]*//'`" | |
355 | 386 | exit ;; |
356 | 387 | i86pc:AuroraUX:5.*:* | i86xen:AuroraUX:5.*:*) |
357 | echo i386-pc-auroraux${UNAME_RELEASE} | |
388 | echo i386-pc-auroraux"$UNAME_RELEASE" | |
358 | 389 | exit ;; |
359 | 390 | 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 | |
362 | 393 | # If there is a compiler, see if it is configured for 64-bit objects. |
363 | 394 | # Note that the Sun cc does not turn __LP64__ into 1 like gcc does. |
364 | 395 | # This test works for both compilers. |
365 | if [ "$CC_FOR_BUILD" != 'no_compiler_found' ]; then | |
396 | if [ "$CC_FOR_BUILD" != no_compiler_found ]; then | |
366 | 397 | 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) | \ | |
368 | 399 | grep IS_64BIT_ARCH >/dev/null |
369 | 400 | then |
370 | SUN_ARCH="x86_64" | |
401 | SUN_ARCH=x86_64 | |
371 | 402 | fi |
372 | 403 | 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/[^.]*//'`" | |
374 | 405 | exit ;; |
375 | 406 | sun4*:SunOS:6*:*) |
376 | 407 | # According to config.sub, this is the proper way to canonicalize |
377 | 408 | # SunOS6. Hard to guess exactly what SunOS6 will be like, but |
378 | 409 | # 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/[^.]*//'`" | |
380 | 411 | exit ;; |
381 | 412 | sun4*:SunOS:*:*) |
382 | 413 | case "`/usr/bin/arch -k`" in |
385 | 416 | ;; |
386 | 417 | esac |
387 | 418 | # 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/-/_/'`" | |
389 | 420 | exit ;; |
390 | 421 | sun3*:SunOS:*:*) |
391 | echo m68k-sun-sunos${UNAME_RELEASE} | |
422 | echo m68k-sun-sunos"$UNAME_RELEASE" | |
392 | 423 | exit ;; |
393 | 424 | sun*:*:4.2BSD:*) |
394 | 425 | 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 | |
396 | 427 | case "`/bin/arch`" in |
397 | 428 | sun3) |
398 | echo m68k-sun-sunos${UNAME_RELEASE} | |
429 | echo m68k-sun-sunos"$UNAME_RELEASE" | |
399 | 430 | ;; |
400 | 431 | sun4) |
401 | echo sparc-sun-sunos${UNAME_RELEASE} | |
432 | echo sparc-sun-sunos"$UNAME_RELEASE" | |
402 | 433 | ;; |
403 | 434 | esac |
404 | 435 | exit ;; |
405 | 436 | aushp:SunOS:*:*) |
406 | echo sparc-auspex-sunos${UNAME_RELEASE} | |
437 | echo sparc-auspex-sunos"$UNAME_RELEASE" | |
407 | 438 | exit ;; |
408 | 439 | # The situation for MiNT is a little confusing. The machine name |
409 | 440 | # can be virtually everything (everything which is not |
414 | 445 | # MiNT. But MiNT is downward compatible to TOS, so this should |
415 | 446 | # be no problem. |
416 | 447 | atarist[e]:*MiNT:*:* | atarist[e]:*mint:*:* | atarist[e]:*TOS:*:*) |
417 | echo m68k-atari-mint${UNAME_RELEASE} | |
448 | echo m68k-atari-mint"$UNAME_RELEASE" | |
418 | 449 | exit ;; |
419 | 450 | atari*:*MiNT:*:* | atari*:*mint:*:* | atarist[e]:*TOS:*:*) |
420 | echo m68k-atari-mint${UNAME_RELEASE} | |
451 | echo m68k-atari-mint"$UNAME_RELEASE" | |
421 | 452 | exit ;; |
422 | 453 | *falcon*:*MiNT:*:* | *falcon*:*mint:*:* | *falcon*:*TOS:*:*) |
423 | echo m68k-atari-mint${UNAME_RELEASE} | |
454 | echo m68k-atari-mint"$UNAME_RELEASE" | |
424 | 455 | exit ;; |
425 | 456 | milan*:*MiNT:*:* | milan*:*mint:*:* | *milan*:*TOS:*:*) |
426 | echo m68k-milan-mint${UNAME_RELEASE} | |
457 | echo m68k-milan-mint"$UNAME_RELEASE" | |
427 | 458 | exit ;; |
428 | 459 | hades*:*MiNT:*:* | hades*:*mint:*:* | *hades*:*TOS:*:*) |
429 | echo m68k-hades-mint${UNAME_RELEASE} | |
460 | echo m68k-hades-mint"$UNAME_RELEASE" | |
430 | 461 | exit ;; |
431 | 462 | *:*MiNT:*:* | *:*mint:*:* | *:*TOS:*:*) |
432 | echo m68k-unknown-mint${UNAME_RELEASE} | |
463 | echo m68k-unknown-mint"$UNAME_RELEASE" | |
433 | 464 | exit ;; |
434 | 465 | m68k:machten:*:*) |
435 | echo m68k-apple-machten${UNAME_RELEASE} | |
466 | echo m68k-apple-machten"$UNAME_RELEASE" | |
436 | 467 | exit ;; |
437 | 468 | powerpc:machten:*:*) |
438 | echo powerpc-apple-machten${UNAME_RELEASE} | |
469 | echo powerpc-apple-machten"$UNAME_RELEASE" | |
439 | 470 | exit ;; |
440 | 471 | RISC*:Mach:*:*) |
441 | 472 | echo mips-dec-mach_bsd4.3 |
442 | 473 | exit ;; |
443 | 474 | RISC*:ULTRIX:*:*) |
444 | echo mips-dec-ultrix${UNAME_RELEASE} | |
475 | echo mips-dec-ultrix"$UNAME_RELEASE" | |
445 | 476 | exit ;; |
446 | 477 | VAX*:ULTRIX*:*:*) |
447 | echo vax-dec-ultrix${UNAME_RELEASE} | |
478 | echo vax-dec-ultrix"$UNAME_RELEASE" | |
448 | 479 | exit ;; |
449 | 480 | 2020:CLIX:*:* | 2430:CLIX:*:*) |
450 | echo clipper-intergraph-clix${UNAME_RELEASE} | |
481 | echo clipper-intergraph-clix"$UNAME_RELEASE" | |
451 | 482 | exit ;; |
452 | 483 | 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" | |
455 | 486 | #ifdef __cplusplus |
456 | 487 | #include <stdio.h> /* for printf() prototype */ |
457 | 488 | int main (int argc, char *argv[]) { |
460 | 491 | #endif |
461 | 492 | #if defined (host_mips) && defined (MIPSEB) |
462 | 493 | #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); | |
464 | 495 | #endif |
465 | 496 | #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); | |
467 | 498 | #endif |
468 | 499 | #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); | |
470 | 501 | #endif |
471 | 502 | #endif |
472 | 503 | exit (-1); |
473 | 504 | } |
474 | 505 | 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"` && | |
478 | 509 | { echo "$SYSTEM_NAME"; exit; } |
479 | echo mips-mips-riscos${UNAME_RELEASE} | |
510 | echo mips-mips-riscos"$UNAME_RELEASE" | |
480 | 511 | exit ;; |
481 | 512 | Motorola:PowerMAX_OS:*:*) |
482 | 513 | echo powerpc-motorola-powermax |
502 | 533 | AViiON:dgux:*:*) |
503 | 534 | # DG/UX returns AViiON for all architectures |
504 | 535 | UNAME_PROCESSOR=`/usr/bin/uname -p` |
505 | if [ $UNAME_PROCESSOR = mc88100 ] || [ $UNAME_PROCESSOR = mc88110 ] | |
536 | if [ "$UNAME_PROCESSOR" = mc88100 ] || [ "$UNAME_PROCESSOR" = mc88110 ] | |
506 | 537 | 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 ] | |
509 | 540 | then |
510 | echo m88k-dg-dgux${UNAME_RELEASE} | |
541 | echo m88k-dg-dgux"$UNAME_RELEASE" | |
511 | 542 | else |
512 | echo m88k-dg-dguxbcs${UNAME_RELEASE} | |
543 | echo m88k-dg-dguxbcs"$UNAME_RELEASE" | |
513 | 544 | fi |
514 | 545 | else |
515 | echo i586-dg-dgux${UNAME_RELEASE} | |
546 | echo i586-dg-dgux"$UNAME_RELEASE" | |
516 | 547 | fi |
517 | 548 | exit ;; |
518 | 549 | M88*:DolphinOS:*:*) # DolphinOS (SVR3) |
529 | 560 | echo m68k-tektronix-bsd |
530 | 561 | exit ;; |
531 | 562 | *: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'`" | |
533 | 564 | exit ;; |
534 | 565 | ????????:AIX?:[12].1:2) # AIX 2.2.1 or AIX 2.1.1 is RT/PC AIX. |
535 | 566 | echo romp-ibm-aix # uname -m gives an 8 hex-code CPU id |
541 | 572 | if [ -x /usr/bin/oslevel ] ; then |
542 | 573 | IBM_REV=`/usr/bin/oslevel` |
543 | 574 | 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" | |
547 | 578 | exit ;; |
548 | 579 | *:AIX:2:3) |
549 | 580 | 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" | |
552 | 583 | #include <sys/systemcfg.h> |
553 | 584 | |
554 | 585 | main() |
559 | 590 | exit(0); |
560 | 591 | } |
561 | 592 | 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"` | |
563 | 594 | then |
564 | 595 | echo "$SYSTEM_NAME" |
565 | 596 | else |
573 | 604 | exit ;; |
574 | 605 | *:AIX:*:[4567]) |
575 | 606 | 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 | |
577 | 608 | IBM_ARCH=rs6000 |
578 | 609 | else |
579 | 610 | IBM_ARCH=powerpc |
582 | 613 | IBM_REV=`/usr/bin/lslpp -Lqc bos.rte.libc | |
583 | 614 | awk -F: '{ print $3 }' | sed s/[0-9]*$/0/` |
584 | 615 | 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" | |
588 | 619 | exit ;; |
589 | 620 | *:AIX:*:*) |
590 | 621 | echo rs6000-ibm-aix |
591 | 622 | exit ;; |
592 | ibmrt:4.4BSD:*|romp-ibm:BSD:*) | |
623 | ibmrt:4.4BSD:*|romp-ibm:4.4BSD:*) | |
593 | 624 | echo romp-ibm-bsd4.4 |
594 | 625 | exit ;; |
595 | 626 | 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 | |
597 | 628 | exit ;; # report: romp-ibm BSD 4.3 |
598 | 629 | *:BOSX:*:*) |
599 | 630 | echo rs6000-bull-bosx |
608 | 639 | echo m68k-hp-bsd4.4 |
609 | 640 | exit ;; |
610 | 641 | 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 ;; | |
615 | 646 | 9000/[678][0-9][0-9]) |
616 | 647 | if [ -x /usr/bin/getconf ]; then |
617 | 648 | sc_cpu_version=`/usr/bin/getconf SC_CPU_VERSION 2>/dev/null` |
618 | 649 | 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 | |
622 | 653 | 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 | |
627 | 658 | esac ;; |
628 | 659 | esac |
629 | 660 | 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" | |
633 | 664 | |
634 | 665 | #define _HPUX_SOURCE |
635 | 666 | #include <stdlib.h> |
662 | 693 | exit (0); |
663 | 694 | } |
664 | 695 | 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"` | |
666 | 697 | test -z "$HP_ARCH" && HP_ARCH=hppa |
667 | 698 | fi ;; |
668 | 699 | esac |
669 | if [ ${HP_ARCH} = "hppa2.0w" ] | |
700 | if [ "$HP_ARCH" = hppa2.0w ] | |
670 | 701 | then |
671 | eval $set_cc_for_build | |
702 | eval "$set_cc_for_build" | |
672 | 703 | |
673 | 704 | # hppa2.0w-hp-hpux* has a 64-bit kernel and a compiler generating |
674 | 705 | # 32-bit code. hppa64-hp-hpux* has the same kernel and a compiler |
679 | 710 | # $ CC_FOR_BUILD="cc +DA2.0w" ./config.guess |
680 | 711 | # => hppa64-hp-hpux11.23 |
681 | 712 | |
682 | if echo __LP64__ | (CCOPTS= $CC_FOR_BUILD -E - 2>/dev/null) | | |
713 | if echo __LP64__ | (CCOPTS="" $CC_FOR_BUILD -E - 2>/dev/null) | | |
683 | 714 | grep -q __LP64__ |
684 | 715 | then |
685 | HP_ARCH="hppa2.0w" | |
716 | HP_ARCH=hppa2.0w | |
686 | 717 | else |
687 | HP_ARCH="hppa64" | |
718 | HP_ARCH=hppa64 | |
688 | 719 | fi |
689 | 720 | fi |
690 | echo ${HP_ARCH}-hp-hpux${HPUX_REV} | |
721 | echo "$HP_ARCH"-hp-hpux"$HPUX_REV" | |
691 | 722 | exit ;; |
692 | 723 | 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" | |
695 | 726 | exit ;; |
696 | 727 | 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" | |
699 | 730 | #include <unistd.h> |
700 | 731 | int |
701 | 732 | main () |
720 | 751 | exit (0); |
721 | 752 | } |
722 | 753 | EOF |
723 | $CC_FOR_BUILD -o $dummy $dummy.c && SYSTEM_NAME=`$dummy` && | |
754 | $CC_FOR_BUILD -o "$dummy" "$dummy.c" && SYSTEM_NAME=`"$dummy"` && | |
724 | 755 | { echo "$SYSTEM_NAME"; exit; } |
725 | 756 | echo unknown-hitachi-hiuxwe2 |
726 | 757 | exit ;; |
727 | 9000/7??:4.3bsd:*:* | 9000/8?[79]:4.3bsd:*:* ) | |
758 | 9000/7??:4.3bsd:*:* | 9000/8?[79]:4.3bsd:*:*) | |
728 | 759 | echo hppa1.1-hp-bsd |
729 | 760 | exit ;; |
730 | 761 | 9000/8??:4.3bsd:*:*) |
733 | 764 | *9??*:MPE/iX:*:* | *3000*:MPE/iX:*:*) |
734 | 765 | echo hppa1.0-hp-mpeix |
735 | 766 | exit ;; |
736 | hp7??:OSF1:*:* | hp8?[79]:OSF1:*:* ) | |
767 | hp7??:OSF1:*:* | hp8?[79]:OSF1:*:*) | |
737 | 768 | echo hppa1.1-hp-osf |
738 | 769 | exit ;; |
739 | 770 | hp8??:OSF1:*:*) |
741 | 772 | exit ;; |
742 | 773 | i*86:OSF1:*:*) |
743 | 774 | if [ -x /usr/sbin/sysversion ] ; then |
744 | echo ${UNAME_MACHINE}-unknown-osf1mk | |
775 | echo "$UNAME_MACHINE"-unknown-osf1mk | |
745 | 776 | else |
746 | echo ${UNAME_MACHINE}-unknown-osf1 | |
777 | echo "$UNAME_MACHINE"-unknown-osf1 | |
747 | 778 | fi |
748 | 779 | exit ;; |
749 | 780 | parisc*:Lites*:*:*) |
768 | 799 | echo c4-convex-bsd |
769 | 800 | exit ;; |
770 | 801 | 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/' | |
772 | 803 | exit ;; |
773 | 804 | CRAY*[A-Z]90:*:*:*) |
774 | echo ${UNAME_MACHINE}-cray-unicos${UNAME_RELEASE} \ | |
805 | echo "$UNAME_MACHINE"-cray-unicos"$UNAME_RELEASE" \ | |
775 | 806 | | sed -e 's/CRAY.*\([A-Z]90\)/\1/' \ |
776 | 807 | -e y/ABCDEFGHIJKLMNOPQRSTUVWXYZ/abcdefghijklmnopqrstuvwxyz/ \ |
777 | 808 | -e 's/\.[^.]*$/.X/' |
778 | 809 | exit ;; |
779 | 810 | CRAY*TS:*:*:*) |
780 | echo t90-cray-unicos${UNAME_RELEASE} | sed -e 's/\.[^.]*$/.X/' | |
811 | echo t90-cray-unicos"$UNAME_RELEASE" | sed -e 's/\.[^.]*$/.X/' | |
781 | 812 | exit ;; |
782 | 813 | CRAY*T3E:*:*:*) |
783 | echo alphaev5-cray-unicosmk${UNAME_RELEASE} | sed -e 's/\.[^.]*$/.X/' | |
814 | echo alphaev5-cray-unicosmk"$UNAME_RELEASE" | sed -e 's/\.[^.]*$/.X/' | |
784 | 815 | exit ;; |
785 | 816 | CRAY*SV1:*:*:*) |
786 | echo sv1-cray-unicos${UNAME_RELEASE} | sed -e 's/\.[^.]*$/.X/' | |
817 | echo sv1-cray-unicos"$UNAME_RELEASE" | sed -e 's/\.[^.]*$/.X/' | |
787 | 818 | exit ;; |
788 | 819 | *:UNICOS/mp:*:*) |
789 | echo craynv-cray-unicosmp${UNAME_RELEASE} | sed -e 's/\.[^.]*$/.X/' | |
820 | echo craynv-cray-unicosmp"$UNAME_RELEASE" | sed -e 's/\.[^.]*$/.X/' | |
790 | 821 | exit ;; |
791 | 822 | 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/ /_/'` | |
795 | 826 | echo "${FUJITSU_PROC}-fujitsu-${FUJITSU_SYS}${FUJITSU_REL}" |
796 | 827 | exit ;; |
797 | 828 | 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/ /_/'` | |
800 | 831 | echo "sparc-fujitsu-${FUJITSU_SYS}${FUJITSU_REL}" |
801 | 832 | exit ;; |
802 | 833 | 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" | |
804 | 835 | exit ;; |
805 | 836 | sparc*:BSD/OS:*:*) |
806 | echo sparc-unknown-bsdi${UNAME_RELEASE} | |
837 | echo sparc-unknown-bsdi"$UNAME_RELEASE" | |
807 | 838 | exit ;; |
808 | 839 | *:BSD/OS:*:*) |
809 | echo ${UNAME_MACHINE}-unknown-bsdi${UNAME_RELEASE} | |
840 | echo "$UNAME_MACHINE"-unknown-bsdi"$UNAME_RELEASE" | |
810 | 841 | exit ;; |
811 | 842 | *:FreeBSD:*:*) |
812 | 843 | UNAME_PROCESSOR=`/usr/bin/uname -p` |
813 | case ${UNAME_PROCESSOR} in | |
844 | case "$UNAME_PROCESSOR" in | |
814 | 845 | 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 ;; | |
818 | 849 | esac |
850 | echo "$UNAME_PROCESSOR"-unknown-freebsd"`echo "$UNAME_RELEASE"|sed -e 's/[-(].*//'`" | |
819 | 851 | exit ;; |
820 | 852 | i*:CYGWIN*:*) |
821 | echo ${UNAME_MACHINE}-pc-cygwin | |
853 | echo "$UNAME_MACHINE"-pc-cygwin | |
822 | 854 | exit ;; |
823 | 855 | *:MINGW64*:*) |
824 | echo ${UNAME_MACHINE}-pc-mingw64 | |
856 | echo "$UNAME_MACHINE"-pc-mingw64 | |
825 | 857 | exit ;; |
826 | 858 | *:MINGW*:*) |
827 | echo ${UNAME_MACHINE}-pc-mingw32 | |
859 | echo "$UNAME_MACHINE"-pc-mingw32 | |
828 | 860 | exit ;; |
829 | 861 | *: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 | |
835 | 863 | exit ;; |
836 | 864 | i*:PW*:*) |
837 | echo ${UNAME_MACHINE}-pc-pw32 | |
865 | echo "$UNAME_MACHINE"-pc-pw32 | |
838 | 866 | exit ;; |
839 | 867 | *:Interix*:*) |
840 | case ${UNAME_MACHINE} in | |
868 | case "$UNAME_MACHINE" in | |
841 | 869 | x86) |
842 | echo i586-pc-interix${UNAME_RELEASE} | |
870 | echo i586-pc-interix"$UNAME_RELEASE" | |
843 | 871 | exit ;; |
844 | 872 | authenticamd | genuineintel | EM64T) |
845 | echo x86_64-unknown-interix${UNAME_RELEASE} | |
873 | echo x86_64-unknown-interix"$UNAME_RELEASE" | |
846 | 874 | exit ;; |
847 | 875 | IA64) |
848 | echo ia64-unknown-interix${UNAME_RELEASE} | |
876 | echo ia64-unknown-interix"$UNAME_RELEASE" | |
849 | 877 | exit ;; |
850 | 878 | 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 ;; | |
863 | 879 | i*:UWIN*:*) |
864 | echo ${UNAME_MACHINE}-pc-uwin | |
880 | echo "$UNAME_MACHINE"-pc-uwin | |
865 | 881 | exit ;; |
866 | 882 | amd64:CYGWIN*:*:* | x86_64:CYGWIN*:*:*) |
867 | 883 | echo x86_64-unknown-cygwin |
868 | 884 | exit ;; |
869 | p*:CYGWIN*:*) | |
870 | echo powerpcle-unknown-cygwin | |
871 | exit ;; | |
872 | 885 | 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/[^.]*//'`" | |
874 | 887 | exit ;; |
875 | 888 | *:GNU:*:*) |
876 | 889 | # 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,/.*$,,'`" | |
878 | 891 | exit ;; |
879 | 892 | *:GNU/*:*:*) |
880 | 893 | # 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" | |
882 | 895 | exit ;; |
883 | 896 | i*86:Minix:*:*) |
884 | echo ${UNAME_MACHINE}-pc-minix | |
897 | echo "$UNAME_MACHINE"-pc-minix | |
885 | 898 | exit ;; |
886 | 899 | aarch64:Linux:*:*) |
887 | echo ${UNAME_MACHINE}-unknown-linux-${LIBC} | |
900 | echo "$UNAME_MACHINE"-unknown-linux-"$LIBC" | |
888 | 901 | exit ;; |
889 | 902 | aarch64_be:Linux:*:*) |
890 | 903 | UNAME_MACHINE=aarch64_be |
891 | echo ${UNAME_MACHINE}-unknown-linux-${LIBC} | |
904 | echo "$UNAME_MACHINE"-unknown-linux-"$LIBC" | |
892 | 905 | exit ;; |
893 | 906 | alpha:Linux:*:*) |
894 | 907 | case `sed -n '/^cpu model/s/^.*: \(.*\)/\1/p' < /proc/cpuinfo` in |
901 | 914 | EV68*) UNAME_MACHINE=alphaev68 ;; |
902 | 915 | esac |
903 | 916 | 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" | |
906 | 919 | exit ;; |
907 | 920 | arc:Linux:*:* | arceb:Linux:*:*) |
908 | echo ${UNAME_MACHINE}-unknown-linux-${LIBC} | |
921 | echo "$UNAME_MACHINE"-unknown-linux-"$LIBC" | |
909 | 922 | exit ;; |
910 | 923 | arm*:Linux:*:*) |
911 | eval $set_cc_for_build | |
924 | eval "$set_cc_for_build" | |
912 | 925 | if echo __ARM_EABI__ | $CC_FOR_BUILD -E - 2>/dev/null \ |
913 | 926 | | grep -q __ARM_EABI__ |
914 | 927 | then |
915 | echo ${UNAME_MACHINE}-unknown-linux-${LIBC} | |
928 | echo "$UNAME_MACHINE"-unknown-linux-"$LIBC" | |
916 | 929 | else |
917 | 930 | if echo __ARM_PCS_VFP | $CC_FOR_BUILD -E - 2>/dev/null \ |
918 | 931 | | grep -q __ARM_PCS_VFP |
919 | 932 | then |
920 | echo ${UNAME_MACHINE}-unknown-linux-${LIBC}eabi | |
933 | echo "$UNAME_MACHINE"-unknown-linux-"$LIBC"eabi | |
921 | 934 | else |
922 | echo ${UNAME_MACHINE}-unknown-linux-${LIBC}eabihf | |
935 | echo "$UNAME_MACHINE"-unknown-linux-"$LIBC"eabihf | |
923 | 936 | fi |
924 | 937 | fi |
925 | 938 | exit ;; |
926 | 939 | avr32*:Linux:*:*) |
927 | echo ${UNAME_MACHINE}-unknown-linux-${LIBC} | |
940 | echo "$UNAME_MACHINE"-unknown-linux-"$LIBC" | |
928 | 941 | exit ;; |
929 | 942 | cris:Linux:*:*) |
930 | echo ${UNAME_MACHINE}-axis-linux-${LIBC} | |
943 | echo "$UNAME_MACHINE"-axis-linux-"$LIBC" | |
931 | 944 | exit ;; |
932 | 945 | 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" | |
934 | 950 | exit ;; |
935 | 951 | frv:Linux:*:*) |
936 | echo ${UNAME_MACHINE}-unknown-linux-${LIBC} | |
952 | echo "$UNAME_MACHINE"-unknown-linux-"$LIBC" | |
937 | 953 | exit ;; |
938 | 954 | hexagon:Linux:*:*) |
939 | echo ${UNAME_MACHINE}-unknown-linux-${LIBC} | |
955 | echo "$UNAME_MACHINE"-unknown-linux-"$LIBC" | |
940 | 956 | exit ;; |
941 | 957 | i*86:Linux:*:*) |
942 | echo ${UNAME_MACHINE}-pc-linux-${LIBC} | |
958 | echo "$UNAME_MACHINE"-pc-linux-"$LIBC" | |
943 | 959 | exit ;; |
944 | 960 | 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" | |
946 | 965 | exit ;; |
947 | 966 | m32r*:Linux:*:*) |
948 | echo ${UNAME_MACHINE}-unknown-linux-${LIBC} | |
967 | echo "$UNAME_MACHINE"-unknown-linux-"$LIBC" | |
949 | 968 | exit ;; |
950 | 969 | m68*:Linux:*:*) |
951 | echo ${UNAME_MACHINE}-unknown-linux-${LIBC} | |
970 | echo "$UNAME_MACHINE"-unknown-linux-"$LIBC" | |
952 | 971 | exit ;; |
953 | 972 | 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" | |
956 | 975 | #undef CPU |
957 | 976 | #undef ${UNAME_MACHINE} |
958 | 977 | #undef ${UNAME_MACHINE}el |
966 | 985 | #endif |
967 | 986 | #endif |
968 | 987 | 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; } | |
971 | 990 | ;; |
991 | mips64el:Linux:*:*) | |
992 | echo "$UNAME_MACHINE"-unknown-linux-"$LIBC" | |
993 | exit ;; | |
972 | 994 | openrisc*:Linux:*:*) |
973 | echo or1k-unknown-linux-${LIBC} | |
995 | echo or1k-unknown-linux-"$LIBC" | |
974 | 996 | exit ;; |
975 | 997 | or32:Linux:*:* | or1k*:Linux:*:*) |
976 | echo ${UNAME_MACHINE}-unknown-linux-${LIBC} | |
998 | echo "$UNAME_MACHINE"-unknown-linux-"$LIBC" | |
977 | 999 | exit ;; |
978 | 1000 | padre:Linux:*:*) |
979 | echo sparc-unknown-linux-${LIBC} | |
1001 | echo sparc-unknown-linux-"$LIBC" | |
980 | 1002 | exit ;; |
981 | 1003 | parisc64:Linux:*:* | hppa64:Linux:*:*) |
982 | echo hppa64-unknown-linux-${LIBC} | |
1004 | echo hppa64-unknown-linux-"$LIBC" | |
983 | 1005 | exit ;; |
984 | 1006 | parisc:Linux:*:* | hppa:Linux:*:*) |
985 | 1007 | # Look for CPU level |
986 | 1008 | 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" ;; | |
990 | 1012 | esac |
991 | 1013 | exit ;; |
992 | 1014 | ppc64:Linux:*:*) |
993 | echo powerpc64-unknown-linux-${LIBC} | |
1015 | echo powerpc64-unknown-linux-"$LIBC" | |
994 | 1016 | exit ;; |
995 | 1017 | ppc:Linux:*:*) |
996 | echo powerpc-unknown-linux-${LIBC} | |
1018 | echo powerpc-unknown-linux-"$LIBC" | |
997 | 1019 | exit ;; |
998 | 1020 | ppc64le:Linux:*:*) |
999 | echo powerpc64le-unknown-linux-${LIBC} | |
1021 | echo powerpc64le-unknown-linux-"$LIBC" | |
1000 | 1022 | exit ;; |
1001 | 1023 | 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" | |
1003 | 1028 | exit ;; |
1004 | 1029 | s390:Linux:*:* | s390x:Linux:*:*) |
1005 | echo ${UNAME_MACHINE}-ibm-linux-${LIBC} | |
1030 | echo "$UNAME_MACHINE"-ibm-linux-"$LIBC" | |
1006 | 1031 | exit ;; |
1007 | 1032 | sh64*:Linux:*:*) |
1008 | echo ${UNAME_MACHINE}-unknown-linux-${LIBC} | |
1033 | echo "$UNAME_MACHINE"-unknown-linux-"$LIBC" | |
1009 | 1034 | exit ;; |
1010 | 1035 | sh*:Linux:*:*) |
1011 | echo ${UNAME_MACHINE}-unknown-linux-${LIBC} | |
1036 | echo "$UNAME_MACHINE"-unknown-linux-"$LIBC" | |
1012 | 1037 | exit ;; |
1013 | 1038 | sparc:Linux:*:* | sparc64:Linux:*:*) |
1014 | echo ${UNAME_MACHINE}-unknown-linux-${LIBC} | |
1039 | echo "$UNAME_MACHINE"-unknown-linux-"$LIBC" | |
1015 | 1040 | exit ;; |
1016 | 1041 | tile*:Linux:*:*) |
1017 | echo ${UNAME_MACHINE}-unknown-linux-${LIBC} | |
1042 | echo "$UNAME_MACHINE"-unknown-linux-"$LIBC" | |
1018 | 1043 | exit ;; |
1019 | 1044 | vax:Linux:*:*) |
1020 | echo ${UNAME_MACHINE}-dec-linux-${LIBC} | |
1045 | echo "$UNAME_MACHINE"-dec-linux-"$LIBC" | |
1021 | 1046 | exit ;; |
1022 | 1047 | x86_64:Linux:*:*) |
1023 | echo ${UNAME_MACHINE}-unknown-linux-${LIBC} | |
1048 | echo "$UNAME_MACHINE"-pc-linux-"$LIBC" | |
1024 | 1049 | exit ;; |
1025 | 1050 | xtensa*:Linux:*:*) |
1026 | echo ${UNAME_MACHINE}-unknown-linux-${LIBC} | |
1051 | echo "$UNAME_MACHINE"-unknown-linux-"$LIBC" | |
1027 | 1052 | exit ;; |
1028 | 1053 | i*86:DYNIX/ptx:4*:*) |
1029 | 1054 | # ptx 4.0 does uname -s correctly, with DYNIX/ptx in there. |
1037 | 1062 | # I am not positive that other SVR4 systems won't match this, |
1038 | 1063 | # I just have to hope. -- rms. |
1039 | 1064 | # 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" | |
1041 | 1066 | exit ;; |
1042 | 1067 | i*86:OS/2:*:*) |
1043 | 1068 | # If we were able to find `uname', then EMX Unix compatibility |
1044 | 1069 | # is probably installed. |
1045 | echo ${UNAME_MACHINE}-pc-os2-emx | |
1070 | echo "$UNAME_MACHINE"-pc-os2-emx | |
1046 | 1071 | exit ;; |
1047 | 1072 | i*86:XTS-300:*:STOP) |
1048 | echo ${UNAME_MACHINE}-unknown-stop | |
1073 | echo "$UNAME_MACHINE"-unknown-stop | |
1049 | 1074 | exit ;; |
1050 | 1075 | i*86:atheos:*:*) |
1051 | echo ${UNAME_MACHINE}-unknown-atheos | |
1076 | echo "$UNAME_MACHINE"-unknown-atheos | |
1052 | 1077 | exit ;; |
1053 | 1078 | i*86:syllable:*:*) |
1054 | echo ${UNAME_MACHINE}-pc-syllable | |
1079 | echo "$UNAME_MACHINE"-pc-syllable | |
1055 | 1080 | exit ;; |
1056 | 1081 | 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" | |
1058 | 1083 | exit ;; |
1059 | 1084 | 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$//'` | |
1064 | 1089 | 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" | |
1066 | 1091 | else |
1067 | echo ${UNAME_MACHINE}-pc-sysv${UNAME_REL} | |
1092 | echo "$UNAME_MACHINE"-pc-sysv"$UNAME_REL" | |
1068 | 1093 | fi |
1069 | 1094 | exit ;; |
1070 | 1095 | i*86:*:5:[678]*) |
1074 | 1099 | *Pentium) UNAME_MACHINE=i586 ;; |
1075 | 1100 | *Pent*|*Celeron) UNAME_MACHINE=i686 ;; |
1076 | 1101 | 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}" | |
1078 | 1103 | exit ;; |
1079 | 1104 | i*86:*:3.2:*) |
1080 | 1105 | if test -f /usr/options/cb.name; then |
1081 | 1106 | 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" | |
1083 | 1108 | elif /bin/uname -X 2>/dev/null >/dev/null ; then |
1084 | 1109 | UNAME_REL=`(/bin/uname -X|grep Release|sed -e 's/.*= //')` |
1085 | 1110 | (/bin/uname -X|grep i80486 >/dev/null) && UNAME_MACHINE=i486 |
1089 | 1114 | && UNAME_MACHINE=i686 |
1090 | 1115 | (/bin/uname -X|grep '^Machine.*Pentium Pro' >/dev/null) \ |
1091 | 1116 | && UNAME_MACHINE=i686 |
1092 | echo ${UNAME_MACHINE}-pc-sco$UNAME_REL | |
1117 | echo "$UNAME_MACHINE"-pc-sco"$UNAME_REL" | |
1093 | 1118 | else |
1094 | echo ${UNAME_MACHINE}-pc-sysv32 | |
1119 | echo "$UNAME_MACHINE"-pc-sysv32 | |
1095 | 1120 | fi |
1096 | 1121 | exit ;; |
1097 | 1122 | pc:*:*:*) |
1099 | 1124 | # uname -m prints for DJGPP always 'pc', but it prints nothing about |
1100 | 1125 | # the processor, so we play safe by assuming i586. |
1101 | 1126 | # 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 | |
1103 | 1128 | # this is a cross-build. |
1104 | 1129 | echo i586-pc-msdosdjgpp |
1105 | 1130 | exit ;; |
1111 | 1136 | exit ;; |
1112 | 1137 | i860:*:4.*:*) # i860-SVR4 |
1113 | 1138 | 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 | |
1115 | 1140 | 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 | |
1117 | 1142 | fi |
1118 | 1143 | exit ;; |
1119 | 1144 | mini*:CTIX:SYS*5:*) |
1133 | 1158 | test -r /etc/.relid \ |
1134 | 1159 | && OS_REL=.`sed -n 's/[^ ]* [^ ]* \([0-9][0-9]\).*/\1/p' < /etc/.relid` |
1135 | 1160 | /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; } | |
1137 | 1162 | /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; } ;; | |
1139 | 1164 | 3[34]??:*:4.0:* | 3[34]??,*:*:4.0:*) |
1140 | 1165 | /bin/uname -p 2>/dev/null | grep 86 >/dev/null \ |
1141 | 1166 | && { echo i486-ncr-sysv4; exit; } ;; |
1144 | 1169 | test -r /etc/.relid \ |
1145 | 1170 | && OS_REL=.`sed -n 's/[^ ]* [^ ]* \([0-9][0-9]\).*/\1/p' < /etc/.relid` |
1146 | 1171 | /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; } | |
1148 | 1173 | /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; } | |
1150 | 1175 | /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; } ;; | |
1152 | 1177 | m68*:LynxOS:2.*:* | m68*:LynxOS:3.0*:*) |
1153 | echo m68k-unknown-lynxos${UNAME_RELEASE} | |
1178 | echo m68k-unknown-lynxos"$UNAME_RELEASE" | |
1154 | 1179 | exit ;; |
1155 | 1180 | mc68030:UNIX_System_V:4.*:*) |
1156 | 1181 | echo m68k-atari-sysv4 |
1157 | 1182 | exit ;; |
1158 | 1183 | TSUNAMI:LynxOS:2.*:*) |
1159 | echo sparc-unknown-lynxos${UNAME_RELEASE} | |
1184 | echo sparc-unknown-lynxos"$UNAME_RELEASE" | |
1160 | 1185 | exit ;; |
1161 | 1186 | rs6000:LynxOS:2.*:*) |
1162 | echo rs6000-unknown-lynxos${UNAME_RELEASE} | |
1187 | echo rs6000-unknown-lynxos"$UNAME_RELEASE" | |
1163 | 1188 | exit ;; |
1164 | 1189 | 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" | |
1166 | 1191 | exit ;; |
1167 | 1192 | SM[BE]S:UNIX_SV:*:*) |
1168 | echo mips-dde-sysv${UNAME_RELEASE} | |
1193 | echo mips-dde-sysv"$UNAME_RELEASE" | |
1169 | 1194 | exit ;; |
1170 | 1195 | RM*:ReliantUNIX-*:*:*) |
1171 | 1196 | echo mips-sni-sysv4 |
1176 | 1201 | *:SINIX-*:*:*) |
1177 | 1202 | if uname -p 2>/dev/null >/dev/null ; then |
1178 | 1203 | UNAME_MACHINE=`(uname -p) 2>/dev/null` |
1179 | echo ${UNAME_MACHINE}-sni-sysv4 | |
1204 | echo "$UNAME_MACHINE"-sni-sysv4 | |
1180 | 1205 | else |
1181 | 1206 | echo ns32k-sni-sysv |
1182 | 1207 | fi |
1196 | 1221 | exit ;; |
1197 | 1222 | i*86:VOS:*:*) |
1198 | 1223 | # From Paul.Green@stratus.com. |
1199 | echo ${UNAME_MACHINE}-stratus-vos | |
1224 | echo "$UNAME_MACHINE"-stratus-vos | |
1200 | 1225 | exit ;; |
1201 | 1226 | *:VOS:*:*) |
1202 | 1227 | # From Paul.Green@stratus.com. |
1203 | 1228 | echo hppa1.1-stratus-vos |
1204 | 1229 | exit ;; |
1205 | 1230 | mc68*:A/UX:*:*) |
1206 | echo m68k-apple-aux${UNAME_RELEASE} | |
1231 | echo m68k-apple-aux"$UNAME_RELEASE" | |
1207 | 1232 | exit ;; |
1208 | 1233 | news*:NEWS-OS:6*:*) |
1209 | 1234 | echo mips-sony-newsos6 |
1210 | 1235 | exit ;; |
1211 | 1236 | R[34]000:*System_V*:*:* | R4000:UNIX_SYSV:*:* | R*000:UNIX_SV:*:*) |
1212 | 1237 | if [ -d /usr/nec ]; then |
1213 | echo mips-nec-sysv${UNAME_RELEASE} | |
1238 | echo mips-nec-sysv"$UNAME_RELEASE" | |
1214 | 1239 | else |
1215 | echo mips-unknown-sysv${UNAME_RELEASE} | |
1240 | echo mips-unknown-sysv"$UNAME_RELEASE" | |
1216 | 1241 | fi |
1217 | 1242 | exit ;; |
1218 | 1243 | BeBox:BeOS:*:*) # BeOS running on hardware made by Be, PPC only. |
1231 | 1256 | echo x86_64-unknown-haiku |
1232 | 1257 | exit ;; |
1233 | 1258 | SX-4:SUPER-UX:*:*) |
1234 | echo sx4-nec-superux${UNAME_RELEASE} | |
1259 | echo sx4-nec-superux"$UNAME_RELEASE" | |
1235 | 1260 | exit ;; |
1236 | 1261 | SX-5:SUPER-UX:*:*) |
1237 | echo sx5-nec-superux${UNAME_RELEASE} | |
1262 | echo sx5-nec-superux"$UNAME_RELEASE" | |
1238 | 1263 | exit ;; |
1239 | 1264 | SX-6:SUPER-UX:*:*) |
1240 | echo sx6-nec-superux${UNAME_RELEASE} | |
1265 | echo sx6-nec-superux"$UNAME_RELEASE" | |
1241 | 1266 | exit ;; |
1242 | 1267 | SX-7:SUPER-UX:*:*) |
1243 | echo sx7-nec-superux${UNAME_RELEASE} | |
1268 | echo sx7-nec-superux"$UNAME_RELEASE" | |
1244 | 1269 | exit ;; |
1245 | 1270 | SX-8:SUPER-UX:*:*) |
1246 | echo sx8-nec-superux${UNAME_RELEASE} | |
1271 | echo sx8-nec-superux"$UNAME_RELEASE" | |
1247 | 1272 | exit ;; |
1248 | 1273 | 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" | |
1250 | 1278 | exit ;; |
1251 | 1279 | Power*:Rhapsody:*:*) |
1252 | echo powerpc-apple-rhapsody${UNAME_RELEASE} | |
1280 | echo powerpc-apple-rhapsody"$UNAME_RELEASE" | |
1253 | 1281 | exit ;; |
1254 | 1282 | *:Rhapsody:*:*) |
1255 | echo ${UNAME_MACHINE}-apple-rhapsody${UNAME_RELEASE} | |
1283 | echo "$UNAME_MACHINE"-apple-rhapsody"$UNAME_RELEASE" | |
1256 | 1284 | exit ;; |
1257 | 1285 | *:Darwin:*:*) |
1258 | 1286 | UNAME_PROCESSOR=`uname -p` || UNAME_PROCESSOR=unknown |
1259 | eval $set_cc_for_build | |
1287 | eval "$set_cc_for_build" | |
1260 | 1288 | if test "$UNAME_PROCESSOR" = unknown ; then |
1261 | 1289 | UNAME_PROCESSOR=powerpc |
1262 | 1290 | 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 | |
1265 | 1293 | 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 | |
1268 | 1296 | then |
1269 | 1297 | case $UNAME_PROCESSOR in |
1270 | 1298 | i386) UNAME_PROCESSOR=x86_64 ;; |
1271 | 1299 | powerpc) UNAME_PROCESSOR=powerpc64 ;; |
1272 | 1300 | 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 | |
1273 | 1308 | fi |
1274 | 1309 | fi |
1275 | 1310 | elif test "$UNAME_PROCESSOR" = i386 ; then |
1281 | 1316 | # that Apple uses in portable devices. |
1282 | 1317 | UNAME_PROCESSOR=x86_64 |
1283 | 1318 | fi |
1284 | echo ${UNAME_PROCESSOR}-apple-darwin${UNAME_RELEASE} | |
1319 | echo "$UNAME_PROCESSOR"-apple-darwin"$UNAME_RELEASE" | |
1285 | 1320 | exit ;; |
1286 | 1321 | *:procnto*:*:* | *:QNX:[0123456789]*:*) |
1287 | 1322 | UNAME_PROCESSOR=`uname -p` |
1288 | if test "$UNAME_PROCESSOR" = "x86"; then | |
1323 | if test "$UNAME_PROCESSOR" = x86; then | |
1289 | 1324 | UNAME_PROCESSOR=i386 |
1290 | 1325 | UNAME_MACHINE=pc |
1291 | 1326 | fi |
1292 | echo ${UNAME_PROCESSOR}-${UNAME_MACHINE}-nto-qnx${UNAME_RELEASE} | |
1327 | echo "$UNAME_PROCESSOR"-"$UNAME_MACHINE"-nto-qnx"$UNAME_RELEASE" | |
1293 | 1328 | exit ;; |
1294 | 1329 | *:QNX:*:4*) |
1295 | 1330 | echo i386-pc-qnx |
1296 | 1331 | exit ;; |
1297 | NEO-?:NONSTOP_KERNEL:*:*) | |
1298 | echo neo-tandem-nsk${UNAME_RELEASE} | |
1332 | NEO-*:NONSTOP_KERNEL:*:*) | |
1333 | echo neo-tandem-nsk"$UNAME_RELEASE" | |
1299 | 1334 | exit ;; |
1300 | 1335 | 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" | |
1305 | 1346 | exit ;; |
1306 | 1347 | *:NonStop-UX:*:*) |
1307 | 1348 | echo mips-compaq-nonstopux |
1310 | 1351 | echo bs2000-siemens-sysv |
1311 | 1352 | exit ;; |
1312 | 1353 | DS/*:UNIX_System_V:*:*) |
1313 | echo ${UNAME_MACHINE}-${UNAME_SYSTEM}-${UNAME_RELEASE} | |
1354 | echo "$UNAME_MACHINE"-"$UNAME_SYSTEM"-"$UNAME_RELEASE" | |
1314 | 1355 | exit ;; |
1315 | 1356 | *:Plan9:*:*) |
1316 | 1357 | # "uname -m" is not consistent, so use $cputype instead. 386 |
1317 | 1358 | # is converted to i386 for consistency with other x86 |
1318 | 1359 | # operating systems. |
1319 | if test "$cputype" = "386"; then | |
1360 | if test "$cputype" = 386; then | |
1320 | 1361 | UNAME_MACHINE=i386 |
1321 | 1362 | else |
1322 | 1363 | UNAME_MACHINE="$cputype" |
1323 | 1364 | fi |
1324 | echo ${UNAME_MACHINE}-unknown-plan9 | |
1365 | echo "$UNAME_MACHINE"-unknown-plan9 | |
1325 | 1366 | exit ;; |
1326 | 1367 | *:TOPS-10:*:*) |
1327 | 1368 | echo pdp10-unknown-tops10 |
1342 | 1383 | echo pdp10-unknown-its |
1343 | 1384 | exit ;; |
1344 | 1385 | SEI:*:*:SEIUX) |
1345 | echo mips-sei-seiux${UNAME_RELEASE} | |
1386 | echo mips-sei-seiux"$UNAME_RELEASE" | |
1346 | 1387 | exit ;; |
1347 | 1388 | *: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/[-(].*//'`" | |
1349 | 1390 | exit ;; |
1350 | 1391 | *:*VMS:*:*) |
1351 | 1392 | UNAME_MACHINE=`(uname -p) 2>/dev/null` |
1352 | case "${UNAME_MACHINE}" in | |
1393 | case "$UNAME_MACHINE" in | |
1353 | 1394 | A*) echo alpha-dec-vms ; exit ;; |
1354 | 1395 | I*) echo ia64-dec-vms ; exit ;; |
1355 | 1396 | V*) echo vax-dec-vms ; exit ;; |
1358 | 1399 | echo i386-pc-xenix |
1359 | 1400 | exit ;; |
1360 | 1401 | 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/ .*$//'`" | |
1362 | 1403 | exit ;; |
1363 | 1404 | i*86:rdos:*:*) |
1364 | echo ${UNAME_MACHINE}-pc-rdos | |
1405 | echo "$UNAME_MACHINE"-pc-rdos | |
1365 | 1406 | exit ;; |
1366 | 1407 | i*86:AROS:*:*) |
1367 | echo ${UNAME_MACHINE}-pc-aros | |
1408 | echo "$UNAME_MACHINE"-pc-aros | |
1368 | 1409 | exit ;; |
1369 | 1410 | 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 | |
1371 | 1415 | exit ;; |
1372 | 1416 | esac |
1373 | 1417 | |
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 | ||
1374 | 1431 | 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 | |
1382 | 1438 | 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. | |
1389 | 1444 | |
1390 | 1445 | config.guess timestamp = $timestamp |
1391 | 1446 | |
1404 | 1459 | /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null` |
1405 | 1460 | /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null` |
1406 | 1461 | |
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" | |
1411 | 1466 | EOF |
1412 | 1467 | |
1413 | 1468 | exit 1 |
1414 | 1469 | |
1415 | 1470 | # Local variables: |
1416 | # eval: (add-hook 'write-file-hooks 'time-stamp) | |
1471 | # eval: (add-hook 'before-save-hook 'time-stamp) | |
1417 | 1472 | # time-stamp-start: "timestamp='" |
1418 | 1473 | # time-stamp-format: "%:y-%02m-%02d" |
1419 | 1474 | # time-stamp-end: "'" |
0 | 0 | #! /bin/sh |
1 | 1 | # 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' | |
5 | 5 | |
6 | 6 | # This file is free software; you can redistribute it and/or modify it |
7 | 7 | # under the terms of the GNU General Public License as published by |
14 | 14 | # General Public License for more details. |
15 | 15 | # |
16 | 16 | # 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/>. | |
18 | 18 | # |
19 | 19 | # As a special exception to the GNU General Public License, if you |
20 | 20 | # distribute this file as part of a program that contains a |
32 | 32 | # Otherwise, we print the canonical config type on stdout and succeed. |
33 | 33 | |
34 | 34 | # 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 | |
36 | 36 | |
37 | 37 | # This file is supposed to be the same for all GNU packages |
38 | 38 | # and recognize all the CPU types, system types and aliases |
52 | 52 | me=`echo "$0" | sed -e 's,.*/,,'` |
53 | 53 | |
54 | 54 | usage="\ |
55 | Usage: $0 [OPTION] CPU-MFR-OPSYS | |
56 | $0 [OPTION] ALIAS | |
55 | Usage: $0 [OPTION] CPU-MFR-OPSYS or ALIAS | |
57 | 56 | |
58 | 57 | Canonicalize a configuration name. |
59 | 58 | |
60 | Operation modes: | |
59 | Options: | |
61 | 60 | -h, --help print this help, then exit |
62 | 61 | -t, --time-stamp print date of last modification, then exit |
63 | 62 | -v, --version print version number, then exit |
67 | 66 | version="\ |
68 | 67 | GNU config.sub ($timestamp) |
69 | 68 | |
70 | Copyright 1992-2015 Free Software Foundation, Inc. | |
69 | Copyright 1992-2018 Free Software Foundation, Inc. | |
71 | 70 | |
72 | 71 | This is free software; see the source for copying conditions. There is NO |
73 | 72 | warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE." |
94 | 93 | |
95 | 94 | *local*) |
96 | 95 | # First pass through any local machine types. |
97 | echo $1 | |
96 | echo "$1" | |
98 | 97 | exit ;; |
99 | 98 | |
100 | 99 | * ) |
110 | 109 | exit 1;; |
111 | 110 | esac |
112 | 111 | |
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 | ;; | |
135 | 154 | esac |
136 | 155 | |
137 | 156 | ### Let's recognize common machines as not being operating systems so |
178 | 197 | ;; |
179 | 198 | -sco6) |
180 | 199 | os=-sco5v6 |
181 | basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'` | |
200 | basic_machine=`echo "$1" | sed -e 's/86-.*/86-pc/'` | |
182 | 201 | ;; |
183 | 202 | -sco5) |
184 | 203 | 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/'` | |
186 | 205 | ;; |
187 | 206 | -sco4) |
188 | 207 | 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/'` | |
190 | 209 | ;; |
191 | 210 | -sco3.2.[4-9]*) |
192 | 211 | 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/'` | |
194 | 213 | ;; |
195 | 214 | -sco3.2v[4-9]*) |
196 | 215 | # 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/'` | |
198 | 217 | ;; |
199 | 218 | -sco5v6*) |
200 | 219 | # 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/'` | |
202 | 221 | ;; |
203 | 222 | -sco*) |
204 | 223 | 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/'` | |
206 | 225 | ;; |
207 | 226 | -udk*) |
208 | basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'` | |
227 | basic_machine=`echo "$1" | sed -e 's/86-.*/86-pc/'` | |
209 | 228 | ;; |
210 | 229 | -isc) |
211 | 230 | 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/'` | |
213 | 232 | ;; |
214 | 233 | -clix*) |
215 | 234 | basic_machine=clipper-intergraph |
216 | 235 | ;; |
217 | 236 | -isc*) |
218 | basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'` | |
237 | basic_machine=`echo "$1" | sed -e 's/86-.*/86-pc/'` | |
219 | 238 | ;; |
220 | 239 | -lynx*178) |
221 | 240 | os=-lynxos178 |
227 | 246 | os=-lynxos |
228 | 247 | ;; |
229 | 248 | -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/'` | |
234 | 250 | ;; |
235 | 251 | -psos*) |
236 | 252 | os=-psos |
252 | 268 | | alpha64 | alpha64ev[4-8] | alpha64ev56 | alpha64ev6[78] | alpha64pca5[67] \ |
253 | 269 | | am33_2.0 \ |
254 | 270 | | 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] \ | |
256 | 272 | | avr | avr32 \ |
273 | | ba \ | |
257 | 274 | | be32 | be64 \ |
258 | 275 | | bfin \ |
259 | | c4x | c8051 | clipper \ | |
276 | | c4x | c8051 | clipper | csky \ | |
260 | 277 | | d10v | d30v | dlx | dsp16xx \ |
261 | | epiphany \ | |
278 | | e2k | epiphany \ | |
262 | 279 | | fido | fr30 | frv | ft32 \ |
263 | 280 | | h8300 | h8500 | hppa | hppa1.[01] | hppa2.0 | hppa2.0[nw] | hppa64 \ |
264 | 281 | | hexagon \ |
265 | | i370 | i860 | i960 | ia64 \ | |
282 | | i370 | i860 | i960 | ia16 | ia64 \ | |
266 | 283 | | ip2k | iq2000 \ |
267 | 284 | | k1om \ |
268 | 285 | | le32 | le64 \ |
295 | 312 | | mt \ |
296 | 313 | | msp430 \ |
297 | 314 | | nds32 | nds32le | nds32be \ |
315 | | nfp \ | |
298 | 316 | | nios | nios2 | nios2eb | nios2el \ |
299 | 317 | | ns16k | ns32k \ |
300 | 318 | | open8 | or1k | or1knd | or32 \ |
301 | | pdp10 | pdp11 | pj | pjl \ | |
319 | | pdp10 | pj | pjl \ | |
302 | 320 | | powerpc | powerpc64 | powerpc64le | powerpcle \ |
321 | | pru \ | |
303 | 322 | | pyramid \ |
304 | 323 | | riscv32 | riscv64 \ |
305 | 324 | | rl78 | rx \ |
306 | 325 | | 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 \ | |
308 | 327 | | sh64 | sh64le \ |
309 | 328 | | sparc | sparc64 | sparc64b | sparc64v | sparc86x | sparclet | sparclite \ |
310 | 329 | | sparcv8 | sparcv9 | sparcv9b | sparcv9v \ |
313 | 332 | | ubicom32 \ |
314 | 333 | | v850 | v850e | v850e1 | v850e2 | v850es | v850e2v3 \ |
315 | 334 | | visium \ |
316 | | we32k \ | |
335 | | wasm32 \ | |
317 | 336 | | x86 | xc16x | xstormy16 | xtensa \ |
318 | 337 | | z8k | z80) |
319 | 338 | basic_machine=$basic_machine-unknown |
334 | 353 | basic_machine=$basic_machine-unknown |
335 | 354 | os=-none |
336 | 355 | ;; |
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 | |
338 | 361 | ;; |
339 | 362 | ms1) |
340 | 363 | basic_machine=mt-unknown |
363 | 386 | ;; |
364 | 387 | # Object if more than one company name word. |
365 | 388 | *-*-*) |
366 | echo Invalid configuration \`$1\': machine \`$basic_machine\' not recognized 1>&2 | |
389 | echo Invalid configuration \`"$1"\': machine \`"$basic_machine"\' not recognized 1>&2 | |
367 | 390 | exit 1 |
368 | 391 | ;; |
369 | 392 | # Recognize the basic CPU types with company name. |
375 | 398 | | alphapca5[67]-* | alpha64pca5[67]-* | arc-* | arceb-* \ |
376 | 399 | | arm-* | armbe-* | armle-* | armeb-* | armv*-* \ |
377 | 400 | | avr-* | avr32-* \ |
401 | | ba-* \ | |
378 | 402 | | be32-* | be64-* \ |
379 | 403 | | bfin-* | bs2000-* \ |
380 | 404 | | c[123]* | c30-* | [cjt]90-* | c4x-* \ |
381 | | c8051-* | clipper-* | craynv-* | cydra-* \ | |
405 | | c8051-* | clipper-* | craynv-* | csky-* | cydra-* \ | |
382 | 406 | | d10v-* | d30v-* | dlx-* \ |
383 | | elxsi-* \ | |
407 | | e2k-* | elxsi-* \ | |
384 | 408 | | f30[01]-* | f700-* | fido-* | fr30-* | frv-* | fx80-* \ |
385 | 409 | | h8300-* | h8500-* \ |
386 | 410 | | hppa-* | hppa1.[01]-* | hppa2.0-* | hppa2.0[nw]-* | hppa64-* \ |
387 | 411 | | hexagon-* \ |
388 | | i*86-* | i860-* | i960-* | ia64-* \ | |
412 | | i*86-* | i860-* | i960-* | ia16-* | ia64-* \ | |
389 | 413 | | ip2k-* | iq2000-* \ |
390 | 414 | | k1om-* \ |
391 | 415 | | le32-* | le64-* \ |
419 | 443 | | mt-* \ |
420 | 444 | | msp430-* \ |
421 | 445 | | nds32-* | nds32le-* | nds32be-* \ |
446 | | nfp-* \ | |
422 | 447 | | nios-* | nios2-* | nios2eb-* | nios2el-* \ |
423 | 448 | | none-* | np1-* | ns16k-* | ns32k-* \ |
424 | 449 | | open8-* \ |
426 | 451 | | orion-* \ |
427 | 452 | | pdp10-* | pdp11-* | pj-* | pjl-* | pn-* | power-* \ |
428 | 453 | | powerpc-* | powerpc64-* | powerpc64le-* | powerpcle-* \ |
454 | | pru-* \ | |
429 | 455 | | pyramid-* \ |
456 | | riscv32-* | riscv64-* \ | |
430 | 457 | | rl78-* | romp-* | rs6000-* | rx-* \ |
431 | 458 | | sh-* | sh[1234]-* | sh[24]a-* | sh[24]aeb-* | sh[23]e-* | sh[34]eb-* | sheb-* | shbe-* \ |
432 | 459 | | shle-* | sh[1234]le-* | sh3ele-* | sh64-* | sh64le-* \ |
433 | 460 | | sparc-* | sparc64-* | sparc64b-* | sparc64v-* | sparc86x-* | sparclet-* \ |
434 | 461 | | sparclite-* \ |
435 | | sparcv8-* | sparcv9-* | sparcv9b-* | sparcv9v-* | sv1-* | sx?-* \ | |
462 | | sparcv8-* | sparcv9-* | sparcv9b-* | sparcv9v-* | sv1-* | sx*-* \ | |
436 | 463 | | tahoe-* \ |
437 | 464 | | tic30-* | tic4x-* | tic54x-* | tic55x-* | tic6x-* | tic80-* \ |
438 | 465 | | tile*-* \ |
441 | 468 | | v850-* | v850e-* | v850e1-* | v850es-* | v850e2-* | v850e2v3-* \ |
442 | 469 | | vax-* \ |
443 | 470 | | visium-* \ |
471 | | wasm32-* \ | |
444 | 472 | | we32k-* \ |
445 | 473 | | x86-* | x86_64-* | xc16x-* | xps100-* \ |
446 | 474 | | xstormy16-* | xtensa*-* \ |
454 | 482 | # Recognize the various machine names and aliases which stand |
455 | 483 | # for a CPU type and a company and sometimes even an OS. |
456 | 484 | 386bsd) |
457 | basic_machine=i386-unknown | |
485 | basic_machine=i386-pc | |
458 | 486 | os=-bsd |
459 | 487 | ;; |
460 | 488 | 3b1 | 7300 | 7300-att | att-7300 | pc7300 | safari | unixpc) |
488 | 516 | basic_machine=x86_64-pc |
489 | 517 | ;; |
490 | 518 | amd64-*) |
491 | basic_machine=x86_64-`echo $basic_machine | sed 's/^[^-]*-//'` | |
519 | basic_machine=x86_64-`echo "$basic_machine" | sed 's/^[^-]*-//'` | |
492 | 520 | ;; |
493 | 521 | amdahl) |
494 | 522 | basic_machine=580-amdahl |
517 | 545 | basic_machine=i386-pc |
518 | 546 | os=-aros |
519 | 547 | ;; |
548 | asmjs) | |
549 | basic_machine=asmjs-unknown | |
550 | ;; | |
520 | 551 | aux) |
521 | 552 | basic_machine=m68k-apple |
522 | 553 | os=-aux |
530 | 561 | os=-linux |
531 | 562 | ;; |
532 | 563 | blackfin-*) |
533 | basic_machine=bfin-`echo $basic_machine | sed 's/^[^-]*-//'` | |
564 | basic_machine=bfin-`echo "$basic_machine" | sed 's/^[^-]*-//'` | |
534 | 565 | os=-linux |
535 | 566 | ;; |
536 | 567 | bluegene*) |
538 | 569 | os=-cnk |
539 | 570 | ;; |
540 | 571 | c54x-*) |
541 | basic_machine=tic54x-`echo $basic_machine | sed 's/^[^-]*-//'` | |
572 | basic_machine=tic54x-`echo "$basic_machine" | sed 's/^[^-]*-//'` | |
542 | 573 | ;; |
543 | 574 | c55x-*) |
544 | basic_machine=tic55x-`echo $basic_machine | sed 's/^[^-]*-//'` | |
575 | basic_machine=tic55x-`echo "$basic_machine" | sed 's/^[^-]*-//'` | |
545 | 576 | ;; |
546 | 577 | c6x-*) |
547 | basic_machine=tic6x-`echo $basic_machine | sed 's/^[^-]*-//'` | |
578 | basic_machine=tic6x-`echo "$basic_machine" | sed 's/^[^-]*-//'` | |
548 | 579 | ;; |
549 | 580 | c90) |
550 | 581 | basic_machine=c90-cray |
633 | 664 | basic_machine=rs6000-bull |
634 | 665 | os=-bosx |
635 | 666 | ;; |
636 | dpx2* | dpx2*-bull) | |
667 | dpx2*) | |
637 | 668 | basic_machine=m68k-bull |
638 | 669 | 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" | |
639 | 678 | ;; |
640 | 679 | ebmon29k) |
641 | 680 | basic_machine=a29k-amd |
726 | 765 | hp9k8[0-9][0-9] | hp8[0-9][0-9]) |
727 | 766 | basic_machine=hppa1.0-hp |
728 | 767 | ;; |
729 | hppa-next) | |
730 | os=-nextstep3 | |
731 | ;; | |
732 | 768 | hppaosf) |
733 | 769 | basic_machine=hppa1.1-hp |
734 | 770 | os=-osf |
741 | 777 | basic_machine=i370-ibm |
742 | 778 | ;; |
743 | 779 | i*86v32) |
744 | basic_machine=`echo $1 | sed -e 's/86.*/86-pc/'` | |
780 | basic_machine=`echo "$1" | sed -e 's/86.*/86-pc/'` | |
745 | 781 | os=-sysv32 |
746 | 782 | ;; |
747 | 783 | i*86v4*) |
748 | basic_machine=`echo $1 | sed -e 's/86.*/86-pc/'` | |
784 | basic_machine=`echo "$1" | sed -e 's/86.*/86-pc/'` | |
749 | 785 | os=-sysv4 |
750 | 786 | ;; |
751 | 787 | i*86v) |
752 | basic_machine=`echo $1 | sed -e 's/86.*/86-pc/'` | |
788 | basic_machine=`echo "$1" | sed -e 's/86.*/86-pc/'` | |
753 | 789 | os=-sysv |
754 | 790 | ;; |
755 | 791 | i*86sol2) |
756 | basic_machine=`echo $1 | sed -e 's/86.*/86-pc/'` | |
792 | basic_machine=`echo "$1" | sed -e 's/86.*/86-pc/'` | |
757 | 793 | os=-solaris2 |
758 | 794 | ;; |
759 | 795 | i386mach) |
760 | 796 | basic_machine=i386-mach |
761 | 797 | os=-mach |
762 | 798 | ;; |
763 | i386-vsta | vsta) | |
799 | vsta) | |
764 | 800 | basic_machine=i386-unknown |
765 | 801 | os=-vsta |
766 | 802 | ;; |
779 | 815 | os=-sysv |
780 | 816 | ;; |
781 | 817 | leon-*|leon[3-9]-*) |
782 | basic_machine=sparc-`echo $basic_machine | sed 's/-.*//'` | |
818 | basic_machine=sparc-`echo "$basic_machine" | sed 's/-.*//'` | |
783 | 819 | ;; |
784 | 820 | m68knommu) |
785 | 821 | basic_machine=m68k-unknown |
786 | 822 | os=-linux |
787 | 823 | ;; |
788 | 824 | m68knommu-*) |
789 | basic_machine=m68k-`echo $basic_machine | sed 's/^[^-]*-//'` | |
825 | basic_machine=m68k-`echo "$basic_machine" | sed 's/^[^-]*-//'` | |
790 | 826 | os=-linux |
791 | ;; | |
792 | m88k-omron*) | |
793 | basic_machine=m88k-omron | |
794 | 827 | ;; |
795 | 828 | magnum | m3230) |
796 | 829 | basic_machine=mips-mips |
823 | 856 | os=-mint |
824 | 857 | ;; |
825 | 858 | mips3*-*) |
826 | basic_machine=`echo $basic_machine | sed -e 's/mips3/mips64/'` | |
859 | basic_machine=`echo "$basic_machine" | sed -e 's/mips3/mips64/'` | |
827 | 860 | ;; |
828 | 861 | 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 | |
830 | 863 | ;; |
831 | 864 | monitor) |
832 | 865 | basic_machine=m68k-rom68k |
845 | 878 | os=-msdos |
846 | 879 | ;; |
847 | 880 | ms1-*) |
848 | basic_machine=`echo $basic_machine | sed -e 's/ms1-/mt-/'` | |
881 | basic_machine=`echo "$basic_machine" | sed -e 's/ms1-/mt-/'` | |
849 | 882 | ;; |
850 | 883 | msys) |
851 | 884 | basic_machine=i686-pc |
887 | 920 | basic_machine=v70-nec |
888 | 921 | os=-sysv |
889 | 922 | ;; |
890 | next | m*-next ) | |
923 | next | m*-next) | |
891 | 924 | basic_machine=m68k-next |
892 | 925 | case $os in |
893 | 926 | -nextstep* ) |
932 | 965 | nsr-tandem) |
933 | 966 | basic_machine=nsr-tandem |
934 | 967 | ;; |
968 | nsv-tandem) | |
969 | basic_machine=nsv-tandem | |
970 | ;; | |
971 | nsx-tandem) | |
972 | basic_machine=nsx-tandem | |
973 | ;; | |
935 | 974 | op50n-* | op60c-*) |
936 | 975 | basic_machine=hppa1.1-oki |
937 | 976 | os=-proelf |
964 | 1003 | os=-linux |
965 | 1004 | ;; |
966 | 1005 | parisc-*) |
967 | basic_machine=hppa-`echo $basic_machine | sed 's/^[^-]*-//'` | |
1006 | basic_machine=hppa-`echo "$basic_machine" | sed 's/^[^-]*-//'` | |
968 | 1007 | os=-linux |
969 | 1008 | ;; |
970 | 1009 | pbd) |
980 | 1019 | basic_machine=i386-pc |
981 | 1020 | ;; |
982 | 1021 | pc98-*) |
983 | basic_machine=i386-`echo $basic_machine | sed 's/^[^-]*-//'` | |
1022 | basic_machine=i386-`echo "$basic_machine" | sed 's/^[^-]*-//'` | |
984 | 1023 | ;; |
985 | 1024 | pentium | p5 | k5 | k6 | nexgen | viac3) |
986 | 1025 | basic_machine=i586-pc |
995 | 1034 | basic_machine=i786-pc |
996 | 1035 | ;; |
997 | 1036 | pentium-* | p5-* | k5-* | k6-* | nexgen-* | viac3-*) |
998 | basic_machine=i586-`echo $basic_machine | sed 's/^[^-]*-//'` | |
1037 | basic_machine=i586-`echo "$basic_machine" | sed 's/^[^-]*-//'` | |
999 | 1038 | ;; |
1000 | 1039 | pentiumpro-* | p6-* | 6x86-* | athlon-*) |
1001 | basic_machine=i686-`echo $basic_machine | sed 's/^[^-]*-//'` | |
1040 | basic_machine=i686-`echo "$basic_machine" | sed 's/^[^-]*-//'` | |
1002 | 1041 | ;; |
1003 | 1042 | pentiumii-* | pentium2-* | pentiumiii-* | pentium3-*) |
1004 | basic_machine=i686-`echo $basic_machine | sed 's/^[^-]*-//'` | |
1043 | basic_machine=i686-`echo "$basic_machine" | sed 's/^[^-]*-//'` | |
1005 | 1044 | ;; |
1006 | 1045 | pentium4-*) |
1007 | basic_machine=i786-`echo $basic_machine | sed 's/^[^-]*-//'` | |
1046 | basic_machine=i786-`echo "$basic_machine" | sed 's/^[^-]*-//'` | |
1008 | 1047 | ;; |
1009 | 1048 | pn) |
1010 | 1049 | basic_machine=pn-gould |
1014 | 1053 | ppc | ppcbe) basic_machine=powerpc-unknown |
1015 | 1054 | ;; |
1016 | 1055 | 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) | |
1020 | 1059 | basic_machine=powerpcle-unknown |
1021 | 1060 | ;; |
1022 | 1061 | ppcle-* | powerpclittle-*) |
1023 | basic_machine=powerpcle-`echo $basic_machine | sed 's/^[^-]*-//'` | |
1062 | basic_machine=powerpcle-`echo "$basic_machine" | sed 's/^[^-]*-//'` | |
1024 | 1063 | ;; |
1025 | 1064 | ppc64) basic_machine=powerpc64-unknown |
1026 | 1065 | ;; |
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) | |
1030 | 1069 | basic_machine=powerpc64le-unknown |
1031 | 1070 | ;; |
1032 | 1071 | ppc64le-* | powerpc64little-*) |
1033 | basic_machine=powerpc64le-`echo $basic_machine | sed 's/^[^-]*-//'` | |
1072 | basic_machine=powerpc64le-`echo "$basic_machine" | sed 's/^[^-]*-//'` | |
1034 | 1073 | ;; |
1035 | 1074 | ps2) |
1036 | 1075 | basic_machine=i386-ibm |
1084 | 1123 | sequent) |
1085 | 1124 | basic_machine=i386-sequent |
1086 | 1125 | ;; |
1087 | sh) | |
1088 | basic_machine=sh-hitachi | |
1089 | os=-hms | |
1090 | ;; | |
1091 | 1126 | sh5el) |
1092 | 1127 | basic_machine=sh5le-unknown |
1093 | 1128 | ;; |
1094 | sh64) | |
1095 | basic_machine=sh64-unknown | |
1096 | ;; | |
1097 | sparclite-wrs | simso-wrs) | |
1129 | simso-wrs) | |
1098 | 1130 | basic_machine=sparclite-wrs |
1099 | 1131 | os=-vxworks |
1100 | 1132 | ;; |
1113 | 1145 | os=-sysv4 |
1114 | 1146 | ;; |
1115 | 1147 | strongarm-* | thumb-*) |
1116 | basic_machine=arm-`echo $basic_machine | sed 's/^[^-]*-//'` | |
1148 | basic_machine=arm-`echo "$basic_machine" | sed 's/^[^-]*-//'` | |
1117 | 1149 | ;; |
1118 | 1150 | sun2) |
1119 | 1151 | basic_machine=m68000-sun |
1235 | 1267 | basic_machine=hppa1.1-winbond |
1236 | 1268 | os=-proelf |
1237 | 1269 | ;; |
1270 | x64) | |
1271 | basic_machine=x86_64-pc | |
1272 | ;; | |
1238 | 1273 | xbox) |
1239 | 1274 | basic_machine=i686-pc |
1240 | 1275 | os=-mingw32 |
1243 | 1278 | basic_machine=xps100-honeywell |
1244 | 1279 | ;; |
1245 | 1280 | xscale-* | xscalee[bl]-*) |
1246 | basic_machine=`echo $basic_machine | sed 's/^xscale/arm/'` | |
1281 | basic_machine=`echo "$basic_machine" | sed 's/^xscale/arm/'` | |
1247 | 1282 | ;; |
1248 | 1283 | ymp) |
1249 | 1284 | basic_machine=ymp-cray |
1250 | 1285 | 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 | |
1259 | 1286 | ;; |
1260 | 1287 | none) |
1261 | 1288 | basic_machine=none-none |
1285 | 1312 | vax) |
1286 | 1313 | basic_machine=vax-dec |
1287 | 1314 | ;; |
1288 | pdp10) | |
1289 | # there are many clones, so DEC is not a safe bet | |
1290 | basic_machine=pdp10-unknown | |
1291 | ;; | |
1292 | 1315 | pdp11) |
1293 | 1316 | basic_machine=pdp11-dec |
1294 | 1317 | ;; |
1298 | 1321 | sh[1234] | sh[24]a | sh[24]aeb | sh[34]eb | sh[1234]le | sh[23]ele) |
1299 | 1322 | basic_machine=sh-unknown |
1300 | 1323 | ;; |
1301 | sparc | sparcv8 | sparcv9 | sparcv9b | sparcv9v) | |
1302 | basic_machine=sparc-sun | |
1303 | ;; | |
1304 | 1324 | cydra) |
1305 | 1325 | basic_machine=cydra-cydrome |
1306 | 1326 | ;; |
1320 | 1340 | # Make sure to match an already-canonicalized machine name. |
1321 | 1341 | ;; |
1322 | 1342 | *) |
1323 | echo Invalid configuration \`$1\': machine \`$basic_machine\' not recognized 1>&2 | |
1343 | echo Invalid configuration \`"$1"\': machine \`"$basic_machine"\' not recognized 1>&2 | |
1324 | 1344 | exit 1 |
1325 | 1345 | ;; |
1326 | 1346 | esac |
1328 | 1348 | # Here we canonicalize certain aliases for manufacturers. |
1329 | 1349 | case $basic_machine in |
1330 | 1350 | *-digital*) |
1331 | basic_machine=`echo $basic_machine | sed 's/digital.*/dec/'` | |
1351 | basic_machine=`echo "$basic_machine" | sed 's/digital.*/dec/'` | |
1332 | 1352 | ;; |
1333 | 1353 | *-commodore*) |
1334 | basic_machine=`echo $basic_machine | sed 's/commodore.*/cbm/'` | |
1354 | basic_machine=`echo "$basic_machine" | sed 's/commodore.*/cbm/'` | |
1335 | 1355 | ;; |
1336 | 1356 | *) |
1337 | 1357 | ;; |
1339 | 1359 | |
1340 | 1360 | # Decode manufacturer-specific aliases for certain operating systems. |
1341 | 1361 | |
1342 | if [ x"$os" != x"" ] | |
1362 | if [ x$os != x ] | |
1343 | 1363 | then |
1344 | 1364 | 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. | |
1347 | 1367 | # -solaris* is a basic system type, with this one exception. |
1348 | 1368 | -auroraux) |
1349 | 1369 | os=-auroraux |
1354 | 1374 | -solaris) |
1355 | 1375 | os=-solaris2 |
1356 | 1376 | ;; |
1357 | -svr4*) | |
1358 | os=-sysv4 | |
1359 | ;; | |
1360 | 1377 | -unixware*) |
1361 | 1378 | os=-sysv4.2uw |
1362 | 1379 | ;; |
1363 | 1380 | -gnu/linux*) |
1364 | 1381 | os=`echo $os | sed -e 's|gnu/linux|linux-gnu|'` |
1365 | 1382 | ;; |
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. | |
1367 | 1388 | # 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. | |
1369 | 1390 | # -sysv* is not here because it comes later, after sysvr4. |
1370 | 1391 | -gnu* | -bsd* | -mach* | -minix* | -genix* | -ultrix* | -irix* \ |
1371 | 1392 | | -*vms* | -sco* | -esix* | -isc* | -aix* | -cnk* | -sunos | -sunos[34]*\ |
1372 | 1393 | | -hpux* | -unos* | -osf* | -luna* | -dgux* | -auroraux* | -solaris* \ |
1373 | 1394 | | -sym* | -kopensolaris* | -plan9* \ |
1374 | 1395 | | -amigaos* | -amigados* | -msdos* | -newsos* | -unicos* | -aof* \ |
1375 | | -aos* | -aros* \ | |
1396 | | -aos* | -aros* | -cloudabi* | -sortix* \ | |
1376 | 1397 | | -nindy* | -vxsim* | -vxworks* | -ebmon* | -hms* | -mvs* \ |
1377 | 1398 | | -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* \ | |
1380 | 1401 | | -ekkobsd* | -kfreebsd* | -freebsd* | -riscix* | -lynxos* \ |
1381 | 1402 | | -bosx* | -nextstep* | -cxux* | -aout* | -elf* | -oabi* \ |
1382 | 1403 | | -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* \ | |
1385 | 1406 | | -cygwin* | -msys* | -pe* | -psos* | -moss* | -proelf* | -rtems* \ |
1386 | | -mingw32* | -mingw64* | -linux-gnu* | -linux-android* \ | |
1407 | | -midipix* | -mingw32* | -mingw64* | -linux-gnu* | -linux-android* \ | |
1387 | 1408 | | -linux-newlib* | -linux-musl* | -linux-uclibc* \ |
1388 | 1409 | | -uxpv* | -beos* | -mpeix* | -udk* | -moxiebox* \ |
1389 | | -interix* | -uwin* | -mks* | -rhapsody* | -darwin* | -opened* \ | |
1410 | | -interix* | -uwin* | -mks* | -rhapsody* | -darwin* \ | |
1390 | 1411 | | -openstep* | -oskit* | -conix* | -pw32* | -nonstopux* \ |
1391 | 1412 | | -storm-chaos* | -tops10* | -tenex* | -tops20* | -its* \ |
1392 | 1413 | | -os2* | -vos* | -palmos* | -uclinux* | -nucleus* \ |
1393 | | -morphos* | -superux* | -rtmk* | -rtmk-nova* | -windiss* \ | |
1414 | | -morphos* | -superux* | -rtmk* | -windiss* \ | |
1394 | 1415 | | -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*) | |
1396 | 1419 | # Remember, each alternative MUST END IN *, to match a version number. |
1397 | 1420 | ;; |
1398 | 1421 | -qnx*) |
1409 | 1432 | -nto*) |
1410 | 1433 | os=`echo $os | sed -e 's|nto|nto-qnx|'` |
1411 | 1434 | ;; |
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* \ | |
1414 | 1437 | | -macos* | -mpw* | -magic* | -mmixware* | -mon960* | -lnews*) |
1415 | 1438 | ;; |
1416 | 1439 | -mac*) |
1417 | os=`echo $os | sed -e 's|mac|macos|'` | |
1440 | os=`echo "$os" | sed -e 's|mac|macos|'` | |
1418 | 1441 | ;; |
1419 | 1442 | -linux-dietlibc) |
1420 | 1443 | os=-linux-dietlibc |
1423 | 1446 | os=`echo $os | sed -e 's|linux|linux-gnu|'` |
1424 | 1447 | ;; |
1425 | 1448 | -sunos5*) |
1426 | os=`echo $os | sed -e 's|sunos5|solaris2|'` | |
1449 | os=`echo "$os" | sed -e 's|sunos5|solaris2|'` | |
1427 | 1450 | ;; |
1428 | 1451 | -sunos6*) |
1429 | os=`echo $os | sed -e 's|sunos6|solaris3|'` | |
1452 | os=`echo "$os" | sed -e 's|sunos6|solaris3|'` | |
1430 | 1453 | ;; |
1431 | 1454 | -opened*) |
1432 | 1455 | os=-openedition |
1437 | 1460 | -wince*) |
1438 | 1461 | os=-wince |
1439 | 1462 | ;; |
1440 | -osfrose*) | |
1441 | os=-osfrose | |
1442 | ;; | |
1443 | -osf*) | |
1444 | os=-osf | |
1445 | ;; | |
1446 | 1463 | -utek*) |
1447 | 1464 | os=-bsd |
1448 | 1465 | ;; |
1467 | 1484 | -nova*) |
1468 | 1485 | os=-rtmk-nova |
1469 | 1486 | ;; |
1470 | -ns2 ) | |
1487 | -ns2) | |
1471 | 1488 | os=-nextstep2 |
1472 | 1489 | ;; |
1473 | 1490 | -nsk*) |
1489 | 1506 | -oss*) |
1490 | 1507 | os=-sysv3 |
1491 | 1508 | ;; |
1492 | -svr4) | |
1509 | -svr4*) | |
1493 | 1510 | os=-sysv4 |
1494 | 1511 | ;; |
1495 | 1512 | -svr3) |
1504 | 1521 | -ose*) |
1505 | 1522 | os=-ose |
1506 | 1523 | ;; |
1507 | -es1800*) | |
1508 | os=-ose | |
1509 | ;; | |
1510 | -xenix) | |
1511 | os=-xenix | |
1512 | ;; | |
1513 | 1524 | -*mint | -mint[0-9]* | -*MiNT | -MiNT[0-9]*) |
1514 | 1525 | os=-mint |
1515 | 1526 | ;; |
1516 | -aros*) | |
1517 | os=-aros | |
1518 | ;; | |
1519 | 1527 | -zvmoe) |
1520 | 1528 | os=-zvmoe |
1521 | 1529 | ;; |
1522 | 1530 | -dicos*) |
1523 | 1531 | os=-dicos |
1524 | 1532 | ;; |
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 | ;; | |
1525 | 1546 | -nacl*) |
1526 | 1547 | ;; |
1548 | -ios) | |
1549 | ;; | |
1527 | 1550 | -none) |
1551 | ;; | |
1552 | -*-eabi) | |
1553 | case $basic_machine in | |
1554 | arm*) | |
1555 | ;; | |
1556 | esac | |
1528 | 1557 | ;; |
1529 | 1558 | *) |
1530 | 1559 | # Get rid of the `-' at the beginning of $os. |
1531 | 1560 | 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 | |
1533 | 1562 | exit 1 |
1534 | 1563 | ;; |
1535 | 1564 | esac |
1619 | 1648 | sparc-* | *-sun) |
1620 | 1649 | os=-sunos4.1.1 |
1621 | 1650 | ;; |
1651 | pru-*) | |
1652 | os=-elf | |
1653 | ;; | |
1622 | 1654 | *-be) |
1623 | 1655 | os=-beos |
1624 | 1656 | ;; |
1625 | *-haiku) | |
1626 | os=-haiku | |
1627 | ;; | |
1628 | 1657 | *-ibm) |
1629 | 1658 | os=-aix |
1630 | 1659 | ;; |
1664 | 1693 | m88k-omron*) |
1665 | 1694 | os=-luna |
1666 | 1695 | ;; |
1667 | *-next ) | |
1696 | *-next) | |
1668 | 1697 | os=-nextstep |
1669 | 1698 | ;; |
1670 | 1699 | *-sequent) |
1678 | 1707 | ;; |
1679 | 1708 | i370-*) |
1680 | 1709 | os=-mvs |
1681 | ;; | |
1682 | *-next) | |
1683 | os=-nextstep3 | |
1684 | 1710 | ;; |
1685 | 1711 | *-gould) |
1686 | 1712 | os=-sysv |
1791 | 1817 | vendor=stratus |
1792 | 1818 | ;; |
1793 | 1819 | esac |
1794 | basic_machine=`echo $basic_machine | sed "s/unknown/$vendor/"` | |
1820 | basic_machine=`echo "$basic_machine" | sed "s/unknown/$vendor/"` | |
1795 | 1821 | ;; |
1796 | 1822 | esac |
1797 | 1823 | |
1798 | echo $basic_machine$os | |
1824 | echo "$basic_machine$os" | |
1799 | 1825 | exit |
1800 | 1826 | |
1801 | 1827 | # Local variables: |
1802 | # eval: (add-hook 'write-file-hooks 'time-stamp) | |
1828 | # eval: (add-hook 'before-save-hook 'time-stamp) | |
1803 | 1829 | # time-stamp-start: "timestamp='" |
1804 | 1830 | # time-stamp-format: "%:y-%02m-%02d" |
1805 | 1831 | # time-stamp-end: "'" |
0 | 0 | #! /bin/sh |
1 | 1 | # depcomp - compile a program generating dependencies as side-effects |
2 | 2 | |
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. | |
6 | 6 | |
7 | 7 | # This program is free software; you can redistribute it and/or modify |
8 | 8 | # it under the terms of the GNU General Public License as published by |
15 | 15 | # GNU General Public License for more details. |
16 | 16 | |
17 | 17 | # 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/>. | |
19 | 19 | |
20 | 20 | # As a special exception to the GNU General Public License, if you |
21 | 21 | # distribute this file as part of a program that contains a |
782 | 782 | # Local Variables: |
783 | 783 | # mode: shell-script |
784 | 784 | # sh-indentation: 2 |
785 | # eval: (add-hook 'write-file-hooks 'time-stamp) | |
785 | # eval: (add-hook 'before-save-hook 'time-stamp) | |
786 | 786 | # time-stamp-start: "scriptversion=" |
787 | 787 | # time-stamp-format: "%:y-%02m-%02d.%02H" |
788 | # time-stamp-time-zone: "UTC" | |
788 | # time-stamp-time-zone: "UTC0" | |
789 | 789 | # time-stamp-end: "; # UTC" |
790 | 790 | # End: |
0 | 0 | #!/bin/sh |
1 | 1 | # install - install a program, script, or datafile |
2 | 2 | |
3 | scriptversion=2013-12-25.23; # UTC | |
3 | scriptversion=2018-03-11.20; # UTC | |
4 | 4 | |
5 | 5 | # This originates from X11R5 (mit/util/scripts/install.sh), which was |
6 | 6 | # later released in X11R6 (xc/config/util/install.sh) with the |
270 | 270 | fi |
271 | 271 | dst=$dst_arg |
272 | 272 | |
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. | |
275 | 274 | if test -d "$dst"; then |
276 | 275 | if test "$is_target_a_directory" = never; then |
277 | 276 | echo "$0: $dst_arg: Is a directory" >&2 |
278 | 277 | exit 1 |
279 | 278 | fi |
280 | 279 | 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 | |
282 | 285 | dstdir_status=0 |
283 | 286 | else |
284 | 287 | dstdir=`dirname "$dst"` |
286 | 289 | dstdir_status=$? |
287 | 290 | fi |
288 | 291 | fi |
292 | ||
293 | case $dstdir in | |
294 | */) dstdirslash=$dstdir;; | |
295 | *) dstdirslash=$dstdir/;; | |
296 | esac | |
289 | 297 | |
290 | 298 | obsolete_mkdir_used=false |
291 | 299 | |
323 | 331 | # is incompatible with FreeBSD 'install' when (umask & 300) != 0. |
324 | 332 | ;; |
325 | 333 | *) |
334 | # Note that $RANDOM variable is not portable (e.g. dash); Use it | |
335 | # here however when possible just to lower collision chance. | |
326 | 336 | 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. | |
329 | 344 | 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 | |
331 | 347 | then |
332 | 348 | if test -z "$dir_arg" || { |
333 | 349 | # Check for POSIX incompatibilities with -m. |
334 | 350 | # HP-UX 11.23 and IRIX 6.5 mkdir -m -p sets group- or |
335 | 351 | # other-writable bit of parent directory when it shouldn't. |
336 | 352 | # 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"` | |
338 | 355 | case $ls_ld_tmpdir in |
339 | 356 | d????-?r-*) different_mode=700;; |
340 | 357 | d????-?--*) different_mode=755;; |
341 | 358 | *) false;; |
342 | 359 | 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"` | |
345 | 362 | test "$ls_ld_tmpdir" = "$ls_ld_tmpdir_1" |
346 | 363 | } |
347 | 364 | } |
348 | 365 | then posix_mkdir=: |
349 | 366 | fi |
350 | rmdir "$tmpdir/d" "$tmpdir" | |
367 | rmdir "$tmpdir/a/b" "$tmpdir/a" "$tmpdir" | |
351 | 368 | else |
352 | 369 | # 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 | |
354 | 371 | fi |
355 | 372 | trap '' 0;; |
356 | 373 | esac;; |
426 | 443 | else |
427 | 444 | |
428 | 445 | # 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.$$_ | |
431 | 448 | |
432 | 449 | # Trap to clean up those temp files at exit. |
433 | 450 | trap 'ret=$?; rm -f "$dsttmp" "$rmtmp" && exit $ret' 0 |
492 | 509 | done |
493 | 510 | |
494 | 511 | # Local variables: |
495 | # eval: (add-hook 'write-file-hooks 'time-stamp) | |
512 | # eval: (add-hook 'before-save-hook 'time-stamp) | |
496 | 513 | # time-stamp-start: "scriptversion=" |
497 | 514 | # time-stamp-format: "%:y-%02m-%02d.%02H" |
498 | # time-stamp-time-zone: "UTC" | |
515 | # time-stamp-time-zone: "UTC0" | |
499 | 516 | # time-stamp-end: "; # UTC" |
500 | 517 | # End: |
2123 | 2123 | # a configuration failure hint, and exit. |
2124 | 2124 | func_fatal_configuration () |
2125 | 2125 | { |
2126 | func__fatal_error ${1+"$@"} \ | |
2126 | func_fatal_error ${1+"$@"} \ | |
2127 | 2127 | "See the $PACKAGE documentation for more information." \ |
2128 | 2128 | "Fatal configuration error." |
2129 | 2129 | } |
7271 | 7271 | # -tp=* Portland pgcc target processor selection |
7272 | 7272 | # --sysroot=* for sysroot support |
7273 | 7273 | # -O*, -g*, -flto*, -fwhopr*, -fuse-linker-plugin GCC link-time optimization |
7274 | # -specs=* GCC specs files | |
7274 | 7275 | # -stdlib=* select c++ std lib with clang |
7275 | 7276 | -64|-mips[0-9]|-r[0-9][0-9]*|-xarch=*|-xtarget=*|+DA*|+DD*|-q*|-m*| \ |
7276 | 7277 | -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=*) | |
7278 | 7280 | func_quote_for_eval "$arg" |
7279 | 7281 | arg=$func_quote_for_eval_result |
7280 | 7282 | func_append compile_command " $arg" |
0 | 0 | #! /bin/sh |
1 | 1 | # Common wrapper for a few potentially missing GNU programs. |
2 | 2 | |
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. | |
6 | 6 | # Originally written by Fran,cois Pinard <pinard@iro.umontreal.ca>, 1996. |
7 | 7 | |
8 | 8 | # This program is free software; you can redistribute it and/or modify |
16 | 16 | # GNU General Public License for more details. |
17 | 17 | |
18 | 18 | # 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/>. | |
20 | 20 | |
21 | 21 | # As a special exception to the GNU General Public License, if you |
22 | 22 | # distribute this file as part of a program that contains a |
100 | 100 | exit $st |
101 | 101 | fi |
102 | 102 | |
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 | |
106 | 106 | |
107 | 107 | program_details () |
108 | 108 | { |
206 | 206 | exit $st |
207 | 207 | |
208 | 208 | # Local variables: |
209 | # eval: (add-hook 'write-file-hooks 'time-stamp) | |
209 | # eval: (add-hook 'before-save-hook 'time-stamp) | |
210 | 210 | # time-stamp-start: "scriptversion=" |
211 | 211 | # time-stamp-format: "%:y-%02m-%02d.%02H" |
212 | # time-stamp-time-zone: "UTC" | |
212 | # time-stamp-time-zone: "UTC0" | |
213 | 213 | # time-stamp-end: "; # UTC" |
214 | 214 | # End: |
0 | 0 | #! /bin/sh |
1 | 1 | # test-driver - basic testsuite driver script. |
2 | 2 | |
3 | scriptversion=2013-07-13.22; # UTC | |
3 | scriptversion=2018-03-07.03; # UTC | |
4 | 4 | |
5 | # Copyright (C) 2011-2014 Free Software Foundation, Inc. | |
5 | # Copyright (C) 2011-2018 Free Software Foundation, Inc. | |
6 | 6 | # |
7 | 7 | # This program is free software; you can redistribute it and/or modify |
8 | 8 | # it under the terms of the GNU General Public License as published by |
15 | 15 | # GNU General Public License for more details. |
16 | 16 | # |
17 | 17 | # 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/>. | |
19 | 19 | |
20 | 20 | # As a special exception to the GNU General Public License, if you |
21 | 21 | # distribute this file as part of a program that contains a |
139 | 139 | # Local Variables: |
140 | 140 | # mode: shell-script |
141 | 141 | # sh-indentation: 2 |
142 | # eval: (add-hook 'write-file-hooks 'time-stamp) | |
142 | # eval: (add-hook 'before-save-hook 'time-stamp) | |
143 | 143 | # time-stamp-start: "scriptversion=" |
144 | 144 | # time-stamp-format: "%:y-%02m-%02d.%02H" |
145 | # time-stamp-time-zone: "UTC" | |
145 | # time-stamp-time-zone: "UTC0" | |
146 | 146 | # time-stamp-end: "; # UTC" |
147 | 147 | # End: |
0 | # Makefile.in generated by automake 1.15 from Makefile.am. | |
0 | # Makefile.in generated by automake 1.16.1 from Makefile.am. | |
1 | 1 | # @configure_input@ |
2 | 2 | |
3 | # Copyright (C) 1994-2014 Free Software Foundation, Inc. | |
3 | # Copyright (C) 1994-2018 Free Software Foundation, Inc. | |
4 | 4 | |
5 | 5 | # This Makefile.in is free software; the Free Software Foundation |
6 | 6 | # gives unlimited permission to copy and/or distribute it, |
137 | 137 | am__v_at_1 = |
138 | 138 | DEFAULT_INCLUDES = -I.@am__isrc@ -I$(top_builddir) |
139 | 139 | 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 | |
141 | 158 | am__mv = mv -f |
142 | 159 | COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \ |
143 | 160 | $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) |
180 | 197 | $(RECURSIVE_CLEAN_TARGETS) \ |
181 | 198 | $(am__extra_recursive_targets) |
182 | 199 | AM_RECURSIVE_TARGETS = $(am__recursive_targets:-recursive=) TAGS CTAGS \ |
183 | distdir | |
200 | distdir distdir-am | |
184 | 201 | am__tagged_files = $(HEADERS) $(SOURCES) $(TAGS_FILES) $(LISP) |
185 | 202 | # Read a list of newline-separated strings from the standard input, |
186 | 203 | # and print each of them once, without duplicates. Input order is |
457 | 474 | *config.status*) \ |
458 | 475 | cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \ |
459 | 476 | *) \ |
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);; \ | |
462 | 479 | esac; |
463 | 480 | |
464 | 481 | $(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES) |
490 | 507 | distclean-compile: |
491 | 508 | -rm -f *.tab.c |
492 | 509 | |
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) | |
515 | 538 | |
516 | 539 | .c.o: |
517 | 540 | @am__fastdepCC_TRUE@ $(AM_V_CC)$(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $< |
639 | 662 | distclean-tags: |
640 | 663 | -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags |
641 | 664 | |
642 | distdir: $(DISTFILES) | |
665 | distdir: $(BUILT_SOURCES) | |
666 | $(MAKE) $(AM_MAKEFLAGS) distdir-am | |
667 | ||
668 | distdir-am: $(DISTFILES) | |
643 | 669 | @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ |
644 | 670 | topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ |
645 | 671 | list='$(DISTFILES)'; \ |
737 | 763 | mostlyclean-am |
738 | 764 | |
739 | 765 | 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 | |
741 | 788 | -rm -f Makefile |
742 | 789 | distclean-am: clean-am distclean-compile distclean-generic \ |
743 | 790 | distclean-tags |
783 | 830 | installcheck-am: |
784 | 831 | |
785 | 832 | 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 | |
787 | 855 | -rm -f Makefile |
788 | 856 | maintainer-clean-am: distclean-am maintainer-clean-generic |
789 | 857 | |
804 | 872 | |
805 | 873 | .MAKE: $(am__recursive_targets) install-am install-strip |
806 | 874 | |
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 \ | |
809 | 877 | clean-noinstLTLIBRARIES cscopelist-am ctags ctags-am distclean \ |
810 | 878 | distclean-compile distclean-generic distclean-libtool \ |
811 | 879 | 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. | |
1 | 1 | # @configure_input@ |
2 | 2 | |
3 | # Copyright (C) 1994-2014 Free Software Foundation, Inc. | |
3 | # Copyright (C) 1994-2018 Free Software Foundation, Inc. | |
4 | 4 | |
5 | 5 | # This Makefile.in is free software; the Free Software Foundation |
6 | 6 | # gives unlimited permission to copy and/or distribute it, |
268 | 268 | am__v_at_1 = |
269 | 269 | DEFAULT_INCLUDES = -I.@am__isrc@ -I$(top_builddir) |
270 | 270 | 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 | |
272 | 290 | am__mv = mv -f |
273 | 291 | COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \ |
274 | 292 | $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) |
752 | 770 | *config.status*) \ |
753 | 771 | cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \ |
754 | 772 | *) \ |
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);; \ | |
757 | 775 | esac; |
758 | 776 | |
759 | 777 | $(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES) |
852 | 870 | distclean-compile: |
853 | 871 | -rm -f *.tab.c |
854 | 872 | |
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) | |
873 | 897 | |
874 | 898 | .c.o: |
875 | 899 | @am__fastdepCC_TRUE@ $(AM_V_CC)$(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $< |
1070 | 1094 | fi; \ |
1071 | 1095 | $$success || exit 1 |
1072 | 1096 | |
1073 | check-TESTS: | |
1097 | check-TESTS: $(check_PROGRAMS) | |
1074 | 1098 | @list='$(RECHECK_LOGS)'; test -z "$$list" || rm -f $$list |
1075 | 1099 | @list='$(RECHECK_LOGS:.log=.trs)'; test -z "$$list" || rm -f $$list |
1076 | 1100 | @test -z "$(TEST_SUITE_LOG)" || rm -f $(TEST_SUITE_LOG) |
1232 | 1256 | @am__EXEEXT_TRUE@ $(am__common_driver_flags) $(AM_TEST_LOG_DRIVER_FLAGS) $(TEST_LOG_DRIVER_FLAGS) -- $(TEST_LOG_COMPILE) \ |
1233 | 1257 | @am__EXEEXT_TRUE@ "$$tst" $(AM_TESTS_FD_REDIRECT) |
1234 | 1258 | |
1235 | distdir: $(DISTFILES) | |
1259 | distdir: $(BUILT_SOURCES) | |
1260 | $(MAKE) $(AM_MAKEFLAGS) distdir-am | |
1261 | ||
1262 | distdir-am: $(DISTFILES) | |
1236 | 1263 | @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ |
1237 | 1264 | topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ |
1238 | 1265 | list='$(DISTFILES)'; \ |
1309 | 1336 | mostlyclean-am |
1310 | 1337 | |
1311 | 1338 | 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 | |
1313 | 1357 | -rm -f Makefile |
1314 | 1358 | distclean-am: clean-am distclean-compile distclean-generic \ |
1315 | 1359 | distclean-tags |
1355 | 1399 | installcheck-am: |
1356 | 1400 | |
1357 | 1401 | 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 | |
1359 | 1420 | -rm -f Makefile |
1360 | 1421 | maintainer-clean-am: distclean-am maintainer-clean-generic |
1361 | 1422 | |
1376 | 1437 | |
1377 | 1438 | .MAKE: check-am install-am install-strip |
1378 | 1439 | |
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 | |
1392 | 1454 | |
1393 | 1455 | .PRECIOUS: Makefile |
1394 | 1456 |
686 | 686 | AMDEPBACKSLASH |
687 | 687 | AMDEP_FALSE |
688 | 688 | AMDEP_TRUE |
689 | am__quote | |
690 | 689 | am__include |
691 | 690 | DEPDIR |
692 | 691 | OBJEXT |
785 | 784 | PACKAGE_TARNAME |
786 | 785 | PACKAGE_NAME |
787 | 786 | PATH_SEPARATOR |
788 | SHELL' | |
787 | SHELL | |
788 | am__quote' | |
789 | 789 | ac_subst_files='' |
790 | 790 | ac_user_opts=' |
791 | 791 | enable_option_checking |
2482 | 2482 | NONENONEs,x,x, && |
2483 | 2483 | program_prefix=${target_alias}- |
2484 | 2484 | |
2485 | am__api_version='1.15' | |
2485 | am__api_version='1.16' | |
2486 | 2486 | |
2487 | 2487 | # Find a good install program. We prefer a C program (faster), |
2488 | 2488 | # so one script is as good as another. But avoid the broken or |
2998 | 2998 | |
2999 | 2999 | # For better backward compatibility. To be removed once Automake 1.9.x |
3000 | 3000 | # 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> | |
3003 | 3003 | mkdir_p='$(MKDIR_P)' |
3004 | 3004 | |
3005 | 3005 | # We need awk for the "check" target (and possibly the TAP driver). The |
3050 | 3050 | Aborting the configuration process, to ensure you take notice of the issue. |
3051 | 3051 | |
3052 | 3052 | 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/>. | |
3054 | 3054 | |
3055 | 3055 | If you want to complete the configuration process using your problematic |
3056 | 3056 | 'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM |
4052 | 4052 | |
4053 | 4053 | ac_config_commands="$ac_config_commands depfiles" |
4054 | 4054 | |
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' | |
4058 | 4058 | am__doit: |
4059 | @echo this is the am__doit target | |
4059 | @echo this is the am__doit target >confinc.out | |
4060 | 4060 | .PHONY: am__doit |
4061 | 4061 | 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; } | |
4065 | 4062 | am__include="#" |
4066 | 4063 | 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 | ;; | |
4077 | 4085 | 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; } | |
4094 | 4094 | |
4095 | 4095 | # Check whether --enable-dependency-tracking was given. |
4096 | 4096 | if test "${enable_dependency_tracking+set}" = set; then : |
14948 | 14948 | # |
14949 | 14949 | # INIT-COMMANDS |
14950 | 14950 | # |
14951 | AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir" | |
14951 | AMDEP_TRUE="$AMDEP_TRUE" MAKE="${MAKE-make}" | |
14952 | 14952 | |
14953 | 14953 | |
14954 | 14954 | # The HP-UX ksh and POSIX shell print the target directory to stdout |
15847 | 15847 | # Older Autoconf quotes --file arguments for eval, but not when files |
15848 | 15848 | # are listed without --file. Let's play safe and only enable the eval |
15849 | 15849 | # 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 | |
15854 | 15860 | shift |
15855 | for mf | |
15861 | # Used to flag and report bootstrapping failures. | |
15862 | am_rc=0 | |
15863 | for am_mf | |
15856 | 15864 | do |
15857 | 15865 | # 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 | |
15865 | 15870 | # 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" | | |
15873 | 15879 | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ |
15874 | 15880 | s//\1/ |
15875 | 15881 | q |
15887 | 15893 | q |
15888 | 15894 | } |
15889 | 15895 | 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 '/^.*\/\([^/][^/]*\)\/*$/{ | |
15916 | 15902 | s//\1/ |
15917 | 15903 | q |
15918 | 15904 | } |
15919 | /^X\(\/\/\)[^/].*/{ | |
15905 | /^X\/\(\/\/\)$/{ | |
15920 | 15906 | s//\1/ |
15921 | 15907 | q |
15922 | 15908 | } |
15923 | /^X\(\/\/\)$/{ | |
15924 | s//\1/ | |
15925 | q | |
15926 | } | |
15927 | /^X\(\/\).*/{ | |
15909 | /^X\/\(\/\).*/{ | |
15928 | 15910 | s//\1/ |
15929 | 15911 | q |
15930 | 15912 | } |
15931 | 15913 | 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=$? | |
15936 | 15923 | 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 | |
15937 | 15938 | } |
15938 | 15939 | ;; |
15939 | 15940 | "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. | |
1 | 1 | # @configure_input@ |
2 | 2 | |
3 | # Copyright (C) 1994-2014 Free Software Foundation, Inc. | |
3 | # Copyright (C) 1994-2018 Free Software Foundation, Inc. | |
4 | 4 | |
5 | 5 | # This Makefile.in is free software; the Free Software Foundation |
6 | 6 | # gives unlimited permission to copy and/or distribute it, |
371 | 371 | am__v_at_1 = |
372 | 372 | DEFAULT_INCLUDES = -I.@am__isrc@ -I$(top_builddir) |
373 | 373 | 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 | |
375 | 405 | am__mv = mv -f |
376 | 406 | COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \ |
377 | 407 | $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) |
885 | 915 | *config.status*) \ |
886 | 916 | cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \ |
887 | 917 | *) \ |
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);; \ | |
890 | 920 | esac; |
891 | 921 | |
892 | 922 | $(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES) |
1053 | 1083 | distclean-compile: |
1054 | 1084 | -rm -f *.tab.c |
1055 | 1085 | |
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) | |
1091 | 1127 | |
1092 | 1128 | .c.o: |
1093 | 1129 | @am__fastdepCC_TRUE@ $(AM_V_CC)$(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $< |
1288 | 1324 | fi; \ |
1289 | 1325 | $$success || exit 1 |
1290 | 1326 | |
1291 | check-TESTS: | |
1327 | check-TESTS: $(check_PROGRAMS) | |
1292 | 1328 | @list='$(RECHECK_LOGS)'; test -z "$$list" || rm -f $$list |
1293 | 1329 | @list='$(RECHECK_LOGS:.log=.trs)'; test -z "$$list" || rm -f $$list |
1294 | 1330 | @test -z "$(TEST_SUITE_LOG)" || rm -f $(TEST_SUITE_LOG) |
1569 | 1605 | @am__EXEEXT_TRUE@ $(am__common_driver_flags) $(AM_TEST_LOG_DRIVER_FLAGS) $(TEST_LOG_DRIVER_FLAGS) -- $(TEST_LOG_COMPILE) \ |
1570 | 1606 | @am__EXEEXT_TRUE@ "$$tst" $(AM_TESTS_FD_REDIRECT) |
1571 | 1607 | |
1572 | distdir: $(DISTFILES) | |
1608 | distdir: $(BUILT_SOURCES) | |
1609 | $(MAKE) $(AM_MAKEFLAGS) distdir-am | |
1610 | ||
1611 | distdir-am: $(DISTFILES) | |
1573 | 1612 | @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ |
1574 | 1613 | topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ |
1575 | 1614 | list='$(DISTFILES)'; \ |
1646 | 1685 | mostlyclean-am |
1647 | 1686 | |
1648 | 1687 | 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 | |
1650 | 1723 | -rm -f Makefile |
1651 | 1724 | distclean-am: clean-am distclean-compile distclean-generic \ |
1652 | 1725 | distclean-tags |
1692 | 1765 | installcheck-am: |
1693 | 1766 | |
1694 | 1767 | 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 | |
1696 | 1803 | -rm -f Makefile |
1697 | 1804 | maintainer-clean-am: distclean-am maintainer-clean-generic |
1698 | 1805 | |
1713 | 1820 | |
1714 | 1821 | .MAKE: check-am install-am install-strip |
1715 | 1822 | |
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 | |
1729 | 1837 | |
1730 | 1838 | .PRECIOUS: Makefile |
1731 | 1839 |
0 | # Makefile.in generated by automake 1.15 from Makefile.am. | |
0 | # Makefile.in generated by automake 1.16.1 from Makefile.am. | |
1 | 1 | # @configure_input@ |
2 | 2 | |
3 | # Copyright (C) 1994-2014 Free Software Foundation, Inc. | |
3 | # Copyright (C) 1994-2018 Free Software Foundation, Inc. | |
4 | 4 | |
5 | 5 | # This Makefile.in is free software; the Free Software Foundation |
6 | 6 | # gives unlimited permission to copy and/or distribute it, |
140 | 140 | am__v_at_1 = |
141 | 141 | DEFAULT_INCLUDES = -I.@am__isrc@ -I$(top_builddir) |
142 | 142 | 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 | |
144 | 158 | am__mv = mv -f |
145 | 159 | COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \ |
146 | 160 | $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) |
211 | 225 | $(RECURSIVE_CLEAN_TARGETS) \ |
212 | 226 | $(am__extra_recursive_targets) |
213 | 227 | AM_RECURSIVE_TARGETS = $(am__recursive_targets:-recursive=) TAGS CTAGS \ |
214 | distdir | |
228 | distdir distdir-am | |
215 | 229 | am__tagged_files = $(HEADERS) $(SOURCES) $(TAGS_FILES) $(LISP) |
216 | 230 | # Read a list of newline-separated strings from the standard input, |
217 | 231 | # and print each of them once, without duplicates. Input order is |
511 | 525 | *config.status*) \ |
512 | 526 | cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \ |
513 | 527 | *) \ |
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);; \ | |
516 | 530 | esac; |
517 | 531 | |
518 | 532 | $(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES) |
544 | 558 | distclean-compile: |
545 | 559 | -rm -f *.tab.c |
546 | 560 | |
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) | |
570 | 590 | |
571 | 591 | .c.o: |
572 | 592 | @am__fastdepCC_TRUE@ $(AM_V_CC)$(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $< |
715 | 735 | distclean-tags: |
716 | 736 | -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags |
717 | 737 | |
718 | distdir: $(DISTFILES) | |
738 | distdir: $(BUILT_SOURCES) | |
739 | $(MAKE) $(AM_MAKEFLAGS) distdir-am | |
740 | ||
741 | distdir-am: $(DISTFILES) | |
719 | 742 | @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ |
720 | 743 | topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ |
721 | 744 | list='$(DISTFILES)'; \ |
816 | 839 | mostlyclean-am |
817 | 840 | |
818 | 841 | 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 | |
820 | 865 | -rm -f Makefile |
821 | 866 | distclean-am: clean-am distclean-compile distclean-generic \ |
822 | 867 | distclean-tags |
862 | 907 | installcheck-am: |
863 | 908 | |
864 | 909 | 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 | |
866 | 933 | -rm -f Makefile |
867 | 934 | maintainer-clean-am: distclean-am maintainer-clean-generic |
868 | 935 | |
883 | 950 | |
884 | 951 | .MAKE: $(am__recursive_targets) install-am install-strip |
885 | 952 | |
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 \ | |
888 | 955 | clean-noinstLTLIBRARIES cscopelist-am ctags ctags-am distclean \ |
889 | 956 | distclean-compile distclean-generic distclean-libtool \ |
890 | 957 | distclean-tags distdir dvi dvi-am html html-am info info-am \ |
308 | 308 | return poly_sol; |
309 | 309 | } |
310 | 310 | |
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, °ree_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 | ||
311 | 546 | /*----------------------------------------------------------------------------*/ |
312 | 547 | /** |
313 | 548 | @brief Generate the infos table |
55 | 55 | cpl_polynomial * irplib_wlxcorr_best_poly(const cpl_vector *, |
56 | 56 | const cpl_bivector *, int, const cpl_polynomial *, const cpl_vector *, |
57 | 57 | 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 | ||
58 | 77 | cpl_table * irplib_wlxcorr_gen_spc_table(const cpl_vector *, |
59 | 78 | const cpl_bivector *, double, double, const cpl_polynomial *, |
60 | 79 | 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. | |
1 | 1 | # @configure_input@ |
2 | 2 | |
3 | # Copyright (C) 1994-2014 Free Software Foundation, Inc. | |
3 | # Copyright (C) 1994-2018 Free Software Foundation, Inc. | |
4 | 4 | |
5 | 5 | # This Makefile.in is free software; the Free Software Foundation |
6 | 6 | # gives unlimited permission to copy and/or distribute it, |
207 | 207 | am__v_at_1 = |
208 | 208 | DEFAULT_INCLUDES = -I.@am__isrc@ -I$(top_builddir) |
209 | 209 | 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 | |
211 | 221 | am__mv = mv -f |
212 | 222 | COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \ |
213 | 223 | $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) |
711 | 721 | *config.status*) \ |
712 | 722 | cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \ |
713 | 723 | *) \ |
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);; \ | |
716 | 726 | esac; |
717 | 727 | |
718 | 728 | $(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES) |
779 | 789 | distclean-compile: |
780 | 790 | -rm -f *.tab.c |
781 | 791 | |
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) | |
792 | 808 | |
793 | 809 | .c.o: |
794 | 810 | @am__fastdepCC_TRUE@ $(AM_V_CC)$(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $< |
1010 | 1026 | fi; \ |
1011 | 1027 | $$success || exit 1 |
1012 | 1028 | |
1013 | check-TESTS: | |
1029 | check-TESTS: $(check_PROGRAMS) | |
1014 | 1030 | @list='$(RECHECK_LOGS)'; test -z "$$list" || rm -f $$list |
1015 | 1031 | @list='$(RECHECK_LOGS:.log=.trs)'; test -z "$$list" || rm -f $$list |
1016 | 1032 | @test -z "$(TEST_SUITE_LOG)" || rm -f $(TEST_SUITE_LOG) |
1116 | 1132 | @am__EXEEXT_TRUE@ $(am__common_driver_flags) $(AM_TEST_LOG_DRIVER_FLAGS) $(TEST_LOG_DRIVER_FLAGS) -- $(TEST_LOG_COMPILE) \ |
1117 | 1133 | @am__EXEEXT_TRUE@ "$$tst" $(AM_TESTS_FD_REDIRECT) |
1118 | 1134 | |
1119 | distdir: $(DISTFILES) | |
1135 | distdir: $(BUILT_SOURCES) | |
1136 | $(MAKE) $(AM_MAKEFLAGS) distdir-am | |
1137 | ||
1138 | distdir-am: $(DISTFILES) | |
1120 | 1139 | @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ |
1121 | 1140 | topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ |
1122 | 1141 | list='$(DISTFILES)'; \ |
1196 | 1215 | mostlyclean-am |
1197 | 1216 | |
1198 | 1217 | 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 | |
1200 | 1228 | -rm -f Makefile |
1201 | 1229 | distclean-am: clean-am distclean-compile distclean-generic \ |
1202 | 1230 | distclean-tags |
1242 | 1270 | installcheck-am: |
1243 | 1271 | |
1244 | 1272 | 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 | |
1246 | 1283 | -rm -f Makefile |
1247 | 1284 | maintainer-clean-am: distclean-am maintainer-clean-generic |
1248 | 1285 | |
1263 | 1300 | |
1264 | 1301 | .MAKE: check-am install-am install-strip |
1265 | 1302 | |
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 | |
1280 | 1318 | |
1281 | 1319 | .PRECIOUS: Makefile |
1282 | 1320 |
38 | 38 | # $(ipml_builddir)/tools/chainrunnerlib/libchainrunnerlib.la $(ipml_builddir)/toolslib/libtoolslib.la \ |
39 | 39 | # $(ipml_builddir)/unitcommon/libunitcommon.la $(ipml_builddir)/tools/c_chainrunner/libc_chainrunner.la |
40 | 40 | |
41 | AM_CPPFLAGS = $(all_includes) | |
42 | LIBADD = $(LIBCPLCORE) $(LIBCPLDFS) $(LIBCPLUI) | |
41 | AM_CPPFLAGS = $(all_includes) $(HDRL_INCLUDES) | |
42 | LIBADD = $(LIBCPLCORE) $(LIBCPLDFS) $(LIBCPLUI) $(HDRL_LIBS) | |
43 | 43 | AM_LIBADD = $(LIBXSH) $(LIBADD) |
44 | AM_LDFLAGS = $(CPL_LDFLAGS) -module -avoid-version | |
44 | AM_LDFLAGS = $(CPL_LDFLAGS) $(HDRL_LDFLAGS) -module -avoid-version | |
45 | 45 | |
46 | 46 | noinst_HEADERS = |
47 | 47 | |
78 | 78 | xsh_lingain_la_LIBADD = $(AM_LIBADD) |
79 | 79 | |
80 | 80 | xsh_mbias_la_SOURCES = xsh_mbias.c |
81 | xsh_mbias_la_LIBADD = $(AM_LIBADD) | |
81 | xsh_mbias_la_LIBADD = $(AM_LIBADD) | |
82 | 82 | |
83 | 83 | xsh_mdark_la_SOURCES = xsh_mdark.c |
84 | 84 | 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. | |
1 | 1 | # @configure_input@ |
2 | 2 | |
3 | # Copyright (C) 1994-2014 Free Software Foundation, Inc. | |
3 | # Copyright (C) 1994-2018 Free Software Foundation, Inc. | |
4 | 4 | |
5 | 5 | # This Makefile.in is free software; the Free Software Foundation |
6 | 6 | # gives unlimited permission to copy and/or distribute it, |
139 | 139 | LTLIBRARIES = $(plugin_LTLIBRARIES) |
140 | 140 | am__DEPENDENCIES_1 = |
141 | 141 | am__DEPENDENCIES_2 = $(am__DEPENDENCIES_1) $(am__DEPENDENCIES_1) \ |
142 | $(am__DEPENDENCIES_1) | |
142 | $(am__DEPENDENCIES_1) $(am__DEPENDENCIES_1) | |
143 | 143 | am__DEPENDENCIES_3 = $(am__DEPENDENCIES_1) $(am__DEPENDENCIES_2) |
144 | 144 | xsh_2dmap_la_DEPENDENCIES = $(am__DEPENDENCIES_3) |
145 | 145 | am_xsh_2dmap_la_OBJECTS = xsh_2dmap.lo |
233 | 233 | am__v_at_1 = |
234 | 234 | DEFAULT_INCLUDES = -I.@am__isrc@ -I$(top_builddir) |
235 | 235 | 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 | |
237 | 254 | am__mv = mv -f |
238 | 255 | COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \ |
239 | 256 | $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) |
495 | 512 | # $(ipml_builddir)/somanagerlib/libsomanagerlib.la $(ipml_builddir)/tinyxml/libtinyxml.la \ |
496 | 513 | # $(ipml_builddir)/tools/chainrunnerlib/libchainrunnerlib.la $(ipml_builddir)/toolslib/libtoolslib.la \ |
497 | 514 | # $(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) | |
500 | 517 | AM_LIBADD = $(LIBXSH) $(LIBADD) |
501 | AM_LDFLAGS = $(CPL_LDFLAGS) -module -avoid-version | |
518 | AM_LDFLAGS = $(CPL_LDFLAGS) $(HDRL_LDFLAGS) -module -avoid-version | |
502 | 519 | noinst_HEADERS = |
503 | 520 | plugin_LTLIBRARIES = xsh_cfg_recover.la \ |
504 | 521 | xsh_lingain.la \ |
528 | 545 | xsh_lingain_la_SOURCES = xsh_lingain.c |
529 | 546 | xsh_lingain_la_LIBADD = $(AM_LIBADD) |
530 | 547 | xsh_mbias_la_SOURCES = xsh_mbias.c |
531 | xsh_mbias_la_LIBADD = $(AM_LIBADD) | |
548 | xsh_mbias_la_LIBADD = $(AM_LIBADD) | |
532 | 549 | xsh_mdark_la_SOURCES = xsh_mdark.c |
533 | 550 | xsh_mdark_la_LIBADD = $(AM_LIBADD) |
534 | 551 | xsh_mflat_la_SOURCES = xsh_mflat.c |
588 | 605 | *config.status*) \ |
589 | 606 | cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \ |
590 | 607 | *) \ |
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);; \ | |
593 | 610 | esac; |
594 | 611 | |
595 | 612 | $(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES) |
708 | 725 | distclean-compile: |
709 | 726 | -rm -f *.tab.c |
710 | 727 | |
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) | |
733 | 756 | |
734 | 757 | .c.o: |
735 | 758 | @am__fastdepCC_TRUE@ $(AM_V_CC)$(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $< |
810 | 833 | distclean-tags: |
811 | 834 | -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags |
812 | 835 | |
813 | distdir: $(DISTFILES) | |
836 | distdir: $(BUILT_SOURCES) | |
837 | $(MAKE) $(AM_MAKEFLAGS) distdir-am | |
838 | ||
839 | distdir-am: $(DISTFILES) | |
814 | 840 | @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ |
815 | 841 | topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ |
816 | 842 | list='$(DISTFILES)'; \ |
885 | 911 | mostlyclean-am |
886 | 912 | |
887 | 913 | 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 | |
889 | 936 | -rm -f Makefile |
890 | 937 | distclean-am: clean-am distclean-compile distclean-generic \ |
891 | 938 | distclean-tags |
931 | 978 | installcheck-am: |
932 | 979 | |
933 | 980 | 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 | |
935 | 1003 | -rm -f Makefile |
936 | 1004 | maintainer-clean-am: distclean-am maintainer-clean-generic |
937 | 1005 | |
952 | 1020 | |
953 | 1021 | .MAKE: install-am install-strip |
954 | 1022 | |
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 | |
969 | 1037 | |
970 | 1038 | .PRECIOUS: Makefile |
971 | 1039 |
42 | 42 | Includes |
43 | 43 | ----------------------------------------------------------------------------*/ |
44 | 44 | |
45 | ||
45 | #include <hdrl.h> | |
46 | 46 | /* DRL steps */ |
47 | 47 | |
48 | 48 | /* Error handling */ |
169 | 169 | 10,100,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,3,25}; |
170 | 170 | xsh_struct_param struct_param = {-1,-1}; |
171 | 171 | xsh_stack_param stack_param = {"median",5.,5.}; |
172 | xsh_pd_noise_param pd_noise_param = {1,1,CPL_FALSE}; | |
172 | 173 | int ival=DECODE_BP_FLAG_DEF; |
173 | 174 | /* Reset library state */ |
174 | 175 | xsh_init(); |
194 | 195 | check(xsh_parameters_fpn_create(RECIPE_ID,recipe->parameters,fpn_param)); |
195 | 196 | check(xsh_parameters_ron_create(RECIPE_ID,recipe->parameters,ron_param)); |
196 | 197 | 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)); | |
197 | 200 | cleanup: |
198 | 201 | if (cpl_error_get_code() != CPL_ERROR_NONE) { |
199 | 202 | xsh_error_dump(CPL_MSG_ERROR); |
268 | 271 | } |
269 | 272 | } |
270 | 273 | |
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 | } | |
273 | 420 | |
274 | 421 | /*---------------------------------------------------------------------------*/ |
275 | 422 | /** |
317 | 464 | //XSH_ASSURE_NOT_ILLEGAL(cpl_frameset_get_size(raws) >= 3); |
318 | 465 | check(bpmap=xsh_check_load_master_bpmap(calib,instrument,RECIPE_ID)); |
319 | 466 | |
320 | ||
321 | 467 | check(bias_frm=cpl_frameset_get_frame(raws,0)); |
322 | 468 | check(plist=cpl_propertylist_load(cpl_frame_get_filename(bias_frm),0)); |
323 | 469 | xsh_free_propertylist(&plist); |
333 | 479 | /**************************************************************************/ |
334 | 480 | /* Recipe code */ |
335 | 481 | /**************************************************************************/ |
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 | ||
336 | 486 | |
337 | 487 | /* prepare RAW frames in XSH format */ |
338 | 488 | 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 | } | |
340 | 494 | /* remove cosmic rays and merge the RAWS */ |
341 | 495 | |
342 | 496 | if(strcmp(stack_par->stack_method,"mean") == 0) { |
170 | 170 | cpl_recipe *recipe = NULL; |
171 | 171 | xsh_clipping_param crh_clip_param = {-1.0, 3, 0.7, 0, 0.3}; |
172 | 172 | 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}; | |
174 | 174 | xsh_ref_param ref_param = {-1,-1,-1,-1}; |
175 | 175 | xsh_ron_dark_param ron_param = {-1,-1,-1,-1,4,100}; |
176 | 176 | xsh_stack_param stack_param = {"median",5.,5.}; |
521 | 521 | * because we need to have the calib frameset with input frames already with correct binning |
522 | 522 | * that is done by xsh_set_recipe_file_prefix (which needs frames in PRE format) |
523 | 523 | */ |
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 | ||
524 | 532 | check( xsh_prepare( raws_ord_set, bpmap, master_bias, XSH_OBJECT_SLIT_NOD, |
525 | 533 | instrument,pre_overscan_corr,CPL_TRUE)); |
526 | 534 |
509 | 509 | * because we need to have the calib frameset with input frames already with correct binning |
510 | 510 | * that is done by xsh_set_recipe_file_prefix (which needs frames in PRE format) |
511 | 511 | */ |
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 | ||
512 | 516 | /* prepare RAW frames in PRE format */ |
513 | 517 | check(xsh_prepare(raws, bpmap, master_bias, XSH_STD_FLUX_SLIT_OFFSET, |
514 | 518 | instrument,pre_overscan_corr,CPL_TRUE)); |
607 | 611 | check( corr_tell = xsh_parameters_get_boolean( parameters,RECIPE_ID, |
608 | 612 | "correct-tellurics")); |
609 | 613 | |
610 | check( pre_overscan_corr = xsh_parameters_get_int( parameters, RECIPE_ID, | |
611 | "pre-overscan-corr")); | |
612 | 614 | |
613 | 615 | /**************************************************************************/ |
614 | 616 | /* 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. | |
1 | 1 | # @configure_input@ |
2 | 2 | |
3 | # Copyright (C) 1994-2014 Free Software Foundation, Inc. | |
3 | # Copyright (C) 1994-2018 Free Software Foundation, Inc. | |
4 | 4 | |
5 | 5 | # This Makefile.in is free software; the Free Software Foundation |
6 | 6 | # gives unlimited permission to copy and/or distribute it, |
367 | 367 | *config.status*) \ |
368 | 368 | cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \ |
369 | 369 | *) \ |
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);; \ | |
372 | 372 | esac; |
373 | 373 | |
374 | 374 | $(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES) |
436 | 436 | cscope cscopelist: |
437 | 437 | |
438 | 438 | |
439 | distdir: $(DISTFILES) | |
439 | distdir: $(BUILT_SOURCES) | |
440 | $(MAKE) $(AM_MAKEFLAGS) distdir-am | |
441 | ||
442 | distdir-am: $(DISTFILES) | |
440 | 443 | @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ |
441 | 444 | topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ |
442 | 445 | list='$(DISTFILES)'; \ |
0 | 0 | # import the needed modules |
1 | from __future__ import absolute_import | |
2 | from __future__ import print_function | |
1 | 3 | try: |
2 | 4 | import reflex |
3 | 5 | import_sucess = 'true' |
6 | 8 | |
7 | 9 | except ImportError: |
8 | 10 | import_sucess = 'false' |
9 | print "Error importing modules pyfits, wx, matplotlib, numpy" | |
11 | print("Error importing modules pyfits, wx, matplotlib, numpy") | |
10 | 12 | |
11 | 13 | #This is the 'main' function |
12 | 14 | if __name__ == '__main__': |
0 | 0 | # import the needed modules |
1 | from __future__ import absolute_import | |
2 | from __future__ import print_function | |
1 | 3 | try: |
2 | 4 | # import sys |
3 | 5 | import numpy |
79 | 81 | bpm.readImage(fits_extension=2) |
80 | 82 | img_bpm = ImageDisplay() |
81 | 83 | |
82 | img_obj.setLabels('Wavelength [nm]','Position Along Slit [arcsec]') | |
84 | img_obj.setLabels('Wavelength [nm]','Position Along Slit [arcsec]') | |
83 | 85 | y_size, x_size = obj.image.shape |
84 | 86 | |
85 | 87 | img_obj.setXLinearWCSAxis(obj.crval1,obj.cdelt1,obj.crpix1) |
86 | 88 | img_obj.setYLinearWCSAxis(obj.crval2,obj.cdelt2,obj.crpix2) |
87 | 89 | |
88 | #img_obj.setLimits((1,x_size),(0,y_size)) | |
90 | #img_obj.setLimits((1,x_size),(0,y_size)) | |
89 | 91 | img_obj.display(subplot, title, self.paragraph(tooltip),obj.image,bpm.image) |
90 | 92 | |
91 | 93 | def oplotImageScatter(self,img,tab,ext,binx,biny,Xcol,Ycol,subplot, marker = 'o', size = 10, color = 'blue' ): |
108 | 110 | bpm.readImage(fits_extension=2) |
109 | 111 | img_bpm = ImageDisplay() |
110 | 112 | |
111 | img_disp.setLabels(Xlab,Ylab) | |
113 | img_disp.setLabels(Xlab,Ylab) | |
112 | 114 | y_size, x_size = obj.image.shape |
113 | 115 | |
114 | 116 | img_disp.setXLinearWCSAxis(obj.crval1,obj.cdelt1,obj.crpix1) |
115 | 117 | img_disp.setYLinearWCSAxis(obj.crval2,obj.cdelt2,obj.crpix2) |
116 | 118 | |
117 | #self.img_obj.setLimits((0,x_size),(0,y_size)) | |
119 | #self.img_obj.setLimits((0,x_size),(0,y_size)) | |
118 | 120 | |
119 | 121 | |
120 | 122 | #2D image display |
299 | 301 | arm=self.seq_arm |
300 | 302 | |
301 | 303 | if arm == "UVB": |
302 | self.arm_uvb_found = True | |
304 | self.arm_uvb_found = True | |
303 | 305 | if arm == "VIS": |
304 | self.arm_vis_found = True | |
306 | self.arm_vis_found = True | |
305 | 307 | if arm == "NIR": |
306 | self.arm_nir_found = True | |
308 | self.arm_nir_found = True | |
307 | 309 | |
308 | 310 | # For any arm search a list of input frames |
309 | 311 | #print "arm=",arm , "prefix=",prefix |
342 | 344 | self.edges_tab = PipelineProduct(hdulist) |
343 | 345 | #self.nima += 1 |
344 | 346 | #print "found edges tab" |
345 | ||
347 | ||
346 | 348 | key = prefix+"ON_"+arm |
347 | 349 | if key in frames : |
348 | 350 | self.frameON_found = True |
485 | 487 | #print "mfat check:", self.edges_tab_found, self.mflat_found |
486 | 488 | if (self.resid_tab_found == True and self.frameON_found == True) or (self.edges_tab_found == True and self.mflat_found == True): |
487 | 489 | #and self.lineguess_found == True |
488 | title_pref = 'Linear-extracted and Merged Spectrum.' | |
490 | title_pref = 'Linear-extracted and Merged Spectrum.' | |
489 | 491 | |
490 | 492 | tooltip_spectrum ="""\ |
491 | 493 | Plot of the linear-extracted and merged spectrum of the object |
495 | 497 | """ |
496 | 498 | |
497 | 499 | |
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 | ||
508 | 510 | #Display ON frame |
509 | 511 | |
510 | 512 | #Overplot initial list of lines |
680 | 682 | self.par.setModelParameters(paramList,rec_id) |
681 | 683 | |
682 | 684 | elif rec_id[4:11] == "wavecal" : |
683 | print "found wavecal params" | |
685 | print("found wavecal params") | |
684 | 686 | |
685 | 687 | elif rec_id[4:12] == "flexcomp" : |
686 | print "found flexcomp params" | |
688 | print("found flexcomp params") | |
687 | 689 | else : |
688 | print "recipe" ,rec_id, "not supported" | |
690 | print("recipe" ,rec_id, "not supported") | |
689 | 691 | |
690 | 692 | return paramList |
691 | 693 | |
701 | 703 | |
702 | 704 | except ImportError: |
703 | 705 | import_sucess = 'false' |
704 | print "Error importing modules pyfits, wx, matplotlib, numpy" | |
706 | print("Error importing modules pyfits, wx, matplotlib, numpy") | |
705 | 707 | raise |
706 | 708 |
0 | from __future__ import absolute_import | |
0 | 1 | def log_invocation(fn='/tmp/reflex_invoc.log'): |
1 | 2 | """ log invocation of actor for easy reexecution with: |
2 | 3 | eval $(cat /tmp/reflex_invoc.log) |
0 | 0 | # import the needed modules |
1 | from __future__ import absolute_import | |
2 | from __future__ import print_function | |
1 | 3 | try: |
2 | 4 | import reflex |
3 | 5 | import_sucess = 'true' |
6 | 8 | |
7 | 9 | except ImportError: |
8 | 10 | import_sucess = 'false' |
9 | print "Error importing modules pyfits, wx, matplotlib, numpy" | |
11 | print("Error importing modules pyfits, wx, matplotlib, numpy") | |
10 | 12 | |
11 | 13 | #This is the 'main' function |
12 | 14 | if __name__ == '__main__': |
0 | 0 | # import the needed modules |
1 | from __future__ import absolute_import | |
2 | from __future__ import print_function | |
1 | 3 | try: |
2 | 4 | # import sys |
3 | 5 | import numpy |
81 | 83 | #in case response is available we need to reduce fonts |
82 | 84 | subplot.set_title(title, fontsize=7) |
83 | 85 | try: |
84 | subplot.figure.tight_layout() | |
86 | pass | |
87 | #subplot.figure.tight_layout() | |
85 | 88 | except AttributeError: |
86 | 89 | pass |
87 | 90 | |
117 | 120 | bpm.readImage(fits_extension=2) |
118 | 121 | img_bpm = ImageDisplay() |
119 | 122 | |
120 | img_obj.setLabels('Wavelength [nm]','Position Along Slit \n [arcsec]') | |
123 | img_obj.setLabels('Wavelength [nm]','Position Along Slit \n [arcsec]') | |
121 | 124 | y_size, x_size = obj.image.shape |
122 | 125 | #print 'x_size=',x_size , 'y_size=',y_size |
123 | 126 | #print 'crval1=',obj.crval1,'crpix1=',obj.crpix1,'cdelt1=',obj.cdelt1 |
125 | 128 | img_obj.setXLinearWCSAxis(obj.crval1,obj.cdelt1,obj.crpix1) |
126 | 129 | img_obj.setYLinearWCSAxis(obj.crval2,obj.cdelt2,obj.crpix2) |
127 | 130 | |
128 | #img_obj.setLimits((0,x_size),(0,y_size)) | |
131 | #img_obj.setLimits((0,x_size),(0,y_size)) | |
129 | 132 | #print bpm.image |
130 | 133 | bp_code_missing_data = 524288 |
131 | 134 | bp_code_sky_model_inaccurate = 8388608 |
190 | 193 | self.RN1 = "1514-1548 nm" |
191 | 194 | self.OPTI5_NAME = hdulist[0].header['ESO INS OPTI5 NAME'] |
192 | 195 | 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") | |
195 | 198 | else : |
196 | 199 | self.SN2 = hdulist[0].header['ESO QC FLUX2 SN'] |
197 | 200 | self.RN2 = "2214-2243 nm" |
301 | 304 | arm=self.seq_arm |
302 | 305 | |
303 | 306 | if arm == "UVB": |
304 | self.arm_uvb_found = True | |
307 | self.arm_uvb_found = True | |
305 | 308 | if arm == "VIS": |
306 | self.arm_vis_found = True | |
309 | self.arm_vis_found = True | |
307 | 310 | if arm == "NIR": |
308 | self.arm_nir_found = True | |
311 | self.arm_nir_found = True | |
309 | 312 | |
310 | 313 | |
311 | 314 | # For any arm search a list of input frames |
334 | 337 | self.flux_qual1D = PipelineProduct(hdulist) |
335 | 338 | self.nima += 1 |
336 | 339 | #print "found FLUX_MERGED1D spectrum" |
337 | ||
340 | ||
338 | 341 | key = prefix+"MERGE2D_"+arm |
339 | 342 | if key in frames : |
340 | 343 | self.spectrum2D_found = True |
522 | 525 | |
523 | 526 | else : |
524 | 527 | self.subtext_nodata = figure.add_subplot(1,1,1) |
525 | print "found no spectrum data" | |
528 | print("found no spectrum data") | |
526 | 529 | |
527 | 530 | |
528 | 531 | |
536 | 539 | def plotProductsGraphics(self): |
537 | 540 | if self.spectrum1D_found == True and self.spectrum2D_found == True: |
538 | 541 | #and self.lineguess_found == True |
539 | title_pref = 'Standard-extracted and Merged Spectrum.' | |
542 | title_pref = 'Standard-extracted and Merged Spectrum.' | |
540 | 543 | title_flux_spectrum = 'Standard Extracted, Merged, and Flux Calibrated Spectrum.' |
541 | 544 | tooltip_spectrum ="""\ |
542 | 545 | 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.""" |
560 | 563 | spectrum from the catalog is overplotted for |
561 | 564 | comparison purposes as a green line.""" |
562 | 565 | |
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) | |
571 | 574 | 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 | ||
575 | 578 | #Spectrum plot |
576 | 579 | |
577 | 580 | self.plotSpectrum(self.spectrum1D,self.error1D,self.qual1D,self.decode_bp,self.subplot_spectrum,title_spectrum,tooltip_spectrum) |
589 | 592 | |
590 | 593 | |
591 | 594 | #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) | |
593 | 596 | |
594 | 597 | title_image_obj = '2D Merged ' + self.obj_type +'Spectrum.'+ info_bin_size |
595 | 598 | tooltip_image_obj ="""\ |
647 | 650 | fontsize=18, ha='left', va='center', alpha=1.0) |
648 | 651 | self.subtext_nodata.tooltip="""\ |
649 | 652 | Merged spectrum not found in the products""" |
650 | print "found no spectrum data" | |
653 | print("found no spectrum data") | |
651 | 654 | |
652 | 655 | |
653 | 656 | # This function specifies which are the parameters that should be presented |
658 | 661 | # with the parameter list |
659 | 662 | # Note also that parameters have to be prefixed by the 'recipe name:' |
660 | 663 | |
661 | ||
664 | ||
662 | 665 | def setInteractiveParameters(self): |
663 | 666 | paramList = list() |
664 | 667 | |
698 | 701 | |
699 | 702 | except ImportError: |
700 | 703 | import_sucess = 'false' |
701 | print "Error importing modules pyfits, wx, matplotlib, numpy" | |
704 | print("Error importing modules pyfits, wx, matplotlib, numpy") | |
702 | 705 | raise |
703 | 706 |
0 | 0 | # import the needed modules |
1 | from __future__ import absolute_import | |
2 | from __future__ import print_function | |
1 | 3 | try: |
2 | 4 | # import sys |
3 | 5 | import numpy |
84 | 86 | #in case response is available we need to reduce fonts |
85 | 87 | subplot.set_title(title, fontsize=7) |
86 | 88 | try: |
87 | subplot.figure.tight_layout() | |
89 | pass | |
90 | #subplot.figure.tight_layout() | |
88 | 91 | except AttributeError: |
89 | 92 | pass |
90 | 93 | |
120 | 123 | bpm.readImage(fits_extension=2) |
121 | 124 | img_bpm = ImageDisplay() |
122 | 125 | |
123 | img_obj.setLabels('Wavelength [nm]','Position Along Slit \n [arcsec]') | |
126 | img_obj.setLabels('Wavelength [nm]','Position Along Slit \n [arcsec]') | |
124 | 127 | y_size, x_size = obj.image.shape |
125 | 128 | #print 'x_size=',x_size , 'y_size=',y_size |
126 | 129 | #print 'crval1=',obj.crval1,'crpix1=',obj.crpix1,'cdelt1=',obj.cdelt1 |
128 | 131 | img_obj.setXLinearWCSAxis(obj.crval1,obj.cdelt1,obj.crpix1) |
129 | 132 | img_obj.setYLinearWCSAxis(obj.crval2,obj.cdelt2,obj.crpix2) |
130 | 133 | |
131 | #img_obj.setLimits((0,x_size),(0,y_size)) | |
134 | #img_obj.setLimits((0,x_size),(0,y_size)) | |
132 | 135 | img_obj.display(subplot, title, self.paragraph(tooltip),obj.image,bpm.image) |
133 | 136 | if self.response_found is True and self.rec_id[16:19] != "nod": |
134 | 137 | #in case response is available we need to reduce fonts |
147 | 150 | img_bpm = ImageDisplay() |
148 | 151 | error = obj.image[slice,:,:] |
149 | 152 | |
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]') | |
152 | 155 | 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) | |
154 | 157 | #print 'crval1=',obj.crval1,'crpix1=',obj.crpix1,'cdelt1=',obj.cdelt1 |
155 | 158 | #print 'crval2=',obj.crval2,'crpix2=',obj.crpix2,'cdelt2=',obj.cdelt2 |
156 | 159 | |
159 | 162 | img_obj.setXLinearWCSAxis(-2,2,1) |
160 | 163 | #img_obj.setYLinearWCSAxis(self.crval1,self.cdelt1,self.crpix1) |
161 | 164 | |
162 | #img_obj.setLimits((0,x_size),(0,y_size)) | |
165 | #img_obj.setLimits((0,x_size),(0,y_size)) | |
163 | 166 | img_obj.display(subplot, title, self.paragraph(tooltip),image) |
164 | 167 | if self.response_found is True and self.rec_id[16:19] != "nod": |
165 | 168 | #in case response is available we need to reduce fonts |
298 | 301 | self.RN1 = "1514-1548 nm" |
299 | 302 | self.OPTI5_NAME = hdulist[0].header['ESO INS OPTI5 NAME'] |
300 | 303 | 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") | |
303 | 306 | else : |
304 | 307 | self.SN2 = hdulist[0].header['ESO QC FLUX2 SN'] |
305 | 308 | self.RN2 = "2214-2243 nm" |
353 | 356 | #print rec_id, self.rec_id |
354 | 357 | category = frame.category |
355 | 358 | frames[category] = frame |
356 | print frame | |
359 | print(frame) | |
357 | 360 | #Note that you have to take care that no other input to this py script |
358 | 361 | #the same prefix as SCI_IFU, TELL_IFU, FLUX_IFU |
359 | 362 | |
360 | 363 | prefixes = [k.split('_')[0]+"_"+k.split('_')[1] for k in frames.keys()] |
361 | print "prefixes=",prefixes | |
364 | print("prefixes=",prefixes) | |
362 | 365 | if "SCI_IFU" in prefixes : |
363 | 366 | prefix = "SCI_IFU_" |
364 | 367 | elif "TELL_IFU" in prefixes: |
373 | 376 | arm=self.seq_arm |
374 | 377 | |
375 | 378 | if arm == "UVB": |
376 | self.arm_uvb_found = True | |
379 | self.arm_uvb_found = True | |
377 | 380 | if arm == "VIS": |
378 | self.arm_vis_found = True | |
381 | self.arm_vis_found = True | |
379 | 382 | if arm == "NIR": |
380 | self.arm_nir_found = True | |
381 | print "prefix=",prefix | |
383 | self.arm_nir_found = True | |
384 | print("prefix=",prefix) | |
382 | 385 | # For any arm search a list of input frames |
383 | 386 | key = prefix+"MERGE3D_DATA_OBJ_"+arm |
384 | 387 | if key in frames : |
429 | 432 | self.flux_qual1D = PipelineProduct(hdulist) |
430 | 433 | self.nima += 1 |
431 | 434 | #print "found FLUX_MERGED1D spectrum" |
432 | ||
435 | ||
433 | 436 | key = prefix+"MERGE2D_"+arm |
434 | 437 | if key in frames : |
435 | 438 | self.spectrum2D_found = True |
658 | 661 | |
659 | 662 | else : |
660 | 663 | self.subtext_nodata = figure.add_subplot(1,1,1) |
661 | print "found no spectrum data" | |
664 | print("found no spectrum data") | |
662 | 665 | |
663 | 666 | |
664 | 667 | |
672 | 675 | def plotProductsGraphics(self): |
673 | 676 | if self.spectrum1D_found == True and self.spectrum2D_found == True: |
674 | 677 | #and self.lineguess_found == True |
675 | title_pref = 'Standard-extracted and Merged Spectrum.' | |
678 | title_pref = 'Standard-extracted and Merged Spectrum.' | |
676 | 679 | title_flux_spectrum = 'Standard Extracted, Merged, and Flux Calibrated Spectrum.' |
677 | 680 | tooltip_spectrum ="""\ |
678 | 681 | 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.""" |
696 | 699 | spectrum from the catalog is overplotted for |
697 | 700 | comparison purposes as a green line.""" |
698 | 701 | |
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) | |
707 | 710 | 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 | ||
711 | 714 | #Spectrum plot |
712 | 715 | |
713 | 716 | self.plotSpectrum(self.spectrum1D,self.error1D,self.qual1D,self.decode_bp,self.subplot_spectrum,title_spectrum,tooltip_spectrum) |
814 | 817 | fontsize=18, ha='left', va='center', alpha=1.0) |
815 | 818 | self.subtext_nodata.tooltip="""\ |
816 | 819 | Merged spectrum not found in the products""" |
817 | print "found no spectrum data" | |
820 | print("found no spectrum data") | |
818 | 821 | |
819 | 822 | |
820 | 823 | # This function specifies which are the parameters that should be presented |
824 | 827 | # The descriptions are used to show a tooltip. They should match one to one |
825 | 828 | # with the parameter list |
826 | 829 | # Note also that parameters have to be prefixed by the 'recipe name:' |
827 | ||
830 | ||
828 | 831 | def setInteractiveParameters(self): |
829 | 832 | paramList = list() |
830 | 833 | |
833 | 836 | |
834 | 837 | self.par.setGeneralObjectParameters(paramList,rec_id) |
835 | 838 | |
836 | print rec_id | |
839 | print(rec_id) | |
837 | 840 | if ("stare" in rec_id) or ("nod" in rec_id) : |
838 | print "entered" | |
841 | print("entered") | |
839 | 842 | self.par.setStackParameters(paramList,rec_id) |
840 | 843 | if self.rec_id != "xsh_scired_ifu_stare" : |
841 | 844 | self.par.setCrhSingleParameters(paramList,rec_id) |
842 | 845 | |
843 | 846 | if rec_id[16:21] == "stare" : |
844 | print "background" | |
847 | print("background") | |
845 | 848 | self.par.setBackgroundParameters(paramList,rec_id) |
846 | 849 | |
847 | 850 | if self.rec_id != "xsh_scired_ifu_stare" : |
862 | 865 | |
863 | 866 | except ImportError: |
864 | 867 | import_sucess = 'false' |
865 | print "Error importing modules pyfits, wx, matplotlib, numpy" | |
868 | print("Error importing modules pyfits, wx, matplotlib, numpy") | |
866 | 869 | raise |
867 | 870 |
0 | 0 | # import the needed modules |
1 | from __future__ import absolute_import | |
2 | from __future__ import print_function | |
1 | 3 | try: |
2 | 4 | import reflex |
3 | 5 | import_sucess = 'true' |
6 | 8 | |
7 | 9 | except ImportError: |
8 | 10 | import_sucess = 'false' |
9 | print "Error importing modules pyfits, wx, matplotlib, numpy" | |
11 | print("Error importing modules pyfits, wx, matplotlib, numpy") | |
10 | 12 | |
11 | 13 | #This is the 'main' function |
12 | 14 | if __name__ == '__main__': |
0 | from __future__ import absolute_import | |
1 | from __future__ import print_function | |
0 | 2 | from reflex import RecipeParameter |
1 | 3 | class Parameters(RecipeParameter): |
2 | 4 | |
43 | 45 | def setGeneralObjectParameters(self,paramList,rec_id): |
44 | 46 | |
45 | 47 | group="general" |
46 | print "rec_id=",rec_id | |
48 | print("rec_id=",rec_id) | |
47 | 49 | |
48 | 50 | self.setDecodeBpParameters(paramList,rec_id,group) |
49 | 51 | self.setPreOverscanParameters(paramList,rec_id,group) |
59 | 61 | |
60 | 62 | |
61 | 63 | if "stare" in rec_id: |
62 | print "stare" | |
64 | print("stare") | |
63 | 65 | help5=help5+"If sky-subtract is set to TRUE this must be set to TRUE." |
64 | 66 | paramList.append(RecipeParameter(rec_id,displayName="compute-map",group=group,description=help5)) |
65 | 67 | paramList.append(RecipeParameter(rec_id,displayName="trace-obj",group=group,description=help6)) |
66 | 68 | |
67 | 69 | if "nod" in rec_id : |
68 | print "extract method" | |
70 | print("extract method") | |
69 | 71 | paramList.append(RecipeParameter(rec_id,displayName="extract-method",group=group,description=help7)) |
70 | 72 | |
71 | 73 | if "slit_offset" in rec_id : |
0 | from __future__ import absolute_import | |
1 | from __future__ import print_function | |
0 | 2 | try: |
1 | 3 | import matplotlib.widgets |
2 | 4 | except ImportError: |
80 | 82 | axes.set_title(title, fontsize=12, fontweight='semibold') |
81 | 83 | self.rbuttons = matplotlib.widgets.RadioButtons(axes, |
82 | 84 | textlabels, active) |
83 | print "radiobutton" | |
85 | print("radiobutton") | |
84 | 86 | self.rbuttons.on_clicked(self.__callback) |
85 | 87 | self.usercallback = callback |
86 | 88 |
0 | 0 | # import the needed modules |
1 | from __future__ import absolute_import | |
2 | from __future__ import print_function | |
1 | 3 | try: |
2 | 4 | import reflex |
3 | 5 | import_sucess = 'true' |
6 | 8 | |
7 | 9 | except ImportError: |
8 | 10 | import_sucess = 'false' |
9 | print "Error importing modules pyfits, wx, matplotlib, numpy" | |
11 | print("Error importing modules pyfits, wx, matplotlib, numpy") | |
10 | 12 | |
11 | 13 | #This is the 'main' function |
12 | 14 | if __name__ == '__main__': |
0 | 0 | # import the needed modules |
1 | from __future__ import absolute_import | |
2 | from __future__ import print_function | |
1 | 3 | try: |
2 | 4 | import reflex |
3 | 5 | import_sucess = 'true' |
6 | 8 | |
7 | 9 | except ImportError: |
8 | 10 | import_sucess = 'false' |
9 | print "Error importing modules pyfits, wx, matplotlib, numpy" | |
11 | print("Error importing modules pyfits, wx, matplotlib, numpy") | |
10 | 12 | |
11 | 13 | #This is the 'main' function |
12 | 14 | if __name__ == '__main__': |
0 | 0 | # import the needed modules |
1 | from __future__ import absolute_import | |
2 | from __future__ import print_function | |
1 | 3 | try: |
2 | 4 | import reflex |
3 | 5 | import_sucess = 'true' |
6 | 8 | |
7 | 9 | except ImportError: |
8 | 10 | import_sucess = 'false' |
9 | print "Error importing modules pyfits, wx, matplotlib, numpy" | |
11 | print("Error importing modules pyfits, wx, matplotlib, numpy") | |
10 | 12 | |
11 | 13 | #This is the 'main' function |
12 | 14 | if __name__ == '__main__': |
0 | 0 | # import the needed modules |
1 | from __future__ import absolute_import | |
2 | from __future__ import print_function | |
1 | 3 | try: |
2 | 4 | import reflex |
3 | 5 | import_sucess = 'true' |
6 | 8 | |
7 | 9 | except ImportError: |
8 | 10 | import_sucess = 'false' |
9 | print "Error importing modules pyfits, wx, matplotlib, numpy" | |
11 | print("Error importing modules pyfits, wx, matplotlib, numpy") | |
10 | 12 | |
11 | 13 | |
12 | 14 |
0 | 0 | # import the needed modules |
1 | from __future__ import absolute_import | |
2 | from __future__ import print_function | |
1 | 3 | try: |
2 | 4 | import reflex |
3 | 5 | import_sucess = 'true' |
6 | 8 | |
7 | 9 | except ImportError: |
8 | 10 | import_sucess = 'false' |
9 | print "Error importing modules pyfits, wx, matplotlib, numpy" | |
11 | print("Error importing modules pyfits, wx, matplotlib, numpy") | |
10 | 12 | |
11 | 13 | #This is the 'main' function |
12 | 14 | if __name__ == '__main__': |
0 | 0 | # import the needed modules |
1 | from __future__ import absolute_import | |
2 | from __future__ import print_function | |
1 | 3 | try: |
2 | 4 | import reflex |
3 | 5 | import_sucess = 'true' |
6 | 8 | |
7 | 9 | except ImportError: |
8 | 10 | import_sucess = 'false' |
9 | print "Error importing modules pyfits, wx, matplotlib, numpy" | |
11 | print("Error importing modules pyfits, wx, matplotlib, numpy") | |
10 | 12 | |
11 | 13 | #This is the 'main' function |
12 | 14 | if __name__ == '__main__': |
0 | 0 | # import the needed modules |
1 | from __future__ import absolute_import | |
2 | from __future__ import print_function | |
1 | 3 | try: |
2 | 4 | import reflex |
3 | 5 | import_sucess = 'true' |
6 | 8 | |
7 | 9 | except ImportError: |
8 | 10 | import_sucess = 'false' |
9 | print "Error importing modules pyfits, wx, matplotlib, numpy" | |
11 | print("Error importing modules pyfits, wx, matplotlib, numpy") | |
10 | 12 | |
11 | 13 | #This is the 'main' function |
12 | 14 | if __name__ == '__main__': |
0 | 0 | # import the needed modules |
1 | from __future__ import absolute_import | |
2 | from __future__ import print_function | |
1 | 3 | try: |
2 | 4 | import reflex |
3 | 5 | import_sucess = 'true' |
6 | 8 | |
7 | 9 | except ImportError: |
8 | 10 | import_sucess = 'false' |
9 | print "Error importing modules pyfits, wx, matplotlib, numpy" | |
11 | print("Error importing modules pyfits, wx, matplotlib, numpy") | |
10 | 12 | |
11 | 13 | #This is the 'main' function |
12 | 14 | if __name__ == '__main__': |
0 | 0 | # import the needed modules |
1 | from __future__ import absolute_import | |
2 | from __future__ import print_function | |
1 | 3 | try: |
2 | 4 | import reflex |
3 | 5 | import_sucess = 'true' |
6 | 8 | |
7 | 9 | except ImportError: |
8 | 10 | import_sucess = 'false' |
9 | print "Error importing modules pyfits, wx, matplotlib, numpy" | |
11 | print("Error importing modules pyfits, wx, matplotlib, numpy") | |
10 | 12 | |
11 | 13 | #This is the 'main' function |
12 | 14 | if __name__ == '__main__': |
2761 | 2761 | 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; |
2762 | 2762 | |
2763 | 2763 | 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"); | |
2765 | 2765 | // not necessary constrain |
2766 | 2766 | // and (MJD-OBS < inputFile.MJD-OBS or MJD-OBS >= inputFile.MJD-OBS); |
2767 | 2767 | |
2768 | 2768 | 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"); | |
2770 | 2770 | // not necessary constraint |
2771 | 2771 | // and (MJD-OBS < inputFile.MJD-OBS or MJD-OBS >= inputFile.MJD-OBS); |
2772 | 2772 | |
2818 | 2818 | 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; |
2819 | 2819 | |
2820 | 2820 | 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"); | |
2822 | 2822 | // not necessary constrain |
2823 | 2823 | // and (MJD-OBS < inputFile.MJD-OBS or MJD-OBS >= inputFile.MJD-OBS); |
2824 | 2824 | |
2825 | 2825 | 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"); | |
2827 | 2827 | // not necessary constraint |
2828 | 2828 | // and (MJD-OBS < inputFile.MJD-OBS or MJD-OBS >= inputFile.MJD-OBS); |
2829 | 2829 | |
2880 | 2880 | 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"); |
2881 | 2881 | |
2882 | 2882 | 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"); | |
2884 | 2884 | // not necessary constraint |
2885 | 2885 | // and (MJD-OBS < inputFile.MJD-OBS or MJD-OBS >= inputFile.MJD-OBS); |
2886 | 2886 | |
2887 | 2887 | 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"); | |
2889 | 2889 | // not necessary constraint |
2890 | 2890 | // and (MJD-OBS < inputFile.MJD-OBS or MJD-OBS >= inputFile.MJD-OBS); |
2891 | 2891 | |
2946 | 2946 | 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"); |
2947 | 2947 | |
2948 | 2948 | 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"); | |
2950 | 2950 | // not necessary constraint |
2951 | 2951 | // and (MJD-OBS < inputFile.MJD-OBS or MJD-OBS >= inputFile.MJD-OBS); |
2952 | 2952 | |
2953 | 2953 | 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"); | |
2955 | 2955 | // not necessary constraint |
2956 | 2956 | // and (MJD-OBS < inputFile.MJD-OBS or MJD-OBS >= inputFile.MJD-OBS); |
2957 | 2957 | |
3011 | 3011 | 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; |
3012 | 3012 | |
3013 | 3013 | 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"); | |
3015 | 3015 | // not necessay constraint |
3016 | 3016 | // and (MJD-OBS < inputFile.MJD-OBS or MJD-OBS >= inputFile.MJD-OBS); |
3017 | 3017 | |
3018 | 3018 | 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"); | |
3020 | 3020 | // not necessary constraint |
3021 | 3021 | // and (MJD-OBS < inputFile.MJD-OBS or MJD-OBS >= inputFile.MJD-OBS); |
3022 | 3022 | |
3071 | 3071 | 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; |
3072 | 3072 | |
3073 | 3073 | 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"); | |
3075 | 3075 | // not necessary constraint |
3076 | 3076 | // and (MJD-OBS < inputFile.MJD-OBS or MJD-OBS >= inputFile.MJD-OBS); |
3077 | 3077 | |
3078 | 3078 | 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"); | |
3080 | 3080 | // not necessary constraint |
3081 | 3081 | // and (MJD-OBS < inputFile.MJD-OBS or MJD-OBS >= inputFile.MJD-OBS); |
3082 | 3082 | |
3135 | 3135 | 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"); |
3136 | 3136 | |
3137 | 3137 | 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"); | |
3139 | 3139 | // not necessary constraint |
3140 | 3140 | // and (MJD-OBS < inputFile.MJD-OBS or MJD-OBS >= inputFile.MJD-OBS); |
3141 | 3141 | |
3142 | 3142 | 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"); | |
3144 | 3144 | // not necessary constraint |
3145 | 3145 | // and (MJD-OBS < inputFile.MJD-OBS or MJD-OBS >= inputFile.MJD-OBS); |
3146 | 3146 | |
3201 | 3201 | 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"); |
3202 | 3202 | |
3203 | 3203 | 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"); | |
3205 | 3205 | // not necessary constraint |
3206 | 3206 | // and (MJD-OBS < inputFile.MJD-OBS or MJD-OBS >= inputFile.MJD-OBS); |
3207 | 3207 | |
3208 | 3208 | 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"); | |
3210 | 3210 | // not necessary constraint |
3211 | 3211 | // and (MJD-OBS < inputFile.MJD-OBS or MJD-OBS >= inputFile.MJD-OBS); |
3212 | 3212 | |
3271 | 3271 | select file as SPECTRAL_FORMAT_TAB_UVB from calibFiles where PRO.CATG=="SPECTRAL_FORMAT_TAB_UVB" and (inputFile.INSTRUME=="SHOOT" or inputFile.INSTRUME=="XSHOOTER"); |
3272 | 3272 | |
3273 | 3273 | 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"); | |
3275 | 3275 | // not necessary constraint |
3276 | 3276 | // and (MJD-OBS < inputFile.MJD-OBS or MJD-OBS >= inputFile.MJD-OBS); |
3277 | 3277 | |
3278 | 3278 | 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"); | |
3280 | 3280 | // not necessary constraint |
3281 | 3281 | // and (MJD-OBS < inputFile.MJD-OBS or MJD-OBS >= inputFile.MJD-OBS); |
3282 | 3282 | |
3339 | 3339 | select file as SPECTRAL_FORMAT_TAB_VIS from calibFiles where PRO.CATG=="SPECTRAL_FORMAT_TAB_VIS" and (inputFile.INSTRUME=="SHOOT" or inputFile.INSTRUME=="XSHOOTER"); |
3340 | 3340 | |
3341 | 3341 | 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"); | |
3343 | 3343 | // not necessary constrain |
3344 | 3344 | // and (MJD-OBS < inputFile.MJD-OBS or MJD-OBS >= inputFile.MJD-OBS); |
3345 | 3345 | |
3346 | 3346 | 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"); | |
3348 | 3348 | // not necessary constraint |
3349 | 3349 | // and (MJD-OBS < inputFile.MJD-OBS or MJD-OBS >= inputFile.MJD-OBS); |
3350 | 3350 | |
3407 | 3407 | |
3408 | 3408 | |
3409 | 3409 | 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"); | |
3411 | 3411 | // not necessary constrain |
3412 | 3412 | // and (MJD-OBS < inputFile.MJD-OBS or MJD-OBS >= inputFile.MJD-OBS); |
3413 | 3413 | |
3414 | 3414 | 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"); | |
3416 | 3416 | // not necessary constraint |
3417 | 3417 | // and (MJD-OBS < inputFile.MJD-OBS or MJD-OBS >= inputFile.MJD-OBS); |
3418 | 3418 | |
3479 | 3479 | 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; |
3480 | 3480 | |
3481 | 3481 | 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"); | |
3483 | 3483 | // not necessary constrain |
3484 | 3484 | // and (MJD-OBS < inputFile.MJD-OBS or MJD-OBS >= inputFile.MJD-OBS); |
3485 | 3485 | |
3486 | 3486 | 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"); | |
3488 | 3488 | // not necessary constraint |
3489 | 3489 | // and (MJD-OBS < inputFile.MJD-OBS or MJD-OBS >= inputFile.MJD-OBS); |
3490 | 3490 | |
3527 | 3527 | |
3528 | 3528 | //Optional input in order to flux-calibrate |
3529 | 3529 | 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"); | |
3531 | 3531 | |
3532 | 3532 | minRet = 0; maxRet = 1; |
3533 | 3533 | select file as RESPONSE_MERGE1D_SLIT_UVB_WKF from calibFiles where PRO.CATG=="RESPONSE_MERGE1D_SLIT_UVB_WKF"; |
3586 | 3586 | |
3587 | 3587 | //Optional input in order to flux-calibrate |
3588 | 3588 | 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"); | |
3590 | 3590 | |
3591 | 3591 | minRet = 0; maxRet = 1; |
3592 | 3592 | select file as RESPONSE_MERGE1D_SLIT_VIS_WKF from calibFiles where PRO.CATG=="RESPONSE_MERGE1D_SLIT_VIS_WKF"; |
3646 | 3646 | |
3647 | 3647 | //Optional input in order to flux-calibrate |
3648 | 3648 | 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"); | |
3650 | 3650 | |
3651 | 3651 | minRet = 0; maxRet = 1; |
3652 | 3652 | select file as RESPONSE_MERGE1D_SLIT_NIR_WKF from calibFiles where PRO.CATG=="RESPONSE_MERGE1D_SLIT_NIR_WKF"; |
3705 | 3705 | |
3706 | 3706 | //Optional input in order to flux-calibrate |
3707 | 3707 | 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"); | |
3709 | 3709 | |
3710 | 3710 | minRet = 0; maxRet = 1; |
3711 | 3711 | select file as RESPONSE_MERGE1D_SLIT_NIR_WKF from calibFiles where PRO.CATG=="RESPONSE_MERGE1D_SLIT_NIR_WKF"; |
3764 | 3764 | |
3765 | 3765 | //Optional input in order to flux-calibrate |
3766 | 3766 | 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"); | |
3768 | 3768 | |
3769 | 3769 | minRet = 0; maxRet = 1; |
3770 | 3770 | select file as RESPONSE_MERGE1D_SLIT_UVB_WKF from calibFiles where PRO.CATG=="RESPONSE_MERGE1D_SLIT_UVB_WKF"; |
3814 | 3814 | |
3815 | 3815 | //Optional input in order to flux-calibrate |
3816 | 3816 | 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"); | |
3818 | 3818 | |
3819 | 3819 | minRet = 0; maxRet = 1; |
3820 | 3820 | select file as RESPONSE_MERGE1D_SLIT_VIS_WKF from calibFiles where PRO.CATG=="RESPONSE_MERGE1D_SLIT_VIS_WKF"; |
3864 | 3864 | |
3865 | 3865 | //Optional input in order to flux-calibrate |
3866 | 3866 | 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"); | |
3868 | 3868 | |
3869 | 3869 | minRet = 0; maxRet = 1; |
3870 | 3870 | select file as RESPONSE_MERGE1D_SLIT_NIR_WKF from calibFiles where PRO.CATG=="RESPONSE_MERGE1D_SLIT_NIR_WKF"; |
3918 | 3918 | |
3919 | 3919 | //Optional input in order to flux-calibrate |
3920 | 3920 | 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"); | |
3922 | 3922 | |
3923 | 3923 | minRet = 0; maxRet = 1; |
3924 | 3924 | select file as RESPONSE_MERGE1D_SLIT_NIR_WKF from calibFiles where PRO.CATG=="RESPONSE_MERGE1D_SLIT_NIR_WKF"; |
4438 | 4438 | |
4439 | 4439 | |
4440 | 4440 | 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"); | |
4442 | 4442 | |
4443 | 4443 | minRet = 1; maxRet = 1; |
4444 | 4444 | 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; |
4496 | 4496 | |
4497 | 4497 | |
4498 | 4498 | 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"); | |
4500 | 4500 | |
4501 | 4501 | minRet = 1; maxRet = 1; |
4502 | 4502 | 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; |
4555 | 4555 | |
4556 | 4556 | |
4557 | 4557 | 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"); | |
4559 | 4559 | |
4560 | 4560 | minRet = 1; maxRet = 1; |
4561 | 4561 | 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; |
4616 | 4616 | |
4617 | 4617 | |
4618 | 4618 | 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"); | |
4620 | 4620 | |
4621 | 4621 | minRet = 1; maxRet = 1; |
4622 | 4622 | 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; |
4680 | 4680 | |
4681 | 4681 | |
4682 | 4682 | 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"); | |
4684 | 4684 | |
4685 | 4685 | minRet = 1; maxRet = 1; |
4686 | 4686 | 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; |
4732 | 4732 | |
4733 | 4733 | |
4734 | 4734 | 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"); | |
4736 | 4736 | |
4737 | 4737 | minRet = 1; maxRet = 1; |
4738 | 4738 | 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; |
4784 | 4784 | |
4785 | 4785 | |
4786 | 4786 | 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"); | |
4788 | 4788 | |
4789 | 4789 | minRet = 0; maxRet = 1; |
4790 | 4790 | 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; |
4836 | 4836 | |
4837 | 4837 | |
4838 | 4838 | 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"); | |
4840 | 4840 | |
4841 | 4841 | minRet = 0; maxRet = 1; |
4842 | 4842 | 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; |
4885 | 4885 | |
4886 | 4886 | |
4887 | 4887 | 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"); | |
4889 | 4889 | |
4890 | 4890 | minRet = 1; maxRet = 1; |
4891 | 4891 | 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; |
4933 | 4933 | |
4934 | 4934 | |
4935 | 4935 | 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"); | |
4937 | 4937 | |
4938 | 4938 | minRet = 1; maxRet = 1; |
4939 | 4939 | 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; |
4981 | 4981 | |
4982 | 4982 | |
4983 | 4983 | 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"); | |
4985 | 4985 | |
4986 | 4986 | minRet = 0; maxRet = 1; |
4987 | 4987 | 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; |
5033 | 5033 | |
5034 | 5034 | |
5035 | 5035 | 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"); | |
5037 | 5037 | |
5038 | 5038 | minRet = 0; maxRet = 1; |
5039 | 5039 | 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; |
2292 | 2292 | 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; |
2293 | 2293 | |
2294 | 2294 | 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"); | |
2296 | 2296 | // not necessary constrain |
2297 | 2297 | // and (MJD-OBS < inputFile.MJD-OBS or MJD-OBS >= inputFile.MJD-OBS); |
2298 | 2298 | |
2299 | 2299 | 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"); | |
2301 | 2301 | // not necessary constraint |
2302 | 2302 | // and (MJD-OBS < inputFile.MJD-OBS or MJD-OBS >= inputFile.MJD-OBS); |
2303 | 2303 | |
2347 | 2347 | 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; |
2348 | 2348 | |
2349 | 2349 | 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"); | |
2351 | 2351 | // not necessary constrain |
2352 | 2352 | // and (MJD-OBS < inputFile.MJD-OBS or MJD-OBS >= inputFile.MJD-OBS); |
2353 | 2353 | |
2354 | 2354 | 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"); | |
2356 | 2356 | // not necessary constraint |
2357 | 2357 | // and (MJD-OBS < inputFile.MJD-OBS or MJD-OBS >= inputFile.MJD-OBS); |
2358 | 2358 | |
2409 | 2409 | 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"); |
2410 | 2410 | |
2411 | 2411 | 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"); | |
2413 | 2413 | // not necessary constraint |
2414 | 2414 | // and (MJD-OBS < inputFile.MJD-OBS or MJD-OBS >= inputFile.MJD-OBS); |
2415 | 2415 | |
2416 | 2416 | 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"); | |
2418 | 2418 | // not necessary constraint |
2419 | 2419 | // and (MJD-OBS < inputFile.MJD-OBS or MJD-OBS >= inputFile.MJD-OBS); |
2420 | 2420 | |
2472 | 2472 | 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"); |
2473 | 2473 | |
2474 | 2474 | 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"); | |
2476 | 2476 | // not necessary constraint |
2477 | 2477 | // and (MJD-OBS < inputFile.MJD-OBS or MJD-OBS >= inputFile.MJD-OBS); |
2478 | 2478 | |
2479 | 2479 | 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"); | |
2481 | 2481 | // not necessary constraint |
2482 | 2482 | // and (MJD-OBS < inputFile.MJD-OBS or MJD-OBS >= inputFile.MJD-OBS); |
2483 | 2483 | |
2534 | 2534 | 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; |
2535 | 2535 | |
2536 | 2536 | 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"); | |
2538 | 2538 | // not necessay constraint |
2539 | 2539 | // and (MJD-OBS < inputFile.MJD-OBS or MJD-OBS >= inputFile.MJD-OBS); |
2540 | 2540 | |
2541 | 2541 | 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"); | |
2543 | 2543 | // not necessary constraint |
2544 | 2544 | // and (MJD-OBS < inputFile.MJD-OBS or MJD-OBS >= inputFile.MJD-OBS); |
2545 | 2545 | |
2592 | 2592 | 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; |
2593 | 2593 | |
2594 | 2594 | 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"); | |
2596 | 2596 | // not necessary constraint |
2597 | 2597 | // and (MJD-OBS < inputFile.MJD-OBS or MJD-OBS >= inputFile.MJD-OBS); |
2598 | 2598 | |
2599 | 2599 | 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"); | |
2601 | 2601 | // not necessary constraint |
2602 | 2602 | // and (MJD-OBS < inputFile.MJD-OBS or MJD-OBS >= inputFile.MJD-OBS); |
2603 | 2603 | |
2654 | 2654 | 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"); |
2655 | 2655 | |
2656 | 2656 | 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"); | |
2658 | 2658 | // not necessary constraint |
2659 | 2659 | // and (MJD-OBS < inputFile.MJD-OBS or MJD-OBS >= inputFile.MJD-OBS); |
2660 | 2660 | |
2661 | 2661 | 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"); | |
2663 | 2663 | // not necessary constraint |
2664 | 2664 | // and (MJD-OBS < inputFile.MJD-OBS or MJD-OBS >= inputFile.MJD-OBS); |
2665 | 2665 | |
2717 | 2717 | 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"); |
2718 | 2718 | |
2719 | 2719 | 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"); | |
2721 | 2721 | // not necessary constraint |
2722 | 2722 | // and (MJD-OBS < inputFile.MJD-OBS or MJD-OBS >= inputFile.MJD-OBS); |
2723 | 2723 | |
2724 | 2724 | 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"); | |
2726 | 2726 | // not necessary constraint |
2727 | 2727 | // and (MJD-OBS < inputFile.MJD-OBS or MJD-OBS >= inputFile.MJD-OBS); |
2728 | 2728 | |
2783 | 2783 | select file as SPECTRAL_FORMAT_TAB_UVB from calibFiles where PRO.CATG=="SPECTRAL_FORMAT_TAB_UVB" and (inputFile.INSTRUME=="SHOOT" or inputFile.INSTRUME=="XSHOOTER"); |
2784 | 2784 | |
2785 | 2785 | 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"); | |
2787 | 2787 | // not necessary constraint |
2788 | 2788 | // and (MJD-OBS < inputFile.MJD-OBS or MJD-OBS >= inputFile.MJD-OBS); |
2789 | 2789 | |
2790 | 2790 | 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"); | |
2792 | 2792 | // not necessary constraint |
2793 | 2793 | // and (MJD-OBS < inputFile.MJD-OBS or MJD-OBS >= inputFile.MJD-OBS); |
2794 | 2794 | |
2845 | 2845 | select file as SPECTRAL_FORMAT_TAB_VIS from calibFiles where PRO.CATG=="SPECTRAL_FORMAT_TAB_VIS" and (inputFile.INSTRUME=="SHOOT" or inputFile.INSTRUME=="XSHOOTER"); |
2846 | 2846 | |
2847 | 2847 | 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"); | |
2849 | 2849 | // not necessary constrain |
2850 | 2850 | // and (MJD-OBS < inputFile.MJD-OBS or MJD-OBS >= inputFile.MJD-OBS); |
2851 | 2851 | |
2852 | 2852 | 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"); | |
2854 | 2854 | // not necessary constraint |
2855 | 2855 | // and (MJD-OBS < inputFile.MJD-OBS or MJD-OBS >= inputFile.MJD-OBS); |
2856 | 2856 | |
2905 | 2905 | |
2906 | 2906 | |
2907 | 2907 | 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"); | |
2909 | 2909 | // not necessary constrain |
2910 | 2910 | // and (MJD-OBS < inputFile.MJD-OBS or MJD-OBS >= inputFile.MJD-OBS); |
2911 | 2911 | |
2912 | 2912 | 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"); | |
2914 | 2914 | // not necessary constraint |
2915 | 2915 | // and (MJD-OBS < inputFile.MJD-OBS or MJD-OBS >= inputFile.MJD-OBS); |
2916 | 2916 | |
2970 | 2970 | 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; |
2971 | 2971 | |
2972 | 2972 | 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"); | |
2974 | 2974 | // not necessary constrain |
2975 | 2975 | // and (MJD-OBS < inputFile.MJD-OBS or MJD-OBS >= inputFile.MJD-OBS); |
2976 | 2976 | |
2977 | 2977 | 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"); | |
2979 | 2979 | // not necessary constraint |
2980 | 2980 | // and (MJD-OBS < inputFile.MJD-OBS or MJD-OBS >= inputFile.MJD-OBS); |
2981 | 2981 | |
3009 | 3009 | |
3010 | 3010 | //Optional input in order to flux-calibrate |
3011 | 3011 | 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"); | |
3013 | 3013 | |
3014 | 3014 | minRet = 0; maxRet = 1; |
3015 | 3015 | select file as RESPONSE_MERGE1D_SLIT_UVB_WKF from calibFiles where PRO.CATG=="RESPONSE_MERGE1D_SLIT_UVB_WKF"; |
3064 | 3064 | |
3065 | 3065 | //Optional input in order to flux-calibrate |
3066 | 3066 | 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"); | |
3068 | 3068 | |
3069 | 3069 | minRet = 0; maxRet = 1; |
3070 | 3070 | select file as RESPONSE_MERGE1D_SLIT_VIS_WKF from calibFiles where PRO.CATG=="RESPONSE_MERGE1D_SLIT_VIS_WKF"; |
3120 | 3120 | |
3121 | 3121 | //Optional input in order to flux-calibrate |
3122 | 3122 | 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"); | |
3124 | 3124 | |
3125 | 3125 | minRet = 0; maxRet = 1; |
3126 | 3126 | select file as RESPONSE_MERGE1D_SLIT_NIR_WKF from calibFiles where PRO.CATG=="RESPONSE_MERGE1D_SLIT_NIR_WKF"; |
3176 | 3176 | |
3177 | 3177 | //Optional input in order to flux-calibrate |
3178 | 3178 | 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"); | |
3180 | 3180 | |
3181 | 3181 | minRet = 0; maxRet = 1; |
3182 | 3182 | select file as RESPONSE_MERGE1D_SLIT_NIR_WKF from calibFiles where PRO.CATG=="RESPONSE_MERGE1D_SLIT_NIR_WKF"; |
3232 | 3232 | |
3233 | 3233 | //Optional input in order to flux-calibrate |
3234 | 3234 | 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"); | |
3236 | 3236 | |
3237 | 3237 | minRet = 0; maxRet = 1; |
3238 | 3238 | select file as RESPONSE_MERGE1D_SLIT_UVB_WKF from calibFiles where PRO.CATG=="RESPONSE_MERGE1D_SLIT_UVB_WKF"; |
3282 | 3282 | |
3283 | 3283 | //Optional input in order to flux-calibrate |
3284 | 3284 | 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"); | |
3286 | 3286 | |
3287 | 3287 | minRet = 0; maxRet = 1; |
3288 | 3288 | select file as RESPONSE_MERGE1D_SLIT_VIS_WKF from calibFiles where PRO.CATG=="RESPONSE_MERGE1D_SLIT_VIS_WKF"; |
3332 | 3332 | |
3333 | 3333 | //Optional input in order to flux-calibrate |
3334 | 3334 | 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"); | |
3336 | 3336 | |
3337 | 3337 | minRet = 0; maxRet = 1; |
3338 | 3338 | select file as RESPONSE_MERGE1D_SLIT_NIR_WKF from calibFiles where PRO.CATG=="RESPONSE_MERGE1D_SLIT_NIR_WKF"; |
3382 | 3382 | |
3383 | 3383 | //Optional input in order to flux-calibrate |
3384 | 3384 | 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"); | |
3386 | 3386 | |
3387 | 3387 | minRet = 0; maxRet = 1; |
3388 | 3388 | select file as RESPONSE_MERGE1D_SLIT_NIR_WKF from calibFiles where PRO.CATG=="RESPONSE_MERGE1D_SLIT_NIR_WKF"; |
3896 | 3896 | |
3897 | 3897 | |
3898 | 3898 | 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"); | |
3900 | 3900 | |
3901 | 3901 | minRet = 1; maxRet = 1; |
3902 | 3902 | 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; |
3952 | 3952 | |
3953 | 3953 | |
3954 | 3954 | 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"); | |
3956 | 3956 | |
3957 | 3957 | minRet = 1; maxRet = 1; |
3958 | 3958 | 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; |
4008 | 4008 | |
4009 | 4009 | |
4010 | 4010 | 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"); | |
4012 | 4012 | |
4013 | 4013 | minRet = 1; maxRet = 1; |
4014 | 4014 | 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; |
4064 | 4064 | |
4065 | 4065 | |
4066 | 4066 | 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"); | |
4068 | 4068 | |
4069 | 4069 | minRet = 1; maxRet = 1; |
4070 | 4070 | 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; |
2761 | 2761 | 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; |
2762 | 2762 | |
2763 | 2763 | 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"); | |
2765 | 2765 | // not necessary constrain |
2766 | 2766 | // and (MJD-OBS < inputFile.MJD-OBS or MJD-OBS >= inputFile.MJD-OBS); |
2767 | 2767 | |
2768 | 2768 | 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"); | |
2770 | 2770 | // not necessary constraint |
2771 | 2771 | // and (MJD-OBS < inputFile.MJD-OBS or MJD-OBS >= inputFile.MJD-OBS); |
2772 | 2772 | |
2818 | 2818 | 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; |
2819 | 2819 | |
2820 | 2820 | 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"); | |
2822 | 2822 | // not necessary constrain |
2823 | 2823 | // and (MJD-OBS < inputFile.MJD-OBS or MJD-OBS >= inputFile.MJD-OBS); |
2824 | 2824 | |
2825 | 2825 | 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"); | |
2827 | 2827 | // not necessary constraint |
2828 | 2828 | // and (MJD-OBS < inputFile.MJD-OBS or MJD-OBS >= inputFile.MJD-OBS); |
2829 | 2829 | |
2880 | 2880 | 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"); |
2881 | 2881 | |
2882 | 2882 | 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"); | |
2884 | 2884 | // not necessary constraint |
2885 | 2885 | // and (MJD-OBS < inputFile.MJD-OBS or MJD-OBS >= inputFile.MJD-OBS); |
2886 | 2886 | |
2887 | 2887 | 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"); | |
2889 | 2889 | // not necessary constraint |
2890 | 2890 | // and (MJD-OBS < inputFile.MJD-OBS or MJD-OBS >= inputFile.MJD-OBS); |
2891 | 2891 | |
2946 | 2946 | 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"); |
2947 | 2947 | |
2948 | 2948 | 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"); | |
2950 | 2950 | // not necessary constraint |
2951 | 2951 | // and (MJD-OBS < inputFile.MJD-OBS or MJD-OBS >= inputFile.MJD-OBS); |
2952 | 2952 | |
2953 | 2953 | 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"); | |
2955 | 2955 | // not necessary constraint |
2956 | 2956 | // and (MJD-OBS < inputFile.MJD-OBS or MJD-OBS >= inputFile.MJD-OBS); |
2957 | 2957 | |
3011 | 3011 | 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; |
3012 | 3012 | |
3013 | 3013 | 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"); | |
3015 | 3015 | // not necessay constraint |
3016 | 3016 | // and (MJD-OBS < inputFile.MJD-OBS or MJD-OBS >= inputFile.MJD-OBS); |
3017 | 3017 | |
3018 | 3018 | 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"); | |
3020 | 3020 | // not necessary constraint |
3021 | 3021 | // and (MJD-OBS < inputFile.MJD-OBS or MJD-OBS >= inputFile.MJD-OBS); |
3022 | 3022 | |
3071 | 3071 | 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; |
3072 | 3072 | |
3073 | 3073 | 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"); | |
3075 | 3075 | // not necessary constraint |
3076 | 3076 | // and (MJD-OBS < inputFile.MJD-OBS or MJD-OBS >= inputFile.MJD-OBS); |
3077 | 3077 | |
3078 | 3078 | 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"); | |
3080 | 3080 | // not necessary constraint |
3081 | 3081 | // and (MJD-OBS < inputFile.MJD-OBS or MJD-OBS >= inputFile.MJD-OBS); |
3082 | 3082 | |
3135 | 3135 | 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"); |
3136 | 3136 | |
3137 | 3137 | 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"); | |
3139 | 3139 | // not necessary constraint |
3140 | 3140 | // and (MJD-OBS < inputFile.MJD-OBS or MJD-OBS >= inputFile.MJD-OBS); |
3141 | 3141 | |
3142 | 3142 | 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"); | |
3144 | 3144 | // not necessary constraint |
3145 | 3145 | // and (MJD-OBS < inputFile.MJD-OBS or MJD-OBS >= inputFile.MJD-OBS); |
3146 | 3146 | |
3201 | 3201 | 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"); |
3202 | 3202 | |
3203 | 3203 | 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"); | |
3205 | 3205 | // not necessary constraint |
3206 | 3206 | // and (MJD-OBS < inputFile.MJD-OBS or MJD-OBS >= inputFile.MJD-OBS); |
3207 | 3207 | |
3208 | 3208 | 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"); | |
3210 | 3210 | // not necessary constraint |
3211 | 3211 | // and (MJD-OBS < inputFile.MJD-OBS or MJD-OBS >= inputFile.MJD-OBS); |
3212 | 3212 | |
3271 | 3271 | select file as SPECTRAL_FORMAT_TAB_UVB from calibFiles where PRO.CATG=="SPECTRAL_FORMAT_TAB_UVB" and (inputFile.INSTRUME=="SHOOT" or inputFile.INSTRUME=="XSHOOTER"); |
3272 | 3272 | |
3273 | 3273 | 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"); | |
3275 | 3275 | // not necessary constraint |
3276 | 3276 | // and (MJD-OBS < inputFile.MJD-OBS or MJD-OBS >= inputFile.MJD-OBS); |
3277 | 3277 | |
3278 | 3278 | 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"); | |
3280 | 3280 | // not necessary constraint |
3281 | 3281 | // and (MJD-OBS < inputFile.MJD-OBS or MJD-OBS >= inputFile.MJD-OBS); |
3282 | 3282 | |
3339 | 3339 | select file as SPECTRAL_FORMAT_TAB_VIS from calibFiles where PRO.CATG=="SPECTRAL_FORMAT_TAB_VIS" and (inputFile.INSTRUME=="SHOOT" or inputFile.INSTRUME=="XSHOOTER"); |
3340 | 3340 | |
3341 | 3341 | 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"); | |
3343 | 3343 | // not necessary constrain |
3344 | 3344 | // and (MJD-OBS < inputFile.MJD-OBS or MJD-OBS >= inputFile.MJD-OBS); |
3345 | 3345 | |
3346 | 3346 | 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"); | |
3348 | 3348 | // not necessary constraint |
3349 | 3349 | // and (MJD-OBS < inputFile.MJD-OBS or MJD-OBS >= inputFile.MJD-OBS); |
3350 | 3350 | |
3407 | 3407 | |
3408 | 3408 | |
3409 | 3409 | 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"); | |
3411 | 3411 | // not necessary constrain |
3412 | 3412 | // and (MJD-OBS < inputFile.MJD-OBS or MJD-OBS >= inputFile.MJD-OBS); |
3413 | 3413 | |
3414 | 3414 | 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"); | |
3416 | 3416 | // not necessary constraint |
3417 | 3417 | // and (MJD-OBS < inputFile.MJD-OBS or MJD-OBS >= inputFile.MJD-OBS); |
3418 | 3418 | |
3479 | 3479 | 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; |
3480 | 3480 | |
3481 | 3481 | 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"); | |
3483 | 3483 | // not necessary constrain |
3484 | 3484 | // and (MJD-OBS < inputFile.MJD-OBS or MJD-OBS >= inputFile.MJD-OBS); |
3485 | 3485 | |
3486 | 3486 | 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"); | |
3488 | 3488 | // not necessary constraint |
3489 | 3489 | // and (MJD-OBS < inputFile.MJD-OBS or MJD-OBS >= inputFile.MJD-OBS); |
3490 | 3490 | |
3527 | 3527 | |
3528 | 3528 | //Optional input in order to flux-calibrate |
3529 | 3529 | 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"); | |
3531 | 3531 | |
3532 | 3532 | minRet = 0; maxRet = 1; |
3533 | 3533 | select file as RESPONSE_MERGE1D_SLIT_UVB_WKF from calibFiles where PRO.CATG=="RESPONSE_MERGE1D_SLIT_UVB_WKF"; |
3586 | 3586 | |
3587 | 3587 | //Optional input in order to flux-calibrate |
3588 | 3588 | 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"); | |
3590 | 3590 | |
3591 | 3591 | minRet = 0; maxRet = 1; |
3592 | 3592 | select file as RESPONSE_MERGE1D_SLIT_VIS_WKF from calibFiles where PRO.CATG=="RESPONSE_MERGE1D_SLIT_VIS_WKF"; |
3646 | 3646 | |
3647 | 3647 | //Optional input in order to flux-calibrate |
3648 | 3648 | 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"); | |
3650 | 3650 | |
3651 | 3651 | minRet = 0; maxRet = 1; |
3652 | 3652 | select file as RESPONSE_MERGE1D_SLIT_NIR_WKF from calibFiles where PRO.CATG=="RESPONSE_MERGE1D_SLIT_NIR_WKF"; |
3705 | 3705 | |
3706 | 3706 | //Optional input in order to flux-calibrate |
3707 | 3707 | 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"); | |
3709 | 3709 | |
3710 | 3710 | minRet = 0; maxRet = 1; |
3711 | 3711 | select file as RESPONSE_MERGE1D_SLIT_NIR_WKF from calibFiles where PRO.CATG=="RESPONSE_MERGE1D_SLIT_NIR_WKF"; |
3764 | 3764 | |
3765 | 3765 | //Optional input in order to flux-calibrate |
3766 | 3766 | 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"); | |
3768 | 3768 | |
3769 | 3769 | minRet = 0; maxRet = 1; |
3770 | 3770 | select file as RESPONSE_MERGE1D_SLIT_UVB_WKF from calibFiles where PRO.CATG=="RESPONSE_MERGE1D_SLIT_UVB_WKF"; |
3814 | 3814 | |
3815 | 3815 | //Optional input in order to flux-calibrate |
3816 | 3816 | 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"); | |
3818 | 3818 | |
3819 | 3819 | minRet = 0; maxRet = 1; |
3820 | 3820 | select file as RESPONSE_MERGE1D_SLIT_VIS_WKF from calibFiles where PRO.CATG=="RESPONSE_MERGE1D_SLIT_VIS_WKF"; |
3864 | 3864 | |
3865 | 3865 | //Optional input in order to flux-calibrate |
3866 | 3866 | 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"); | |
3868 | 3868 | |
3869 | 3869 | minRet = 0; maxRet = 1; |
3870 | 3870 | select file as RESPONSE_MERGE1D_SLIT_NIR_WKF from calibFiles where PRO.CATG=="RESPONSE_MERGE1D_SLIT_NIR_WKF"; |
3918 | 3918 | |
3919 | 3919 | //Optional input in order to flux-calibrate |
3920 | 3920 | 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"); | |
3922 | 3922 | |
3923 | 3923 | minRet = 0; maxRet = 1; |
3924 | 3924 | select file as RESPONSE_MERGE1D_SLIT_NIR_WKF from calibFiles where PRO.CATG=="RESPONSE_MERGE1D_SLIT_NIR_WKF"; |
4437 | 4437 | |
4438 | 4438 | |
4439 | 4439 | 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"); | |
4441 | 4441 | |
4442 | 4442 | minRet = 1; maxRet = 1; |
4443 | 4443 | 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; |
4495 | 4495 | |
4496 | 4496 | |
4497 | 4497 | 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"); | |
4499 | 4499 | |
4500 | 4500 | minRet = 1; maxRet = 1; |
4501 | 4501 | 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; |
4554 | 4554 | |
4555 | 4555 | |
4556 | 4556 | 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"); | |
4558 | 4558 | |
4559 | 4559 | minRet = 1; maxRet = 1; |
4560 | 4560 | 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; |
4615 | 4615 | |
4616 | 4616 | |
4617 | 4617 | 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"); | |
4619 | 4619 | |
4620 | 4620 | minRet = 1; maxRet = 1; |
4621 | 4621 | 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; |
4679 | 4679 | |
4680 | 4680 | |
4681 | 4681 | 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"); | |
4683 | 4683 | |
4684 | 4684 | minRet = 1; maxRet = 1; |
4685 | 4685 | 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; |
4731 | 4731 | |
4732 | 4732 | |
4733 | 4733 | 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"); | |
4735 | 4735 | |
4736 | 4736 | minRet = 1; maxRet = 1; |
4737 | 4737 | 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; |
4783 | 4783 | |
4784 | 4784 | |
4785 | 4785 | 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"); | |
4787 | 4787 | |
4788 | 4788 | minRet = 0; maxRet = 1; |
4789 | 4789 | 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; |
4835 | 4835 | |
4836 | 4836 | |
4837 | 4837 | 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"); | |
4839 | 4839 | |
4840 | 4840 | minRet = 0; maxRet = 1; |
4841 | 4841 | 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; |
4884 | 4884 | |
4885 | 4885 | |
4886 | 4886 | 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"); | |
4888 | 4888 | |
4889 | 4889 | minRet = 1; maxRet = 1; |
4890 | 4890 | 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; |
4932 | 4932 | |
4933 | 4933 | |
4934 | 4934 | 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"); | |
4936 | 4936 | |
4937 | 4937 | minRet = 1; maxRet = 1; |
4938 | 4938 | 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; |
4980 | 4980 | |
4981 | 4981 | |
4982 | 4982 | 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"); | |
4984 | 4984 | |
4985 | 4985 | minRet = 0; maxRet = 1; |
4986 | 4986 | 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; |
5032 | 5032 | |
5033 | 5033 | |
5034 | 5034 | 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"); | |
5036 | 5036 | |
5037 | 5037 | minRet = 0; maxRet = 1; |
5038 | 5038 | 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; |
1459 | 1459 | </property> |
1460 | 1460 | <property name="italic" class="ptolemy.data.expr.Parameter" value="false"> |
1461 | 1461 | </property> |
1462 | <property name="text" class="ptolemy.kernel.util.StringAttribute" value=" To run this workflow on the demo data: - Turn on highlighting. Choose "Tools"-> "Animate at Runtime" from top menu and set it to "1". - Press the "Run" button OR cntrl-R to start the workflow. To run on a different data set: - Click on ROOT_DATA_DIR and set as appropriate. All subdirectories of RAW_DATA_DIR will be searched for data. - If desired, change END_PRODUCTS_DIR. IMPORTANT: END_PRODUCTS_DIR should not be a subdirectory of the RAW_DATA_DIR, otherwise it will be searched for raw data! - Press the "Run" button OR cntrl-R to start the workflow. To monitor the progress of the workflow in more detail: - Open "Window" -> "Runtime Window" in top menu before starting the workflow. The general concepts of Reflex are described in Astron. Astrophys., 559, A96. Please credit this paper in publications on research that used Reflex. The X-shooter workflow tutorial and demo data and the pipeline user manual can be found here: http://www.eso.org/sci/software/pipelines/#reflex_workflows"> | |
1462 | <property name="text" class="ptolemy.kernel.util.StringAttribute" value=" To run this workflow on the demo data: - Turn on highlighting. Choose "Tools"-> "Animate at Runtime" from top menu and set it to "1". - Press the "Run" button OR cntrl-R to start the workflow. To run on a different data set: - Click on ROOT_DATA_DIR and set as appropriate. All subdirectories of RAW_DATA_DIR will be searched for data. - If desired, change END_PRODUCTS_DIR. IMPORTANT: END_PRODUCTS_DIR should not be a subdirectory of the RAW_DATA_DIR, otherwise it will be searched for raw data! - Press the "Run" button OR cntrl-R to start the workflow. To monitor the progress of the workflow in more detail: - Open "Window" -> "Runtime Window" in top menu before starting the workflow. The general concepts of Reflex are described in Astron. Astrophys., 559, A96. Please credit this paper in publications on research that used Reflex. The X-shooter workflow tutorial and demo data and the pipeline user manual can be found here: http://www.eso.org/sci/software/pipelines/index.html#pipelines_table"> | |
1463 | 1463 | <property name="_style" class="ptolemy.actor.gui.style.TextStyle"> |
1464 | 1464 | <property name="height" class="ptolemy.data.expr.Parameter" value="20"> |
1465 | 1465 | </property> |
0 | # Makefile.in generated by automake 1.15 from Makefile.am. | |
0 | # Makefile.in generated by automake 1.16.1 from Makefile.am. | |
1 | 1 | # @configure_input@ |
2 | 2 | |
3 | # Copyright (C) 1994-2014 Free Software Foundation, Inc. | |
3 | # Copyright (C) 1994-2018 Free Software Foundation, Inc. | |
4 | 4 | |
5 | 5 | # This Makefile.in is free software; the Free Software Foundation |
6 | 6 | # gives unlimited permission to copy and/or distribute it, |
139 | 139 | $(RECURSIVE_CLEAN_TARGETS) \ |
140 | 140 | $(am__extra_recursive_targets) |
141 | 141 | AM_RECURSIVE_TARGETS = $(am__recursive_targets:-recursive=) TAGS CTAGS \ |
142 | distdir | |
142 | distdir distdir-am | |
143 | 143 | am__tagged_files = $(HEADERS) $(SOURCES) $(TAGS_FILES) $(LISP) |
144 | 144 | # Read a list of newline-separated strings from the standard input, |
145 | 145 | # and print each of them once, without duplicates. Input order is |
382 | 382 | *config.status*) \ |
383 | 383 | cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \ |
384 | 384 | *) \ |
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);; \ | |
387 | 387 | esac; |
388 | 388 | |
389 | 389 | $(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES) |
500 | 500 | distclean-tags: |
501 | 501 | -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags |
502 | 502 | |
503 | distdir: $(DISTFILES) | |
503 | distdir: $(BUILT_SOURCES) | |
504 | $(MAKE) $(AM_MAKEFLAGS) distdir-am | |
505 | ||
506 | distdir-am: $(DISTFILES) | |
504 | 507 | @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ |
505 | 508 | topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ |
506 | 509 | 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. | |
1 | 1 | # @configure_input@ |
2 | 2 | |
3 | # Copyright (C) 1994-2014 Free Software Foundation, Inc. | |
3 | # Copyright (C) 1994-2018 Free Software Foundation, Inc. | |
4 | 4 | |
5 | 5 | # This Makefile.in is free software; the Free Software Foundation |
6 | 6 | # gives unlimited permission to copy and/or distribute it, |
321 | 321 | *config.status*) \ |
322 | 322 | cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \ |
323 | 323 | *) \ |
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);; \ | |
326 | 326 | esac; |
327 | 327 | |
328 | 328 | $(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES) |
346 | 346 | cscope cscopelist: |
347 | 347 | |
348 | 348 | |
349 | distdir: $(DISTFILES) | |
349 | distdir: $(BUILT_SOURCES) | |
350 | $(MAKE) $(AM_MAKEFLAGS) distdir-am | |
351 | ||
352 | distdir-am: $(DISTFILES) | |
350 | 353 | @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ |
351 | 354 | topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ |
352 | 355 | list='$(DISTFILES)'; \ |
232 | 232 | |
233 | 233 | libxsh_la_LDFLAGS = $(GSL_LDFLAGS) $(CPL_LDFLAGS) $(HDRL_LDFLAGS) -version-info $(LT_CURRENT):$(LT_REVISION):$(LT_AGE) |
234 | 234 | 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. | |
1 | 1 | # @configure_input@ |
2 | 2 | |
3 | # Copyright (C) 1994-2014 Free Software Foundation, Inc. | |
3 | # Copyright (C) 1994-2018 Free Software Foundation, Inc. | |
4 | 4 | |
5 | 5 | # This Makefile.in is free software; the Free Software Foundation |
6 | 6 | # gives unlimited permission to copy and/or distribute it, |
200 | 200 | am__v_at_1 = |
201 | 201 | DEFAULT_INCLUDES = -I.@am__isrc@ -I$(top_builddir) |
202 | 202 | 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 | |
204 | 283 | am__mv = mv -f |
205 | 284 | COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \ |
206 | 285 | $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) |
243 | 322 | $(RECURSIVE_CLEAN_TARGETS) \ |
244 | 323 | $(am__extra_recursive_targets) |
245 | 324 | AM_RECURSIVE_TARGETS = $(am__recursive_targets:-recursive=) TAGS CTAGS \ |
246 | distdir | |
325 | distdir distdir-am | |
247 | 326 | am__tagged_files = $(HEADERS) $(SOURCES) $(TAGS_FILES) $(LISP) |
248 | 327 | # Read a list of newline-separated strings from the standard input, |
249 | 328 | # and print each of them once, without duplicates. Input order is |
661 | 740 | # xsh_struct.c |
662 | 741 | libxsh_la_LDFLAGS = $(GSL_LDFLAGS) $(CPL_LDFLAGS) $(HDRL_LDFLAGS) -version-info $(LT_CURRENT):$(LT_REVISION):$(LT_AGE) |
663 | 742 | libxsh_la_LIBADD = $(LIBCFITSIO) $(LIBIRPLIB) $(LIBCPLDFS) $(LIBCPLUI) $(LIBCPLDRS) $(LIBCPLCORE) $(HDRL_LIBS) $(GSL_LIBS) |
664 | libxsh_la_DEPENDENCIES = $(LIBIRPLIB) | |
743 | libxsh_la_DEPENDENCIES = $(LIBIRPLIB) $(LIBHDRL) | |
665 | 744 | all: all-recursive |
666 | 745 | |
667 | 746 | .SUFFIXES: |
683 | 762 | *config.status*) \ |
684 | 763 | cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \ |
685 | 764 | *) \ |
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);; \ | |
688 | 767 | esac; |
689 | 768 | |
690 | 769 | $(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES) |
740 | 819 | distclean-compile: |
741 | 820 | -rm -f *.tab.c |
742 | 821 | |
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) | |
845 | 930 | |
846 | 931 | .c.o: |
847 | 932 | @am__fastdepCC_TRUE@ $(AM_V_CC)$(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $< |
990 | 1075 | distclean-tags: |
991 | 1076 | -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags |
992 | 1077 | |
993 | distdir: $(DISTFILES) | |
1078 | distdir: $(BUILT_SOURCES) | |
1079 | $(MAKE) $(AM_MAKEFLAGS) distdir-am | |
1080 | ||
1081 | distdir-am: $(DISTFILES) | |
994 | 1082 | @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ |
995 | 1083 | topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ |
996 | 1084 | list='$(DISTFILES)'; \ |
1091 | 1179 | mostlyclean-am |
1092 | 1180 | |
1093 | 1181 | 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 | |
1095 | 1284 | -rm -f Makefile |
1096 | 1285 | distclean-am: clean-am distclean-compile distclean-generic \ |
1097 | 1286 | distclean-tags |
1138 | 1327 | installcheck-am: |
1139 | 1328 | |
1140 | 1329 | 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 | |
1142 | 1432 | -rm -f Makefile |
1143 | 1433 | maintainer-clean-am: distclean-am maintainer-clean-generic |
1144 | 1434 | |
1160 | 1450 | |
1161 | 1451 | .MAKE: $(am__recursive_targets) install-am install-strip |
1162 | 1452 | |
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 \ | |
1165 | 1455 | clean-privatelibLTLIBRARIES cscopelist-am ctags ctags-am \ |
1166 | 1456 | distclean distclean-compile distclean-generic \ |
1167 | 1457 | 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. | |
1 | 1 | # @configure_input@ |
2 | 2 | |
3 | # Copyright (C) 1994-2014 Free Software Foundation, Inc. | |
3 | # Copyright (C) 1994-2018 Free Software Foundation, Inc. | |
4 | 4 | |
5 | 5 | # This Makefile.in is free software; the Free Software Foundation |
6 | 6 | # gives unlimited permission to copy and/or distribute it, |
635 | 635 | am__v_at_1 = |
636 | 636 | DEFAULT_INCLUDES = -I.@am__isrc@ -I$(top_builddir) |
637 | 637 | 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 | |
639 | 725 | am__mv = mv -f |
640 | 726 | COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \ |
641 | 727 | $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) |
1465 | 1551 | *config.status*) \ |
1466 | 1552 | cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \ |
1467 | 1553 | *) \ |
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);; \ | |
1470 | 1556 | esac; |
1471 | 1557 | |
1472 | 1558 | $(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES) |
1849 | 1935 | distclean-compile: |
1850 | 1936 | -rm -f *.tab.c |
1851 | 1937 | |
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) | |
1942 | 2034 | |
1943 | 2035 | .c.o: |
1944 | 2036 | @am__fastdepCC_TRUE@ $(AM_V_CC)$(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $< |
2160 | 2252 | fi; \ |
2161 | 2253 | $$success || exit 1 |
2162 | 2254 | |
2163 | check-TESTS: | |
2255 | check-TESTS: $(check_PROGRAMS) | |
2164 | 2256 | @list='$(RECHECK_LOGS)'; test -z "$$list" || rm -f $$list |
2165 | 2257 | @list='$(RECHECK_LOGS:.log=.trs)'; test -z "$$list" || rm -f $$list |
2166 | 2258 | @test -z "$(TEST_SUITE_LOG)" || rm -f $(TEST_SUITE_LOG) |
2756 | 2848 | @am__EXEEXT_TRUE@ $(am__common_driver_flags) $(AM_TEST_LOG_DRIVER_FLAGS) $(TEST_LOG_DRIVER_FLAGS) -- $(TEST_LOG_COMPILE) \ |
2757 | 2849 | @am__EXEEXT_TRUE@ "$$tst" $(AM_TESTS_FD_REDIRECT) |
2758 | 2850 | |
2759 | distdir: $(DISTFILES) | |
2851 | distdir: $(BUILT_SOURCES) | |
2852 | $(MAKE) $(AM_MAKEFLAGS) distdir-am | |
2853 | ||
2854 | distdir-am: $(DISTFILES) | |
2760 | 2855 | @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ |
2761 | 2856 | topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ |
2762 | 2857 | list='$(DISTFILES)'; \ |
2836 | 2931 | mostlyclean-am |
2837 | 2932 | |
2838 | 2933 | 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 | |
2840 | 3024 | -rm -f Makefile |
2841 | 3025 | distclean-am: clean-am distclean-compile distclean-generic \ |
2842 | 3026 | distclean-tags |
2882 | 3066 | installcheck-am: |
2883 | 3067 | |
2884 | 3068 | 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 | |
2886 | 3159 | -rm -f Makefile |
2887 | 3160 | maintainer-clean-am: distclean-am maintainer-clean-generic |
2888 | 3161 | |
2903 | 3176 | |
2904 | 3177 | .MAKE: check-am install-am install-strip |
2905 | 3178 | |
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 | |
2920 | 3194 | |
2921 | 3195 | .PRECIOUS: Makefile |
2922 | 3196 |
306 | 306 | check(fpn_lly=xsh_parameters_get_int(parameters,"xsh_mdark","fpn_lly")); |
307 | 307 | check(fpn_urx=xsh_parameters_get_int(parameters,"xsh_mdark","fpn_urx")); |
308 | 308 | 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")); | |
311 | 311 | //xsh_msg("fpn=%d %d %d %d",fpn_llx,fpn_lly,fpn_urx,fpn_ury); |
312 | 312 | sx=cpl_image_get_size_x(preFrame->data); |
313 | 313 | sy=cpl_image_get_size_y(preFrame->data); |
337 | 337 | zone_fpn[2]=fpn_lly; |
338 | 338 | zone_fpn[3]=fpn_ury; |
339 | 339 | 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); | |
344 | 343 | check_msg(cpl_flux_get_noise_window(preFrame->data, zone_fpn, fpn_hsize, |
345 | 344 | fpn_nsamp, &qc_fpn_val, &qc_fpn_err), |
346 | 345 | "Error computing noise in a window"); |
114 | 114 | int , |
115 | 115 | int ); |
116 | 116 | |
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 | ||
152 | 117 | /*---------------------------------------------------------------------------*/ |
153 | 118 | |
154 | 119 | /* |
248 | 213 | const cpl_parameterlist * parlist) |
249 | 214 | { |
250 | 215 | char *par_name; |
251 | cpl_parameter *par; | |
216 | const cpl_parameter *par; | |
252 | 217 | int value; |
253 | 218 | |
254 | 219 | par_name = cpl_sprintf("%s.%s.%s", pipeline_name, recipe_name, parn); |
255 | 220 | assert(par_name != NULL); |
256 | par = cpl_parameterlist_find((cpl_parameterlist *) parlist, par_name); | |
221 | par = cpl_parameterlist_find_const(parlist, par_name); | |
257 | 222 | value = cpl_parameter_get_int(par); |
258 | 223 | cpl_free(par_name); |
259 | 224 | |
278 | 243 | const cpl_parameterlist * parlist) |
279 | 244 | { |
280 | 245 | char *par_name; |
281 | cpl_parameter *par; | |
282 | double value; | |
246 | const cpl_parameter *par; | |
247 | double value; | |
283 | 248 | |
284 | 249 | par_name = cpl_sprintf("%s.%s.%s", pipeline_name, recipe_name, parn); |
285 | 250 | assert(par_name != NULL); |
286 | par = cpl_parameterlist_find((cpl_parameterlist *) parlist, par_name); | |
251 | par = cpl_parameterlist_find_const(parlist, par_name); | |
287 | 252 | value = cpl_parameter_get_double(par); |
288 | 253 | cpl_free(par_name); |
289 | 254 | |
413 | 378 | return cpl_error_get_code(); |
414 | 379 | |
415 | 380 | } |
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 | } | |
911 | 392 | |
912 | 393 | /**@}*/ |
43 | 43 | #include "xsh_detmon_lg.h" |
44 | 44 | #include "xsh_detmon_lg_impl.h" |
45 | 45 | #include "xsh_detmon_dfs.h" |
46 | ||
46 | #include "xsh_dfs.h" | |
47 | 47 | #include "xsh_ksigma_clip.h" |
48 | 48 | #include "irplib_utils.h" |
49 | 49 | #include "irplib_hist.h" |
53 | 53 | #include <math.h> |
54 | 54 | #include <string.h> |
55 | 55 | #include <assert.h> |
56 | ||
56 | 57 | /**@{*/ |
57 | 58 | /* |
58 | 59 | * @defgroup irplib_xsh_detmon Detector monitoring functions |
1039 | 1040 | opt_nir, whichext) == CPL_ERROR_CONTINUE) { |
1040 | 1041 | cpl_msg_info(cpl_func, "Empty extension %d", whichext); |
1041 | 1042 | } |
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 | } | |
1044 | 1049 | /* Save the products for each setting */ |
1045 | 1050 | cpl_msg_info(cpl_func, "Saving the products"); |
1046 | 1051 | if (nsets == 1) { |
1311 | 1316 | |
1312 | 1317 | im_re = cpl_image_new(p, p, CPL_TYPE_DOUBLE); |
1313 | 1318 | error = cpl_image_copy(im_re, input, 1, 1); |
1319 | cpl_image_delete(input); | |
1320 | ||
1314 | 1321 | cpl_ensure(!error, error, NULL); |
1315 | 1322 | |
1316 | 1323 | im_im = cpl_image_new(p, p, CPL_TYPE_DOUBLE); |
1398 | 1405 | |
1399 | 1406 | autocorr_norm = cpl_image_cast(autocorr_norm_double, CPL_TYPE_FLOAT); |
1400 | 1407 | cpl_image_delete(autocorr_norm_double); |
1401 | ||
1402 | cpl_image_delete(input); | |
1403 | 1408 | |
1404 | 1409 | return autocorr_norm; |
1405 | 1410 | } |
2336 | 2341 | const cpl_frame * second; |
2337 | 2342 | const char * first_tag; |
2338 | 2343 | 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); | |
2341 | 2346 | |
2342 | 2347 | skip_if((first_tag = cpl_frame_get_tag(first)) == NULL); |
2343 | 2348 | skip_if((second_tag = cpl_frame_get_tag(second)) == NULL); |
3024 | 3029 | skip_if(xsh_detmon_lg_rescale(offs)); |
3025 | 3030 | } |
3026 | 3031 | /* DIT or EXPTIME value extraction */ |
3032 | ||
3027 | 3033 | 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)); | |
3029 | 3035 | skip_if ((plist = cpl_propertylist_load(filename, 0)) == NULL); |
3030 | 3036 | /* Add columns to the tables DETi WINi UITi*/ |
3031 | 3037 | if (plist) |
3053 | 3059 | * of the GAIN table (output) and of the FIT table (by-product to be |
3054 | 3060 | * used later for the polynomial computation of the GAIN) |
3055 | 3061 | */ |
3056 | ||
3057 | 3062 | |
3058 | 3063 | cpl_msg_info(cpl_func, "Computing GAIN for EXPTIME value nb %d", |
3059 | 3064 | dit_nb + 1); |
3624 | 3629 | const cpl_image *image; |
3625 | 3630 | double std = 0; |
3626 | 3631 | double avg_on1, avg_on2; |
3627 | //double sigma; | |
3628 | 3632 | |
3629 | 3633 | |
3630 | 3634 | if(*rows_linear_affected == 0) |
5123 | 5127 | return cpl_error_get_code(); |
5124 | 5128 | } |
5125 | 5129 | */ |
5130 | #ifdef DETMON_USE_DETECTOR_SHOTNOISE_MODEL | |
5126 | 5131 | /*----------------------------------------------------------------------------*/ |
5127 | 5132 | /** |
5128 | 5133 | @brief compute photon count error in [ADU] |
5166 | 5171 | |
5167 | 5172 | return cpl_error_get_code(); |
5168 | 5173 | } |
5174 | #endif | |
5169 | 5175 | |
5170 | 5176 | int |
5171 | 5177 | xsh_detmon_compute_badpixmap(cpl_boolean opt_nir, const int nsets, |
5232 | 5238 | /* on simulations gain ,may be < 0: make sure it is > 0 */ |
5233 | 5239 | //cpl_msg_info(cpl_func,"ok1 gain=%g",gain); |
5234 | 5240 | gain = (gain < 0) ? 1 : gain; |
5235 | //double gain_eff = 2 * gain; | |
5236 | //gain_eff=1; | |
5237 | //double ron = 1; | |
5238 | 5241 | double avg = 0; |
5239 | 5242 | double rms = 0; |
5240 | //int k = 0; | |
5241 | //char dname[80]; | |
5242 | //char ename[80]; | |
5243 | //char fname[80]; | |
5244 | 5243 | skip_if(rms); |
5245 | 5244 | //cpl_msg_info(cpl_func,"sz=%d",sz); |
5246 | 5245 | //cpl_msg_info(cpl_func,"llx=%d lly=%d urx=%d ury=%d",llx,lly,urx,ury); |
7411 | 7410 | } while(fabs(exptime[i-1] - exptime[i]) < tolerance); |
7412 | 7411 | } while(i < sz - 1); |
7413 | 7412 | /* 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++; | |
7415 | 7414 | if(nsets <= order) |
7416 | 7415 | { |
7417 | 7416 | cpl_error_set_message(cpl_func,CPL_ERROR_INCOMPATIBLE_INPUT, |
165 | 165 | #define IRPLIB_LIN_WITH_RESCALE ((irplib_lin_flag) 1 << 13) |
166 | 166 | #define IRPLIB_LIN_OPT ((irplib_lin_flag) 1 << 14) |
167 | 167 | #define IRPLIB_LIN_NIR ((irplib_lin_flag) 1 << 15) |
168 | ||
169 | /*---------------------------------------------------------------------------- | |
170 | Prototypes | |
171 | ----------------------------------------------------------------------------*/ | |
168 | 172 | |
169 | 173 | cpl_error_code |
170 | 174 | xsh_detmon_lg(cpl_frameset * frameset, |
137 | 137 | cpl_size nx, cpl_size ny) |
138 | 138 | { |
139 | 139 | 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); | |
141 | 141 | skip_if(pnum < 0); |
142 | 142 | if (nx >= 0 && ny >= 0) { |
143 | 143 | error_if(urx - llx + 1 > nx || ury - lly + 1 > ny , |
146 | 146 | (int)llx, (int)urx, (int)lly, (int)ury, (int)nx, (int)ny); |
147 | 147 | } |
148 | 148 | |
149 | for (size_t i = 0; i < n; i++) { | |
149 | for (cpl_size i = 0; i < n; i++) { | |
150 | 150 | const cpl_frame * frm = cpl_frameset_get_position_const(fset, i); |
151 | 151 | const char * fn = cpl_frame_get_filename(frm); |
152 | 152 | 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++) { | |
155 | 155 | cpl_image * image = cpl_image_load_window(fn, type, pnum, e, |
156 | 156 | llx, lly, urx, ury); |
157 | 157 | skip_if(image == NULL); |
640 | 640 | #define XSH_MASTER_BP_MAP_VIS "MASTER_BP_MAP_VIS" |
641 | 641 | #define XSH_MASTER_BP_MAP_NIR "MASTER_BP_MAP_NIR" |
642 | 642 | |
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" | |
644 | 653 | |
645 | 654 | #define XSH_MASTER_BP_MAP_NLIN "MASTER_BP_MAP_NLIN" |
646 | 655 | #define XSH_MASTER_BP_MAP_NLIN_UVB "MASTER_BP_MAP_NLIN_UVB" |
1371 | 1380 | XSH_CMP_TAG_ARM( tag, XSH_MASTER_BP_MAP_DARK) || \ |
1372 | 1381 | XSH_CMP_TAG_ARM( tag, XSH_MASTER_BP_MAP_FLAT) || \ |
1373 | 1382 | 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) || \ | |
1374 | 1385 | XSH_CMP_TAG_ARM( tag, XSH_BP_MAP_CP) || \ |
1375 | 1386 | XSH_CMP_TAG_ARM( tag, XSH_BP_MAP_HP) || \ |
1376 | 1387 | XSH_CMP_TAG_ARM( tag, XSH_BP_MAP_SP) || \ |
789 | 789 | |
790 | 790 | } |
791 | 791 | |
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 | } | |
792 | 816 | |
793 | 817 | |
794 | 818 | /*---------------------------------------------------------------------------*/ |
451 | 451 | int fpn_nsamples;/** FPN number of samples */ |
452 | 452 | }xsh_fpn_param; |
453 | 453 | |
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 | ||
454 | 460 | |
455 | 461 | typedef struct { |
456 | 462 | const char* ron_method;/** RON method */ |
583 | 589 | void |
584 | 590 | xsh_parameters_ron_create(const char* recipe_id,cpl_parameterlist* list, |
585 | 591 | 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 | |
588 | 596 | xsh_parameters_fpn_create(const char* recipe_id,cpl_parameterlist* list, |
589 | 597 | xsh_fpn_param p); |
590 | 598 |