Commit 2087f38e authored by Alexandre Julliard's avatar Alexandre Julliard

libwine: Move the codepage tables to libwine_port.

parent fa84ea25
STATICLIB = libwine_port.a
C_SRCS = \
c_037.c \
c_10000.c \
c_10001.c \
c_10002.c \
c_10003.c \
c_10004.c \
c_10005.c \
c_10006.c \
c_10007.c \
c_10008.c \
c_10010.c \
c_10017.c \
c_10021.c \
c_10029.c \
c_1006.c \
c_10079.c \
c_10081.c \
c_10082.c \
c_1026.c \
c_1250.c \
c_1251.c \
c_1252.c \
c_1253.c \
c_1254.c \
c_1255.c \
c_1256.c \
c_1257.c \
c_1258.c \
c_1361.c \
c_20127.c \
c_20866.c \
c_20932.c \
c_21866.c \
c_28591.c \
c_28592.c \
c_28593.c \
c_28594.c \
c_28595.c \
c_28596.c \
c_28597.c \
c_28598.c \
c_28599.c \
c_28600.c \
c_28603.c \
c_28604.c \
c_28605.c \
c_28606.c \
c_424.c \
c_437.c \
c_500.c \
c_737.c \
c_775.c \
c_850.c \
c_852.c \
c_855.c \
c_856.c \
c_857.c \
c_860.c \
c_861.c \
c_862.c \
c_863.c \
c_864.c \
c_865.c \
c_866.c \
c_869.c \
c_874.c \
c_875.c \
c_878.c \
c_932.c \
c_936.c \
c_949.c \
c_950.c \
cptable.c \
digitmap.c \
ffs.c \
fold.c \
......
......@@ -22,7 +22,7 @@
#include "wine/unicode.h"
/* Everything below this line is generated automatically by cpmap.pl */
/* Everything below this line is generated automatically by make_unicode */
/* ### cpmap begin ### */
extern union cptable cptable_037;
extern union cptable cptable_424;
......@@ -173,7 +173,7 @@ static const union cptable * const cptables[72] =
&cptable_28606,
};
/* ### cpmap end ### */
/* Everything above this line is generated automatically by cpmap.pl */
/* Everything above this line is generated automatically by make_unicode */
#define NB_CODEPAGES (sizeof(cptables)/sizeof(cptables[0]))
......
......@@ -3,83 +3,10 @@ EXTRADEFS = -DWINE_UNICODE_API=""
STATICLIB = libwine_static.a
C_SRCS = \
c_037.c \
c_10000.c \
c_10001.c \
c_10002.c \
c_10003.c \
c_10004.c \
c_10005.c \
c_10006.c \
c_10007.c \
c_10008.c \
c_10010.c \
c_10017.c \
c_10021.c \
c_10029.c \
c_1006.c \
c_10079.c \
c_10081.c \
c_10082.c \
c_1026.c \
c_1250.c \
c_1251.c \
c_1252.c \
c_1253.c \
c_1254.c \
c_1255.c \
c_1256.c \
c_1257.c \
c_1258.c \
c_1361.c \
c_20127.c \
c_20866.c \
c_20932.c \
c_21866.c \
c_28591.c \
c_28592.c \
c_28593.c \
c_28594.c \
c_28595.c \
c_28596.c \
c_28597.c \
c_28598.c \
c_28599.c \
c_28600.c \
c_28603.c \
c_28604.c \
c_28605.c \
c_28606.c \
c_424.c \
c_437.c \
c_500.c \
c_737.c \
c_775.c \
c_850.c \
c_852.c \
c_855.c \
c_856.c \
c_857.c \
c_860.c \
c_861.c \
c_862.c \
c_863.c \
c_864.c \
c_865.c \
c_866.c \
c_869.c \
c_874.c \
c_875.c \
c_878.c \
c_932.c \
c_936.c \
c_949.c \
c_950.c \
casemap.c \
collation.c \
compose.c \
config.c \
cptable.c \
debug.c \
ldt.c \
loader.c \
......
......@@ -31,6 +31,8 @@
/* functions from libwine_port that are also exported from libwine for backwards compatibility */
const void *libwine_port_functions[] =
{
wine_cp_enum_table,
wine_cp_get_table,
wine_fold_string
};
......
......@@ -2184,7 +2184,7 @@ sub output_codepage_file($$$$)
{
my ($codepage, $filename, $comment, $has_glyphs) = @_;
my $output = sprintf "libs/wine/c_%03d.c", $codepage;
my $output = sprintf "libs/port/c_%03d.c", $codepage;
open OUTPUT,">$output.new" or die "Cannot create $output";
printf "Building %s from %s (%s)\n", $output, $filename || "hardcoded data", $comment;
......@@ -2427,7 +2427,7 @@ dump_nameprep( "dlls/kernel32/nameprep.c" );
foreach my $file (@allfiles) { HANDLE_FILE( @{$file} ); }
output_cptable("libs/wine/cptable.c");
output_cptable("libs/port/cptable.c");
exit 0;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment