#!/usr/bin/env python
import autowaf

def build(bld):
	# Headers
	bld.install_files('${INCLUDEDIR}/ingen/serialisation', bld.path.ant_glob('*.hpp'))

	obj = bld(features = 'cxx cxxshlib')
	obj.source = '''
		Parser.cpp
		Serialiser.cpp
		serialisation.cpp
	'''
	obj.export_includes = ['.']
	obj.includes        = ['.', '..', '../..', '../common']
	obj.name            = 'libingen_serialisation'
	obj.target          = 'ingen_serialisation'
	obj.install_path    = '${LIBDIR}'
	obj.use             = 'libingen_shared'
	autowaf.use_lib(bld, obj, 'GLIBMM LV2CORE SLV2 RAUL REDLANDMM')