diff options
author | Stefan Metzmacher <metze@samba.org> | 2004-05-13 10:20:53 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 12:53:36 -0500 |
commit | f236700ef67d4f93ec56ec7808584552e94e0dfe (patch) | |
tree | 3572ba5a82860e9dc60661161997b77704867cdc /source4/build/smb_build/core.m4 | |
parent | b2d1f7890765fca5a119d43f4906e885c245005f (diff) | |
download | samba-f236700ef67d4f93ec56ec7808584552e94e0dfe.tar.gz samba-f236700ef67d4f93ec56ec7808584552e94e0dfe.tar.bz2 samba-f236700ef67d4f93ec56ec7808584552e94e0dfe.zip |
r665: merge over the new build system from my tmp branch
to the main SAMBA_4_0 tree.
NOTE: that it's not completely ready, but it's functional:-)
metze
(This used to be commit c78a2ddb28ec50d6570a83b1f66f18a5c3621731)
Diffstat (limited to 'source4/build/smb_build/core.m4')
-rw-r--r-- | source4/build/smb_build/core.m4 | 76 |
1 files changed, 76 insertions, 0 deletions
diff --git a/source4/build/smb_build/core.m4 b/source4/build/smb_build/core.m4 new file mode 100644 index 0000000000..1dc4b36446 --- /dev/null +++ b/source4/build/smb_build/core.m4 @@ -0,0 +1,76 @@ +dnl SMB Build Core System +dnl ------------------------------------------------------- +dnl Copyright (C) Stefan (metze) Metzmacher 2004 +dnl Released under the GNU GPL +dnl ------------------------------------------------------- +dnl +dnl _SMB_BUILD_CORE( +dnl 1: outputfile +dnl ) + +dnl ####################################################### +dnl ### And now the implementation ### +dnl ####################################################### + +dnl _SMB_BUILD_CORE( +dnl 1: outputfile +dnl ) +AC_DEFUN([_SMB_BUILD_CORE], +[ + +echo "config.status: creating ./config.smb_build.pl" + +cat > config.smb_build.pl <<\_SMB_ACEOF +#!/usr/bin/perl -W +# + +use strict; + +my \$SMB_BUILD_CTX; + +_SMB_ACEOF + +cat >> config.smb_build.pl < build/smb_build/config_mk.pl +cat >> config.smb_build.pl < build/smb_build/input.pl +cat >> config.smb_build.pl < build/smb_build/depend.pl +cat >> config.smb_build.pl < build/smb_build/output.pl +cat >> config.smb_build.pl < build/smb_build/makefile.pl +cat >> config.smb_build.pl < build/smb_build/smb_build_h.pl +cat >> config.smb_build.pl < build/smb_build/main.pl + +cat >> config.smb_build.pl <<\_SMB_ACEOF +########################################################### +### First we list all info from configure ### +########################################################### +# +######################################### +## Start Ext Libs +$SMB_INFO_EXT_LIBS +## End Ext Libs +######################################### +######################################### +## Start Modules +$SMB_INFO_MODULES +## End Modules +######################################### +## Start Subsystems +$SMB_INFO_SUBSYSTEMS +## End Subsystems +######################################### +## Start Libraries +$SMB_INFO_LIBRARIES +## End Libraries +######################################### +## Start Binaries +$SMB_INFO_BINARIES +## End Binaries +######################################### + +smb_build_main(\$SMB_BUILD_CTX); + +0; +_SMB_ACEOF + +$PERL config.smb_build.pl || exit $? + +]) |