|
1 /* |
|
2 * Copyright (c) 2009 Nokia Corporation and/or its subsidiary(-ies). All rights reserved. |
|
3 * Redistribution and use in source and binary forms, with or without |
|
4 * modification, are permitted provided that the following conditions are met: |
|
5 **Redistributions of source code must retain the above copyright notice, this |
|
6 * list of conditions and the following disclaimer. |
|
7 ** Redistributions in binary form must reproduce the above copyright notice, |
|
8 * this list of conditions and the following disclaimer in the documentation |
|
9 * and/or other materials provided with the distribution. |
|
10 ** Neither the name of Nokia Corporation nor the names of its contributors |
|
11 * may be used to endorse or promote products derived from this software |
|
12 * without specific prior written permission. |
|
13 * |
|
14 *THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" |
|
15 *AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE |
|
16 *IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE |
|
17 *DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE |
|
18 *FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL |
|
19 *DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR |
|
20 *SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER |
|
21 *CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, |
|
22 *OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE |
|
23 *OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
|
24 * |
|
25 * Description: |
|
26 * |
|
27 */ |
|
28 |
|
29 #include <platform_paths.hrh> |
|
30 |
|
31 /** |
|
32 @file |
|
33 |
|
34 @SYMPurpose libcrypto C standard library |
|
35 */ |
|
36 |
|
37 // using relative paths for sourcepath and user includes |
|
38 // exports are unfrozen |
|
39 |
|
40 OPTION CW -w off |
|
41 OPTION MSVC /W0 |
|
42 OPTION GCC -w |
|
43 |
|
44 // Insignificant warnings in this FreeBSD library code are suppressed |
|
45 OPTION ARMCC -O0 |
|
46 OPTION ARMCC --diag_suppress 68 |
|
47 OPTION ARMCC --diag_suppress 111 |
|
48 OPTION ARMCC --diag_suppress 175 |
|
49 OPTION ARMCC --diag_suppress 223 |
|
50 OPTION ARMCC --diag_suppress 1293 |
|
51 |
|
52 #ifdef WINSCW |
|
53 OPTION CW -stdinc |
|
54 #else |
|
55 EPOCALLOWDLLDATA |
|
56 #endif //WINSCW |
|
57 |
|
58 TARGET libcrypto.dll |
|
59 |
|
60 CAPABILITY All -Tcb |
|
61 VENDORID 0x101FB657 |
|
62 VERSION 0.10 |
|
63 |
|
64 |
|
65 TARGETTYPE dll |
|
66 |
|
67 UID 0x1000008d 0x10281F35 |
|
68 |
|
69 |
|
70 #ifdef EKA2 |
|
71 DEFFILE libcrypto.def |
|
72 #else |
|
73 DEFFILE libcrypto.def |
|
74 #endif |
|
75 //START WINS |
|
76 //WIN32_LIBRARY kernel32.lib |
|
77 //END // |
|
78 #ifdef WINSCW |
|
79 start wins |
|
80 win32_headers |
|
81 end |
|
82 #endif |
|
83 |
|
84 MACRO SYMBIAN |
|
85 MACRO OPENSSL_THREADS |
|
86 MACRO _REENTRANT |
|
87 MACRO DSO_DLFCN |
|
88 MACRO HAVE_DLFCN_H |
|
89 MACRO NO_SYSLOG |
|
90 MACRO ZLIB_SHARED |
|
91 MACRO ZLIB |
|
92 MACRO LIBDL_ONLY_ORDINALS |
|
93 |
|
94 |
|
95 |
|
96 USERINCLUDE .. |
|
97 USERINCLUDE ../inc/include/openssl |
|
98 USERINCLUDE ../inc/include/certretriever |
|
99 USERINCLUDE ../src/crypto |
|
100 USERINCLUDE ../src/crypto/engine |
|
101 USERINCLUDE ../src/crypto/rand |
|
102 USERINCLUDE ../src/crypto/objects |
|
103 USERINCLUDE ../src/crypto/ui |
|
104 USERINCLUDE ../src/crypto/store |
|
105 USERINCLUDE ../src/crypto/x509v3 |
|
106 //USERINCLUDE ../../../stdlibs/ewsd/inc |
|
107 |
|
108 |
|
109 SYSTEMINCLUDE .. |
|
110 SYSTEMINCLUDE ../src/crypto |
|
111 SYSTEMINCLUDE ../inc/include/openssl |
|
112 SYSTEMINCLUDE ../../include\ |
|
113 |
|
114 OS_LAYER_SYSTEMINCLUDE |
|
115 OS_LAYER_LIBC_SYSTEMINCLUDE |
|
116 OS_LAYER_SSL_SYSTEMINCLUDE |
|
117 |
|
118 SOURCEPATH ../src\ |
|
119 |
|
120 #ifdef WINSCW |
|
121 SOURCE crypto/libcrypto_wsd.cpp |
|
122 #endif /*WINSCW*/ |
|
123 |
|
124 SOURCE crypto/cryptlib.c |
|
125 SOURCE crypto/mem.c |
|
126 SOURCE crypto/mem_clr.c |
|
127 SOURCE crypto/mem_dbg.c |
|
128 SOURCE crypto/cversion.c |
|
129 SOURCE crypto/ex_data.c |
|
130 SOURCE crypto/tmdiff.c |
|
131 SOURCE crypto/ebcdic.c |
|
132 SOURCE crypto/o_time.c |
|
133 SOURCE crypto/o_dir.c |
|
134 SOURCE crypto/o_str.c |
|
135 SOURCE crypto/uid.c |
|
136 SOURCE crypto/cpt_err.c |
|
137 |
|
138 // include all mmpi files |
|
139 SOURCEPATH ../src\ |
|
140 |
|
141 #include "aes.mmpi" |
|
142 #include "asn1.mmpi" |
|
143 #include "bio.mmpi" |
|
144 #include "bn.mmpi" |
|
145 #include "buffer.mmpi" |
|
146 #include "comp.mmpi" |
|
147 #include "conf.mmpi" |
|
148 #include "des.mmpi" |
|
149 #include "dh.mmpi" |
|
150 #include "dsa.mmpi" |
|
151 #include "dso.mmpi" |
|
152 #include "engine.mmpi" |
|
153 #include "err.mmpi" |
|
154 #include "evp.mmpi" |
|
155 #include "hmac.mmpi" |
|
156 #include "lhash.mmpi" |
|
157 #include "md2.mmpi" |
|
158 #include "md5.mmpi" |
|
159 #include "objects.mmpi" |
|
160 #include "ocsp.mmpi" |
|
161 #include "pem.mmpi" |
|
162 #include "pkcs7.mmpi" |
|
163 #include "pkcs12.mmpi" |
|
164 #include "pqueue.mmpi" |
|
165 #include "rand.mmpi" |
|
166 #include "rc2.mmpi" |
|
167 #include "rc4.mmpi" |
|
168 #include "rsa.mmpi" |
|
169 #include "sha.mmpi" |
|
170 #include "stack.mmpi" |
|
171 #include "store.mmpi" |
|
172 #include "txt_db.mmpi" |
|
173 #include "ui.mmpi" |
|
174 #include "x509.mmpi" |
|
175 #include "x509v3.mmpi" |
|
176 #include "certretriever.mmpi" |
|
177 |
|
178 |
|
179 LIBRARY libc.lib libdl.lib euser.lib efsrv.lib certstore.lib ctframework.lib x509.lib crypto.lib x500.lib asn1.lib |
|
180 #ifdef WINSCW |
|
181 LIBRARY ewsd.lib |
|
182 #endif |
|
183 START MARM |
|
184 END |
|
185 |
|
186 SMPSAFE |