Home
last modified time | relevance | path

Searched refs:makefile (Results 1 – 25 of 654) sorted by relevance

12345678910>>...27

/netbsd-src/external/gpl2/gmake/dist/tests/scripts/features/
H A Ddefault_names4 default makefiles in the correct order (GNUmakefile,makefile,Makefile)";
6 # Create a makefile called "GNUmakefile"
7 $makefile = "GNUmakefile";
9 open(MAKEFILE,"> $makefile");
13 # DOS/WIN32 platforms preserve case, but Makefile is the same file as makefile.
14 # Just test what we can here (avoid Makefile versus makefile test).
17 # Create another makefile called "makefile"
18 open(MAKEFILE,"> makefile");
19 print MAKEFILE "SECOND: ; \@echo It chose makefile\n";
23 # Create another makefile called "Makefile"
[all …]
H A Dinclude13 open(MAKEFILE,"> $makefile");
20 all: ; \@echo There should be no errors for this makefile.
37 print MAKEFILE "ANOTHER: ; \@echo This is another included makefile\n";
42 &run_make_with_options($makefile, "all", &get_logfile);
43 $answer = "There should be no errors for this makefile.\n";
46 &run_make_with_options($makefile, "ANOTHER", &get_logfile);
47 $answer = "This is another included makefile\n";
50 $makefile = undef;
54 # the -include suppressed it during the makefile read phase, we should
55 # see one during the makefile run phase).
H A Ddouble_colon17 open(MAKEFILE,"> $makefile");
48 &run_make_with_options($makefile, "all", &get_logfile, 0);
55 &run_make_with_options($makefile, "-j10 all", &get_logfile, 0);
62 &run_make_with_options($makefile, "bar", &get_logfile, 0);
69 &run_make_with_options($makefile, "-j10 bar", &get_logfile, 0);
79 &run_make_with_options($makefile, "foo", &get_logfile, 0);
86 &run_make_with_options($makefile, "-j10 foo", &get_logfile, 0);
97 &run_make_with_options($makefile, "foo", &get_logfile, 0);
104 &run_make_with_options($makefile, "-j10 foo", &get_logfile, 0);
111 &run_make_with_options($makefile, "d", &get_logfile, 0);
[all …]
H A Dechoing1 $description = "The following test creates a makefile to test command \n"
29 open(MAKEFILE,"> $makefile");
34 print MAKEFILE "\techo This makefile did not clean the dir... good\n";
47 &run_make_with_options($makefile,"",&get_logfile,0);
48 $answer = "echo This makefile did not clean the dir... good\n"
49 ."This makefile did not clean the dir... good\n";
56 &run_make_with_options($makefile,"clean",&get_logfile,0);
65 &run_make_with_options($makefile,"-n clean",&get_logfile,0);
73 &run_make_with_options($makefile,"-s",&get_logfile,0);
74 $answer = "This makefile did not clean the dir... good\n";
H A Dcomments1 $description = "The following test creates a makefile to test comments\n"
5 $details = "To test comments within a makefile, a semi-colon was placed \n"
13 open(MAKEFILE,"> $makefile");
21 @echo There should be no errors for this makefile.
28 &run_make_with_options($makefile,"",&get_logfile);
31 $answer = "There should be no errors for this makefile.\n";
H A Dpatspecific_vars5 Create a makefile containing various flavors of pattern-specific variable
9 open(MAKEFILE,"> $makefile");
39 &run_make_with_options($makefile, "", &get_logfile);
46 &run_make_with_options($makefile, "BAZ=five", &get_logfile);
53 &run_make_with_options($makefile, "four.x", &get_logfile);
60 &run_make_with_options($makefile, "ab", &get_logfile);
118 run_make_test(undef, # reuse previous makefile
H A Dmult_targets1 $description = "The following test creates a makefile to test that a \n "
6 $details = "A makefile is created with one rule and two targets. Make \n"
13 open(MAKEFILE,"> $makefile");
26 &run_make_with_options($makefile,"bigoutput",&get_logfile);
34 &run_make_with_options($makefile,"littleoutput",&get_logfile);
H A Dtargetvars5 Create a makefile containing various flavors of target-specific variable
9 open(MAKEFILE,"> $makefile");
63 &run_make_with_options($makefile, "one two three", &get_logfile);
69 &run_make_with_options($makefile, "one two FOO=1 BAR=2", &get_logfile);
75 &run_make_with_options($makefile, "four", &get_logfile);
81 &run_make_with_options($makefile, "seven", &get_logfile);
87 &run_make_with_options($makefile, "nine", &get_logfile);
93 &run_make_with_options($makefile, "nine-a", &get_logfile);
99 &run_make_with_options($makefile, "ten", &get_logfile);
105 &run_make_with_options($makefile, "foo.q bar.q", &get_logfile);
[all …]
H A Dreinvoke6 If the makefile or one it includes can be rebuilt then it is, and make
7 is reinvoked. We create a rule to rebuild the makefile from a temp
8 file, then touch the temp file to make it newer than the makefile.";
10 $omkfile = $makefile;
27 # Make sure updating the makefile itself also works
H A Dmult_rules2 The following test creates a makefile to test the presence
8 The makefile created in this test contains two hardcoded rules
16 open(MAKEFILE,"> $makefile");
44 &run_make_with_options($makefile,
60 &run_make_with_options($makefile,
/netbsd-src/external/gpl2/gmake/dist/tests/scripts/options/
H A Ddash-f14 open(MAKEFILE,"> $makefile");
19 print MAKEFILE "\t\@echo This is the output from the original makefile\n";
25 # Create a second makefile
28 print MAKEFILE "\t\@echo This is the output from makefile 2\n";
31 # Create a third makefile
34 print MAKEFILE "\t\@echo This is the output from makefile 3\n";
39 $answer = "This is the output from the original makefile\n";
42 &run_make_with_options($makefile,"-f $makefile2 -f $makefile3",&get_logfile,0);
47 # Run Make again with the rule from the second makefile: TWO
48 $answer = "This is the output from makefile 2\n";
[all …]
H A Ddash-I3 $description ="The following test creates a makefile to test the -I option.";
14 open(MAKEFILE,"> $makefile");
22 \t\@echo There should be no errors for this makefile.
34 \t\@echo This is another included makefile
36 \t\$(MAKE) ANOTHER -f $makefile
41 &run_make_with_options($makefile,"-I $workdir all",&get_logfile);
44 $answer = "There should be no errors for this makefile.\n";
48 $answer = "This is another included makefile\n";
49 &run_make_with_options($makefile,"-I $workdir ANOTHER",&get_logfile);
53 $answer = "$mkpath ANOTHER -f $makefile
[all …]
/netbsd-src/external/gpl2/gmake/dist/tests/scripts/functions/
H A Derror4 The following test creates a makefile to test the error function.";
8 open(MAKEFILE,"> $makefile");
38 &run_make_with_options($makefile, "ERROR1=yes", &get_logfile, 512);
39 $answer = "$makefile:4: *** error is yes. Stop.\n";
44 &run_make_with_options($makefile, "ERROR2=no", &get_logfile, 512);
45 $answer = "$makefile:8: *** error is no. Stop.\n";
50 &run_make_with_options($makefile, "ERROR3=maybe", &get_logfile, 512);
51 $answer = "Some stuff\n$makefile:12: *** error is maybe. Stop.\n";
56 &run_make_with_options($makefile, "ERROR4=definitely", &get_logfile, 512);
57 $answer = "Some stuff\n$makefile:16: *** error is definitely. Stop.\n";
[all …]
H A Dwarning4 The following test creates a makefile to test the warning function.";
8 open(MAKEFILE,"> $makefile");
36 &run_make_with_options($makefile, "WARNING1=yes", &get_logfile, 0);
37 $answer = "$makefile:2: warning is yes\nSome stuff\n";
42 &run_make_with_options($makefile, "WARNING2=no", &get_logfile, 0);
43 $answer = "$makefile:6: warning is no\nSome stuff\n";
48 &run_make_with_options($makefile, "WARNING3=maybe", &get_logfile, 0);
49 $answer = "Some stuff\n$makefile:10: warning is maybe\nhi\n";
54 &run_make_with_options($makefile, "WARNING4=definitely", &get_logfile, 0);
55 $answer = "Some stuff\n$makefile:14: warning is definitely\nhi\nthere\n";
H A Dwildcard3 $description = "The following test creates a makefile to test wildcard
16 open(MAKEFILE,"> $makefile");
46 &run_make_with_options($makefile,"print1",&get_logfile);
58 &run_make_with_options($makefile,"print2",&get_logfile);
76 &run_make_with_options($makefile,"clean",&get_logfile);
/netbsd-src/external/gpl2/gmake/dist/tests/
H A Drun_make_tests.pl93 $makefile = $old_makefile;
95 if (! defined($makefile)) {
96 $makefile = &get_tmpfile();
104 $makestring =~ s/#MAKEFILE#/$makefile/g;
110 open(MAKEFILE, "> $makefile") || die "Failed to open $makefile: $!\n";
112 close(MAKEFILE) || die "Failed to write $makefile: $!\n";
118 $answer =~ s/#MAKEFILE#/$makefile/g;
123 &run_make_with_options($makefile, $options, &get_logfile(0), $err_code);
126 $old_makefile = $makefile;
127 $makefile = undef;
[all …]
/netbsd-src/external/gpl2/gmake/dist/tests/scripts/targets/
H A DSECONDARY16 open(MAKEFILE,"> $makefile");
38 &run_make_with_options($makefile,'foo.d',&get_logfile);
46 &run_make_with_options($makefile,'foo.d',&get_logfile);
55 &run_make_with_options($makefile,'foo.d',&get_logfile);
61 &run_make_with_options($makefile,'foo.c',&get_logfile);
69 &run_make_with_options($makefile,'foo.c',&get_logfile);
78 &run_make_with_options($makefile,'foo.c',&get_logfile);
H A DDEFAULT1 $description = "The following test creates a makefile to override part\n"
7 ."in the containing makefile, make should look in another makefile\n"
8 ."This test gives this makefile the target bar which is not \n"
9 ."defined here but passes the target bar on to another makefile\n"
14 open(MAKEFILE,"> $makefile");
35 &run_make_with_options($makefile,'bar',&get_logfile);
H A Dclean3 $description = "The following test creates a makefile to delete a \n"
10 open(MAKEFILE,"> $makefile");
15 print MAKEFILE "\t\@echo This makefile did not clean the dir... good\n";
26 &run_make_with_options($makefile,"",&get_logfile,0);
29 $answer = "This makefile did not clean the dir... good\n";
35 &run_make_with_options($makefile,"clean",&get_logfile,0);
H A DINTERMEDIATE7 Create a makefile where a file would not normally be considered
16 open(MAKEFILE,"> $makefile");
38 &run_make_with_options($makefile,'foo.d',&get_logfile);
44 &run_make_with_options($makefile,'foo.d',&get_logfile);
53 &run_make_with_options($makefile,'foo.d',&get_logfile);
59 &run_make_with_options($makefile,'foo.c',&get_logfile);
65 &run_make_with_options($makefile,'foo.c',&get_logfile);
74 &run_make_with_options($makefile,'foo.c',&get_logfile);
80 &run_make_with_options($makefile,'foo.e',&get_logfile);
/netbsd-src/external/bsd/file/dist/magic/magdir/
H A Dmake6 0 regex/100l \^(CFLAGS|VPATH|LDFLAGS|all:|\\.PRECIOUS) makefile script text
7 !:mime text/x-makefile
15 0 regex/100l \^\\.(BEGIN|endif|include) BSD makefile script text
16 !:mime text/x-makefile
19 0 regex/100l \^SUBDIRS[[:space:]]+= automake makefile script text
20 !:mime text/x-makefile
/netbsd-src/external/gpl2/gmake/dist/tests/scripts/variables/
H A DMFILE_LIST7 open(MAKEFILE,"> $makefile");
26 &run_make_with_options($makefile, "", &get_logfile);
27 $answer = "$makefile\n$makefile $makefile2\n$makefile $makefile2\n";
H A DMAKECMDGOALS6 We construct a makefile with various targets, all of which print out
9 open(MAKEFILE,"> $makefile");
18 &run_make_with_options($makefile,
27 &run_make_with_options($makefile,
37 &run_make_with_options($makefile,
H A DMAKE3 $description = "The following test creates a makefile to test MAKE \n"
8 open(MAKEFILE,"> $makefile");
16 print MAKEFILE "\t\$(MAKE) -f $makefile foo\n\n";
25 $answer = "$mkpath\n$mkpath -f $makefile foo\n"
29 &run_make_with_options($makefile,"",&get_logfile,0);
H A Dflavors7 open(MAKEFILE, "> $makefile");
59 &run_make_with_options($makefile, "", &get_logfile);
66 &run_make_with_options($makefile, "next", &get_logfile);
73 &run_make_with_options($makefile, "BOGUS=true", &get_logfile, 512);
74 $answer = "$makefile:24: *** empty variable name. Stop.\n";
80 &run_make_with_options($makefile, "outer", &get_logfile);
86 $makefile = undef;

12345678910>>...27