Changeset 1231

Show
Ignore:
Timestamp:
05/25/03 00:46:14 (5 years ago)
Author:
augur
Message:

Updates for Microsoft Visual Studio 6.0.
Created a new static library called libswishsearch.lib. This includes only search functionality and it links with libcmt.lib (Microsoft C Multithreaded Runtime). We need multithreaded libraries to link our newly donated ActiveX control.

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/swish-e/src/win32/acconfig.h

    r1152 r1231  
    11#ifdef _WIN32 
    22 
    3 /* We define this in OS-specific code which include's config.h  */ 
    4 #ifndef _SWISH_PORT 
    5 #  include "win32/dirent.h" 
    6 #  include "pcreposix.h" 
    7 #  include "mkstemp.h" 
    8 #endif 
    9  
    103/* Special Inclusions  */ 
     4#include <windows.h>    /* Win32 API */ 
    115#include <stdlib.h>             /* _sleep() */ 
    126#include <process.h>    /* _getpid() */ 
     
    159#include <sys/types.h>  /* Most io.h functions want this */ 
    1610#include <sys/stat.h>   /* Most io.h functions want this */ 
     11 
     12/* We define this in OS-specific code which include's config.h  */ 
     13#ifndef _SWISH_PORT 
     14#  include "dirent.h" 
     15#  include "pcreposix.h" 
     16#  include "mkstemp.h" 
     17#endif 
    1718 
    1819/* ifdef logic  */ 
     
    2930/* Macros which rewrite values  */ 
    3031#define SWISH_VERSION "2.3.4"   /* Should we find a better way to handle this */ 
     32#define VERSION SWISH_VERSION   /* Some things want this  */ 
     33#define libexecdir "/usr/local/lib"  /* Microsoft CPP is brain damaged */ 
    3134 
    3235/* Internal SWISH-E File Access Modes */ 
  • trunk/swish-e/src/win32/libswishe.dsp

    r1154 r1231  
    4242# PROP Target_Dir "" 
    4343# ADD BASE CPP /nologo /W3 /GX /O2 /I "..\..\..\expat\xmlparse" /I "..\..\..\expat\xmltok" /D "WIN32" /D "NDEBUG" /D "_MBCS" /D "_LIB" /YX /FD /c 
    44 # ADD CPP /nologo /W3 /GX /O2 /I "..\..\..\zlib" /I "." /I "..\..\..\expat\xmlparse" /I "..\..\..\expat\xmltok" /I "../../../libxml2/include" /I "../../../pcre/include" /D "HAVE_PCRE" /D "HAVE_CONFIG_H" /D "WIN32" /D "NDEBUG" /D "_MBCS" /D "_LIB" /D "HAVE_ZLIB" /YX /FD /c 
     44# ADD CPP /nologo /W3 /GX /O2 /I "..\..\..\zlib\include" /I "..\replace" /I "." /I "..\..\..\expat\xmlparse" /I "..\..\..\expat\xmltok" /I "../../../libxml2/include" /I "../../../pcre/include" /D "HAVE_PCRE" /D "HAVE_CONFIG_H" /D "WIN32" /D "NDEBUG" /D "_MBCS" /D "_LIB" /D "HAVE_ZLIB" /YX /FD /c 
    4545# ADD BASE RSC /l 0x409 /d "NDEBUG" 
    4646# ADD RSC /l 0x409 /d "NDEBUG" 
     
    6565# PROP Target_Dir "" 
    6666# ADD BASE CPP /nologo /W3 /Gm /GX /ZI /Od /I "..\..\..\expat\xmlparse" /I "..\..\..\expat/xmltok" /D "WIN32" /D "_DEBUG" /D "_MBCS" /D "_LIB" /YX /FD /GZ /c 
    67 # ADD CPP /nologo /W3 /Gm /GX /ZI /Od /I "." /I "../../../zlib" /I "..\..\..\expat\xmlparse" /I "../../../libxml2/include" /I "../../../pcre/include" /I "..\..\..\expat/xmltok" /D "HAVE_PCRE" /D "HAVE_CONFIG_H" /D "_LIB" /D "_DEBUG" /D "_MBCS" /D "WIN32" /D "HAVE_ZLIB" /YX /FD /I /GZ /c 
     67# ADD CPP /nologo /W3 /Gm /GX /ZI /Od /I "." /I "../../../zlib/include" /I "..\replace" /I "..\..\..\expat\xmlparse" /I "../../../libxml2/include" /I "../../../pcre/include" /I "..\..\..\expat/xmltok" /D "HAVE_PCRE" /D "HAVE_CONFIG_H" /D "_LIB" /D "_DEBUG" /D "_MBCS" /D "WIN32" /D "HAVE_ZLIB" /YX /FD /I /GZ /c 
    6868# ADD BASE RSC /l 0x409 /d "_DEBUG" 
    6969# ADD RSC /l 0x409 /d "_DEBUG" 
     
    202202# Begin Source File 
    203203 
    204 SOURCE=..\mkstemp.c 
     204SOURCE=..\replace\mkstemp.c 
    205205# End Source File 
    206206# Begin Source File 
     
    254254# Begin Source File 
    255255 
    256 SOURCE=..\string.c 
    257 # End Source File 
    258 # Begin Source File 
    259  
    260256SOURCE=..\swish2.c 
    261257# End Source File 
     
    271267 
    272268SOURCE=..\swregex.c 
     269# End Source File 
     270# Begin Source File 
     271 
     272SOURCE=..\swstring.c 
    273273# End Source File 
    274274# Begin Source File 
     
    286286# Begin Source File 
    287287 
     288SOURCE=..\_datatypes.h 
     289# End Source File 
     290# Begin Source File 
     291 
     292SOURCE=..\_module_example.h 
     293# End Source File 
     294# Begin Source File 
     295 
    288296SOURCE=.\acconfig.h 
    289297# End Source File 
    290298# Begin Source File 
    291299 
    292 SOURCE=..\_datatypes.h 
    293 # End Source File 
    294 # Begin Source File 
    295  
    296 SOURCE=..\_module_example.h 
    297 # End Source File 
    298 # Begin Source File 
    299  
    300300SOURCE=..\check.h 
    301301# End Source File 
     
    414414# Begin Source File 
    415415 
    416 SOURCE=..\mkstemp.h 
    417 # End Source File 
    418 # Begin Source File 
    419  
    420 SOURCE=.\mkstemp.h 
     416SOURCE=..\replace\mkstemp.h 
    421417# End Source File 
    422418# Begin Source File 
     
    474470# Begin Source File 
    475471 
    476 SOURCE=..\string.h 
    477 # End Source File 
    478 # Begin Source File 
    479  
    480472SOURCE=..\swish.h 
    481473# End Source File 
     
    491483 
    492484SOURCE=..\swregex.h 
     485# End Source File 
     486# Begin Source File 
     487 
     488SOURCE=..\swstring.h 
    493489# End Source File 
    494490# Begin Source File 
  • trunk/swish-e/src/win32/swishe.dsw

    r950 r1231  
    1616############################################################################### 
    1717 
    18 Project: "gennmtab"="..\..\..\expat\gennmtab\gennmtab.dsp" - Package Owner=<4> 
     18Project: "gennmtab"="..\expat\gennmtab\gennmtab.dsp" - Package Owner=<4> 
    1919 
    2020Package=<5> 
     
    2929 
    3030Project: "libswishe"=".\libswishe.dsp" - Package Owner=<4> 
     31 
     32Package=<5> 
     33{{{ 
     34}}} 
     35 
     36Package=<4> 
     37{{{ 
     38}}} 
     39 
     40############################################################################### 
     41 
     42Project: "libswishsearch"=".\libswishsearch.dsp" - Package Owner=<4> 
    3143 
    3244Package=<5> 
     
    7688############################################################################### 
    7789 
    78 Project: "xmlparse"="..\..\..\expat\xmlparse\xmlparse.dsp" - Package Owner=<4> 
     90Project: "xmlparse"="..\expat\xmlparse\xmlparse.dsp" - Package Owner=<4> 
    7991 
    8092Package=<5> 
     
    91103############################################################################### 
    92104 
    93 Project: "xmltok"="..\..\..\expat\xmltok\xmltok.dsp" - Package Owner=<4> 
     105Project: "xmltok"="..\expat\xmltok\xmltok.dsp" - Package Owner=<4> 
    94106 
    95107Package=<5>