-
Notifications
You must be signed in to change notification settings - Fork 5
/
build.xml
57 lines (49 loc) · 1.74 KB
/
build.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
<?xml version="1.0" encoding="UTF-8"?>
<!--
file: build.xml
-->
<project basedir="." name="WooKey-Javacard-Applets">
<property environment="env"/>
<taskdef name="javacard"
classname="pro.javacard.ant.JavaCard"
classpath="ant-javacard.jar" />
<!-- Build applets -->
<target name="build_auth">
<mkdir dir="build_auth"/>
<javacard>
<!-- WooKey Authentication Applet -->
<cap jckit="${env.JAVA_SC_SDK}" aid="45757477747536"
output="build_auth/wookey_auth.cap" sources="src/wookey/tmp/common_auth;src/wookey/auth"
jca="build_auth/wookey_auth.jca" export="build_auth/">
<applet class="wookey_auth.WooKeyAuth" aid="45757477747536417070"/>
</cap>
</javacard>
</target>
<target name="build_dfu">
<mkdir dir="build_dfu"/>
<javacard>
<!-- WooKey DFU Applet -->
<cap jckit="${env.JAVA_SC_SDK}" aid="45757477747537"
output="build_dfu/wookey_dfu.cap" sources="src/wookey/tmp/common_dfu;src/wookey/dfu"
jca="build_dfu/wookey_dfu.jca" export="build_dfu/">
<applet class="wookey_dfu.WooKeyDFU" aid="45757477747536417071"/>
</cap>
</javacard>
</target>
<target name="build_sig">
<mkdir dir="build_sig"/>
<javacard>
<!-- WooKey SIG Applet -->
<cap jckit="${env.JAVA_SC_SDK}" aid="45757477747538"
output="build_sig/wookey_sig.cap" sources="src/wookey/tmp/common_sig;src/wookey/sig"
jca="build_sig/wookey_sig.jca" export="build_sig/">
<applet class="wookey_sig.WooKeySIG" aid="45757477747536417072"/>
</cap>
</javacard>
</target>
<target name="clean">
<delete dir="build_auth"/>
<delete dir="build_dfu"/>
<delete dir="build_sig"/>
</target>
</project>