2794d6623b1589d4e7a0594baea371467b1fbe2f
[bbaumbach/samba-autobuild/.git] / source4 / lib / com / wscript_build
1 #!/usr/bin/env python
2
3 bld.SAMBA_SUBSYSTEM('COM',
4         source='tables.c rot.c main.c',
5         deps='samba-util samba-hostconfig events ndr NDR_DCOM'
6         )
7
8
9 bld.SAMBA_SUBSYSTEM('DCOM',
10         source='dcom/main.c dcom/tables.c',
11         public_deps='COM DCOM_PROXY_DCOM RPC_NDR_REMACT RPC_NDR_OXIDRESOLVER',
12         # ORPCTHIS maps to this.*, which hits the "No C++ keywords" define
13         # unless we force off developer mode
14         cflags_end = '-UDEVELOPER',
15         # even with the above hack this still doesn't compile - disable it for now
16         enabled=False
17         )
18
19
20 bld.SAMBA_MODULE('com_simple',
21         source='classes/simple.c',
22         deps='talloc',
23         subsystem='COM',
24         init_function='com_simple_init'
25         )
26
27
28 bld.SAMBA_PYTHON('pycom',
29         source='pycom.c',
30         deps='COM',
31         realname='samba/com.so',
32         )
33