1# We make separate GOAL variables for each algorithm, to make it easy to
2# switch each to the Legacy provider when needed.
3
4$DSA_GOAL=../../libdefault.a ../../libfips.a
5$EC_GOAL=../../libdefault.a ../../libfips.a
6$MAC_GOAL=../../libdefault.a ../../libfips.a
7$RSA_GOAL=../../libdefault.a ../../libfips.a
8$SM2_GOAL=../../libdefault.a
9
10IF[{- !$disabled{dsa} -}]
11  SOURCE[$DSA_GOAL]=dsa_sig.c
12ENDIF
13
14IF[{- !$disabled{ec} -}]
15  SOURCE[$EC_GOAL]=ecdsa_sig.c
16  IF[{- !$disabled{ecx} -}]
17    SOURCE[$EC_GOAL]=eddsa_sig.c
18  ENDIF
19ENDIF
20
21IF[{- !$disabled{sm2} -}]
22  SOURCE[$SM2_GOAL]=sm2_sig.c
23ENDIF
24
25SOURCE[$RSA_GOAL]=rsa_sig.c
26
27DEPEND[rsa_sig.o]=../../common/include/prov/der_rsa.h
28DEPEND[dsa_sig.o]=../../common/include/prov/der_dsa.h
29DEPEND[ecdsa_sig.o]=../../common/include/prov/der_ec.h
30DEPEND[eddsa_sig.o]=../../common/include/prov/der_ecx.h
31DEPEND[sm2_sig.o]=../../common/include/prov/der_sm2.h
32
33SOURCE[$MAC_GOAL]=mac_legacy_sig.c
34