diff options
author | Volker Lendecke <vl@samba.org> | 2019-04-11 11:36:56 +0200 |
---|---|---|
committer | Jeremy Allison <jra@samba.org> | 2019-04-11 23:35:15 +0000 |
commit | d970e84348460c0345a43d736fece36851255ef2 (patch) | |
tree | 8908ec34d18639f0fe5fc90998ce0671d6640a8f /source3/utils/wscript_build | |
parent | 2029fe72b23c1b62282c31c4cd29d47c686eef49 (diff) | |
download | samba-d970e84348460c0345a43d736fece36851255ef2.tar.gz |
build: Move smbstatus definition to source3/utils/wscript_build
Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
Diffstat (limited to 'source3/utils/wscript_build')
-rw-r--r-- | source3/utils/wscript_build | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/source3/utils/wscript_build b/source3/utils/wscript_build index b254073358c..414d3f91f2e 100644 --- a/source3/utils/wscript_build +++ b/source3/utils/wscript_build @@ -283,3 +283,22 @@ bld.SAMBA3_BINARY('destroy_netlogon_creds_cli', NETLOGON_CREDS_CLI ''', install=False) + +smbstatus_source = 'status.c ../smbd/notify_msg.c' + +if bld.CONFIG_GET("WITH_PROFILE"): + smbstatus_source += ' status_profile.c' +else: + smbstatus_source += ' status_profile_dummy.c' + +bld.SAMBA3_BINARY('smbstatus', + source=smbstatus_source, + deps=''' + talloc + smbconf + popt_samba3 + cmdline_contexts + smbd_base + LOCKING + PROFILE + ''') |