makepp

 view release on metacpan or  search on metacpan

ChangeLog  view on Meta::CPAN

	* CommandParser/Esqlc.pm, Scanner/Esqlc.pm: New (flaky) modules.

	* install.pl: Install them.

	* t/esqlc.test: New test.

	* Makesubs.pm (scanner_esqlc_compilation): New scanner.
	(%Makesubs::scanners): Register it.

2004-12-17  Gary Holt <holt-makepp@gholt.net>
	* run_tests.pl: fix problem where delete $ENV{MAKEPPFLAGS} didn't
	work, which could cause a test failure due to the user's environment.

	* Makesubs.pm (infer_objects): if an error occurred building a
	dependency, stop immediately unless --keep-going.

2004-12-17  Anders Johnson  <ajohnson@nvidia.com>

	* BuildCheck.pm, CommandParser.pm, Makefile.pm, Rule.pm, makepp,
	BuildCheck/exact_match.pm, BuildCheck/target_newer.pm,
	pod/makepp_rules.pod,

makepp  view on Meta::CPAN

use Mpp::FileOpt;
use Mpp::Makefile;
use Mpp::Rule;
use Mpp::BuildCheck::exact_match;
use Mpp::Signature::md5;
use Mpp::Event qw(when_done wait_for);

our $original_cwd = $CWD_INFO;	# Remember the directory we started from.

delete $ENV{ROOT};		# This is our builtin variable.
our $MAKEFLAGS = delete $ENV{MAKEFLAGS};
our $MAKEPPFLAGS = delete $ENV{MAKEPPFLAGS};
our %global_ENV = %ENV;		# Make a copy of the environment, because
				# we're going to change the environment a lot.
%ENV = %global_ENV;		# Some (only Solaris?) versions hang when changing $0 before %ENV
our( $dont_build_dir_flag, $sandbox_warn_flag, $virtual_sandbox_flag, $warn_undef_var );
				# This is set if we set ASSUME_UNCHANGED /
				# DONT_BUILD on any directory. Optimizations
				# can be made if they aren't set.

our $dry_run;			# Display commands but don't actually
				# execute them.

t/run_tests.pl  view on Meta::CPAN

  eval 'sub no_link() {' . ($link ? '' : 1) . '}';
  chdir $old_cwd;
}

my( $cc_errors, $have_cc, $want_cc ) = 0;
my $cc_hint1 = 'This test needs a C compiler that accepts options in common order.
';
my $cc_hint = $cc_hint1 .
  ($ENV{CC} ? 'Please check your value of $CC' :
   'Old makes use CC=cc, but makepp may choose another compiler in $PATH') . ".\n" .
  ($ENV{CFLAGS} ?
  'Make sure that your CFLAGS are understood by the chosen compiler!
' : '');
sub have_cc() {
  $want_cc = 1;
  unless( defined $have_cc ) {
    $have_cc =
      $ENV{CC} ||
      system( PERL, '-w', $makepp_path.'builtin', 'expr',
	      # Use mpp's CC function without loading full mpp.  No "" because of fucked up Win.
	      'sub Mpp::log($@) {} sub Mpp::Makefile::implicitly_load {} close STDERR; q!not-found! eq Mpp::Subs::f_CC',



( run in 0.718 second using v1.01-cache-2.11-cpan-8d75d55dd25 )