1 use ExtUtils::MakeMaker;
4 my $e = $Config{'exe_ext'};
5 my $o = $Config{'obj_ext'};
6 my $exeout_flag = '-o ';
7 if ($^O eq 'MSWin32') {
8 if ($Config{'cc'} =~ /^cl/i) {
11 elsif ($Config{'cc'} =~ /^bcc/i) {
21 FILES => "perl$e byteperl$e *$o B.c defsubs.h *~"
28 "\nLIBS = $Config{libs}\n"
33 B$(OBJ_EXT) : defsubs.h
37 # Leave out doing byteperl for now. Probably should be built in the
38 # core directory or somewhere else rather than here
41 # my $targets = $self->MM::top_targets();
42 # $targets =~ s/^(all ::.*)$/$1 byteperl$e/m;
43 # return <<"EOT" . $targets;
46 # byteperl is *not* a standard perl+XSUB executable. It's a special
47 # program for running standalone bytecode executables. It isn't an XSUB
48 # at the moment because a standlone Perl program needs to set up curpad
49 # which is overwritten on exit from an XSUB.
51 #byteperl$e : byteperl$o B$o \$(PERL_SRC)/byterun$o
52 # \$(CC) ${exeout_flag}byteperl$e byteperl$o B$o byterun$o \$(LDFLAGS) \$(PERL_ARCHLIB)/CORE/$Config{libperl} \$(LIBS)