summaryrefslogtreecommitdiff
path: root/source4
diff options
context:
space:
mode:
Diffstat (limited to 'source4')
-rw-r--r--source4/build/smb_build/direct.pm58
-rw-r--r--source4/build/smb_build/main.pm3
2 files changed, 0 insertions, 61 deletions
diff --git a/source4/build/smb_build/direct.pm b/source4/build/smb_build/direct.pm
deleted file mode 100644
index 9baba695f4..0000000000
--- a/source4/build/smb_build/direct.pm
+++ /dev/null
@@ -1,58 +0,0 @@
-# Subs for build system stuff without the .mk files
-# Copyright (C) 2004 Jelmer Vernooij <jelmer@samba.org>
-
-use strict;
-
-our $SMB_BUILD_CTX;
-
-sub Subsystem($$)
-{
- my $name = shift;
- my $data = shift;
- $data->{NAME} = $name;
- $data->{TYPE} = "SUBSYSTEM";
- %{$SMB_BUILD_CTX->{INPUT}{$name}} = %{$data};
-}
-
-sub Module($$)
-{
- my $name = shift;
- my $data = shift;
- $data->{NAME} = $name;
- $data->{TYPE} = "MODULE";
- %{$SMB_BUILD_CTX->{INPUT}{$name}} = %{$data};
-}
-
-sub ExternalLibrary($$)
-{
- my $name = shift;
- my $data = shift;
- $data->{NAME} = $name;
- $data->{TYPE} = "EXT_LIB";
- %{$SMB_BUILD_CTX->{INPUT}{$name}} = %{$data};
-}
-
-sub Library($$)
-{
- my $name = shift;
- my $data = shift;
- $data->{NAME} = $name;
- $data->{TYPE} = "LIBRARY";
- %{$SMB_BUILD_CTX->{INPUT}{$name}} = %{$data};
-}
-
-sub Binary($$)
-{
- my $name = shift;
- my $data = shift;
- $data->{NAME} = $name;
- $data->{TYPE} = "BINARY";
- %{$SMB_BUILD_CTX->{INPUT}{$name}} = %{$data};
-}
-
-sub Disable($)
-{
- $SMB_BUILD_CTX->{INPUT}{shift}{ENABLE} = "NO";
-}
-
-1;
diff --git a/source4/build/smb_build/main.pm b/source4/build/smb_build/main.pm
index 97db91fc5f..3991e395f5 100644
--- a/source4/build/smb_build/main.pm
+++ b/source4/build/smb_build/main.pm
@@ -11,7 +11,6 @@ use smb_build_h;
use input;
use config_mk;
use output;
-use direct;
use dot;
use strict;
@@ -61,8 +60,6 @@ sub smb_build_main($)
config_mk::import_file($SMB_BUILD_CTX{INPUT}, $mkfile);
}
- print Data::Dumper::Dumper($SMB_BUILD_CTX{INPUT});
-
%{$SMB_BUILD_CTX{DEPEND}} = input::check(\%SMB_BUILD_CTX);
%{$SMB_BUILD_CTX{OUTPUT}} = output::create_output($SMB_BUILD_CTX{DEPEND});