s3:lib/events: s/EVENT_FD/TEVENT_FD
[Samba/gebeck_regimport.git] / lib / util / wscript_build
blobac270ee4867e898224e3c6da1dc21e81ea5d3716
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 getpass.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 tevent_debug.c''',
12 deps='DYNCONFIG',
13 public_deps='talloc tevent execinfo uid_wrapper pthread LIBCRYPTO charset util_setid',
14 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',
15 header_path= [ ('dlinklist.h samba_util.h', '.'), ('*', 'util') ],
16 local_include=False,
17 vnum='0.0.1',
18 pc_files='samba-util.pc'
21 bld.SAMBA_LIBRARY('samba-modules',
22 source='modules.c',
23 deps='errors samba-util',
24 local_include=False,
25 private_library=True)
27 bld.SAMBA_LIBRARY('asn1util',
28 source='asn1.c',
29 deps='talloc samba-util',
30 private_library=True,
31 local_include=False)
34 bld.SAMBA_SUBSYSTEM('UNIX_PRIVS',
35 source='unix_privs.c',
36 autoproto='unix_privs.h',
37 deps='replace talloc',
38 local_include=False,
42 bld.SAMBA_LIBRARY('util_tdb',
43 source='util_tdb.c',
44 local_include=False,
45 public_deps='tdb talloc samba-util',
46 private_library=True
49 if not bld.env.disable_ntdb:
50 bld.SAMBA_LIBRARY('util_ntdb',
51 source='util_ntdb.c',
52 local_include=False,
53 public_deps='ntdb talloc samba-util samba-hostconfig',
54 private_library=True
57 bld.SAMBA_LIBRARY('tevent-util',
58 source='tevent_unix.c tevent_ntstatus.c tevent_werror.c',
59 local_include=False,
60 public_deps='tevent errors',
61 public_headers='tevent_ntstatus.h tevent_unix.h tevent_werror.h',
62 header_path=[ ('*', 'util') ],
63 pc_files=[],
64 vnum='0.0.1'
67 bld.SAMBA_LIBRARY('util_setid',
68 source='setid.c',
69 local_include=False,
70 private_library=True
73 bld.SAMBA_SUBSYSTEM('util_ldb',
74 source='util_ldb.c',
75 local_include=False,
76 public_deps='ldb',
77 public_headers='util_ldb.h'
81 bld.SAMBA_SUBSYSTEM('UTIL_RUNCMD',
82 source='util_runcmd.c',
83 local_include=False,
84 public_deps='tevent'
87 bld.SAMBA_SUBSYSTEM('UTIL_PW',
88 source='util_pw.c',
89 local_include=False,
90 public_deps='talloc'