
def build(ctx):

	libisc_source = [
		"assertions.c",
		"backtrace-emptytbl.c",
		"backtrace.c",
		"error.c",
		"netaddr.c",
		"sha1.c",
		"errno2result.c",
		"interfaceiter.c",
		"net.c"
	]

	ctx(
		target		= "libisc_obj",
		features	= "c bld_include src_include",
		source		= libisc_source,
		includes	= [
				"%s/libisc/include/" % ctx.srcnode.abspath(),
				],

	)

	ctx(
		target		= "isc",
		features	= "c cstlib bld_include src_include",
		use			= "libisc_obj"
	)
