Make it possible to build for more than one CPU.
[openssl.git] / util / pl / VC-CE.pl
index b2e328035cbba693f836c4ad4d90e2db7fcf32a4..907495efe43bd4173e32b34bccf90eb83fa2bcc5 100644 (file)
@@ -13,11 +13,11 @@ $rm='del';
 # C compiler stuff
 $cc='$(CC)';
 $cflags=' /W3 /WX /Ox /O2 /Ob2 /Gs0 /GF /Gy /nologo -D$(TARGETCPU) -D_$(TARGETCPU)_ -DUNDER_CE=300 -D_WIN32_CE=300 -DWIN32_PLATFORM_PSPC -DUNICODE -D_UNICODE -DWIN32 -DWIN32_LEAN_AND_MEAN -DL_ENDIAN -DDSO_WIN32 -DNO_CHMOD -I$(WCECOMPAT)/include';
-$lflags="/nologo /subsystem:windowsce,3.00 /machine:$(TARGETCPU) /opt:ref";
+$lflags='/nologo /subsystem:windowsce,3.00 /machine:$(TARGETCPU) /opt:ref';
 $mlflags='';
 
-$out_def="out32";
-$tmp_def="tmp32";
+$out_def='out32_$(TARGETCPU)';
+$tmp_def='tmp32_$(TARGETCPU)';
 $inc_def="inc32";
 
 if ($debug)
@@ -63,8 +63,8 @@ if ($shlib)
        $mlflags.=" $lflags /dll";
 #      $cflags =~ s| /MD| /MT|;
        $lib_cflag=" -D_WINDLL -D_DLL";
-       $out_def="out32dll";
-       $tmp_def="tmp32dll";
+       $out_def='out32dll_$(TARGETCPU)';
+       $tmp_def='tmp32dll_$(TARGETCPU)';
        }
 
 $cflags.=" /Fd$out_def";