#!/usr/bin/env python
import autowaf

def build(bld):
	obj = bld.new_task_gen('cxx', 'shlib')
	obj.source = '''
		Parser.cpp
		Serialiser.cpp
		serialisation.cpp
	'''
	obj.export_incdirs = ['.']
	obj.includes     = ['.', '..', '../common']
	obj.name         = 'libingen_serialisation'
	obj.target       = 'ingen_serialisation'
	obj.install_path = '${LIBDIR}/ingen'
	obj.uselib_local = 'libingen_shared'
	autowaf.use_lib(bld, obj, 'GLIBMM LV2CORE SLV2 RAUL REDLANDMM')