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.17.4 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 ATTRIBUTES_NLM = $(AUTODIR)\attributes\attributes.NLM
316 B_NLM = $(AUTODIR)\B\B.NLM
317 DUMPER_NLM = $(AUTODIR)\Data\Dumper\Dumper.NLM
318 PEEK_NLM = $(AUTODIR)\Devel\Peek\Peek.NLM
319 RE_NLM = $(AUTODIR)\re\re.NLM
320 BYTELOADER_NLM = $(AUTODIR)\ByteLoader\ByteLoader.NLM
321 GLOB_NLM = $(AUTODIR)\File\Glob\Glob.NLM
322 HOSTNAME_NLM = $(AUTODIR)\Sys\Hostname\Hostname.NLM
323 CWD_NLM = $(EXTDIR)\Cwd\Cwd.NLM
324 STORABLE_NLM = $(EXTDIR)\Storable\Storable.NLM
325 LISTUTIL_NLM = $(EXTDIR)\List\Util.NLM
326 MIMEBASE64_NLM = $(EXTDIR)\MIME\Base64\Base64.NLM
327 XSAPITEST_NLM = $(EXTDIR)\XS\APItest\APItest.NLM
328 XSTYPEMAP_NLM = $(EXTDIR)\XS\Typemap\Typemap.NLM
329 UNICODENORMALIZE_NLM = $(EXTDIR)\Unicode\Normalize\Normalize.NLM
330 UNICODECOLLATE_NLM = $(EXTDIR)\Unicode\Collate\Collate.NLM
353 $(UNICODENORMALIZE_NLM) \
356 # Begin - Following is required to build NetWare specific extensions CGI2Perl, Perl2UCS and UCSExt
357 CGI2PERL = CGI2Perl\CGI2Perl
358 PERL2UCS = Perl2UCS\Perl2UCS
359 UCSExt = Perl2UCS\UCSExt
361 CGI2PERL_NLM = \CGI2Perl\CGI2Perl.NLM
362 PERL2UCS_NLM = $(AUTODIR)\Perl2UCS\Perl2UCS.NLM
363 UCSExt_NLM = $(AUTODIR)\UCSExt\UCSExt.NLM
372 ECHO_SRC = TestNLM\echo\echo.c
373 TYPE_SRC = TestNLM\type\type.c
374 ECHO_SRC_OBJ = $(ECHO_SRC:.c=.obj)
375 TYPE_SRC_OBJ = $(TYPE_SRC:.c=.obj)
376 ECHO_NLM = TestNLM\echo\echo.nlm
377 TYPE_NLM = TestNLM\type\type.nlm
388 !ifndef NLM_DESCRIPTION
389 NLM_DESCRIPTION = $(NLM_NAME8) for NetWare
401 BUILT = $(BLDDIR)\$(NLM_NAME8).$(NLM_EXT)
404 !ifndef BASE_IMPORT_FILES
405 BASE_IMPORT_FILES = Import @$(NLMIMPORTS)\clib.imp, @$(NLMIMPORTS)\nlmlib.imp, @$(NLMIMPORTS)\threads.imp, @$(NLMIMPORTS)\nit.imp, @$(NLMIMPORTS)\socklib.imp, \
406 @$(NLMIMPORTS)\fpsm.imp, @$(NLMIMPORTS)\lib0.imp
410 BASE_IMPORT_FILES = $(BASE_IMPORT_FILES), @$(SECURITY_IMPORTS)\nwsec.imp
411 !endif # !ifdef SECURITYBASE
414 BASE_IMPORT_FILES = $(BASE_IMPORT_FILES), @$(MPKBASE)\import\mpkorg.imp
417 !ifndef BASE_IMPORT_FNS
418 BASE_IMPORT_FNS = Import ImportSymbol, GetSystemConsoleScreen, LoadModule
425 !else # !ifdef CODEWAR
426 !error Please define the tools base directory before proceeding
427 !endif # !ifdef CODEWAR
429 !ifndef BASE_LIBRARIES
431 BASE_LIBRARIES = Library plib3s.lib, math3s.lib, clib3s.lib
432 !endif # !ifdef WATCOM
435 !endif # !ifdef CODEWAR
436 !endif # !ifndef BASE_LIBRARIES
439 COPYRIGHT = Copyright (C) 2000-01, 2002 Novell, Inc. All Rights Reserved.
441 EXPORTS = Export @perl.imp
444 # Set these to wherever you want "nmake install" to put your
448 INST_TOP = $(INST_DRV)\perl
452 INST_NW_TOP1 = $(INST_NW_VOL)\perl
453 INST_NW_TOP2 = $(INST_NW_DRV)\perl
454 #INST_NW_VER = \5.6.1
457 # Comment this out if you DON'T want your perl installation to be versioned.
458 # This means that the new installation will overwrite any files from the
459 # old installation at the same INST_TOP location. Leaving it enabled is
460 # the safest route, as perl adds the extra version directory to all the
461 # locations it installs files to. If you disable it, an alternative
462 # versioned installation can be obtained by setting INST_TOP above to a
463 # path that includes an arbitrary version string.
468 # Comment this out if you DON'T want your perl installation to have
469 # architecture specific components. This means that architecture-
470 # specific files will be installed along with the architecture-neutral
471 # files. Leaving it enabled is safer and more flexible, in case you
472 # want to build multiple flavors of perl and install them together in
473 # the same location. Commenting it out gives you a simpler
474 # installation that is easier to understand for beginners.
476 INST_ARCH = \$(ARCHNAME)
479 # uncomment to enable multiple interpreters. This is need for fork()
486 # Beginnings of interpreter cloning/threads; still very incomplete.
487 # This should be enabled to get the fork() emulation. This needs
490 USE_ITHREADS = define
493 # uncomment to enable the implicit "host" layer for all system calls
494 # made by perl. This needs USE_MULTI above. This is also needed to
499 # uncomment this to enable the experimental PerlIO I/O subsystem
500 # else USE_STDIO will be defined.
504 # For now let this be here
506 #CRYPT_SRC = fcrypt.c
508 # For now let this be here
510 #CRYPT_LIB = fcrypt.lib
513 # set this if you wish to use perl's malloc
514 # WARNING: Turning this on/off WILL break binary compatibility with extensions
515 # you may have compiled with/without it. Be prepared to recompile all
516 # extensions if you change the default. Currently, this cannot be enabled
517 # if you ask for USE_IMP_SYS above.
519 #PERL_MALLOC = define
522 # set this to your email address (perl will guess a value from
523 # from your loginname and your hostname, which may not be right)
528 ## Build configuration ends.
531 ##################### CHANGE THESE ONLY IF YOU MUST #####################
533 !IF "$(CRYPT_SRC)$(CRYPT_LIB)" == ""
537 CRYPT_FLAG = -DHAVE_DES_FCRYPT
540 !IF "$(PERL_MALLOC)" == ""
544 !IF "$(USE_IMP_SYS)" == "define"
548 !IF "$(USE_MULTI)" == ""
552 !IF "$(USE_ITHREADS)" == ""
556 !IF "$(USE_IMP_SYS)" == ""
560 !IF "$(USE_PERLCRT)" == ""
564 !IF "$(USE_IMP_SYS)$(USE_MULTI)" == "defineundef"
568 !IF "$(USE_ITHREADS)$(USE_MULTI)" == "defineundef"
572 !IF "$(USE_MULTI)" != "undef"
573 BUILDOPT = $(BUILDOPT) -DPERL_IMPLICIT_CONTEXT
576 !IF "$(USE_IMP_SYS)" != "undef"
577 BUILDOPT = $(BUILDOPT) -DPERL_IMPLICIT_SYS
580 !IF "$(PROCESSOR_ARCHITECTURE)" == ""
581 PROCESSOR_ARCHITECTURE = x86
584 !IF "$(USE_MULTI)" == "define"
585 ARCHNAME = NetWare-$(PROCESSOR_ARCHITECTURE)-multi
587 ARCHNAME = NetWare-$(PROCESSOR_ARCHITECTURE)
590 !IF "$(USE_MULTI)" != "undef"
591 ADD_BUILDOPT = $(ADD_BUILDOPT) -DPERL_IMPLICIT_CONTEXT
594 !IF "$(USE_IMP_SYS)" != "undef"
595 ADD_BUILDOPT = $(ADD_BUILDOPT) -DPERL_IMPLICIT_SYS
598 !IF "$(USE_ITHREADS)" == "define"
599 ARCHNAME = $(ARCHNAME)-thread
602 !IF "$(USE_PERLIO)" == "define"
604 ADD_BUILDOPT = $(ADD_BUILDOPT) -DUSE_PERLIO
605 ARCHNAME = $(ARCHNAME)-perlio
608 #ADD_BUILDOPT = $(ADD_BUILDOPT) -DUSE_STDIO
612 ARCHDIR = ..\lib\$(ARCHNAME)
613 COREDIR = ..\lib\CORE
614 AUTODIR = ..\lib\auto
618 EXTUTILSDIR = $(LIBDIR)\ExtUtils
621 INST_SCRIPT = $(INST_TOP)$(INST_VER)\bin
622 INST_BIN = $(INST_SCRIPT)$(INST_ARCH)
623 INST_LIB = $(INST_TOP)$(INST_VER)\lib
624 INST_ARCHLIB = $(INST_LIB)$(INST_ARCH)
625 INST_COREDIR = $(INST_ARCHLIB)\CORE
626 INST_POD = $(INST_LIB)\pod
627 INST_HTML = $(INST_POD)\html
637 #################### do not edit below this line #######################
638 ############# NO USER-SERVICEABLE PARTS BEYOND THIS POINT ##############
646 .SUFFIXES : .c $(o) .nlm .lib .NLM
651 PERLIMPLIB = ..\perl.lib
653 MINIPERL = ..\miniperl.exe
654 CONFIGPM = ..\lib\Config.pm
655 MINIMOD = ..\lib\ExtUtils\Miniperl.pm
658 PL2BAT = ..\win32\bin\pl2bat.pl
679 #NMAKE = $(C_COMPILER) $(INCLUDE) $(NLM_INCLUDES) $(COMPLER_FLAGS) $(ADD_LOCDEFS) $(ERROR_FLAG) $(*F).c -o $@
681 XCOPY = xcopy /f /r /i /d
682 RCOPY = xcopy /f /r /i /e /d
687 # filenames given to xsubpp must have forward slashes (since it puts
688 # full pathnames in #line strings)
689 XSUBPP = ..\$(MINIPERL) -I..\..\lib ..\$(EXTUTILSDIR)\xsubpp -C++ -prototypes
728 #EXTRACORE_SRC = $(EXTRACORE_SRC) perllib.c
730 !IF "$(PERL_MALLOC)" == "define"
731 EXTRACORE_SRC = $(EXTRACORE_SRC) ..\malloc.c
734 #EXTRACORE_SRC = $(EXTRACORE_SRC) ..\perlio.c
736 !IF "$(CRYPT_SRC)" != ""
737 NW_SRC = $(NW_SRC) .\$(CRYPT_SRC)
740 DLL_SRC = $(DYNALOADER).c
784 CORE_H = $(CORE_NOCFG_H) .\config.h
786 DLL_OBJ = $(DLL_SRC:.c=.obj)
787 X2P_OBJ = $(X2P_SRC:.c=.obj)
789 DYNAMIC_EXT = Socket IO Fcntl Opcode SDBM_File POSIX attributes B re \
790 Data/Dumper Devel/Peek ByteLoader File/Glob \
791 Storable/Storable List/Util MIME/Base64/Base64 XS/APItest/APItest \
792 XS/Typemap/Typemap Unicode/Collate/Collate Unicode/Normalize/Normalize Sys/Hostname
794 STATIC_EXT = DynaLoader
797 DYNALOADER = $(EXTDIR)\DynaLoader\DynaLoader
798 SOCKET = $(EXTDIR)\Socket\Socket
799 FCNTL = $(EXTDIR)\Fcntl\Fcntl
800 OPCODE = $(EXTDIR)\Opcode\Opcode
801 SDBM_FILE = $(EXTDIR)\SDBM_File\SDBM_File
803 POSIX = $(EXTDIR)\POSIX\POSIX
804 ATTRIBUTES = $(EXTDIR)\attributes\attributes
807 DUMPER = $(EXTDIR)\Data\Dumper\Dumper
808 ERRNO = $(EXTDIR)\Errno\Errno
809 PEEK = $(EXTDIR)\Devel\Peek\Peek
810 BYTELOADER = $(EXTDIR)\ByteLoader\ByteLoader
811 GLOB = $(EXTDIR)\File\Glob\Glob
812 HOSTNAME = $(EXTDIR)\Sys\Hostname\Hostname
813 CWD = $(EXTDIR)\Cwd\Cwd
814 STORABLE = $(EXTDIR)\Storable\Storable
815 LISTUTIL = $(EXTDIR)\List\Util
816 MIMEBASE64 = $(EXTDIR)\MIME\Base64\Base64
817 XSAPITEST = $(EXTDIR)\XS\APItest\APItest
818 XSTYPEMAP = $(EXTDIR)\XS\Typemap\Typemap
819 UNICODENORMALIZE = $(EXTDIR)\Unicode\Normalize\Normalize
820 UNICODECOLLATE = $(EXTDIR)\Unicode\Collate\Collate
822 ERRNO_PM_NW = $(LIBDIR)\Errno.pm
845 $(UNICODENORMALIZE).c \
850 POD2HTML = $(PODDIR)\pod2html
851 POD2MAN = $(PODDIR)\pod2man
852 POD2LATEX = $(PODDIR)\pod2latex
853 POD2TEXT = $(PODDIR)\pod2text
859 all : .cleanoldfiles .\nwconfig.h $(CONFIGPM) $(NLM_NAME) $(EXTENSION_NLM) $(EXTENSION_NPM) $(TEST_NLMS) $(NETWARE_EXTNS)
861 #------------------------------------------------------------
863 ..\config.sh : config.nw5 $(MINIPERL) config_sh.PL
864 $(MINIPERL) -I..\lib config_sh.PL $(NW_CFG_VARS) config.nw5 > ..\config.sh
866 # this target is for when changes to the main config.sh happen
867 # edit config.wc and make this target
869 perl config_sh.PL $(NW_CFG_VARS) $(NW_CFGSH_TMPL) > ..\config.sh
874 -del /f /q $(NW_CFGH_TMPL)
876 -perl -I..\lib config_h.PL "INST_VER=$(INST_VER)"
877 rename config.h $(NW_CFGH_TMPL)
879 $(CONFIGPM) : $(MINIPERL) ..\config.sh config_h.PL ..\minimod.pl
880 cd .. && miniperl configpm
881 if exist lib\* $(RCOPY) lib\*.* ..\lib\$(NULL)
882 $(XCOPY) ..\*.h $(COREDIR)\*.*
883 $(XCOPY) *.h $(COREDIR)\*.*
884 $(XCOPY) ..\ext\re\re.pm $(LIBDIR)\*.*
885 if exist include\* $(RCOPY) include $(COREDIR)\*.*
886 $(MINIPERL) -I..\lib config_h.PL "INST_VER=$(INST_VER)" \
887 || $(MAKE) /$(MAKEFLAGS) $(CONFIGPM)
891 $(error)Please build $(MINIPERL) before continuing
893 $(MINIMOD) : $(MINIPERL) ..\minimod.pl
894 cd .. && miniperl minimod.pl > lib\ExtUtils\Miniperl.pm
896 ..\x2p\a2p$(o) : ..\x2p\a2p.c
897 @echo $(MPKMESSAGE)...$(BLDMESG)...$@
898 $(C_COMPILER) $(COMPLER_FLAGS) $(NLM_INCLUDES) -I..\x2p $(ADD_LOCDEFS) $(ERROR_FLAG) $*.c -o $@
901 ..\x2p\hash$(o) : ..\x2p\hash.c
902 @echo $(MPKMESSAGE)...$(BLDMESG)...$@
903 $(C_COMPILER) $(COMPLER_FLAGS) $(NLM_INCLUDES) -I..\x2p $(ADD_LOCDEFS) $(ERROR_FLAG) $*.c -o $@
906 ..\x2p\str$(o) : ..\x2p\str.c
907 @echo $(MPKMESSAGE)...$(BLDMESG)...$@
908 $(C_COMPILER) $(COMPLER_FLAGS) $(NLM_INCLUDES) -I..\x2p $(ADD_LOCDEFS) $(ERROR_FLAG) $*.c -o $@
911 ..\x2p\util$(o) : ..\x2p\util.c
912 @echo $(MPKMESSAGE)...$(BLDMESG)...$@
913 $(C_COMPILER) $(COMPLER_FLAGS) $(NLM_INCLUDES) -I..\x2p $(ADD_LOCDEFS) $(ERROR_FLAG) $*.c -o $@
916 ..\x2p\walk$(o) : ..\x2p\walk.c
917 @echo $(MPKMESSAGE)...$(BLDMESG)...$@
918 $(C_COMPILER) $(COMPLER_FLAGS) $(NLM_INCLUDES) -I..\x2p $(ADD_LOCDEFS) $(ERROR_FLAG) $*.c -o $@
921 $(X2P) : $(MINIPERL) $(X2P_OBJ)
922 @echo Building $@..........
923 $(MINIPERL) ..\x2p\find2perl.PL
924 $(MINIPERL) ..\x2p\s2p.PL
925 # Linker definitions and lining come here for CODEWARRIOR
926 @echo $(BASE_IMPORT_FILES) > $*.def
927 @echo MODULE clib >> $*.def
928 @echo Import @perl.imp >> $*.def
930 $(MPKTOOL) $(XDCFLAGS) $*.xdc
931 @echo Import Mp.imp >> $*.def
932 @echo xdcdata $*.xdc >> $*.def
934 ## $(LINK) $(LDFLAGS) $(BS_CFLAGS) -desc "Awk to Perl Translator" $(X2P_OBJ) $(BLDDIR)\clibstuf.obj -commandfile $*.def -o $@
935 $(LINK) $(LDFLAGS) -desc "Awk to Perl Translator" $(X2P_OBJ) $(BLDDIR)\clibstuf.obj -commandfile $*.def -o $@
937 $(EXTDIR)\DynaLoader\dl_netware.xs: dl_netware.xs
938 copy dl_netware.xs $(EXTDIR)\DynaLoader\dl_netware.xs
941 @echo . . . . making stdio.h and string.h
942 @copy << stdio.h >\nul
945 * Copyright (C) 2000-01 Novell, Inc. All Rights Reserved.
947 * You may distribute under the terms of either the GNU General Public
948 * License or the Artistic License, as specified in the README file.
954 * DESCRIPTION : Generated header file, do not edit. See makefile.
955 * This header file causes the includer to use clibstuf.h
956 * The purpose of clibstuf is to make sure that Perl, cgi2perl and
957 * all the perl extension nlm's (*.NLM) use the Novell Netware CLIB versions
958 * of standard functions. This code loads up a whole bunch of function pointers
959 * to point at the standard CLIB functions.
961 * Date : January 2001.
970 #include "$(NLMSDKBASE)\INCLUDE\NLM\stdio.h"
971 #include "clibsdio.h"
974 #endif // __Stdio_H__
977 @copy stdio.h $(COREDIR)
979 @copy << string.h >\nul
982 * Copyright (C) 2000-01 Novell, Inc. All Rights Reserved.
984 * You may distribute under the terms of either the GNU General Public
985 * License or the Artistic License, as specified in the README file.
990 * FILENAME : string.h
991 * DESCRIPTION : Generated header file, do not edit. See makefile.
992 * This header file causes the includer to use clibstuf.h
993 * The purpose of clibstuf is to make sure that Perl, cgi2perl and
994 * all the perl extension nlm's (*.NLM) use the Novell Netware CLIB versions
995 * of standard functions. This code loads up a whole bunch of function pointers
996 * to point at the standard CLIB functions.
998 * Date : January 2001.
1003 #ifndef __String_H__
1004 #define __String_H__
1007 #include "$(NLMSDKBASE)\INCLUDE\NLM\string.h"
1008 #include "clibstr.h"
1011 #endif // __String_H__
1014 @copy string.h $(COREDIR)
1017 $(NLM_NAME): MESSAGE HEADERS $(BLDDIR)\nul $(NLM_OBJ) $(NEWTARE_OBJ_DEP) $(NEWTARE_CPP_OBJ_DEP) $(PERL_IO_OBJ_DEP) $(DLL_OBJ) \
1018 $(PERLIMPLIB) $(EXT_MAIN_OBJ) $(PERL_TEMP_OBJ) #$(PERL_LIB_OBJ)
1019 @echo======= Linking $@ at $(MAKEDIR)\$(BLDDIR) =======
1020 # Linker definitions and lining come here for CODEWARRIOR
1021 @echo $(BASE_IMPORT_FILES) > $*.def
1022 @echo MODULE clib >> $*.def
1023 @echo MODULE netdb >> $*.def
1025 @echo MODULE nwsec >> $*.def
1026 !endif #!ifdef SECURITYBASE
1027 @echo $(EXPORTS) >> $*.def
1029 @echo======= Creating XDC file
1030 @echo Import Mp.imp >> $*.def
1032 $(MPKTOOL) $(XDCFLAGS) $(BLDDIR)\$(NLM_NAME8).xdc
1033 @echo xdcdata $(BLDDIR)\$(NLM_NAME8).xdc >> $*.def
1035 $(MPKTOOL) $(XDCFLAGS) $(BLDDIR)\$(NLM_NAME).xdc
1036 @echo xdcdata $(BLDDIR)\$(NLM_NAME).xdc >> $*.def
1039 ## $(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)\$@
1040 $(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)\$@
1041 copy splittree.pl ..
1042 $(MINIPERL) -I..\lib ..\splittree.pl "../LIB" $(AUTODIR)
1043 @echo ========Linked $@ ==========
1045 @echo======= Finished building $(BUILT).
1047 # Create the debug or release directory if not existing
1049 @echo . . . . mkdir $(BLDDIR)
1051 @echo '$(BLDDIR)' directory created.
1054 @echo======= $(MAKE_ACTION)ing $(NLM_NAME) at $(MAKEDIR)\$(BLDDIR) =======
1056 $(PERLIMPLIB): perllib.imp
1057 # @echo Building $(PERLIMPLIB)...
1058 # $(LD) -type library $(NLM_OBJ) $(BLDDIR)\nw5.obj $(BLDDIR)\nwmain.obj $(BLDDIR)\nw5thread.obj $(BLDDIR)\nwtinfo.obj \
1059 # $(BLDDIR)\nwutil.obj $(BLDDIR)\interface.obj $(BLDDIR)\perllib.obj $(PERL_IO_OBJ_DEP) $(DLL_OBJ) -o $@
1060 # $(XCOPY) $(PERLIMPLIB) $(COREDIR)
1061 # @echo $(PERLIMPLIB) Done
1063 perllib.imp : $(MINIPERL) $(CONFIGPM) ..\embed.fnc ..\makedef.pl
1064 # $(MINIPERL) -w ..\makedef.pl PLATFORM=netware FILETYPE=def $(ADD_BUILDOPT) \
1065 # CCTYPE=$(CCTYPE) TARG_DIR=..\ > perllib.def
1066 @echo (Perl) > perl.imp
1067 $(MINIPERL) -w ..\makedef.pl PLATFORM=netware FILETYPE=imp $(BS_CFLAGS) $(DEFINES) $(ADD_BUILDOPT) \
1068 CCTYPE=$(CCTYPE) TARG_DIR=..\ >> perl.imp
1069 copy perl.imp $(COREDIR)
1071 $(DLL_OBJ) : $(DYNALOADER).c $(CORE_H) $(EXTDIR)\DynaLoader\dlutils.c
1072 @echo $(MPKMESSAGE)...$(BLDMESG)...$@
1073 @$(C_COMPILER) $(NLM_INCLUDES) $(COMPLER_FLAGS) $(NLM_INCLUDES) $(ADD_LOCDEFS) $(ERROR_FLAG) -I$(EXTDIR)\DynaLoader \
1074 $(EXTDIR)\DynaLoader\$(*F).c -o $@
1077 $(DYNALOADER).c : $(MINIPERL) $(EXTDIR)\DynaLoader\dl_netware.xs $(CONFIGPM)
1078 if not exist $(AUTODIR) mkdir $(AUTODIR)
1080 ..\$(MINIPERL) -I..\..\lib $(*B)_pm.PL
1081 ..\$(MINIPERL) -I..\..\lib XSLoader_pm.PL
1083 $(XCOPY) $(EXTDIR)\$(*B)\$(*B).pm $(LIBDIR)\$(NULL)
1084 $(XCOPY) $(EXTDIR)\$(*B)\XSLoader.pm $(LIBDIR)\$(NULL)
1086 $(XSUBPP) dl_netware.xs > $(*B).c
1088 @echo Dynaloader Done
1091 $(PERL_IO_OBJ_DEP) : ..\$(*F).c
1092 @echo $(MPKMESSAGE) $(BLDMESG) $@
1093 $(C_COMPILER) $(COMPLER_FLAGS) $(NLM_INCLUDES) $(ADD_LOCDEFS) $(ERROR_FLAG) ..\$(*F).c -o $@
1096 $(NLM_OBJ) : ..\$(*F).c
1097 @echo $(MPKMESSAGE) $(BLDMESG) $@
1098 $(C_COMPILER) $(COMPLER_FLAGS) $(NLM_INCLUDES) $(ADD_LOCDEFS) $(ERROR_FLAG) ..\$(*F).c -o $@
1102 $(NEWTARE_OBJ_DEP) : $(NW_H_FILES) $(NW_HOST_H_FILES) $(*F).c
1103 @echo $(MPKMESSAGE) $(BLDMESG) $@
1104 $(C_COMPILER) $(COMPLER_FLAGS) $(NLM_INCLUDES) $(ADD_LOCDEFS) $(ERROR_FLAG) $(*F).c -o $@
1107 $(NEWTARE_CPP_OBJ_DEP) : $(NW_H_FILES) $(NW_HOST_H_FILES) $(*F).cpp
1108 @echo $(MPKMESSAGE) $(BLDMESG) $@
1109 $(C_COMPILER) $(CWCPPFLAGS) $(COMPLER_FLAGS) $(NLM_INCLUDES) $(ADD_LOCDEFS) $(ERROR_FLAG) $(*F).cpp -o $@
1112 $(EXT_MAIN_OBJ) : $(CLIB_H_FILES)
1113 @echo $(MPKMESSAGE) $(BLDMESG) $@
1114 $(C_COMPILER) $(NLM_INCLUDES) $(COMPLER_FLAGS) $(ADD_LOCDEFS) $(ERROR_FLAG) $(*F).c -o $@
1115 $(LD) -type library $@ -o $*.lib
1116 @copy $*.lib $(COREDIR)
1118 # Delete any files that might have got created during building miniperl.exe
1119 # config.sh will definitely be created
1120 # COREDIR might have got created
1122 -del /f /q $(PERLIMPLIB)
1123 -del /f /q ..\lib\config.pm
1124 -del /f /q ..\config.sh
1125 -del /f /q .\Main.obj
1126 -del /f /q .\Main.lib
1127 -rmdir /s /q $(AUTODIR)
1128 -rmdir /s /q $(COREDIR)
1129 -del /f /q ..\lib\core
1131 .\nwconfig.h : $(NW_CFGH_TMPL)
1132 @if exist .\config.h del /f /q .\config.h
1133 copy $(NW_CFGH_TMPL) config.h
1135 # REQUIRED WHEN WE INCLUDE CONFIGPM OR REGEN_CONFIG - sgp
1136 #..\nwconfig.sh : config.nw5 $(MINIPERL) config_sh.PL
1137 # $(MINIPERL) -I..\lib config_sh.PL $(NW_CFG_VARS) config.nw5 > ..\config.sh
1140 # del /f /q config.sh
1141 # rename nwconfig.sh config.sh
1144 config.nw5 : $(NW_CFGSH_TMPL)
1145 copy $(NW_CFGSH_TMPL) config.nw5
1147 $(SOCKET_NLM): $(NLM_NAME) $(SOCKET).xs
1149 ..\..\miniperl -I..\..\lib Makefile.PL PERL_CORE=1 INSTALLDIRS=perl
1153 $(HOSTNAME_NLM): $(NLM_NAME) $(HOSTNAME).xs
1154 cd $(EXTDIR)\Sys\$(*B)
1155 ..\..\..\miniperl -I..\..\..\lib Makefile.PL PERL_CORE=1 INSTALLDIRS=perl
1161 ..\..\miniperl -I..\..\lib Makefile.PL PERL_CORE=1 INSTALLDIRS=perl
1167 ..\..\miniperl -I..\..\lib Makefile.PL PERL_CORE=1 INSTALLDIRS=perl
1173 ..\..\miniperl -I..\..\lib Makefile.PL PERL_CORE=1 INSTALLDIRS=perl
1179 ..\..\miniperl -I..\..\lib Makefile.PL PERL_CORE=1 INSTALLDIRS=perl
1184 cd $(EXTDIR)\Data\$(*B)
1185 ..\..\..\miniperl -I..\..\..\lib Makefile.PL PERL_CORE=1 INSTALLDIRS=perl
1190 cd $(EXTDIR)\Devel\$(*B)
1191 ..\..\..\miniperl -I..\..\..\lib Makefile.PL PERL_CORE=1 INSTALLDIRS=perl
1197 ..\..\miniperl -I..\..\lib Makefile.PL PERL_CORE=1 INSTALLDIRS=perl
1203 ..\..\miniperl -I..\..\lib Makefile.PL PERL_CORE=1 INSTALLDIRS=perl
1208 cd $(EXTDIR)\File\$(*B)
1209 ..\..\..\miniperl -I..\..\..\lib Makefile.PL PERL_CORE=1 INSTALLDIRS=perl
1215 ..\..\miniperl -I..\..\lib Makefile.PL PERL_CORE=1 INSTALLDIRS=perl
1221 ..\..\miniperl -I..\..\lib Makefile.PL PERL_CORE=1 INSTALLDIRS=perl
1227 ..\..\miniperl -I..\..\lib Makefile.PL PERL_CORE=1 INSTALLDIRS=perl
1233 ..\..\miniperl -I..\..\lib Makefile.PL PERL_CORE=1 INSTALLDIRS=perl
1239 ..\..\miniperl -I..\..\lib Makefile.PL PERL_CORE=1 INSTALLDIRS=perl
1244 cd $(EXTDIR)\List\$(*B)
1245 ..\..\..\miniperl -I..\..\lib Makefile.PL PERL_CORE=1 INSTALLDIRS=perl
1250 cd $(EXTDIR)\Mime\$(*B)
1251 ..\..\..\miniperl -I..\..\lib Makefile.PL PERL_CORE=1 INSTALLDIRS=perl
1256 cd $(EXTDIR)\XS\$(*B)
1257 ..\..\..\miniperl -I..\..\lib Makefile.PL PERL_CORE=1 INSTALLDIRS=perl
1262 cd $(EXTDIR)\XS\$(*B)
1263 ..\..\..\miniperl -I..\..\lib Makefile.PL PERL_CORE=1 INSTALLDIRS=perl
1267 $(UNICODENORMALIZE_NLM):
1268 cd $(EXTDIR)\Unicode\$(*B)
1269 ..\..\..\miniperl -I..\..\lib Makefile.PL PERL_CORE=1 INSTALLDIRS=perl
1277 ..\..\miniperl -I..\..\lib Makefile.PL PERL_CORE=1 INSTALLDIRS=perl
1281 $(ECHO_SRC_OBJ): $*.c
1282 @echo $(MPKMESSAGE) $(BLDMESG) $@
1283 $(C_COMPILER) $(NLM_INCLUDES) $(COMPLER_FLAGS) $(ADD_LOCDEFS) $(ERROR_FLAG) $*.c -o $@
1286 $(ECHO_NLM): $(ECHO_SRC_OBJ)
1287 @echo======= Linking $@ =======
1288 # Linker definitions and lining come here for CODEWARRIOR
1289 @echo $(BASE_IMPORT_FILES) > $*.def
1290 @echo MODULE clib >> $*.def
1291 @echo Import @perl.imp >> $*.def
1293 $(MPKTOOL) $(XDCFLAGS) $*.xdc
1294 @echo Import @MP.imp >> $*.def
1295 @echo xdcdata $*.xdc >> $*.def
1297 ## $(LINK) $(LDFLAGS) $(BS_CFLAGS) -desc "DOS Echo emulation for Perl testing" $(ECHO_SRC_OBJ) $(BLDDIR)\clibstuf.obj -commandfile $*.def -o $@
1298 $(LINK) $(LDFLAGS) -desc "DOS Echo emulation for Perl testing" $(ECHO_SRC_OBJ) $(BLDDIR)\clibstuf.obj -commandfile $*.def -o $@
1299 @echo======= Linking Complete =======
1301 $(TYPE_SRC_OBJ): $*.c
1302 @echo $(MPKMESSAGE) $(BLDMESG) $@
1303 $(C_COMPILER) $(NLM_INCLUDES) $(COMPLER_FLAGS) $(ADD_LOCDEFS) $(ERROR_FLAG) $*.c -o $@
1306 $(TYPE_NLM): $(TYPE_SRC_OBJ)
1307 @echo======= Linking $@ =======
1308 # Linker definitions and lining come here for CODEWARRIOR
1309 @echo $(BASE_IMPORT_FILES) > $*.def
1310 @echo MODULE clib >> $*.def
1311 @echo Import @perl.imp >> $*.def
1313 $(MPKTOOL) $(XDCFLAGS) $*.xdc
1314 @echo Import @MP.imp >> $*.def
1315 @echo xdcdata $*.xdc >> $*.def
1317 ## $(LINK) $(LDFLAGS) $(BS_CFLAGS) -desc "DOS Type emulation for Perl testing" $(TYPE_SRC_OBJ) $(BLDDIR)\clibstuf.obj -commandfile $*.def -o $@
1318 $(LINK) $(LDFLAGS) -desc "DOS Type emulation for Perl testing" $(TYPE_SRC_OBJ) $(BLDDIR)\clibstuf.obj -commandfile $*.def -o $@
1319 @echo======= Linking Complete =======
1322 # Build NetWare specific extensions
1324 !if "$(NW_EXTNS)"=="yes"
1326 ..\..\miniperl -I..\..\lib Makefile.PL "CCCDLFLAGS=-bool on -lang c++" PERL_CORE=1 INSTALLDIRS=perl
1332 !if "$(NW_EXTNS)"=="yes"
1334 ..\..\miniperl -I..\..\lib Makefile.PL "CCCDLFLAGS=-bool on -lang c++" PERL_CORE=1 INSTALLDIRS=perl
1340 !if "$(NW_EXTNS)"=="yes"
1342 ..\..\miniperl -I..\..\lib Makefile.PL "CCCDLFLAGS=-bool on -lang c++" PERL_CORE=1 INSTALLDIRS=perl
1348 -rmdir /s /q $(REL_DIR)
1349 -rmdir /s /q $(DEB_DIR)
1350 @if exist .\stdio.h del /f /q .\stdio.h
1351 @if exist .\string.h del /f /q .\string.h
1352 @if exist .\config.h del /f /q .\config.h
1353 @if exist .\config.nw5 del /f /q .\config.nw5
1354 @if exist .\perl.imp del /f /q .\perl.imp
1355 -del /f /q *.obj *.lib *.def *.sym *.map *.xdc *.err *.nlm
1357 -del /f /q *.obj *.map *.link *.options *.nlm *.sym *.xdc *.err *.lib *.def *.pdb *.bs
1359 -del /f /q *.obj *.map *.link *.options *.nlm *.sym *.xdc *.err *.lib *.def *.pdb *.bs
1362 utils: $(BLDDIR)\$(NLM_NAME8).$(NLM_EXT) $(X2P)
1364 $(MAKE) PERL=$(MINIPERL)
1366 copy ..\README.amiga .\perlamiga.pod
1367 copy ..\README.cygwin .\perlcygwin.pod
1368 copy ..\README.dos .\perldos.pod
1369 copy ..\README.hpux .\perlhpux.pod
1370 copy ..\README.os2 .\perlos2.pod
1371 copy ..\vms\perlvms.pod .\perlvms.pod
1372 copy ..\README.win32 .\perlwin32.pod
1373 copy ..\README.netware .\perlnw5.pod
1374 $(MAKE) -f ..\win32\pod.mak converters
1377 $(MINIPERL) $(PL2BAT) $(UTILS)
1379 distclean: clean nwclean
1380 -del /f /q $(PERLIMPLIB) ..\miniperl.lib $(MINIMOD)
1381 -del /f /q $(EXTENSION_NPM)
1382 -del /f /q $(EXTENSION_C) $(DYNALOADER).c $(ERRNO).pm
1383 -del /f /q $(EXTDIR)\DynaLoader\dl_netware.xs
1384 -del /f /q $(EXTDIR)\DynaLoader\dl_win32.xs
1385 -del /f /q $(EXTDIR)\DynaLoader\DynaLoader.pm
1386 -del /f /q $(EXTDIR)\DynaLoader\XSLoader.pm
1387 -del /f /q $(LIBDIR)\.exists $(LIBDIR)\attributes.pm $(LIBDIR)\DynaLoader.pm
1388 -del /f /q $(LIBDIR)\XSLoader.pm
1389 -del /f /q $(LIBDIR)\Fcntl.pm $(LIBDIR)\IO.pm $(LIBDIR)\Opcode.pm
1390 -del /f /q $(LIBDIR)\ops.pm $(LIBDIR)\Safe.pm
1391 -del /f /q $(LIBDIR)\SDBM_File.pm $(LIBDIR)\Socket.pm $(LIBDIR)\POSIX.pm
1392 -del /f /q $(LIBDIR)\B.pm $(LIBDIR)\O.pm $(LIBDIR)\re.pm
1393 -del /f /q $(LIBDIR)\Data\Dumper.pm $(LIBDIR)\ByteLoader.pm
1394 -del /f /q $(LIBDIR)\Devel\Peek.pm
1395 -del /f /q $(LIBDIR)\File\Glob.pm
1396 -del /f /q $(LIBDIR)\Unicode\Normalize.pm
1397 -del /f /q $(LIBDIR)\Unicode\Collate.pm
1398 -rmdir /s /q $(LIBDIR)\IO
1399 -rmdir /s /q $(LIBDIR)\B
1400 -rmdir /s /q $(LIBDIR)\Data
1401 -del /f /q $(PODDIR)\*.html
1402 -del /f /q $(PODDIR)\*.bat
1404 -del /f /q h2ph splain perlbug pl2pm c2ph h2xs perldoc
1408 -del /f /q find2perl s2p
1409 -del /f /q *.bat *.exe
1410 -del /f /q *.obj *.map *.link *.xdc *.err
1412 -del /f /q ..\config.sh ..\splittree.pl dlutils.c config.h.new
1413 -del /f /q $(CONFIGPM)
1414 -del /f /q bin\*.bat
1416 -del /s /q /f *.lib *.def *.map *.pdb *.bs Makefile *$(o) pm_to_blib *.xdc *.err *.obj *.sym
1418 !if "$(NW_EXTNS)"=="yes"
1420 -del /f /q *.obj *.bs Makefile *$(o) *.c pm_to_blib *.xdc *.err *.sym *.map *.def *.lib *.pdb
1423 -del /f /q *.obj *.bs Makefile *$(o) *.c pm_to_blib *.xdc *.err *.sym *.map *.def *.lib *.pdb
1426 -del /f /q *.obj *.bs Makefile *$(o) *.c pm_to_blib *.xdc *.err *.sym *.map *.c
1429 -rmdir /s /q $(AUTODIR)
1430 -rmdir /s /q $(COREDIR)
1431 -del /f /q ..\config.sh
1434 $(MINIPERL) -I..\lib ..\installperl
1436 install : utils installwin perlimp
1439 copy perl.imp $(INST_COREDIR)
1442 $(MINIPERL) -I..\lib ..\installperl -netware
1446 xcopy /f /r /i /s /d *.* $(INST_NW_TOP2)\scripts\t
1448 xcopy /f /r /i /s /d *.t $(INST_NW_TOP2)\scripts\t\lib
1450 xcopy /f /r /i /s /d *.t $(INST_NW_TOP2)\scripts\t\ext
1452 xcopy /f /r /i /s /d *.pl $(INST_NW_TOP2)\scripts\t
1455 nwinstall: utils installnw install_tests
1457 inst_lib : $(CONFIGPM)
1458 copy ..\win32\splittree.pl ..
1459 $(MINIPERL) -I..\lib ..\splittree.pl "../LIB" $(AUTODIR)
1460 $(RCOPY) ..\lib $(INST_LIB)\*.*
1463 -@erase miniperlmain$(o)
1466 -@erase ..\*$(o) ..\*.lib ..\*.exp *$(o) *.lib *.exp *.res
1467 -@erase ..\t\*.exe ..\t\*.dll ..\t\*.bat
1468 -@erase ..\x2p\*.nlm ..\x2p\*.bat