source: trunk/server/source4/scripting/python/wscript_build

Last change on this file was 745, checked in by Silvan Scherrer, 13 years ago

Samba Server: updated trunk to 3.6.0

File size: 879 bytes
Line 
1#!/usr/bin/env python
2
3bld.SAMBA_LIBRARY('samba_python',
4 source=[],
5 deps='LIBPYTHON pytalloc-util pyrpc_util',
6 grouping_library=True,
7 private_library=True,
8 pyext=True)
9
10bld.SAMBA_SUBSYSTEM('LIBPYTHON',
11 source='modules.c',
12 public_deps='',
13 init_function_sentinal='{NULL,NULL}',
14 deps='talloc',
15 pyext=True,
16 )
17
18
19bld.SAMBA_PYTHON('python_uuid',
20 source='uuidmodule.c',
21 deps='ndr',
22 realname='uuid.so',
23 enabled = float(bld.env.PYTHON_VERSION) <= 2.4
24 )
25
26
27bld.SAMBA_PYTHON('python_glue',
28 source='pyglue.c',
29 deps='pyparam_util samba-util netif pytalloc-util',
30 realname='samba/_glue.so'
31 )
32
33
34# install out various python scripts for use by make test
35bld.SAMBA_SCRIPT('samba_python',
36 pattern='samba/**/*.py',
37 installdir='python')
38
39bld.INSTALL_WILDCARD('${PYTHONARCHDIR}', 'samba/**/*.py', flat=False)
Note: See TracBrowser for help on using the repository browser.