#! /usr/bin/env python
# encoding: utf-8
# Thomas Nagy, 2005 (ita)

def build(bld):
	# first program, a kde program with a dcop interface
	obj = bld.create_obj('kde', 'program')
	obj.target='test2'
	obj.source="""
	main.cpp
	test2.cpp
	test2view.cpp
	pref.cpp
	test2iface.skel
	"""
	obj.includes='.'
	obj.uselib='QT KDECORE KIO KDEPRINT'

	# second program, a client for the program previously created
	client = bld.create_obj('kde', 'program')
	client.source='test2_client.cpp'
	client.target='test2_client'
	client.uselib='QT KDECORE KIO KDEPRINT'

	## Install the .rc file
	#install_files( 'KDEDATA', 'test2', 'test2ui.rc' )
	## Install the .desktop file
	#install_files( 'KDEMENU', 'Utilities', 'test2.desktop' )

