docs: fix type for winbind rpc only parameter
[Samba.git] / source3 / winbindd / wscript_build
blobea1131c8be69e1f66dc2f420154f7ac098355aa9
1 #!/usr/bin/env python
3 bld.SAMBA3_LIBRARY('idmap',
4 source='idmap.c idmap_util.c',
5 deps='samba-util',
6 allow_undefined_symbols=True,
7 private_library=True)
9 bld.SAMBA3_SUBSYSTEM('IDMAP_RW',
10 source='idmap_rw.c',
11 deps='samba-util')
13 bld.SAMBA3_SUBSYSTEM('IDMAP_TDB_COMMON',
14 source='idmap_tdb_common.c',
15 deps='tdb IDMAP_RW')
17 bld.SAMBA3_SUBSYSTEM('IDMAP_HASH',
18 source='idmap_hash/idmap_hash.c idmap_hash/mapfile.c',
19 deps='samba-util krb5samba')
21 bld.SAMBA3_SUBSYSTEM('IDMAP_AD',
22 source='idmap_ad.c',
23 deps='ads nss_info',
24 enabled=bld.CONFIG_SET("HAVE_LDAP"))
26 bld.SAMBA3_MODULE('idmap_ad',
27 subsystem='idmap',
28 allow_undefined_symbols=True,
29 source='',
30 deps='IDMAP_AD',
31 init_function='',
32 internal_module=bld.SAMBA3_IS_STATIC_MODULE('idmap_ad'),
33 enabled=bld.SAMBA3_IS_ENABLED_MODULE('idmap_ad') and bld.CONFIG_SET("HAVE_LDAP"))
35 bld.SAMBA3_MODULE('idmap_rfc2307',
36 subsystem='idmap',
37 allow_undefined_symbols=True,
38 source='idmap_rfc2307.c',
39 init_function='',
40 deps='ads',
41 internal_module=bld.SAMBA3_IS_STATIC_MODULE('idmap_rfc2307'),
42 enabled=bld.SAMBA3_IS_ENABLED_MODULE('idmap_rfc2307') and bld.CONFIG_SET("HAVE_LDAP"))
44 bld.SAMBA3_MODULE('idmap_rid',
45 subsystem='idmap',
46 allow_undefined_symbols=True,
47 source='idmap_rid.c',
48 init_function='',
49 internal_module=bld.SAMBA3_IS_STATIC_MODULE('idmap_rid'),
50 enabled=bld.SAMBA3_IS_ENABLED_MODULE('idmap_rid'))
52 bld.SAMBA3_MODULE('idmap_passdb',
53 subsystem='idmap',
54 source='idmap_passdb.c',
55 deps='samba-util pdb',
56 init_function='',
57 internal_module=bld.SAMBA3_IS_STATIC_MODULE('idmap_passdb'),
58 enabled=bld.SAMBA3_IS_ENABLED_MODULE('idmap_passdb'))
60 bld.SAMBA3_MODULE('idmap_ldap',
61 subsystem='idmap',
62 source='idmap_ldap.c',
63 deps='smbldap smbldaphelper pdb IDMAP_RW',
64 init_function='',
65 internal_module=bld.SAMBA3_IS_STATIC_MODULE('idmap_ldap'),
66 enabled=bld.SAMBA3_IS_ENABLED_MODULE('idmap_ldap') and bld.CONFIG_SET("HAVE_LDAP"),
67 allow_undefined_symbols=True)
69 bld.SAMBA3_MODULE('idmap_nss',
70 subsystem='idmap',
71 source='idmap_nss.c',
72 deps='samba-util',
73 init_function='',
74 internal_module=bld.SAMBA3_IS_STATIC_MODULE('idmap_nss'),
75 enabled=bld.SAMBA3_IS_ENABLED_MODULE('idmap_nss'))
77 bld.SAMBA3_MODULE('idmap_tdb',
78 subsystem='idmap',
79 source='idmap_tdb.c',
80 deps='samba-util tdb IDMAP_TDB_COMMON',
81 init_function='',
82 internal_module=bld.SAMBA3_IS_STATIC_MODULE('idmap_tdb'),
83 enabled=bld.SAMBA3_IS_ENABLED_MODULE('idmap_tdb'))
85 bld.SAMBA3_MODULE('idmap_tdb2',
86 subsystem='idmap',
87 source='idmap_tdb2.c',
88 deps='samba-util tdb IDMAP_TDB_COMMON',
89 init_function='',
90 internal_module=bld.SAMBA3_IS_STATIC_MODULE('idmap_tdb2'),
91 enabled=bld.SAMBA3_IS_ENABLED_MODULE('idmap_tdb2'))
93 bld.SAMBA3_MODULE('idmap_hash',
94 subsystem='idmap',
95 source='',
96 deps='IDMAP_HASH',
97 allow_undefined_symbols=True,
98 init_function='',
99 internal_module=bld.SAMBA3_IS_STATIC_MODULE('idmap_hash'),
100 enabled=bld.SAMBA3_IS_ENABLED_MODULE('idmap_hash'))
102 bld.SAMBA3_SUBSYSTEM('IDMAP_AUTORID_TDB',
103 source='idmap_autorid_tdb.c',
104 deps='tdb')
106 bld.SAMBA3_MODULE('idmap_autorid',
107 subsystem='idmap',
108 source='idmap_autorid.c',
109 deps='samba-util tdb IDMAP_TDB_COMMON IDMAP_AUTORID_TDB',
110 init_function='',
111 internal_module=bld.SAMBA3_IS_STATIC_MODULE('idmap_autorid'),
112 enabled=bld.SAMBA3_IS_ENABLED_MODULE('idmap_autorid'),
113 allow_undefined_symbols=True)
115 bld.SAMBA3_LIBRARY('nss_info',
116 source='nss_info.c',
117 deps='samba-util param',
118 private_library=True)
120 bld.SAMBA3_MODULE('nss_info_template',
121 subsystem='nss_info',
122 source='nss_info_template.c',
123 deps='samba-util krb5samba',
124 init_function='',
125 internal_module=bld.SAMBA3_IS_STATIC_MODULE('nss_info_template'),
126 enabled=bld.SAMBA3_IS_ENABLED_MODULE('nss_info_template'))
128 bld.SAMBA3_MODULE('nss_info_hash',
129 subsystem='nss_info',
130 source='',
131 deps='IDMAP_HASH',
132 allow_undefined_symbols=True,
133 init_function='',
134 internal_module=bld.SAMBA3_IS_STATIC_MODULE('idmap_hash'),
135 enabled=bld.SAMBA3_IS_ENABLED_MODULE('idmap_hash'))
137 bld.SAMBA3_MODULE('nss_info_rfc2307',
138 subsystem='nss_info',
139 source='',
140 deps='IDMAP_AD',
141 allow_undefined_symbols=True,
142 init_function='',
143 internal_module=bld.SAMBA3_IS_STATIC_MODULE('idmap_ad'),
144 enabled=bld.SAMBA3_IS_ENABLED_MODULE('idmap_ad') and bld.CONFIG_SET("HAVE_LDAP"))
146 bld.SAMBA3_MODULE('nss_info_sfu20',
147 subsystem='nss_info',
148 source='',
149 deps='IDMAP_AD',
150 allow_undefined_symbols=True,
151 init_function='',
152 internal_module=bld.SAMBA3_IS_STATIC_MODULE('idmap_ad'),
153 enabled=bld.SAMBA3_IS_ENABLED_MODULE('idmap_ad') and bld.CONFIG_SET("HAVE_LDAP"))
155 bld.SAMBA3_MODULE('nss_info_sfu',
156 subsystem='nss_info',
157 source='',
158 deps='IDMAP_AD',
159 allow_undefined_symbols=True,
160 init_function='',
161 internal_module=bld.SAMBA3_IS_STATIC_MODULE('idmap_ad'),
162 enabled=bld.SAMBA3_IS_ENABLED_MODULE('idmap_ad') and bld.CONFIG_SET("HAVE_LDAP"))