mirror of
https://github.com/overcuriousity/autopsy-flatpak.git
synced 2025-07-06 12:50:22 +00:00
36 lines
1.7 KiB
XML
36 lines
1.7 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>
|
|
|
|
<!-- BC: NOTE I'm not sure this copying is required anymore because the
|
|
TSK Data model JAR file should have the libraries inside of it. We've
|
|
made that change w/out really maintaining the non-Windows platforms. -->
|
|
<!-- 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="copyLibsToZip" />
|
|
|
|
<target name="copyLibsToBaseDir" />
|
|
|
|
<target name="build-installer-unix">
|
|
<echo>Unix installer creation not supported at this time</echo>
|
|
</target>
|
|
</project>
|