Lines Matching refs:makefile
75 # [0] (string): The makefile to be tested. undef means use the last one.
86 # If the user specified a makefile string, create a new makefile to contain
93 $makefile = $old_makefile;
95 if (! defined($makefile)) {
96 $makefile = &get_tmpfile();
102 # Replace @MAKEFILE@ with the makefile name and @MAKE@ with the path to
104 $makestring =~ s/#MAKEFILE#/$makefile/g;
109 # Populate the makefile!
110 open(MAKEFILE, "> $makefile") || die "Failed to open $makefile: $!\n";
111 print MAKEFILE $makestring;
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;
345 $makefile = &get_tmpfile;
346 if (-f $makefile) {
347 unlink $makefile;