summaryrefslogtreecommitdiff
path: root/source4/build/smb_build/main.pm
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2004-11-14 13:52:16 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 13:05:47 -0500
commit7367d23713a34a6c29a492adb365292399adffe8 (patch)
tree200c3610aef4c495210599861220dd2d72546805 /source4/build/smb_build/main.pm
parentf0b954968c19722b7f42a4bcd367d5f815efdc47 (diff)
downloadsamba-7367d23713a34a6c29a492adb365292399adffe8.tar.gz
samba-7367d23713a34a6c29a492adb365292399adffe8.tar.bz2
samba-7367d23713a34a6c29a492adb365292399adffe8.zip
r3730: More build system fixes and simplifications
the hierarchy in the init functions is correct now will also make it easier to implement some other features (This used to be commit cbe819a75568403ac8850ea4d344c607a46d61c2)
Diffstat (limited to 'source4/build/smb_build/main.pm')
-rw-r--r--source4/build/smb_build/main.pm17
1 files changed, 4 insertions, 13 deletions
diff --git a/source4/build/smb_build/main.pm b/source4/build/smb_build/main.pm
index a9e755dd6f..50aae15fdc 100644
--- a/source4/build/smb_build/main.pm
+++ b/source4/build/smb_build/main.pm
@@ -7,13 +7,11 @@
###########################################################
use makefile;
-use depend;
use smb_build_h;
use input;
use config_mk;
use output;
use direct;
-use dump;
use strict;
sub smb_build_main($)
@@ -23,19 +21,12 @@ sub smb_build_main($)
INPUT => $INPUT
);
- input::check(\%SMB_BUILD_CTX);
+ %{$SMB_BUILD_CTX{DEPEND}} = input::check(\%SMB_BUILD_CTX);
- depend::create_depend(\%SMB_BUILD_CTX);
+ %{$SMB_BUILD_CTX{OUTPUT}} = output::create_output($SMB_BUILD_CTX{DEPEND});
- output::create_output(\%SMB_BUILD_CTX);
+ makefile::create_makefile_in($SMB_BUILD_CTX{OUTPUT});
- makefile::create_makefile_in(\%SMB_BUILD_CTX);
-
- smb_build_h::create_smb_build_h(\%SMB_BUILD_CTX);
-
- dump::dump_ctx(\%SMB_BUILD_CTX);
-
-
- return 0;
+ smb_build_h::create_smb_build_h($SMB_BUILD_CTX{OUTPUT});
}
1;