2 ## Makefile to build Perl on NetWare using Microsoft NMAKE and CodeWarrior tools
4 ## This will build perl.nlm, perl.lib and extensions called NLMs
8 ## Please read README.netware before starting
12 ## Build configuration. Edit the values below to suit your needs.
15 ## This file is created by using the makefile that creates Windows Perl as the reference
17 ## Date Created: 13th July 2000
18 ## Date Modified: 21st March 2002
30 NW_FLAGS = -DNETWARE -DNLM_PLATFORM -DNETDB_USE_INTERNET
37 !message "Run bat\SetNWBld.bat to set the NetWare SDK before continuing.\n"
39 !endif # !ifndef NLMSDKBASE
41 !ifndef CODEWAR # !ifdef CODEWAR
42 !message "CodeWarrior tools base directory is not defined. Run bat\setnwbld.bat before proceeding"
44 !endif # !ifdef CODEWAR
47 !message "Run bat\buildtype.bat to set the build type before continuing.\n"
49 !endif # !ifndef MAKE_TYPE
52 MPKFLAGS = -DMPK_ON -DIAPX386
53 MPKMESSAGE = MPK Build...
56 !message "Run bat\setmpksdk.bat to set the NetWare MPK SDK before continuing.\n"
58 !endif # !ifndef MPKBASE
59 NLM_INCLUDE_MP = -I$(MPKBASE)\include
60 MPKTOOL = $(MPKBASE)\$(XDCTOOL)
61 !else # !ifdef USE_MPK
62 MPKMESSAGE = Non MPK Build...
65 !endif # !ifdef USE_MPK
68 #!message "Run bat\SetSecSdk.bat to set the Security path before continuing.\n"
70 #!endif # !ifndef SECURITYBASE
73 #!message "Run bat\BldNWExt.bat to set the UCS Include path before continuing.\n"
75 #!endif # !ifndef UCSINC
77 NLMIMPORTS = $(NLMSDKBASE)\imports
80 SECURITY_IMPORTS = $(SECURITYBASE)\imports
81 !endif # !ifdef SECURITYBASE
88 # Here comes the CW tools - TO BE FILLED TO BUILD WITH CW -
89 MODULE_DESC = "Perl 5.9.0 for NetWare"
91 C_COMPILER = mwccnlm -c
92 CPP_COMPILER = mwccnlm
95 NLM_LIB = mwldnlm -type library
98 CWCPPFLAGS = -cpp_exceptions on -wchar_t off -bool on -w on -ansi off
99 CCFLAGS = -maxerrors 25 -processor Pentium -align packed \
100 -w nounusedarg -msext on \
101 -DN_PLAT_NLM -DNLM=1 -D__NO_MATH_OPS -msgstyle gcc
102 COMPILER_FLAG = -d NETWARE
103 ERROR_FLAG = -sym on -sym codeview4 -sym internal
104 LDFLAGS = -type generic -stacksize 16384 -zerobss \
105 -nofail -msgstyle gcc -nostderr -w on \
106 -nlmversion $(NLM_VERSION) \
107 -copy "Copyright (C) 2000-01\, 2002 Novell\, Inc. All Rights Reserved."
109 # Debug flags comes here - Not mandatory - required only for debug build
110 !if "$(MAKE_TYPE)"=="Debug"
112 BLDMESG = Debug version,
114 BS_CFLAGS = -opt off -inline off -sym on -sym codeview4 -sym internal -DDEBUGGING -DDKFBPON
115 BLDMESG = $(BLDMESG) Using /d2 option
117 LDFLAGS = $(LDFLAGS) -sym on -sym codeview4 -sym internal -osym $(MAKE_TYPE)\$(NLM_NAME8).sym
118 !else # !ifdef NLM_NAME8
119 LDFLAGS = $(LDFLAGS) -sym on -sym codeview4 -sym internal -osym $(MAKE_TYPE)\$(NLM_NAME).sym
120 !endif # !ifdef NLM_NAME8
121 !else # !ifdef USE_D2
122 BS_CFLAGS = -opt off -inline off -sym on -sym codeview4 -sym internal -DDEBUGGING -DDKFBPON
123 BLDMESG = $(BLDMESG) Using /d1 option
125 LDFLAGS = $(LDFLAGS) -sym on -sym codeview4 -sym internal -osym $(MAKE_TYPE)\$(NLM_NAME8).sym
126 !else # !ifdef NLM_NAME8
127 LDFLAGS = $(LDFLAGS) -sym on -sym codeview4 -sym internal -osym $(MAKE_TYPE)\$(NLM_NAME).sym
128 !endif # !ifdef NLM_NAME8
129 !endif # !ifdef USE_D2
130 !else # !if "$(MAKE_TYPE)"=="Debug"
132 BLDMESG = Release version
133 ##BS_CFLAGS = -opt speed -inline smart -inline auto -sym off
135 !endif # !if "$(MAKE_TYPE)"=="Debug"
138 ADD_LOCDEFS = -DPERL_CORE
140 NLM_INCLUDE = -I$(NLMSDKBASE)\include
141 NLM_INCLUDE_NLM = -I$(NLMSDKBASE)\include\nlm
142 NLM_INCLUDE_NLM_SYS = -I$(NLMSDKBASE)\include\nlm\sys
143 NLM_INCLUDE_OBSLETE = -I$(NLMSDKBASE)\include\nlm\obsolete
146 SECURITY_INCLUDE = -I$(SECURITYBASE)\include
147 !endif #!ifdef SECURITYBASE
150 NLM_INCLUDE_UCS = -I$(UCSINC)
151 !endif #!ifndef UCSINC
153 !if "$(NW_EXTNS)"=="yes"
154 INCLUDE_NW = -I.\include
162 NLM_INCLUDE_PATH = $(NLM_INCLUDE) $(NLM_INCLUDE_NLM) $(NLM_INCLUDE_NLM_SYS) $(NLM_INCLUDE_OBSLETE) \
163 $(NLM_INCLUDE_MP) $(TOOL_HEADERS)
166 NLM_INCLUDE_PATH = $(NLM_INCLUDE_PATH) $(SECURITY_INCLUDE)
167 !endif #!ifdef SECURITYBASE
170 NLM_INCLUDE_PATH = $(NLM_INCLUDE_PATH) $(NLM_INCLUDE_UCS)
171 !endif #!ifndef UCSINC
173 INCLUDE = $(INC_THIS) $(INC_PREV) -I- $(NLM_INCLUDE_PATH)
175 PATH = $(PATH);$(TOOL_PATH)
177 NLM_INCLUDES = -I$(COREDIR) $(INCLUDE_NW)
179 CCFLAGS = $(CCFLAGS) $(INCLUDE)
181 COMPLER_FLAGS = $(BS_CFLAGS) $(ADD_BUILDOPT) $(NW_FLAGS) $(COMPILER_FLAG) $(MPKFLAGS) $(CCFLAGS)
238 #PERL_TMP_OBJ = $(PERL_TEMP_SRC:.c=.obj)
239 NW_SRC_OBJ = $(NW_SRC:.c=.obj)
240 NW_CPP_SRC_OBJ = $(NW_CPP_SRC:.cpp=.obj)
241 NLM_MICROCORE_OBJ = $(MICROCORE_SRC:.c=.obj)
242 PERL_LIB_OBJ = $(PERL_LIB_SRC:.c=.obj)
243 PERL_IO_OBJ = $(PERL_IO_SRC:.c=.obj)
244 NLM_CORE_OBJ = $(NLM_MICROCORE_OBJ)
245 EXT_MAIN_OBJ = $(EXT_MAIN_SRC:.c=.obj)
247 # For dependency checking
248 # $(BLDDIR) in place of Release or Debug is not working, should look into this - sgp
249 !if "$(BLDDIR)"=="Release"
250 NLM_OBJ = $(NLM_CORE_OBJ:..\=.\Release\)
251 NEWTARE_OBJ_DEP = $(NW_SRC_OBJ:.\=.\Release\)
252 NEWTARE_CPP_OBJ_DEP = $(NW_CPP_SRC_OBJ:.\=.\Release\)
253 PERL_LIB_OBJ_DEP = $(PERL_LIB_OBJ:.\=.\Release\)
254 PERL_IO_OBJ_DEP = $(PERL_IO_OBJ:..\=.\Release\)
256 NLM_OBJ = $(NLM_CORE_OBJ:..\=.\Debug\)
257 NEWTARE_OBJ_DEP = $(NW_SRC_OBJ:.\=.\Debug\)
258 NEWTARE_CPP_OBJ_DEP = $(NW_CPP_SRC_OBJ:.\=.\Debug\)
259 PERL_LIB_OBJ_DEP = $(PERL_LIB_OBJ:.\=.\Debug\)
260 PERL_IO_OBJ_DEP = $(PERL_IO_OBJ:..\=.\Debug\)
263 # Symbol base_import & version added for NETWARE
265 "INST_DRV=$(INST_DRV)" \
266 "INST_TOP=$(INST_TOP)" \
267 "INST_VER=$(INST_VER)" \
268 "INST_ARCH=$(INST_ARCH)" \
269 "INST_NW_TOP1=$(INST_NW_TOP1)" \
270 "INST_NW_TOP2=$(INST_NW_TOP2)" \
271 "INST_NW_VER=$(INST_NW_VER)" \
272 "archname=$(ARCHNAME)" \
275 "ccflags=$(COMPLER_FLAGS)" \
276 "cf_email=$(EMAIL)" \
277 "d_crypt=$(D_CRYPT)" \
278 "d_mymalloc=$(PERL_MALLOC)" \
279 # "libs=$(LIBFILES)" \
280 "incpath=$(NLM_INCLUDE_PATH)" \
281 "libperl=$(PERLIMPLIB:..\=)" \
282 "libpth=$(LIBPATH)" \
285 "static_ext=$(STATIC_EXT)" \
286 "dynamic_ext=$(DYNAMIC_EXT)" \
287 "nonxs_ext=$(NONXS_EXT)" \
288 "useithreads=$(USE_ITHREADS)" \
289 "usemultiplicity=$(USE_MULTI)" \
291 "base_import=$(BASE_IMPORT_FILES)" \
292 "LINK_FLAGS=$(LINK_FLAGS:"=\")" \
294 "d_stdio_cnt_lval=undef" \
295 "d_stdio_ptr_lval=undef" \
296 "d_stdiobase=undef" \
300 "nlm_version=$(NLM_VERSION)" \
301 "d_archname=NetWare" \
302 "mpktool=$(MPKTOOL) $(XDCFLAGS)" \
303 "toolpath=$(TOOL_PATH)"
306 NW_CFGSH_TMPL = config.wc
307 NW_CFGH_TMPL = config_H.wc
309 SOCKET_NLM = $(AUTODIR)\Socket\Socket.NLM
310 FCNTL_NLM = $(AUTODIR)\Fcntl\Fcntl.NLM
311 IO_NLM = $(AUTODIR)\IO\IO.NLM
312 OPCODE_NLM = $(AUTODIR)\Opcode\Opcode.NLM
313 SDBM_FILE_NLM = $(AUTODIR)\SDBM_File\SDBM_File.NLM
314 POSIX_NLM = $(AUTODIR)\POSIX\POSIX.NLM
315 ATTRS_NLM = $(AUTODIR)\attrs\attrs.NLM
316 THREAD_NLM = $(AUTODIR)\Thread\Thread.NLM
317 B_NLM = $(AUTODIR)\B\B.NLM
318 DUMPER_NLM = $(AUTODIR)\Data\Dumper\Dumper.NLM
319 PEEK_NLM = $(AUTODIR)\Devel\Peek\Peek.NLM
320 RE_NLM = $(AUTODIR)\re\re.NLM
321 BYTELOADER_NLM = $(AUTODIR)\ByteLoader\ByteLoader.NLM
322 DPROF_NLM = $(AUTODIR)\Devel\DProf\DProf.NLM
323 GLOB_NLM = $(AUTODIR)\File\Glob\Glob.NLM
324 HOSTNAME_NLM = $(AUTODIR)\Sys\Hostname\Hostname.NLM
325 CWD_NLM = $(EXTDIR)\Cwd\Cwd.NLM
326 STORABLE_NLM = $(EXTDIR)\Storable\Storable.NLM
327 LISTUTIL_NLM = $(EXTDIR)\List\Util.NLM
328 MIMEBASE64_NLM = $(EXTDIR)\MIME\Base64\Base64.NLM
329 XSAPITEST_NLM = $(EXTDIR)\XS\APItest\APItest.NLM
330 XSTYPEMAP_NLM = $(EXTDIR)\XS\Typemap\Typemap.NLM
331 UNICODENORMALIZE_NLM = $(EXTDIR)\Unicode\Normalize\Normalize.NLM
356 $(UNICODENORMALIZE_NLM) \
359 # Begin - Following is required to build NetWare specific extensions CGI2Perl, Perl2UCS and UCSExt
360 CGI2PERL = CGI2Perl\CGI2Perl
361 PERL2UCS = Perl2UCS\Perl2UCS
362 UCSExt = Perl2UCS\UCSExt
364 CGI2PERL_NLM = \CGI2Perl\CGI2Perl.NLM
365 PERL2UCS_NLM = $(AUTODIR)\Perl2UCS\Perl2UCS.NLM
366 UCSExt_NLM = $(AUTODIR)\UCSExt\UCSExt.NLM
375 ECHO_SRC = TestNLM\echo\echo.c
376 TYPE_SRC = TestNLM\type\type.c
377 ECHO_SRC_OBJ = $(ECHO_SRC:.c=.obj)
378 TYPE_SRC_OBJ = $(TYPE_SRC:.c=.obj)
379 ECHO_NLM = TestNLM\echo\echo.nlm
380 TYPE_NLM = TestNLM\type\type.nlm
391 !ifndef NLM_DESCRIPTION
392 NLM_DESCRIPTION = $(NLM_NAME8) for NetWare
404 BUILT = $(BLDDIR)\$(NLM_NAME8).$(NLM_EXT)
407 !ifndef BASE_IMPORT_FILES
408 BASE_IMPORT_FILES = Import @$(NLMIMPORTS)\clib.imp, @$(NLMIMPORTS)\nlmlib.imp, @$(NLMIMPORTS)\threads.imp, @$(NLMIMPORTS)\nit.imp, @$(NLMIMPORTS)\socklib.imp, \
409 @$(NLMIMPORTS)\fpsm.imp, @$(NLMIMPORTS)\lib0.imp
413 BASE_IMPORT_FILES = $(BASE_IMPORT_FILES), @$(SECURITY_IMPORTS)\nwsec.imp
414 !endif # !ifdef SECURITYBASE
417 BASE_IMPORT_FILES = $(BASE_IMPORT_FILES), @$(MPKBASE)\import\mpkorg.imp
420 !ifndef BASE_IMPORT_FNS
421 BASE_IMPORT_FNS = Import ImportSymbol, GetSystemConsoleScreen, LoadModule
428 !else # !ifdef CODEWAR
429 !error Please define the tools base directory before proceeding
430 !endif # !ifdef CODEWAR
432 !ifndef BASE_LIBRARIES
434 BASE_LIBRARIES = Library plib3s.lib, math3s.lib, clib3s.lib
435 !endif # !ifdef WATCOM
438 !endif # !ifdef CODEWAR
439 !endif # !ifndef BASE_LIBRARIES
442 COPYRIGHT = Copyright (C) 2000-01, 2002 Novell, Inc. All Rights Reserved.
444 EXPORTS = Export @perl.imp
447 # Set these to wherever you want "nmake install" to put your
451 INST_TOP = $(INST_DRV)\perl
455 INST_NW_TOP1 = $(INST_NW_VOL)\perl
456 INST_NW_TOP2 = $(INST_NW_DRV)\perl
457 #INST_NW_VER = \5.6.1
460 # Comment this out if you DON'T want your perl installation to be versioned.
461 # This means that the new installation will overwrite any files from the
462 # old installation at the same INST_TOP location. Leaving it enabled is
463 # the safest route, as perl adds the extra version directory to all the
464 # locations it installs files to. If you disable it, an alternative
465 # versioned installation can be obtained by setting INST_TOP above to a
466 # path that includes an arbitrary version string.
471 # Comment this out if you DON'T want your perl installation to have
472 # architecture specific components. This means that architecture-
473 # specific files will be installed along with the architecture-neutral
474 # files. Leaving it enabled is safer and more flexible, in case you
475 # want to build multiple flavors of perl and install them together in
476 # the same location. Commenting it out gives you a simpler
477 # installation that is easier to understand for beginners.
479 INST_ARCH = \$(ARCHNAME)
482 # uncomment to enable multiple interpreters. This is need for fork()
489 # Beginnings of interpreter cloning/threads; still very incomplete.
490 # This should be enabled to get the fork() emulation. This needs
493 USE_ITHREADS = define
496 # uncomment to enable the implicit "host" layer for all system calls
497 # made by perl. This needs USE_MULTI above. This is also needed to
502 # uncomment this to enable the experimental PerlIO I/O subsystem
503 # else USE_STDIO will be defined.
507 # For now let this be here
509 #CRYPT_SRC = fcrypt.c
511 # For now let this be here
513 #CRYPT_LIB = fcrypt.lib
516 # set this if you wish to use perl's malloc
517 # WARNING: Turning this on/off WILL break binary compatibility with extensions
518 # you may have compiled with/without it. Be prepared to recompile all
519 # extensions if you change the default. Currently, this cannot be enabled
520 # if you ask for USE_IMP_SYS above.
522 #PERL_MALLOC = define
525 # set this to your email address (perl will guess a value from
526 # from your loginname and your hostname, which may not be right)
531 ## Build configuration ends.
534 ##################### CHANGE THESE ONLY IF YOU MUST #####################
536 !IF "$(CRYPT_SRC)$(CRYPT_LIB)" == ""
540 CRYPT_FLAG = -DHAVE_DES_FCRYPT
543 !IF "$(PERL_MALLOC)" == ""
547 !IF "$(USE_IMP_SYS)" == "define"
551 !IF "$(USE_MULTI)" == ""
555 !IF "$(USE_ITHREADS)" == ""
559 !IF "$(USE_IMP_SYS)" == ""
563 !IF "$(USE_PERLCRT)" == ""
567 !IF "$(USE_IMP_SYS)$(USE_MULTI)" == "defineundef"
571 !IF "$(USE_ITHREADS)$(USE_MULTI)" == "defineundef"
575 !IF "$(USE_MULTI)" != "undef"
576 BUILDOPT = $(BUILDOPT) -DPERL_IMPLICIT_CONTEXT
579 !IF "$(USE_IMP_SYS)" != "undef"
580 BUILDOPT = $(BUILDOPT) -DPERL_IMPLICIT_SYS
583 !IF "$(PROCESSOR_ARCHITECTURE)" == ""
584 PROCESSOR_ARCHITECTURE = x86
587 !IF "$(USE_MULTI)" == "define"
588 ARCHNAME = NetWare-$(PROCESSOR_ARCHITECTURE)-multi
590 ARCHNAME = NetWare-$(PROCESSOR_ARCHITECTURE)
593 !IF "$(USE_MULTI)" != "undef"
594 ADD_BUILDOPT = $(ADD_BUILDOPT) -DPERL_IMPLICIT_CONTEXT
597 !IF "$(USE_IMP_SYS)" != "undef"
598 ADD_BUILDOPT = $(ADD_BUILDOPT) -DPERL_IMPLICIT_SYS
601 !IF "$(USE_ITHREADS)" == "define"
602 ARCHNAME = $(ARCHNAME)-thread
605 !IF "$(USE_PERLIO)" == "define"
607 ADD_BUILDOPT = $(ADD_BUILDOPT) -DUSE_PERLIO
608 ARCHNAME = $(ARCHNAME)-perlio
611 #ADD_BUILDOPT = $(ADD_BUILDOPT) -DUSE_STDIO
615 ARCHDIR = ..\lib\$(ARCHNAME)
616 COREDIR = ..\lib\CORE
617 AUTODIR = ..\lib\auto
621 EXTUTILSDIR = $(LIBDIR)\ExtUtils
624 INST_SCRIPT = $(INST_TOP)$(INST_VER)\bin
625 INST_BIN = $(INST_SCRIPT)$(INST_ARCH)
626 INST_LIB = $(INST_TOP)$(INST_VER)\lib
627 INST_ARCHLIB = $(INST_LIB)$(INST_ARCH)
628 INST_COREDIR = $(INST_ARCHLIB)\CORE
629 INST_POD = $(INST_LIB)\pod
630 INST_HTML = $(INST_POD)\html
640 #################### do not edit below this line #######################
641 ############# NO USER-SERVICEABLE PARTS BEYOND THIS POINT ##############
649 .SUFFIXES : .c $(o) .nlm .lib .NLM
654 PERLIMPLIB = ..\perl.lib
656 MINIPERL = ..\miniperl.exe
657 CONFIGPM = ..\lib\Config.pm
658 MINIMOD = ..\lib\ExtUtils\Miniperl.pm
661 PL2BAT = ..\win32\bin\pl2bat.pl
685 #NMAKE = $(C_COMPILER) $(INCLUDE) $(NLM_INCLUDES) $(COMPLER_FLAGS) $(ADD_LOCDEFS) $(ERROR_FLAG) $(*F).c -o $@
687 XCOPY = xcopy /f /r /i /d
688 RCOPY = xcopy /f /r /i /e /d
693 # filenames given to xsubpp must have forward slashes (since it puts
694 # full pathnames in #line strings)
695 XSUBPP = ..\$(MINIPERL) -I..\..\lib ..\$(EXTUTILSDIR)\xsubpp -C++ -prototypes
732 #EXTRACORE_SRC = $(EXTRACORE_SRC) perllib.c
734 !IF "$(PERL_MALLOC)" == "define"
735 EXTRACORE_SRC = $(EXTRACORE_SRC) ..\malloc.c
738 #EXTRACORE_SRC = $(EXTRACORE_SRC) ..\perlio.c
740 !IF "$(CRYPT_SRC)" != ""
741 NW_SRC = $(NW_SRC) .\$(CRYPT_SRC)
744 DLL_SRC = $(DYNALOADER).c
789 CORE_H = $(CORE_NOCFG_H) .\config.h
791 DLL_OBJ = $(DLL_SRC:.c=.obj)
792 X2P_OBJ = $(X2P_SRC:.c=.obj)
794 DYNAMIC_EXT = Socket IO Fcntl Opcode SDBM_File POSIX attrs Thread B re \
795 Data/Dumper Devel/Peek ByteLoader Devel/DProf File/Glob \
796 Storable/Storable List/Util MIME/Base64/Base64 XS/APItest/APItest \
797 XS/Typemap/Typemap Unicode/Normalize/Normalize Sys/Hostname
799 STATIC_EXT = DynaLoader
802 DYNALOADER = $(EXTDIR)\DynaLoader\DynaLoader
803 SOCKET = $(EXTDIR)\Socket\Socket
804 FCNTL = $(EXTDIR)\Fcntl\Fcntl
805 OPCODE = $(EXTDIR)\Opcode\Opcode
806 SDBM_FILE = $(EXTDIR)\SDBM_File\SDBM_File
808 POSIX = $(EXTDIR)\POSIX\POSIX
809 ATTRS = $(EXTDIR)\attrs\attrs
810 THREAD = $(EXTDIR)\Thread\Thread
813 DUMPER = $(EXTDIR)\Data\Dumper\Dumper
814 ERRNO = $(EXTDIR)\Errno\Errno
815 PEEK = $(EXTDIR)\Devel\Peek\Peek
816 BYTELOADER = $(EXTDIR)\ByteLoader\ByteLoader
817 DPROF = $(EXTDIR)\Devel\DProf\DProf
818 GLOB = $(EXTDIR)\File\Glob\Glob
819 HOSTNAME = $(EXTDIR)\Sys\Hostname\Hostname
820 CWD = $(EXTDIR)\Cwd\Cwd
821 STORABLE = $(EXTDIR)\Storable\Storable
822 LISTUTIL = $(EXTDIR)\List\Util
823 MIMEBASE64 = $(EXTDIR)\MIME\Base64\Base64
824 XSAPITEST = $(EXTDIR)\XS\APItest\APItest
825 XSTYPEMAP = $(EXTDIR)\XS\Typemap\Typemap
826 UNICODENORMALIZE = $(EXTDIR)\Unicode\Normalize\Normalize
828 ERRNO_PM_NW = $(LIBDIR)\Errno.pm
853 $(UNICODENORMALIZE).c \
858 POD2HTML = $(PODDIR)\pod2html
859 POD2MAN = $(PODDIR)\pod2man
860 POD2LATEX = $(PODDIR)\pod2latex
861 POD2TEXT = $(PODDIR)\pod2text
867 all : .cleanoldfiles .\nwconfig.h $(CONFIGPM) $(NLM_NAME) $(EXTENSION_NLM) $(EXTENSION_NPM) $(TEST_NLMS) $(NETWARE_EXTNS)
869 #------------------------------------------------------------
871 ..\config.sh : config.nw5 $(MINIPERL) config_sh.PL
872 $(MINIPERL) -I..\lib config_sh.PL $(NW_CFG_VARS) config.nw5 > ..\config.sh
874 # this target is for when changes to the main config.sh happen
875 # edit config.{b,v,g,w}c and make this target once for each supported
876 # compiler (e.g. `dmake CCTYPE=BORLAND regen_config_h`)
878 perl config_sh.PL $(NW_CFG_VARS) $(NW_CFGSH_TMPL) > ..\config.sh
883 -del /f /q $(NW_CFGH_TMPL)
885 -perl -I..\lib config_h.PL "INST_VER=$(INST_VER)"
886 rename config.h $(NW_CFGH_TMPL)
888 $(CONFIGPM) : $(MINIPERL) ..\config.sh config_h.PL ..\minimod.pl
889 cd .. && miniperl configpm
890 if exist lib\* $(RCOPY) lib\*.* ..\lib\$(NULL)
891 $(XCOPY) ..\*.h $(COREDIR)\*.*
892 $(XCOPY) *.h $(COREDIR)\*.*
893 $(XCOPY) ..\ext\re\re.pm $(LIBDIR)\*.*
894 if exist include\* $(RCOPY) include $(COREDIR)\*.*
895 $(MINIPERL) -I..\lib config_h.PL "INST_VER=$(INST_VER)" \
896 || $(MAKE) /$(MAKEFLAGS) $(CONFIGPM)
900 $(error)Please build $(MINIPERL) before continuing
902 $(MINIMOD) : $(MINIPERL) ..\minimod.pl
903 cd .. && miniperl minimod.pl > lib\ExtUtils\Miniperl.pm
905 ..\x2p\a2p$(o) : ..\x2p\a2p.c
906 @echo $(MPKMESSAGE)...$(BLDMESG)...$@
907 $(C_COMPILER) $(COMPLER_FLAGS) $(NLM_INCLUDES) -I..\x2p $(ADD_LOCDEFS) $(ERROR_FLAG) $*.c -o $@
910 ..\x2p\hash$(o) : ..\x2p\hash.c
911 @echo $(MPKMESSAGE)...$(BLDMESG)...$@
912 $(C_COMPILER) $(COMPLER_FLAGS) $(NLM_INCLUDES) -I..\x2p $(ADD_LOCDEFS) $(ERROR_FLAG) $*.c -o $@
915 ..\x2p\str$(o) : ..\x2p\str.c
916 @echo $(MPKMESSAGE)...$(BLDMESG)...$@
917 $(C_COMPILER) $(COMPLER_FLAGS) $(NLM_INCLUDES) -I..\x2p $(ADD_LOCDEFS) $(ERROR_FLAG) $*.c -o $@
920 ..\x2p\util$(o) : ..\x2p\util.c
921 @echo $(MPKMESSAGE)...$(BLDMESG)...$@
922 $(C_COMPILER) $(COMPLER_FLAGS) $(NLM_INCLUDES) -I..\x2p $(ADD_LOCDEFS) $(ERROR_FLAG) $*.c -o $@
925 ..\x2p\walk$(o) : ..\x2p\walk.c
926 @echo $(MPKMESSAGE)...$(BLDMESG)...$@
927 $(C_COMPILER) $(COMPLER_FLAGS) $(NLM_INCLUDES) -I..\x2p $(ADD_LOCDEFS) $(ERROR_FLAG) $*.c -o $@
930 $(X2P) : $(MINIPERL) $(X2P_OBJ)
931 @echo Building $@..........
932 $(MINIPERL) ..\x2p\find2perl.PL
933 $(MINIPERL) ..\x2p\s2p.PL
934 # Linker definitions and lining come here for CODEWARRIOR
935 @echo $(BASE_IMPORT_FILES) > $*.def
936 @echo MODULE clib >> $*.def
937 @echo Import @perl.imp >> $*.def
939 $(MPKTOOL) $(XDCFLAGS) $*.xdc
940 @echo Import Mp.imp >> $*.def
941 @echo xdcdata $*.xdc >> $*.def
943 ## $(LINK) $(LDFLAGS) $(BS_CFLAGS) -desc "Awk to Perl Translator" $(X2P_OBJ) $(BLDDIR)\clibstuf.obj -commandfile $*.def -o $@
944 $(LINK) $(LDFLAGS) -desc "Awk to Perl Translator" $(X2P_OBJ) $(BLDDIR)\clibstuf.obj -commandfile $*.def -o $@
946 $(EXTDIR)\DynaLoader\dl_netware.xs: dl_netware.xs
947 copy dl_netware.xs $(EXTDIR)\DynaLoader\dl_netware.xs
950 @echo . . . . making stdio.h and string.h
951 @copy << stdio.h >\nul
954 * Copyright (C) 2000-01 Novell, Inc. All Rights Reserved.
956 * You may distribute under the terms of either the GNU General Public
957 * License or the Artistic License, as specified in the README file.
963 * DESCRIPTION : Generated header file, do not edit. See makefile.
964 * This header file causes the includer to use clibstuf.h
965 * The purpose of clibstuf is to make sure that Perl, cgi2perl and
966 * all the perl extension nlm's (*.NLM) use the Novell Netware CLIB versions
967 * of standard functions. This code loads up a whole bunch of function pointers
968 * to point at the standard CLIB functions.
970 * Date : January 2001.
979 #include "$(NLMSDKBASE)\INCLUDE\NLM\stdio.h"
980 #include "clibsdio.h"
983 #endif // __Stdio_H__
986 @copy stdio.h $(COREDIR)
988 @copy << string.h >\nul
991 * Copyright (C) 2000-01 Novell, Inc. All Rights Reserved.
993 * You may distribute under the terms of either the GNU General Public
994 * License or the Artistic License, as specified in the README file.
999 * FILENAME : string.h
1000 * DESCRIPTION : Generated header file, do not edit. See makefile.
1001 * This header file causes the includer to use clibstuf.h
1002 * The purpose of clibstuf is to make sure that Perl, cgi2perl and
1003 * all the perl extension nlm's (*.NLM) use the Novell Netware CLIB versions
1004 * of standard functions. This code loads up a whole bunch of function pointers
1005 * to point at the standard CLIB functions.
1007 * Date : January 2001.
1012 #ifndef __String_H__
1013 #define __String_H__
1016 #include "$(NLMSDKBASE)\INCLUDE\NLM\string.h"
1017 #include "clibstr.h"
1020 #endif // __String_H__
1023 @copy string.h $(COREDIR)
1026 $(NLM_NAME): MESSAGE HEADERS $(BLDDIR)\nul $(NLM_OBJ) $(NEWTARE_OBJ_DEP) $(NEWTARE_CPP_OBJ_DEP) $(PERL_IO_OBJ_DEP) $(DLL_OBJ) \
1027 $(PERLIMPLIB) $(EXT_MAIN_OBJ) $(PERL_TEMP_OBJ) #$(PERL_LIB_OBJ)
1028 @echo======= Linking $@ at $(MAKEDIR)\$(BLDDIR) =======
1029 # Linker definitions and lining come here for CODEWARRIOR
1030 @echo $(BASE_IMPORT_FILES) > $*.def
1031 @echo MODULE clib >> $*.def
1032 @echo MODULE netdb >> $*.def
1034 @echo MODULE nwsec >> $*.def
1035 !endif #!ifdef SECURITYBASE
1036 @echo $(EXPORTS) >> $*.def
1038 @echo======= Creating XDC file
1039 @echo Import Mp.imp >> $*.def
1041 $(MPKTOOL) $(XDCFLAGS) $(BLDDIR)\$(NLM_NAME8).xdc
1042 @echo xdcdata $(BLDDIR)\$(NLM_NAME8).xdc >> $*.def
1044 $(MPKTOOL) $(XDCFLAGS) $(BLDDIR)\$(NLM_NAME).xdc
1045 @echo xdcdata $(BLDDIR)\$(NLM_NAME).xdc >> $*.def
1048 ## $(LINK) $(LDFLAGS) $(BS_CFLAGS) -desc "Perl 5.6.1 for NetWare" $(NEWTARE_OBJ_DEP:.obj=.obj) $(NLM_OBJ:.obj=.obj) $(PERL_IO_OBJ_DEP:.obj=.obj) $(DLL_OBJ:.obj=.obj) $(NEWTARE_CPP_OBJ_DEP:.obj=.obj) -commandfile $*.def -o .\$(BLDDIR)\$@
1049 $(LINK) $(LDFLAGS) -desc $(MODULE_DESC) $(NEWTARE_OBJ_DEP:.obj=.obj) $(NLM_OBJ:.obj=.obj) $(PERL_IO_OBJ_DEP:.obj=.obj) $(DLL_OBJ:.obj=.obj) $(NEWTARE_CPP_OBJ_DEP:.obj=.obj) -commandfile $*.def -o .\$(BLDDIR)\$@
1050 copy splittree.pl ..
1051 $(MINIPERL) -I..\lib ..\splittree.pl "../LIB" $(AUTODIR)
1052 @echo ========Linked $@ ==========
1054 @echo======= Finished building $(BUILT).
1056 # Create the debug or release directory if not existing
1058 @echo . . . . mkdir $(BLDDIR)
1060 @echo '$(BLDDIR)' directory created.
1063 @echo======= $(MAKE_ACTION)ing $(NLM_NAME) at $(MAKEDIR)\$(BLDDIR) =======
1065 $(PERLIMPLIB): perllib.imp
1066 # @echo Building $(PERLIMPLIB)...
1067 # $(LD) -type library $(NLM_OBJ) $(BLDDIR)\nw5.obj $(BLDDIR)\nwmain.obj $(BLDDIR)\nw5thread.obj $(BLDDIR)\nwtinfo.obj \
1068 # $(BLDDIR)\nwutil.obj $(BLDDIR)\interface.obj $(BLDDIR)\perllib.obj $(PERL_IO_OBJ_DEP) $(DLL_OBJ) -o $@
1069 # $(XCOPY) $(PERLIMPLIB) $(COREDIR)
1070 # @echo $(PERLIMPLIB) Done
1072 perllib.imp : $(MINIPERL) $(CONFIGPM) ..\global.sym ..\pp.sym ..\makedef.pl
1073 # $(MINIPERL) -w ..\makedef.pl PLATFORM=netware FILETYPE=def $(ADD_BUILDOPT) \
1074 # CCTYPE=$(CCTYPE) > perllib.def
1075 @echo (Perl) > perl.imp
1076 $(MINIPERL) -w ..\makedef.pl PLATFORM=netware FILETYPE=imp $(BS_CFLAGS) $(DEFINES) $(ADD_BUILDOPT) \
1077 CCTYPE=$(CCTYPE) >> perl.imp
1078 copy perl.imp $(COREDIR)
1080 $(DLL_OBJ) : $(DYNALOADER).c $(CORE_H) $(EXTDIR)\DynaLoader\dlutils.c
1081 @echo $(MPKMESSAGE)...$(BLDMESG)...$@
1082 @$(C_COMPILER) $(NLM_INCLUDES) $(COMPLER_FLAGS) $(NLM_INCLUDES) $(ADD_LOCDEFS) $(ERROR_FLAG) -I$(EXTDIR)\DynaLoader \
1083 $(EXTDIR)\DynaLoader\$(*F).c -o $@
1086 $(DYNALOADER).c : $(MINIPERL) $(EXTDIR)\DynaLoader\dl_netware.xs $(CONFIGPM)
1087 if not exist $(AUTODIR) mkdir $(AUTODIR)
1089 ..\$(MINIPERL) -I..\..\lib $(*B)_pm.PL
1090 ..\$(MINIPERL) -I..\..\lib XSLoader_pm.PL
1092 $(XCOPY) $(EXTDIR)\$(*B)\$(*B).pm $(LIBDIR)\$(NULL)
1093 $(XCOPY) $(EXTDIR)\$(*B)\XSLoader.pm $(LIBDIR)\$(NULL)
1095 $(XSUBPP) dl_netware.xs > $(*B).c
1097 @echo Dynaloader Done
1100 $(PERL_IO_OBJ_DEP) : ..\$(*F).c
1101 @echo $(MPKMESSAGE) $(BLDMESG) $@
1102 $(C_COMPILER) $(COMPLER_FLAGS) $(NLM_INCLUDES) $(ADD_LOCDEFS) $(ERROR_FLAG) ..\$(*F).c -o $@
1105 $(NLM_OBJ) : ..\$(*F).c
1106 @echo $(MPKMESSAGE) $(BLDMESG) $@
1107 $(C_COMPILER) $(COMPLER_FLAGS) $(NLM_INCLUDES) $(ADD_LOCDEFS) $(ERROR_FLAG) ..\$(*F).c -o $@
1111 $(NEWTARE_OBJ_DEP) : $(NW_H_FILES) $(NW_HOST_H_FILES) $(*F).c
1112 @echo $(MPKMESSAGE) $(BLDMESG) $@
1113 $(C_COMPILER) $(COMPLER_FLAGS) $(NLM_INCLUDES) $(ADD_LOCDEFS) $(ERROR_FLAG) $(*F).c -o $@
1116 $(NEWTARE_CPP_OBJ_DEP) : $(NW_H_FILES) $(NW_HOST_H_FILES) $(*F).cpp
1117 @echo $(MPKMESSAGE) $(BLDMESG) $@
1118 $(C_COMPILER) $(CWCPPFLAGS) $(COMPLER_FLAGS) $(NLM_INCLUDES) $(ADD_LOCDEFS) $(ERROR_FLAG) $(*F).cpp -o $@
1121 $(EXT_MAIN_OBJ) : $(CLIB_H_FILES)
1122 @echo $(MPKMESSAGE) $(BLDMESG) $@
1123 $(C_COMPILER) $(NLM_INCLUDES) $(COMPLER_FLAGS) $(ADD_LOCDEFS) $(ERROR_FLAG) $(*F).c -o $@
1124 $(LD) -type library $@ -o $*.lib
1125 @copy $*.lib $(COREDIR)
1127 # Delete any files that might have got created during building miniperl.exe
1128 # config.sh will definitely be created
1129 # COREDIR might have got created
1131 -del /f /q $(PERLIMPLIB)
1132 -del /f /q ..\lib\config.pm
1133 -del /f /q ..\config.sh
1134 -del /f /q .\Main.obj
1135 -del /f /q .\Main.lib
1136 -rmdir /s /q $(AUTODIR)
1137 -rmdir /s /q $(COREDIR)
1138 -del /f /q ..\lib\core
1140 .\nwconfig.h : $(NW_CFGH_TMPL)
1141 @if exist .\config.h del /f /q .\config.h
1142 copy $(NW_CFGH_TMPL) config.h
1144 # REQUIRED WHEN WE INCLUDE CONFIGPM OR REGEN_CONFIG - sgp
1145 #..\nwconfig.sh : config.nw5 $(MINIPERL) config_sh.PL
1146 # $(MINIPERL) -I..\lib config_sh.PL $(NW_CFG_VARS) config.nw5 > ..\config.sh
1149 # del /f /q config.sh
1150 # rename nwconfig.sh config.sh
1153 config.nw5 : $(NW_CFGSH_TMPL)
1154 copy $(NW_CFGSH_TMPL) config.nw5
1156 $(SOCKET_NLM): $(NLM_NAME) $(SOCKET).xs
1158 ..\..\miniperl -I..\..\lib Makefile.PL PERL_CORE=1 INSTALLDIRS=perl
1162 $(HOSTNAME_NLM): $(NLM_NAME) $(HOSTNAME).xs
1163 cd $(EXTDIR)\Sys\$(*B)
1164 ..\..\..\miniperl -I..\..\..\lib Makefile.PL PERL_CORE=1 INSTALLDIRS=perl
1170 ..\..\miniperl -I..\..\lib Makefile.PL PERL_CORE=1 INSTALLDIRS=perl
1176 ..\..\miniperl -I..\..\lib Makefile.PL PERL_CORE=1 INSTALLDIRS=perl
1182 ..\..\miniperl -I..\..\lib Makefile.PL PERL_CORE=1 INSTALLDIRS=perl
1188 ..\..\miniperl -I..\..\lib Makefile.PL PERL_CORE=1 INSTALLDIRS=perl
1193 cd $(EXTDIR)\Data\$(*B)
1194 ..\..\..\miniperl -I..\..\..\lib Makefile.PL PERL_CORE=1 INSTALLDIRS=perl
1199 cd $(EXTDIR)\Devel\$(*B)
1200 ..\..\..\miniperl -I..\..\..\lib Makefile.PL PERL_CORE=1 INSTALLDIRS=perl
1206 ..\..\miniperl -I..\..\lib Makefile.PL PERL_CORE=1 INSTALLDIRS=perl
1212 ..\..\miniperl -I..\..\lib Makefile.PL PERL_CORE=1 INSTALLDIRS=perl
1217 cd $(EXTDIR)\Devel\$(*B)
1218 ..\..\..\miniperl -I..\..\..\lib Makefile.PL PERL_CORE=1 INSTALLDIRS=perl
1223 cd $(EXTDIR)\File\$(*B)
1224 ..\..\..\miniperl -I..\..\..\lib Makefile.PL PERL_CORE=1 INSTALLDIRS=perl
1230 ..\..\miniperl -I..\..\lib Makefile.PL PERL_CORE=1 INSTALLDIRS=perl
1236 ..\..\miniperl -I..\..\lib Makefile.PL PERL_CORE=1 INSTALLDIRS=perl
1242 ..\..\miniperl -I..\..\lib Makefile.PL PERL_CORE=1 INSTALLDIRS=perl
1248 ..\..\miniperl -I..\..\lib Makefile.PL PERL_CORE=1 INSTALLDIRS=perl
1254 ..\..\miniperl -I..\..\lib Makefile.PL PERL_CORE=1 INSTALLDIRS=perl
1260 ..\..\miniperl -I..\..\lib Makefile.PL PERL_CORE=1 INSTALLDIRS=perl
1265 cd $(EXTDIR)\List\$(*B)
1266 ..\..\..\miniperl -I..\..\lib Makefile.PL PERL_CORE=1 INSTALLDIRS=perl
1271 cd $(EXTDIR)\Mime\$(*B)
1272 ..\..\..\miniperl -I..\..\lib Makefile.PL PERL_CORE=1 INSTALLDIRS=perl
1277 cd $(EXTDIR)\XS\$(*B)
1278 ..\..\..\miniperl -I..\..\lib Makefile.PL PERL_CORE=1 INSTALLDIRS=perl
1283 cd $(EXTDIR)\XS\$(*B)
1284 ..\..\..\miniperl -I..\..\lib Makefile.PL PERL_CORE=1 INSTALLDIRS=perl
1288 $(UNICODENORMALIZE_NLM):
1289 cd $(EXTDIR)\Unicode\$(*B)
1290 ..\..\..\miniperl -I..\..\lib Makefile.PL PERL_CORE=1 INSTALLDIRS=perl
1298 ..\..\miniperl -I..\..\lib Makefile.PL PERL_CORE=1 INSTALLDIRS=perl
1302 $(ECHO_SRC_OBJ): $*.c
1303 @echo $(MPKMESSAGE) $(BLDMESG) $@
1304 $(C_COMPILER) $(NLM_INCLUDES) $(COMPLER_FLAGS) $(ADD_LOCDEFS) $(ERROR_FLAG) $*.c -o $@
1307 $(ECHO_NLM): $(ECHO_SRC_OBJ)
1308 @echo======= Linking $@ =======
1309 # Linker definitions and lining come here for CODEWARRIOR
1310 @echo $(BASE_IMPORT_FILES) > $*.def
1311 @echo MODULE clib >> $*.def
1312 @echo Import @perl.imp >> $*.def
1314 $(MPKTOOL) $(XDCFLAGS) $*.xdc
1315 @echo Import @MP.imp >> $*.def
1316 @echo xdcdata $*.xdc >> $*.def
1318 ## $(LINK) $(LDFLAGS) $(BS_CFLAGS) -desc "DOS Echo emulation for Perl testing" $(ECHO_SRC_OBJ) $(BLDDIR)\clibstuf.obj -commandfile $*.def -o $@
1319 $(LINK) $(LDFLAGS) -desc "DOS Echo emulation for Perl testing" $(ECHO_SRC_OBJ) $(BLDDIR)\clibstuf.obj -commandfile $*.def -o $@
1320 @echo======= Linking Complete =======
1322 $(TYPE_SRC_OBJ): $*.c
1323 @echo $(MPKMESSAGE) $(BLDMESG) $@
1324 $(C_COMPILER) $(NLM_INCLUDES) $(COMPLER_FLAGS) $(ADD_LOCDEFS) $(ERROR_FLAG) $*.c -o $@
1327 $(TYPE_NLM): $(TYPE_SRC_OBJ)
1328 @echo======= Linking $@ =======
1329 # Linker definitions and lining come here for CODEWARRIOR
1330 @echo $(BASE_IMPORT_FILES) > $*.def
1331 @echo MODULE clib >> $*.def
1332 @echo Import @perl.imp >> $*.def
1334 $(MPKTOOL) $(XDCFLAGS) $*.xdc
1335 @echo Import @MP.imp >> $*.def
1336 @echo xdcdata $*.xdc >> $*.def
1338 ## $(LINK) $(LDFLAGS) $(BS_CFLAGS) -desc "DOS Type emulation for Perl testing" $(TYPE_SRC_OBJ) $(BLDDIR)\clibstuf.obj -commandfile $*.def -o $@
1339 $(LINK) $(LDFLAGS) -desc "DOS Type emulation for Perl testing" $(TYPE_SRC_OBJ) $(BLDDIR)\clibstuf.obj -commandfile $*.def -o $@
1340 @echo======= Linking Complete =======
1343 # Build NetWare specific extensions
1345 !if "$(NW_EXTNS)"=="yes"
1347 ..\..\miniperl -I..\..\lib Makefile.PL "CCCDLFLAGS=-bool on -lang c++" PERL_CORE=1 INSTALLDIRS=perl
1353 !if "$(NW_EXTNS)"=="yes"
1355 ..\..\miniperl -I..\..\lib Makefile.PL "CCCDLFLAGS=-bool on -lang c++" PERL_CORE=1 INSTALLDIRS=perl
1361 !if "$(NW_EXTNS)"=="yes"
1363 ..\..\miniperl -I..\..\lib Makefile.PL "CCCDLFLAGS=-bool on -lang c++" PERL_CORE=1 INSTALLDIRS=perl
1369 -rmdir /s /q $(REL_DIR)
1370 -rmdir /s /q $(DEB_DIR)
1371 @if exist .\stdio.h del /f /q .\stdio.h
1372 @if exist .\string.h del /f /q .\string.h
1373 @if exist .\config.h del /f /q .\config.h
1374 @if exist .\config.nw5 del /f /q .\config.nw5
1375 @if exist .\perl.imp del /f /q .\perl.imp
1376 -del /f /q *.obj *.lib *.def *.sym *.map *.xdc *.err *.nlm
1378 -del /f /q *.obj *.map *.link *.options *.nlm *.sym *.xdc *.err *.lib *.def *.pdb *.bs
1380 -del /f /q *.obj *.map *.link *.options *.nlm *.sym *.xdc *.err *.lib *.def *.pdb *.bs
1383 utils: $(BLDDIR)\$(NLM_NAME8).$(NLM_EXT) $(X2P)
1385 $(MAKE) PERL=$(MINIPERL)
1387 copy ..\README.amiga .\perlamiga.pod
1388 copy ..\README.cygwin .\perlcygwin.pod
1389 copy ..\README.dos .\perldos.pod
1390 copy ..\README.hpux .\perlhpux.pod
1391 # copy ..\README.machten .\perlmachten.pod
1392 copy ..\README.os2 .\perlos2.pod
1393 copy ..\vms\perlvms.pod .\perlvms.pod
1394 copy ..\README.win32 .\perlwin32.pod
1395 copy ..\README.netware .\perlnw5.pod
1396 $(MAKE) -f ..\win32\pod.mak converters
1399 $(MINIPERL) lib_pm.PL
1401 $(MINIPERL) $(PL2BAT) $(UTILS)
1403 distclean: clean nwclean
1404 -del /f /q $(PERLIMPLIB) ..\miniperl.lib $(MINIMOD)
1405 -del /f /q $(EXTENSION_NPM)
1406 -del /f /q $(EXTENSION_C) $(DYNALOADER).c $(ERRNO).pm
1407 -del /f /q $(EXTDIR)\DynaLoader\dl_netware.xs
1408 -del /f /q $(EXTDIR)\DynaLoader\dl_win32.xs
1409 -del /f /q $(EXTDIR)\DynaLoader\DynaLoader.pm
1410 -del /f /q $(EXTDIR)\DynaLoader\XSLoader.pm
1411 -del /f /q $(LIBDIR)\.exists $(LIBDIR)\attrs.pm $(LIBDIR)\DynaLoader.pm
1412 -del /f /q $(LIBDIR)\XSLoader.pm
1413 -del /f /q $(LIBDIR)\Fcntl.pm $(LIBDIR)\IO.pm $(LIBDIR)\Opcode.pm
1414 -del /f /q $(LIBDIR)\ops.pm $(LIBDIR)\Safe.pm
1415 -del /f /q $(LIBDIR)\SDBM_File.pm $(LIBDIR)\Socket.pm $(LIBDIR)\POSIX.pm
1416 -del /f /q $(LIBDIR)\B.pm $(LIBDIR)\O.pm $(LIBDIR)\re.pm
1417 -del /f /q $(LIBDIR)\Data\Dumper.pm $(LIBDIR)\ByteLoader.pm
1418 -del /f /q $(LIBDIR)\Devel\Peek.pm $(LIBDIR)\Devel\DProf.pm
1419 -del /f /q $(LIBDIR)\File\Glob.pm
1420 -del /f /q $(LIBDIR)\Unicode\Normalize.pm
1421 -rmdir /s /q $(LIBDIR)\IO
1422 -rmdir /s /q $(LIBDIR)\Thread
1423 -rmdir /s /q $(LIBDIR)\B
1424 -rmdir /s /q $(LIBDIR)\Data
1425 -del /f /q $(PODDIR)\*.html
1426 -del /f /q $(PODDIR)\*.bat
1428 -del /f /q h2ph splain perlbug pl2pm c2ph h2xs perldoc dprofpp
1432 -del /f /q find2perl s2p
1433 -del /f /q *.bat *.exe
1434 -del /f /q *.obj *.map *.link *.xdc *.err
1436 -del /f /q ..\config.sh ..\splittree.pl dlutils.c config.h.new
1437 -del /f /q $(CONFIGPM)
1438 -del /f /q bin\*.bat
1440 -del /s /q /f *.lib *.def *.map *.pdb *.bs Makefile *$(o) pm_to_blib *.xdc *.err *.obj *.sym
1442 !if "$(NW_EXTNS)"=="yes"
1444 -del /f /q *.obj *.bs Makefile *$(o) *.c pm_to_blib *.xdc *.err *.sym *.map *.def *.lib *.pdb
1447 -del /f /q *.obj *.bs Makefile *$(o) *.c pm_to_blib *.xdc *.err *.sym *.map *.def *.lib *.pdb
1450 -del /f /q *.obj *.bs Makefile *$(o) *.c pm_to_blib *.xdc *.err *.sym *.map *.c
1453 -rmdir /s /q $(AUTODIR)
1454 -rmdir /s /q $(COREDIR)
1455 -del /f /q ..\config.sh
1458 $(MINIPERL) -I..\lib ..\installperl
1460 install : utils installwin perlimp
1463 copy perl.imp $(INST_COREDIR)
1466 $(MINIPERL) -I..\lib ..\installperl -netware
1470 xcopy /f /r /i /s /d *.* $(INST_NW_TOP2)\scripts\t
1472 xcopy /f /r /i /s /d *.t $(INST_NW_TOP2)\scripts\t\lib
1474 xcopy /f /r /i /s /d *.t $(INST_NW_TOP2)\scripts\t\ext
1476 xcopy /f /r /i /s /d *.pl $(INST_NW_TOP2)\scripts\t
1479 nwinstall: utils installnw install_tests
1481 inst_lib : $(CONFIGPM)
1482 copy ..\win32\splittree.pl ..
1483 $(MINIPERL) -I..\lib ..\splittree.pl "../LIB" $(AUTODIR)
1484 $(RCOPY) ..\lib $(INST_LIB)\*.*
1487 -@erase miniperlmain$(o)
1490 -@erase ..\*$(o) ..\*.lib ..\*.exp *$(o) *.lib *.exp *.res
1491 -@erase ..\t\*.exe ..\t\*.dll ..\t\*.bat
1492 -@erase ..\x2p\*.nlm ..\x2p\*.bat