1
0
mirror of https://github.com/samba-team/samba.git synced 2025-03-27 22:50:26 +03:00

waf: removed the module aliases code

This is not needed with the new ldb modules approacg
This commit is contained in:
Andrew Tridgell 2010-11-01 15:28:29 +11:00
parent 7eb2eed156
commit 4404b4c700

View File

@ -339,7 +339,6 @@ def SAMBA_MODULE(bld, modname, source,
module_init_name='samba_init_module',
autoproto=None,
autoproto_extra_source='',
aliases=None,
cflags='',
internal_module=True,
local_include=True,
@ -368,37 +367,6 @@ def SAMBA_MODULE(bld, modname, source,
SET_TARGET_TYPE(bld, modname, 'DISABLED')
return
if aliases is not None:
# if we have aliases, then create a private base library, and a set
# of modules on top of that library
if init_function:
cflags += " -D%s=%s" % (init_function, module_init_name)
basename = modname + '-base'
bld.SAMBA_LIBRARY(basename,
source,
deps=deps,
cflags=cflags,
autoproto = autoproto,
local_include=local_include,
vars=vars,
pyembed=pyembed,
private_library=True
)
aliases = TO_LIST(aliases)
aliases.append(modname)
for alias in aliases:
bld.SAMBA_MODULE(alias,
source=[],
internal_module=False,
subsystem=subsystem,
init_function=init_function,
deps=basename)
return
obj_target = modname + '.objlist'
realname = modname