summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2010-03-28 09:48:49 +1100
committerAndrew Tridgell <tridge@samba.org>2010-04-06 20:27:11 +1000
commitf9eae32f4b4284e3820f61f3d40c46a41be97227 (patch)
tree780876707937fd22d96b92c6930863dc59645351 /lib
parentc64ce3cd03695b5c0659c4c2818de2cd3953f910 (diff)
downloadsamba-f9eae32f4b4284e3820f61f3d40c46a41be97227.tar.gz
s4-waf: mark the wscript files as python so vim/emacs knows how to highlight them
Diffstat (limited to 'lib')
-rw-r--r--lib/async_req/wscript_build2
-rw-r--r--lib/crypto/wscript_build2
-rw-r--r--lib/nss_wrapper/wscript2
-rw-r--r--lib/nss_wrapper/wscript_build2
-rw-r--r--lib/popt/wscript2
-rw-r--r--lib/replace/system/wscript_configure2
-rw-r--r--lib/replace/wscript2
-rw-r--r--lib/smbconf/wscript_build2
-rw-r--r--lib/socket_wrapper/wscript2
-rw-r--r--lib/socket_wrapper/wscript_build2
-rw-r--r--lib/subunit/python/wscript_build2
-rw-r--r--lib/talloc/wscript2
-rw-r--r--lib/tdb/wscript2
-rw-r--r--lib/tdr/wscript_build2
-rw-r--r--lib/tevent/wscript2
-rw-r--r--lib/torture/wscript_build2
-rw-r--r--lib/tsocket/wscript_build2
-rw-r--r--lib/uid_wrapper/wscript2
-rw-r--r--lib/uid_wrapper/wscript_build2
-rw-r--r--lib/util/charset/wscript_build2
-rw-r--r--lib/util/charset/wscript_configure2
-rw-r--r--lib/util/wscript_build2
-rw-r--r--lib/util/wscript_configure2
-rw-r--r--lib/zlib/wscript2
24 files changed, 48 insertions, 0 deletions
diff --git a/lib/async_req/wscript_build b/lib/async_req/wscript_build
index 201afbb145..1999a1a7ef 100644
--- a/lib/async_req/wscript_build
+++ b/lib/async_req/wscript_build
@@ -1,3 +1,5 @@
+#!/usr/bin/env python
+
# AUTOGENERATED by mktowscript.pl from ../../lib/async_req/config.mk
# Please remove this notice if hand editing
diff --git a/lib/crypto/wscript_build b/lib/crypto/wscript_build
index 521cc9006a..1b6a03d32e 100644
--- a/lib/crypto/wscript_build
+++ b/lib/crypto/wscript_build
@@ -1,3 +1,5 @@
+#!/usr/bin/env python
+
bld.SAMBA_SUBSYSTEM('LIBCRYPTO',
source='crc32.c md5.c hmacmd5.c md4.c arcfour.c sha256.c hmacsha256.c aes.c rijndael-alg-fst.c',
deps='talloc'
diff --git a/lib/nss_wrapper/wscript b/lib/nss_wrapper/wscript
index ee95e7bbd9..c6e8e0d306 100644
--- a/lib/nss_wrapper/wscript
+++ b/lib/nss_wrapper/wscript
@@ -1,3 +1,5 @@
+#!/usr/bin/env python
+
import Options
def set_options(opt):
diff --git a/lib/nss_wrapper/wscript_build b/lib/nss_wrapper/wscript_build
index c1e5b9c66d..f026ec615d 100644
--- a/lib/nss_wrapper/wscript_build
+++ b/lib/nss_wrapper/wscript_build
@@ -1,3 +1,5 @@
+#!/usr/bin/env python
+
# AUTOGENERATED by mktowscript.pl from ../../lib/nss_wrapper/config.mk
# Please remove this notice if hand editing
diff --git a/lib/popt/wscript b/lib/popt/wscript
index af432c4d4e..88eed81c92 100644
--- a/lib/popt/wscript
+++ b/lib/popt/wscript
@@ -1,3 +1,5 @@
+#!/usr/bin/env python
+
import Options
def set_options(opt):
diff --git a/lib/replace/system/wscript_configure b/lib/replace/system/wscript_configure
index 410af09815..2035474b32 100644
--- a/lib/replace/system/wscript_configure
+++ b/lib/replace/system/wscript_configure
@@ -1,3 +1,5 @@
+#!/usr/bin/env python
+
conf.CHECK_HEADERS('sys/capability.h')
conf.CHECK_FUNCS('getpwnam_r getpwuid_r getpwent_r')
diff --git a/lib/replace/wscript b/lib/replace/wscript
index 57b6e22e3f..b10db87054 100644
--- a/lib/replace/wscript
+++ b/lib/replace/wscript
@@ -1,3 +1,5 @@
+#!/usr/bin/env python
+
srcdir = '../..'
blddir = 'bin'
diff --git a/lib/smbconf/wscript_build b/lib/smbconf/wscript_build
index aa8a3c676d..f47d05144f 100644
--- a/lib/smbconf/wscript_build
+++ b/lib/smbconf/wscript_build
@@ -1,3 +1,5 @@
+#!/usr/bin/env python
+
# AUTOGENERATED by mktowscript.pl from ../../lib/smbconf/config.mk
# Please remove this notice if hand editing
diff --git a/lib/socket_wrapper/wscript b/lib/socket_wrapper/wscript
index edd7af69f4..f4fdff2ab9 100644
--- a/lib/socket_wrapper/wscript
+++ b/lib/socket_wrapper/wscript
@@ -1,3 +1,5 @@
+#!/usr/bin/env python
+
import Options
def set_options(opt):
diff --git a/lib/socket_wrapper/wscript_build b/lib/socket_wrapper/wscript_build
index f99df97866..d5ca1107a6 100644
--- a/lib/socket_wrapper/wscript_build
+++ b/lib/socket_wrapper/wscript_build
@@ -1,3 +1,5 @@
+#!/usr/bin/env python
+
bld.SAMBA_SUBSYSTEM('SOCKET_WRAPPER',
source='socket_wrapper.c'
)
diff --git a/lib/subunit/python/wscript_build b/lib/subunit/python/wscript_build
index a4d1bec301..7e53d17ba5 100644
--- a/lib/subunit/python/wscript_build
+++ b/lib/subunit/python/wscript_build
@@ -1,3 +1,5 @@
+#!/usr/bin/env python
+
# install out various python scripts for use by make test
diff --git a/lib/talloc/wscript b/lib/talloc/wscript
index ad2a38e9f0..33c77a8832 100644
--- a/lib/talloc/wscript
+++ b/lib/talloc/wscript
@@ -1,3 +1,5 @@
+#!/usr/bin/env python
+
VERSION = '2.0.1'
srcdir = '../..'
diff --git a/lib/tdb/wscript b/lib/tdb/wscript
index b8927973a0..39ea7b18d2 100644
--- a/lib/tdb/wscript
+++ b/lib/tdb/wscript
@@ -1,3 +1,5 @@
+#!/usr/bin/env python
+
VERSION='1.2.1'
srcdir = '../..'
diff --git a/lib/tdr/wscript_build b/lib/tdr/wscript_build
index 29e7e158ff..3706d21dfd 100644
--- a/lib/tdr/wscript_build
+++ b/lib/tdr/wscript_build
@@ -1,3 +1,5 @@
+#!/usr/bin/env python
+
# AUTOGENERATED by mktowscript.pl from ../../lib/tdr/config.mk
# Please remove this notice if hand editing
diff --git a/lib/tevent/wscript b/lib/tevent/wscript
index 6d7414addb..1ac503e31d 100644
--- a/lib/tevent/wscript
+++ b/lib/tevent/wscript
@@ -1,3 +1,5 @@
+#!/usr/bin/env python
+
VERSION = '0.9.8'
srcdir = '../..'
diff --git a/lib/torture/wscript_build b/lib/torture/wscript_build
index fa5fd3b062..2069a92200 100644
--- a/lib/torture/wscript_build
+++ b/lib/torture/wscript_build
@@ -1,3 +1,5 @@
+#!/usr/bin/env python
+
# AUTOGENERATED by mktowscript.pl from ../../lib/torture/config.mk
# Please remove this notice if hand editing
diff --git a/lib/tsocket/wscript_build b/lib/tsocket/wscript_build
index 341782d7b5..fc443e98a6 100644
--- a/lib/tsocket/wscript_build
+++ b/lib/tsocket/wscript_build
@@ -1,3 +1,5 @@
+#!/usr/bin/env python
+
# AUTOGENERATED by mktowscript.pl from ../../lib/tsocket/config.mk
# Please remove this notice if hand editing
diff --git a/lib/uid_wrapper/wscript b/lib/uid_wrapper/wscript
index 2ca2af6648..0937176c1f 100644
--- a/lib/uid_wrapper/wscript
+++ b/lib/uid_wrapper/wscript
@@ -1,3 +1,5 @@
+#!/usr/bin/env python
+
import Options
def set_options(opt):
diff --git a/lib/uid_wrapper/wscript_build b/lib/uid_wrapper/wscript_build
index f13b3e739c..79fb6cd335 100644
--- a/lib/uid_wrapper/wscript_build
+++ b/lib/uid_wrapper/wscript_build
@@ -1,3 +1,5 @@
+#!/usr/bin/env python
+
# AUTOGENERATED by mktowscript.pl from ../../lib/uid_wrapper/config.mk
# Please remove this notice if hand editing
diff --git a/lib/util/charset/wscript_build b/lib/util/charset/wscript_build
index 880c4dd9e8..c5824d8144 100644
--- a/lib/util/charset/wscript_build
+++ b/lib/util/charset/wscript_build
@@ -1,3 +1,5 @@
+#!/usr/bin/env python
+
# AUTOGENERATED by mktowscript.pl from ../../lib/util/charset/config.mk
# Please remove this notice if hand editing
diff --git a/lib/util/charset/wscript_configure b/lib/util/charset/wscript_configure
index fe99600803..274a2d7630 100644
--- a/lib/util/charset/wscript_configure
+++ b/lib/util/charset/wscript_configure
@@ -1,3 +1,5 @@
+#!/usr/bin/env python
+
# rather strangely, we need to look for libiconv before checking libc
# as the external libiconv can use a macro to override iconv_open to libiconv_open
# and then we may find the wrong iconv.h later due to other packages looking
diff --git a/lib/util/wscript_build b/lib/util/wscript_build
index 0cd701dbd1..57ac729f47 100644
--- a/lib/util/wscript_build
+++ b/lib/util/wscript_build
@@ -1,3 +1,5 @@
+#!/usr/bin/env python
+
bld.SAMBA_LIBRARY('LIBSAMBA-UTIL',
source='xfile.c debug.c fault.c signal.c system.c time.c genrand.c dprintf.c util_str.c rfc1738.c substitute.c util_strlist.c util_file.c data_blob.c util.c blocking.c util_net.c fsusage.c ms_fnmatch.c mutex.c idtree.c become_daemon.c rbtree.c talloc_stack.c smb_threads.c params.c parmlist.c util_id.c',
public_deps='talloc LIBCRYPTO LIBREPLACE_NETWORK CHARSET execinfo UID_WRAPPER',
diff --git a/lib/util/wscript_configure b/lib/util/wscript_configure
index e7a2cb64a4..8bd196f8d3 100644
--- a/lib/util/wscript_configure
+++ b/lib/util/wscript_configure
@@ -1,3 +1,5 @@
+#!/usr/bin/env python
+
# backtrace could be in libexecinfo or in libc
conf.CHECK_FUNCS_IN('backtrace', 'execinfo', checklibc=True, headers='execinfo.h')
diff --git a/lib/zlib/wscript b/lib/zlib/wscript
index 51e4690869..306a55b5a2 100644
--- a/lib/zlib/wscript
+++ b/lib/zlib/wscript
@@ -1,3 +1,5 @@
+#!/usr/bin/env python
+
def configure(conf):
conf.CHECK_HEADERS('zlib.h')
conf.CHECK_FUNCS_IN('zlibVersion', 'z')