crypto/bn: fix debug build
[openssl.git] / crypto / build.info
1 # Note that these directories are filtered in Configure.  Look for %skipdir
2 # there for further explanations.
3 SUBDIRS=objects buffer bio stack lhash rand evp asn1 pem x509 conf \
4         txt_db pkcs7 pkcs12 ui kdf store property \
5         md2 md4 md5 sha mdc2 hmac ripemd whrlpool poly1305 \
6         siphash sm3 des aes rc2 rc4 rc5 idea aria bf cast camellia \
7         seed sm4 chacha modes bn ec rsa dsa dh sm2 dso engine \
8         err comp http ocsp cms ts srp cmac ct async ess crmf cmp serializer \
9         ffc
10
11 LIBS=../libcrypto
12
13 $UPLINKSRC=
14 $UPLINKDEF=
15 IF[{- !$disabled{uplink} -}]
16   $UPLINKSRC_common=../ms/uplink.c
17   $UPLINKSRC_x86=$UPLINKSRC_common uplink-x86.s
18   $UPLINKSRC_x86_64=$UPLINKSRC_common uplink-x86_64.s
19   $UPLINKSRC_ia64=$UPLINKSRC_common uplink-ia64.s
20
21   IF[$UPLINKSRC_{- $target{uplink_arch} -}]
22     $UPLINKSRC=$UPLINKSRC_{- $target{uplink_arch} -}
23     $UPLINKDEF=OPENSSL_USE_APPLINK
24   ENDIF
25 ENDIF
26
27 $CPUIDASM=mem_clr.c
28 $CPUIDDEF=
29 IF[{- !$disabled{asm} && $config{processor} ne '386' -}]
30   $CPUIDASM_x86=x86cpuid.s
31
32   $CPUIDASM_x86_64=x86_64cpuid.s
33
34   $CPUIDASM_ia64=ia64cpuid.s
35
36   $CPUIDASM_sparcv9=sparcv9cap.c sparccpuid.S
37
38   $CPUIDASM_alpha=alphacpuid.s
39
40   $CPUIDASM_s390x=s390xcap.c s390xcpuid.S
41
42   $CPUIDASM_armv4=armcap.c armv4cpuid.S
43
44   $CPUIDASM_aarch64=armcap.c arm64cpuid.S
45
46   $CPUIDASM_parisc11=pariscid.s
47   $CPUIDASM_parisc20_64=$CPUIDASM_parisc11
48
49   $CPUIDASM_ppc32=ppccpuid.s ppccap.c
50   $CPUIDASM_ppc64=$CPUIDASM_ppc32
51
52   $CPUIDASM_c64xplus=c64xpluscpuid.s
53
54   # Now that we have defined all the arch specific variables, use the
55   # appropriate one, and define the appropriate macros
56   IF[$CPUIDASM_{- $target{asm_arch} -}]
57     $CPUIDASM=$CPUIDASM_{- $target{asm_arch} -}
58     $CPUIDDEF=OPENSSL_CPUID_OBJ
59   ENDIF
60 ENDIF
61
62 # The Core
63 $CORE_COMMON=provider_core.c provider_predefined.c \
64         core_fetch.c core_algorithm.c core_namemap.c
65
66 SOURCE[../libcrypto]=$CORE_COMMON provider_conf.c self_test_core.c
67 SOURCE[../providers/libfips.a]=$CORE_COMMON
68
69 # Central utilities
70 $UTIL_COMMON=\
71         cryptlib.c params.c params_from_text.c bsearch.c ex_data.c o_str.c \
72         ctype.c threads_pthread.c threads_win.c threads_none.c initthread.c \
73         context.c sparse_array.c asn1_dsa.c packet.c param_build.c $CPUIDASM
74 $UTIL_DEFINE=$CPUIDDEF
75
76 SOURCE[../libcrypto]=$UTIL_COMMON \
77         mem.c mem_sec.c \
78         cversion.c info.c cpt_err.c ebcdic.c uid.c o_time.c o_dir.c \
79         o_fopen.c getenv.c o_init.c o_fips.c init.c trace.c provider.c \
80         $UPLINKSRC
81 SOURCE[../providers/libfips.a]=$UTIL_COMMON
82
83 # Implementations are now spread across several libraries, so the defines
84 # need to be applied to all affected libraries and modules.
85 DEFINE[../libcrypto]=$UTIL_DEFINE $UPLINKDEF
86 DEFINE[../providers/libfips.a]=$UTIL_DEFINE
87 DEFINE[../providers/fips]=$UTIL_DEFINE
88 DEFINE[../providers/libimplementations.a]=$UTIL_DEFINE
89 DEFINE[../providers/libcommon.a]=$UTIL_DEFINE
90
91 DEPEND[info.o]=buildinf.h
92 DEPEND[cversion.o]=buildinf.h
93 GENERATE[buildinf.h]=../util/mkbuildinf.pl "$(CC) $(LIB_CFLAGS) $(CPPFLAGS_Q)" "$(PLATFORM)"
94 DEPEND[buildinf.h]=../configdata.pm
95
96 GENERATE[uplink-x86.s]=../ms/uplink-x86.pl
97 GENERATE[uplink-x86_64.s]=../ms/uplink-x86_64.pl
98 GENERATE[uplink-ia64.s]=../ms/uplink-ia64.pl
99
100 GENERATE[x86cpuid.s]=x86cpuid.pl
101 DEPEND[x86cpuid.s]=perlasm/x86asm.pl
102
103 GENERATE[x86_64cpuid.s]=x86_64cpuid.pl
104
105 GENERATE[ia64cpuid.s]=ia64cpuid.S
106 GENERATE[ppccpuid.s]=ppccpuid.pl
107 GENERATE[pariscid.s]=pariscid.pl
108 GENERATE[alphacpuid.s]=alphacpuid.pl
109 GENERATE[arm64cpuid.S]=arm64cpuid.pl
110 INCLUDE[arm64cpuid.o]=.
111 GENERATE[armv4cpuid.S]=armv4cpuid.pl
112 INCLUDE[armv4cpuid.o]=.
113 GENERATE[s390xcpuid.S]=s390xcpuid.pl
114 INCLUDE[s390xcpuid.o]=.
115
116 IF[{- $config{target} =~ /^(?:Cygwin|mingw|VC-)/ -}]
117   SHARED_SOURCE[../libcrypto]=dllmain.c
118 ENDIF