This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
Add sharedsv* to the DOSish platforms; plus add
[perl5.git] / NetWare / Makefile
index a5a51f3..01daccc 100644 (file)
@@ -15,7 +15,7 @@
 ## This file is created by using the makefile that creates Windows Perl as the reference
 ## Author: sgp
 ## Date Created: 13th July 2000
-## Date Modified: 19th June 2001
+## Date Modified: 2nd July 2001
 
 # Name of the NLM
 NLM_NAME               = perl.nlm
@@ -273,6 +273,11 @@ RE_NLP             = $(AUTODIR)\re\re.nlp
 BYTELOADER_NLP = $(AUTODIR)\ByteLoader\ByteLoader.nlp
 DPROF_NLP      = $(AUTODIR)\Devel\DProf\DProf.nlp
 GLOB_NLP       = $(AUTODIR)\File\Glob\Glob.nlp
+CWD_NLP                = $(AUTODIR)\Cwd\Cwd.nlp
+STORABLE_NLP   = $(AUTODIR)\Storable\Storable.nlp
+LISTUTIL_NLP   = $(AUTODIR)\List\Util\Util.nlp
+MIMEBASE64_NLP = $(AUTODIR)\MIME\Base64\Base64.nlp
+XSTYPEMAP_NLP  = $(AUTODIR)\XS\Typemap\Typemap.nlp
 
 EXTENSION_NLP  =               \
                $(FCNTL_NLP)    \
@@ -289,7 +294,13 @@ EXTENSION_NLP      =               \
                $(GLOB_NLP)             \
                $(PEEK_NLP)             \
                $(RE_NLP)       \
-               $(DPROF_NLP)
+               $(DPROF_NLP)    \
+               $(STORABLE_NLP) \
+               $(LISTUTIL_NLP) \
+               $(MIMEBASE64_NLP) \
+               $(XSTYPEMAP_NLP)        \
+#              $(CWD_NLP)      \
+# cwd.pm needs to be modifed for NetWare.
 
 # Begin - Following is required to build NetWare specific extensions Perl2UCS & CGI2Perl
 
@@ -331,11 +342,11 @@ NLM_DESCRIPTION = $(NLM_NAME8) for Netware
 !endif
 
 !ifndef NLM_VERSION
-NLM_VERSION    = 1.0.0
+NLM_VERSION    = 5.72.0
 !endif
 
 !ifndef NLM_EXT
-NLM_EXT         = NLM
+NLM_EXT        = NLM
 !endif
 
 !ifndef BUILT
@@ -404,7 +415,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.7.1
+INST_VER       = \5.7.2
 
 #
 # Comment this out if you DON'T want your perl installation to have
@@ -686,36 +697,37 @@ XSUBPP            = ..\$(MINIPERL) -I..\..\lib ..\$(EXTUTILSDIR)\xsubpp \
                -C++ -prototypes
 
 MICROCORE_SRC  =               \
-               ..\av.c                 \
-               ..\deb.c                \
-               ..\doio.c               \
-               ..\doop.c               \
-               ..\dump.c               \
+               ..\av.c         \
+               ..\deb.c        \
+               ..\doio.c       \
+               ..\doop.c       \
+               ..\dump.c       \
                ..\globals.c    \
-               ..\gv.c                 \
-               ..\hv.c                 \
-               ..\locale.c             \
-               ..\mg.c                 \
+               ..\gv.c         \
+               ..\hv.c         \
+               ..\locale.c     \
+               ..\mg.c         \
                ..\numeric.c    \
-               ..\op.c                 \
-               ..\perl.c               \
+               ..\op.c         \
+               ..\perl.c       \
                ..\perlapi.c    \
-               ..\perly.c              \
-               ..\pp.c                 \
-               ..\pp_ctl.c             \
-               ..\pp_hot.c             \
+               ..\perly.c      \
+               ..\pp.c         \
+               ..\pp_ctl.c     \
+               ..\pp_hot.c     \
                ..\pp_pack.c    \
-               ..\pp_sys.c             \
+               ..\pp_sys.c     \
                ..\regcomp.c    \
                ..\regexec.c    \
-               ..\run.c                \
-               ..\scope.c              \
-               ..\sv.c                 \
-               ..\taint.c              \
-               ..\toke.c               \
+               ..\run.c        \
+               ..\scope.c      \
+               ..\sharedsv.c   \
+               ..\sv.c         \
+               ..\taint.c      \
+               ..\toke.c       \
                ..\universal.c  \
-               ..\utf8.c               \
-               ..\util.c               \
+               ..\utf8.c       \
+               ..\util.c       \
                ..\xsutils.c
 
 #EXTRACORE_SRC = $(EXTRACORE_SRC) perllib.c
@@ -765,6 +777,7 @@ CORE_NOCFG_H        =               \
                ..\proto.h      \
                ..\regexp.h     \
                ..\scope.h      \
+               ..\sharedsv.h   \
                ..\sv.h         \
                ..\thread.h     \
                ..\unixish.h    \
@@ -775,16 +788,17 @@ CORE_NOCFG_H      =               \
                ..\EXTERN.h     \
                ..\perlvars.h   \
                ..\intrpvar.h   \
-               ..\thrdvar.h    \
-               
+               ..\thrdvar.h
+
 CORE_H         = $(CORE_NOCFG_H) .\config.h
 
 DLL_OBJ                = $(DLL_SRC:.c=.obj)
 X2P_OBJ                = $(X2P_SRC:.c=.obj)
 
 DYNAMIC_EXT    = Socket IO Fcntl Opcode SDBM_File POSIX attrs Thread B re \
-               Data/Dumper Devel/Peek ByteLoader Devel/DProf File/Glob 
-               
+               Data/Dumper Devel/Peek ByteLoader Devel/DProf File/Glob \
+               Storable/Storable List/Util MIME/Base64/Base64 XS/Typemap/Typemap
+
 STATIC_EXT     = DynaLoader
 NONXS_EXT      = Errno
 
@@ -805,6 +819,11 @@ PEEK               = $(EXTDIR)\Devel\Peek\Peek
 BYTELOADER     = $(EXTDIR)\ByteLoader\ByteLoader
 DPROF          = $(EXTDIR)\Devel\DProf\DProf
 GLOB           = $(EXTDIR)\File\Glob\Glob
+CWD                    = $(EXTDIR)\Cwd\Cwd
+STORABLE       = $(EXTDIR)\Storable\Storable
+LISTUTIL       = $(EXTDIR)\List\Util
+MIMEBASE64     = $(EXTDIR)\MIME\Base64\Base64
+XSTYPEMAP      = $(EXTDIR)\XS\Typemap\Typemap
 
 EXTENSION_C    =               \
                $(SOCKET).c     \
@@ -821,7 +840,12 @@ EXTENSION_C        =               \
                $(B).c          \
                $(BYTELOADER).c \
                $(DPROF).c      \
-               $(GLOB).c       
+               $(GLOB).c       \
+               $(CWD).c        \
+               $(STORABLE).c   \
+               $(LISTUTIL).c   \
+               $(MIMEBASE64).c \
+               $(XSTYPEMAP).c  \
 
 POD2HTML       = $(PODDIR)\pod2html
 POD2MAN                = $(PODDIR)\pod2man
@@ -1264,6 +1288,36 @@ $(SDBM_FILE_NLP):
        $(MAKE)
        cd ..\..\netware
 
+$(CWD_NLP):
+       cd $(EXTDIR)\$(*B)
+       ..\..\miniperl -I..\..\lib Makefile.PL INSTALLDIRS=perl
+       $(MAKE)
+       cd ..\..\netware
+
+$(STORABLE_NLP):
+       cd $(EXTDIR)\$(*B)
+       ..\..\miniperl -I..\..\lib Makefile.PL INSTALLDIRS=perl
+       $(MAKE)
+       cd ..\..\netware
+
+$(LISTUTIL_NLP):
+       cd $(EXTDIR)\List\$(*B)
+       ..\..\..\miniperl -I..\..\lib Makefile.PL INSTALLDIRS=perl
+       $(MAKE)
+       cd ..\..\..\netware
+
+$(MIMEBASE64_NLP):
+       cd $(EXTDIR)\Mime\$(*B)
+       ..\..\..\miniperl -I..\..\lib Makefile.PL INSTALLDIRS=perl
+       $(MAKE)
+       cd ..\..\..\netware
+
+$(XSTYPEMAP_NLP):
+       cd $(EXTDIR)\XS\$(*B)
+       ..\..\..\miniperl -I..\..\lib Makefile.PL INSTALLDIRS=perl
+       $(MAKE)
+       cd ..\..\..\netware
+
 $(ERRNO_PM_NW):
        cd $(EXTDIR)\$(*B)
        ..\..\miniperl -I..\..\lib Makefile.PL INSTALLDIRS=perl
@@ -1427,8 +1481,11 @@ distclean: clean nwclean
        cd ..\netware
 !if "$(NW_EXTNS)"=="yes"
        cd cgi2perl
-       -del *.obj *.bs Makefile *$(o) *.c pm_to_blib *.xdc *.err
+       -del *.obj *.bs Makefile *$(o) *.c pm_to_blib *.xdc *.err *.sym *.map
        cd ..
+       cd $(EXTDIR)\Perl2UCS
+       -del *.obj *.bs Makefile *$(o) *.c pm_to_blib *.xdc *.err *.sym *.map *.c
+       cd ..\..\netware
 !endif
        -rmdir /s /q $(AUTODIR) || rmdir /s $(AUTODIR)
        -rmdir /s /q $(COREDIR) || rmdir /s $(COREDIR)
@@ -1442,7 +1499,18 @@ install : utils installwin
 installnw:
        $(MINIPERL) -I..\lib ..\installperl -netware
 
-nwinstall: utils installnw
+install_tests :
+       cd ..\t
+       xcopy /f /r /i /s /d *.* $(INST_NW_TOP2)\scripts\t
+       cd ..\lib
+       xcopy /f /r /i /s /d *.t $(INST_NW_TOP2)\scripts\t\lib
+       cd ..\ext
+       xcopy /f /r /i /s /d *.t $(INST_NW_TOP2)\scripts\t\ext
+       cd ..\netware\t
+       xcopy /f /r /i /s /d *.pl $(INST_NW_TOP2)\scripts\t
+       cd ..
+
+nwinstall: utils installnw install_tests
 
 inst_lib : $(CONFIGPM)
        copy ..\win32\splittree.pl ..