<?xml version="1.0" encoding="UTF-8"?>
<!--
Copyright (c) 2008 Radoslav Gerganov
All rights reserved. This program and the accompanying materials
are made available under the terms of the Eclipse Public License v1.0
which accompanies this distribution, and is available at
http://www.eclipse.org/legal/epl-v10.html

Contributors:
 Radoslav Gerganov - initial API and implementation
-->
<project name="jrapi" basedir=".." default="jni">
	<description>
		Java wrappers for RAPI2
	</description>

	<target name="clean">
		<delete dir="bin"/>
	</target>
	
	<target name="compile" depends="clean">
		<mkdir dir="bin"/>
		<javac srcdir="src" destdir="bin" debug="on" source="1.3" target="1.3"/>    
	</target>

	<target name="jni" depends="compile">
		<javah destdir="native" classpath="bin" force="yes">
			<class name="org.eclipse.tm.rapi.OS"/>
			<class name="org.eclipse.tm.internal.rapi.RapiDesktop"/>
			<class name="org.eclipse.tm.internal.rapi.RapiDevice"/>
			<class name="org.eclipse.tm.internal.rapi.RapiEnumDevices"/>
			<class name="org.eclipse.tm.internal.rapi.RapiSession"/>
		</javah>
	</target>

</project>
