summaryrefslogtreecommitdiff
path: root/source3/auth
diff options
context:
space:
mode:
authorMichael Adam <obnox@samba.org>2013-09-24 05:06:22 +0200
committerMichael Adam <obnox@samba.org>2013-09-24 23:00:21 +0200
commitc6e16183e1d969af9edf1c3eccb8502805c627b0 (patch)
tree33ccea5d06d6cf323e109f9a09836b0448dad964 /source3/auth
parentf575b5c5312f87f8db42c307dfd90005716eaa0b (diff)
downloadsamba-c6e16183e1d969af9edf1c3eccb8502805c627b0.tar.gz
samba-c6e16183e1d969af9edf1c3eccb8502805c627b0.tar.bz2
samba-c6e16183e1d969af9edf1c3eccb8502805c627b0.zip
build: get rid of source-variables in source3/auth/wscript_build
Signed-off-by: Michael Adam <obnox@samba.org> Reviewed-by: Günther Deschner <gd@samba.org>
Diffstat (limited to 'source3/auth')
-rw-r--r--source3/auth/wscript_build31
1 files changed, 11 insertions, 20 deletions
diff --git a/source3/auth/wscript_build b/source3/auth/wscript_build
index e518de98fd..127ae08995 100644
--- a/source3/auth/wscript_build
+++ b/source3/auth/wscript_build
@@ -1,17 +1,5 @@
#!/usr/bin/env python
-AUTH_BUILTIN_SRC = 'auth_builtin.c'
-AUTH_DOMAIN_SRC = 'auth_domain.c'
-AUTH_SAM_SRC = 'auth_sam.c'
-AUTH_UNIX_SRC = 'auth_unix.c'
-AUTH_WINBIND_SRC = 'auth_winbind.c'
-AUTH_WBC_SRC = 'auth_wbc.c'
-AUTH_SCRIPT_SRC = 'auth_script.c'
-
-AUTH_SRC = '''auth.c
- user_krb5.c
- auth_ntlmssp.c auth_generic.c'''
-
bld.SAMBA3_SUBSYSTEM('TOKEN_UTIL',
source='token_util.c',
deps='samba-util pdb',
@@ -31,20 +19,23 @@ bld.SAMBA3_SUBSYSTEM('AUTH_COMMON',
vars=locals())
bld.SAMBA3_LIBRARY('auth',
- source=AUTH_SRC,
+ source='''auth.c
+ user_krb5.c
+ auth_ntlmssp.c
+ auth_generic.c''',
deps='''PLAINTEXT_AUTH SLCACHE DCUTIL TOKEN_UTIL AUTH_COMMON libcli_netlogon3 samba-hostconfig''',
private_library=True)
bld.SAMBA3_MODULE('auth_sam',
subsystem='auth',
- source=AUTH_SAM_SRC,
+ source='auth_sam.c',
deps='samba-util',
init_function='',
internal_module=True)
bld.SAMBA3_MODULE('auth_unix',
subsystem='auth',
- source=AUTH_UNIX_SRC,
+ source='auth_unix.c',
deps='samba-util',
init_function='',
internal_module=bld.SAMBA3_IS_STATIC_MODULE('auth_unix'),
@@ -52,14 +43,14 @@ bld.SAMBA3_MODULE('auth_unix',
bld.SAMBA3_MODULE('auth_winbind',
subsystem='auth',
- source=AUTH_WINBIND_SRC,
+ source='auth_winbind.c',
deps='samba-util',
init_function='',
internal_module=True)
bld.SAMBA3_MODULE('auth_wbc',
subsystem='auth',
- source=AUTH_WBC_SRC,
+ source='auth_wbc.c',
deps='samba-util',
init_function='',
internal_module=bld.SAMBA3_IS_STATIC_MODULE('auth_wbc'),
@@ -67,21 +58,21 @@ bld.SAMBA3_MODULE('auth_wbc',
bld.SAMBA3_MODULE('auth_domain',
subsystem='auth',
- source=AUTH_DOMAIN_SRC,
+ source='auth_domain.c',
deps='RPC_CLIENT_SCHANNEL trusts_util',
init_function='',
internal_module=True)
bld.SAMBA3_MODULE('auth_builtin',
subsystem='auth',
- source=AUTH_BUILTIN_SRC,
+ source='auth_builtin.c',
deps='samba-util',
init_function='',
internal_module=True)
bld.SAMBA3_MODULE('auth_script',
subsystem='auth',
- source=AUTH_SCRIPT_SRC,
+ source='auth_script.c',
init_function='',
internal_module=bld.SAMBA3_IS_STATIC_MODULE('auth_script'),
enabled=bld.SAMBA3_IS_ENABLED_MODULE('auth_script'))