summaryrefslogtreecommitdiff
path: root/source4
diff options
context:
space:
mode:
Diffstat (limited to 'source4')
-rw-r--r--source4/auth/credentials/wscript_build2
-rw-r--r--source4/auth/gensec/wscript_build2
-rw-r--r--source4/auth/kerberos/wscript_build2
-rw-r--r--source4/auth/ntlm/wscript_build2
-rw-r--r--source4/auth/ntlmssp/wscript_build2
-rw-r--r--source4/auth/wscript_build2
-rw-r--r--source4/auth/wscript_configure2
-rw-r--r--source4/cldap_server/wscript_build2
-rw-r--r--source4/client/wscript_build2
-rw-r--r--source4/cluster/wscript_build2
-rw-r--r--source4/dsdb/samdb/ldb_modules/wscript_build2
-rw-r--r--source4/dsdb/wscript_build2
-rw-r--r--source4/dynconfig/wscript2
-rw-r--r--source4/heimdal_build/wscript_build2
-rw-r--r--source4/heimdal_build/wscript_configure2
-rw-r--r--source4/kdc/wscript_build2
-rw-r--r--source4/ldap_server/wscript_build2
-rw-r--r--source4/lib/cmdline/wscript_build2
-rw-r--r--source4/lib/com/wscript_build2
-rw-r--r--source4/lib/events/wscript_build2
-rw-r--r--source4/lib/ldb-samba/wscript_build2
-rw-r--r--source4/lib/ldb/wscript2
-rw-r--r--source4/lib/messaging/wscript_build2
-rw-r--r--source4/lib/registry/wscript_build2
-rw-r--r--source4/lib/samba3/wscript_build2
-rw-r--r--source4/lib/smbreadline/wscript_build2
-rw-r--r--source4/lib/smbreadline/wscript_configure2
-rw-r--r--source4/lib/socket/wscript_build2
-rw-r--r--source4/lib/stream/wscript_build2
-rw-r--r--source4/lib/tls/wscript2
-rw-r--r--source4/lib/wmi/wscript_build2
-rw-r--r--source4/lib/wscript_build2
-rw-r--r--source4/libcli/ldap/wscript_build2
-rw-r--r--source4/libcli/security/wscript_build2
-rw-r--r--source4/libcli/smb2/wscript_build2
-rw-r--r--source4/libcli/wbclient/wscript_build2
-rw-r--r--source4/libcli/wscript_build2
-rw-r--r--source4/libnet/wscript_build2
-rw-r--r--source4/librpc/idl/wscript_build2
-rw-r--r--source4/librpc/wscript_build2
-rw-r--r--source4/nbt_server/wscript_build2
-rw-r--r--source4/ntp_signd/wscript_build2
-rw-r--r--source4/ntptr/wscript_build2
-rw-r--r--source4/ntvfs/common/wscript_build2
-rw-r--r--source4/ntvfs/posix/wscript_build2
-rw-r--r--source4/ntvfs/sysdep/wscript_build2
-rw-r--r--source4/ntvfs/sysdep/wscript_configure2
-rw-r--r--source4/ntvfs/unixuid/wscript_build2
-rw-r--r--source4/ntvfs/wscript_build2
-rw-r--r--source4/param/wscript_build2
-rw-r--r--source4/rpc_server/wscript_build2
-rw-r--r--source4/scripting/python/samba_external/wscript_build2
-rw-r--r--source4/scripting/python/wscript2
-rw-r--r--source4/scripting/python/wscript_build2
-rw-r--r--source4/scripting/wscript_build2
-rw-r--r--source4/selftest/wscript2
-rw-r--r--source4/setup/wscript_build2
-rw-r--r--source4/smb_server/smb/wscript_build2
-rw-r--r--source4/smb_server/smb2/wscript_build2
-rw-r--r--source4/smb_server/wscript_build2
-rw-r--r--source4/smbd/wscript_build2
-rw-r--r--source4/torture/drs/wscript_build2
-rw-r--r--source4/torture/libnetapi/wscript_build2
-rw-r--r--source4/torture/libsmbclient/wscript_build2
-rw-r--r--source4/torture/local/wscript_build2
-rw-r--r--source4/torture/smb2/wscript_build2
-rw-r--r--source4/torture/winbind/wscript_build2
-rw-r--r--source4/torture/wscript_build2
-rw-r--r--source4/utils/net/wscript_build2
-rw-r--r--source4/utils/wscript_build2
-rw-r--r--source4/web_server/wscript_build2
-rw-r--r--source4/winbind/wscript_build2
-rw-r--r--source4/wrepl_server/wscript_build2
-rw-r--r--source4/wscript_build2
74 files changed, 148 insertions, 0 deletions
diff --git a/source4/auth/credentials/wscript_build b/source4/auth/credentials/wscript_build
index bdd9fa529c0..a6a5f75dca1 100644
--- a/source4/auth/credentials/wscript_build
+++ b/source4/auth/credentials/wscript_build
@@ -1,3 +1,5 @@
+#!/usr/bin/env python
+
# AUTOGENERATED by mktowscript.pl from ../../source4/auth/credentials/config.mk
# Please remove this notice if hand editing
diff --git a/source4/auth/gensec/wscript_build b/source4/auth/gensec/wscript_build
index fffc4045f72..19264d17c02 100644
--- a/source4/auth/gensec/wscript_build
+++ b/source4/auth/gensec/wscript_build
@@ -1,3 +1,5 @@
+#!/usr/bin/env python
+
bld.SAMBA_LIBRARY('gensec',
source='gensec.c socket.c',
pc_files='gensec.pc',
diff --git a/source4/auth/kerberos/wscript_build b/source4/auth/kerberos/wscript_build
index 77f9799a8be..688211ed6e4 100644
--- a/source4/auth/kerberos/wscript_build
+++ b/source4/auth/kerberos/wscript_build
@@ -1,3 +1,5 @@
+#!/usr/bin/env python
+
# AUTOGENERATED by mktowscript.pl from ../../source4/auth/kerberos/config.mk
# Please remove this notice if hand editing
diff --git a/source4/auth/ntlm/wscript_build b/source4/auth/ntlm/wscript_build
index 4fd12cbbb95..611d678635f 100644
--- a/source4/auth/ntlm/wscript_build
+++ b/source4/auth/ntlm/wscript_build
@@ -1,3 +1,5 @@
+#!/usr/bin/env python
+
bld.SAMBA_MODULE('auth_sam_module',
source='auth_sam.c',
subsystem='auth',
diff --git a/source4/auth/ntlmssp/wscript_build b/source4/auth/ntlmssp/wscript_build
index 3fbf2545153..8ead66dcdcf 100644
--- a/source4/auth/ntlmssp/wscript_build
+++ b/source4/auth/ntlmssp/wscript_build
@@ -1,3 +1,5 @@
+#!/usr/bin/env python
+
# AUTOGENERATED by mktowscript.pl from ../../source4/auth/ntlmssp/config.mk
# Please remove this notice if hand editing
diff --git a/source4/auth/wscript_build b/source4/auth/wscript_build
index c7dfa8943c4..ce4dc7b21e8 100644
--- a/source4/auth/wscript_build
+++ b/source4/auth/wscript_build
@@ -1,3 +1,5 @@
+#!/usr/bin/env python
+
# AUTOGENERATED by mktowscript.pl from ../../source4/auth/config.mk
# Please remove this notice if hand editing
diff --git a/source4/auth/wscript_configure b/source4/auth/wscript_configure
index c0ca7676c33..1d26cde1398 100644
--- a/source4/auth/wscript_configure
+++ b/source4/auth/wscript_configure
@@ -1,3 +1,5 @@
+#!/usr/bin/env python
+
conf.CHECK_HEADERS('security/pam_appl.h')
conf.CHECK_FUNCS_IN('pam_start', 'pam', checklibc=True)
diff --git a/source4/cldap_server/wscript_build b/source4/cldap_server/wscript_build
index 3bdf2f236d5..345165611ef 100644
--- a/source4/cldap_server/wscript_build
+++ b/source4/cldap_server/wscript_build
@@ -1,3 +1,5 @@
+#!/usr/bin/env python
+
# AUTOGENERATED by mktowscript.pl from ../../source4/cldap_server/config.mk
# Please remove this notice if hand editing
diff --git a/source4/client/wscript_build b/source4/client/wscript_build
index 6f5df10b582..ac409619f19 100644
--- a/source4/client/wscript_build
+++ b/source4/client/wscript_build
@@ -1,3 +1,5 @@
+#!/usr/bin/env python
+
bld.SAMBA_BINARY('smbclient',
source='client.c',
installdir='BINDIR',
diff --git a/source4/cluster/wscript_build b/source4/cluster/wscript_build
index fe909bc2219..01edecc8854 100644
--- a/source4/cluster/wscript_build
+++ b/source4/cluster/wscript_build
@@ -1,3 +1,5 @@
+#!/usr/bin/env python
+
# AUTOGENERATED by mktowscript.pl from ../../source4/cluster/config.mk
# Please remove this notice if hand editing
diff --git a/source4/dsdb/samdb/ldb_modules/wscript_build b/source4/dsdb/samdb/ldb_modules/wscript_build
index 76503ef82ba..1f464240a45 100644
--- a/source4/dsdb/samdb/ldb_modules/wscript_build
+++ b/source4/dsdb/samdb/ldb_modules/wscript_build
@@ -1,3 +1,5 @@
+#!/usr/bin/env python
+
bld.SAMBA_SUBSYSTEM('DSDB_MODULE_HELPERS',
source='util.c ridalloc.c',
autoproto='util_proto.h',
diff --git a/source4/dsdb/wscript_build b/source4/dsdb/wscript_build
index 0699dfdd287..99b91a89f91 100644
--- a/source4/dsdb/wscript_build
+++ b/source4/dsdb/wscript_build
@@ -1,3 +1,5 @@
+#!/usr/bin/env python
+
# AUTOGENERATED by mktowscript.pl from ../../source4/dsdb/config.mk
# Please remove this notice if hand editing
diff --git a/source4/dynconfig/wscript b/source4/dynconfig/wscript
index b676069d9b6..a0fc9942584 100644
--- a/source4/dynconfig/wscript
+++ b/source4/dynconfig/wscript
@@ -1,3 +1,5 @@
+#!/usr/bin/env python
+
import string, Utils, Options
# list of directory options to offer in configure
diff --git a/source4/heimdal_build/wscript_build b/source4/heimdal_build/wscript_build
index 5240206e0dd..6012c3c81f4 100644
--- a/source4/heimdal_build/wscript_build
+++ b/source4/heimdal_build/wscript_build
@@ -1,3 +1,5 @@
+#!/usr/bin/env python
+
bld.SAMBA_GENERATOR(
name="HEIMDAL_ERRORLIST",
rule="${PYTHON} ${SRC[0].abspath()} ${SRC[1].abspath()} ${SRC[1].parent.abspath(env)}",
diff --git a/source4/heimdal_build/wscript_configure b/source4/heimdal_build/wscript_configure
index d3a2cb72539..a887636803a 100644
--- a/source4/heimdal_build/wscript_configure
+++ b/source4/heimdal_build/wscript_configure
@@ -1,3 +1,5 @@
+#!/usr/bin/env python
+
conf.CHECK_TYPE('u_char', 'uint8_t')
conf.CHECK_TYPE('u_int32_t', 'uint32_t')
diff --git a/source4/kdc/wscript_build b/source4/kdc/wscript_build
index 6e35e722626..bbfc7017391 100644
--- a/source4/kdc/wscript_build
+++ b/source4/kdc/wscript_build
@@ -1,3 +1,5 @@
+#!/usr/bin/env python
+
bld.SAMBA_MODULE('KDC',
source='kdc.c kpasswdd.c',
subsystem='service',
diff --git a/source4/ldap_server/wscript_build b/source4/ldap_server/wscript_build
index a92cacc7162..0e56c3ee2aa 100644
--- a/source4/ldap_server/wscript_build
+++ b/source4/ldap_server/wscript_build
@@ -1,3 +1,5 @@
+#!/usr/bin/env python
+
# AUTOGENERATED by mktowscript.pl from ../../source4/ldap_server/config.mk
# Please remove this notice if hand editing
diff --git a/source4/lib/cmdline/wscript_build b/source4/lib/cmdline/wscript_build
index 660f471bb6c..4494c7d2eb9 100644
--- a/source4/lib/cmdline/wscript_build
+++ b/source4/lib/cmdline/wscript_build
@@ -1,3 +1,5 @@
+#!/usr/bin/env python
+
bld.SAMBA_SUBSYSTEM('LIBCMDLINE_CREDENTIALS',
source='credentials.c',
autoproto='credentials.h',
diff --git a/source4/lib/com/wscript_build b/source4/lib/com/wscript_build
index d836904c166..9d962e16a5a 100644
--- a/source4/lib/com/wscript_build
+++ b/source4/lib/com/wscript_build
@@ -1,3 +1,5 @@
+#!/usr/bin/env python
+
bld.SAMBA_SUBSYSTEM('COM',
source='tables.c rot.c main.c',
deps='LIBSAMBA-UTIL LIBSAMBA-HOSTCONFIG LIBEVENTS LIBNDR PIDL_DCOM'
diff --git a/source4/lib/events/wscript_build b/source4/lib/events/wscript_build
index 14cc9c8195e..49328e8fa6b 100644
--- a/source4/lib/events/wscript_build
+++ b/source4/lib/events/wscript_build
@@ -1,3 +1,5 @@
+#!/usr/bin/env python
+
# AUTOGENERATED by mktowscript.pl from ../../source4/lib/events/config.mk
# Please remove this notice if hand editing
diff --git a/source4/lib/ldb-samba/wscript_build b/source4/lib/ldb-samba/wscript_build
index f0dd7b3a787..852e971a4e2 100644
--- a/source4/lib/ldb-samba/wscript_build
+++ b/source4/lib/ldb-samba/wscript_build
@@ -1,3 +1,5 @@
+#!/usr/bin/env python
+
# AUTOGENERATED by mktowscript.pl from ../../source4/lib/ldb-samba/config.mk
# Please remove this notice if hand editing
diff --git a/source4/lib/ldb/wscript b/source4/lib/ldb/wscript
index 58b3e4b93a8..988f95a8cd9 100644
--- a/source4/lib/ldb/wscript
+++ b/source4/lib/ldb/wscript
@@ -1,3 +1,5 @@
+#!/usr/bin/env python
+
VERSION = '0.9.10'
srcdir = '../../..'
diff --git a/source4/lib/messaging/wscript_build b/source4/lib/messaging/wscript_build
index ba98321b01a..203fd8e5a12 100644
--- a/source4/lib/messaging/wscript_build
+++ b/source4/lib/messaging/wscript_build
@@ -1,3 +1,5 @@
+#!/usr/bin/env python
+
# AUTOGENERATED by mktowscript.pl from ../../source4/lib/messaging/config.mk
# Please remove this notice if hand editing
diff --git a/source4/lib/registry/wscript_build b/source4/lib/registry/wscript_build
index 5c1f03057d7..16276674f69 100644
--- a/source4/lib/registry/wscript_build
+++ b/source4/lib/registry/wscript_build
@@ -1,3 +1,5 @@
+#!/usr/bin/env python
+
bld.SAMBA_PIDL('PIDL_REG',
source='regf.idl',
options='--header --tdr-parser')
diff --git a/source4/lib/samba3/wscript_build b/source4/lib/samba3/wscript_build
index 51a511e8e16..393f549b560 100644
--- a/source4/lib/samba3/wscript_build
+++ b/source4/lib/samba3/wscript_build
@@ -1,3 +1,5 @@
+#!/usr/bin/env python
+
# AUTOGENERATED by mktowscript.pl from ../../source4/lib/samba3/config.mk
# Please remove this notice if hand editing
diff --git a/source4/lib/smbreadline/wscript_build b/source4/lib/smbreadline/wscript_build
index 15a746060c7..c0aacab076f 100644
--- a/source4/lib/smbreadline/wscript_build
+++ b/source4/lib/smbreadline/wscript_build
@@ -1,3 +1,5 @@
+#!/usr/bin/env python
+
termlib=bld.env.READLINE_TERMLIB or ''
diff --git a/source4/lib/smbreadline/wscript_configure b/source4/lib/smbreadline/wscript_configure
index d89c357cec8..76273ddc237 100644
--- a/source4/lib/smbreadline/wscript_configure
+++ b/source4/lib/smbreadline/wscript_configure
@@ -1,3 +1,5 @@
+#!/usr/bin/env python
+
conf.CHECK_HEADERS('readline.h history.h readline/readline.h readline/history.h')
for termlib in ['ncurses', 'curses', 'termcap', 'terminfo', 'termlib', 'tinfo']:
diff --git a/source4/lib/socket/wscript_build b/source4/lib/socket/wscript_build
index 7e456a8391a..fdbc96ff091 100644
--- a/source4/lib/socket/wscript_build
+++ b/source4/lib/socket/wscript_build
@@ -1,3 +1,5 @@
+#!/usr/bin/env python
+
# AUTOGENERATED by mktowscript.pl from ../../source4/lib/socket/config.mk
# Please remove this notice if hand editing
diff --git a/source4/lib/stream/wscript_build b/source4/lib/stream/wscript_build
index cf7d5f2a438..6ef6d30fa8b 100644
--- a/source4/lib/stream/wscript_build
+++ b/source4/lib/stream/wscript_build
@@ -1,3 +1,5 @@
+#!/usr/bin/env python
+
# AUTOGENERATED by mktowscript.pl from ../../source4/lib/stream/config.mk
# Please remove this notice if hand editing
diff --git a/source4/lib/tls/wscript b/source4/lib/tls/wscript
index 020f2502fd3..8b6f7820288 100644
--- a/source4/lib/tls/wscript
+++ b/source4/lib/tls/wscript
@@ -1,3 +1,5 @@
+#!/usr/bin/env python
+
import Options
from optparse import SUPPRESS_HELP
diff --git a/source4/lib/wmi/wscript_build b/source4/lib/wmi/wscript_build
index f8f641def06..04ef860d676 100644
--- a/source4/lib/wmi/wscript_build
+++ b/source4/lib/wmi/wscript_build
@@ -1,3 +1,5 @@
+#!/usr/bin/env python
+
# AUTOGENERATED by mktowscript.pl from ../../source4/lib/wmi/config.mk
# Please remove this notice if hand editing
diff --git a/source4/lib/wscript_build b/source4/lib/wscript_build
index e2c77b25e1a..51c8f4f3ebe 100644
--- a/source4/lib/wscript_build
+++ b/source4/lib/wscript_build
@@ -1,3 +1,5 @@
+#!/usr/bin/env python
+
# AUTOGENERATED by mktowscript.pl from ../../source4/lib/basic.mk
# Please remove this notice if hand editing
diff --git a/source4/libcli/ldap/wscript_build b/source4/libcli/ldap/wscript_build
index 3ed3627dc19..47372d713c4 100644
--- a/source4/libcli/ldap/wscript_build
+++ b/source4/libcli/ldap/wscript_build
@@ -1,3 +1,5 @@
+#!/usr/bin/env python
+
bld.SAMBA_SUBSYSTEM('LIBCLI_LDAP',
source='ldap_client.c ldap_bind.c ldap_ildap.c ldap_controls.c',
autoproto='ldap_proto.h',
diff --git a/source4/libcli/security/wscript_build b/source4/libcli/security/wscript_build
index f2236a4a9ce..22747368c2e 100644
--- a/source4/libcli/security/wscript_build
+++ b/source4/libcli/security/wscript_build
@@ -1,3 +1,5 @@
+#!/usr/bin/env python
+
# AUTOGENERATED by mktowscript.pl from ../../source4/libcli/security/config.mk
# Please remove this notice if hand editing
diff --git a/source4/libcli/smb2/wscript_build b/source4/libcli/smb2/wscript_build
index a7cecab3770..81a2f7db7eb 100644
--- a/source4/libcli/smb2/wscript_build
+++ b/source4/libcli/smb2/wscript_build
@@ -1,3 +1,5 @@
+#!/usr/bin/env python
+
# AUTOGENERATED by mktowscript.pl from ../../source4/libcli/smb2/config.mk
# Please remove this notice if hand editing
diff --git a/source4/libcli/wbclient/wscript_build b/source4/libcli/wbclient/wscript_build
index 6bf5b15c6d0..600a66cc9b1 100644
--- a/source4/libcli/wbclient/wscript_build
+++ b/source4/libcli/wbclient/wscript_build
@@ -1,3 +1,5 @@
+#!/usr/bin/env python
+
# AUTOGENERATED by mktowscript.pl from ../../source4/libcli/wbclient/config.mk
# Please remove this notice if hand editing
diff --git a/source4/libcli/wscript_build b/source4/libcli/wscript_build
index 7c4505c261e..d06ab4d7552 100644
--- a/source4/libcli/wscript_build
+++ b/source4/libcli/wscript_build
@@ -1,3 +1,5 @@
+#!/usr/bin/env python
+
bld.BUILD_SUBDIR('ldap')
bld.BUILD_SUBDIR('security')
bld.BUILD_SUBDIR('wbclient')
diff --git a/source4/libnet/wscript_build b/source4/libnet/wscript_build
index b55b7fe84f1..17a2eb29c60 100644
--- a/source4/libnet/wscript_build
+++ b/source4/libnet/wscript_build
@@ -1,3 +1,5 @@
+#!/usr/bin/env python
+
# AUTOGENERATED by mktowscript.pl from ../../source4/libnet/config.mk
# Please remove this notice if hand editing
diff --git a/source4/librpc/idl/wscript_build b/source4/librpc/idl/wscript_build
index 8ce4b4cefd5..0fcb420cbe2 100644
--- a/source4/librpc/idl/wscript_build
+++ b/source4/librpc/idl/wscript_build
@@ -1,3 +1,5 @@
+#!/usr/bin/env python
+
bld.SAMBA_PIDL_LIST('PIDL',
source='''irpc.idl nfs4acl.idl notify.idl ntp_signd.idl
opendb.idl sasl_helpers.idl server_id.idl winbind.idl
diff --git a/source4/librpc/wscript_build b/source4/librpc/wscript_build
index 4a57091eb4b..5328d1da2ca 100644
--- a/source4/librpc/wscript_build
+++ b/source4/librpc/wscript_build
@@ -1,3 +1,5 @@
+#!/usr/bin/env python
+
bld.BUILD_SUBDIR('../../librpc/idl')
bld.BUILD_SUBDIR('idl')
diff --git a/source4/nbt_server/wscript_build b/source4/nbt_server/wscript_build
index d1928203c43..20c00a70678 100644
--- a/source4/nbt_server/wscript_build
+++ b/source4/nbt_server/wscript_build
@@ -1,3 +1,5 @@
+#!/usr/bin/env python
+
# AUTOGENERATED by mktowscript.pl from ../../source4/nbt_server/config.mk
# Please remove this notice if hand editing
diff --git a/source4/ntp_signd/wscript_build b/source4/ntp_signd/wscript_build
index 16dec88f53d..54224644294 100644
--- a/source4/ntp_signd/wscript_build
+++ b/source4/ntp_signd/wscript_build
@@ -1,3 +1,5 @@
+#!/usr/bin/env python
+
# AUTOGENERATED by mktowscript.pl from ../../source4/ntp_signd/config.mk
# Please remove this notice if hand editing
diff --git a/source4/ntptr/wscript_build b/source4/ntptr/wscript_build
index 3282e8693f2..7f59e5e0ebd 100644
--- a/source4/ntptr/wscript_build
+++ b/source4/ntptr/wscript_build
@@ -1,3 +1,5 @@
+#!/usr/bin/env python
+
# AUTOGENERATED by mktowscript.pl from ../../source4/ntptr/config.mk
# Please remove this notice if hand editing
diff --git a/source4/ntvfs/common/wscript_build b/source4/ntvfs/common/wscript_build
index 1ceb70e64ea..2f7ec06774c 100644
--- a/source4/ntvfs/common/wscript_build
+++ b/source4/ntvfs/common/wscript_build
@@ -1,3 +1,5 @@
+#!/usr/bin/env python
+
# AUTOGENERATED by mktowscript.pl from ../../source4/ntvfs/common/config.mk
# Please remove this notice if hand editing
diff --git a/source4/ntvfs/posix/wscript_build b/source4/ntvfs/posix/wscript_build
index 070c2fb8f6a..08b32980e73 100644
--- a/source4/ntvfs/posix/wscript_build
+++ b/source4/ntvfs/posix/wscript_build
@@ -1,3 +1,5 @@
+#!/usr/bin/env python
+
bld.SAMBA_SUBSYSTEM('pvfs_acl',
source='pvfs_acl.c',
autoproto='vfs_acl_proto.h'
diff --git a/source4/ntvfs/sysdep/wscript_build b/source4/ntvfs/sysdep/wscript_build
index eb9612936ca..6f0cc521ad7 100644
--- a/source4/ntvfs/sysdep/wscript_build
+++ b/source4/ntvfs/sysdep/wscript_build
@@ -1,3 +1,5 @@
+#!/usr/bin/env python
+
bld.SAMBA_MODULE('sys_notify_inotify',
source='inotify.c',
subsystem='sys_notify',
diff --git a/source4/ntvfs/sysdep/wscript_configure b/source4/ntvfs/sysdep/wscript_configure
index f1d572e5279..f1e09ddd3d1 100644
--- a/source4/ntvfs/sysdep/wscript_configure
+++ b/source4/ntvfs/sysdep/wscript_configure
@@ -1,3 +1,5 @@
+#!/usr/bin/env python
+
conf.CHECK_HEADERS('linux/inotify.h asm/unistd.h sys/inotify.h', add_headers=False)
conf.CHECK_FUNCS('inotify_init')
diff --git a/source4/ntvfs/unixuid/wscript_build b/source4/ntvfs/unixuid/wscript_build
index c30c47e3922..a40702e6386 100644
--- a/source4/ntvfs/unixuid/wscript_build
+++ b/source4/ntvfs/unixuid/wscript_build
@@ -1,3 +1,5 @@
+#!/usr/bin/env python
+
# AUTOGENERATED by mktowscript.pl from ../../source4/ntvfs/unixuid/config.mk
# Please remove this notice if hand editing
diff --git a/source4/ntvfs/wscript_build b/source4/ntvfs/wscript_build
index 7b4c10d8ccd..a847b81c799 100644
--- a/source4/ntvfs/wscript_build
+++ b/source4/ntvfs/wscript_build
@@ -1,3 +1,5 @@
+#!/usr/bin/env python
+
# AUTOGENERATED by mktowscript.pl from ../../source4/ntvfs/config.mk
# Please remove this notice if hand editing
diff --git a/source4/param/wscript_build b/source4/param/wscript_build
index 1da3b475e1e..351dedfaf1b 100644
--- a/source4/param/wscript_build
+++ b/source4/param/wscript_build
@@ -1,3 +1,5 @@
+#!/usr/bin/env python
+
bld.SAMBA_LIBRARY('LIBSAMBA-HOSTCONFIG',
source='loadparm.c generic.c util.c',
pc_files='samba-hostconfig.pc',
diff --git a/source4/rpc_server/wscript_build b/source4/rpc_server/wscript_build
index 841554abfcb..f2808a4a239 100644
--- a/source4/rpc_server/wscript_build
+++ b/source4/rpc_server/wscript_build
@@ -1,3 +1,5 @@
+#!/usr/bin/env python
+
bld.SAMBA_SUBSYSTEM('DCERPC_COMMON',
source='common/server_info.c common/share_info.c common/forward.c',
autoproto='common/proto.h',
diff --git a/source4/scripting/python/samba_external/wscript_build b/source4/scripting/python/samba_external/wscript_build
index fcb2135e278..45e00d062af 100644
--- a/source4/scripting/python/samba_external/wscript_build
+++ b/source4/scripting/python/samba_external/wscript_build
@@ -1,3 +1,5 @@
+#!/usr/bin/env python
+
# work out what external modules need to be installed
external_list = []
try:
diff --git a/source4/scripting/python/wscript b/source4/scripting/python/wscript
index 3dd35b6a29a..14e924b3782 100644
--- a/source4/scripting/python/wscript
+++ b/source4/scripting/python/wscript
@@ -1,3 +1,5 @@
+#!/usr/bin/env python
+
def set_options(opt):
# enable options related to building python extensions
opt.tool_options('python') # options for disabling pyc or pyo compilation
diff --git a/source4/scripting/python/wscript_build b/source4/scripting/python/wscript_build
index 6d2fe9204cc..0d0fabd54e7 100644
--- a/source4/scripting/python/wscript_build
+++ b/source4/scripting/python/wscript_build
@@ -1,3 +1,5 @@
+#!/usr/bin/env python
+
bld.SAMBA_PYTHON('LIBPYTHON',
source='modules.c',
public_deps='EXT_LIB_PYTHON',
diff --git a/source4/scripting/wscript_build b/source4/scripting/wscript_build
index 94928deb0ed..d48f24c6819 100644
--- a/source4/scripting/wscript_build
+++ b/source4/scripting/wscript_build
@@ -1,3 +1,5 @@
+#!/usr/bin/env python
+
bld.INSTALL_FILES('${SBINDIR}','bin/upgradeprovision bin/samba_dnsupdate',
chmod=0755, python_fixup=True, flat=True)
diff --git a/source4/selftest/wscript b/source4/selftest/wscript
index 7ecb6bab363..b588648af93 100644
--- a/source4/selftest/wscript
+++ b/source4/selftest/wscript
@@ -1,3 +1,5 @@
+#!/usr/bin/env python
+
# selftest main code.
import Scripting, os, Options, Utils, Environment, optparse, sys
diff --git a/source4/setup/wscript_build b/source4/setup/wscript_build
index 06ce1cccd45..ea06750aee9 100644
--- a/source4/setup/wscript_build
+++ b/source4/setup/wscript_build
@@ -1,3 +1,5 @@
+#!/usr/bin/env python
+
bld.INSTALL_WILDCARD('${SETUPDIR}', 'ad-schema/*.txt')
bld.INSTALL_WILDCARD('${SETUPDIR}', 'display-specifiers/*.txt')
diff --git a/source4/smb_server/smb/wscript_build b/source4/smb_server/smb/wscript_build
index 522fc856bc0..fc806266f37 100644
--- a/source4/smb_server/smb/wscript_build
+++ b/source4/smb_server/smb/wscript_build
@@ -1,3 +1,5 @@
+#!/usr/bin/env python
+
# AUTOGENERATED by mktowscript.pl from ../../source4/smb_server/smb/config.mk
# Please remove this notice if hand editing
diff --git a/source4/smb_server/smb2/wscript_build b/source4/smb_server/smb2/wscript_build
index 698bc9c52d1..5d662bfb464 100644
--- a/source4/smb_server/smb2/wscript_build
+++ b/source4/smb_server/smb2/wscript_build
@@ -1,3 +1,5 @@
+#!/usr/bin/env python
+
# AUTOGENERATED by mktowscript.pl from ../../source4/smb_server/smb2/config.mk
# Please remove this notice if hand editing
diff --git a/source4/smb_server/wscript_build b/source4/smb_server/wscript_build
index 689ff94f205..ca1739accba 100644
--- a/source4/smb_server/wscript_build
+++ b/source4/smb_server/wscript_build
@@ -1,3 +1,5 @@
+#!/usr/bin/env python
+
# AUTOGENERATED by mktowscript.pl from ../../source4/smb_server/config.mk
# Please remove this notice if hand editing
diff --git a/source4/smbd/wscript_build b/source4/smbd/wscript_build
index c92e85d07f2..da49ddb8a41 100644
--- a/source4/smbd/wscript_build
+++ b/source4/smbd/wscript_build
@@ -1,3 +1,5 @@
+#!/usr/bin/env python
+
# AUTOGENERATED by mktowscript.pl from ../../source4/smbd/config.mk
# Please remove this notice if hand editing
diff --git a/source4/torture/drs/wscript_build b/source4/torture/drs/wscript_build
index 4008ac9a41e..90610159032 100644
--- a/source4/torture/drs/wscript_build
+++ b/source4/torture/drs/wscript_build
@@ -1,3 +1,5 @@
+#!/usr/bin/env python
+
# AUTOGENERATED by mktowscript.pl from ../../source4/torture/drs/config.mk
# Please remove this notice if hand editing
diff --git a/source4/torture/libnetapi/wscript_build b/source4/torture/libnetapi/wscript_build
index bea5f06f9e9..c1b116b95de 100644
--- a/source4/torture/libnetapi/wscript_build
+++ b/source4/torture/libnetapi/wscript_build
@@ -1,3 +1,5 @@
+#!/usr/bin/env python
+
# AUTOGENERATED by mktowscript.pl from ../../source4/torture/libnetapi/config.mk
# Please remove this notice if hand editing
diff --git a/source4/torture/libsmbclient/wscript_build b/source4/torture/libsmbclient/wscript_build
index 6fd5e8d7a3a..7588d37b1bf 100644
--- a/source4/torture/libsmbclient/wscript_build
+++ b/source4/torture/libsmbclient/wscript_build
@@ -1,3 +1,5 @@
+#!/usr/bin/env python
+
# AUTOGENERATED by mktowscript.pl from ../../source4/torture/libsmbclient/config.mk
# Please remove this notice if hand editing
diff --git a/source4/torture/local/wscript_build b/source4/torture/local/wscript_build
index 0047cfaac3e..3c3c76e5c27 100644
--- a/source4/torture/local/wscript_build
+++ b/source4/torture/local/wscript_build
@@ -1,3 +1,5 @@
+#!/usr/bin/env python
+
bld.SAMBA_MODULE('TORTURE_LOCAL',
source='../../../lib/util/charset/tests/iconv.c ../../../lib/talloc/testsuite.c ../../../lib/replace/test/getifaddrs.c ../../../lib/replace/test/os2_delete.c ../../../lib/replace/test/strptime.c ../../../lib/replace/test/testsuite.c ../../lib/messaging/tests/messaging.c ../../lib/messaging/tests/irpc.c ../../librpc/tests/binding_string.c ../../../lib/util/tests/idtree.c ../../../lib/util/tests/dlinklist.c ../../lib/socket/testsuite.c ../../../lib/socket_wrapper/testsuite.c ../../../lib/nss_wrapper/testsuite.c ../../libcli/resolve/testsuite.c ../../../lib/util/tests/strlist.c ../../../lib/util/tests/parmlist.c ../../../lib/util/tests/str.c ../../../lib/util/tests/time.c ../../../lib/util/tests/asn1_tests.c ../../../lib/util/tests/data_blob.c ../../../lib/util/tests/file.c ../../../lib/util/tests/genrand.c ../../../lib/compression/testsuite.c ../../../lib/util/charset/tests/charset.c ../../libcli/security/tests/sddl.c ../../../lib/tdr/testsuite.c ../../../lib/tevent/testsuite.c ../../param/tests/share.c ../../param/tests/loadparm.c ../../auth/credentials/tests/simple.c local.c dbspeed.c torture.c ../ldb/ldb.c ../../dsdb/common/tests/dsdb_dn.c ../../dsdb/schema/tests/schema_syntax.c',
autoproto='proto.h',
diff --git a/source4/torture/smb2/wscript_build b/source4/torture/smb2/wscript_build
index 7d4f48813c0..fae2ef94712 100644
--- a/source4/torture/smb2/wscript_build
+++ b/source4/torture/smb2/wscript_build
@@ -1,3 +1,5 @@
+#!/usr/bin/env python
+
# AUTOGENERATED by mktowscript.pl from ../../source4/torture/smb2/config.mk
# Please remove this notice if hand editing
diff --git a/source4/torture/winbind/wscript_build b/source4/torture/winbind/wscript_build
index 4345b7bd0b7..8fc4f0d3bf5 100644
--- a/source4/torture/winbind/wscript_build
+++ b/source4/torture/winbind/wscript_build
@@ -1,3 +1,5 @@
+#!/usr/bin/env python
+
bld.SAMBA_MODULE('TORTURE_WINBIND',
source='winbind.c struct_based.c ../../../nsswitch/libwbclient/tests/wbclient.c',
autoproto='proto.h',
diff --git a/source4/torture/wscript_build b/source4/torture/wscript_build
index f4822a170c9..aee3ff41799 100644
--- a/source4/torture/wscript_build
+++ b/source4/torture/wscript_build
@@ -1,3 +1,5 @@
+#!/usr/bin/env python
+
# AUTOGENERATED by mktowscript.pl from ../../source4/torture/config.mk
# Please remove this notice if hand editing
diff --git a/source4/utils/net/wscript_build b/source4/utils/net/wscript_build
index ef31d0c3d36..9845be44cc0 100644
--- a/source4/utils/net/wscript_build
+++ b/source4/utils/net/wscript_build
@@ -1,3 +1,5 @@
+#!/usr/bin/env python
+
bld.SAMBA_MODULE('net_drs',
source='drs/net_drs.c drs/net_drs_bind.c drs/net_drs_kcc.c drs/net_drs_replicate.c drs/net_drs_showrepl.c',
autoproto='drs/net_drs_proto.h',
diff --git a/source4/utils/wscript_build b/source4/utils/wscript_build
index d3ab2559211..6e43425e98b 100644
--- a/source4/utils/wscript_build
+++ b/source4/utils/wscript_build
@@ -1,3 +1,5 @@
+#!/usr/bin/env python
+
# AUTOGENERATED by mktowscript.pl from ../../source4/utils/config.mk
# Please remove this notice if hand editing
diff --git a/source4/web_server/wscript_build b/source4/web_server/wscript_build
index 872554361e5..ac2d63078e1 100644
--- a/source4/web_server/wscript_build
+++ b/source4/web_server/wscript_build
@@ -1,3 +1,5 @@
+#!/usr/bin/env python
+
bld.SAMBA_PYTHON('WEB_WSGI',
source='wsgi.c'
diff --git a/source4/winbind/wscript_build b/source4/winbind/wscript_build
index e0c44c35d13..22932b6cd1f 100644
--- a/source4/winbind/wscript_build
+++ b/source4/winbind/wscript_build
@@ -1,3 +1,5 @@
+#!/usr/bin/env python
+
# AUTOGENERATED by mktowscript.pl from ../../source4/winbind/config.mk
# Please remove this notice if hand editing
diff --git a/source4/wrepl_server/wscript_build b/source4/wrepl_server/wscript_build
index 4e0542b9778..246e46590bd 100644
--- a/source4/wrepl_server/wscript_build
+++ b/source4/wrepl_server/wscript_build
@@ -1,3 +1,5 @@
+#!/usr/bin/env python
+
# AUTOGENERATED by mktowscript.pl from ../../source4/wrepl_server/config.mk
# Please remove this notice if hand editing
diff --git a/source4/wscript_build b/source4/wscript_build
index 62b5cbaba35..90154336cd2 100644
--- a/source4/wscript_build
+++ b/source4/wscript_build
@@ -1,3 +1,5 @@
+#!/usr/bin/env python
+
# top level waf build script for samba4
import os