autopsy-flatpak/build-unix.xml
adam-m 58043edb45 Initial merge of core modules - it does build.
Pull core deps. jars from Maven using ivy.
Simplify dependencies.
TODO: add to classpath jars that should be, fix javahelp, merge layer.xml, disable some netbeans modules, merge Installer.java
2012-09-25 18:14:40 -04:00

32 lines
1.5 KiB
XML

<project name="AutopsyTSKTargets">
<target name="testTSKLibs">
<property environment="env"/>
<available file="${env.TSK_HOME}/bindings/java/jni/.libs/libtsk_jni.dylib" property="tsk_dylib.present"/>
<available file="${env.TSK_HOME}/bindings/java/jni/.libs/libtsk_jni.so" property="tsk_so.present"/>
</target>
<!-- OS X -->
<target name="copyTskLibs_dylib" depends="testTSKLibs" if="tsk_dylib.present">
<property environment="env"/>
<copy file="${env.TSK_HOME}/bindings/java/jni/.libs/libtsk_jni.dylib" tofile="${basedir}/Core/release/modules/lib/libtsk_jni.jnilib"/>
</target>
<!-- Non-OS X -->
<target name="copyTskLibs_so" depends="testTSKLibs" if="tsk_so.present">
<property environment="env"/>
<copy file="${env.TSK_HOME}/bindings/java/jni/.libs/libtsk_jni.so" tofile="${basedir}/Core/release/modules/lib/libtsk_jni.so"/>
</target>
<target name="copyTSKLibsToRelease" depends="copyTskLibs_so,copyTskLibs_dylib">
<!-- depends targets take care of the actual copying since the file differs on OS X and Linux -->
<!-- This assumes that TSK, libewf, and zlib have been installed on the system and those libraries will be with normal loading approaches -->
</target>
<target name="copyExternalLibsToZip">
</target>
<target name="build-installer-unix">
<echo>Unix installer creation not supported at this time</echo>
</target>
</project>