summaryrefslogtreecommitdiff
path: root/source4/auth/SConscript
diff options
context:
space:
mode:
Diffstat (limited to 'source4/auth/SConscript')
-rw-r--r--source4/auth/SConscript16
1 files changed, 14 insertions, 2 deletions
diff --git a/source4/auth/SConscript b/source4/auth/SConscript
index 557690cfdb..a14fc2f48d 100644
--- a/source4/auth/SConscript
+++ b/source4/auth/SConscript
@@ -1,3 +1,4 @@
+#!/usr/bin/env python
Import('hostenv')
hostenv.StaticLibrary('auth_sam.c')
@@ -12,7 +13,18 @@ if hostenv['configure']:
have_pam = conf.CheckLibWithHeader('pam', 'security/pam_appl.h', 'c', 'pam_start')
conf.Finish()
+proto_files = []
hostenv.StaticLibrary('pam_errors.c')
-hostenv.StaticLibrary('auth',['auth.c','auth_util.c','auth_sam_reply.c','ntlm_check.c'])
+proto_files += ['pam_errors.c']
+auth_files = ['auth.c','auth_util.c','auth_sam_reply.c','ntlm_check.c']
+proto_files += auth_files
+hostenv.StaticLibrary('auth',auth_files)
-SConscript(dirs=['ntlmssp','kerberos','gensec'])
+hostenv.proto_headers += hostenv.CProtoHeader('proto.h', proto_files)
+
+hostenv.StaticLibrary('gensec_ntlmssp',
+ ['ntlmssp/ntlmssp_parse.c', 'ntlmssp/ntlmssp.c',
+ 'ntlmssp/ntlmssp_sign.c','ntlmssp/ntlmssp_client.c',
+ 'ntlmssp/ntlmssp_server.c'])
+
+SConscript(dirs=['kerberos','gensec'])