VirtualBox

Changeset 1967 in kBuild for trunk


Ignore:
Timestamp:
Oct 26, 2008 8:55:26 PM (16 years ago)
Author:
bird
Message:

scripts/variables/MAKELEVEL: MAKELEVEL is called KMK_LEVEL in kmk so it won't interfer with (kmk_g)make.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/kmk/tests/scripts/variables/MAKELEVEL

    r969 r1967  
    99# The Contents of the MAKEFILE ...
    1010
    11 print MAKEFILE <<EOF;
     11if (!$is_kmk) {
     12  print MAKEFILE <<EOF;
    1213all:
    1314\t\@echo MAKELEVEL is \$(MAKELEVEL)
    1415\techo \$\$MAKELEVEL
    1516EOF
     17} else {
     18  print MAKEFILE <<EOF;
     19all:
     20\t\@echo KMK_LEVEL is \$(KMK_LEVEL)
     21\techo \$\$KMK_LEVEL
     22EOF
     23}
    1624
    1725# END of Contents of MAKEFILE
     
    2533# SET ANSWER
    2634
    27 $answer = "MAKELEVEL is 0\necho \$MAKELEVEL\n1\n";
     35if (!$is_kmk) {
     36  $answer = "MAKELEVEL is 0\necho \$MAKELEVEL\n1\n";
     37} else {
     38  $answer = "KMK_LEVEL is 0\necho \$KMK_LEVEL\n1\n";
     39}
    2840
    2941# COMPARE RESULTS
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette