From e02a2ef3bba24dbbbb00988c368f461ab49b3dc6 Mon Sep 17 00:00:00 2001 From: Adam Dickmeiss Date: Thu, 25 Jun 1998 19:16:29 +0000 Subject: [PATCH] Minor changes to Visual C++ project. --- apitest/apitest.dsp | 262 ++++++++++++++++++++------------------------------- util/passwddb.c | 10 +- zebra.dsp | 76 +++++++++++++++ zebra.dsw | 3 + 4 files changed, 188 insertions(+), 163 deletions(-) diff --git a/apitest/apitest.dsp b/apitest/apitest.dsp index 526cecf..b165c50 100755 --- a/apitest/apitest.dsp +++ b/apitest/apitest.dsp @@ -1,161 +1,101 @@ -# Microsoft Developer Studio Project File - Name="apitest" - Package Owner=<4> -# Microsoft Developer Studio Generated Build File, Format Version 5.00 -# ** DO NOT EDIT ** - -# TARGTYPE "Win32 (x86) Console Application" 0x0103 - -CFG=apitest - Win32 Debug -!MESSAGE This is not a valid makefile. To build this project using NMAKE, -!MESSAGE use the Export Makefile command and run -!MESSAGE -!MESSAGE NMAKE /f "apitest.mak". -!MESSAGE -!MESSAGE You can specify a configuration when running NMAKE -!MESSAGE by defining the macro CFG on the command line. For example: -!MESSAGE -!MESSAGE NMAKE /f "apitest.mak" CFG="apitest - Win32 Debug" -!MESSAGE -!MESSAGE Possible choices for configuration are: -!MESSAGE -!MESSAGE "apitest - Win32 Release" (based on "Win32 (x86) Console Application") -!MESSAGE "apitest - Win32 Debug" (based on "Win32 (x86) Console Application") -!MESSAGE - -# Begin Project -# PROP Scc_ProjName "" -# PROP Scc_LocalPath "" -CPP=cl.exe -RSC=rc.exe - -!IF "$(CFG)" == "apitest - Win32 Release" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 0 -# PROP BASE Output_Dir "Release" -# PROP BASE Intermediate_Dir "Release" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 0 -# PROP Output_Dir "Release" -# PROP Intermediate_Dir "Release" -# PROP Target_Dir "" -# ADD BASE CPP /nologo /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /c -# ADD CPP /nologo /MD /W3 /GX /O2 /I "..\include" /I "..\..\yaz\include" /I "..\index" /D "WIN32" /D "NDEBUG" /D "_CONSOLE" /D "_MBCS" /D "WINDOWS" /YX /FD /c -# ADD BASE RSC /l 0x406 /d "NDEBUG" -# ADD RSC /l 0x406 /d "NDEBUG" -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo -LINK32=link.exe -# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:console /machine:I386 -# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib zebra.lib yaz.lib server.lib /nologo /subsystem:console /machine:I386 /libpath:"..\debug" /libpath:"..\..\yaz\debug" /libpath:"..\..\yaz\server\debug" -# Begin Special Build Tool -OutDir=.\Release -ProjDir=. -TargetName=apitest -SOURCE=$(InputPath) -PostBuild_Cmds=copy $(OutDir)\$(TargetName).exe $(ProjDir)\..\..\bin -# End Special Build Tool - -!ELSEIF "$(CFG)" == "apitest - Win32 Debug" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 1 -# PROP BASE Output_Dir "Debug" -# PROP BASE Intermediate_Dir "Debug" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 1 -# PROP Output_Dir "Debug" -# PROP Intermediate_Dir "Debug" -# PROP Target_Dir "" -# ADD BASE CPP /nologo /W3 /Gm /GX /Zi /Od /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /c -# ADD CPP /nologo /MDd /W3 /Gm /GX /Zi /Od /I "..\include" /I "..\..\yaz\include" /I "..\index" /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /D "_MBCS" /D "WINDOWS" /YX /FD /c -# ADD BASE RSC /l 0x406 /d "_DEBUG" -# ADD RSC /l 0x406 /d "_DEBUG" -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo -LINK32=link.exe -# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:console /debug /machine:I386 /pdbtype:sept -# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib zebra.lib yaz.lib server.lib /nologo /subsystem:console /debug /machine:I386 /pdbtype:sept /libpath:"..\debug" /libpath:"..\..\yaz\debug" /libpath:"..\..\yaz\server\debug" -# Begin Special Build Tool -OutDir=.\Debug -ProjDir=. -TargetName=apitest -SOURCE=$(InputPath) -PostBuild_Cmds=copy $(OutDir)\$(TargetName).exe $(ProjDir)\..\..\bin -# End Special Build Tool - -!ENDIF - -# Begin Target - -# Name "apitest - Win32 Release" -# Name "apitest - Win32 Debug" -# Begin Source File - -SOURCE=..\index\apitest.c -# End Source File -# Begin Source File - -SOURCE=..\index\attribute.c -# End Source File -# Begin Source File - -SOURCE=..\index\kcompare.c -# End Source File -# Begin Source File - -SOURCE=..\index\locksrv.c -# End Source File -# Begin Source File - -SOURCE=..\index\lockutil.c -# End Source File -# Begin Source File - -SOURCE=..\index\rank1.c -# End Source File -# Begin Source File - -SOURCE=..\index\recindex.c -# End Source File -# Begin Source File - -SOURCE=..\index\retrieve.c -# End Source File -# Begin Source File - -SOURCE=..\index\sortidx.c -# End Source File -# Begin Source File - -SOURCE=..\index\symtab.c -# End Source File -# Begin Source File - -SOURCE=..\index\trunc.c -# End Source File -# Begin Source File - -SOURCE=..\index\zebraapi.c -# End Source File -# Begin Source File - -SOURCE=..\index\zinfo.c -# End Source File -# Begin Source File - -SOURCE=..\index\zlogs.c -# End Source File -# Begin Source File - -SOURCE=..\index\zrpn.c -# End Source File -# Begin Source File - -SOURCE=..\index\zsets.c -# End Source File -# End Target -# End Project +# Microsoft Developer Studio Project File - Name="apitest" - Package Owner=<4> +# Microsoft Developer Studio Generated Build File, Format Version 5.00 +# ** DO NOT EDIT ** + +# TARGTYPE "Win32 (x86) Console Application" 0x0103 + +CFG=apitest - Win32 Debug +!MESSAGE This is not a valid makefile. To build this project using NMAKE, +!MESSAGE use the Export Makefile command and run +!MESSAGE +!MESSAGE NMAKE /f "apitest.mak". +!MESSAGE +!MESSAGE You can specify a configuration when running NMAKE +!MESSAGE by defining the macro CFG on the command line. For example: +!MESSAGE +!MESSAGE NMAKE /f "apitest.mak" CFG="apitest - Win32 Debug" +!MESSAGE +!MESSAGE Possible choices for configuration are: +!MESSAGE +!MESSAGE "apitest - Win32 Release" (based on "Win32 (x86) Console Application") +!MESSAGE "apitest - Win32 Debug" (based on "Win32 (x86) Console Application") +!MESSAGE + +# Begin Project +# PROP Scc_ProjName "" +# PROP Scc_LocalPath "" +CPP=cl.exe +RSC=rc.exe + +!IF "$(CFG)" == "apitest - Win32 Release" + +# PROP BASE Use_MFC 0 +# PROP BASE Use_Debug_Libraries 0 +# PROP BASE Output_Dir "Release" +# PROP BASE Intermediate_Dir "Release" +# PROP BASE Target_Dir "" +# PROP Use_MFC 0 +# PROP Use_Debug_Libraries 0 +# PROP Output_Dir "Release" +# PROP Intermediate_Dir "Release" +# PROP Target_Dir "" +# ADD BASE CPP /nologo /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /c +# ADD CPP /nologo /MD /W3 /GX /O2 /I "..\include" /I "..\..\yaz\include" /I "..\index" /D "WIN32" /D "NDEBUG" /D "_CONSOLE" /D "_MBCS" /D "WINDOWS" /YX /FD /c +# ADD BASE RSC /l 0x406 /d "NDEBUG" +# ADD RSC /l 0x406 /d "NDEBUG" +BSC32=bscmake.exe +# ADD BASE BSC32 /nologo +# ADD BSC32 /nologo +LINK32=link.exe +# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:console /machine:I386 +# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib zebra.lib yaz.lib server.lib /nologo /subsystem:console /machine:I386 /libpath:"..\debug" /libpath:"..\..\yaz\debug" /libpath:"..\..\yaz\server\debug" +# Begin Special Build Tool +OutDir=.\Release +ProjDir=. +TargetName=apitest +SOURCE=$(InputPath) +PostBuild_Cmds=copy $(OutDir)\$(TargetName).exe $(ProjDir)\..\..\bin +# End Special Build Tool + +!ELSEIF "$(CFG)" == "apitest - Win32 Debug" + +# PROP BASE Use_MFC 0 +# PROP BASE Use_Debug_Libraries 1 +# PROP BASE Output_Dir "Debug" +# PROP BASE Intermediate_Dir "Debug" +# PROP BASE Target_Dir "" +# PROP Use_MFC 0 +# PROP Use_Debug_Libraries 1 +# PROP Output_Dir "Debug" +# PROP Intermediate_Dir "Debug" +# PROP Target_Dir "" +# ADD BASE CPP /nologo /W3 /Gm /GX /Zi /Od /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /c +# ADD CPP /nologo /MDd /W3 /Gm /GX /Zi /Od /I "..\include" /I "..\..\yaz\include" /I "..\index" /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /D "_MBCS" /D "WINDOWS" /YX /FD /c +# ADD BASE RSC /l 0x406 /d "_DEBUG" +# ADD RSC /l 0x406 /d "_DEBUG" +BSC32=bscmake.exe +# ADD BASE BSC32 /nologo +# ADD BSC32 /nologo +LINK32=link.exe +# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:console /debug /machine:I386 /pdbtype:sept +# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib zebra.lib yaz.lib server.lib /nologo /subsystem:console /debug /machine:I386 /pdbtype:sept /libpath:"..\debug" /libpath:"..\..\yaz\debug" /libpath:"..\..\yaz\server\debug" +# Begin Special Build Tool +OutDir=.\Debug +ProjDir=. +TargetName=apitest +SOURCE=$(InputPath) +PostBuild_Cmds=copy $(OutDir)\$(TargetName).exe $(ProjDir)\..\..\bin +# End Special Build Tool + +!ENDIF + +# Begin Target + +# Name "apitest - Win32 Release" +# Name "apitest - Win32 Debug" +# Begin Source File + +SOURCE=..\index\apitest.c +# End Source File +# End Target +# End Project diff --git a/util/passwddb.c b/util/passwddb.c index ad14e8e..4595f43 100644 --- a/util/passwddb.c +++ b/util/passwddb.c @@ -4,16 +4,22 @@ * Sebastian Hammer, Adam Dickmeiss * * $Log: passwddb.c,v $ - * Revision 1.2 1998-06-25 09:55:51 adam + * Revision 1.3 1998-06-25 19:16:32 adam + * Minor changes to Visual C++ project. + * + * Revision 1.2 1998/06/25 09:55:51 adam * Minor changes - fixex headers. * */ +#ifdef WINDOWS +#else #include +#endif #include #include #ifndef USE_CRYPT -#define USE_CRYPT 1 +#define USE_CRYPT 0 #endif #if USE_CRYPT diff --git a/zebra.dsp b/zebra.dsp index a1ed581..5bcb189 100644 --- a/zebra.dsp +++ b/zebra.dsp @@ -76,6 +76,10 @@ LIB32=link.exe -lib # Name "zebra - Win32 Debug" # Begin Source File +SOURCE=.\index\attribute.c +# End Source File +# Begin Source File + SOURCE=.\bfile\bfile.c # End Source File # Begin Source File @@ -132,6 +136,10 @@ SOURCE=.\dict\insert.c # End Source File # Begin Source File +SOURCE=.\index\invstat.c +# End Source File +# Begin Source File + SOURCE=.\isam\isam.c # End Source File # Begin Source File @@ -144,6 +152,22 @@ SOURCE=.\isam\isutil.c # End Source File # Begin Source File +SOURCE=.\index\kcompare.c +# End Source File +# Begin Source File + +SOURCE=.\index\lockidx.c +# End Source File +# Begin Source File + +SOURCE=.\index\locksrv.c +# End Source File +# Begin Source File + +SOURCE=.\index\lockutil.c +# End Source File +# Begin Source File + SOURCE=.\dict\lookgrep.c # End Source File # Begin Source File @@ -176,10 +200,18 @@ SOURCE=.\dict\open.c # End Source File # Begin Source File +SOURCE=.\util\passwddb.c +# End Source File +# Begin Source File + SOURCE=.\isam\physical.c # End Source File # Begin Source File +SOURCE=.\index\rank1.c +# End Source File +# Begin Source File + SOURCE=.\dfa\readfile.c # End Source File # Begin Source File @@ -192,6 +224,14 @@ SOURCE=.\recctrl\recgrs.c # End Source File # Begin Source File +SOURCE=.\index\recindex.c +# End Source File +# Begin Source File + +SOURCE=.\index\recstat.c +# End Source File +# Begin Source File + SOURCE=.\recctrl\rectext.c # End Source File # Begin Source File @@ -204,6 +244,10 @@ SOURCE=.\util\res.c # End Source File # Begin Source File +SOURCE=.\index\retrieve.c +# End Source File +# Begin Source File + SOURCE=.\isam\rootblk.c # End Source File # Begin Source File @@ -248,11 +292,43 @@ SOURCE=.\recctrl\sgmlread.c # End Source File # Begin Source File +SOURCE=.\index\sortidx.c +# End Source File +# Begin Source File + SOURCE=.\dfa\states.c # End Source File # Begin Source File +SOURCE=.\index\symtab.c +# End Source File +# Begin Source File + +SOURCE=.\index\trunc.c +# End Source File +# Begin Source File + +SOURCE=.\index\zebraapi.c +# End Source File +# Begin Source File + SOURCE=.\util\zebramap.c # End Source File +# Begin Source File + +SOURCE=.\index\zinfo.c +# End Source File +# Begin Source File + +SOURCE=.\index\zlogs.c +# End Source File +# Begin Source File + +SOURCE=.\index\zrpn.c +# End Source File +# Begin Source File + +SOURCE=.\index\zsets.c +# End Source File # End Target # End Project diff --git a/zebra.dsw b/zebra.dsw index fe02fba..91c07ca 100644 --- a/zebra.dsw +++ b/zebra.dsw @@ -11,6 +11,9 @@ Package=<5> Package=<4> {{{ + Begin Project Dependency + Project_Dep_Name zebra + End Project Dependency }}} ############################################################################### -- 1.7.10.4