# AUTOGENERATED by mktowscript.pl from ../../source4/smbd/config.mk
# Please remove this notice if hand editing


bld.SAMBA_SUBSYSTEM('service',
	source='service.c service_stream.c service_named_pipe.c service_task.c',
	autoproto='service_proto.h',
	deps='tevent MESSAGING samba_socket NDR_NAMED_PIPE_AUTH NAMED_PIPE_AUTH_TSTREAM HEIMDAL_GSSAPI CREDENTIALS LIBTSOCKET LIBSAMBA_TSOCKET'
	)


bld.SAMBA_SUBSYSTEM('PIDFILE',
	source='pidfile.c',
	autoproto='pidfile.h'
	)


bld.SAMBA_BINARY('samba',
	source='server.c',
	manpages='samba.8',
	installdir='SBINDIR',
        subsystem_name='service',
	deps='''LIBEVENTS process_model service LIBSAMBA-HOSTCONFIG LIBSAMBA-UTIL POPT_SAMBA PIDFILE
                LIBPOPT gensec registry ntptr ntvfs share CLUSTER DCESRV''',
        needs_python=True,
        install_path='${SBINDIR}'
	)




# AUTOGENERATED by mktowscript.pl from ../../source4/smbd/process_model.mk
# Please remove this notice if hand editing


bld.SAMBA_MODULE('process_model_single',
	source='process_single.c',
	subsystem='process_model',
	init_function='process_model_single_init',
	internal_module=True
	)


bld.SAMBA_MODULE('process_model_standard',
	source='process_standard.c',
	subsystem='process_model',
	init_function='process_model_standard_init',
	deps='LIBEVENTS SETPROCTITLE'
	)


bld.SAMBA_MODULE('process_model_thread',
	source='process_thread.c',
	subsystem='process_model',
	init_function='process_model_thread_init',
        enabled=False,
	deps='pthread'
	)


bld.SAMBA_MODULE('process_model_prefork',
	source='process_prefork.c',
	subsystem='process_model',
	init_function='process_model_prefork_init',
	deps='LIBEVENTS SETPROCTITLE'
	)


bld.SAMBA_SUBSYSTEM('process_model',
	source='process_model.c',
	autoproto='process_model_proto.h',
	deps='LIBSAMBA-UTIL LIBSAMBA-HOSTCONFIG'
	)