1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-14 19:24:43 +03:00
samba-mirror/source4/lib/com/wscript_build
Philip M. White cb9d048f90 s4:waf - fix the build on Gentoo platforms
Signed-off-by: Matthias Dieter Wallnöfer <mdw@samba.org>
2010-11-03 08:22:54 +01:00

34 lines
766 B
Python

#!/usr/bin/env python
bld.SAMBA_SUBSYSTEM('COM',
source='tables.c rot.c main.c',
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',
deps='talloc',
subsystem='COM',
init_function='com_simple_init'
)
bld.SAMBA_PYTHON('pycom',
source='pycom.c',
deps='COM',
realname='samba/com.so',
)