1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-22 13:34:15 +03:00

s4-waf: mark the wscript files as python so vim/emacs knows how to highlight them

This commit is contained in:
Andrew Tridgell 2010-03-28 09:48:49 +11:00
parent c64ce3cd03
commit f9eae32f4b
119 changed files with 238 additions and 0 deletions

View File

@ -1,3 +1,5 @@
#!/usr/bin/env python
# this is a base set of waf rules that everything else pulls in first
import sys, wafsamba

View File

@ -1 +1,3 @@
#!/usr/bin/env python
bld.INSTALL_WILDCARD('${DATAROOTDIR}', '*.dat')

View File

@ -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

View File

@ -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'

View File

@ -1,3 +1,5 @@
#!/usr/bin/env python
import Options
def set_options(opt):

View File

@ -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

View File

@ -1,3 +1,5 @@
#!/usr/bin/env python
import Options
def set_options(opt):

View File

@ -1,3 +1,5 @@
#!/usr/bin/env python
conf.CHECK_HEADERS('sys/capability.h')
conf.CHECK_FUNCS('getpwnam_r getpwuid_r getpwent_r')

View File

@ -1,3 +1,5 @@
#!/usr/bin/env python
srcdir = '../..'
blddir = 'bin'

View File

@ -1,3 +1,5 @@
#!/usr/bin/env python
# AUTOGENERATED by mktowscript.pl from ../../lib/smbconf/config.mk
# Please remove this notice if hand editing

View File

@ -1,3 +1,5 @@
#!/usr/bin/env python
import Options
def set_options(opt):

View File

@ -1,3 +1,5 @@
#!/usr/bin/env python
bld.SAMBA_SUBSYSTEM('SOCKET_WRAPPER',
source='socket_wrapper.c'
)

View File

@ -1,3 +1,5 @@
#!/usr/bin/env python
# install out various python scripts for use by make test

View File

@ -1,3 +1,5 @@
#!/usr/bin/env python
VERSION = '2.0.1'
srcdir = '../..'

View File

@ -1,3 +1,5 @@
#!/usr/bin/env python
VERSION='1.2.1'
srcdir = '../..'

View File

@ -1,3 +1,5 @@
#!/usr/bin/env python
# AUTOGENERATED by mktowscript.pl from ../../lib/tdr/config.mk
# Please remove this notice if hand editing

View File

@ -1,3 +1,5 @@
#!/usr/bin/env python
VERSION = '0.9.8'
srcdir = '../..'

View File

@ -1,3 +1,5 @@
#!/usr/bin/env python
# AUTOGENERATED by mktowscript.pl from ../../lib/torture/config.mk
# Please remove this notice if hand editing

View File

@ -1,3 +1,5 @@
#!/usr/bin/env python
# AUTOGENERATED by mktowscript.pl from ../../lib/tsocket/config.mk
# Please remove this notice if hand editing

View File

@ -1,3 +1,5 @@
#!/usr/bin/env python
import Options
def set_options(opt):

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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',

View File

@ -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')

View File

@ -1,3 +1,5 @@
#!/usr/bin/env python
def configure(conf):
conf.CHECK_HEADERS('zlib.h')
conf.CHECK_FUNCS_IN('zlibVersion', 'z')

View File

@ -1,3 +1,5 @@
#!/usr/bin/env python
bld.SAMBA_SUBSYSTEM('ntlm_check',
source='ntlm_check.c',
deps='LIBSAMBA-UTIL'

View File

@ -1,3 +1,5 @@
#!/usr/bin/env python
# AUTOGENERATED by mktowscript.pl from ../../libcli/cldap/config.mk
# Please remove this notice if hand editing

View File

@ -1,3 +1,5 @@
#!/usr/bin/env python
# AUTOGENERATED by mktowscript.pl from ../../libcli/drsuapi/config.mk
# Please remove this notice if hand editing

View File

@ -1,3 +1,5 @@
#!/usr/bin/env python
bld.SAMBA_SUBSYSTEM('LIBCLI_LDAP_MESSAGE',
source='ldap_message.c',
public_deps='LIBSAMBA-ERRORS talloc ldb',

View File

@ -1,3 +1,5 @@
#!/usr/bin/env python
# AUTOGENERATED by mktowscript.pl from ../../libcli/named_pipe_auth/config.mk
# Please remove this notice if hand editing

View File

@ -1,3 +1,5 @@
#!/usr/bin/env python
# AUTOGENERATED by mktowscript.pl from ../../libcli/nbt/config.mk
# Please remove this notice if hand editing

View File

@ -1,3 +1,5 @@
#!/usr/bin/env python
# AUTOGENERATED by mktowscript.pl from ../../libcli/samsync/config.mk
# Please remove this notice if hand editing

View File

@ -1,3 +1,5 @@
#!/usr/bin/env python
# AUTOGENERATED by mktowscript.pl from ../../libcli/security/config.mk
# Please remove this notice if hand editing

View File

@ -1,3 +1,5 @@
#!/usr/bin/env python
# AUTOGENERATED by mktowscript.pl from ../../libcli/smb/config.mk
# Please remove this notice if hand editing

View File

@ -1,3 +1,5 @@
#!/usr/bin/env python
bld.SAMBA_SUBSYSTEM('LIBGPO',
source='gpo_util.c gpo_sec.c ../libgpo/gpext/gpext.c gpo_fetch.c gpo_ini.c ../source4/libgpo/ads_convenience.c ../source3/libgpo/gpo_filesync.c ../source4/libgpo/gpo_filesync.c',
deps='ldb LIBSAMBA-NET',

View File

@ -1,3 +1,5 @@
#!/usr/bin/env python
# note that we use symlink=True for the common IDL files.
# this is because the gen_ndr output is committed in git,
# and we don't want the result of a waf build to be a large

View File

@ -1,2 +1,4 @@
#!/usr/bin/env python
bld.BUILD_SUBDIR('idl')

View File

@ -1,3 +1,5 @@
#!/usr/bin/env python
# AUTOGENERATED by mktowscript.pl from ../../nsswitch/libwbclient/config.mk
# Please remove this notice if hand editing

View File

@ -1,3 +1,5 @@
#!/usr/bin/env python
# AUTOGENERATED by mktowscript.pl from ../../nsswitch/config.mk
# Please remove this notice if hand editing

View File

@ -1,3 +1,5 @@
#!/usr/bin/env python
conf.CHECK_HEADERS('nss.h nss_common.h ns_api.h')
conf.CHECK_HEADERS('security/pam_appl.h security/pam_modules.h pam/pam_modules.h', together=True)

View File

@ -1,2 +1,4 @@
#!/usr/bin/env python
# install the pidl modules
bld.INSTALL_WILDCARD('${DATAROOTDIR}/perl5', '**/*.pm', flat=False)

View File

@ -1,3 +1,5 @@
#!/usr/bin/env python
import os
def set_options(opt):

View File

@ -1,3 +1,5 @@
#!/usr/bin/env python
import Options
from dynconfig import *

View File

@ -1,3 +1,5 @@
#!/usr/bin/env python
from samba_utils import *
TDB_LIB_SRC = '''lib/util_tdb.c ../lib/util/util_tdb.c

View File

@ -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

View File

@ -1,3 +1,5 @@
#!/usr/bin/env python
bld.SAMBA_LIBRARY('gensec',
source='gensec.c socket.c',
pc_files='gensec.pc',

View File

@ -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

View File

@ -1,3 +1,5 @@
#!/usr/bin/env python
bld.SAMBA_MODULE('auth_sam_module',
source='auth_sam.c',
subsystem='auth',

View File

@ -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

View File

@ -1,3 +1,5 @@
#!/usr/bin/env python
# AUTOGENERATED by mktowscript.pl from ../../source4/auth/config.mk
# Please remove this notice if hand editing

View File

@ -1,3 +1,5 @@
#!/usr/bin/env python
conf.CHECK_HEADERS('security/pam_appl.h')
conf.CHECK_FUNCS_IN('pam_start', 'pam', checklibc=True)

View File

@ -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

View File

@ -1,3 +1,5 @@
#!/usr/bin/env python
bld.SAMBA_BINARY('smbclient',
source='client.c',
installdir='BINDIR',

View File

@ -1,3 +1,5 @@
#!/usr/bin/env python
# AUTOGENERATED by mktowscript.pl from ../../source4/cluster/config.mk
# Please remove this notice if hand editing

View File

@ -1,3 +1,5 @@
#!/usr/bin/env python
bld.SAMBA_SUBSYSTEM('DSDB_MODULE_HELPERS',
source='util.c ridalloc.c',
autoproto='util_proto.h',

View File

@ -1,3 +1,5 @@
#!/usr/bin/env python
# AUTOGENERATED by mktowscript.pl from ../../source4/dsdb/config.mk
# Please remove this notice if hand editing

View File

@ -1,3 +1,5 @@
#!/usr/bin/env python
import string, Utils, Options
# list of directory options to offer in configure

View File

@ -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)}",

View File

@ -1,3 +1,5 @@
#!/usr/bin/env python
conf.CHECK_TYPE('u_char', 'uint8_t')
conf.CHECK_TYPE('u_int32_t', 'uint32_t')

View File

@ -1,3 +1,5 @@
#!/usr/bin/env python
bld.SAMBA_MODULE('KDC',
source='kdc.c kpasswdd.c',
subsystem='service',

View File

@ -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

View File

@ -1,3 +1,5 @@
#!/usr/bin/env python
bld.SAMBA_SUBSYSTEM('LIBCMDLINE_CREDENTIALS',
source='credentials.c',
autoproto='credentials.h',

View File

@ -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'

View File

@ -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

View File

@ -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

View File

@ -1,3 +1,5 @@
#!/usr/bin/env python
VERSION = '0.9.10'
srcdir = '../../..'

View File

@ -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

View File

@ -1,3 +1,5 @@
#!/usr/bin/env python
bld.SAMBA_PIDL('PIDL_REG',
source='regf.idl',
options='--header --tdr-parser')

View File

@ -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

View File

@ -1,3 +1,5 @@
#!/usr/bin/env python
termlib=bld.env.READLINE_TERMLIB or ''

View File

@ -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']:

View File

@ -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

View File

@ -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

View File

@ -1,3 +1,5 @@
#!/usr/bin/env python
import Options
from optparse import SUPPRESS_HELP

View File

@ -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

View File

@ -1,3 +1,5 @@
#!/usr/bin/env python
# AUTOGENERATED by mktowscript.pl from ../../source4/lib/basic.mk
# Please remove this notice if hand editing

View File

@ -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',

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -1,3 +1,5 @@
#!/usr/bin/env python
bld.BUILD_SUBDIR('ldap')
bld.BUILD_SUBDIR('security')
bld.BUILD_SUBDIR('wbclient')

View File

@ -1,3 +1,5 @@
#!/usr/bin/env python
# AUTOGENERATED by mktowscript.pl from ../../source4/libnet/config.mk
# Please remove this notice if hand editing

View File

@ -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

View File

@ -1,3 +1,5 @@
#!/usr/bin/env python
bld.BUILD_SUBDIR('../../librpc/idl')
bld.BUILD_SUBDIR('idl')

View File

@ -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

View File

@ -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

View File

@ -1,3 +1,5 @@
#!/usr/bin/env python
# AUTOGENERATED by mktowscript.pl from ../../source4/ntptr/config.mk
# Please remove this notice if hand editing

View File

@ -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

View File

@ -1,3 +1,5 @@
#!/usr/bin/env python
bld.SAMBA_SUBSYSTEM('pvfs_acl',
source='pvfs_acl.c',
autoproto='vfs_acl_proto.h'

View File

@ -1,3 +1,5 @@
#!/usr/bin/env python
bld.SAMBA_MODULE('sys_notify_inotify',
source='inotify.c',
subsystem='sys_notify',

View File

@ -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')

View File

@ -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

View File

@ -1,3 +1,5 @@
#!/usr/bin/env python
# AUTOGENERATED by mktowscript.pl from ../../source4/ntvfs/config.mk
# Please remove this notice if hand editing

View File

@ -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',

View File

@ -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',

View File

@ -1,3 +1,5 @@
#!/usr/bin/env python
# work out what external modules need to be installed
external_list = []
try:

View File

@ -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

View File

@ -1,3 +1,5 @@
#!/usr/bin/env python
bld.SAMBA_PYTHON('LIBPYTHON',
source='modules.c',
public_deps='EXT_LIB_PYTHON',

View File

@ -1,3 +1,5 @@
#!/usr/bin/env python
bld.INSTALL_FILES('${SBINDIR}','bin/upgradeprovision bin/samba_dnsupdate',
chmod=0755, python_fixup=True, flat=True)

Some files were not shown because too many files have changed in this diff Show More