diff options
author | Jelmer Vernooij <jelmer@samba.org> | 2005-07-28 11:51:37 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 13:30:09 -0500 |
commit | 930e624d816a175d5ca4448e6ed40bc7dd8ec5b7 (patch) | |
tree | cefd60a954d828902c8fde6a6e8a69954e0baa63 /source4/build/smb_build/main.pl | |
parent | d0496a4ee626f829f1b5032122d2daf53e0bd2e2 (diff) | |
download | samba-930e624d816a175d5ca4448e6ed40bc7dd8ec5b7.tar.gz samba-930e624d816a175d5ca4448e6ed40bc7dd8ec5b7.tar.bz2 samba-930e624d816a175d5ca4448e6ed40bc7dd8ec5b7.zip |
r8826: Make configure generate config.mk files (with the external libraries
that were found) and a config.pm file (with all substitution variables)
(This used to be commit 52bb1374bbcfc9b9a6d098687bafe9021a1ee858)
Diffstat (limited to 'source4/build/smb_build/main.pl')
-rw-r--r-- | source4/build/smb_build/main.pl | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/source4/build/smb_build/main.pl b/source4/build/smb_build/main.pl new file mode 100644 index 0000000000..abe63ffaba --- /dev/null +++ b/source4/build/smb_build/main.pl @@ -0,0 +1,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 = {}; + +config_mk::import_files($INPUT, "config.list"); +my $DEPEND = smb_build::input::check($INPUT, \%config::enabled); +my $OUTPUT = output::create_output($DEPEND); +makefile::create_makefile_in($OUTPUT, "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; |