diff options
author | Jelmer Vernooij <jelmer@samba.org> | 2004-11-12 01:40:02 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 13:05:44 -0500 |
commit | ab440ac6f75c12989d5dc15cc75a99e62f35612f (patch) | |
tree | 15375ecfbeee53132b2298aa697e9eead69ed3a4 /source4/build/smb_build/main.pm | |
parent | 79c5d73a71c35f5b16232072a7b52033cb9364cb (diff) | |
download | samba-ab440ac6f75c12989d5dc15cc75a99e62f35612f.tar.gz samba-ab440ac6f75c12989d5dc15cc75a99e62f35612f.tar.bz2 samba-ab440ac6f75c12989d5dc15cc75a99e62f35612f.zip |
r3690: Use perl's 'use' statement to include the build system parts
rather then using "cat"
(This used to be commit 4d018b2b701faa56d7e3bb7634729296b53e0acb)
Diffstat (limited to 'source4/build/smb_build/main.pm')
-rw-r--r-- | source4/build/smb_build/main.pm | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/source4/build/smb_build/main.pm b/source4/build/smb_build/main.pm new file mode 100644 index 0000000000..4df7be7dae --- /dev/null +++ b/source4/build/smb_build/main.pm @@ -0,0 +1,32 @@ +########################################################### +### 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 strict; + +sub smb_build_main($) +{ + my $SMB_BUILD_CTX = shift; + check_input($SMB_BUILD_CTX); + + create_depend($SMB_BUILD_CTX); + + create_output($SMB_BUILD_CTX); + + create_makefile_in($SMB_BUILD_CTX); + + create_smb_build_h($SMB_BUILD_CTX); + + return 0; +} +1; |