summaryrefslogtreecommitdiff
path: root/source4/lib/com/wscript_build
blob: 2794d6623b1589d4e7a0594baea371467b1fbe2f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
#!/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',
	)