summaryrefslogtreecommitdiff
path: root/source4/build/smb_build/main.pl
blob: 0b79b7c4b455b7d9e5c1c98d97973c20b4227241 (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
###########################################################
### SMB Build System					###
### - the main program					###
###							###
###  Copyright (C) Stefan (metze) Metzmacher 2004	###
###  Copyright (C) Jelmer Vernooij 2005
###  Released under the GNU GPL				###
###########################################################

use smb_build::makefile;
use smb_build::smb_build_h;
use smb_build::input;
use smb_build::config_mk;
use smb_build::output;
use smb_build::dot;
use config;
use strict;

my $INPUT = {};

my $mkfile = config_mk::run_config_mk($INPUT, "Makefile.core");
my $DEPEND = smb_build::input::check($INPUT, \%config::enabled);
my $OUTPUT = output::create_output($DEPEND);
makefile::create_makefile_in($OUTPUT, $mkfile, "Makefile.in");
smb_build_h::create_smb_build_h($OUTPUT, "include/smb_build.h");

open DOTTY, ">samba4-deps.dot";
print DOTTY dot::generate($DEPEND);
close DOTTY;

1;