Added VC8/9 project with ICC. No config.h in SVN, but Makefile will copy default...
authorMoritz Kroll <Moritz.Kroll@gmx.de>
Thu, 31 Jul 2008 18:45:44 +0000 (18:45 +0000)
committerMoritz Kroll <Moritz.Kroll@gmx.de>
Thu, 31 Jul 2008 18:45:44 +0000 (18:45 +0000)
[r20852]

Makefile
config.h [deleted file]
config.h.in [new file with mode: 0644]
vc2005/cparser.icproj [new file with mode: 0644]
vc2005/cparser.vcproj [new file with mode: 0644]
win32/config.h.win32 [new file with mode: 0644]
win32/stdbool.h [new file with mode: 0644]

index 450950e..017f797 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -30,6 +30,7 @@ SOURCES := \
        adt/xmalloc.c \
        ast.c \
        ast2firm.c \
+       config.h \
        diagnostic.c \
        entitymap.c \
        format_check.c \
@@ -68,6 +69,9 @@ ifeq ($(findstring $(MAKECMDGOALS), clean depend),)
 -include .depend
 endif
 
+config.h:
+       cp config.h.in $@
+
 %.h:
        @true
 
diff --git a/config.h b/config.h
deleted file mode 100644 (file)
index 36ee491..0000000
--- a/config.h
+++ /dev/null
@@ -1,19 +0,0 @@
-/*
- * This file is part of cparser.
- * Copyright (C) 2007-2008 Matthias Braun <matze@braunis.de>
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU General Public License
- * as published by the Free Software Foundation; either version 2
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, write to the Free Software
- * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
- * 02111-1307, USA.
- */
diff --git a/config.h.in b/config.h.in
new file mode 100644 (file)
index 0000000..36ee491
--- /dev/null
@@ -0,0 +1,19 @@
+/*
+ * This file is part of cparser.
+ * Copyright (C) 2007-2008 Matthias Braun <matze@braunis.de>
+ *
+ * This program is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU General Public License
+ * as published by the Free Software Foundation; either version 2
+ * of the License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
+ * 02111-1307, USA.
+ */
diff --git a/vc2005/cparser.icproj b/vc2005/cparser.icproj
new file mode 100644 (file)
index 0000000..aece9cf
--- /dev/null
@@ -0,0 +1,274 @@
+<?xml version="1.0" encoding="Windows-1252"?>\r
+<VisualStudioProject \r
+       ProjectType="Intel C++ Project"\r
+       Version="10.1"\r
+       Name="cparser"\r
+       ProjectGUID="{806B1A44-83D7-41D9-94BE-3EC7C0D9C50C}"\r
+       VCNestedProjectGUID="{5187EF14-7A1E-4025-9B58-2C14DE64433E}"\r
+       VCNestedProjectCRC32="816390867"\r
+       VCNestedProjectFileName="cparser.vcproj"\r
+       Keyword="Win32Proj">\r
+       <Platforms>\r
+               <Platform \r
+                       Name="Win32"/>\r
+       </Platforms>\r
+       <Configurations>\r
+               <Configuration \r
+                       Name="Debug|Win32">\r
+                       <Tool \r
+                               Name="GeneralTool"\r
+                               OutputDirectory="$(SolutionDir)$(ConfigurationName)"\r
+                               IntermediateDirectory="$(ConfigurationName)"\r
+                               ConfigurationType="1"\r
+                               CharacterSet="2"/>\r
+                       <Tool \r
+                               Name="CppCmplrTool"\r
+                               Optimization="0"\r
+                               AdditionalIncludeDirectories="../../ipd/include;..;../win32"\r
+                               PreprocessorDefinitions="WIN32;_DEBUG;_CONSOLE;FIRM_BACKEND"\r
+                               MinimalRebuild="1"\r
+                               BasicRuntimeChecks="3"\r
+                               RuntimeLibrary="1"\r
+                               UsePrecompiledHeader="0"\r
+                               WarningLevel="3"\r
+                               DebugInformationFormat="4"\r
+                               C99Support="1"/>\r
+                       <Tool \r
+                               Name="LinkerTool"\r
+                               LinkIncremental="2"\r
+                               AdditionalLibraryDirectories="../../ipd/lib"\r
+                               AdditionalDependencies="libfirm_g.lib winmm.lib"\r
+                               GenerateDebugInformation="1"\r
+                               SubSystem="1"\r
+                               TargetMachine="1"\r
+                               DelayImpLib=""/>\r
+                       <Tool \r
+                               Name="LibrarianTool"/>\r
+                       <Tool \r
+                               Name="ResCmplrTool"/>\r
+                       <Tool \r
+                               Name="MidlCmplrTool"/>\r
+                       <Tool \r
+                               Name="BscMakeTool"/>\r
+                       <Tool \r
+                               Name="PreBuildEventTool"/>\r
+                       <Tool \r
+                               Name="PreLinkEventTool"/>\r
+                       <Tool \r
+                               Name="PostBuildEventTool"/>\r
+                       <Tool \r
+                               Name="CustomTool"/>\r
+                       <Tool \r
+                               Name="CustomNodeTool"/>\r
+               </Configuration>\r
+               <Configuration \r
+                       Name="Release|Win32">\r
+                       <Tool \r
+                               Name="GeneralTool"\r
+                               OutputDirectory="$(SolutionDir)$(ConfigurationName)"\r
+                               IntermediateDirectory="$(ConfigurationName)"\r
+                               ConfigurationType="1"\r
+                               CharacterSet="1"\r
+                               WholeProgramOptimization="1"/>\r
+                       <Tool \r
+                               Name="CppCmplrTool"\r
+                               WholeProgramOptimization="1"\r
+                               Optimization="2"\r
+                               EnableIntrinsicFunctions="1"\r
+                               AdditionalIncludeDirectories="../../ipd/include;..;../win32"\r
+                               PreprocessorDefinitions="WIN32;NDEBUG;_CONSOLE"\r
+                               RuntimeLibrary="2"\r
+                               EnableFunctionLevelLinking="1"\r
+                               UsePrecompiledHeader="0"\r
+                               WarningLevel="3"\r
+                               DebugInformationFormat="3"\r
+                               C99Support="1"/>\r
+                       <Tool \r
+                               Name="LinkerTool"\r
+                               LinkIncremental="1"\r
+                               AdditionalLibraryDirectories="../../ipd/lib"\r
+                               AdditionalDependencies="libfirm_g.lib winmm.lib ws2_32.lib"\r
+                               GenerateDebugInformation="1"\r
+                               SubSystem="1"\r
+                               OptimizeReferences="2"\r
+                               EnableCOMDATFolding="2"\r
+                               TargetMachine="1"\r
+                               DelayImpLib=""/>\r
+                       <Tool \r
+                               Name="LibrarianTool"/>\r
+                       <Tool \r
+                               Name="ResCmplrTool"/>\r
+                       <Tool \r
+                               Name="MidlCmplrTool"/>\r
+                       <Tool \r
+                               Name="BscMakeTool"/>\r
+                       <Tool \r
+                               Name="PreBuildEventTool"/>\r
+                       <Tool \r
+                               Name="PreLinkEventTool"/>\r
+                       <Tool \r
+                               Name="PostBuildEventTool"/>\r
+                       <Tool \r
+                               Name="CustomTool"/>\r
+                       <Tool \r
+                               Name="CustomNodeTool"/>\r
+               </Configuration>\r
+       </Configurations>\r
+       <Files>\r
+               <File \r
+                       RelativePath="..\adt\align.h"/>\r
+               <File \r
+                       RelativePath="..\adt\array.c"/>\r
+               <File \r
+                       RelativePath="..\adt\array.h"/>\r
+               <File \r
+                       RelativePath="..\ast_t.h"/>\r
+               <File \r
+                       RelativePath="..\adt\bitfiddle.h"/>\r
+               <File \r
+                       RelativePath="..\adt\error.h"/>\r
+               <File \r
+                       RelativePath="..\adt\fourcc.h"/>\r
+               <File \r
+                       RelativePath="..\adt\hash_string.h"/>\r
+               <File \r
+                       RelativePath="..\lang_features.h"/>\r
+               <File \r
+                       RelativePath="..\adt\obst.h"/>\r
+               <File \r
+                       RelativePath="..\adt\pset.h"/>\r
+               <File \r
+                       RelativePath="..\adt\strset.c"/>\r
+               <File \r
+                       RelativePath="..\adt\strset.h"/>\r
+               <File \r
+                       RelativePath="..\adt\xmalloc.c"/>\r
+               <File \r
+                       RelativePath="..\adt\xmalloc.h"/>\r
+               <File \r
+                       RelativePath="..\driver\fe_common.h"/>\r
+               <File \r
+                       RelativePath="..\driver\firm_cmdline.c"/>\r
+               <File \r
+                       RelativePath="..\driver\firm_cmdline.h"/>\r
+               <File \r
+                       RelativePath="..\driver\firm_codegen.c"/>\r
+               <File \r
+                       RelativePath="..\driver\firm_codegen.h"/>\r
+               <File \r
+                       RelativePath="..\driver\firm_opt.c"/>\r
+               <File \r
+                       RelativePath="..\driver\firm_opt.h"/>\r
+               <File \r
+                       RelativePath="..\driver\firm_timing.c"/>\r
+               <File \r
+                       RelativePath="..\driver\firm_timing.def"/>\r
+               <File \r
+                       RelativePath="..\driver\firm_timing.h"/>\r
+               <File \r
+                       RelativePath="..\driver\gen_firm_asm.c"/>\r
+               <File \r
+                       RelativePath="..\ast.c"/>\r
+               <File \r
+                       RelativePath="..\ast.h"/>\r
+               <File \r
+                       RelativePath="..\ast2firm.c"/>\r
+               <File \r
+                       RelativePath="..\ast2firm.h"/>\r
+               <File \r
+                       RelativePath="..\config.h"/>\r
+               <File \r
+                       RelativePath="..\diagnostic.c"/>\r
+               <File \r
+                       RelativePath="..\diagnostic.h"/>\r
+               <File \r
+                       RelativePath="..\entitymap.c"/>\r
+               <File \r
+                       RelativePath="..\entitymap_t.h"/>\r
+               <File \r
+                       RelativePath="..\format_check.c"/>\r
+               <File \r
+                       RelativePath="..\format_check.h"/>\r
+               <File \r
+                       RelativePath="..\lexer.c"/>\r
+               <File \r
+                       RelativePath="..\lexer.h"/>\r
+               <File \r
+                       RelativePath="..\main.c"/>\r
+               <File \r
+                       RelativePath="..\parser.c"/>\r
+               <File \r
+                       RelativePath="..\parser.h"/>\r
+               <File \r
+                       RelativePath="..\revision.h"/>\r
+               <File \r
+                       RelativePath="..\string_rep.h"/>\r
+               <File \r
+                       RelativePath="..\symbol.h"/>\r
+               <File \r
+                       RelativePath="..\symbol_t.h"/>\r
+               <File \r
+                       RelativePath="..\symbol_table.c"/>\r
+               <File \r
+                       RelativePath="..\symbol_table.h"/>\r
+               <File \r
+                       RelativePath="..\symbol_table_t.h"/>\r
+               <File \r
+                       RelativePath="..\target_architecture.h"/>\r
+               <File \r
+                       RelativePath="..\token.c"/>\r
+               <File \r
+                       RelativePath="..\token_t.h"/>\r
+               <File \r
+                       RelativePath="..\tokens.inc"/>\r
+               <File \r
+                       RelativePath="..\tokens_preprocessor.inc"/>\r
+               <File \r
+                       RelativePath="..\tokens_punctuator.inc"/>\r
+               <File \r
+                       RelativePath="..\type.c"/>\r
+               <File \r
+                       RelativePath="..\type.h"/>\r
+               <File \r
+                       RelativePath="..\type_hash.c"/>\r
+               <File \r
+                       RelativePath="..\type_hash.h"/>\r
+               <File \r
+                       RelativePath="..\type_t.h"/>\r
+               <File \r
+                       RelativePath="..\types.c"/>\r
+               <File \r
+                       RelativePath="..\types.h"/>\r
+               <File \r
+                       RelativePath="..\adt\util.h"/>\r
+               <File \r
+                       RelativePath="..\warning.c"/>\r
+               <File \r
+                       RelativePath="..\warning.h"/>\r
+               <File \r
+                       RelativePath="..\write_caml.c"/>\r
+               <File \r
+                       RelativePath="..\write_caml.h"/>\r
+               <File \r
+                       RelativePath="..\write_fluffy.c"/>\r
+               <File \r
+                       RelativePath="..\write_fluffy.h"/>\r
+               <File \r
+                       RelativePath="..\win32\stdbool.h"/>\r
+               <File \r
+                       RelativePath="..\AUTHOR"/>\r
+               <File \r
+                       RelativePath="..\COPYING"/>\r
+               <File \r
+                       RelativePath="..\make_release.sh"/>\r
+               <File \r
+                       RelativePath="..\Makefile"/>\r
+               <File \r
+                       RelativePath="..\NEWS"/>\r
+               <File \r
+                       RelativePath="..\README"/>\r
+               <File \r
+                       RelativePath="..\TODO"/>\r
+       </Files>\r
+</VisualStudioProject>\r
+\r
diff --git a/vc2005/cparser.vcproj b/vc2005/cparser.vcproj
new file mode 100644 (file)
index 0000000..0c132a2
--- /dev/null
@@ -0,0 +1,502 @@
+<?xml version="1.0" encoding="Windows-1252"?>\r
+<VisualStudioProject\r
+       ProjectType="Visual C++"\r
+       Version="9,00"\r
+       Name="cparser"\r
+       ProjectGUID="{5187EF14-7A1E-4025-9B58-2C14DE64433E}"\r
+       RootNamespace="cparser"\r
+       Keyword="Win32Proj"\r
+       TargetFrameworkVersion="196613"\r
+       >\r
+       <Platforms>\r
+               <Platform\r
+                       Name="Win32"\r
+               />\r
+       </Platforms>\r
+       <ToolFiles>\r
+       </ToolFiles>\r
+       <Configurations>\r
+               <Configuration\r
+                       Name="Debug|Win32"\r
+                       OutputDirectory="$(SolutionDir)$(ConfigurationName)"\r
+                       IntermediateDirectory="$(ConfigurationName)"\r
+                       ConfigurationType="1"\r
+                       CharacterSet="2"\r
+                       >\r
+                       <Tool\r
+                               Name="VCPreBuildEventTool"\r
+                       />\r
+                       <Tool\r
+                               Name="VCCustomBuildTool"\r
+                       />\r
+                       <Tool\r
+                               Name="VCXMLDataGeneratorTool"\r
+                       />\r
+                       <Tool\r
+                               Name="VCWebServiceProxyGeneratorTool"\r
+                       />\r
+                       <Tool\r
+                               Name="VCMIDLTool"\r
+                       />\r
+                       <Tool\r
+                               Name="VCCLCompilerTool"\r
+                               Optimization="0"\r
+                               AdditionalIncludeDirectories="../../ipd/include;..;../win32"\r
+                               PreprocessorDefinitions="WIN32;_DEBUG;_CONSOLE;FIRM_BACKEND"\r
+                               MinimalRebuild="true"\r
+                               BasicRuntimeChecks="3"\r
+                               RuntimeLibrary="1"\r
+                               UsePrecompiledHeader="0"\r
+                               WarningLevel="3"\r
+                               DebugInformationFormat="4"\r
+                       />\r
+                       <Tool\r
+                               Name="VCManagedResourceCompilerTool"\r
+                       />\r
+                       <Tool\r
+                               Name="VCResourceCompilerTool"\r
+                       />\r
+                       <Tool\r
+                               Name="VCPreLinkEventTool"\r
+                       />\r
+                       <Tool\r
+                               Name="VCLinkerTool"\r
+                               AdditionalDependencies="libfirm_g.lib winmm.lib"\r
+                               LinkIncremental="2"\r
+                               AdditionalLibraryDirectories="../../ipd/lib"\r
+                               GenerateDebugInformation="true"\r
+                               SubSystem="1"\r
+                               TargetMachine="1"\r
+                       />\r
+                       <Tool\r
+                               Name="VCALinkTool"\r
+                       />\r
+                       <Tool\r
+                               Name="VCManifestTool"\r
+                       />\r
+                       <Tool\r
+                               Name="VCXDCMakeTool"\r
+                       />\r
+                       <Tool\r
+                               Name="VCBscMakeTool"\r
+                       />\r
+                       <Tool\r
+                               Name="VCFxCopTool"\r
+                       />\r
+                       <Tool\r
+                               Name="VCAppVerifierTool"\r
+                       />\r
+                       <Tool\r
+                               Name="VCPostBuildEventTool"\r
+                       />\r
+               </Configuration>\r
+               <Configuration\r
+                       Name="Release|Win32"\r
+                       OutputDirectory="$(SolutionDir)$(ConfigurationName)"\r
+                       IntermediateDirectory="$(ConfigurationName)"\r
+                       ConfigurationType="1"\r
+                       CharacterSet="1"\r
+                       WholeProgramOptimization="1"\r
+                       >\r
+                       <Tool\r
+                               Name="VCPreBuildEventTool"\r
+                       />\r
+                       <Tool\r
+                               Name="VCCustomBuildTool"\r
+                       />\r
+                       <Tool\r
+                               Name="VCXMLDataGeneratorTool"\r
+                       />\r
+                       <Tool\r
+                               Name="VCWebServiceProxyGeneratorTool"\r
+                       />\r
+                       <Tool\r
+                               Name="VCMIDLTool"\r
+                       />\r
+                       <Tool\r
+                               Name="VCCLCompilerTool"\r
+                               Optimization="2"\r
+                               EnableIntrinsicFunctions="true"\r
+                               WholeProgramOptimization="true"\r
+                               AdditionalIncludeDirectories="../../ipd/include;..;../win32"\r
+                               PreprocessorDefinitions="WIN32;NDEBUG;_CONSOLE"\r
+                               RuntimeLibrary="2"\r
+                               EnableFunctionLevelLinking="true"\r
+                               UsePrecompiledHeader="0"\r
+                               WarningLevel="3"\r
+                               DebugInformationFormat="3"\r
+                       />\r
+                       <Tool\r
+                               Name="VCManagedResourceCompilerTool"\r
+                       />\r
+                       <Tool\r
+                               Name="VCResourceCompilerTool"\r
+                       />\r
+                       <Tool\r
+                               Name="VCPreLinkEventTool"\r
+                       />\r
+                       <Tool\r
+                               Name="VCLinkerTool"\r
+                               AdditionalDependencies="libfirm_g.lib winmm.lib ws2_32.lib"\r
+                               LinkIncremental="1"\r
+                               AdditionalLibraryDirectories="../../ipd/lib"\r
+                               GenerateDebugInformation="true"\r
+                               SubSystem="1"\r
+                               OptimizeReferences="2"\r
+                               EnableCOMDATFolding="2"\r
+                               TargetMachine="1"\r
+                       />\r
+                       <Tool\r
+                               Name="VCALinkTool"\r
+                       />\r
+                       <Tool\r
+                               Name="VCManifestTool"\r
+                       />\r
+                       <Tool\r
+                               Name="VCXDCMakeTool"\r
+                       />\r
+                       <Tool\r
+                               Name="VCBscMakeTool"\r
+                       />\r
+                       <Tool\r
+                               Name="VCFxCopTool"\r
+                       />\r
+                       <Tool\r
+                               Name="VCAppVerifierTool"\r
+                       />\r
+                       <Tool\r
+                               Name="VCPostBuildEventTool"\r
+                       />\r
+               </Configuration>\r
+       </Configurations>\r
+       <References>\r
+       </References>\r
+       <Files>\r
+               <Filter\r
+                       Name="Win32-specific"\r
+                       >\r
+                       <File\r
+                               RelativePath="..\win32\stdbool.h"\r
+                               >\r
+                       </File>\r
+               </Filter>\r
+               <Filter\r
+                       Name="src"\r
+                       >\r
+                       <File\r
+                               RelativePath="..\ast.c"\r
+                               >\r
+                       </File>\r
+                       <File\r
+                               RelativePath="..\ast.h"\r
+                               >\r
+                       </File>\r
+                       <File\r
+                               RelativePath="..\ast2firm.c"\r
+                               >\r
+                       </File>\r
+                       <File\r
+                               RelativePath="..\ast2firm.h"\r
+                               >\r
+                       </File>\r
+                       <File\r
+                               RelativePath="..\config.h"\r
+                               >\r
+                       </File>\r
+                       <File\r
+                               RelativePath="..\diagnostic.c"\r
+                               >\r
+                       </File>\r
+                       <File\r
+                               RelativePath="..\diagnostic.h"\r
+                               >\r
+                       </File>\r
+                       <File\r
+                               RelativePath="..\entitymap.c"\r
+                               >\r
+                       </File>\r
+                       <File\r
+                               RelativePath="..\entitymap_t.h"\r
+                               >\r
+                       </File>\r
+                       <File\r
+                               RelativePath="..\format_check.c"\r
+                               >\r
+                       </File>\r
+                       <File\r
+                               RelativePath="..\format_check.h"\r
+                               >\r
+                       </File>\r
+                       <File\r
+                               RelativePath="..\lexer.c"\r
+                               >\r
+                       </File>\r
+                       <File\r
+                               RelativePath="..\lexer.h"\r
+                               >\r
+                       </File>\r
+                       <File\r
+                               RelativePath="..\main.c"\r
+                               >\r
+                       </File>\r
+                       <File\r
+                               RelativePath="..\parser.c"\r
+                               >\r
+                       </File>\r
+                       <File\r
+                               RelativePath="..\parser.h"\r
+                               >\r
+                       </File>\r
+                       <File\r
+                               RelativePath="..\revision.h"\r
+                               >\r
+                       </File>\r
+                       <File\r
+                               RelativePath="..\string_rep.h"\r
+                               >\r
+                       </File>\r
+                       <File\r
+                               RelativePath="..\symbol.h"\r
+                               >\r
+                       </File>\r
+                       <File\r
+                               RelativePath="..\symbol_t.h"\r
+                               >\r
+                       </File>\r
+                       <File\r
+                               RelativePath="..\symbol_table.c"\r
+                               >\r
+                       </File>\r
+                       <File\r
+                               RelativePath="..\symbol_table.h"\r
+                               >\r
+                       </File>\r
+                       <File\r
+                               RelativePath="..\symbol_table_t.h"\r
+                               >\r
+                       </File>\r
+                       <File\r
+                               RelativePath="..\target_architecture.h"\r
+                               >\r
+                       </File>\r
+                       <File\r
+                               RelativePath="..\token.c"\r
+                               >\r
+                       </File>\r
+                       <File\r
+                               RelativePath="..\token_t.h"\r
+                               >\r
+                       </File>\r
+                       <File\r
+                               RelativePath="..\tokens.inc"\r
+                               >\r
+                       </File>\r
+                       <File\r
+                               RelativePath="..\tokens_preprocessor.inc"\r
+                               >\r
+                       </File>\r
+                       <File\r
+                               RelativePath="..\tokens_punctuator.inc"\r
+                               >\r
+                       </File>\r
+                       <File\r
+                               RelativePath="..\type.c"\r
+                               >\r
+                       </File>\r
+                       <File\r
+                               RelativePath="..\type.h"\r
+                               >\r
+                       </File>\r
+                       <File\r
+                               RelativePath="..\type_hash.c"\r
+                               >\r
+                       </File>\r
+                       <File\r
+                               RelativePath="..\type_hash.h"\r
+                               >\r
+                       </File>\r
+                       <File\r
+                               RelativePath="..\type_t.h"\r
+                               >\r
+                       </File>\r
+                       <File\r
+                               RelativePath="..\types.c"\r
+                               >\r
+                       </File>\r
+                       <File\r
+                               RelativePath="..\types.h"\r
+                               >\r
+                       </File>\r
+                       <File\r
+                               RelativePath="..\adt\util.h"\r
+                               >\r
+                       </File>\r
+                       <File\r
+                               RelativePath="..\warning.c"\r
+                               >\r
+                       </File>\r
+                       <File\r
+                               RelativePath="..\warning.h"\r
+                               >\r
+                       </File>\r
+                       <File\r
+                               RelativePath="..\write_caml.c"\r
+                               >\r
+                       </File>\r
+                       <File\r
+                               RelativePath="..\write_caml.h"\r
+                               >\r
+                       </File>\r
+                       <File\r
+                               RelativePath="..\write_fluffy.c"\r
+                               >\r
+                       </File>\r
+                       <File\r
+                               RelativePath="..\write_fluffy.h"\r
+                               >\r
+                       </File>\r
+                       <Filter\r
+                               Name="adt"\r
+                               >\r
+                               <File\r
+                                       RelativePath="..\adt\align.h"\r
+                                       >\r
+                               </File>\r
+                               <File\r
+                                       RelativePath="..\adt\array.c"\r
+                                       >\r
+                               </File>\r
+                               <File\r
+                                       RelativePath="..\adt\array.h"\r
+                                       >\r
+                               </File>\r
+                               <File\r
+                                       RelativePath="..\ast_t.h"\r
+                                       >\r
+                               </File>\r
+                               <File\r
+                                       RelativePath="..\adt\bitfiddle.h"\r
+                                       >\r
+                               </File>\r
+                               <File\r
+                                       RelativePath="..\adt\error.h"\r
+                                       >\r
+                               </File>\r
+                               <File\r
+                                       RelativePath="..\adt\fourcc.h"\r
+                                       >\r
+                               </File>\r
+                               <File\r
+                                       RelativePath="..\adt\hash_string.h"\r
+                                       >\r
+                               </File>\r
+                               <File\r
+                                       RelativePath="..\lang_features.h"\r
+                                       >\r
+                               </File>\r
+                               <File\r
+                                       RelativePath="..\adt\obst.h"\r
+                                       >\r
+                               </File>\r
+                               <File\r
+                                       RelativePath="..\adt\pset.h"\r
+                                       >\r
+                               </File>\r
+                               <File\r
+                                       RelativePath="..\adt\strset.c"\r
+                                       >\r
+                               </File>\r
+                               <File\r
+                                       RelativePath="..\adt\strset.h"\r
+                                       >\r
+                               </File>\r
+                               <File\r
+                                       RelativePath="..\adt\xmalloc.c"\r
+                                       >\r
+                               </File>\r
+                               <File\r
+                                       RelativePath="..\adt\xmalloc.h"\r
+                                       >\r
+                               </File>\r
+                       </Filter>\r
+                       <Filter\r
+                               Name="driver"\r
+                               >\r
+                               <File\r
+                                       RelativePath="..\driver\fe_common.h"\r
+                                       >\r
+                               </File>\r
+                               <File\r
+                                       RelativePath="..\driver\firm_cmdline.c"\r
+                                       >\r
+                               </File>\r
+                               <File\r
+                                       RelativePath="..\driver\firm_cmdline.h"\r
+                                       >\r
+                               </File>\r
+                               <File\r
+                                       RelativePath="..\driver\firm_codegen.c"\r
+                                       >\r
+                               </File>\r
+                               <File\r
+                                       RelativePath="..\driver\firm_codegen.h"\r
+                                       >\r
+                               </File>\r
+                               <File\r
+                                       RelativePath="..\driver\firm_opt.c"\r
+                                       >\r
+                               </File>\r
+                               <File\r
+                                       RelativePath="..\driver\firm_opt.h"\r
+                                       >\r
+                               </File>\r
+                               <File\r
+                                       RelativePath="..\driver\firm_timing.c"\r
+                                       >\r
+                               </File>\r
+                               <File\r
+                                       RelativePath="..\driver\firm_timing.def"\r
+                                       >\r
+                               </File>\r
+                               <File\r
+                                       RelativePath="..\driver\firm_timing.h"\r
+                                       >\r
+                               </File>\r
+                               <File\r
+                                       RelativePath="..\driver\gen_firm_asm.c"\r
+                                       >\r
+                               </File>\r
+                       </Filter>\r
+               </Filter>\r
+               <File\r
+                       RelativePath="..\AUTHOR"\r
+                       >\r
+               </File>\r
+               <File\r
+                       RelativePath="..\COPYING"\r
+                       >\r
+               </File>\r
+               <File\r
+                       RelativePath="..\make_release.sh"\r
+                       >\r
+               </File>\r
+               <File\r
+                       RelativePath="..\Makefile"\r
+                       >\r
+               </File>\r
+               <File\r
+                       RelativePath="..\NEWS"\r
+                       >\r
+               </File>\r
+               <File\r
+                       RelativePath="..\README"\r
+                       >\r
+               </File>\r
+               <File\r
+                       RelativePath="..\TODO"\r
+                       >\r
+               </File>\r
+       </Files>\r
+       <Globals>\r
+       </Globals>\r
+</VisualStudioProject>\r
diff --git a/win32/config.h.win32 b/win32/config.h.win32
new file mode 100644 (file)
index 0000000..7349d0f
--- /dev/null
@@ -0,0 +1,23 @@
+/*
+ * This file is part of cparser.
+ * Copyright (C) 2007-2008 Matthias Braun <matze@braunis.de>
+ *
+ * This program is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU General Public License
+ * as published by the Free Software Foundation; either version 2
+ * of the License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
+ * 02111-1307, USA.
+ */
+
+#define INLINE inline
+#define __attribute__(x)
+#define snprintf _snprintf
diff --git a/win32/stdbool.h b/win32/stdbool.h
new file mode 100644 (file)
index 0000000..c009a54
--- /dev/null
@@ -0,0 +1,16 @@
+/*
+ * ISO C Standard:  7.16  Boolean type and values  <stdbool.h>
+ */
+
+#ifndef _STDBOOL_H
+#define _STDBOOL_H
+
+#ifndef __cplusplus
+
+#define bool   int
+#define true   1
+#define false  0
+
+#endif /* __cplusplus */
+
+#endif /* stdbool.h */