|
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 #ifdef WINSCW |
|
45 OPTION CW -stdinc |
|
46 #else |
|
47 EPOCALLOWDLLDATA |
|
48 #endif //WINSCW |
|
49 |
|
50 TARGET libcrypto.dll |
|
51 |
|
52 CAPABILITY All -Tcb |
|
53 VENDORID 0x101FB657 |
|
54 VERSION 0.9 |
|
55 |
|
56 |
|
57 TARGETTYPE dll |
|
58 |
|
59 UID 0x1000008d 0x10281F35 |
|
60 |
|
61 |
|
62 #ifdef EKA2 |
|
63 DEFFILE libcrypto.def |
|
64 #else |
|
65 DEFFILE libcrypto.def |
|
66 #endif |
|
67 //START WINS |
|
68 //WIN32_LIBRARY kernel32.lib |
|
69 //END // |
|
70 #ifdef WINSCW |
|
71 start wins |
|
72 win32_headers |
|
73 end |
|
74 #endif |
|
75 |
|
76 MACRO SYMBIAN |
|
77 MACRO OPENSSL_THREADS |
|
78 MACRO _REENTRANT |
|
79 MACRO DSO_DLFCN |
|
80 MACRO HAVE_DLFCN_H |
|
81 MACRO NO_SYSLOG |
|
82 MACRO ZLIB_SHARED |
|
83 MACRO ZLIB |
|
84 MACRO LIBDL_ONLY_ORDINALS |
|
85 |
|
86 |
|
87 |
|
88 USERINCLUDE .. |
|
89 USERINCLUDE ../inc/include/openssl |
|
90 USERINCLUDE ../inc/include/certretriever |
|
91 USERINCLUDE ../src/crypto |
|
92 USERINCLUDE ../src/crypto/engine |
|
93 USERINCLUDE ../src/crypto/rand |
|
94 USERINCLUDE ../src/crypto/objects |
|
95 USERINCLUDE ../src/crypto/ui |
|
96 USERINCLUDE ../src/crypto/store |
|
97 USERINCLUDE ../src/crypto/x509v3 |
|
98 //USERINCLUDE ../../../stdlibs/ewsd/inc |
|
99 |
|
100 |
|
101 SYSTEMINCLUDE .. |
|
102 SYSTEMINCLUDE ../src/crypto |
|
103 SYSTEMINCLUDE ../inc/include/openssl |
|
104 SYSTEMINCLUDE ../../include\ |
|
105 |
|
106 OS_LAYER_SYSTEMINCLUDE |
|
107 OS_LAYER_LIBC_SYSTEMINCLUDE |
|
108 OS_LAYER_SSL_SYSTEMINCLUDE |
|
109 |
|
110 SOURCEPATH ../src\ |
|
111 |
|
112 #ifdef WINSCW |
|
113 SOURCE crypto/libcrypto_wsd.cpp |
|
114 #endif /*WINSCW*/ |
|
115 |
|
116 SOURCE crypto/cryptlib.c |
|
117 SOURCE crypto/mem.c |
|
118 SOURCE crypto/mem_clr.c |
|
119 SOURCE crypto/mem_dbg.c |
|
120 SOURCE crypto/cversion.c |
|
121 SOURCE crypto/ex_data.c |
|
122 SOURCE crypto/tmdiff.c |
|
123 SOURCE crypto/ebcdic.c |
|
124 SOURCE crypto/o_time.c |
|
125 SOURCE crypto/o_dir.c |
|
126 SOURCE crypto/o_str.c |
|
127 SOURCE crypto/uid.c |
|
128 SOURCE crypto/cpt_err.c |
|
129 |
|
130 // include all mmpi files |
|
131 SOURCEPATH ../src\ |
|
132 |
|
133 #include "aes.mmpi" |
|
134 #include "asn1.mmpi" |
|
135 #include "bio.mmpi" |
|
136 #include "bn.mmpi" |
|
137 #include "buffer.mmpi" |
|
138 #include "comp.mmpi" |
|
139 #include "conf.mmpi" |
|
140 #include "des.mmpi" |
|
141 #include "dh.mmpi" |
|
142 #include "dsa.mmpi" |
|
143 #include "dso.mmpi" |
|
144 #include "engine.mmpi" |
|
145 #include "err.mmpi" |
|
146 #include "evp.mmpi" |
|
147 #include "hmac.mmpi" |
|
148 #include "lhash.mmpi" |
|
149 #include "md2.mmpi" |
|
150 #include "md5.mmpi" |
|
151 #include "objects.mmpi" |
|
152 #include "ocsp.mmpi" |
|
153 #include "pem.mmpi" |
|
154 #include "pkcs7.mmpi" |
|
155 #include "pkcs12.mmpi" |
|
156 #include "pqueue.mmpi" |
|
157 #include "rand.mmpi" |
|
158 #include "rc2.mmpi" |
|
159 #include "rc4.mmpi" |
|
160 #include "rsa.mmpi" |
|
161 #include "sha.mmpi" |
|
162 #include "stack.mmpi" |
|
163 #include "store.mmpi" |
|
164 #include "txt_db.mmpi" |
|
165 #include "ui.mmpi" |
|
166 #include "x509.mmpi" |
|
167 #include "x509v3.mmpi" |
|
168 #include "certretriever.mmpi" |
|
169 |
|
170 |
|
171 LIBRARY libc.lib libdl.lib euser.lib efsrv.lib certstore.lib ctframework.lib x509.lib crypto.lib x500.lib asn1.lib |
|
172 #ifdef WINSCW |
|
173 LIBRARY ewsd.lib |
|
174 #endif |
|
175 START MARM |
|
176 END |
|
177 |
|
178 SMPSAFE |