summaryrefslogtreecommitdiff
path: root/libcli/security/wscript_build
blob: 3f2e06a908ba8236f012ce155fad5a412d83e1c9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#!/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,
                  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'
                     )