summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 6f3751d)
raw | patch | inline | side by side (parent: 6f3751d)
author | ishmal <ishmal@users.sourceforge.net> | |
Sat, 8 Mar 2008 22:50:13 +0000 (22:50 +0000) | ||
committer | ishmal <ishmal@users.sourceforge.net> | |
Sat, 8 Mar 2008 22:50:13 +0000 (22:50 +0000) |
build.xml | patch | blob | history |
diff --git a/build.xml b/build.xml
index 88b57a5069be87e9d23df88e4c58bef9e6ccc528..76e3f783c4ba14d3d7296ccaa43e81d1a1d6cfc6 100644 (file)
--- a/build.xml
+++ b/build.xml
</description>
<!-- set global properties for this build -->
+ <property environment="env"/>
<property name="version" value="0.46+devel"/>
<property name="src" location="src"/>
<property name="lib" location="lib"/>
query="both" property="gtkmm" prefix="${gtk}"/>
-->
+ <mkdir dir="${build}"/>
+ <mkdir dir="${build}/java"/>
+ <mkdir dir="${build}/java/classes"/>
+
<mkdir dir="${build}"/>
<mkdir dir="${dist}"/>
<copy file="${src}/helper/sp-marshal.h.mingw"
<!-- THINGS TO EXCLUDE -->
<exclude name="2geom/chebyshev.cpp"/>
<exclude name="ast/.*"/>
+ <exclude name="bind/.*"/><!-- comment this for binding-->
<exclude name="bonobo/.*"/>
<exclude name="deptool.cpp"/>
<exclude name="test-all.cpp"/>
-I${gtk}/include/libwpg-0.1
-I${gtk}/include/libwpd-0.8
<!-- PERL -->
- -Wno-comment -I${gtk}/perl/lib/CORE
+ <!-- -Wno-comment -I${gtk}/perl/lib/CORE -->
<!-- PYTHON -->
-I${gtk}/python/include
+ <!-- JAVA -->
+ <!-- -I${env.JAVA_HOME}/include -I${env.JAVA_HOME}/include/win32 -->
</includes>
</cc>
</target>
+ <!--
+ ########################################################################
+ ## T A R G E T : JAVA
+ ########################################################################
+ -->
+ <target name="java" depends="init"
+ description="compile java binding classes">
+ <javac srcdir="${src}/bind/java" destdir="${build}/java/classes"/>
+ </target>
+
+
<!--
########################################################################
## T A R G E T : L I B
########################################################################
-->
+ <!-- set depends to "compile,java" if you want to test that -->
<target name="lib" depends="compile"
description="create a static library">
<staticlib command="${archutil}ar crsv"
## T A R G E T : D I S T
########################################################################
-->
- <target name="dist" depends="link,linkinkview,i18n"
+ <target name="dist" depends="link,i18n"
description="generate the distribution directory with all needed files">
<!-- Create the distribution directory -->
## T A R G E T : D I S T - A L L
########################################################################
-->
- <target name="dist-all" depends="dist,linkinkview"
+ <target name="dist-all" depends="dist"
description="generate the distribution, along with inkview" >
<copy file="${build}/inkview.exe" todir="${dist}"/>