diff options
Diffstat (limited to 'winbuild')
-rw-r--r-- | winbuild/Doxygen.vcproj | 229 | ||||
-rw-r--r-- | winbuild/Doxytag.vcproj | 24 | ||||
-rw-r--r-- | winbuild/Doxywizard.vcproj | 43 | ||||
-rw-r--r-- | winbuild/Lex.rules | 40 | ||||
-rw-r--r-- | winbuild/iconv.h | 141 | ||||
-rw-r--r-- | winbuild/iconv.lib | bin | 0 -> 958612 bytes | |||
-rw-r--r-- | winbuild/runbison.bat | 3 | ||||
-rw-r--r-- | winbuild/unistd.h | 7 |
8 files changed, 390 insertions, 97 deletions
diff --git a/winbuild/Doxygen.vcproj b/winbuild/Doxygen.vcproj index 4fd1b98..8309c86 100644 --- a/winbuild/Doxygen.vcproj +++ b/winbuild/Doxygen.vcproj @@ -12,6 +12,9 @@ /> </Platforms> <ToolFiles> + <ToolFile + RelativePath=".\Lex.rules" + /> </ToolFiles> <Configurations> <Configuration @@ -31,6 +34,9 @@ Name="VCCustomBuildTool" /> <Tool + Name="Lex" + /> + <Tool Name="VCXMLDataGeneratorTool" /> <Tool @@ -45,8 +51,8 @@ Name="VCCLCompilerTool" AdditionalOptions="/Zm200 " Optimization="0" - AdditionalIncludeDirectories="..\src,..\qtools,..\libpng,..\libmd5" - PreprocessorDefinitions="_CONSOLE;WIN32;_DEBUG;_CRT_SECURE_NO_DEPRECATE" + AdditionalIncludeDirectories="..\src,..\qtools,..\libpng,..\libmd5,." + PreprocessorDefinitions="_CONSOLE;WIN32;_DEBUG;_CRT_SECURE_NO_DEPRECATE;LIBICONV_STATIC;CHARSET_STATIC" MinimalRebuild="true" BasicRuntimeChecks="3" RuntimeLibrary="1" @@ -71,7 +77,7 @@ /> <Tool Name="VCLinkerTool" - AdditionalDependencies="qtools.lib libpng.lib zlib.lib ws2_32.lib" + AdditionalDependencies="qtools.lib libpng.lib zlib.lib ws2_32.lib iconv.lib" OutputFile="..\bin\Debug\doxygen.exe" LinkIncremental="2" SuppressStartupBanner="true" @@ -126,6 +132,9 @@ Name="VCCustomBuildTool" /> <Tool + Name="Lex" + /> + <Tool Name="VCXMLDataGeneratorTool" /> <Tool @@ -143,8 +152,8 @@ InlineFunctionExpansion="2" OmitFramePointers="true" WholeProgramOptimization="true" - AdditionalIncludeDirectories="..\src,..\qtools,..\libpng,..\libmd5" - PreprocessorDefinitions="WIN32;NDEBUG;_CONSOLE;_CRT_SECURE_NO_DEPRECATE" + AdditionalIncludeDirectories="..\src,..\qtools,..\libpng,..\libmd5,." + PreprocessorDefinitions="WIN32;NDEBUG;_CONSOLE;_CRT_SECURE_NO_DEPRECATE;LIBICONV_STATIC;CHARSET_STATIC" StringPooling="true" RuntimeLibrary="0" EnableFunctionLevelLinking="true" @@ -169,7 +178,7 @@ <Tool Name="VCLinkerTool" AdditionalOptions="/LTCG" - AdditionalDependencies="qtools.lib libpng.lib zlib.lib " + AdditionalDependencies="qtools.lib libpng.lib zlib.lib iconv.lib" OutputFile="..\bin\doxygen.exe" LinkIncremental="1" SuppressStartupBanner="true" @@ -216,6 +225,10 @@ <File RelativePath="..\src\ce_lex.cpp" > + </File> + <File + RelativePath="..\src\ce_parse.cpp" + > <FileConfiguration Name="Debug|Win32" > @@ -236,7 +249,7 @@ </FileConfiguration> </File> <File - RelativePath="..\src\ce_parse.cpp" + RelativePath="..\src\classdef.cpp" > <FileConfiguration Name="Debug|Win32" @@ -258,7 +271,7 @@ </FileConfiguration> </File> <File - RelativePath="..\src\classdef.cpp" + RelativePath="..\src\classlist.cpp" > <FileConfiguration Name="Debug|Win32" @@ -280,7 +293,7 @@ </FileConfiguration> </File> <File - RelativePath="..\src\classlist.cpp" + RelativePath="..\src\cmdmapper.cpp" > <FileConfiguration Name="Debug|Win32" @@ -302,112 +315,130 @@ </FileConfiguration> </File> <File - RelativePath="..\src\cmdmapper.cpp" + RelativePath="..\src\code.cpp" + > + </File> + <File + RelativePath="..\src\code.l" > <FileConfiguration Name="Debug|Win32" > <Tool - Name="VCCLCompilerTool" - AdditionalIncludeDirectories="" - PreprocessorDefinitions="" + Name="Lex" + CommandLine="flex -PcodeYY [AllOptions] [AdditionalOptions] [inputs]" /> </FileConfiguration> <FileConfiguration Name="Release|Win32" > <Tool - Name="VCCLCompilerTool" - AdditionalIncludeDirectories="" - PreprocessorDefinitions="" + Name="Lex" + CommandLine="flex -PcodeYY [AllOptions] [AdditionalOptions] [inputs]" /> </FileConfiguration> </File> <File - RelativePath="..\src\code.cpp" + RelativePath="..\src\commentcnv.cpp" + > + </File> + <File + RelativePath="..\src\commentcnv.l" + > + </File> + <File + RelativePath="..\src\commentscan.cpp" + > + </File> + <File + RelativePath="..\src\commentscan.l" > <FileConfiguration Name="Debug|Win32" > <Tool - Name="VCCLCompilerTool" - AdditionalIncludeDirectories="" - PreprocessorDefinitions="" + Name="Lex" + CommandLine="flex -PcommentScanYY [AllOptions] [AdditionalOptions] [inputs]" /> </FileConfiguration> <FileConfiguration Name="Release|Win32" > <Tool - Name="VCCLCompilerTool" - AdditionalIncludeDirectories="" - PreprocessorDefinitions="" + Name="Lex" + CommandLine="flex -PcommentScanYY [AllOptions] [AdditionalOptions] [inputs]" /> </FileConfiguration> </File> <File - RelativePath="..\src\commentcnv.cpp" + RelativePath="..\src\config.cpp" + > + </File> + <File + RelativePath="..\src\config.l" > <FileConfiguration Name="Debug|Win32" > <Tool - Name="VCCLCompilerTool" - AdditionalIncludeDirectories="" - PreprocessorDefinitions="" + Name="Lex" + CommandLine="flex -PconfigYY [AllOptions] [AdditionalOptions] [inputs]" /> </FileConfiguration> <FileConfiguration Name="Release|Win32" > <Tool - Name="VCCLCompilerTool" - AdditionalIncludeDirectories="" - PreprocessorDefinitions="" + Name="Lex" + CommandLine="flex -PconfigYY [AllOptions] [AdditionalOptions] [inputs]" /> </FileConfiguration> </File> <File - RelativePath="..\src\commentscan.cpp" + RelativePath="..\src\constexp.l" > <FileConfiguration Name="Debug|Win32" > <Tool - Name="VCCLCompilerTool" - AdditionalIncludeDirectories="" - PreprocessorDefinitions="" + Name="Lex" + CommandLine="flex -PcppExpYY -t $(InputDir)constexp.l >$(InputDir)ce_lex.cpp" + AdditionalDependencies="$(InputDir)constexp.l" + Output="$(InputDir)ce_lex.cpp" /> </FileConfiguration> <FileConfiguration Name="Release|Win32" > <Tool - Name="VCCLCompilerTool" - AdditionalIncludeDirectories="" - PreprocessorDefinitions="" + Name="Lex" + CommandLine="flex -PcppExpYY -t $(InputDir)constexp.l >$(InputDir)ce_lex.cpp" + AdditionalDependencies="$(InputDir)constexp.l" + Output="$(InputDir)ce_lex.cpp" /> </FileConfiguration> </File> <File - RelativePath="..\src\config.cpp" + RelativePath="..\src\constexp.y" > <FileConfiguration Name="Debug|Win32" > <Tool - Name="VCCLCompilerTool" - AdditionalIncludeDirectories="" - PreprocessorDefinitions="" + Name="VCCustomBuildTool" + Description="Running bison on constexp.y" + CommandLine="runbison.bat $(InputDir)
" + Outputs="$(InputDir)\..\src\ce_parse.cpp" /> </FileConfiguration> <FileConfiguration Name="Release|Win32" > <Tool - Name="VCCLCompilerTool" - AdditionalIncludeDirectories="" - PreprocessorDefinitions="" + Name="VCCustomBuildTool" + Description="Running bison on constexp.y" + CommandLine="runbison.bat $(InputDir)
" + Outputs="$(InputDir)\..\src\ce_parse.cpp" /> </FileConfiguration> </File> @@ -458,44 +489,48 @@ <File RelativePath="..\src\declinfo.cpp" > + </File> + <File + RelativePath="..\src\declinfo.l" + > <FileConfiguration Name="Debug|Win32" > <Tool - Name="VCCLCompilerTool" - AdditionalIncludeDirectories="" - PreprocessorDefinitions="" + Name="Lex" + CommandLine="flex -PdeclinfoYY [AllOptions] [AdditionalOptions] [inputs]" /> </FileConfiguration> <FileConfiguration Name="Release|Win32" > <Tool - Name="VCCLCompilerTool" - AdditionalIncludeDirectories="" - PreprocessorDefinitions="" + Name="Lex" + CommandLine="flex -PdeclinfoYY [AllOptions] [AdditionalOptions] [inputs]" /> </FileConfiguration> </File> <File RelativePath="..\src\defargs.cpp" > + </File> + <File + RelativePath="..\src\defargs.l" + > <FileConfiguration Name="Debug|Win32" > <Tool - Name="VCCLCompilerTool" - AdditionalIncludeDirectories="" - PreprocessorDefinitions="" + Name="Lex" + CommandLine="flex -PdefargsYY [AllOptions] [AdditionalOptions] [inputs]" /> </FileConfiguration> <FileConfiguration Name="Release|Win32" > <Tool - Name="VCCLCompilerTool" - AdditionalIncludeDirectories="" - PreprocessorDefinitions="" + Name="Lex" + CommandLine="flex -PdefargsYY [AllOptions] [AdditionalOptions] [inputs]" /> </FileConfiguration> </File> @@ -634,22 +669,24 @@ <File RelativePath="..\src\doctokenizer.cpp" > + </File> + <File + RelativePath="..\src\doctokenizer.l" + > <FileConfiguration Name="Debug|Win32" > <Tool - Name="VCCLCompilerTool" - AdditionalIncludeDirectories="" - PreprocessorDefinitions="" + Name="Lex" + CommandLine="flex -PdoctokenizerYY [AllOptions] [AdditionalOptions] [inputs]" /> </FileConfiguration> <FileConfiguration Name="Release|Win32" > <Tool - Name="VCCLCompilerTool" - AdditionalIncludeDirectories="" - PreprocessorDefinitions="" + Name="Lex" + CommandLine="flex -PdoctokenizerYY [AllOptions] [AdditionalOptions] [inputs]" /> </FileConfiguration> </File> @@ -1410,68 +1447,78 @@ </FileConfiguration> </File> <File + RelativePath="..\src\portable.cpp" + > + </File> + <File RelativePath="..\src\pre.cpp" > + </File> + <File + RelativePath="..\src\pre.l" + > <FileConfiguration Name="Debug|Win32" > <Tool - Name="VCCLCompilerTool" - AdditionalIncludeDirectories="" - PreprocessorDefinitions="" + Name="Lex" + CommandLine="flex -PpreYY [AllOptions] [AdditionalOptions] [inputs]" /> </FileConfiguration> <FileConfiguration Name="Release|Win32" > <Tool - Name="VCCLCompilerTool" - AdditionalIncludeDirectories="" - PreprocessorDefinitions="" + Name="Lex" + CommandLine="flex -PpreYY [AllOptions] [AdditionalOptions] [inputs]" /> </FileConfiguration> </File> <File RelativePath="..\src\pycode.cpp" > + </File> + <File + RelativePath="..\src\pycode.l" + > <FileConfiguration Name="Debug|Win32" > <Tool - Name="VCCLCompilerTool" - AdditionalIncludeDirectories="" - PreprocessorDefinitions="" + Name="Lex" + CommandLine="flex -PpycodeYY [AllOptions] [AdditionalOptions] [inputs]" /> </FileConfiguration> <FileConfiguration Name="Release|Win32" > <Tool - Name="VCCLCompilerTool" - AdditionalIncludeDirectories="" - PreprocessorDefinitions="" + Name="Lex" + CommandLine="flex -PpycodeYY [AllOptions] [AdditionalOptions] [inputs]" /> </FileConfiguration> </File> <File RelativePath="..\src\pyscanner.cpp" > + </File> + <File + RelativePath="..\src\pyscanner.l" + > <FileConfiguration Name="Debug|Win32" > <Tool - Name="VCCLCompilerTool" - AdditionalIncludeDirectories="" - PreprocessorDefinitions="" + Name="Lex" + CommandLine="flex -PpyscanYY [AllOptions] [AdditionalOptions] [inputs]" /> </FileConfiguration> <FileConfiguration Name="Release|Win32" > <Tool - Name="VCCLCompilerTool" - AdditionalIncludeDirectories="" - PreprocessorDefinitions="" + Name="Lex" + CommandLine="flex -PpyscanYY [AllOptions] [AdditionalOptions] [inputs]" /> </FileConfiguration> </File> @@ -1566,22 +1613,24 @@ <File RelativePath="..\src\scanner.cpp" > + </File> + <File + RelativePath="..\src\scanner.l" + > <FileConfiguration Name="Debug|Win32" > <Tool - Name="VCCLCompilerTool" - AdditionalIncludeDirectories="" - PreprocessorDefinitions="" + Name="Lex" + CommandLine="flex -PscanYY [AllOptions] [AdditionalOptions] [inputs]" /> </FileConfiguration> <FileConfiguration Name="Release|Win32" > <Tool - Name="VCCLCompilerTool" - AdditionalIncludeDirectories="" - PreprocessorDefinitions="" + Name="Lex" + CommandLine="flex -PscanYY [AllOptions] [AdditionalOptions] [inputs]" /> </FileConfiguration> </File> @@ -2017,6 +2066,10 @@ > </File> <File + RelativePath="..\src\portable.h" + > + </File> + <File RelativePath="..\src\pre.h" > </File> @@ -2233,6 +2286,10 @@ > </File> <File + RelativePath="..\src\translatordecoder.h" + > + </File> + <File RelativePath="..\src\unistd.h" > <FileConfiguration diff --git a/winbuild/Doxytag.vcproj b/winbuild/Doxytag.vcproj index b09e917..e5b3959 100644 --- a/winbuild/Doxytag.vcproj +++ b/winbuild/Doxytag.vcproj @@ -4,6 +4,7 @@ Version="8.00" Name="Doxytag" ProjectGUID="{EE0E8466-1E25-4FBC-B273-5EA6776EFE95}" + RootNamespace="Doxytag" > <Platforms> <Platform @@ -11,6 +12,9 @@ /> </Platforms> <ToolFiles> + <ToolFile + RelativePath=".\Lex.rules" + /> </ToolFiles> <Configurations> <Configuration @@ -30,6 +34,9 @@ Name="VCCustomBuildTool" /> <Tool + Name="Lex" + /> + <Tool Name="VCXMLDataGeneratorTool" /> <Tool @@ -124,6 +131,9 @@ Name="VCCustomBuildTool" /> <Tool + Name="Lex" + /> + <Tool Name="VCXMLDataGeneratorTool" /> <Tool @@ -208,7 +218,7 @@ Filter="cpp;c;cxx;rc;def;r;odl;idl;hpj;bat" > <File - RelativePath="..\src\config.cpp" + RelativePath="..\src\doxytag.cpp" > <FileConfiguration Name="Debug|Win32" @@ -230,24 +240,22 @@ </FileConfiguration> </File> <File - RelativePath="..\src\doxytag.cpp" + RelativePath="..\src\doxytag.l" > <FileConfiguration Name="Debug|Win32" > <Tool - Name="VCCLCompilerTool" - AdditionalIncludeDirectories="" - PreprocessorDefinitions="" + Name="Lex" + CommandLine="flex -PtagYY [AllOptions] [AdditionalOptions] [inputs]" /> </FileConfiguration> <FileConfiguration Name="Release|Win32" > <Tool - Name="VCCLCompilerTool" - AdditionalIncludeDirectories="" - PreprocessorDefinitions="" + Name="Lex" + CommandLine="flex -PtagYY [AllOptions] [AdditionalOptions] [inputs]" /> </FileConfiguration> </File> diff --git a/winbuild/Doxywizard.vcproj b/winbuild/Doxywizard.vcproj index b2cf022..7219517 100644 --- a/winbuild/Doxywizard.vcproj +++ b/winbuild/Doxywizard.vcproj @@ -16,6 +16,9 @@ <ToolFile RelativePath=".\moc.rules" /> + <ToolFile + RelativePath=".\Lex.rules" + /> </ToolFiles> <Configurations> <Configuration @@ -29,10 +32,13 @@ Name="VCPreBuildEventTool" /> <Tool + Name="moc" + /> + <Tool Name="VCCustomBuildTool" /> <Tool - Name="moc" + Name="Lex" /> <Tool Name="VCXMLDataGeneratorTool" @@ -113,10 +119,13 @@ Name="VCPreBuildEventTool" /> <Tool + Name="moc" + /> + <Tool Name="VCCustomBuildTool" /> <Tool - Name="moc" + Name="Lex" /> <Tool Name="VCXMLDataGeneratorTool" @@ -201,6 +210,26 @@ > </File> <File + RelativePath="..\src\config.l" + > + <FileConfiguration + Name="Debug|Win32" + > + <Tool + Name="Lex" + CommandLine="flex -PconfigYY [AllOptions] [AdditionalOptions] [inputs]" + /> + </FileConfiguration> + <FileConfiguration + Name="Release|Win32" + > + <Tool + Name="Lex" + CommandLine="flex -PconfigYY [AllOptions] [AdditionalOptions] [inputs]" + /> + </FileConfiguration> + </File> + <File RelativePath="..\addon\doxywizard\doxywizard.cpp" > </File> @@ -253,7 +282,11 @@ > </File> <File - RelativePath="..\addon\doxywizard\version.cpp" + RelativePath="..\src\portable.cpp" + > + </File> + <File + RelativePath="..\src\version.cpp" > </File> </Filter> @@ -291,6 +324,10 @@ > </File> <File + RelativePath="..\src\portable.h" + > + </File> + <File RelativePath="..\addon\doxywizard\qtbc.h" > </File> diff --git a/winbuild/Lex.rules b/winbuild/Lex.rules new file mode 100644 index 0000000..3f2f5d9 --- /dev/null +++ b/winbuild/Lex.rules @@ -0,0 +1,40 @@ +<?xml version="1.0" encoding="utf-8"?> +<VisualStudioToolFile + Name="flex" + Version="8.00" + > + <Rules> + <CustomBuildRule + Name="Lex" + DisplayName="Lex" + CommandLine="flex [AllOptions] [AdditionalOptions] [inputs]" + Outputs="$(InputDir)/$(InputName).cpp" + FileExtensions="*.l" + ExecutionDescription="Executing Lex for $(InputDir)/$(InputName).cpp ..." + ShowOnlyRuleProperties="false" + > + <Properties> + <StringProperty + Name="Prefix" + DisplayName="Prefix" + Description="specify scanner prefix other than "yy"" + Switch="-P[value]" + Delimited="true" + /> + <BooleanProperty + Name="Stdout" + DisplayName="Redirect to stdout" + Description="write generated scanner on stdout instead of lex.yy.c" + Switch="-t" + /> + <StringProperty + Name="Output" + DisplayName="Output file name" + Description="Specify output filename" + Switch="-o[value]" + DefaultValue="$(InputDir)$(InputName).cpp" + /> + </Properties> + </CustomBuildRule> + </Rules> +</VisualStudioToolFile> diff --git a/winbuild/iconv.h b/winbuild/iconv.h new file mode 100644 index 0000000..0cc3f0c --- /dev/null +++ b/winbuild/iconv.h @@ -0,0 +1,141 @@ +/* Copyright (C) 1999-2003 Free Software Foundation, Inc. + This file is part of the GNU LIBICONV Library. + + The GNU LIBICONV Library is free software; you can redistribute it + and/or modify it under the terms of the GNU Library General Public + License as published by the Free Software Foundation; either version 2 + of the License, or (at your option) any later version. + + The GNU LIBICONV Library 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 + Library General Public License for more details. + + You should have received a copy of the GNU Library General Public + License along with the GNU LIBICONV Library; see the file COPYING.LIB. + If not, write to the Free Software Foundation, Inc., 59 Temple Place - + Suite 330, Boston, MA 02111-1307, USA. */ + +/* When installed, this file is called "iconv.h". */ + +#ifndef _LIBICONV_H +#define _LIBICONV_H + +#define _LIBICONV_VERSION 0x0109 /* version number: (major<<8) + minor */ + +#ifdef LIBICONV_STATIC +#define LIBICONV_DLL_EXPORTED +#else /* LIBICONV_STATIC */ +#ifdef BUILDING_LIBICONV +#define LIBICONV_DLL_EXPORTED __declspec(dllexport) +#else +#define LIBICONV_DLL_EXPORTED __declspec(dllimport) +#endif +#endif /* LIBICONV_STATIC */ +extern LIBICONV_DLL_EXPORTED int _libiconv_version; /* Likewise */ + +/* We would like to #include any system header file which could define + iconv_t, 1. in order to eliminate the risk that the user gets compilation + errors because some other system header file includes /usr/include/iconv.h + which defines iconv_t or declares iconv after this file, 2. when compiling + for LIBICONV_PLUG, we need the proper iconv_t type in order to produce + binary compatible code. + But gcc's #include_next is not portable. Thus, once libiconv's iconv.h + has been installed in /usr/local/include, there is no way any more to + include the original /usr/include/iconv.h. We simply have to get away + without it. + Ad 1. The risk that a system header file does + #include "iconv.h" or #include_next "iconv.h" + is small. They all do #include <iconv.h>. + Ad 2. The iconv_t type is a pointer type in all cases I have seen. (It + has to be a scalar type because (iconv_t)(-1) is a possible return value + from iconv_open().) */ + +/* Define iconv_t ourselves. */ +#undef iconv_t +#define iconv_t libiconv_t +typedef void* iconv_t; + +/* Get size_t declaration. */ +#include <stddef.h> + +/* Get errno declaration and values. */ +#include <errno.h> +/* Some systems, like SunOS 4, don't have EILSEQ. Some systems, like BSD/OS, + have EILSEQ in a different header. On these systems, define EILSEQ + ourselves. */ +#ifndef EILSEQ +#define EILSEQ +#endif + + +#ifdef __cplusplus +extern "C" { +#endif + + +/* Allocates descriptor for code conversion from encoding `fromcode' to + encoding `tocode'. */ +#ifndef LIBICONV_PLUG +#define iconv_open libiconv_open +#endif +extern LIBICONV_DLL_EXPORTED iconv_t iconv_open (const char* tocode, const char* fromcode); + +/* Converts, using conversion descriptor `cd', at most `*inbytesleft' bytes + starting at `*inbuf', writing at most `*outbytesleft' bytes starting at + `*outbuf'. + Decrements `*inbytesleft' and increments `*inbuf' by the same amount. + Decrements `*outbytesleft' and increments `*outbuf' by the same amount. */ +#ifndef LIBICONV_PLUG +#define iconv libiconv +#endif +extern LIBICONV_DLL_EXPORTED size_t iconv (iconv_t cd, const char* * inbuf, size_t *inbytesleft, char* * outbuf, size_t *outbytesleft); + +/* Frees resources allocated for conversion descriptor `cd'. */ +#ifndef LIBICONV_PLUG +#define iconv_close libiconv_close +#endif +extern LIBICONV_DLL_EXPORTED int iconv_close (iconv_t cd); + + +#ifndef LIBICONV_PLUG + +/* Nonstandard extensions. */ + +/* Control of attributes. */ +#define iconvctl libiconvctl +extern LIBICONV_DLL_EXPORTED int iconvctl (iconv_t cd, int request, void* argument); + +/* Requests for iconvctl. */ +#define ICONV_TRIVIALP 0 /* int *argument */ +#define ICONV_GET_TRANSLITERATE 1 /* int *argument */ +#define ICONV_SET_TRANSLITERATE 2 /* const int *argument */ +#define ICONV_GET_DISCARD_ILSEQ 3 /* int *argument */ +#define ICONV_SET_DISCARD_ILSEQ 4 /* const int *argument */ + +/* Listing of locale independent encodings. */ +#define iconvlist libiconvlist +extern LIBICONV_DLL_EXPORTED void iconvlist (int (*do_one) (unsigned int namescount, + const char * const * names, + void* data), + void* data); + +/* Support for relocatable packages. */ + +/* Sets the original and the current installation prefix of the package. + Relocation simply replaces a pathname starting with the original prefix + by the corresponding pathname with the current prefix instead. Both + prefixes should be directory names without trailing slash (i.e. use "" + instead of "/"). */ +extern LIBICONV_DLL_EXPORTED void libiconv_set_relocation_prefix (const char *orig_prefix, + const char *curr_prefix); + +#endif + + +#ifdef __cplusplus +} +#endif + + +#endif /* _LIBICONV_H */ diff --git a/winbuild/iconv.lib b/winbuild/iconv.lib Binary files differnew file mode 100644 index 0000000..1407333 --- /dev/null +++ b/winbuild/iconv.lib diff --git a/winbuild/runbison.bat b/winbuild/runbison.bat new file mode 100644 index 0000000..7d6ad2c --- /dev/null +++ b/winbuild/runbison.bat @@ -0,0 +1,3 @@ +bison -l -d -p cppExpYY %1\..\src\constexp.y -o %1\..\src\ce_parse.c +del %1\..\src\ce_parse.c +bison -l -p cppExpYY %1\..\src\constexp.y -o %1\..\src\ce_parse.cpp diff --git a/winbuild/unistd.h b/winbuild/unistd.h new file mode 100644 index 0000000..46a5fbc --- /dev/null +++ b/winbuild/unistd.h @@ -0,0 +1,7 @@ +/* this is a dummy file, that is needed for compiling files that are + * generated with flex under Windows 95/NT. + */ +#if defined(_MSC_VER) +#include <io.h> +#endif + |