591 built_last_make_run = GETNAME(wcs_buffer, FIND_LENGTH);
592 MBSTOWCS(wcs_buffer, NOCATGETS("@"));
593 c_at = GETNAME(wcs_buffer, FIND_LENGTH);
594 MBSTOWCS(wcs_buffer, NOCATGETS(" *conditionals* "));
595 conditionals = GETNAME(wcs_buffer, FIND_LENGTH);
596 /*
597 * A version of make was released with NSE 1.0 that used
598 * VERSION-1.1 but this version is identical to VERSION-1.0.
599 * The version mismatch code makes a special case for this
600 * situation. If the version number is changed from 1.0
601 * it should go to 1.2.
602 */
603 MBSTOWCS(wcs_buffer, NOCATGETS("VERSION-1.0"));
604 current_make_version = GETNAME(wcs_buffer, FIND_LENGTH);
605 MBSTOWCS(wcs_buffer, NOCATGETS(".SVR4"));
606 svr4_name = GETNAME(wcs_buffer, FIND_LENGTH);
607 MBSTOWCS(wcs_buffer, NOCATGETS(".POSIX"));
608 posix_name = GETNAME(wcs_buffer, FIND_LENGTH);
609 MBSTOWCS(wcs_buffer, NOCATGETS(".DEFAULT"));
610 default_rule_name = GETNAME(wcs_buffer, FIND_LENGTH);
611 #ifdef NSE
612 MBSTOWCS(wcs_buffer, NOCATGETS(".DERIVED_SRC"));
613 derived_src= GETNAME(wcs_buffer, FIND_LENGTH);
614 #endif
615 MBSTOWCS(wcs_buffer, NOCATGETS("$"));
616 dollar = GETNAME(wcs_buffer, FIND_LENGTH);
617 MBSTOWCS(wcs_buffer, NOCATGETS(".DONE"));
618 done = GETNAME(wcs_buffer, FIND_LENGTH);
619 MBSTOWCS(wcs_buffer, NOCATGETS("."));
620 dot = GETNAME(wcs_buffer, FIND_LENGTH);
621 MBSTOWCS(wcs_buffer, NOCATGETS(".KEEP_STATE"));
622 dot_keep_state = GETNAME(wcs_buffer, FIND_LENGTH);
623 MBSTOWCS(wcs_buffer, NOCATGETS(".KEEP_STATE_FILE"));
624 dot_keep_state_file = GETNAME(wcs_buffer, FIND_LENGTH);
625 MBSTOWCS(wcs_buffer, NOCATGETS(""));
626 empty_name = GETNAME(wcs_buffer, FIND_LENGTH);
627 MBSTOWCS(wcs_buffer, NOCATGETS(" FORCE"));
628 force = GETNAME(wcs_buffer, FIND_LENGTH);
629 MBSTOWCS(wcs_buffer, NOCATGETS("HOST_ARCH"));
630 host_arch = GETNAME(wcs_buffer, FIND_LENGTH);
631 MBSTOWCS(wcs_buffer, NOCATGETS("HOST_MACH"));
632 host_mach = GETNAME(wcs_buffer, FIND_LENGTH);
633 MBSTOWCS(wcs_buffer, NOCATGETS(".IGNORE"));
634 ignore_name = GETNAME(wcs_buffer, FIND_LENGTH);
677 MBSTOWCS(wcs_buffer, SUNPRO_DEPENDENCIES);
678 sunpro_dependencies = GETNAME(wcs_buffer, FIND_LENGTH);
679 MBSTOWCS(wcs_buffer, NOCATGETS("TARGET_ARCH"));
680 target_arch = GETNAME(wcs_buffer, FIND_LENGTH);
681 MBSTOWCS(wcs_buffer, NOCATGETS("TARGET_MACH"));
682 target_mach = GETNAME(wcs_buffer, FIND_LENGTH);
683 MBSTOWCS(wcs_buffer, NOCATGETS("VIRTUAL_ROOT"));
684 virtual_root = GETNAME(wcs_buffer, FIND_LENGTH);
685 MBSTOWCS(wcs_buffer, NOCATGETS("VPATH"));
686 vpath_name = GETNAME(wcs_buffer, FIND_LENGTH);
687 MBSTOWCS(wcs_buffer, NOCATGETS(".WAIT"));
688 wait_name = GETNAME(wcs_buffer, FIND_LENGTH);
689
690 wait_name->state = build_ok;
691
692 /* Mark special targets so that the reader treats them properly */
693 svr4_name->special_reader = svr4_special;
694 posix_name->special_reader = posix_special;
695 built_last_make_run->special_reader = built_last_make_run_special;
696 default_rule_name->special_reader = default_special;
697 #ifdef NSE
698 derived_src->special_reader= derived_src_special;
699 #endif
700 dot_keep_state->special_reader = keep_state_special;
701 dot_keep_state_file->special_reader = keep_state_file_special;
702 ignore_name->special_reader = ignore_special;
703 make_version->special_reader = make_version_special;
704 no_parallel_name->special_reader = no_parallel_special;
705 parallel_name->special_reader = parallel_special;
706 localhost_name->special_reader = localhost_special;
707 precious->special_reader = precious_special;
708 sccs_get_name->special_reader = sccs_get_special;
709 sccs_get_posix_name->special_reader = sccs_get_posix_special;
710 get_name->special_reader = get_special;
711 get_posix_name->special_reader = get_posix_special;
712 silent_name->special_reader = silent_special;
713 suffixes_name->special_reader = suffixes_special;
714
715 /* The value of $$ is $ */
716 (void) SETVAR(dollar, dollar, false);
717 dollar->dollar = false;
718
719 /* Set the value of $(SHELL) */
|
591 built_last_make_run = GETNAME(wcs_buffer, FIND_LENGTH);
592 MBSTOWCS(wcs_buffer, NOCATGETS("@"));
593 c_at = GETNAME(wcs_buffer, FIND_LENGTH);
594 MBSTOWCS(wcs_buffer, NOCATGETS(" *conditionals* "));
595 conditionals = GETNAME(wcs_buffer, FIND_LENGTH);
596 /*
597 * A version of make was released with NSE 1.0 that used
598 * VERSION-1.1 but this version is identical to VERSION-1.0.
599 * The version mismatch code makes a special case for this
600 * situation. If the version number is changed from 1.0
601 * it should go to 1.2.
602 */
603 MBSTOWCS(wcs_buffer, NOCATGETS("VERSION-1.0"));
604 current_make_version = GETNAME(wcs_buffer, FIND_LENGTH);
605 MBSTOWCS(wcs_buffer, NOCATGETS(".SVR4"));
606 svr4_name = GETNAME(wcs_buffer, FIND_LENGTH);
607 MBSTOWCS(wcs_buffer, NOCATGETS(".POSIX"));
608 posix_name = GETNAME(wcs_buffer, FIND_LENGTH);
609 MBSTOWCS(wcs_buffer, NOCATGETS(".DEFAULT"));
610 default_rule_name = GETNAME(wcs_buffer, FIND_LENGTH);
611 MBSTOWCS(wcs_buffer, NOCATGETS("$"));
612 dollar = GETNAME(wcs_buffer, FIND_LENGTH);
613 MBSTOWCS(wcs_buffer, NOCATGETS(".DONE"));
614 done = GETNAME(wcs_buffer, FIND_LENGTH);
615 MBSTOWCS(wcs_buffer, NOCATGETS("."));
616 dot = GETNAME(wcs_buffer, FIND_LENGTH);
617 MBSTOWCS(wcs_buffer, NOCATGETS(".KEEP_STATE"));
618 dot_keep_state = GETNAME(wcs_buffer, FIND_LENGTH);
619 MBSTOWCS(wcs_buffer, NOCATGETS(".KEEP_STATE_FILE"));
620 dot_keep_state_file = GETNAME(wcs_buffer, FIND_LENGTH);
621 MBSTOWCS(wcs_buffer, NOCATGETS(""));
622 empty_name = GETNAME(wcs_buffer, FIND_LENGTH);
623 MBSTOWCS(wcs_buffer, NOCATGETS(" FORCE"));
624 force = GETNAME(wcs_buffer, FIND_LENGTH);
625 MBSTOWCS(wcs_buffer, NOCATGETS("HOST_ARCH"));
626 host_arch = GETNAME(wcs_buffer, FIND_LENGTH);
627 MBSTOWCS(wcs_buffer, NOCATGETS("HOST_MACH"));
628 host_mach = GETNAME(wcs_buffer, FIND_LENGTH);
629 MBSTOWCS(wcs_buffer, NOCATGETS(".IGNORE"));
630 ignore_name = GETNAME(wcs_buffer, FIND_LENGTH);
673 MBSTOWCS(wcs_buffer, SUNPRO_DEPENDENCIES);
674 sunpro_dependencies = GETNAME(wcs_buffer, FIND_LENGTH);
675 MBSTOWCS(wcs_buffer, NOCATGETS("TARGET_ARCH"));
676 target_arch = GETNAME(wcs_buffer, FIND_LENGTH);
677 MBSTOWCS(wcs_buffer, NOCATGETS("TARGET_MACH"));
678 target_mach = GETNAME(wcs_buffer, FIND_LENGTH);
679 MBSTOWCS(wcs_buffer, NOCATGETS("VIRTUAL_ROOT"));
680 virtual_root = GETNAME(wcs_buffer, FIND_LENGTH);
681 MBSTOWCS(wcs_buffer, NOCATGETS("VPATH"));
682 vpath_name = GETNAME(wcs_buffer, FIND_LENGTH);
683 MBSTOWCS(wcs_buffer, NOCATGETS(".WAIT"));
684 wait_name = GETNAME(wcs_buffer, FIND_LENGTH);
685
686 wait_name->state = build_ok;
687
688 /* Mark special targets so that the reader treats them properly */
689 svr4_name->special_reader = svr4_special;
690 posix_name->special_reader = posix_special;
691 built_last_make_run->special_reader = built_last_make_run_special;
692 default_rule_name->special_reader = default_special;
693 dot_keep_state->special_reader = keep_state_special;
694 dot_keep_state_file->special_reader = keep_state_file_special;
695 ignore_name->special_reader = ignore_special;
696 make_version->special_reader = make_version_special;
697 no_parallel_name->special_reader = no_parallel_special;
698 parallel_name->special_reader = parallel_special;
699 localhost_name->special_reader = localhost_special;
700 precious->special_reader = precious_special;
701 sccs_get_name->special_reader = sccs_get_special;
702 sccs_get_posix_name->special_reader = sccs_get_posix_special;
703 get_name->special_reader = get_special;
704 get_posix_name->special_reader = get_posix_special;
705 silent_name->special_reader = silent_special;
706 suffixes_name->special_reader = suffixes_special;
707
708 /* The value of $$ is $ */
709 (void) SETVAR(dollar, dollar, false);
710 dollar->dollar = false;
711
712 /* Set the value of $(SHELL) */
|