summaryrefslogtreecommitdiff
path: root/buildtools/wafsamba/wafsamba.py
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2010-11-01 15:28:29 +1100
committerAndrew Tridgell <tridge@samba.org>2010-11-01 18:55:19 +1100
commit4404b4c700270c7607d7b8d792ab23ce1d080463 (patch)
treee396d6625ec0f291f45471f5d06e8fb0675703c7 /buildtools/wafsamba/wafsamba.py
parent7eb2eed156c8358b5a857444651841a17651229c (diff)
downloadsamba-4404b4c700270c7607d7b8d792ab23ce1d080463.tar.gz
samba-4404b4c700270c7607d7b8d792ab23ce1d080463.tar.bz2
samba-4404b4c700270c7607d7b8d792ab23ce1d080463.zip
waf: removed the module aliases code
This is not needed with the new ldb modules approacg
Diffstat (limited to 'buildtools/wafsamba/wafsamba.py')
-rw-r--r--buildtools/wafsamba/wafsamba.py32
1 files changed, 0 insertions, 32 deletions
diff --git a/buildtools/wafsamba/wafsamba.py b/buildtools/wafsamba/wafsamba.py
index 54e5bbebc8..6d09aedb6e 100644
--- a/buildtools/wafsamba/wafsamba.py
+++ b/buildtools/wafsamba/wafsamba.py
@@ -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