#-*-perl-*-
#
# $Id: fake_mm,v 33.4 2012/09/26 16:15:37 jettisu Exp $
#
# (c) 1999-2012 Morgan Stanley & Co. Incorporated
# See ..../src/LICENSE for terms of distribution.
#

#
# I need to fake this out for pre-5.005 per interpreters, as the older
# make maker doesn't have this, and it is *very* convenient for
# skipping sections of the build.
#
sub myWriteEmptyMakefile {

    if ( defined &ExtUtils::MakeMaker::WriteEmptyMakefile ) {
	ExtUtils::MakeMaker::WriteEmptyMakefile();
	return 1;
    }

    open(MF,">Makefile") || die "Unable to open Makefile: $!\n";

    print MF <<"EndOfMakefile";
all:
 
clean:
 
install:
 
makemakerdflt:
 
test:
 
EndOfMakefile

    close(MF) || die "Unable to close Makefile: $!\n";

}

1;
