s4-dsdb: Use samdb_reference_dn_is_our_ntdsa()
[Samba.git] / lib / util / wscript_build
blobddaf90ffc28f1bcf128c995fe9ebf5a0d2824ccf
1 #!/usr/bin/env python
3 bld.SAMBA_LIBRARY('samba-util',
4 source='''talloc_stack.c smb_threads.c xfile.c data_blob.c
5 util_file.c time.c rbtree.c rfc1738.c select.c
6 genrand.c fsusage.c blocking.c become_daemon.c
7 signal.c system.c params.c util.c util_id.c util_net.c
8 util_strlist.c util_paths.c idtree.c debug.c fault.c base64.c
9 util_str.c util_str_common.c substitute.c ms_fnmatch.c
10 server_id.c dprintf.c parmlist.c bitmap.c pidfile.c''',
11 deps='DYNCONFIG',
12 public_deps='talloc execinfo uid_wrapper pthread LIBCRYPTO charset util_setid',
13 public_headers='debug.h attr.h byteorder.h data_blob.h memory.h safe_string.h time.h talloc_stack.h xfile.h dlinklist.h samba_util.h string_wrappers.h',
14 header_path= [ ('dlinklist.h samba_util.h', '.'), ('*', 'util') ],
15 local_include=False,
16 vnum='0.0.1',
17 pc_files='samba-util.pc'
20 bld.SAMBA_LIBRARY('samba-modules',
21 source='modules.c',
22 deps='errors samba-util',
23 local_include=False,
24 private_library=True)
26 bld.SAMBA_LIBRARY('asn1util',
27 source='asn1.c',
28 deps='talloc samba-util',
29 private_library=True,
30 local_include=False)
33 bld.SAMBA_SUBSYSTEM('UNIX_PRIVS',
34 source='unix_privs.c',
35 autoproto='unix_privs.h',
36 deps='replace talloc',
37 local_include=False,
41 bld.SAMBA_LIBRARY('util_tdb',
42 source='util_tdb.c',
43 local_include=False,
44 public_deps='tdb talloc samba-util',
45 private_library=True
48 if not bld.env.disable_ntdb:
49 bld.SAMBA_LIBRARY('util_ntdb',
50 source='util_ntdb.c',
51 local_include=False,
52 public_deps='ntdb talloc samba-util samba-hostconfig',
53 private_library=True
56 bld.SAMBA_LIBRARY('tevent-util',
57 source='tevent_unix.c tevent_ntstatus.c tevent_werror.c',
58 local_include=False,
59 public_deps='tevent errors',
60 public_headers='tevent_ntstatus.h tevent_unix.h tevent_werror.h',
61 header_path=[ ('*', 'util') ],
62 pc_files=[],
63 vnum='0.0.1'
66 bld.SAMBA_LIBRARY('util_setid',
67 source='setid.c',
68 local_include=False,
69 private_library=True
72 bld.SAMBA_SUBSYSTEM('util_ldb',
73 source='util_ldb.c',
74 local_include=False,
75 public_deps='ldb',
76 public_headers='util_ldb.h'
80 bld.SAMBA_SUBSYSTEM('UTIL_RUNCMD',
81 source='util_runcmd.c',
82 local_include=False,
83 public_deps='tevent'
86 bld.SAMBA_SUBSYSTEM('UTIL_PW',
87 source='util_pw.c',
88 local_include=False,
89 public_deps='talloc'