summaryrefslogtreecommitdiff
path: root/source4/build/m4/core.m4
diff options
context:
space:
mode:
Diffstat (limited to 'source4/build/m4/core.m4')
-rw-r--r--source4/build/m4/core.m467
1 files changed, 67 insertions, 0 deletions
diff --git a/source4/build/m4/core.m4 b/source4/build/m4/core.m4
new file mode 100644
index 0000000000..215ca5195e
--- /dev/null
+++ b/source4/build/m4/core.m4
@@ -0,0 +1,67 @@
+dnl SMB Build Core System
+dnl -------------------------------------------------------
+dnl Copyright (C) Stefan (metze) Metzmacher 2004
+dnl Copyright (C) Jelmer Vernooij 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],
+[
+
+$PERL -I$srcdir/build <<\_SMB_ACEOF
+use strict;
+
+my %INPUT;
+
+use smb_build::main;
+
+###########################################################
+### First we list all info from configure ###
+###########################################################
+#
+#########################################
+## Start Build Env
+$SMB_INFO_BUILD_ENV
+## End Build Env
+#########################################
+#########################################
+## 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_INFO_ENABLES
+
+smb_build_main(\%INPUT);
+
+_SMB_ACEOF
+
+])