waf: Remove lib prefix from libraries manually.
[sfrench/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 PIDL_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         subsystem='COM',
23         init_function='com_simple_init'
24         )
25
26
27 bld.SAMBA_PYTHON('pycom',
28         source='pycom.c',
29         deps='COM',
30         realname='samba/com.so',
31         )
32