summaryrefslogtreecommitdiff
path: root/ext
diff options
context:
space:
mode:
authorMalcolm Beattie <mbeattie@sable.ox.ac.uk>1998-02-20 17:54:58 +0000
committerMalcolm Beattie <mbeattie@sable.ox.ac.uk>1998-02-20 17:54:58 +0000
commita8581515f26a081f18157dc1cf5553deae632d07 (patch)
treebf3d23fdba9d467bb86634b2b79dd5795064be61 /ext
parenta8a597b252f6dd39ef24cf476a20f8618821e02f (diff)
parent98b55637d580660d79fad229f9c059fcbf7985c2 (diff)
downloadperl-a8581515f26a081f18157dc1cf5553deae632d07.tar.gz
Start getting compiler to work when built with the core.
[Still won't work as of this change.] p4raw-id: //depot/perl@563
Diffstat (limited to 'ext')
-rw-r--r--ext/B/Makefile.PL35
1 files changed, 13 insertions, 22 deletions
diff --git a/ext/B/Makefile.PL b/ext/B/Makefile.PL
index bcc8baa242..88bd4bacd1 100644
--- a/ext/B/Makefile.PL
+++ b/ext/B/Makefile.PL
@@ -16,12 +16,8 @@ if ($^O eq 'MSWin32') {
WriteMakefile(
NAME => "B",
VERSION => "a5",
- OBJECT => "B$o byterun$o",
- depend => {
- "B$o" => "B.c bytecode.h byterun.h",
- },
clean => {
- FILES => "perl byteperl$e btest$e btest.c *$o B.c *~"
+ FILES => "perl byteperl$e *$o B.c *~"
}
);
@@ -29,26 +25,21 @@ sub MY::post_constants {
"\nLIBS = $Config{libs}\n"
}
-sub MY::top_targets {
- my $self = shift;
- my $targets = $self->MM::top_targets();
- $targets =~ s/^(all ::.*)$/$1 byteperl$e/m;
- return <<"EOT" . $targets;
-#
-# byterun.h, byterun.c and Asmdata.pm are auto-generated. If any of the
-# files are missing or if you change bytecode.pl (which is what generates
-# them all) then you can "make regen_headers" to regenerate them.
-#
-regen_headers:
- \$(PERL) bytecode.pl
- \$(MV) Asmdata.pm B
+# Leave out doing byteperl for now. Probably should be built in the
+# core directory or somewhere else rather than here
+#sub MY::top_targets {
+# my $self = shift;
+# my $targets = $self->MM::top_targets();
+# $targets =~ s/^(all ::.*)$/$1 byteperl$e/m;
+# return <<"EOT" . $targets;
+
#
# byteperl is *not* a standard perl+XSUB executable. It's a special
# program for running standalone bytecode executables. It isn't an XSUB
# at the moment because a standlone Perl program needs to set up curpad
# which is overwritten on exit from an XSUB.
#
-byteperl$e : byteperl$o B$o byterun$o
- \$(CC) ${exeout_flag}byteperl$e byteperl$o B$o byterun$o \$(LDFLAGS) \$(PERL_ARCHLIB)/CORE/$Config{libperl} \$(LIBS)
-EOT
-}
+#byteperl$e : byteperl$o B$o \$(PERL_SRC)/byterun$o
+# \$(CC) ${exeout_flag}byteperl$e byteperl$o B$o byterun$o \$(LDFLAGS) \$(PERL_ARCHLIB)/CORE/$Config{libperl} \$(LIBS)
+#EOT
+#}