mirror of
https://github.com/samba-team/samba.git
synced 2024-12-24 21:34:56 +03:00
r14552: Remove old dependency code
This commit is contained in:
parent
d033f13970
commit
44e132cf1a
@ -74,8 +74,6 @@ foreach my $key (values %$OUTPUT) {
|
|||||||
$mkenv->Header($key) if defined($key->{PUBLIC_HEADERS});
|
$mkenv->Header($key) if defined($key->{PUBLIC_HEADERS});
|
||||||
$mkenv->ProtoHeader($key) if defined($key->{PRIVATE_PROTO_HEADER}) or
|
$mkenv->ProtoHeader($key) if defined($key->{PRIVATE_PROTO_HEADER}) or
|
||||||
defined($key->{PUBLIC_PROTO_HEADER});
|
defined($key->{PUBLIC_PROTO_HEADER});
|
||||||
|
|
||||||
# $mkenv->DependencyInfo($key) if $config::config{developer} eq "yes";
|
|
||||||
}
|
}
|
||||||
|
|
||||||
$mkenv->write("Makefile");
|
$mkenv->write("Makefile");
|
||||||
|
@ -187,18 +187,6 @@ sub _prepare_list($$$)
|
|||||||
$self->output("$ctx->{TYPE}\_$ctx->{NAME}_$var =$tmplist\n");
|
$self->output("$ctx->{TYPE}\_$ctx->{NAME}_$var =$tmplist\n");
|
||||||
}
|
}
|
||||||
|
|
||||||
sub DependencyInfo($$)
|
|
||||||
{
|
|
||||||
my ($self,$ctx) = @_;
|
|
||||||
|
|
||||||
$self->output("bin/deps/$ctx->{TYPE}_$ctx->{NAME}: \$($ctx->{TYPE}_$ctx->{NAME}_OBJ_LIST:.o=.c)");
|
|
||||||
$self->output("\n");
|
|
||||||
$self->output("\t\@echo \"Generating dependency info for $ctx->{NAME}\"\n");
|
|
||||||
$self->output("\t\@./script/cdeps.pl \$^ > \$@\n");
|
|
||||||
$self->output("\n");
|
|
||||||
$self->output("-include bin/deps/$ctx->{TYPE}_$ctx->{NAME}\n\n");
|
|
||||||
}
|
|
||||||
|
|
||||||
sub SharedLibrary($$)
|
sub SharedLibrary($$)
|
||||||
{
|
{
|
||||||
my ($self,$ctx) = @_;
|
my ($self,$ctx) = @_;
|
||||||
@ -518,17 +506,17 @@ sub write($$)
|
|||||||
|
|
||||||
$self->_prepare_mk_files();
|
$self->_prepare_mk_files();
|
||||||
|
|
||||||
|
$self->output($self->{mkfile});
|
||||||
|
|
||||||
if ($self->{developer}) {
|
if ($self->{developer}) {
|
||||||
$self->output(<<__EOD__
|
$self->output(<<__EOD__
|
||||||
|
|
||||||
#-include \$(ALL_OBJS:.o=.d)
|
-include \$(DEP_FILES)
|
||||||
|
|
||||||
__EOD__
|
__EOD__
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
$self->output($self->{mkfile});
|
|
||||||
|
|
||||||
open(MAKEFILE,">$file") || die ("Can't open $file\n");
|
open(MAKEFILE,">$file") || die ("Can't open $file\n");
|
||||||
print MAKEFILE $self->{output};
|
print MAKEFILE $self->{output};
|
||||||
close(MAKEFILE);
|
close(MAKEFILE);
|
||||||
|
Loading…
Reference in New Issue
Block a user