summaryrefslogtreecommitdiff
path: root/source4/build/smb_build/main.pm
blob: a9e755dd6f48752cb85ec19d13688c813452a4aa (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
###########################################################
### SMB Build System					###
### - the main program					###
###							###
###  Copyright (C) Stefan (metze) Metzmacher 2004	###
###  Released under the GNU GPL				###
###########################################################

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($)
{
	my $INPUT = shift;
	my %SMB_BUILD_CTX = (
		INPUT => $INPUT
	);

	input::check(\%SMB_BUILD_CTX);
	
	depend::create_depend(\%SMB_BUILD_CTX);

	output::create_output(\%SMB_BUILD_CTX);

	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;
}
1;