This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
We cannot assert(sv) since sv can be validly null
[perl5.git] / NetWare / Makefile
index 335ec1e..1f7293a 100644 (file)
@@ -86,7 +86,7 @@ NLM_VERSION    = 3,20,0
 
 
 # Here comes the CW tools - TO BE FILLED TO BUILD WITH CW -
-MODULE_DESC     = "Perl 5.13.9 for NetWare"
+MODULE_DESC     = "Perl 5.21.1 for NetWare"
 CCTYPE          = CodeWarrior
 C_COMPILER             = mwccnlm -c
 CPP_COMPILER   = mwccnlm
@@ -318,7 +318,6 @@ DUMPER_NLM  = $(AUTODIR)\Data\Dumper\Dumper.NLM
 PEEK_NLM       = $(AUTODIR)\Devel\Peek\Peek.NLM
 RE_NLM         = $(AUTODIR)\re\re.NLM
 BYTELOADER_NLM = $(AUTODIR)\ByteLoader\ByteLoader.NLM
-DPROF_NLM      = $(AUTODIR)\Devel\DProf\DProf.NLM
 GLOB_NLM       = $(AUTODIR)\File\Glob\Glob.NLM
 HOSTNAME_NLM   = $(AUTODIR)\Sys\Hostname\Hostname.NLM
 CWD_NLM                        = $(EXTDIR)\Cwd\Cwd.NLM
@@ -344,7 +343,6 @@ EXTENSION_NLM       =               \
                $(GLOB_NLM)             \
                $(PEEK_NLM)             \
                $(RE_NLM)       \
-               $(DPROF_NLM)    \
                $(HOSTNAME_NLM)         \
                $(CWD_NLM)              \
                $(STORABLE_NLM)         \
@@ -464,7 +462,7 @@ INST_NW_TOP2 = $(INST_NW_DRV)\perl
 # versioned installation can be obtained by setting INST_TOP above to a
 # path that includes an arbitrary version string.
 #
-INST_VER       = \5.13.9
+INST_VER       = \5.21.1
 
 #
 # Comment this out if you DON'T want your perl installation to have
@@ -662,14 +660,12 @@ PL2BAT            = ..\win32\bin\pl2bat.pl
 UTILS          =                       \
                ..\utils\h2ph           \
                ..\utils\splain         \
-               ..\utils\dprofpp        \
                ..\utils\perlbug        \
                ..\utils\pl2pm          \
                ..\utils\c2ph           \
                ..\utils\h2xs           \
                ..\utils\perldoc        \
                ..\pod\pod2html         \
-               ..\pod\pod2latex        \
                ..\pod\pod2man          \
                ..\pod\pod2text         \
                ..\pod\pod2usage        \
@@ -759,6 +755,7 @@ CORE_NOCFG_H        =               \
                ..\gv.h         \
                ..\handy.h      \
                ..\hv.h         \
+               ..\hv_func.h    \
                ..\iperlsys.h   \
                ..\mg.h         \
                ..\nostdio.h    \
@@ -767,7 +764,6 @@ CORE_NOCFG_H        =               \
                ..\perl.h       \
                ..\perlapi.h    \
                ..\perlsdio.h   \
-               ..\perlsfio.h   \
                ..\perly.h      \
                ..\pp.h         \
                ..\proto.h      \
@@ -790,7 +786,7 @@ DLL_OBJ             = $(DLL_SRC:.c=.obj)
 X2P_OBJ                = $(X2P_SRC:.c=.obj)
 
 DYNAMIC_EXT    = Socket IO Fcntl Opcode SDBM_File POSIX attributes B re \
-               Data/Dumper Devel/Peek ByteLoader Devel/DProf File/Glob \
+               Data/Dumper Devel/Peek ByteLoader File/Glob \
                Storable/Storable List/Util MIME/Base64/Base64 XS/APItest/APItest \
                XS/Typemap/Typemap Unicode/Collate/Collate Unicode/Normalize/Normalize Sys/Hostname
 
@@ -811,7 +807,6 @@ DUMPER              = $(EXTDIR)\Data\Dumper\Dumper
 ERRNO          = $(EXTDIR)\Errno\Errno
 PEEK           = $(EXTDIR)\Devel\Peek\Peek
 BYTELOADER     = $(EXTDIR)\ByteLoader\ByteLoader
-DPROF          = $(EXTDIR)\Devel\DProf\DProf
 GLOB           = $(EXTDIR)\File\Glob\Glob
 HOSTNAME       = $(EXTDIR)\Sys\Hostname\Hostname
 CWD                    = $(EXTDIR)\Cwd\Cwd
@@ -838,7 +833,6 @@ EXTENSION_C =               \
                $(PEEK).c       \
                $(B).c          \
                $(BYTELOADER).c \
-               $(DPROF).c      \
                $(GLOB).c       \
                $(HOSTNAME).c \
                $(CWD).c        \
@@ -854,7 +848,6 @@ EXTENSION_NPM =     \
 
 POD2HTML       = $(PODDIR)\pod2html
 POD2MAN                = $(PODDIR)\pod2man
-POD2LATEX      = $(PODDIR)\pod2latex
 POD2TEXT       = $(PODDIR)\pod2text
 
 #
@@ -869,8 +862,7 @@ all : .cleanoldfiles .\nwconfig.h $(CONFIGPM) $(NLM_NAME) $(EXTENSION_NLM) $(EXT
        $(MINIPERL) -I..\lib config_sh.PL $(NW_CFG_VARS) config.nw5 > ..\config.sh
 
 # this target is for when changes to the main config.sh happen
-# edit config.{b,v,g,w}c and make this target once for each supported
-# compiler (e.g. `dmake CCTYPE=BORLAND regen_config_h`)
+# edit config.wc and make this target
 regen_config_h:
        perl config_sh.PL $(NW_CFG_VARS) $(NW_CFGSH_TMPL) > ..\config.sh
        cd ..
@@ -1066,12 +1058,12 @@ $(PERLIMPLIB): perllib.imp
 #      $(XCOPY) $(PERLIMPLIB) $(COREDIR)
 #      @echo $(PERLIMPLIB) Done
 
-perllib.imp : $(MINIPERL) $(CONFIGPM) ..\global.sym ..\makedef.pl
+perllib.imp : $(MINIPERL) $(CONFIGPM) ..\embed.fnc ..\makedef.pl
 #      $(MINIPERL) -w ..\makedef.pl PLATFORM=netware FILETYPE=def $(ADD_BUILDOPT) \
-#          CCTYPE=$(CCTYPE) > perllib.def
+#          CCTYPE=$(CCTYPE) TARG_DIR=..\ > perllib.def
        @echo (Perl) > perl.imp
        $(MINIPERL) -w ..\makedef.pl PLATFORM=netware FILETYPE=imp $(BS_CFLAGS) $(DEFINES) $(ADD_BUILDOPT) \
-           CCTYPE=$(CCTYPE) >> perl.imp
+           CCTYPE=$(CCTYPE) TARG_DIR=..\ >> perl.imp
        copy perl.imp $(COREDIR)
   
 $(DLL_OBJ) : $(DYNALOADER).c $(CORE_H) $(EXTDIR)\DynaLoader\dlutils.c
@@ -1210,12 +1202,6 @@ $(BYTELOADER_NLM):
        $(MAKE)
        cd ..\..\netware
 
-$(DPROF_NLM):
-       cd $(EXTDIR)\Devel\$(*B)
-       ..\..\..\miniperl -I..\..\..\lib Makefile.PL PERL_CORE=1 INSTALLDIRS=perl
-       $(MAKE)
-       cd ..\..\..\netware
-
 $(GLOB_NLM):
        cd $(EXTDIR)\File\$(*B)
        ..\..\..\miniperl -I..\..\..\lib Makefile.PL PERL_CORE=1 INSTALLDIRS=perl
@@ -1403,7 +1389,7 @@ distclean: clean nwclean
        -del /f /q $(LIBDIR)\SDBM_File.pm $(LIBDIR)\Socket.pm $(LIBDIR)\POSIX.pm
        -del /f /q $(LIBDIR)\B.pm $(LIBDIR)\O.pm $(LIBDIR)\re.pm
        -del /f /q $(LIBDIR)\Data\Dumper.pm $(LIBDIR)\ByteLoader.pm
-       -del /f /q $(LIBDIR)\Devel\Peek.pm $(LIBDIR)\Devel\DProf.pm
+       -del /f /q $(LIBDIR)\Devel\Peek.pm
        -del /f /q $(LIBDIR)\File\Glob.pm
        -del /f /q $(LIBDIR)\Unicode\Normalize.pm
        -del /f /q $(LIBDIR)\Unicode\Collate.pm
@@ -1413,7 +1399,7 @@ distclean: clean nwclean
        -del /f /q $(PODDIR)\*.html
        -del /f /q $(PODDIR)\*.bat
        cd ..\utils
-       -del /f /q h2ph splain perlbug pl2pm c2ph h2xs perldoc dprofpp
+       -del /f /q h2ph splain perlbug pl2pm c2ph h2xs perldoc
        -del /f /q *.bat
        cd ..\netware
        cd ..\x2p