You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@httpd.apache.org by gs...@locus.apache.org on 2000/07/03 10:27:05 UTC

cvs commit: apache-2.0/src/lib/expat-lite dllmain.c xmlparse.def xmlparse.dsp xmltok.def xmltok.dsp

gstein      00/07/03 01:27:04

  Modified:    src      Apache.dsw
               src/os/win32 .cvsignore
  Added:       src/lib/expat-lite dllmain.c xmlparse.def xmlparse.dsp
                        xmltok.def xmltok.dsp
  Log:
  enable Expat for the Win32 build.
  
  Submitted by: Keith Wannamaker
  
  Revision  Changes    Path
  1.16      +27 -0     apache-2.0/src/Apache.dsw
  
  Index: Apache.dsw
  ===================================================================
  RCS file: /home/cvs/apache-2.0/src/Apache.dsw,v
  retrieving revision 1.15
  retrieving revision 1.16
  diff -u -r1.15 -r1.16
  --- Apache.dsw	2000/06/06 01:15:04	1.15
  +++ Apache.dsw	2000/07/03 08:26:08	1.16
  @@ -534,6 +534,33 @@
   
   ###############################################################################
   
  +Project: "xmlparse"=".\os\win32\xmlparse.dsp" - Package Owner=<4>
  +
  +Package=<5>
  +{{{
  +}}}
  +
  +Package=<4>
  +{{{
  +    Begin Project Dependency
  +    Project_Dep_Name xmltok
  +    End Project Dependency
  +}}}
  +
  +###############################################################################
  +
  +Project: "xmltok"=".\os\win32\xmltok.dsp" - Package Owner=<4>
  +
  +Package=<5>
  +{{{
  +}}}
  +
  +Package=<4>
  +{{{
  +}}}
  +
  +###############################################################################
  +
   Global:
   
   Package=<5>
  
  
  
  1.3       +5 -0      apache-2.0/src/os/win32/.cvsignore
  
  Index: .cvsignore
  ===================================================================
  RCS file: /home/cvs/apache-2.0/src/os/win32/.cvsignore,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- .cvsignore	2000/04/28 19:58:02	1.2
  +++ .cvsignore	2000/07/03 08:26:09	1.3
  @@ -4,6 +4,7 @@
   *.plg
   *.dsw
   *.mak
  +installer
   ApacheModuleAuthAnonD
   ApacheModuleAuthAnonR
   ApacheModuleAuthDigestD
  @@ -26,3 +27,7 @@
   ApacheModuleStatusR
   ApacheModuleUserTrackD
   ApacheModuleUserTrackR
  +XMLParseD
  +XMLParseR
  +XMLTokD
  +XMLTokR
  
  
  
  1.1                  apache-2.0/src/lib/expat-lite/dllmain.c
  
  Index: dllmain.c
  ===================================================================
  /*
  The contents of this file are subject to the Mozilla Public License
  Version 1.1 (the "License"); you may not use this file except in
  compliance with the License. You may obtain a copy of the License at
  http://www.mozilla.org/MPL/
  
  Software distributed under the License is distributed on an "AS IS"
  basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See the
  License for the specific language governing rights and limitations
  under the License.
  
  The Original Code is expat.
  
  The Initial Developer of the Original Code is James Clark.
  Portions created by James Clark are Copyright (C) 1998, 1999
  James Clark. All Rights Reserved.
  
  Contributor(s):
  
  Alternatively, the contents of this file may be used under the terms
  of the GNU General Public License (the "GPL"), in which case the
  provisions of the GPL are applicable instead of those above.  If you
  wish to allow use of your version of this file only under the terms of
  the GPL and not to allow others to use your version of this file under
  the MPL, indicate your decision by deleting the provisions above and
  replace them with the notice and other provisions required by the
  GPL. If you do not delete the provisions above, a recipient may use
  your version of this file under either the MPL or the GPL.
  */
  
  #define STRICT 1
  #define WIN32_LEAN_AND_MEAN 1
  
  #include <windows.h>
  
  BOOL WINAPI DllMain(HANDLE hInst, ULONG ul_reason_for_call, LPVOID lpReserved)
  {
    return TRUE;
  }
  
  
  
  
  1.1                  apache-2.0/src/lib/expat-lite/xmlparse.def
  
  Index: xmlparse.def
  ===================================================================
  ; xmlparse.def
  
  LIBRARY xmlparse
  DESCRIPTION ''
  
  EXPORTS
     XML_DefaultCurrent                    @1
     XML_ErrorString                       @2
     XML_ExternalEntityParserCreate        @3
     XML_GetBase                           @4
     XML_GetBuffer                         @5
     XML_GetCurrentByteCount               @6
     XML_GetCurrentByteIndex               @7
     XML_GetCurrentColumnNumber            @8
     XML_GetCurrentLineNumber              @9
     XML_GetErrorCode                      @10
     XML_GetSpecifiedAttributeCount        @11
     XML_Parse                             @12
     XML_ParseBuffer                       @13
     XML_ParserCreate                      @14
     XML_ParserCreateNS                    @15
     XML_ParserFree                        @16
     XML_SetBase                           @17
     XML_SetCdataSectionHandler            @18
     XML_SetCharacterDataHandler           @19
     XML_SetCommentHandler                 @20
     XML_SetDefaultHandler                 @21
     XML_SetDefaultHandlerExpand           @22
     XML_SetElementHandler                 @23
     XML_SetEncoding                       @24
     XML_SetExternalEntityRefHandler       @25
     XML_SetExternalEntityRefHandlerArg    @26
     XML_SetNamespaceDeclHandler           @27
     XML_SetNotStandaloneHandler           @28
     XML_SetNotationDeclHandler            @29
     XML_SetProcessingInstructionHandler   @30
     XML_SetUnknownEncodingHandler         @31
     XML_SetUnparsedEntityDeclHandler      @32
     XML_SetUserData                       @33
     XML_UseParserAsHandlerArg             @34
  
  
  
  
  1.1                  apache-2.0/src/lib/expat-lite/xmlparse.dsp
  
  Index: xmlparse.dsp
  ===================================================================
  # Microsoft Developer Studio Project File - Name="xmlparse" - Package Owner=<4>
  # Microsoft Developer Studio Generated Build File, Format Version 6.00
  # ** DO NOT EDIT **
  
  # TARGTYPE "Win32 (x86) Dynamic-Link Library" 0x0102
  
  CFG=xmlparse - 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 "xmlparse.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 "xmlparse.mak" CFG="xmlparse - Win32 Debug"
  !MESSAGE 
  !MESSAGE Possible choices for configuration are:
  !MESSAGE 
  !MESSAGE "xmlparse - Win32 Release" (based on "Win32 (x86) Dynamic-Link Library")
  !MESSAGE "xmlparse - Win32 Debug" (based on "Win32 (x86) Dynamic-Link Library")
  !MESSAGE 
  
  # Begin Project
  # PROP AllowPerConfigDependencies 0
  # PROP Scc_ProjName ""
  # PROP Scc_LocalPath ""
  CPP=cl.exe
  MTL=midl.exe
  RSC=rc.exe
  
  !IF  "$(CFG)" == "xmlparse - 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 "XMLParseR"
  # PROP Intermediate_Dir "XMLParseR"
  # PROP Ignore_Export_Lib 0
  # PROP Target_Dir ""
  # ADD BASE CPP /nologo /MT /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /D "_MBCS" /D "_USRDLL" /D "XMLPARSE_EXPORTS" /YX /FD /c
  # ADD CPP /nologo /MT /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /D "_MBCS" /D "_USRDLL" /D "XMLPARSE_EXPORTS" /YX /FD /c
  # ADD BASE MTL /nologo /D "NDEBUG" /mktyplib203 /win32
  # ADD MTL /nologo /D "NDEBUG" /mktyplib203 /win32
  # ADD BASE RSC /l 0x409 /d "NDEBUG"
  # ADD RSC /l 0x409 /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 /dll /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 /nologo /dll /machine:I386
  
  !ELSEIF  "$(CFG)" == "xmlparse - 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 "XMLParseD"
  # PROP Intermediate_Dir "XMLParseD"
  # PROP Ignore_Export_Lib 0
  # PROP Target_Dir ""
  # ADD BASE CPP /nologo /MTd /W3 /Gm /GX /ZI /Od /D "WIN32" /D "_DEBUG" /D "_WINDOWS" /D "_MBCS" /D "_USRDLL" /D "XMLPARSE_EXPORTS" /YX /FD /GZ /c
  # ADD CPP /nologo /MTd /W3 /Gm /GX /ZI /Od /D "WIN32" /D "_DEBUG" /D "_WINDOWS" /D "_MBCS" /D "_USRDLL" /D "XMLPARSE_EXPORTS" /YX /FD /GZ /c
  # ADD BASE MTL /nologo /D "_DEBUG" /mktyplib203 /win32
  # ADD MTL /nologo /D "_DEBUG" /mktyplib203 /win32
  # ADD BASE RSC /l 0x409 /d "_DEBUG"
  # ADD RSC /l 0x409 /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 /dll /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 /nologo /dll /debug /machine:I386 /pdbtype:sept
  
  !ENDIF 
  
  # Begin Target
  
  # Name "xmlparse - Win32 Release"
  # Name "xmlparse - Win32 Debug"
  # Begin Source File
  
  SOURCE="..\..\lib\expat-lite\hashtable.c"
  # End Source File
  # Begin Source File
  
  SOURCE="..\..\lib\expat-lite\xmlparse.c"
  # End Source File
  # Begin Source File
  
  SOURCE="..\..\lib\expat-lite\xmlparse.def"
  # End Source File
  # Begin Source File
  
  SOURCE="..\..\lib\expat-lite\xmlparse.h"
  # End Source File
  # End Target
  # End Project
  
  
  
  1.1                  apache-2.0/src/lib/expat-lite/xmltok.def
  
  Index: xmltok.def
  ===================================================================
  ; xmltok.def
  
  LIBRARY xmltok
  DESCRIPTION ''
  
  EXPORTS
     XmlGetUtf16InternalEncoding  @1
     XmlGetUtf8InternalEncoding   @2
     XmlInitEncoding              @3
     XmlInitUnknownEncoding       @4
     XmlParseXmlDecl              @5
     XmlPrologStateInit           @6
     XmlSizeOfUnknownEncoding     @7
     XmlUtf16Encode               @8
     XmlUtf8Encode                @9
  
  
  
  1.1                  apache-2.0/src/lib/expat-lite/xmltok.dsp
  
  Index: xmltok.dsp
  ===================================================================
  # Microsoft Developer Studio Project File - Name="xmltok" - Package Owner=<4>
  # Microsoft Developer Studio Generated Build File, Format Version 6.00
  # ** DO NOT EDIT **
  
  # TARGTYPE "Win32 (x86) Dynamic-Link Library" 0x0102
  
  CFG=xmltok - 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 "xmltok.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 "xmltok.mak" CFG="xmltok - Win32 Debug"
  !MESSAGE 
  !MESSAGE Possible choices for configuration are:
  !MESSAGE 
  !MESSAGE "xmltok - Win32 Release" (based on "Win32 (x86) Dynamic-Link Library")
  !MESSAGE "xmltok - Win32 Debug" (based on "Win32 (x86) Dynamic-Link Library")
  !MESSAGE 
  
  # Begin Project
  # PROP AllowPerConfigDependencies 0
  # PROP Scc_ProjName ""
  # PROP Scc_LocalPath ""
  CPP=cl.exe
  MTL=midl.exe
  RSC=rc.exe
  
  !IF  "$(CFG)" == "xmltok - 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 "XMLTokR"
  # PROP Intermediate_Dir "XMLTokR"
  # PROP Ignore_Export_Lib 0
  # PROP Target_Dir ""
  # ADD BASE CPP /nologo /MT /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /D "_MBCS" /D "_USRDLL" /D "XMLTOK_EXPORTS" /YX /FD /c
  # ADD CPP /nologo /MT /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /D "_MBCS" /D "_USRDLL" /D "XMLTOK_EXPORTS" /YX /FD /c
  # ADD BASE MTL /nologo /D "NDEBUG" /mktyplib203 /win32
  # ADD MTL /nologo /D "NDEBUG" /mktyplib203 /win32
  # ADD BASE RSC /l 0x409 /d "NDEBUG"
  # ADD RSC /l 0x409 /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 /dll /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 /nologo /dll /machine:I386
  
  !ELSEIF  "$(CFG)" == "xmltok - Win32 Debug"
  
  # PROP BASE Use_MFC 0
  # PROP BASE Use_Debug_Libraries 1
  # PROP BASE Output_Dir "xmltok___Win32_Debug"
  # PROP BASE Intermediate_Dir "xmltok___Win32_Debug"
  # PROP BASE Target_Dir ""
  # PROP Use_MFC 0
  # PROP Use_Debug_Libraries 1
  # PROP Output_Dir "XMLTokD"
  # PROP Intermediate_Dir "XMLTokD"
  # PROP Ignore_Export_Lib 0
  # PROP Target_Dir ""
  # ADD BASE CPP /nologo /MTd /W3 /Gm /GX /ZI /Od /D "WIN32" /D "_DEBUG" /D "_WINDOWS" /D "_MBCS" /D "_USRDLL" /D "XMLTOK_EXPORTS" /YX /FD /GZ /c
  # ADD CPP /nologo /MTd /W3 /Gm /GX /ZI /Od /D "WIN32" /D "_DEBUG" /D "_WINDOWS" /D "_MBCS" /D "_USRDLL" /D "XMLTOK_EXPORTS" /YX /FD /GZ /c
  # SUBTRACT CPP /Fr
  # ADD BASE MTL /nologo /D "_DEBUG" /mktyplib203 /win32
  # ADD MTL /nologo /D "_DEBUG" /mktyplib203 /win32
  # ADD BASE RSC /l 0x409 /d "_DEBUG"
  # ADD RSC /l 0x409 /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 /dll /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 /nologo /dll /debug /machine:I386 /pdbtype:sept
  
  !ENDIF 
  
  # Begin Target
  
  # Name "xmltok - Win32 Release"
  # Name "xmltok - Win32 Debug"
  # Begin Source File
  
  SOURCE="..\..\lib\expat-lite\dllmain.c"
  # End Source File
  # Begin Source File
  
  SOURCE="..\..\lib\expat-lite\xmlrole.c"
  # End Source File
  # Begin Source File
  
  SOURCE="..\..\lib\expat-lite\xmltok.c"
  # End Source File
  # Begin Source File
  
  SOURCE="..\..\lib\expat-lite\xmltok.def"
  # End Source File
  # End Target
  # End Project