summaryrefslogtreecommitdiff
path: root/source4/auth/credentials/wscript_build
blob: c708e7e574d0e88695334d8440cc5c7aaf94a493 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
#!/usr/bin/env python

bld.SAMBA_LIBRARY('samba-credentials',
	source='credentials.c',
	autoproto='credentials_proto.h',
	public_headers='credentials.h',
	deps='LIBCRYPTO errors events LIBCLI_AUTH security CREDENTIALS_SECRETS CREDENTIALS_KRB5',
	vnum='0.0.1'
	)

bld.SAMBA_SUBSYSTEM('CREDENTIALS_KRB5',
	source='credentials_krb5.c',
	deps='KERBEROS_UTIL gssapi samba-credentials',
	public_deps='com_err authkrb5',
	)

bld.SAMBA_SUBSYSTEM('CREDENTIALS_SECRETS',
	source='credentials_secrets.c',
	deps='CREDENTIALS_KRB5 CREDENTIALS_NTLM ldb samdb-common',
	)

bld.SAMBA_SUBSYSTEM('CREDENTIALS_NTLM',
	source='credentials_ntlm.c',
	deps='samba-credentials')

bld.SAMBA_PYTHON('pycredentials',
	source='pycredentials.c',
	public_deps='samba-credentials cmdline-credentials pytalloc-util pyparam_util CREDENTIALS_KRB5 CREDENTIALS_SECRETS',
	realname='samba/credentials.so'
	)