avoid deleting adhoc.cpp during rebuild

pull/2/head
weidai 2003-03-23 05:03:39 +00:00
parent 1dcc6c9483
commit cafc368766
3 changed files with 62 additions and 53 deletions

View File

@ -1,3 +1,12 @@
#include "filters.h"
#include "files.h"
#include "base64.h"
#include "hex.h"
#include <iostream>
USING_NAMESPACE(CryptoPP)
USING_NAMESPACE(std)
extern int (*AdhocTest)(int argc, char *argv[]); extern int (*AdhocTest)(int argc, char *argv[]);
int MyAdhocTest(int argc, char *argv[]) int MyAdhocTest(int argc, char *argv[])

View File

@ -1,5 +1,5 @@
# Microsoft Developer Studio Project File - Name="cryptest" - Package Owner=<4> # Microsoft Developer Studio Project File - Name="cryptest" - Package Owner=<4>
# Microsoft Developer Studio Generated Build File, Format Version 6.00 # Microsoft Developer Studio Generated Build File, Format Version 60000
# ** DO NOT EDIT ** # ** DO NOT EDIT **
# TARGTYPE "Win32 (x86) Console Application" 0x0103 # TARGTYPE "Win32 (x86) Console Application" 0x0103
@ -373,57 +373,6 @@ SOURCE=.\adhoc.cpp
# End Source File # End Source File
# Begin Source File # Begin Source File
SOURCE=.\adhoc.cpp.proto
!IF "$(CFG)" == "cryptest - Win32 FIPS 140 Release"
# Begin Custom Build
InputPath=.\adhoc.cpp.proto
"adhoc.cpp" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)"
if exist adhoc.cpp echo: >> adhoc.cpp
if not exist adhoc.cpp copy "$(InputPath)" adhoc.cpp
# End Custom Build
!ELSEIF "$(CFG)" == "cryptest - Win32 FIPS 140 Debug"
# Begin Custom Build
InputPath=.\adhoc.cpp.proto
"adhoc.cpp" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)"
if exist adhoc.cpp echo: >> adhoc.cpp
if not exist adhoc.cpp copy "$(InputPath)" adhoc.cpp
# End Custom Build
!ELSEIF "$(CFG)" == "cryptest - Win32 Release"
# Begin Custom Build
InputPath=.\adhoc.cpp.proto
"adhoc.cpp" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)"
if exist adhoc.cpp echo: >> adhoc.cpp
if not exist adhoc.cpp copy "$(InputPath)" adhoc.cpp
# End Custom Build
!ELSEIF "$(CFG)" == "cryptest - Win32 Debug"
# Begin Custom Build
InputPath=.\adhoc.cpp.proto
"adhoc.cpp" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)"
if exist adhoc.cpp echo: >> adhoc.cpp
if not exist adhoc.cpp copy "$(InputPath)" adhoc.cpp
# End Custom Build
!ENDIF
# End Source File
# Begin Source File
SOURCE=.\bench.cpp SOURCE=.\bench.cpp
# End Source File # End Source File
# Begin Source File # Begin Source File

View File

@ -1,5 +1,5 @@
# Microsoft Developer Studio Project File - Name="cryptlib" - Package Owner=<4> # Microsoft Developer Studio Project File - Name="cryptlib" - Package Owner=<4>
# Microsoft Developer Studio Generated Build File, Format Version 6.00 # Microsoft Developer Studio Generated Build File, Format Version 60000
# ** DO NOT EDIT ** # ** DO NOT EDIT **
# TARGTYPE "Win32 (x86) Static Library" 0x0104 # TARGTYPE "Win32 (x86) Static Library" 0x0104
@ -139,6 +139,57 @@ SOURCE=.\3way.cpp
# End Source File # End Source File
# Begin Source File # Begin Source File
SOURCE=.\adhoc.cpp.proto
!IF "$(CFG)" == "cryptlib - Win32 FIPS 140 Release"
# Begin Custom Build
InputPath=.\adhoc.cpp.proto
"adhoc.cpp.copied" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)"
if not exist adhoc.cpp copy "$(InputPath)" adhoc.cpp
echo: >> adhoc.cpp.copied
# End Custom Build
!ELSEIF "$(CFG)" == "cryptlib - Win32 FIPS 140 Debug"
# Begin Custom Build
InputPath=.\adhoc.cpp.proto
"adhoc.cpp.copied" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)"
if not exist adhoc.cpp copy "$(InputPath)" adhoc.cpp
echo: >> adhoc.cpp.copied
# End Custom Build
!ELSEIF "$(CFG)" == "cryptlib - Win32 Release"
# Begin Custom Build
InputPath=.\adhoc.cpp.proto
"adhoc.cpp.copied" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)"
if not exist adhoc.cpp copy "$(InputPath)" adhoc.cpp
echo: >> adhoc.cpp.copied
# End Custom Build
!ELSEIF "$(CFG)" == "cryptlib - Win32 Debug"
# Begin Custom Build
InputPath=.\adhoc.cpp.proto
"adhoc.cpp.copied" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)"
if not exist adhoc.cpp copy "$(InputPath)" adhoc.cpp
echo: >> adhoc.cpp.copied
# End Custom Build
!ENDIF
# End Source File
# Begin Source File
SOURCE=.\adler32.cpp SOURCE=.\adler32.cpp
# End Source File # End Source File
# Begin Source File # Begin Source File