summaryrefslogtreecommitdiff
path: root/libcli/security/wscript_build
blob: 5b4d61453cac7c4d5b44136e724fc6ed54a7a034 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#!/usr/bin/env python


bld.SAMBA_LIBRARY('security',
                  source='dom_sid.c display_sec.c secace.c secacl.c security_descriptor.c sddl.c privileges.c security_token.c access_check.c object_tree.c create_descriptor.c util_sid.c session.c',
                  private_library=True,
                  public_headers='security.h dom_sid.h secace.h secacl.h security_descriptor.h security_token.h sddl.h privileges.h access_check.h session.h',
                  header_path='security',
                  deps='talloc ndr NDR_SECURITY'
                  )

if getattr(bld.env, '_SAMBA_BUILD_', 0) == 4:
    bld.SAMBA_PYTHON('pysecurity',
                     source='pysecurity.c',
                     deps='security pytalloc-util',
                     realname='samba/security.so'
                     )