summaryrefslogtreecommitdiff
path: root/source4/build/m4/core.m4
blob: 6471fc9e64f178e03df87e1df4d6d07d0095acb3 (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
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
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 %SETTINGS;
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, \%SETTINGS);

_SMB_ACEOF

])