diff options
author | Andrew Tridgell <tridge@samba.org> | 2010-04-15 14:43:43 +1000 |
---|---|---|
committer | Andrew Tridgell <tridge@samba.org> | 2010-04-15 14:43:50 +1000 |
commit | 0bda3bae4cd68285e106261ffe79a1da1f778861 (patch) | |
tree | ed9498f246e21f9d8ac62e2f8efe58fa44572265 /buildtools/wafsamba/wafsamba.py | |
parent | daf4ad59057d9a7970393d94a4f1c3dfd1e77d21 (diff) | |
download | samba-0bda3bae4cd68285e106261ffe79a1da1f778861.tar.gz samba-0bda3bae4cd68285e106261ffe79a1da1f778861.tar.bz2 samba-0bda3bae4cd68285e106261ffe79a1da1f778861.zip |
build: throw a fatal error for duplicate target declarations
We don't want someone to declare two subsystems of the same name but
with different source files
Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
Diffstat (limited to 'buildtools/wafsamba/wafsamba.py')
-rw-r--r-- | buildtools/wafsamba/wafsamba.py | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/buildtools/wafsamba/wafsamba.py b/buildtools/wafsamba/wafsamba.py index dd9cbd604c..633484bd68 100644 --- a/buildtools/wafsamba/wafsamba.py +++ b/buildtools/wafsamba/wafsamba.py @@ -187,12 +187,6 @@ def SAMBA_LIBRARY(bld, libname, source, if link_name: t.link_name = link_name - if autoproto is not None: - bld.SAMBA_AUTOPROTO(autoproto, source) - - if public_headers is not None: - bld.PUBLIC_HEADERS(public_headers, header_path=header_path) - if pc_files is not None: bld.PKG_CONFIG_FILES(pc_files, vnum=vnum) @@ -278,10 +272,6 @@ def SAMBA_BINARY(bld, binname, source, if subsystem_name is not None: bld.TARGET_ALIAS(subsystem_name, binname) - if autoproto is not None: - bld.SAMBA_AUTOPROTO(autoproto, source) - if public_headers is not None: - bld.PUBLIC_HEADERS(public_headers, header_path=header_path) Build.BuildContext.SAMBA_BINARY = SAMBA_BINARY |