#!/usr/bin/env python

bld.SAMBA_MODULE('sys_notify_inotify',
                 source='inotify.c',
                 subsystem='sys_notify',
                 init_function='sys_notify_inotify_init',
                 deps='events',
                 enabled = bld.CONFIG_SET('HAVE_LINUX_INOTIFY')
                 )


bld.SAMBA_SUBSYSTEM('sys_notify',
                    source='sys_notify.c',
                    deps='talloc'
                    )


bld.SAMBA_MODULE('sys_lease_linux',
                 source='sys_lease_linux.c',
                 deps='tevent',
                 subsystem='sys_lease',
                 init_function='sys_lease_linux_init',
                 enabled = bld.CONFIG_SET('HAVE_F_SETLEASE_DECL')
                 )


bld.SAMBA_SUBSYSTEM('sys_lease',
                    source='sys_lease.c',
                    deps='talloc'
                    )