Skip to content

Commit

Permalink
Symbian port of Perl
Browse files Browse the repository at this point in the history
Message-ID: <B356D8F434D20B40A8CEDAEC305A1F2453D653@esebe105.NOE.Nokia.com>

p4raw-id: //depot/perl@24271
  • Loading branch information
jhi authored and rgs committed Apr 21, 2005
1 parent ec06242 commit 27da23d
Show file tree
Hide file tree
Showing 119 changed files with 7,688 additions and 750 deletions.
4 changes: 2 additions & 2 deletions EXTERN.h
Expand Up @@ -28,8 +28,8 @@
# define EXTCONST globalref # define EXTCONST globalref
# define dEXTCONST globaldef {"$GLOBAL_RO_VARS"} readonly # define dEXTCONST globaldef {"$GLOBAL_RO_VARS"} readonly
#else #else
# if defined(WIN32) && !defined(PERL_STATIC_SYMS) # if (defined(WIN32) || defined(__SYMBIAN32__)) && !defined(PERL_STATIC_SYMS)
# ifdef PERLDLL # if defined(PERLDLL) || defined(__SYMBIAN32__)
# define EXT extern __declspec(dllexport) # define EXT extern __declspec(dllexport)
# define dEXT # define dEXT
# define EXTCONST extern __declspec(dllexport) const # define EXTCONST extern __declspec(dllexport) const
Expand Down
36 changes: 18 additions & 18 deletions INTERN.h
Expand Up @@ -28,24 +28,24 @@
# define EXTCONST globaldef {"$GLOBAL_RO_VARS"} readonly # define EXTCONST globaldef {"$GLOBAL_RO_VARS"} readonly
# define dEXTCONST globaldef {"$GLOBAL_RO_VARS"} readonly # define dEXTCONST globaldef {"$GLOBAL_RO_VARS"} readonly
#else #else
#if defined(WIN32) && defined(__MINGW32__) # if (defined(WIN32) && defined(__MINGW32__)) || defined(__SYMBIAN32__)
# define EXT __declspec(dllexport) # define EXT __declspec(dllexport)
# define dEXT # define dEXT
# define EXTCONST __declspec(dllexport) const # define EXTCONST __declspec(dllexport) const
# define dEXTCONST const # define dEXTCONST const
#else # else
#ifdef __cplusplus # ifdef __cplusplus
# define EXT # define EXT
# define dEXT # define dEXT
# define EXTCONST extern const # define EXTCONST extern const
# define dEXTCONST const # define dEXTCONST const
#else # else
# define EXT # define EXT
# define dEXT # define dEXT
# define EXTCONST const # define EXTCONST const
# define dEXTCONST const # define dEXTCONST const
#endif # endif
#endif # endif
#endif #endif


#undef INIT #undef INIT
Expand Down
33 changes: 33 additions & 0 deletions MANIFEST
Expand Up @@ -329,6 +329,7 @@ ext/DynaLoader/dl_mac.xs MacOS implementation
ext/DynaLoader/dl_mpeix.xs MPE/iX implementation ext/DynaLoader/dl_mpeix.xs MPE/iX implementation
ext/DynaLoader/dl_next.xs NeXT implementation ext/DynaLoader/dl_next.xs NeXT implementation
ext/DynaLoader/dl_none.xs Stub implementation ext/DynaLoader/dl_none.xs Stub implementation
ext/DynaLoader/dl_symbian.xs Symbian implementation
ext/DynaLoader/dlutils.c Dynamic loader utilities for dl_*.xs files ext/DynaLoader/dlutils.c Dynamic loader utilities for dl_*.xs files
ext/DynaLoader/dl_vmesa.xs VM/ESA implementation ext/DynaLoader/dl_vmesa.xs VM/ESA implementation
ext/DynaLoader/dl_vms.xs VMS implementation ext/DynaLoader/dl_vms.xs VMS implementation
Expand Down Expand Up @@ -2445,6 +2446,7 @@ README.os400 Perl notes for OS/400
README.plan9 Perl notes for Plan 9 README.plan9 Perl notes for Plan 9
README.qnx Perl notes for QNX README.qnx Perl notes for QNX
README.solaris Perl notes for Solaris README.solaris Perl notes for Solaris
README.symbian Perl notes for Symbian
README.tru64 Perl notes for Tru64 README.tru64 Perl notes for Tru64
README.tw Perl for Traditional Chinese (in Big5) README.tw Perl for Traditional Chinese (in Big5)
README.uts Perl notes for UTS README.uts Perl notes for UTS
Expand All @@ -2470,6 +2472,37 @@ scope.c Scope entry and exit code
scope.h Scope entry and exit header scope.h Scope entry and exit header
sv.c Scalar value code sv.c Scalar value code
sv.h Scalar value header sv.h Scalar value header
symbian/bld.inf Symbian sample app build config
symbian/config.pl Configuration script for Symbian
symbian/config.sh Configuration data for Symbian
symbian/cwd.pl Helper code for config.pl
symbian/demo_pl "Archive" of demo code
symbian/install.cfg Installation instructions
symbian/makesis.pl Installation file creator
symbian/PerlApp.cpp Symbian sample app code
symbian/PerlApp.h Symbian sample app header
symbian/PerlApp.hrh Symbian sample app resource header
symbian/PerlApp.rss Symbian sample app resource definition
symbian/PerlAppAif.rss Symbian sample app code
symbian/PerlBase.cpp Symbian Perl base class
symbian/PerlBase.h Symbian Perl base class header
symbian/PerlBase.pod Symbian Perl base class documentation
symbian/PerlRecog.cpp Symbian recognizer code
symbian/PerlRecog.mmp Symbian recognizer build
symbian/port.pl Helper code for config.pl
symbian/README ReadMe for the Symbian files
symbian/sanity.pl Helper code for config.pl
symbian/sdk.pl Helper code for config.pl
symbian/symbian_dll.cpp The DLL stub for Symbian
symbian/symbianish.h Header for Symbian
symbian/symbian_proto.h Prototypes for Symbian
symbian/symbian_stubs.c Stub routines for Symbian
symbian/symbian_stubs.h Stub headers for Symbian
symbian/symbian_utils.cpp Helper routines for Symbian
symbian/TODO Symbian things to do
symbian/uid.pl Helper code for config.pl
symbian/version.pl Helper code for config.pl
symbian/xsbuild.pl Building extensions
taint.c Tainting code taint.c Tainting code
t/base/cond.t See if conditionals work t/base/cond.t See if conditionals work
t/base/if.t See if if works t/base/if.t See if if works
Expand Down
7 changes: 7 additions & 0 deletions Porting/curliff.pl
Expand Up @@ -10,13 +10,20 @@


use vars qw($r); use vars qw($r);


# This list is also in makerel.
my @FILES = qw( my @FILES = qw(
djgpp/configure.bat djgpp/configure.bat
README.ce README.ce
README.dos README.dos
README.symbian
README.win32 README.win32
symbian/config.pl
symbian/makesis.pl
symbian/README
symbian/xsbuild.pl
win32/Makefile win32/Makefile
win32/makefile.mk win32/makefile.mk
wince/Makefile.ce
wince/compile-all.bat wince/compile-all.bat
wince/README.perlce wince/README.perlce
wince/registry.bat wince/registry.bat
Expand Down
6 changes: 6 additions & 0 deletions Porting/makerel
Expand Up @@ -151,11 +151,17 @@ system("chmod +w @writables") == 0
or die "system: $!"; or die "system: $!";


print "Adding CRs to DOSish files...\n"; print "Adding CRs to DOSish files...\n";
# This list is also in curliff.pl.
my @crlf = qw( my @crlf = qw(
djgpp/configure.bat djgpp/configure.bat
README.ce README.ce
README.dos README.dos
README.symbian
README.win32 README.win32
symbian/config.pl
symbian/makesis.pl
symbian/README
symbian/xsbuild.pl
win32/Makefile win32/Makefile
win32/makefile.mk win32/makefile.mk
wince/Makefile.ce wince/Makefile.ce
Expand Down

0 comments on commit 27da23d

Please sign in to comment.