import	rkBuilder
import	rkConfig
import	rkDesktop
import	rkMoc

rkBuilder.setCommandLine (COMMAND_LINE_TARGETS, ARGUMENTS)


#  Note that the kb_copybase/file.cpp/h files #include the corresponding
#  files in libs/kbase, and are used so that the driver is not dependant
#  on the main library. To do so would mean we'd need two versions of the
#  driver, one full and one runtime. Moving the kb_copy* files into a
#  separate library might be a better idea.

rkMoc    .generateMocFiles   ('db/csv')
rkDesktop.makeDesktopFile    ('rekall_driver_csv')

rb	= rkBuilder.rkBuilder ('driver_csv', rkBuilder.typeLoadedLib)
rb.addAll	 	('libs/common', '_common')
rb.addAll	 	('libs/el32',   '_el32'  )
rb.setDefine		('LIBKBASE_API',''	 )
rb.addPorting		()
rb.setBuildStamp	()
rb.build	 	(desktop = 'rekall_driver_csv.desktop')
