r3691: Use packages
[jra/samba/.git] / source4 / build / smb_build / main.pm
1 ###########################################################
2 ### SMB Build System                                    ###
3 ### - the main program                                  ###
4 ###                                                     ###
5 ###  Copyright (C) Stefan (metze) Metzmacher 2004       ###
6 ###  Released under the GNU GPL                         ###
7 ###########################################################
8
9 use makefile;
10 use depend;
11 use smb_build_h;
12 use input;
13 use config_mk;
14 use output;
15 use dump;
16 use strict;
17
18 sub smb_build_main($)
19 {
20         my $SMB_BUILD_CTX = shift;
21         input::check($SMB_BUILD_CTX);
22
23         depend::create_depend($SMB_BUILD_CTX);
24
25         output::create_output($SMB_BUILD_CTX);
26
27         makefile::create_makefile_in($SMB_BUILD_CTX);
28
29         smb_build_h::create_smb_build_h($SMB_BUILD_CTX);
30
31         dump::dump_ctx($SMB_BUILD_CTX);
32
33         return 0;
34 }
35 1;