diff options
Diffstat (limited to 'src/lib/libcrypto/util')
-rw-r--r-- | src/lib/libcrypto/util/cygwin.sh | 11 | ||||
-rw-r--r-- | src/lib/libcrypto/util/libeay.num | 18 | ||||
-rw-r--r-- | src/lib/libcrypto/util/mk1mf.pl | 20 | ||||
-rw-r--r-- | src/lib/libcrypto/util/mkdef.pl | 3 | ||||
-rw-r--r-- | src/lib/libcrypto/util/mkerr.pl | 4 | ||||
-rw-r--r-- | src/lib/libcrypto/util/mkstack.pl | 20 | ||||
-rw-r--r-- | src/lib/libcrypto/util/pl/VC-32.pl | 6 |
7 files changed, 62 insertions, 20 deletions
diff --git a/src/lib/libcrypto/util/cygwin.sh b/src/lib/libcrypto/util/cygwin.sh index a4f2e740b4..d6228521e6 100644 --- a/src/lib/libcrypto/util/cygwin.sh +++ b/src/lib/libcrypto/util/cygwin.sh | |||
@@ -8,7 +8,7 @@ | |||
8 | #set -x | 8 | #set -x |
9 | 9 | ||
10 | CONFIG_OPTIONS="--prefix=/usr shared zlib no-idea no-rc5" | 10 | CONFIG_OPTIONS="--prefix=/usr shared zlib no-idea no-rc5" |
11 | INSTALL_PREFIX=/tmp/install | 11 | INSTALL_PREFIX=/tmp/install/INSTALL |
12 | 12 | ||
13 | VERSION= | 13 | VERSION= |
14 | SUBVERSION=$1 | 14 | SUBVERSION=$1 |
@@ -124,8 +124,12 @@ strip usr/bin/*.exe usr/bin/*.dll usr/lib/engines/*.so | |||
124 | chmod u-w usr/lib/engines/*.so | 124 | chmod u-w usr/lib/engines/*.so |
125 | 125 | ||
126 | # Runtime package | 126 | # Runtime package |
127 | find etc usr/bin usr/lib/engines usr/share/doc usr/ssl/certs \ | 127 | tar cjf libopenssl${VERSION//[!0-9]/}-${VERSION}-${SUBVERSION}.tar.bz2 \ |
128 | usr/ssl/man/man[157] usr/ssl/misc usr/ssl/openssl.cnf usr/ssl/private \ | 128 | usr/bin/cyg*dll |
129 | # Base package | ||
130 | find etc usr/bin/openssl.exe usr/bin/c_rehash usr/lib/engines usr/share/doc \ | ||
131 | usr/ssl/certs usr/ssl/man/man[157] usr/ssl/misc usr/ssl/openssl.cnf \ | ||
132 | usr/ssl/private \ | ||
129 | -empty -o \! -type d | | 133 | -empty -o \! -type d | |
130 | tar cjfT openssl-${VERSION}-${SUBVERSION}.tar.bz2 - | 134 | tar cjfT openssl-${VERSION}-${SUBVERSION}.tar.bz2 - |
131 | # Development package | 135 | # Development package |
@@ -135,6 +139,7 @@ tar cjfT openssl-devel-${VERSION}-${SUBVERSION}.tar.bz2 - | |||
135 | 139 | ||
136 | ls -l openssl-${VERSION}-${SUBVERSION}.tar.bz2 | 140 | ls -l openssl-${VERSION}-${SUBVERSION}.tar.bz2 |
137 | ls -l openssl-devel-${VERSION}-${SUBVERSION}.tar.bz2 | 141 | ls -l openssl-devel-${VERSION}-${SUBVERSION}.tar.bz2 |
142 | ls -l libopenssl${VERSION//[!0-9]/}-${VERSION}-${SUBVERSION}.tar.bz2 | ||
138 | 143 | ||
139 | cleanup | 144 | cleanup |
140 | 145 | ||
diff --git a/src/lib/libcrypto/util/libeay.num b/src/lib/libcrypto/util/libeay.num index c68047e955..1467ab6243 100644 --- a/src/lib/libcrypto/util/libeay.num +++ b/src/lib/libcrypto/util/libeay.num | |||
@@ -4178,4 +4178,20 @@ UI_method_get_prompt_constructr 4550 EXIST:VMS:FUNCTION: | |||
4178 | UI_method_set_prompt_constructor 4551 EXIST:!VMS:FUNCTION: | 4178 | UI_method_set_prompt_constructor 4551 EXIST:!VMS:FUNCTION: |
4179 | UI_method_set_prompt_constructr 4551 EXIST:VMS:FUNCTION: | 4179 | UI_method_set_prompt_constructr 4551 EXIST:VMS:FUNCTION: |
4180 | EVP_read_pw_string_min 4552 EXIST::FUNCTION: | 4180 | EVP_read_pw_string_min 4552 EXIST::FUNCTION: |
4181 | ENGINE_load_aesni 4553 EXIST::FUNCTION:ENGINE | 4181 | CRYPTO_cts128_encrypt 4553 EXIST::FUNCTION: |
4182 | CRYPTO_cts128_decrypt_block 4554 EXIST::FUNCTION: | ||
4183 | CRYPTO_cfb128_1_encrypt 4555 EXIST::FUNCTION: | ||
4184 | CRYPTO_cbc128_encrypt 4556 EXIST::FUNCTION: | ||
4185 | CRYPTO_ctr128_encrypt 4557 EXIST::FUNCTION: | ||
4186 | CRYPTO_ofb128_encrypt 4558 EXIST::FUNCTION: | ||
4187 | CRYPTO_cts128_decrypt 4559 EXIST::FUNCTION: | ||
4188 | CRYPTO_cts128_encrypt_block 4560 EXIST::FUNCTION: | ||
4189 | CRYPTO_cbc128_decrypt 4561 EXIST::FUNCTION: | ||
4190 | CRYPTO_cfb128_encrypt 4562 EXIST::FUNCTION: | ||
4191 | CRYPTO_cfb128_8_encrypt 4563 EXIST::FUNCTION: | ||
4192 | OPENSSL_strcasecmp 4564 EXIST::FUNCTION: | ||
4193 | OPENSSL_memcmp 4565 EXIST::FUNCTION: | ||
4194 | OPENSSL_strncasecmp 4566 EXIST::FUNCTION: | ||
4195 | OPENSSL_gmtime 4567 EXIST::FUNCTION: | ||
4196 | OPENSSL_gmtime_adj 4568 EXIST::FUNCTION: | ||
4197 | ENGINE_load_aesni 4569 EXIST::FUNCTION:ENGINE | ||
diff --git a/src/lib/libcrypto/util/mk1mf.pl b/src/lib/libcrypto/util/mk1mf.pl index 780029a03f..1dcef2b8a2 100644 --- a/src/lib/libcrypto/util/mk1mf.pl +++ b/src/lib/libcrypto/util/mk1mf.pl | |||
@@ -13,6 +13,7 @@ $banner="\t\@echo Building OpenSSL"; | |||
13 | 13 | ||
14 | my $no_static_engine = 1; | 14 | my $no_static_engine = 1; |
15 | my $engines = ""; | 15 | my $engines = ""; |
16 | my $otherlibs = ""; | ||
16 | local $zlib_opt = 0; # 0 = no zlib, 1 = static, 2 = dynamic | 17 | local $zlib_opt = 0; # 0 = no zlib, 1 = static, 2 = dynamic |
17 | local $zlib_lib = ""; | 18 | local $zlib_lib = ""; |
18 | local $perl_asm = 0; # 1 to autobuild asm files from perl scripts | 19 | local $perl_asm = 0; # 1 to autobuild asm files from perl scripts |
@@ -266,6 +267,7 @@ $cflags.=" -DOPENSSL_NO_KRB5" if $no_krb5; | |||
266 | $cflags.=" -DOPENSSL_NO_EC" if $no_ec; | 267 | $cflags.=" -DOPENSSL_NO_EC" if $no_ec; |
267 | $cflags.=" -DOPENSSL_NO_ECDSA" if $no_ecdsa; | 268 | $cflags.=" -DOPENSSL_NO_ECDSA" if $no_ecdsa; |
268 | $cflags.=" -DOPENSSL_NO_ECDH" if $no_ecdh; | 269 | $cflags.=" -DOPENSSL_NO_ECDH" if $no_ecdh; |
270 | $cflags.=" -DOPENSSL_NO_GOST" if $no_gost; | ||
269 | $cflags.=" -DOPENSSL_NO_ENGINE" if $no_engine; | 271 | $cflags.=" -DOPENSSL_NO_ENGINE" if $no_engine; |
270 | $cflags.=" -DOPENSSL_NO_HW" if $no_hw; | 272 | $cflags.=" -DOPENSSL_NO_HW" if $no_hw; |
271 | $cflags.=" -DOPENSSL_NO_JPAKE" if $no_jpake; | 273 | $cflags.=" -DOPENSSL_NO_JPAKE" if $no_jpake; |
@@ -356,6 +358,12 @@ for (;;) | |||
356 | $lib=$val; | 358 | $lib=$val; |
357 | $lib =~ s/^.*\/([^\/]+)$/$1/; | 359 | $lib =~ s/^.*\/([^\/]+)$/$1/; |
358 | } | 360 | } |
361 | if ($key eq "LIBNAME" && $no_static_engine) | ||
362 | { | ||
363 | $lib=$val; | ||
364 | $lib =~ s/^.*\/([^\/]+)$/$1/; | ||
365 | $otherlibs .= " $lib"; | ||
366 | } | ||
359 | 367 | ||
360 | if ($key eq "EXHEADER") | 368 | if ($key eq "EXHEADER") |
361 | { $exheader.=&var_add($dir,$val, 1); } | 369 | { $exheader.=&var_add($dir,$val, 1); } |
@@ -658,7 +666,7 @@ foreach (split(/\s+/,$test)) | |||
658 | $rules.=&do_link_rule("\$(TEST_D)$o$t$exep",$tt,"\$(LIBS_DEP)","\$(L_LIBS) \$(EX_LIBS)"); | 666 | $rules.=&do_link_rule("\$(TEST_D)$o$t$exep",$tt,"\$(LIBS_DEP)","\$(L_LIBS) \$(EX_LIBS)"); |
659 | } | 667 | } |
660 | 668 | ||
661 | $defs.=&do_defs("E_SHLIB",$engines,"\$(ENG_D)",$shlibp); | 669 | $defs.=&do_defs("E_SHLIB",$engines . $otherlibs,"\$(ENG_D)",$shlibp); |
662 | 670 | ||
663 | foreach (split(/\s+/,$engines)) | 671 | foreach (split(/\s+/,$engines)) |
664 | { | 672 | { |
@@ -671,6 +679,14 @@ foreach (split(/\s+/,$engines)) | |||
671 | $rules.= &do_lib_rule("\$(SSLOBJ)","\$(O_SSL)",$ssl,$shlib,"\$(SO_SSL)"); | 679 | $rules.= &do_lib_rule("\$(SSLOBJ)","\$(O_SSL)",$ssl,$shlib,"\$(SO_SSL)"); |
672 | $rules.= &do_lib_rule("\$(CRYPTOOBJ)","\$(O_CRYPTO)",$crypto,$shlib,"\$(SO_CRYPTO)"); | 680 | $rules.= &do_lib_rule("\$(CRYPTOOBJ)","\$(O_CRYPTO)",$crypto,$shlib,"\$(SO_CRYPTO)"); |
673 | 681 | ||
682 | foreach (split(" ",$otherlibs)) | ||
683 | { | ||
684 | my $uc = $_; | ||
685 | $uc =~ tr /a-z/A-Z/; | ||
686 | $rules.= &do_lib_rule("\$(${uc}OBJ)","\$(ENG_D)$o$_$shlibp", "", $shlib, ""); | ||
687 | |||
688 | } | ||
689 | |||
674 | $rules.=&do_link_rule("\$(BIN_D)$o\$(E_EXE)$exep","\$(E_OBJ)","\$(LIBS_DEP)","\$(L_LIBS) \$(EX_LIBS)"); | 690 | $rules.=&do_link_rule("\$(BIN_D)$o\$(E_EXE)$exep","\$(E_OBJ)","\$(LIBS_DEP)","\$(L_LIBS) \$(EX_LIBS)"); |
675 | 691 | ||
676 | print $defs; | 692 | print $defs; |
@@ -708,6 +724,7 @@ sub var_add | |||
708 | return("") if $no_dsa && $dir =~ /\/dsa/; | 724 | return("") if $no_dsa && $dir =~ /\/dsa/; |
709 | return("") if $no_dh && $dir =~ /\/dh/; | 725 | return("") if $no_dh && $dir =~ /\/dh/; |
710 | return("") if $no_ec && $dir =~ /\/ec/; | 726 | return("") if $no_ec && $dir =~ /\/ec/; |
727 | return("") if $no_gost && $dir =~ /\/ccgost/; | ||
711 | return("") if $no_cms && $dir =~ /\/cms/; | 728 | return("") if $no_cms && $dir =~ /\/cms/; |
712 | return("") if $no_jpake && $dir =~ /\/jpake/; | 729 | return("") if $no_jpake && $dir =~ /\/jpake/; |
713 | if ($no_des && $dir =~ /\/des/) | 730 | if ($no_des && $dir =~ /\/des/) |
@@ -1047,6 +1064,7 @@ sub read_options | |||
1047 | "no-ec" => \$no_ec, | 1064 | "no-ec" => \$no_ec, |
1048 | "no-ecdsa" => \$no_ecdsa, | 1065 | "no-ecdsa" => \$no_ecdsa, |
1049 | "no-ecdh" => \$no_ecdh, | 1066 | "no-ecdh" => \$no_ecdh, |
1067 | "no-gost" => \$no_gost, | ||
1050 | "no-engine" => \$no_engine, | 1068 | "no-engine" => \$no_engine, |
1051 | "no-hw" => \$no_hw, | 1069 | "no-hw" => \$no_hw, |
1052 | "just-ssl" => | 1070 | "just-ssl" => |
diff --git a/src/lib/libcrypto/util/mkdef.pl b/src/lib/libcrypto/util/mkdef.pl index a4a17e3ae9..ab47329097 100644 --- a/src/lib/libcrypto/util/mkdef.pl +++ b/src/lib/libcrypto/util/mkdef.pl | |||
@@ -257,6 +257,8 @@ $ssl.=" ssl/tls1.h"; | |||
257 | 257 | ||
258 | my $crypto ="crypto/crypto.h"; | 258 | my $crypto ="crypto/crypto.h"; |
259 | $crypto.=" crypto/o_dir.h"; | 259 | $crypto.=" crypto/o_dir.h"; |
260 | $crypto.=" crypto/o_str.h"; | ||
261 | $crypto.=" crypto/o_time.h"; | ||
260 | $crypto.=" crypto/des/des.h crypto/des/des_old.h" ; # unless $no_des; | 262 | $crypto.=" crypto/des/des.h crypto/des/des_old.h" ; # unless $no_des; |
261 | $crypto.=" crypto/idea/idea.h" ; # unless $no_idea; | 263 | $crypto.=" crypto/idea/idea.h" ; # unless $no_idea; |
262 | $crypto.=" crypto/rc4/rc4.h" ; # unless $no_rc4; | 264 | $crypto.=" crypto/rc4/rc4.h" ; # unless $no_rc4; |
@@ -316,6 +318,7 @@ $crypto.=" crypto/krb5/krb5_asn.h"; | |||
316 | $crypto.=" crypto/pqueue/pqueue.h"; | 318 | $crypto.=" crypto/pqueue/pqueue.h"; |
317 | $crypto.=" crypto/cms/cms.h"; | 319 | $crypto.=" crypto/cms/cms.h"; |
318 | $crypto.=" crypto/jpake/jpake.h"; | 320 | $crypto.=" crypto/jpake/jpake.h"; |
321 | $crypto.=" crypto/modes/modes.h"; | ||
319 | 322 | ||
320 | my $symhacks="crypto/symhacks.h"; | 323 | my $symhacks="crypto/symhacks.h"; |
321 | 324 | ||
diff --git a/src/lib/libcrypto/util/mkerr.pl b/src/lib/libcrypto/util/mkerr.pl index 15b774f277..2c99467d34 100644 --- a/src/lib/libcrypto/util/mkerr.pl +++ b/src/lib/libcrypto/util/mkerr.pl | |||
@@ -391,7 +391,7 @@ foreach $lib (keys %csrc) | |||
391 | } else { | 391 | } else { |
392 | push @out, | 392 | push @out, |
393 | "/* ====================================================================\n", | 393 | "/* ====================================================================\n", |
394 | " * Copyright (c) 2001-2010 The OpenSSL Project. All rights reserved.\n", | 394 | " * Copyright (c) 2001-2011 The OpenSSL Project. All rights reserved.\n", |
395 | " *\n", | 395 | " *\n", |
396 | " * Redistribution and use in source and binary forms, with or without\n", | 396 | " * Redistribution and use in source and binary forms, with or without\n", |
397 | " * modification, are permitted provided that the following conditions\n", | 397 | " * modification, are permitted provided that the following conditions\n", |
@@ -576,7 +576,7 @@ EOF | |||
576 | print OUT <<"EOF"; | 576 | print OUT <<"EOF"; |
577 | /* $cfile */ | 577 | /* $cfile */ |
578 | /* ==================================================================== | 578 | /* ==================================================================== |
579 | * Copyright (c) 1999-2010 The OpenSSL Project. All rights reserved. | 579 | * Copyright (c) 1999-2011 The OpenSSL Project. All rights reserved. |
580 | * | 580 | * |
581 | * Redistribution and use in source and binary forms, with or without | 581 | * Redistribution and use in source and binary forms, with or without |
582 | * modification, are permitted provided that the following conditions | 582 | * modification, are permitted provided that the following conditions |
diff --git a/src/lib/libcrypto/util/mkstack.pl b/src/lib/libcrypto/util/mkstack.pl index 6a43757c95..f708610a78 100644 --- a/src/lib/libcrypto/util/mkstack.pl +++ b/src/lib/libcrypto/util/mkstack.pl | |||
@@ -104,25 +104,25 @@ EOF | |||
104 | 104 | ||
105 | #define sk_${t1}_new(cmp) ((STACK_OF($t1) *)sk_new(CHECKED_SK_CMP_FUNC($t2, cmp))) | 105 | #define sk_${t1}_new(cmp) ((STACK_OF($t1) *)sk_new(CHECKED_SK_CMP_FUNC($t2, cmp))) |
106 | #define sk_${t1}_new_null() ((STACK_OF($t1) *)sk_new_null()) | 106 | #define sk_${t1}_new_null() ((STACK_OF($t1) *)sk_new_null()) |
107 | #define sk_${t1}_push(st, val) sk_push(CHECKED_PTR_OF(STACK_OF($t1), st), CHECKED_PTR_OF($t2, val)) | 107 | #define sk_${t1}_push(st, val) sk_push(CHECKED_STACK_OF($t1, st), CHECKED_PTR_OF($t2, val)) |
108 | #define sk_${t1}_find(st, val) sk_find(CHECKED_PTR_OF(STACK_OF($t1), st), CHECKED_PTR_OF($t2, val)) | 108 | #define sk_${t1}_find(st, val) sk_find(CHECKED_STACK_OF($t1, st), CHECKED_PTR_OF($t2, val)) |
109 | #define sk_${t1}_value(st, i) (($t1)sk_value(CHECKED_PTR_OF(STACK_OF($t1), st), i)) | 109 | #define sk_${t1}_value(st, i) (($t1)sk_value(CHECKED_STACK_OF($t1, st), i)) |
110 | #define sk_${t1}_num(st) SKM_sk_num($t1, st) | 110 | #define sk_${t1}_num(st) SKM_sk_num($t1, st) |
111 | #define sk_${t1}_pop_free(st, free_func) sk_pop_free(CHECKED_PTR_OF(STACK_OF($t1), st), CHECKED_SK_FREE_FUNC2($t1, free_func)) | 111 | #define sk_${t1}_pop_free(st, free_func) sk_pop_free(CHECKED_STACK_OF($t1, st), CHECKED_SK_FREE_FUNC2($t1, free_func)) |
112 | #define sk_${t1}_insert(st, val, i) sk_insert(CHECKED_PTR_OF(STACK_OF($t1), st), CHECKED_PTR_OF($t2, val), i) | 112 | #define sk_${t1}_insert(st, val, i) sk_insert(CHECKED_STACK_OF($t1, st), CHECKED_PTR_OF($t2, val), i) |
113 | #define sk_${t1}_free(st) SKM_sk_free(${t1}, st) | 113 | #define sk_${t1}_free(st) SKM_sk_free(${t1}, st) |
114 | #define sk_${t1}_set(st, i, val) sk_set((_STACK *)CHECKED_PTR_OF(STACK_OF($t1), st), i, CHECKED_PTR_OF($t2, val)) | 114 | #define sk_${t1}_set(st, i, val) sk_set(CHECKED_STACK_OF($t1, st), i, CHECKED_PTR_OF($t2, val)) |
115 | #define sk_${t1}_zero(st) SKM_sk_zero($t1, (st)) | 115 | #define sk_${t1}_zero(st) SKM_sk_zero($t1, (st)) |
116 | #define sk_${t1}_unshift(st, val) sk_unshift((_STACK *)CHECKED_PTR_OF(STACK_OF($t1), st), CHECKED_PTR_OF($t2, val)) | 116 | #define sk_${t1}_unshift(st, val) sk_unshift(CHECKED_STACK_OF($t1, st), CHECKED_PTR_OF($t2, val)) |
117 | #define sk_${t1}_find_ex(st, val) sk_find_ex((_STACK *)CHECKED_CONST_PTR_OF(STACK_OF($t1), st), CHECKED_CONST_PTR_OF($t2, val)) | 117 | #define sk_${t1}_find_ex(st, val) sk_find_ex((_STACK *)CHECKED_CONST_PTR_OF(STACK_OF($t1), st), CHECKED_CONST_PTR_OF($t2, val)) |
118 | #define sk_${t1}_delete(st, i) SKM_sk_delete($t1, (st), (i)) | 118 | #define sk_${t1}_delete(st, i) SKM_sk_delete($t1, (st), (i)) |
119 | #define sk_${t1}_delete_ptr(st, ptr) ($t1 *)sk_delete_ptr((_STACK *)CHECKED_PTR_OF(STACK_OF($t1), st), CHECKED_PTR_OF($t2, ptr)) | 119 | #define sk_${t1}_delete_ptr(st, ptr) ($t1 *)sk_delete_ptr(CHECKED_STACK_OF($t1, st), CHECKED_PTR_OF($t2, ptr)) |
120 | #define sk_${t1}_set_cmp_func(st, cmp) \\ | 120 | #define sk_${t1}_set_cmp_func(st, cmp) \\ |
121 | ((int (*)(const $t2 * const *,const $t2 * const *)) \\ | 121 | ((int (*)(const $t2 * const *,const $t2 * const *)) \\ |
122 | sk_set_cmp_func((_STACK *)CHECKED_PTR_OF(STACK_OF($t1), st), CHECKED_SK_CMP_FUNC($t2, cmp))) | 122 | sk_set_cmp_func(CHECKED_STACK_OF($t1, st), CHECKED_SK_CMP_FUNC($t2, cmp))) |
123 | #define sk_${t1}_dup(st) SKM_sk_dup($t1, st) | 123 | #define sk_${t1}_dup(st) SKM_sk_dup($t1, st) |
124 | #define sk_${t1}_shift(st) SKM_sk_shift($t1, (st)) | 124 | #define sk_${t1}_shift(st) SKM_sk_shift($t1, (st)) |
125 | #define sk_${t1}_pop(st) ($t2 *)sk_pop((_STACK *)CHECKED_PTR_OF(STACK_OF($t1), st)) | 125 | #define sk_${t1}_pop(st) ($t2 *)sk_pop(CHECKED_STACK_OF($t1, st)) |
126 | #define sk_${t1}_sort(st) SKM_sk_sort($t1, (st)) | 126 | #define sk_${t1}_sort(st) SKM_sk_sort($t1, (st)) |
127 | #define sk_${t1}_is_sorted(st) SKM_sk_is_sorted($t1, (st)) | 127 | #define sk_${t1}_is_sorted(st) SKM_sk_is_sorted($t1, (st)) |
128 | 128 | ||
diff --git a/src/lib/libcrypto/util/pl/VC-32.pl b/src/lib/libcrypto/util/pl/VC-32.pl index c3e29fda96..5f25fc41bf 100644 --- a/src/lib/libcrypto/util/pl/VC-32.pl +++ b/src/lib/libcrypto/util/pl/VC-32.pl | |||
@@ -138,8 +138,8 @@ else | |||
138 | } | 138 | } |
139 | 139 | ||
140 | # generate symbols.pdb unconditionally | 140 | # generate symbols.pdb unconditionally |
141 | $app_cflag.=" /Zi /Fd$tmp_def/app"; | 141 | $app_cflag.=" /Zi /Fd\$(TMP_D)/app"; |
142 | $lib_cflag.=" /Zi /Fd$tmp_def/lib"; | 142 | $lib_cflag.=" /Zi /Fd\$(TMP_D)/lib"; |
143 | $lflags.=" /debug"; | 143 | $lflags.=" /debug"; |
144 | 144 | ||
145 | $obj='.obj'; | 145 | $obj='.obj'; |
@@ -195,7 +195,7 @@ if ($FLAVOR =~ /WIN64A/) { | |||
195 | my $ver=`nasm -v 2>NUL`; | 195 | my $ver=`nasm -v 2>NUL`; |
196 | my $vew=`nasmw -v 2>NUL`; | 196 | my $vew=`nasmw -v 2>NUL`; |
197 | # pick newest version | 197 | # pick newest version |
198 | $asm=($ver gt $vew?"nasm":"nasmw")." -f win32"; | 198 | $asm=($ver ge $vew?"nasm":"nasmw")." -f win32"; |
199 | $asmtype="win32n"; | 199 | $asmtype="win32n"; |
200 | $afile='-o '; | 200 | $afile='-o '; |
201 | } else { | 201 | } else { |