]>
Commit | Line | Data |
---|---|---|
3f5ea7dc RL |
1 | #----- Digests |
2 | $DER_DIGESTS_H=../include/prov/der_digests.h | |
3 | $DER_DIGESTS_GEN=der_digests_gen.c | |
6f5837dc | 4 | |
3f5ea7dc RL |
5 | GENERATE[$DER_DIGESTS_GEN]=der_digests_gen.c.in |
6 | DEPEND[$DER_DIGESTS_GEN]=oids_to_c.pm | |
6f5837dc | 7 | |
3f5ea7dc RL |
8 | DEPEND[${DER_DIGESTS_GEN/.c/.o}]=$DER_DIGESTS_H |
9 | GENERATE[$DER_DIGESTS_H]=der_digests.h.in | |
10 | DEPEND[$DER_DIGESTS_H]=oids_to_c.pm | |
6f5837dc | 11 | |
3f5ea7dc RL |
12 | #----- RSA |
13 | $DER_RSA_H=../include/prov/der_rsa.h | |
14 | $DER_RSA_GEN=der_rsa_gen.c | |
15 | $DER_RSA_AUX=der_rsa_key.c der_rsa_sig.c | |
16 | $DER_RSA_COMMON=$DER_RSA_GEN der_rsa_sig.c | |
17 | $DER_RSA_FIPSABLE=der_rsa_key.c | |
8c555803 | 18 | |
3f5ea7dc RL |
19 | GENERATE[$DER_RSA_GEN]=der_rsa_gen.c.in |
20 | DEPEND[$DER_RSA_GEN]=oids_to_c.pm | |
8c555803 | 21 | |
3f5ea7dc RL |
22 | DEPEND[${DER_RSA_AUX/.c/.o}]=$DER_RSA_H $DER_DIGESTS_H |
23 | DEPEND[${DER_RSA_GEN/.c/.o}]=$DER_RSA_H | |
24 | GENERATE[$DER_RSA_H]=der_rsa.h.in | |
25 | DEPEND[$DER_RSA_H]=oids_to_c.pm | |
2d956b32 | 26 | |
3f5ea7dc RL |
27 | #----- DSA |
28 | $DER_DSA_H=../include/prov/der_dsa.h | |
29 | $DER_DSA_GEN=der_dsa_gen.c | |
30 | $DER_DSA_AUX=der_dsa_key.c der_dsa_sig.c | |
2d956b32 | 31 | |
3f5ea7dc RL |
32 | GENERATE[$DER_DSA_GEN]=der_dsa_gen.c.in |
33 | DEPEND[$DER_DSA_GEN]=oids_to_c.pm | |
36a2a551 | 34 | |
3f5ea7dc RL |
35 | DEPEND[${DER_DSA_AUX/.c/.o}]=$DER_DSA_H $DER_DIGESTS_H |
36 | DEPEND[${DER_DSA_GEN/.c/.o}]=$DER_DSA_H | |
37 | GENERATE[$DER_DSA_H]=der_dsa.h.in | |
38 | DEPEND[$DER_DSA_H]=oids_to_c.pm | |
36a2a551 | 39 | |
3f5ea7dc RL |
40 | #----- EC |
41 | $DER_EC_H=../include/prov/der_ec.h | |
42 | $DER_EC_GEN=der_ec_gen.c | |
43 | $DER_EC_AUX=der_ec_key.c der_ec_sig.c | |
44 | ||
45 | GENERATE[$DER_EC_GEN]=der_ec_gen.c.in | |
46 | DEPEND[$DER_EC_GEN]=oids_to_c.pm | |
47 | ||
48 | DEPEND[${DER_EC_AUX/.c/.o}]=$DER_EC_H $DER_DIGESTS_H | |
49 | DEPEND[${DER_EC_GEN/.c/.o}]=$DER_EC_H | |
50 | GENERATE[$DER_EC_H]=der_ec.h.in | |
51 | DEPEND[$DER_EC_H]=oids_to_c.pm | |
52 | ||
53 | #----- Conclusion | |
54 | ||
55 | # TODO(3.0) $COMMON should go to libcommon.a, but this currently leads | |
56 | # to linking conflicts, so we add it to libfips.a and libnonfips.a for | |
57 | # the moment being | |
58 | $COMMON=\ | |
59 | $DER_RSA_COMMON \ | |
60 | $DER_DSA_GEN $DER_DSA_AUX \ | |
61 | $DER_EC_GEN $DER_EC_AUX \ | |
62 | $DER_DIGESTS_GEN | |
63 | SOURCE[../../libfips.a]=$COMMON $DER_RSA_FIPSABLE | |
64 | SOURCE[../../libnonfips.a]=$COMMON $DER_RSA_FIPSABLE |