2010-03-28 09:48:49 +11:00
#!/usr/bin/env python
2011-06-01 23:22:24 +10:00
bld.SAMBA_GENERATOR('s3_param_h',
source= 'loadparm.c ../script/mks3param.pl',
target='s3_param.h',
rule='${PERL} ${SRC[1].abspath(env)} ${SRC[0].abspath(env)} --file ${TGT}')
2011-06-20 15:48:12 +10:00
bld.SAMBA_GENERATOR('param_global_h',
2011-07-01 14:36:25 +10:00
source= 'loadparm.c ../../script/mkparamdefs.pl',
2011-06-20 15:48:12 +10:00
target='param_global.h',
rule='${PERL} ${SRC[1].abspath(env)} ${SRC[0].abspath(env)} --file ${TGT} --generate-scope=GLOBAL')
2010-10-24 10:42:58 -07:00
bld.SAMBA_LIBRARY('samba-hostconfig',
2010-03-17 22:07:42 +11:00
source='loadparm.c generic.c util.c',
2010-03-27 18:14:33 +11:00
pc_files='samba-hostconfig.pc',
2010-03-17 22:07:42 +11:00
vnum='0.0.1',
2010-10-30 14:25:14 +11:00
deps='DYNCONFIG',
2011-07-26 13:29:00 +02:00
public_deps='samba-util param_local_h',
2010-08-11 13:36:48 +10:00
public_headers='param.h',
2010-09-13 20:40:19 +02:00
autoproto='param_proto.h',
2011-07-26 13:29:00 +02:00
autoproto_extra_source='../../lib/param/param_functions.c'
2010-03-17 22:07:42 +11:00
)
2010-06-16 20:15:19 +02:00
bld.SAMBA_SUBSYSTEM('PROVISION',
2010-03-17 22:07:42 +11:00
source='provision.c pyparam.c',
2011-01-30 10:59:41 +01:00
deps='LIBPYTHON pyparam_util ldb pytalloc-util pyldb-util',
2010-10-11 01:09:26 +02:00
pyext=True,
2010-03-17 22:07:42 +11:00
)
bld.SAMBA_SUBSYSTEM('share',
source='share.c',
public_headers='share.h',
2011-09-09 21:24:49 +10:00
deps='samba-util samba-modules'
2010-03-17 22:07:42 +11:00
)
bld.SAMBA_MODULE('share_classic',
source='share_classic.c',
subsystem='share',
init_function='share_classic_init',
2010-10-24 10:42:58 -07:00
deps='samba-util'
2010-03-17 22:07:42 +11:00
)
bld.SAMBA_MODULE('share_ldb',
source='share_ldb.c',
subsystem='share',
init_function='share_ldb_init',
2010-11-07 01:57:34 +01:00
deps='ldbsamba auth_system_session'
2010-03-17 22:07:42 +11:00
)
bld.SAMBA_SUBSYSTEM('SECRETS',
source='secrets.c',
2010-10-30 12:14:15 +11:00
deps='ldb tdb-wrap UTIL_TDB NDR_SECURITY tevent ldbwrap'
2010-03-17 22:07:42 +11:00
)
2011-02-21 14:42:34 +11:00
bld.SAMBA_PYTHON('pyparam',
2010-03-17 22:07:42 +11:00
source='pyparam.c',
2010-10-24 12:53:59 -07:00
deps='samba-hostconfig pytalloc-util',
2010-03-17 22:07:42 +11:00
realname='samba/param.so'
)
2010-06-16 20:15:19 +02:00
bld.SAMBA_SUBSYSTEM('pyparam_util',
2010-03-17 22:07:42 +11:00
source='pyparam_util.c',
2010-10-24 10:42:58 -07:00
deps='LIBPYTHON samba-hostconfig',
2010-10-11 01:09:26 +02:00
pyext=True,
2010-03-17 22:07:42 +11:00
)
2010-10-23 18:41:59 -07:00
bld.SAMBA_LIBRARY('shares',
2010-10-21 14:56:59 +11:00
source=[],
2011-07-26 13:32:39 +02:00
deps='share',
2010-10-21 14:56:59 +11:00
grouping_library=True,
private_library=True)