From 6a56d2fda0e68cd1480fdf9e3f6019e70fe1bcd4 Mon Sep 17 00:00:00 2001 From: Michael Adam Date: Mon, 23 Sep 2013 09:39:10 +0200 Subject: build: list sources of library smbsharemodes directly in def, remov vars=locals() Signed-off-by: Michael Adam Reviewed-by: Andrew Bartlett --- source3/wscript_build | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) (limited to 'source3/wscript_build') diff --git a/source3/wscript_build b/source3/wscript_build index a306e76fc7..b1ca2cf268 100755 --- a/source3/wscript_build +++ b/source3/wscript_build @@ -3,10 +3,6 @@ from samba_utils import * import samba_version, samba3 -LIBSMBSHAREMODES_SRC0 = 'libsmb/smb_share_modes.c' - -LIBSMBSHAREMODES_SRC = '${LIBSMBSHAREMODES_SRC0}' - LIB_SMBCONF_SRC = 'lib/smbconf/smbconf_init.c lib/smbconf/smbconf_reg.c' SMBCONFTORT_SRC0 = 'lib/smbconf/testsuite.c' @@ -182,13 +178,12 @@ bld.SAMBA3_LIBRARY('netapi', vnum='0') bld.SAMBA3_LIBRARY('smbsharemodes', - source=LIBSMBSHAREMODES_SRC, + source='libsmb/smb_share_modes.c', public_deps='''talloc tdb_compat''', deps='''ccan-hash''', public_headers='include/smb_share_modes.h', pc_files='libsmb/smbsharemodes.pc', - vnum='0', - vars=locals()) + vnum='0') bld.SAMBA3_LIBRARY('nss_wins', source=WINBIND_WINS_NSS_SRC, -- cgit