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: 25th March 2002
30 NW_FLAGS = -DNETWARE -DNLM_PLATFORM -DNETDB_USE_INTERNET
38 !message "Run bat\buildtype.bat to set the build type before continuing.\n"
40 !endif #!ifndef MAKE_TYPE
43 MPKFLAGS = -DMPK_ON -DIAPX386
44 MPKMESSAGE = MPK Build...
48 !message "Run bat\setnwbld.bat to set the NetWare MPK SDK before continuing.\n"
49 !endif #ifndef MPKBASE
50 NLM_INCLUDE_MP = -I$(MPKBASE)\include
51 MPKTOOL = $(MPKBASE)\$(XDCTOOL)
53 MPKMESSAGE = Non MPK Build...
63 #NLMSDKBASE = P:\ndk\nwsdk
64 !message "Run bat\setnwbld.bat to set the NetWare SDK before continuing.\n"
66 !endif #ifndef NLMSDKBASE
67 UCSINC = p:\apps\script\sw\ucs-inc
68 NLMIMPORTS = $(NLMSDKBASE)\imports
71 SECURITYBASE = P:\apps\script\sw\nwsec
72 !message "Run bat\SetSecSdk.bat to set the Security paths before continuing.\n"
74 !endif #!ifndef MAKE_TYPE
75 SECURITY_IMPORTS = $(SECURITYBASE)\imports
77 # Here comes the CW tools - TO BE FILLED TO BUILD WITH CW -
78 MODULE_DESC = "Perl 5.7.3 for NetWare"
80 C_COMPILER = mwccnlm -c
81 CPP_COMPILER = mwccnlm
84 NLM_LIB = mwldnlm -type library
87 CWCPPFLAGS = -cpp_exceptions on -wchar_t off -bool on -w on -ansi off
88 CCFLAGS = -maxerrors 25 -processor Pentium -align packed \
89 -w nounusedarg -msext on -sym on -sym codeview4 -sym internal \
90 -DN_PLAT_NLM -DNLM=1 -D__NO_MATH_OPS -msgstyle gcc
91 COMPILER_FLAG = -d NETWARE
92 ERROR_FLAG = -sym on -sym codeview4 -sym internal
93 LDFLAGS = -type generic -stacksize 16384 -zerobss \
94 -nofail -msgstyle gcc -nostderr -w on \
95 -nlmversion $(NLM_VERSION) \
96 -copy "Copyright (C) 2000-01\, 2002 Novell\, Inc. All Rights Reserved." \
97 -sym on -sym codeview4 -sym internal -osym perl.sym
99 # Debug flags comes here - Not mandatory - required only for debug build
100 !if "$(MAKE_TYPE)"=="Debug"
102 BLDMESG = Debug version,
104 BS_CFLAGS = -opt off -inline off -sym on -sym codeview4 -sym internal -DDEBUGGING -DDKFBPON
105 BLDMESG = $(BLDMESG) Using /d2 option
106 ##LDFLAGS = $(LDFLAGS) -sym on -sym codeview4 -sym internal -osym $(BLDDIR)\$*.sym
107 LDFLAGS = $(LDFLAGS) -sym on -sym codeview4 -sym internal
108 ## -osym $(BLDDIR)\$(NLM_NAME8).sym
110 BS_CFLAGS = -opt off -inline off -sym on -sym codeview4 -sym internal -DDEBUGGING -DDKFBPON
111 BLDMESG = $(BLDMESG) Using /d1 option
112 ##LDFLAGS = $(LDFLAGS) -sym on -sym codeview4 -sym internal -osym $(BLDDIR)\$*.sym
113 LDFLAGS = $(LDFLAGS) -sym on -sym codeview4 -sym internal
114 ## -osym $(BLDDIR)\$(NLM_NAME8).sym
115 !endif #!ifdef USE_D2
118 BLDMESG = Release version
119 ##BS_CFLAGS = -opt speed -inline smart -inline auto -sym off
121 !endif #if "$(MAKE_TYPE)"=="Debug" #!ifdef CODEWARRIOR
123 ADD_LOCDEFS = -DPERL_CORE
125 NLM_INCLUDE = -I$(NLMSDKBASE)\include
126 NLM_INCLUDE_NLM = -I$(NLMSDKBASE)\include\nlm
127 NLM_INCLUDE_NLM_SYS = -I$(NLMSDKBASE)\include\nlm\sys
128 NLM_INCLUDE_OBSLETE = -I$(NLMSDKBASE)\include\nlm\obsolete
129 # SECURITY_INCLUDE = -I$(SECURITYBASE)\include
130 NLM_INCLUDE_UCS = -I$(UCSINC)
131 !if "$(NW_EXTNS)"=="yes"
132 INCLUDE_NW = -I.\include
137 NLM_INCLUDE_PATH = $(NLM_INCLUDE) $(NLM_INCLUDE_NLM) $(NLM_INCLUDE_NLM_SYS) $(NLM_INCLUDE_OBSLETE) \
138 $(NLM_INCLUDE_MP) $(NLM_INCLUDE_UCS) $(TOOL_HEADERS)
139 INCLUDE = $(INC_THIS) $(INC_PREV) -I- $(NLM_INCLUDE_PATH)
141 PATH = $(PATH);$(TOOL_PATH)
143 NLM_INCLUDES = -I$(COREDIR) $(INCLUDE_NW)
145 CCFLAGS = $(CCFLAGS) $(INCLUDE)
147 COMPLER_FLAGS = $(BS_CFLAGS) $(ADD_BUILDOPT) $(NW_FLAGS) $(COMPILER_FLAG) $(MPKFLAGS) $(CCFLAGS)
203 #PERL_TMP_OBJ = $(PERL_TEMP_SRC:.c=.obj)
204 NW_SRC_OBJ = $(NW_SRC:.c=.obj)
205 NW_CPP_SRC_OBJ = $(NW_CPP_SRC:.cpp=.obj)
206 NLM_MICROCORE_OBJ = $(MICROCORE_SRC:.c=.obj)
207 PERL_LIB_OBJ = $(PERL_LIB_SRC:.c=.obj)
208 PERL_IO_OBJ = $(PERL_IO_SRC:.c=.obj)
209 NLM_CORE_OBJ = $(NLM_MICROCORE_OBJ)
210 EXT_MAIN_OBJ = $(EXT_MAIN_SRC:.c=.obj)
212 # For dependency checking
213 # $(BLDDIR) in place of Release or Debug is not working, should look into this - sgp
214 !if "$(BLDDIR)"=="Release"
215 NLM_OBJ = $(NLM_CORE_OBJ:..\=.\Release\)
216 NEWTARE_OBJ_DEP = $(NW_SRC_OBJ:.\=.\Release\)
217 NEWTARE_CPP_OBJ_DEP = $(NW_CPP_SRC_OBJ:.\=.\Release\)
218 PERL_LIB_OBJ_DEP = $(PERL_LIB_OBJ:.\=.\Release\)
219 PERL_IO_OBJ_DEP = $(PERL_IO_OBJ:..\=.\Release\)
221 NLM_OBJ = $(NLM_CORE_OBJ:..\=.\Debug\)
222 NEWTARE_OBJ_DEP = $(NW_SRC_OBJ:.\=.\Debug\)
223 NEWTARE_CPP_OBJ_DEP = $(NW_CPP_SRC_OBJ:.\=.\Debug\)
224 PERL_LIB_OBJ_DEP = $(PERL_LIB_OBJ:.\=.\Debug\)
225 PERL_IO_OBJ_DEP = $(PERL_IO_OBJ:..\=.\Debug\)
228 # Symbol base_import & version added for NETWARE
230 "INST_DRV=$(INST_DRV)" \
231 "INST_TOP=$(INST_TOP)" \
232 "INST_VER=$(INST_VER)" \
233 "INST_ARCH=$(INST_ARCH)" \
234 "INST_NW_TOP1=$(INST_NW_TOP1)" \
235 "INST_NW_TOP2=$(INST_NW_TOP2)" \
236 "INST_NW_VER=$(INST_NW_VER)" \
237 "archname=$(ARCHNAME)" \
240 "ccflags=$(COMPLER_FLAGS)" \
241 "cf_email=$(EMAIL)" \
242 "d_crypt=$(D_CRYPT)" \
243 "d_mymalloc=$(PERL_MALLOC)" \
244 # "libs=$(LIBFILES)" \
245 "incpath=$(NLM_INCLUDE_PATH)" \
246 "libperl=$(PERLIMPLIB:..\=)" \
247 "libpth=$(LIBPATH)" \
250 "static_ext=$(STATIC_EXT)" \
251 "dynamic_ext=$(DYNAMIC_EXT)" \
252 "nonxs_ext=$(NONXS_EXT)" \
253 "use5005threads=$(USE_5005THREADS)" \
254 "useithreads=$(USE_ITHREADS)" \
255 "usethreads=$(USE_5005THREADS)" \
256 "usemultiplicity=$(USE_MULTI)" \
258 "base_import=$(BASE_IMPORT_FILES)" \
259 "LINK_FLAGS=$(LINK_FLAGS:"=\")" \
261 "d_stdio_cnt_lval=undef" \
262 "d_stdio_ptr_lval=undef" \
263 "d_stdiobase=undef" \
267 "nlm_version=$(NLM_VERSION)" \
268 "d_archname=NetWare" \
269 "mpktool=$(MPKTOOL) $(XDCFLAGS)" \
270 "toolpath=$(TOOL_PATH)"
273 NW_CFGSH_TMPL = config.wc
274 NW_CFGH_TMPL = config_H.wc
276 SOCKET_NLM = $(AUTODIR)\Socket\Socket.NLM
277 FCNTL_NLM = $(AUTODIR)\Fcntl\Fcntl.NLM
278 IO_NLM = $(AUTODIR)\IO\IO.NLM
279 OPCODE_NLM = $(AUTODIR)\Opcode\Opcode.NLM
280 SDBM_FILE_NLM = $(AUTODIR)\SDBM_File\SDBM_File.NLM
281 POSIX_NLM = $(AUTODIR)\POSIX\POSIX.NLM
282 ATTRS_NLM = $(AUTODIR)\attrs\attrs.NLM
283 THREAD_NLM = $(AUTODIR)\Thread\Thread.NLM
284 B_NLM = $(AUTODIR)\B\B.NLM
285 DUMPER_NLM = $(AUTODIR)\Data\Dumper\Dumper.NLM
286 PEEK_NLM = $(AUTODIR)\Devel\Peek\Peek.NLM
287 RE_NLM = $(AUTODIR)\re\re.NLM
288 BYTELOADER_NLM = $(AUTODIR)\ByteLoader\ByteLoader.NLM
289 DPROF_NLM = $(AUTODIR)\Devel\DProf\DProf.NLM
290 GLOB_NLM = $(AUTODIR)\File\Glob\Glob.NLM
291 HOSTNAME_NLM = $(AUTODIR)\Sys\Hostname\Hostname.NLM
292 CWD_NLM = $(EXTDIR)\Cwd\Cwd.NLM
293 STORABLE_NLM = $(EXTDIR)\Storable\Storable.NLM
294 LISTUTIL_NLM = $(EXTDIR)\List\Util.NLM
295 MIMEBASE64_NLM = $(EXTDIR)\MIME\Base64\Base64.NLM
296 XSTYPEMAP_NLM = $(EXTDIR)\XS\Typemap\Typemap.NLM
297 UNICODENORMALIZE_NLM = $(EXTDIR)\Unicode\Normalize\Normalize.NLM
321 $(UNICODENORMALIZE_NLM)
323 # Begin - Following is required to build NetWare specific extensions CGI2Perl, Perl2UCS and UCSExt
325 CGI2PERL = CGI2Perl\CGI2Perl
326 PERL2UCS = $(EXTDIR)\Perl2UCS\Perl2UCS
327 UCSExt = $(EXTDIR)\Perl2UCS\UCSExt
329 CGI2PERL_NLM = \CGI2Perl\CGI2Perl.NLM
330 PERL2UCS_NLM = $(AUTODIR)\Perl2UCS\Perl2UCS.NLM
331 UCSExt_NLM = $(AUTODIR)\UCSExt\UCSExt.NLM
341 ECHO_SRC = TestNLM\echo\echo.c
342 TYPE_SRC = TestNLM\type\type.c
343 ECHO_SRC_OBJ = $(ECHO_SRC:.c=.obj)
344 TYPE_SRC_OBJ = $(TYPE_SRC:.c=.obj)
345 ECHO_NLM = TestNLM\echo\echo.nlm
346 TYPE_NLM = TestNLM\type\type.nlm
357 !ifndef NLM_DESCRIPTION
358 NLM_DESCRIPTION = $(NLM_NAME8) for NetWare
370 BUILT = $(BLDDIR)\$(NLM_NAME8).$(NLM_EXT)
373 !ifndef BASE_IMPORT_FILES
374 BASE_IMPORT_FILES = Import @$(NLMIMPORTS)\clib.imp, @$(NLMIMPORTS)\nlmlib.imp, @$(NLMIMPORTS)\threads.imp, @$(NLMIMPORTS)\nit.imp, @$(NLMIMPORTS)\socklib.imp, \
375 @$(NLMIMPORTS)\fpsm.imp, @$(NLMIMPORTS)\lib0.imp, @$(SECURITY_IMPORTS)\nwsec.imp
379 BASE_IMPORT_FILES = $(BASE_IMPORT_FILES), @$(MPKBASE)\import\mpkorg.imp
382 !ifndef BASE_IMPORT_FNS
383 BASE_IMPORT_FNS = Import ImportSymbol, GetSystemConsoleScreen, LoadModule
387 !ifndef BASE_LIBRARIES
389 #BASE_LIBRARIES = Library plib3s.lib,math3s.lib,clib3s.lib
393 !endif #!ifdef CODEWARRIOR
396 COPYRIGHT = (C) Copyright 2002 Novell Inc. All Rights Reserved.
398 EXPORTS = Export @perl.imp
401 # Set these to wherever you want "nmake install" to put your
405 INST_TOP = $(INST_DRV)\perl
409 INST_NW_TOP1 = $(INST_NW_VOL)\perl
410 INST_NW_TOP2 = $(INST_NW_DRV)\perl
411 #INST_NW_VER = \5.6.1
414 # Comment this out if you DON'T want your perl installation to be versioned.
415 # This means that the new installation will overwrite any files from the
416 # old installation at the same INST_TOP location. Leaving it enabled is
417 # the safest route, as perl adds the extra version directory to all the
418 # locations it installs files to. If you disable it, an alternative
419 # versioned installation can be obtained by setting INST_TOP above to a
420 # path that includes an arbitrary version string.
425 # Comment this out if you DON'T want your perl installation to have
426 # architecture specific components. This means that architecture-
427 # specific files will be installed along with the architecture-neutral
428 # files. Leaving it enabled is safer and more flexible, in case you
429 # want to build multiple flavors of perl and install them together in
430 # the same location. Commenting it out gives you a simpler
431 # installation that is easier to understand for beginners.
433 INST_ARCH = \$(ARCHNAME)
436 # uncomment to enable multiple interpreters. This is need for fork()
443 # Beginnings of interpreter cloning/threads; still very incomplete.
444 # This should be enabled to get the fork() emulation. This needs
447 USE_ITHREADS = define
450 # uncomment to enable the implicit "host" layer for all system calls
451 # made by perl. This needs USE_MULTI above. This is also needed to
456 # uncomment this to enable the experimental PerlIO I/O subsystem
457 # else USE_STDIO will be defined.
461 # WARNING! This option is deprecated and will eventually go away (enable
462 # USE_ITHREADS instead).
464 # uncomment to enable threads-capabilities. This is incompatible with
465 # USE_ITHREADS, and is only here for people who may have come to rely
466 # on the experimental Thread support that was in 5.005.
468 #USE_5005THREADS= define
470 # For now let this be here
472 #CRYPT_SRC = fcrypt.c
474 # For now let this be here
476 #CRYPT_LIB = fcrypt.lib
479 # set this if you wish to use perl's malloc
480 # WARNING: Turning this on/off WILL break binary compatibility with extensions
481 # you may have compiled with/without it. Be prepared to recompile all
482 # extensions if you change the default. Currently, this cannot be enabled
483 # if you ask for USE_IMP_SYS above.
485 #PERL_MALLOC = define
488 # set this to your email address (perl will guess a value from
489 # from your loginname and your hostname, which may not be right)
494 ## Build configuration ends.
497 ##################### CHANGE THESE ONLY IF YOU MUST #####################
499 !IF "$(CRYPT_SRC)$(CRYPT_LIB)" == ""
503 CRYPT_FLAG = -DHAVE_DES_FCRYPT
506 !IF "$(PERL_MALLOC)" == ""
510 !IF "$(USE_5005THREADS)" == ""
511 USE_5005THREADS = undef
514 !IF "$(USE_5005THREADS)" == "define"
518 !IF "$(USE_IMP_SYS)" == "define"
522 !IF "$(USE_MULTI)" == ""
526 !IF "$(USE_ITHREADS)" == ""
530 !IF "$(USE_IMP_SYS)" == ""
534 !IF "$(USE_PERLCRT)" == ""
538 !IF "$(USE_IMP_SYS)$(USE_MULTI)$(USE_5005THREADS)" == "defineundefundef"
542 !IF "$(USE_ITHREADS)$(USE_MULTI)" == "defineundef"
544 USE_5005THREADS = undef
547 !IF "$(USE_MULTI)$(USE_5005THREADS)" != "undefundef"
548 BUILDOPT = $(BUILDOPT) -DPERL_IMPLICIT_CONTEXT
551 !IF "$(USE_IMP_SYS)" != "undef"
552 BUILDOPT = $(BUILDOPT) -DPERL_IMPLICIT_SYS
555 !IF "$(PROCESSOR_ARCHITECTURE)" == ""
556 PROCESSOR_ARCHITECTURE = x86
559 !IF "$(USE_5005THREADS)" == "define"
560 ARCHNAME = NetWare-$(PROCESSOR_ARCHITECTURE)-thread
562 !IF "$(USE_MULTI)" == "define"
563 ARCHNAME = NetWare-$(PROCESSOR_ARCHITECTURE)-multi
565 ARCHNAME = NetWare-$(PROCESSOR_ARCHITECTURE)
569 !IF "$(USE_MULTI)$(USE_5005THREADS)" != "undefundef"
570 ADD_BUILDOPT = $(ADD_BUILDOPT) -DPERL_IMPLICIT_CONTEXT
573 !IF "$(USE_IMP_SYS)" != "undef"
574 ADD_BUILDOPT = $(ADD_BUILDOPT) -DPERL_IMPLICIT_SYS
577 !IF "$(USE_ITHREADS)" == "define"
578 ARCHNAME = $(ARCHNAME)-thread
581 !IF "$(USE_PERLIO)" == "define"
583 ADD_BUILDOPT = $(ADD_BUILDOPT) -DUSE_PERLIO
584 ARCHNAME = $(ARCHNAME)-perlio
587 #ADD_BUILDOPT = $(ADD_BUILDOPT) -DUSE_STDIO
591 ARCHDIR = ..\lib\$(ARCHNAME)
592 COREDIR = ..\lib\CORE
593 AUTODIR = ..\lib\auto
597 EXTUTILSDIR = $(LIBDIR)\ExtUtils
600 INST_SCRIPT = $(INST_TOP)$(INST_VER)\bin
601 INST_BIN = $(INST_SCRIPT)$(INST_ARCH)
602 INST_LIB = $(INST_TOP)$(INST_VER)\lib
603 INST_ARCHLIB = $(INST_LIB)$(INST_ARCH)
604 INST_COREDIR = $(INST_ARCHLIB)\CORE
605 INST_POD = $(INST_LIB)\pod
606 INST_HTML = $(INST_POD)\html
616 #################### do not edit below this line #######################
617 ############# NO USER-SERVICEABLE PARTS BEYOND THIS POINT ##############
625 .SUFFIXES : .c $(o) .nlm .lib .NLM
630 PERLIMPLIB = ..\perl.lib
632 MINIPERL = ..\miniperl.exe
633 CONFIGPM = ..\lib\Config.pm
634 MINIMOD = ..\lib\ExtUtils\Miniperl.pm
637 PL2BAT = ..\win32\bin\pl2bat.pl
661 #NMAKE = $(C_COMPILER) $(INCLUDE) $(NLM_INCLUDES) $(COMPLER_FLAGS) $(ADD_LOCDEFS) $(ERROR_FLAG) $(*F).c -o $@
663 XCOPY = xcopy /f /r /i /d
664 RCOPY = xcopy /f /r /i /e /d
669 # filenames given to xsubpp must have forward slashes (since it puts
670 # full pathnames in #line strings)
671 XSUBPP = ..\$(MINIPERL) -I..\..\lib ..\$(EXTUTILSDIR)\xsubpp \
709 #EXTRACORE_SRC = $(EXTRACORE_SRC) perllib.c
711 !IF "$(PERL_MALLOC)" == "define"
712 EXTRACORE_SRC = $(EXTRACORE_SRC) ..\malloc.c
715 #EXTRACORE_SRC = $(EXTRACORE_SRC) ..\perlio.c
717 !IF "$(CRYPT_SRC)" != ""
718 NW_SRC = $(NW_SRC) .\$(CRYPT_SRC)
721 DLL_SRC = $(DYNALOADER).c
766 CORE_H = $(CORE_NOCFG_H) .\config.h
768 DLL_OBJ = $(DLL_SRC:.c=.obj)
769 X2P_OBJ = $(X2P_SRC:.c=.obj)
771 DYNAMIC_EXT = Socket IO Fcntl Opcode SDBM_File POSIX attrs Thread B re \
772 Data/Dumper Devel/Peek ByteLoader Devel/DProf File/Glob \
773 Storable/Storable List/Util MIME/Base64/Base64 \
774 XS/Typemap/Typemap Unicode/Normalize/Normalize Sys/Hostname
776 STATIC_EXT = DynaLoader
779 DYNALOADER = $(EXTDIR)\DynaLoader\DynaLoader
780 SOCKET = $(EXTDIR)\Socket\Socket
781 FCNTL = $(EXTDIR)\Fcntl\Fcntl
782 OPCODE = $(EXTDIR)\Opcode\Opcode
783 SDBM_FILE = $(EXTDIR)\SDBM_File\SDBM_File
785 POSIX = $(EXTDIR)\POSIX\POSIX
786 ATTRS = $(EXTDIR)\attrs\attrs
787 THREAD = $(EXTDIR)\Thread\Thread
790 DUMPER = $(EXTDIR)\Data\Dumper\Dumper
791 ERRNO = $(EXTDIR)\Errno\Errno
792 PEEK = $(EXTDIR)\Devel\Peek\Peek
793 BYTELOADER = $(EXTDIR)\ByteLoader\ByteLoader
794 DPROF = $(EXTDIR)\Devel\DProf\DProf
795 GLOB = $(EXTDIR)\File\Glob\Glob
796 HOSTNAME = $(EXTDIR)\Sys\Hostname\Hostname
797 CWD = $(EXTDIR)\Cwd\Cwd
798 STORABLE = $(EXTDIR)\Storable\Storable
799 LISTUTIL = $(EXTDIR)\List\Util
800 MIMEBASE64 = $(EXTDIR)\MIME\Base64\Base64
801 XSTYPEMAP = $(EXTDIR)\XS\Typemap\Typemap
802 UNICODENORMALIZE = $(EXTDIR)\Unicode\Normalize\Normalize
804 ERRNO_PM_NW = $(LIBDIR)\Errno.pm
828 $(UNICODENORMALIZE).c \
833 POD2HTML = $(PODDIR)\pod2html
834 POD2MAN = $(PODDIR)\pod2man
835 POD2LATEX = $(PODDIR)\pod2latex
836 POD2TEXT = $(PODDIR)\pod2text
842 all : .cleanoldfiles .\nwconfig.h $(CONFIGPM) $(NLM_NAME) $(EXTENSION_NPM) $(NETWARE_EXTNS) $(TEST_NLMS) $(EXTENSION_NLM)
844 #------------------------------------------------------------
846 ..\config.sh : config.nw5 $(MINIPERL) config_sh.PL
847 $(MINIPERL) -I..\lib config_sh.PL $(NW_CFG_VARS) config.nw5 > ..\config.sh
849 # this target is for when changes to the main config.sh happen
850 # edit config.{b,v,g,w}c and make this target once for each supported
851 # compiler (e.g. `dmake CCTYPE=BORLAND regen_config_h`)
853 perl config_sh.PL $(NW_CFG_VARS) $(NW_CFGSH_TMPL) > ..\config.sh
858 -del /f /q $(NW_CFGH_TMPL)
860 -perl -I..\lib config_h.PL "INST_VER=$(INST_VER)"
861 rename config.h $(NW_CFGH_TMPL)
863 $(CONFIGPM) : $(MINIPERL) ..\config.sh config_h.PL ..\minimod.pl
864 cd .. && miniperl configpm
865 if exist lib\* $(RCOPY) lib\*.* ..\lib\$(NULL)
866 $(XCOPY) ..\*.h $(COREDIR)\*.*
867 $(XCOPY) *.h $(COREDIR)\*.*
868 $(XCOPY) ..\ext\re\re.pm $(LIBDIR)\*.*
869 if exist include\* $(RCOPY) include $(COREDIR)\*.*
870 $(MINIPERL) -I..\lib config_h.PL "INST_VER=$(INST_VER)" \
871 || $(MAKE) /$(MAKEFLAGS) $(CONFIGPM)
874 $(error)Please build $(MINIPERL) before continuing
876 $(MINIMOD) : $(MINIPERL) ..\minimod.pl
877 cd .. && miniperl minimod.pl > lib\ExtUtils\Miniperl.pm
879 ..\x2p\a2p$(o) : ..\x2p\a2p.c
880 @echo $(MPKMESSAGE)...$(BLDMESG)...$@
881 $(C_COMPILER) $(COMPLER_FLAGS) $(NLM_INCLUDES) -I..\x2p $(ADD_LOCDEFS) $(ERROR_FLAG) $*.c -o $@
884 ..\x2p\hash$(o) : ..\x2p\hash.c
885 @echo $(MPKMESSAGE)...$(BLDMESG)...$@
886 $(C_COMPILER) $(COMPLER_FLAGS) $(NLM_INCLUDES) -I..\x2p $(ADD_LOCDEFS) $(ERROR_FLAG) $*.c -o $@
889 ..\x2p\str$(o) : ..\x2p\str.c
890 @echo $(MPKMESSAGE)...$(BLDMESG)...$@
891 $(C_COMPILER) $(COMPLER_FLAGS) $(NLM_INCLUDES) -I..\x2p $(ADD_LOCDEFS) $(ERROR_FLAG) $*.c -o $@
894 ..\x2p\util$(o) : ..\x2p\util.c
895 @echo $(MPKMESSAGE)...$(BLDMESG)...$@
896 $(C_COMPILER) $(COMPLER_FLAGS) $(NLM_INCLUDES) -I..\x2p $(ADD_LOCDEFS) $(ERROR_FLAG) $*.c -o $@
899 ..\x2p\walk$(o) : ..\x2p\walk.c
900 @echo $(MPKMESSAGE)...$(BLDMESG)...$@
901 $(C_COMPILER) $(COMPLER_FLAGS) $(NLM_INCLUDES) -I..\x2p $(ADD_LOCDEFS) $(ERROR_FLAG) $*.c -o $@
904 $(X2P) : $(MINIPERL) $(X2P_OBJ)
905 @echo Building $@..........
906 $(MINIPERL) ..\x2p\find2perl.PL
907 $(MINIPERL) ..\x2p\s2p.PL
908 # Linker definitions and lining come here for CODEWARRIOR
909 @echo $(BASE_IMPORT_FILES) > $*.def
910 @echo MODULE clib >> $*.def
911 @echo Import @perl.imp >> $*.def
913 $(MPKTOOL) $(XDCFLAGS) $*.xdc
914 @echo Import Mp.imp >> $*.def
915 @echo xdcdata $*.xdc >> $*.def
917 ## $(LINK) $(LDFLAGS) $(BS_CFLAGS) -desc "Awk to Perl Translator" $(X2P_OBJ) $(BLDDIR)\clibstuf.obj -commandfile $*.def -o $@
918 $(LINK) $(LDFLAGS) -desc "Awk to Perl Translator" $(X2P_OBJ) $(BLDDIR)\clibstuf.obj -commandfile $*.def -o $@
920 $(EXTDIR)\DynaLoader\dl_netware.xs: dl_netware.xs
921 copy dl_netware.xs $(EXTDIR)\DynaLoader\dl_netware.xs
924 @echo . . . . making stdio.h and string.h
925 @copy << stdio.h >\nwnul
928 * (C) Copyright 2002 Novell Inc. All Rights Reserved.
930 * You may distribute under the terms of either the GNU General Public
931 * License or the Artistic License, as specified in the README file.
937 * DESCRIPTION : Generated header file, do not edit. See makefile.
938 * This header file causes the includer to use clibstuf.h
939 * The purpose of clibstuf is to make sure that Perl, cgi2perl and
940 * all the perl extension nlm's (*.NLM) use the Novell Netware CLIB versions
941 * of standard functions. This code loads up a whole bunch of function pointers
942 * to point at the standard CLIB functions.
944 * Date : January 2001.
953 #include "$(NLMSDKBASE)\INCLUDE\NLM\stdio.h"
954 #include "clibsdio.h"
957 #endif // __Stdio_H__
960 @copy stdio.h $(COREDIR)
962 @copy << string.h >\nwnul
965 * (C) Copyright 2002 Novell Inc. All Rights Reserved.
967 * You may distribute under the terms of either the GNU General Public
968 * License or the Artistic License, as specified in the README file.
973 * FILENAME : string.h
974 * DESCRIPTION : Generated header file, do not edit. See makefile.
975 * This header file causes the includer to use clibstuf.h
976 * The purpose of clibstuf is to make sure that Perl, cgi2perl and
977 * all the perl extension nlm's (*.NLM) use the Novell Netware CLIB versions
978 * of standard functions. This code loads up a whole bunch of function pointers
979 * to point at the standard CLIB functions.
981 * Date : January 2001.
990 #include "$(NLMSDKBASE)\INCLUDE\NLM\string.h"
994 #endif // __String_H__
997 @copy string.h $(COREDIR)
1000 $(NLM_NAME): MESSAGE HEADERS $(BLDDIR)\nul $(NLM_OBJ) $(NEWTARE_OBJ_DEP) $(NEWTARE_CPP_OBJ_DEP) $(PERL_IO_OBJ_DEP) $(DLL_OBJ) \
1001 $(PERLIMPLIB) $(EXT_MAIN_OBJ) $(PERL_TEMP_OBJ) #$(PERL_LIB_OBJ)
1002 @echo======= Linking $@ at $(MAKEDIR)\$(BLDDIR) =======
1003 # Linker definitions and lining come here for CODEWARRIOR
1004 @echo $(BASE_IMPORT_FILES) > $*.def
1005 @echo MODULE clib >> $*.def
1006 @echo MODULE netdb >> $*.def
1007 # @echo MODULE nwsec >> $*.def
1008 @echo $(EXPORTS) >> $*.def
1010 @echo======= Creating XDC file
1011 @echo Import Mp.imp >> $*.def
1013 $(MPKTOOL) $(XDCFLAGS) $(BLDDIR)\$(NLM_NAME8).xdc
1014 @echo xdcdata $(BLDDIR)\$(NLM_NAME8).xdc >> $*.def
1016 $(MPKTOOL) $(XDCFLAGS) $(BLDDIR)\$(NLM_NAME).xdc
1017 @echo xdcdata $(BLDDIR)\$(NLM_NAME).xdc >> $*.def
1020 ## $(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)\$@
1021 $(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)\$@
1022 copy splittree.pl ..
1023 $(MINIPERL) -I..\lib ..\splittree.pl "../LIB" $(AUTODIR)
1024 @echo ========Linked $@ ==========
1025 ##!if "$(MAKE_TYPE)"=="Debug"
1027 ## .\bat\cvpack $(BLDDIR)\$(NLM_NAME8).sym
1029 ## .\bat\cvpack $(BLDDIR)\$(NLM_NAME).sym
1032 @echo======= Finished building $(BUILT).
1034 # Create the debug or release directory if not existing
1036 @echo . . . . mkdir $(BLDDIR)
1038 @echo '$(BLDDIR)' directory created.
1041 @echo======= $(MAKE_ACTION)ing $(NLM_NAME) at $(MAKEDIR)\$(BLDDIR) =======
1043 $(PERLIMPLIB): perllib.imp
1045 perllib.imp : $(MINIPERL) $(CONFIGPM) ..\global.sym ..\pp.sym ..\makedef.pl
1046 # $(MINIPERL) -w ..\makedef.pl PLATFORM=netware FILETYPE=def $(ADD_BUILDOPT) \
1047 # CCTYPE=$(CCTYPE) > perllib.def
1048 @echo (Perl) > perl.imp
1049 $(MINIPERL) -w ..\makedef.pl PLATFORM=netware FILETYPE=imp $(BS_CFLAGS) $(DEFINES) $(ADD_BUILDOPT) \
1050 CCTYPE=$(CCTYPE) >> perl.imp
1051 copy perl.imp $(COREDIR)
1053 $(DLL_OBJ) : $(DYNALOADER).c $(CORE_H) $(EXTDIR)\DynaLoader\dlutils.c
1054 @echo $(MPKMESSAGE)...$(BLDMESG)...$@
1055 @$(C_COMPILER) $(NLM_INCLUDES) $(COMPLER_FLAGS) $(NLM_INCLUDES) $(ADD_LOCDEFS) $(ERROR_FLAG) -I$(EXTDIR)\DynaLoader \
1056 $(EXTDIR)\DynaLoader\$(*F).c -o $@
1059 $(DYNALOADER).c : $(MINIPERL) $(EXTDIR)\DynaLoader\dl_netware.xs $(CONFIGPM)
1060 if not exist $(AUTODIR) mkdir $(AUTODIR)
1062 ..\$(MINIPERL) -I..\..\lib $(*B)_pm.PL
1063 ..\$(MINIPERL) -I..\..\lib XSLoader_pm.PL
1065 $(XCOPY) $(EXTDIR)\$(*B)\$(*B).pm $(LIBDIR)\$(NULL)
1066 $(XCOPY) $(EXTDIR)\$(*B)\XSLoader.pm $(LIBDIR)\$(NULL)
1068 $(XSUBPP) dl_netware.xs > $(*B).c
1070 @echo Dynaloader Done
1073 $(PERL_IO_OBJ_DEP) : ..\$(*F).c
1074 @echo $(MPKMESSAGE) $(BLDMESG) $@
1075 $(C_COMPILER) $(COMPLER_FLAGS) $(NLM_INCLUDES) $(ADD_LOCDEFS) $(ERROR_FLAG) ..\$(*F).c -o $@
1078 $(NLM_OBJ) : ..\$(*F).c
1079 @echo $(MPKMESSAGE) $(BLDMESG) $@
1080 $(C_COMPILER) $(COMPLER_FLAGS) $(NLM_INCLUDES) $(ADD_LOCDEFS) $(ERROR_FLAG) ..\$(*F).c -o $@
1084 $(NEWTARE_OBJ_DEP) : $(NW_H_FILES) $(NW_HOST_H_FILES) $(*F).c
1085 @echo $(MPKMESSAGE) $(BLDMESG) $@
1086 $(C_COMPILER) $(COMPLER_FLAGS) $(NLM_INCLUDES) $(ADD_LOCDEFS) $(ERROR_FLAG) $(*F).c -o $@
1089 $(NEWTARE_CPP_OBJ_DEP) : $(NW_H_FILES) $(NW_HOST_H_FILES) $(*F).cpp
1090 @echo $(MPKMESSAGE) $(BLDMESG) $@
1091 $(C_COMPILER) $(CWCPPFLAGS) $(COMPLER_FLAGS) $(NLM_INCLUDES) $(ADD_LOCDEFS) $(ERROR_FLAG) $(*F).cpp -o $@
1094 $(EXT_MAIN_OBJ) : $(CLIB_H_FILES)
1095 @echo $(MPKMESSAGE) $(BLDMESG) $@
1096 $(C_COMPILER) $(NLM_INCLUDES) $(COMPLER_FLAGS) $(ADD_LOCDEFS) $(ERROR_FLAG) $(*F).c -o $@
1097 $(LD) -type library $@ -o $*.lib
1098 @copy $*.lib $(COREDIR)
1100 # Delete any files that might have got created during building miniperl.exe
1101 # config.sh will definitely be created
1102 # COREDIR might have got created
1104 -del /f /q $(PERLIMPLIB)
1105 -del /f /q ..\lib\config.pm
1106 -del /f /q ..\config.sh
1107 -del /f /q .\Main.obj
1108 -del /f /q .\Main.lib
1109 -rmdir /s /q $(AUTODIR)
1110 -rmdir /s /q $(COREDIR)
1111 -del /f /q ..\lib\core
1113 .\nwconfig.h : $(NW_CFGH_TMPL)
1115 copy $(NW_CFGH_TMPL) config.h
1117 # REQUIRED WHEN WE INCLUDE CONFIGPM OR REGEN_CONFIG - sgp
1118 #..\nwconfig.sh : config.nw5 $(MINIPERL) config_sh.PL
1119 # $(MINIPERL) -I..\lib config_sh.PL $(NW_CFG_VARS) config.nw5 > ..\config.sh
1122 # del /f /q config.sh
1123 # rename nwconfig.sh config.sh
1126 config.nw5 : $(NW_CFGSH_TMPL)
1127 copy $(NW_CFGSH_TMPL) config.nw5
1129 $(SOCKET_NLM): $(NLM_NAME) $(SOCKET).xs
1131 ..\..\miniperl -I..\..\lib Makefile.PL PERL_CORE=1 INSTALLDIRS=perl
1135 $(HOSTNAME_NLM): $(NLM_NAME) $(HOSTNAME).xs
1136 cd $(EXTDIR)\Sys\$(*B)
1137 ..\..\..\miniperl -I..\..\..\lib Makefile.PL PERL_CORE=1 INSTALLDIRS=perl
1143 ..\..\miniperl -I..\..\lib Makefile.PL PERL_CORE=1 INSTALLDIRS=perl
1149 ..\..\miniperl -I..\..\lib Makefile.PL PERL_CORE=1 INSTALLDIRS=perl
1155 ..\..\miniperl -I..\..\lib Makefile.PL PERL_CORE=1 INSTALLDIRS=perl
1161 ..\..\miniperl -I..\..\lib Makefile.PL PERL_CORE=1 INSTALLDIRS=perl
1166 cd $(EXTDIR)\Data\$(*B)
1167 ..\..\..\miniperl -I..\..\..\lib Makefile.PL PERL_CORE=1 INSTALLDIRS=perl
1172 cd $(EXTDIR)\Devel\$(*B)
1173 ..\..\..\miniperl -I..\..\..\lib Makefile.PL PERL_CORE=1 INSTALLDIRS=perl
1179 ..\..\miniperl -I..\..\lib Makefile.PL PERL_CORE=1 INSTALLDIRS=perl
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
1196 cd $(EXTDIR)\File\$(*B)
1197 ..\..\..\miniperl -I..\..\..\lib Makefile.PL PERL_CORE=1 INSTALLDIRS=perl
1203 ..\..\miniperl -I..\..\lib Makefile.PL PERL_CORE=1 INSTALLDIRS=perl
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
1238 cd $(EXTDIR)\List\$(*B)
1239 ..\..\..\miniperl -I..\..\lib Makefile.PL PERL_CORE=1 INSTALLDIRS=perl
1244 cd $(EXTDIR)\Mime\$(*B)
1245 ..\..\..\miniperl -I..\..\lib Makefile.PL PERL_CORE=1 INSTALLDIRS=perl
1250 cd $(EXTDIR)\XS\$(*B)
1251 ..\..\..\miniperl -I..\..\lib Makefile.PL PERL_CORE=1 INSTALLDIRS=perl
1255 $(UNICODENORMALIZE_NLM):
1256 cd $(EXTDIR)\Unicode\$(*B)
1257 ..\..\..\miniperl -I..\..\lib Makefile.PL PERL_CORE=1 INSTALLDIRS=perl
1265 ..\..\miniperl -I..\..\lib Makefile.PL PERL_CORE=1 INSTALLDIRS=perl
1269 $(ECHO_SRC_OBJ): $*.c
1270 @echo $(MPKMESSAGE) $(BLDMESG) $@
1271 $(C_COMPILER) $(NLM_INCLUDES) $(COMPLER_FLAGS) $(ADD_LOCDEFS) $(ERROR_FLAG) $*.c -o $@
1274 $(ECHO_NLM): $(ECHO_SRC_OBJ)
1275 @echo======= Linking $@ =======
1276 # Linker definitions and lining come here for CODEWARRIOR
1277 @echo $(BASE_IMPORT_FILES) > $*.def
1278 @echo MODULE clib >> $*.def
1279 @echo Import @perl.imp >> $*.def
1281 $(MPKTOOL) $(XDCFLAGS) $*.xdc
1282 @echo Import @MP.imp >> $*.def
1283 @echo xdcdata $*.xdc >> $*.def
1285 ## $(LINK) $(LDFLAGS) $(BS_CFLAGS) -desc "DOS Echo emulation for Perl testing" $(ECHO_SRC_OBJ) $(BLDDIR)\clibstuf.obj -commandfile $*.def -o $@
1286 $(LINK) $(LDFLAGS) -desc "DOS Echo emulation for Perl testing" $(ECHO_SRC_OBJ) $(BLDDIR)\clibstuf.obj -commandfile $*.def -o $@
1287 @echo======= Linking Complete =======
1289 $(TYPE_SRC_OBJ): $*.c
1290 @echo $(MPKMESSAGE) $(BLDMESG) $@
1291 $(C_COMPILER) $(NLM_INCLUDES) $(COMPLER_FLAGS) $(ADD_LOCDEFS) $(ERROR_FLAG) $*.c -o $@
1294 $(TYPE_NLM): $(TYPE_SRC_OBJ)
1295 @echo======= Linking $@ =======
1296 # Linker definitions and lining come here for CODEWARRIOR
1297 @echo $(BASE_IMPORT_FILES) > $*.def
1298 @echo MODULE clib >> $*.def
1299 @echo Import @perl.imp >> $*.def
1301 $(MPKTOOL) $(XDCFLAGS) $*.xdc
1302 @echo Import @MP.imp >> $*.def
1303 @echo xdcdata $*.xdc >> $*.def
1305 ## $(LINK) $(LDFLAGS) $(BS_CFLAGS) -desc "DOS Type emulation for Perl testing" $(TYPE_SRC_OBJ) $(BLDDIR)\clibstuf.obj -commandfile $*.def -o $@
1306 $(LINK) $(LDFLAGS) -desc "DOS Type emulation for Perl testing" $(TYPE_SRC_OBJ) $(BLDDIR)\clibstuf.obj -commandfile $*.def -o $@
1307 @echo======= Linking Complete =======
1310 # Build NetWare specific extensions
1312 !if "$(NW_EXTNS)"=="yes"
1314 ..\..\miniperl -I..\..\lib Makefile.PL "CCCDLFLAGS=-bool on -lang c++" PERL_CORE=1 INSTALLDIRS=perl
1320 !if "$(NW_EXTNS)"=="yes"
1322 ..\..\miniperl -I..\..\lib Makefile.PL "CCCDLFLAGS=-bool on -lang c++" PERL_CORE=1 INSTALLDIRS=perl
1328 !if "$(NW_EXTNS)"=="yes"
1330 ..\..\miniperl -I..\..\lib Makefile.PL "CCCDLFLAGS=-bool on -lang c++" PERL_CORE=1 INSTALLDIRS=perl
1336 -rmdir /s /q $(REL_DIR)
1337 -rmdir /s /q $(DEB_DIR)
1338 @if exist .\stdio.h del /f /q .\stdio.h
1339 @if exist .\string.h del /f /q .\string.h
1340 @if exist .\Main.obj del /f /q .\Main.obj
1341 @if exist .\Main.lib del /f /q .\Main.lib
1342 @if exist .\config.nw5 del /f /q .\config.nw5
1343 @if exist .\perl.imp del /f /q .\perl.imp
1345 -del /f /q *.obj *.map *.link *.options *.nlm *.sym *.xdc *.err
1347 -del /f /q *.obj *.map *.link *.options *.nlm *.sym *.xdc *.err
1350 utils: $(BLDDIR)\$(NLM_NAME8).$(NLM_EXT) $(X2P)
1352 $(MAKE) PERL=$(MINIPERL)
1354 copy ..\README.amiga .\perlamiga.pod
1355 copy ..\README.cygwin .\perlcygwin.pod
1356 copy ..\README.dos .\perldos.pod
1357 copy ..\README.hpux .\perlhpux.pod
1358 # copy ..\README.machten .\perlmachten.pod
1359 copy ..\README.os2 .\perlos2.pod
1360 copy ..\vms\perlvms.pod .\perlvms.pod
1361 copy ..\README.win32 .\perlwin32.pod
1362 copy ..\README.netware .\perlnw5.pod
1363 $(MAKE) -f ..\win32\pod.mak converters
1365 $(MINIPERL) $(PL2BAT) $(UTILS)
1367 distclean: clean nwclean
1368 -del /f /q $(PERLIMPLIB) ..\miniperl.lib $(MINIMOD)
1369 -del /f /q *.def *.map
1370 -del /f /q $(EXTENSION_NPM)
1371 -del /f /q $(EXTENSION_C) $(DYNALOADER).c $(ERRNO).pm
1372 -del /f /q $(EXTDIR)\DynaLoader\dl_netware.xs
1373 -del /f /q $(LIBDIR)\.exists $(LIBDIR)\attrs.pm $(LIBDIR)\DynaLoader.pm
1374 -del /f /q $(LIBDIR)\XSLoader.pm
1375 -del /f /q $(LIBDIR)\Fcntl.pm $(LIBDIR)\IO.pm $(LIBDIR)\Opcode.pm
1376 -del /f /q $(LIBDIR)\ops.pm $(LIBDIR)\Safe.pm
1377 -del /f /q $(LIBDIR)\SDBM_File.pm $(LIBDIR)\Socket.pm $(LIBDIR)\POSIX.pm
1378 -del /f /q $(LIBDIR)\B.pm $(LIBDIR)\O.pm $(LIBDIR)\re.pm
1379 -del /f /q $(LIBDIR)\Data\Dumper.pm $(LIBDIR)\ByteLoader.pm
1380 -del /f /q $(LIBDIR)\Devel\Peek.pm $(LIBDIR)\Devel\DProf.pm
1381 -del /f /q $(LIBDIR)\File\Glob.pm
1382 -del /f /q $(LIBDIR)\Unicode\Normalize.pm
1383 -rmdir /s /q $(LIBDIR)\IO
1384 -rmdir /s /q $(LIBDIR)\Thread
1385 -rmdir /s /q $(LIBDIR)\B
1386 -rmdir /s /q $(LIBDIR)\Data
1387 -del /f /q $(PODDIR)\*.html
1388 -del /f /q $(PODDIR)\*.bat
1390 -del /f /q h2ph splain perlbug pl2pm c2ph h2xs perldoc dprofpp
1394 -del /f /q find2perl s2p
1396 -del /f /q *.obj *.map *.link *.xdc *.err
1398 -del /f /q ..\config.sh ..\splittree.pl dlutils.c config.h.new
1399 -del /f /q $(CONFIGPM)
1400 -del /f /q bin\*.bat
1402 -del /s /f /q *.lib *.def *.map *.pdb *.bs Makefile *$(o) pm_to_blib *.xdc *.err
1404 !if "$(NW_EXTNS)"=="yes"
1406 -del /f /q *.obj *.bs Makefile *$(o) *.c pm_to_blib *.xdc *.err *.sym *.map
1408 cd $(EXTDIR)\Perl2UCS
1409 -del /f /q *.obj *.bs Makefile *$(o) *.c pm_to_blib *.xdc *.err *.sym *.map *.c
1412 -del /f /q *.obj *.bs Makefile *$(o) *.c pm_to_blib *.xdc *.err *.sym *.map *.c
1415 -rmdir /s /q $(AUTODIR)
1416 -rmdir /s /q $(COREDIR)
1417 -del /f /q ..\config.sh
1420 $(MINIPERL) -I..\lib ..\installperl
1422 install : utils installwin
1425 $(MINIPERL) -I..\lib ..\installperl -netware
1429 xcopy /f /r /i /s /d *.* $(INST_NW_TOP2)\scripts\t
1431 xcopy /f /r /i /s /d *.t $(INST_NW_TOP2)\scripts\t\lib
1433 xcopy /f /r /i /s /d *.t $(INST_NW_TOP2)\scripts\t\ext
1435 xcopy /f /r /i /s /d *.pl $(INST_NW_TOP2)\scripts\t
1438 nwinstall: utils installnw install_tests
1440 inst_lib : $(CONFIGPM)
1441 copy ..\win32\splittree.pl ..
1442 $(MINIPERL) -I..\lib ..\splittree.pl "../LIB" $(AUTODIR)
1443 $(RCOPY) ..\lib $(INST_LIB)\*.*
1446 -@erase miniperlmain$(o)
1449 -@erase ..\*$(o) ..\*.lib ..\*.exp *$(o) *.lib *.exp *.res
1450 -@erase ..\t\*.exe ..\t\*.dll ..\t\*.bat
1451 -@erase ..\x2p\*.nlm ..\x2p\*.bat