VirtualBox

Ignore:
Timestamp:
Jun 17, 2012 8:45:31 PM (12 years ago)
Author:
bird
Message:

kmk: Merged in changes from GNU make 3.82. Previous GNU make base version was gnumake-2008-10-28-CVS.

Location:
trunk/src/kmk
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/kmk

    • Property svn:ignore
      •  

        old new  
        1313stamp-*
        1414makebook*
         15
        1516.*gdbinit
         17.gdb_history
         18
        1619*.dep
        1720*.dvi
         
        3134*.pg
        3235*.pgs
         36
        3337README
        3438README.DOS
        3539README.W32
         40README.OS2
        3641aclocal.m4
        3742autom4te.cache
         
        5257config.h.W32
        5358config.h-vms
         59
        5460loadavg
        5561loadavg.c
        5662make
         63
        5764.deps
        5865.dep_segment
         66ID
         67TAGS
         68
        5969_*
        6070sun4
         
        7282sol2
        7383i486-linux
         84
        7485customs
         86
        7587install-sh
        7688mkinstalldirs
         89
         90.directive.asc
  • trunk/src/kmk/tests

    • Property svn:ignore
      --- 
      +++ 
      
  • trunk/src/kmk/tests/scripts/variables/MAKE

    r969 r2591  
    11#                                                                    -*-perl-*-
    22
    3 $description = "The following test creates a makefile to test MAKE \n"
    4               ."(very generic)";
     3$description = "Test proper behavior of the MAKE variable";
    54
    65$details = "DETAILS";
    76
    8 open(MAKEFILE,"> $makefile");
     7run_make_test(q!
     8TMP  := $(MAKE)
     9MAKE := $(subst X=$(X),,$(MAKE))
     10all:
     11        @echo $(TMP)
     12        $(MAKE) -f #MAKEFILE# foo
    913
    10 # The Contents of the MAKEFILE ...
     14foo:
     15        @echo $(MAKE)
     16!,
     17              '',
     18              "#MAKEPATH#\n#MAKEPATH# -f #MAKEFILE# foo\n"
     19              . "#MAKE#[1]: Entering directory `#PWD#'\n"
     20              . "#MAKEPATH#\n#MAKE#[1]: Leaving directory `#PWD#'\n");
    1121
    12 print MAKEFILE "TMP  := \$(MAKE)\n";
    13 print MAKEFILE "MAKE := \$(subst X=\$(X),,\$(MAKE))\n\n";
    14 print MAKEFILE "all:\n";
    15 print MAKEFILE "\t\@echo \$(TMP)\n";
    16 print MAKEFILE "\t\$(MAKE) -f $makefile foo\n\n";
    17 print MAKEFILE "foo:\n";
    18 print MAKEFILE "\t\@echo \$(MAKE)\n";
    19 
    20 # END of Contents of MAKEFILE
    21 
    22 close(MAKEFILE);
    23 
    24 # Create the answer to what should be produced by this Makefile
    25 $answer = "$mkpath\n$mkpath -f $makefile foo\n"
    26         . "${make_name}[1]: Entering directory `$pwd'\n"
    27         . "$mkpath\n${make_name}[1]: Leaving directory `$pwd'\n";
    28 
    29 &run_make_with_options($makefile,"",&get_logfile,0);
    30 
    31 &rmfiles("foo");
    32 # COMPARE RESULTS
    33 &compare_output($answer,&get_logfile(1));
     22rmfiles("foo");
    3423
    35241;
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