diff options
Diffstat (limited to 'source4')
-rw-r--r-- | source4/client/wscript_build | 4 | ||||
-rw-r--r-- | source4/lib/cmdline/wscript_build | 6 | ||||
-rw-r--r-- | source4/lib/ldb/wscript | 3 | ||||
-rw-r--r-- | source4/lib/registry/wscript_build | 8 | ||||
-rw-r--r-- | source4/lib/wmi/wscript_build | 4 | ||||
-rw-r--r-- | source4/librpc/wscript_build | 2 | ||||
-rw-r--r-- | source4/smbd/wscript_build | 2 | ||||
-rw-r--r-- | source4/torture/wscript_build | 8 | ||||
-rw-r--r-- | source4/utils/net/wscript_build | 2 | ||||
-rw-r--r-- | source4/utils/wscript_build | 4 | ||||
-rw-r--r-- | source4/wscript | 1 |
11 files changed, 23 insertions, 21 deletions
diff --git a/source4/client/wscript_build b/source4/client/wscript_build index ac409619f1..08dc90c961 100644 --- a/source4/client/wscript_build +++ b/source4/client/wscript_build @@ -3,13 +3,13 @@ bld.SAMBA_BINARY('smbclient', source='client.c', installdir='BINDIR', - deps='LIBSAMBA-HOSTCONFIG SMBREADLINE LIBSAMBA-UTIL LIBCLI_SMB RPC_NDR_SRVSVC LIBCLI_LSA LIBPOPT POPT_SAMBA POPT_CREDENTIALS LIBCLI_RAW' + deps='LIBSAMBA-HOSTCONFIG SMBREADLINE LIBSAMBA-UTIL LIBCLI_SMB RPC_NDR_SRVSVC LIBCLI_LSA popt POPT_SAMBA POPT_CREDENTIALS LIBCLI_RAW' ) bld.SAMBA_BINARY('cifsdd', source='cifsdd.c cifsddio.c', installdir='BINDIR', - deps='LIBSAMBA-HOSTCONFIG LIBCLI_SMB LIBPOPT POPT_SAMBA POPT_CREDENTIALS' + deps='LIBSAMBA-HOSTCONFIG LIBCLI_SMB popt POPT_SAMBA POPT_CREDENTIALS' ) diff --git a/source4/lib/cmdline/wscript_build b/source4/lib/cmdline/wscript_build index 4494c7d2eb..0229089167 100644 --- a/source4/lib/cmdline/wscript_build +++ b/source4/lib/cmdline/wscript_build @@ -3,12 +3,12 @@ bld.SAMBA_SUBSYSTEM('LIBCMDLINE_CREDENTIALS', source='credentials.c', autoproto='credentials.h', - public_deps='CREDENTIALS LIBPOPT' + public_deps='CREDENTIALS popt' ) bld.SAMBA_SUBSYSTEM('POPT_SAMBA', source='popt_common.c', - public_deps='LIBPOPT', + public_deps='popt', public_headers='popt_common.h:popt.h', header_path='samba', deps='talloc' @@ -18,7 +18,7 @@ bld.SAMBA_SUBSYSTEM('POPT_SAMBA', bld.SAMBA_SUBSYSTEM('POPT_CREDENTIALS', source='popt_credentials.c', autoproto='popt_credentials.h', - public_deps='CREDENTIALS LIBCMDLINE_CREDENTIALS LIBPOPT', + public_deps='CREDENTIALS LIBCMDLINE_CREDENTIALS popt', deps='LIBSAMBA-UTIL' ) diff --git a/source4/lib/ldb/wscript b/source4/lib/ldb/wscript index 97e345b834..e0269d7607 100644 --- a/source4/lib/ldb/wscript +++ b/source4/lib/ldb/wscript @@ -11,6 +11,7 @@ import wafsamba LIBTDB_DIR= srcdir + '/lib/tdb' LIBTEVENT_DIR= srcdir + '/lib/tevent' +LIBPOPT_DIR= srcdir + '/lib/popt' def set_options(opt): opt.BUILTIN_DEFAULT('replace') @@ -21,6 +22,7 @@ def set_options(opt): def configure(conf): conf.sub_config(LIBTDB_DIR) conf.sub_config(LIBTEVENT_DIR) + conf.sub_config(LIBPOPT_DIR) # where does the default LIBDIR end up? in conf.env somewhere? # conf.CONFIG_PATH('LDB_MODULESDIR', conf.SUBST_ENV_VAR('MODULESDIR') + '/ldb') @@ -39,6 +41,7 @@ def configure(conf): def build(bld): bld.BUILD_SUBDIR(LIBTDB_DIR) bld.BUILD_SUBDIR(LIBTEVENT_DIR) + bld.BUILD_SUBDIR(LIBPOPT_DIR) # in Samba4 we build some extra modules, and add extra # capabilities to the ldb cmdline tools diff --git a/source4/lib/registry/wscript_build b/source4/lib/registry/wscript_build index 16276674f6..66f2aa86d5 100644 --- a/source4/lib/registry/wscript_build +++ b/source4/lib/registry/wscript_build @@ -30,7 +30,7 @@ bld.SAMBA_BINARY('regdiff', source='tools/regdiff.c', manpages='man/regdiff.1', installdir='BINDIR', - deps='LIBSAMBA-HOSTCONFIG registry LIBPOPT POPT_SAMBA POPT_CREDENTIALS' + deps='LIBSAMBA-HOSTCONFIG registry popt POPT_SAMBA POPT_CREDENTIALS' ) @@ -38,7 +38,7 @@ bld.SAMBA_BINARY('regpatch', source='tools/regpatch.c', manpages='man/regpatch.1', installdir='BINDIR', - deps='LIBSAMBA-HOSTCONFIG registry LIBPOPT POPT_SAMBA POPT_CREDENTIALS registry_common' + deps='LIBSAMBA-HOSTCONFIG registry popt POPT_SAMBA POPT_CREDENTIALS registry_common' ) @@ -46,7 +46,7 @@ bld.SAMBA_BINARY('regshell', source='tools/regshell.c', manpages='man/regshell.1', installdir='BINDIR', - deps='LIBSAMBA-HOSTCONFIG LIBPOPT registry POPT_SAMBA POPT_CREDENTIALS SMBREADLINE registry_common' + deps='LIBSAMBA-HOSTCONFIG popt registry POPT_SAMBA POPT_CREDENTIALS SMBREADLINE registry_common' ) @@ -54,7 +54,7 @@ bld.SAMBA_BINARY('regtree', source='tools/regtree.c', manpages='man/regtree.1', installdir='BINDIR', - deps='LIBSAMBA-HOSTCONFIG LIBPOPT registry POPT_SAMBA POPT_CREDENTIALS registry_common' + deps='LIBSAMBA-HOSTCONFIG popt registry POPT_SAMBA POPT_CREDENTIALS registry_common' ) diff --git a/source4/lib/wmi/wscript_build b/source4/lib/wmi/wscript_build index 04ef860d67..fd8c17a667 100644 --- a/source4/lib/wmi/wscript_build +++ b/source4/lib/wmi/wscript_build @@ -13,14 +13,14 @@ bld.SAMBA_SUBSYSTEM('WMI', bld.SAMBA_BINARY('wmic', source='tools/wmic.c', installdir='BINDIR', - deps='POPT_SAMBA POPT_CREDENTIALS LIBPOPT WMI' + deps='POPT_SAMBA POPT_CREDENTIALS popt WMI' ) bld.SAMBA_BINARY('wmis', source='tools/wmis.c', installdir='BINDIR', - deps='POPT_SAMBA POPT_CREDENTIALS LIBPOPT WMI' + deps='POPT_SAMBA POPT_CREDENTIALS popt WMI' ) diff --git a/source4/librpc/wscript_build b/source4/librpc/wscript_build index 5328d1da2c..538d9636c3 100644 --- a/source4/librpc/wscript_build +++ b/source4/librpc/wscript_build @@ -18,7 +18,7 @@ bld.SAMBA_BINARY('ndrdump', source='../../librpc/tools/ndrdump.c', manpages='../../librpc/tools/ndrdump.1', installdir='BINDIR', - deps='LIBSAMBA-HOSTCONFIG LIBSAMBA-UTIL LIBPOPT POPT_SAMBA NDR_TABLE LIBSAMBA-ERRORS' + deps='LIBSAMBA-HOSTCONFIG LIBSAMBA-UTIL popt POPT_SAMBA NDR_TABLE LIBSAMBA-ERRORS' ) diff --git a/source4/smbd/wscript_build b/source4/smbd/wscript_build index da49ddb8a4..6c7a6dee03 100644 --- a/source4/smbd/wscript_build +++ b/source4/smbd/wscript_build @@ -23,7 +23,7 @@ bld.SAMBA_BINARY('samba', installdir='SBINDIR', subsystem_name='service', deps='''LIBEVENTS process_model service LIBSAMBA-HOSTCONFIG LIBSAMBA-UTIL POPT_SAMBA PIDFILE - LIBPOPT gensec registry ntptr ntvfs share CLUSTER DCESRV''', + popt gensec registry ntptr ntvfs share CLUSTER DCESRV''', needs_python=True, install_path='${SBINDIR}' ) diff --git a/source4/torture/wscript_build b/source4/torture/wscript_build index aee3ff4179..abed55bf7b 100644 --- a/source4/torture/wscript_build +++ b/source4/torture/wscript_build @@ -139,7 +139,7 @@ bld.SAMBA_BINARY('smbtorture', manpages='man/smbtorture.1', public_headers='smbtorture.h', installdir='BINDIR', - deps='torture LIBPOPT POPT_SAMBA POPT_CREDENTIALS dcerpc LIBCLI_SMB SMBREADLINE ' + TORTURE_MODULES, + deps='torture popt POPT_SAMBA POPT_CREDENTIALS dcerpc LIBCLI_SMB SMBREADLINE ' + TORTURE_MODULES, needs_python=True ) @@ -148,7 +148,7 @@ bld.SAMBA_BINARY('gentest', source='gentest.c', manpages='man/gentest.1', installdir='BINDIR', - deps='LIBSAMBA-HOSTCONFIG LIBSAMBA-UTIL LIBPOPT POPT_SAMBA POPT_CREDENTIALS LIBCLI_SMB LIBCLI_RAW' + deps='LIBSAMBA-HOSTCONFIG LIBSAMBA-UTIL popt POPT_SAMBA POPT_CREDENTIALS LIBCLI_SMB LIBCLI_RAW' ) @@ -156,7 +156,7 @@ bld.SAMBA_BINARY('masktest', source='masktest.c', manpages='man/masktest.1', installdir='BINDIR', - deps='LIBSAMBA-HOSTCONFIG LIBSAMBA-UTIL LIBPOPT POPT_SAMBA POPT_CREDENTIALS LIBCLI_SMB' + deps='LIBSAMBA-HOSTCONFIG LIBSAMBA-UTIL popt POPT_SAMBA POPT_CREDENTIALS LIBCLI_SMB' ) @@ -167,7 +167,7 @@ bld.SAMBA_BINARY('locktest', #cflags='--coverage', # GCOV='1', manpages='man/locktest.1', - deps='LIBPOPT POPT_SAMBA POPT_CREDENTIALS LIBSAMBA-UTIL LIBCLI_SMB LIBSAMBA-HOSTCONFIG', + deps='popt POPT_SAMBA POPT_CREDENTIALS LIBSAMBA-UTIL LIBCLI_SMB LIBSAMBA-HOSTCONFIG', installdir='BINDIR' ) diff --git a/source4/utils/net/wscript_build b/source4/utils/net/wscript_build index 9845be44cc..7c7e6ad4cb 100644 --- a/source4/utils/net/wscript_build +++ b/source4/utils/net/wscript_build @@ -13,7 +13,7 @@ bld.SAMBA_BINARY('net', source='net.c net_machinepw.c net_password.c net_time.c net_join.c net_vampire.c net_user.c net_export_keytab.c', autoproto='net_proto.h', installdir='BINDIR', - deps='LIBSAMBA-HOSTCONFIG LIBSAMBA-UTIL LIBSAMBA-NET LIBPOPT POPT_SAMBA POPT_CREDENTIALS net_drs', + deps='LIBSAMBA-HOSTCONFIG LIBSAMBA-UTIL LIBSAMBA-NET popt POPT_SAMBA POPT_CREDENTIALS net_drs', needs_python=True ) diff --git a/source4/utils/wscript_build b/source4/utils/wscript_build index 6e43425e98..9b44c85333 100644 --- a/source4/utils/wscript_build +++ b/source4/utils/wscript_build @@ -8,7 +8,7 @@ bld.SAMBA_BINARY('ntlm_auth', source='ntlm_auth.c', manpages='man/ntlm_auth.1', installdir='BINDIR', - deps='LIBSAMBA-HOSTCONFIG LIBSAMBA-UTIL LIBPOPT POPT_SAMBA POPT_CREDENTIALS gensec LIBCLI_RESOLVE auth ntlm_check MESSAGING LIBEVENTS service', + deps='LIBSAMBA-HOSTCONFIG LIBSAMBA-UTIL popt POPT_SAMBA POPT_CREDENTIALS gensec LIBCLI_RESOLVE auth ntlm_check MESSAGING LIBEVENTS service', needs_python=True ) @@ -23,7 +23,7 @@ bld.SAMBA_BINARY('setnttoken', bld.SAMBA_BINARY('testparm', source='testparm.c', installdir='BINDIR', - deps='LIBSAMBA-HOSTCONFIG LIBSAMBA-UTIL LIBPOPT samba_socket POPT_SAMBA LIBCLI_RESOLVE CHARSET' + deps='LIBSAMBA-HOSTCONFIG LIBSAMBA-UTIL popt samba_socket POPT_SAMBA LIBCLI_RESOLVE CHARSET' ) diff --git a/source4/wscript b/source4/wscript index d8361398f4..c191dd1b0d 100644 --- a/source4/wscript +++ b/source4/wscript @@ -19,7 +19,6 @@ def set_options(opt): opt.recurse('../lib/nss_wrapper') opt.recurse('../lib/socket_wrapper') opt.recurse('../lib/uid_wrapper') - opt.recurse('../lib/popt') opt.recurse('../pidl') def configure(conf): |