ext/Encode/Encode/symbol.ucm Encode table
ext/Encode/Encode/viscii.enc Encode table
ext/Encode/Encode/viscii.ucm Encode table
-ext/Encode/lib/Encode.pm Encode extension
+ext/Encode/Encode.pm Encode extension
ext/Encode/lib/Encode/Encoding.pm Encode extension
ext/Encode/lib/Encode/Internal.pm Encode extension
ext/Encode/lib/Encode/iso10646_1.pm Encode extension
use strict;
use ExtUtils::MakeMaker;
-my %tables = (EUC_JP => ['euc-jp.ucm',
- # 'euc-kr.ucm', 'euc-cn.ucm'
- ],
- );
+my %tables = (EUC_JP => [
+ 'euc-jp.ucm',
+# 'jis0201.enc',
+# 'jis0212.enc',
+# 'jis0208.enc',
+# 'shiftjis.enc',
+ ]);
WriteMakefile(
my %xs;
foreach my $table (keys %tables) {
$xs{"$table.xs"} = "$table.c";
- foreach my $ext (qw($(OBJ_EXT) .xs .c .h .def .fnm)) {
+ foreach my $ext (qw($(OBJ_EXT) .xs .c .h _def.h .fnm)) {
push (@files,$table.$ext);
}
}
{
my $self = shift;
my $dir = $self->catdir($self->updir,'Encode');
- my $str = "# Encode\$(OBJ_EXT) depends on .h and .def files not .c files - but all written by compile\n";
+ my $str = "# Encode\$(OBJ_EXT) depends on .h and _def.h files not .c files - but all written by compile\n";
$str .= 'Encode$(OBJ_EXT) :';
foreach my $table (keys %tables)
{
#if defined(USE_PERLIO) && !defined(USE_SFIO)
PerlIO_define_layer(aTHX_ &PerlIO_encode);
#endif
-#include "8859.def"
-#include "EBCDIC.def"
-#include "Symbols.def"
+#include "8859_def.h"
+#include "EBCDIC_def.h"
+#include "Symbols_def.h"
}
WriteMakefile(
NAME => "Encode",
- VERSION_FROM => 'lib/Encode.pm',
+ VERSION_FROM => 'Encode.pm',
OBJECT => '$(O_FILES)',
'dist' => {
COMPRESS => 'gzip -9f',
my @files;
foreach my $table (keys %tables)
{
- foreach my $ext (qw($(OBJ_EXT) .c .h .def .fnm))
+ foreach my $ext (qw($(OBJ_EXT) .c .h _def.h .fnm))
{
push (@files,$table.$ext);
}
{
my $self = shift;
my $dir = $self->catdir($self->curdir,'Encode');
- my $str = "# Encode\$(OBJ_EXT) depends on .h and .def files not .c files - but all written by compile\n";
+ my $str = "# Encode\$(OBJ_EXT) depends on .h and _def.h files not .c files - but all written by compile\n";
$str .= 'Encode$(OBJ_EXT) :';
foreach my $table (keys %tables)
{
my $dname = $cname;
-$dname =~ s/(\.[^\.]*)?$/.def/;
+$dname =~ s/(\.[^\.]*)?$/_def.h/;
my ($doC,$doEnc,$doUcm,$doPet);
/*
!!!!!!! DO NOT EDIT THIS FILE !!!!!!!
This file was autogenerated by:
- $^X $0 $cname @orig_ARGV
+ $^X $0 @orig_ARGV
*/
END
}
my $mod = $1;
print C <<'END';
-void
+static void
Encode_XSEncoding(pTHX_ encode_t *enc)
{
dSP;