diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-05-05 17:47:29 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-05-05 17:47:29 +0000 |
commit | 4f5791ebd03eaec1c7da0865a383175b05102712 (patch) | |
tree | 8ce7b00f7a76baa386372422adebbe64510812d4 /source4/lib/com/wscript_build | |
parent | Initial commit. (diff) | |
download | samba-upstream.tar.xz samba-upstream.zip |
Adding upstream version 2:4.17.12+dfsg.upstream/2%4.17.12+dfsgupstream
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'source4/lib/com/wscript_build')
-rw-r--r-- | source4/lib/com/wscript_build | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/source4/lib/com/wscript_build b/source4/lib/com/wscript_build new file mode 100644 index 0000000..b96f39f --- /dev/null +++ b/source4/lib/com/wscript_build @@ -0,0 +1,28 @@ +#!/usr/bin/env python + +bld.SAMBA_SUBSYSTEM('COM', + source='tables.c rot.c main.c', + allow_warnings=True, + deps='samba-util samba-hostconfig events ndr NDR_DCOM' + ) + + +bld.SAMBA_SUBSYSTEM('DCOM', + source='dcom/main.c dcom/tables.c', + public_deps='COM DCOM_PROXY_DCOM RPC_NDR_REMACT RPC_NDR_OXIDRESOLVER', + # ORPCTHIS maps to this.*, which hits the "No C++ keywords" define + # unless we force off developer mode + cflags_end = '-UDEVELOPER', + # even with the above hack this still doesn't compile - disable it for now + enabled=False + ) + + +bld.SAMBA_MODULE('com_simple', + source='classes/simple.c', + allow_warnings=True, + deps='talloc', + subsystem='COM', + init_function='com_simple_init' + ) + |