summaryrefslogtreecommitdiff
path: root/source4/build/smb_build/main.pl
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2008-02-16 18:38:02 +0100
committerJelmer Vernooij <jelmer@samba.org>2008-02-16 18:38:02 +0100
commitb66ee2ed22754dd44b20c06e573072e328d9a3dd (patch)
treecbcf812eb42ea279740d91887de37254a448545e /source4/build/smb_build/main.pl
parent36e490a57dbf5adfd0246a4029344fb95a98131f (diff)
downloadsamba-b66ee2ed22754dd44b20c06e573072e328d9a3dd.tar.gz
samba-b66ee2ed22754dd44b20c06e573072e328d9a3dd.tar.bz2
samba-b66ee2ed22754dd44b20c06e573072e328d9a3dd.zip
Move responsibilities of build.h to makefile.
(This used to be commit a43f6d37bce85748e9cf2675e5beced5db26f1c3)
Diffstat (limited to 'source4/build/smb_build/main.pl')
-rw-r--r--source4/build/smb_build/main.pl3
1 files changed, 1 insertions, 2 deletions
diff --git a/source4/build/smb_build/main.pl b/source4/build/smb_build/main.pl
index d00c864f50..c7a92b7ce1 100644
--- a/source4/build/smb_build/main.pl
+++ b/source4/build/smb_build/main.pl
@@ -6,7 +6,6 @@
# Released under the GNU GPL
use smb_build::makefile;
-use smb_build::header;
use smb_build::input;
use smb_build::config_mk;
use smb_build::output;
@@ -89,10 +88,10 @@ foreach my $key (values %$OUTPUT) {
$mkenv->Binary($key) if grep(/BINARY/, @{$key->{OUTPUT_TYPE}});
$mkenv->ProtoHeader($key) if defined($key->{PRIVATE_PROTO_HEADER}) or
defined($key->{PUBLIC_PROTO_HEADER});
+ $mkenv->InitFunctions($key) if defined($key->{INIT_FUNCTIONS});
}
$mkenv->write("data.mk");
-header::create_smb_build_h($OUTPUT, "include/build.h");
cflags::create_cflags($OUTPUT, $config::config{srcdir},
$config::config{builddir}, "extra_cflags.txt");