#!/usr/bin/env python

import os

topinclude=os.path.join(bld.srcnode.abspath(), 'librpc/idl')

bld.SAMBA_PIDL_LIST('PIDL',
		    source='''ntp_signd.idl
                              opendb.idl sasl_helpers.idl
                              winsif.idl winsrepl.idl winstation.idl''',
                    options="--includedir=%s --header --ndr-parser" % topinclude,
                    output_dir='../gen_ndr')

bld.SAMBA_PIDL_LIST('PIDL',
		    source='''irpc.idl''',
                    options="--includedir=%s --header --ndr-parser --client --python" % topinclude,
                    output_dir='../gen_ndr')
