Michael G. Schwern [Tue, 4 Nov 2003 17:59:13 +0000 (09:59 -0800)]
Message-ID: <
20031105015913.GL15406@localhost.comcast.net>
Replaces the temporary kludge (#21655).
p4raw-id: //depot/perl@21657
C => [qw(sdbm.c pair.c hash.c)]
);
-sub MY::constants {
- package MY;
+
+package MY;
+sub constants {
my $self = shift;
$self->{INST_STATIC} = 'libsdbm$(LIB_EXT)';
return $self->SUPER::constants();
}
-sub MY::top_targets {
+sub top_targets {
+ my $self = shift;
my $r = '
all :: static
$(NOECHO) $(NOOP)
-config ::
- $(NOECHO) $(NOOP)
-
lint:
lint -abchx $(LIBSRCS)
-# temporary kludge
-blibdirs:
- $(MKPATH) $(INST_ARCHAUTODIR)
-
';
$r .= '
# This is a workaround, the problem is that our old GNU make exports
$(NOECHO) $(NOOP)
' unless $^O eq 'VMS';
- return $r;
+ return $r . $self->SUPER::top_targets;
}