summaryrefslogtreecommitdiff
path: root/source3/utils/wscript_build
diff options
context:
space:
mode:
authorVolker Lendecke <vl@samba.org>2019-04-11 11:36:56 +0200
committerJeremy Allison <jra@samba.org>2019-04-11 23:35:15 +0000
commitd970e84348460c0345a43d736fece36851255ef2 (patch)
tree8908ec34d18639f0fe5fc90998ce0671d6640a8f /source3/utils/wscript_build
parent2029fe72b23c1b62282c31c4cd29d47c686eef49 (diff)
downloadsamba-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_build19
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
+ ''')