2010-03-28 09:48:49 +11:00
#!/usr/bin/env python
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-04-12 09:47:49 +02:00
deps='DYNCONFIG CHARSET',
2010-10-24 10:42:58 -07:00
public_deps='samba-util',
2010-08-11 13:36:48 +10:00
public_headers='param.h',
2010-09-13 20:40:19 +02:00
autoproto='param_proto.h',
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',
2010-10-24 12:53:59 -07:00
deps='LIBPYTHON pyparam_util ldb pytalloc-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',
2010-10-24 10:42:58 -07:00
deps='samba-util'
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-10-30 11:41:11 +11: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
)
bld.SAMBA_PYTHON('param',
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=[],
deps='share share_classic share_ldb',
grouping_library=True,
private_library=True)