This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
Fix pp_hot.c:get_db_sub core dump when perl debugger used.
[perl5.git] / win32 / Makefile
CommitLineData
68dc0745
PP
1#
2# Makefile to build perl on Windowns NT using Microsoft NMAKE.
3#
4#
5# This is set up to build a perl.exe that runs off a shared library
6# (perl.dll). Also makes individual DLLs for the XS extensions.
7#
137443ea
PP
8
9#
10# Set these to wherever you want "nmake install" to put your
11# newly built perl.
137443ea
PP
12INST_DRV=c:
13INST_TOP=$(INST_DRV)\perl
14
c90c0ff4 15#
c90c0ff4
PP
16# uncomment next line if you are using Visual C++ 2.x
17#CCTYPE=MSVC20
18
19#
20# uncomment next line if you want debug version of perl (big,slow)
21#CFG=Debug
137443ea 22
d484a829 23#
3e3baf6d
TB
24# set the install locations of the compiler include/libraries
25#CCHOME = f:\msvc20
26CCHOME = $(MSVCDIR)
27CCINCDIR = $(CCHOME)\include
28CCLIBDIR = $(CCHOME)\lib
29
30#
d484a829
GS
31# set this to your email address (perl will guess a value from
32# from your loginname and your hostname, which may not be right)
33#EMAIL =
34
137443ea
PP
35##################### CHANGE THESE ONLY IF YOU MUST #####################
36
37#
38# Programs to compile, build .lib files and link
39#
68dc0745 40
137443ea
PP
41CC=cl.exe
42LINK32=link.exe
43LIB32=$(LINK32) -lib
68dc0745 44#
137443ea
PP
45# Options
46#
c90c0ff4 47!IF "$(RUNTIME)" == ""
137443ea 48RUNTIME = -MD
c90c0ff4 49!ENDIF
3e3baf6d 50INCLUDES = -I.\include -I. -I..
137443ea 51#PCHFLAGS = -Fp"$(INTDIR)/modules.pch" -YX
3e3baf6d 52DEFINES = -DWIN32 -D_CONSOLE -DPERLDLL
137443ea 53SUBSYS = console
137443ea
PP
54
55!IF "$(RUNTIME)" == "-MD"
3e3baf6d 56LIBC = msvcrt.lib
137443ea
PP
57WINIOMAYBE =
58!ELSE
3e3baf6d 59LIBC = libcmt.lib
137443ea
PP
60WINIOMAYBE = win32io.obj
61!ENDIF
62
63!IF "$(CFG)" == "Debug"
64! IF "$(CCTYPE)" == "MSVC20"
3e3baf6d 65OPTIMIZE = -Od $(RUNTIME) -Z7 -D_DEBUG
137443ea 66! ELSE
3e3baf6d 67OPTIMIZE = -Od $(RUNTIME)d -Z7 -D_DEBUG
137443ea 68! ENDIF
96e4d5b1 69LINK_DBG = -debug -pdb:none
137443ea
PP
70!ELSE
71! IF "$(CCTYPE)" == "MSVC20"
3e3baf6d 72OPTIMIZE = -Od $(RUNTIME) -DNDEBUG
137443ea 73! ELSE
3e3baf6d 74OPTIMIZE = -Od $(RUNTIME) -DNDEBUG
137443ea
PP
75! ENDIF
76LINK_DBG = -release
77!ENDIF
68dc0745 78
3e3baf6d
TB
79# we don't add LIBC here, the compiler do it based on -MD/-MT
80LIBFILES = oldnames.lib kernel32.lib user32.lib gdi32.lib \
81 winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib \
82 oleaut32.lib netapi32.lib uuid.lib wsock32.lib mpr.lib winmm.lib \
83 version.lib odbc32.lib odbccp32.lib
84
137443ea
PP
85CFLAGS = -nologo -W3 $(INCLUDES) $(DEFINES) $(PCHFLAGS) $(OPTIMIZE)
86LINK_FLAGS = -nologo $(LIBFILES) $(LINK_DBG) -machine:I386
3e3baf6d 87OBJOUT_FLAG = -Fo
137443ea
PP
88
89#################### do not edit below this line #######################
90############# NO USER-SERVICEABLE PARTS BEYOND THIS POINT ##############
91
92#
93# Rules
94#
95.SUFFIXES :
96.SUFFIXES : .c .obj .dll .lib .exe
97
98.c.obj:
3e3baf6d 99 $(CC) -c $(CFLAGS) $(OBJOUT_FLAG)$@ $<
137443ea
PP
100
101.obj.dll:
3e3baf6d
TB
102 $(LINK32) -dll -subsystem:windows -implib:$(*B).lib -def:$(*B).def \
103 -out:$@ $(LINK_FLAGS) $< $(LIBPERL)
68dc0745 104
68dc0745
PP
105#
106INST_BIN=$(INST_TOP)\bin
107INST_LIB=$(INST_TOP)\lib
137443ea 108INST_POD=$(INST_LIB)\pod
68dc0745
PP
109INST_HTML=$(INST_POD)\html
110LIBDIR=..\lib
0a753a76 111EXTDIR=..\ext
68dc0745 112PODDIR=..\pod
0a753a76 113EXTUTILSDIR=$(LIBDIR)\extutils
68dc0745
PP
114
115#
116# various targets
54310121 117PERLIMPLIB=..\perl.lib
68dc0745
PP
118MINIPERL=..\miniperl.exe
119PERLDLL=..\perl.dll
120PERLEXE=..\perl.exe
121GLOBEXE=..\perlglob.exe
137443ea 122CONFIGPM=..\lib\Config.pm
83437bec 123MINIMOD=..\lib\ExtUtils\Miniperl.pm
68dc0745 124
d444a431
TB
125PL2BAT=bin\pl2bat.pl
126GLOBBAT = bin\perlglob.bat
3e3baf6d 127
137443ea 128MAKE=nmake -nologo
3e3baf6d
TB
129CFGSH_TMPL = config.vc
130CFGH_TMPL = config_H.vc
131PERL95EXE=..\perl95.exe
c90c0ff4
PP
132XCOPY=xcopy /f /r /i /d
133RCOPY=xcopy /f /r /i /e /d
68dc0745
PP
134NULL=
135
136#
137# filenames given to xsubpp must have forward slashes (since it puts
138# full pathnames in #line strings)
137443ea 139XSUBPP=..\$(MINIPERL) -I..\..\lib ..\$(EXTUTILSDIR)\xsubpp -C++ -prototypes
68dc0745 140
137443ea 141CORE_C= ..\av.c \
68dc0745
PP
142 ..\deb.c \
143 ..\doio.c \
144 ..\doop.c \
145 ..\dump.c \
146 ..\globals.c \
147 ..\gv.c \
148 ..\hv.c \
149 ..\mg.c \
150 ..\op.c \
151 ..\perl.c \
152 ..\perlio.c \
153 ..\perly.c \
154 ..\pp.c \
155 ..\pp_ctl.c \
156 ..\pp_hot.c \
157 ..\pp_sys.c \
158 ..\regcomp.c \
159 ..\regexec.c \
160 ..\run.c \
161 ..\scope.c \
162 ..\sv.c \
163 ..\taint.c \
164 ..\toke.c \
165 ..\universal.c \
166 ..\util.c
0a753a76 167
3e3baf6d 168CORE_OBJ= ..\av.obj \
137443ea
PP
169 ..\deb.obj \
170 ..\doio.obj \
171 ..\doop.obj \
172 ..\dump.obj \
173 ..\globals.obj \
3e3baf6d
TB
174 ..\gv.obj \
175 ..\hv.obj \
176 ..\mg.obj \
177 ..\op.obj \
137443ea
PP
178 ..\perl.obj \
179 ..\perlio.obj \
180 ..\perly.obj \
3e3baf6d 181 ..\pp.obj \
137443ea
PP
182 ..\pp_ctl.obj \
183 ..\pp_hot.obj \
184 ..\pp_sys.obj \
185 ..\regcomp.obj \
186 ..\regexec.obj \
187 ..\run.obj \
188 ..\scope.obj \
3e3baf6d 189 ..\sv.obj \
137443ea
PP
190 ..\taint.obj \
191 ..\toke.obj \
3e3baf6d 192 ..\universal.obj\
137443ea
PP
193 ..\util.obj
194
195WIN32_C = perllib.c \
196 win32.c \
197 win32io.c \
3e3baf6d 198 win32sck.c
137443ea
PP
199
200WIN32_OBJ = win32.obj \
201 win32io.obj \
3e3baf6d 202 win32sck.obj
137443ea 203
fb73857a
PP
204PERL95_OBJ = perl95.obj \
205 win32mt.obj \
206 win32iomt.obj \
207 win32sckmt.obj
208
137443ea
PP
209DLL_OBJ = perllib.obj $(DYNALOADER).obj
210
3e3baf6d
TB
211CORE_H = ..\av.h \
212 ..\cop.h \
213 ..\cv.h \
214 ..\dosish.h \
215 ..\embed.h \
216 ..\form.h \
217 ..\gv.h \
218 ..\handy.h \
219 ..\hv.h \
220 ..\mg.h \
221 ..\nostdio.h \
222 ..\op.h \
223 ..\opcode.h \
224 ..\perl.h \
225 ..\perlio.h \
226 ..\perlsdio.h \
227 ..\perlsfio.h \
228 ..\perly.h \
229 ..\pp.h \
230 ..\proto.h \
231 ..\regexp.h \
232 ..\scope.h \
233 ..\sv.h \
234 ..\unixish.h \
235 ..\util.h \
236 ..\XSUB.h \
237 .\config.h \
238 ..\EXTERN.h \
239 .\include\dirent.h \
240 .\include\netdb.h \
241 .\include\sys\socket.h \
242 .\win32.h
137443ea 243
0a753a76 244EXTENSIONS=DynaLoader Socket IO Fcntl Opcode SDBM_File
0a753a76 245
68dc0745
PP
246DYNALOADER=$(EXTDIR)\DynaLoader\DynaLoader
247SOCKET=$(EXTDIR)\Socket\Socket
248FCNTL=$(EXTDIR)\Fcntl\Fcntl
249OPCODE=$(EXTDIR)\Opcode\Opcode
250SDBM_FILE=$(EXTDIR)\SDBM_File\SDBM_File
251IO=$(EXTDIR)\IO\IO
252
253SOCKET_DLL=..\lib\auto\Socket\Socket.dll
254FCNTL_DLL=..\lib\auto\Fcntl\Fcntl.dll
255OPCODE_DLL=..\lib\auto\Opcode\Opcode.dll
256SDBM_FILE_DLL=..\lib\auto\SDBM_File\SDBM_File.dll
257IO_DLL=..\lib\auto\IO\IO.dll
258
259STATICLINKMODULES=DynaLoader
260DYNALOADMODULES= \
261 $(SOCKET_DLL) \
262 $(FCNTL_DLL) \
263 $(OPCODE_DLL) \
264 $(SDBM_FILE_DLL)\
265 $(IO_DLL)
266
267POD2HTML=$(PODDIR)\pod2html
268POD2MAN=$(PODDIR)\pod2man
269POD2LATEX=$(PODDIR)\pod2latex
270POD2TEXT=$(PODDIR)\pod2text
271
137443ea
PP
272#
273# Top targets
274#
0a753a76 275
3e3baf6d 276all: $(PERLEXE) $(PERL95EXE) $(GLOBEXE) $(DYNALOADMODULES) $(MINIMOD) $(GLOBBAT)
0a753a76 277
137443ea 278$(DYNALOADER).obj : $(DYNALOADER).c $(CORE_H) $(EXTDIR)\DynaLoader\dlutils.c
0a753a76 279
137443ea 280#------------------------------------------------------------
0a753a76 281
137443ea
PP
282$(GLOBEXE): perlglob.obj
283 $(LINK32) $(LINK_FLAGS) -out:$@ -subsystem:$(SUBSYS) perlglob.obj setargv.obj
0a753a76 284
d444a431
TB
285$(GLOBBAT) : ..\lib\File\DosGlob.pm $(MINIPERL)
286 $(MINIPERL) $(PL2BAT) - < ..\lib\File\DosGlob.pm > $(GLOBBAT)
3e3baf6d 287
137443ea
PP
288perlglob.obj : perlglob.c
289
290..\miniperlmain.obj : ..\miniperlmain.c $(CORE_H)
291
3e3baf6d
TB
292config.w32 : $(CFGSH_TMPL)
293 copy $(CFGSH_TMPL) config.w32
294
295.\config.h : $(CFGSH_TMPL)
296 -del /f config.h
297 copy $(CFGH_TMPL) config.h
298
137443ea 299..\config.sh : config.w32 $(MINIPERL) config_sh.PL
3e3baf6d
TB
300 $(MINIPERL) -I..\lib config_sh.PL "INST_DRV=$(INST_DRV)" \
301 "INST_TOP=$(INST_TOP)" "cc=$(CC)" "ccflags=$(RUNTIME) -DWIN32" \
f7c603cb 302 "cf_email=$(EMAIL)" "libs=$(LIBFILES)" "incpath=$(CCINCDIR)" \
3e3baf6d
TB
303 "libpth=$(CCLIBDIR)" "libc=$(LIBC)" \
304 config.w32 > ..\config.sh
137443ea 305
83437bec 306$(CONFIGPM) : $(MINIPERL) ..\config.sh config_h.PL ..\minimod.pl
137443ea 307 cd .. && miniperl configpm
c90c0ff4 308 if exist lib\* $(RCOPY) lib\*.* ..\lib\$(NULL)
137443ea
PP
309 $(XCOPY) ..\*.h ..\lib\CORE\*.*
310 $(XCOPY) *.h ..\lib\CORE\*.*
c90c0ff4 311 $(RCOPY) include ..\lib\CORE\*.*
3e3baf6d
TB
312 $(MINIPERL) -I..\lib config_h.PL || $(MAKE) CCTYPE=$(CCTYPE) \
313 RUNTIME=$(RUNTIME) CFG=$(CFG) $(CONFIGPM)
137443ea
PP
314
315$(MINIPERL) : ..\miniperlmain.obj $(CORE_OBJ) $(WIN32_OBJ)
316 $(LINK32) -subsystem:console -out:$@ @<<
317 $(LINK_FLAGS) ..\miniperlmain.obj $(CORE_OBJ) $(WIN32_OBJ)
318<<
319
320$(WIN32_OBJ) : $(CORE_H)
321$(CORE_OBJ) : $(CORE_H)
322$(DLL_OBJ) : $(CORE_H)
0a753a76 323
137443ea 324perldll.def : $(MINIPERL) $(CONFIGPM)
3e3baf6d 325 $(MINIPERL) -w makedef.pl $(CCTYPE) > perldll.def
0a753a76 326
137443ea
PP
327$(PERLDLL): perldll.def $(CORE_OBJ) $(WIN32_OBJ) $(DLL_OBJ)
328 $(LINK32) -dll -def:perldll.def -out:$@ @<<
329 $(LINK_FLAGS) $(CORE_OBJ) $(WIN32_OBJ) $(DLL_OBJ)
330<<
331 $(XCOPY) $(PERLIMPLIB) ..\lib\CORE
332
333perl.def : $(MINIPERL) makeperldef.pl
334 $(MINIPERL) -I..\lib makeperldef.pl $(NULL) > perl.def
335
83437bec
NIS
336$(MINIMOD) : $(MINIPERL) ..\minimod.pl
337 cd .. && miniperl minimod.pl > lib\ExtUtils\Miniperl.pm
338
339perlmain.c : runperl.c
0a753a76 340 copy runperl.c perlmain.c
137443ea
PP
341
342perlmain.obj : perlmain.c
3e3baf6d 343 $(CC) $(CFLAGS) -UPERLDLL -c perlmain.c
137443ea
PP
344
345$(PERLEXE): $(PERLDLL) $(CONFIGPM) perlmain.obj
3e3baf6d
TB
346 $(LINK32) -subsystem:console -out:perl.exe $(LINK_FLAGS) \
347 perlmain.obj $(WINIOMAYBE) $(PERLIMPLIB)
137443ea
PP
348 copy perl.exe $@
349 del perl.exe
0a753a76 350 copy splittree.pl ..
137443ea 351 $(MINIPERL) -I..\lib ..\splittree.pl "../LIB" "../LIB/auto"
0a753a76
PP
352 attrib -r ..\t\*.*
353 copy test ..\t
0a753a76 354
3e3baf6d
TB
355perl95.c : runperl.c
356 copy runperl.c perl95.c
357
358perl95.obj : perl95.c
359 $(CC) $(CFLAGS) -MT -UPERLDLL -c perl95.c
360
361win32iomt.obj : win32io.c
362 $(CC) $(CFLAGS) -MT -c $(OBJOUT_FLAG)win32iomt.obj win32io.c
363
fb73857a
PP
364win32sckmt.obj : win32sck.c
365 $(CC) $(CFLAGS) -MT -c $(OBJOUT_FLAG)win32sckmt.obj win32sck.c
366
367win32mt.obj : win32.c
368 $(CC) $(CFLAGS) -MT -c $(OBJOUT_FLAG)win32mt.obj win32.c
369
370$(PERL95EXE): $(PERLDLL) $(CONFIGPM) $(PERL95_OBJ)
3e3baf6d 371 $(LINK32) -subsystem:console -out:perl95.exe $(LINK_FLAGS) \
fb73857a 372 $(PERL95_OBJ) $(PERLIMPLIB)
3e3baf6d
TB
373 copy perl95.exe $@
374 del perl95.exe
375
137443ea 376$(DYNALOADER).c: $(MINIPERL) $(EXTDIR)\DynaLoader\dl_win32.xs $(CONFIGPM)
68dc0745
PP
377 if not exist ..\lib\auto md ..\lib\auto
378 $(XCOPY) $(EXTDIR)\$(*B)\$(*B).pm $(LIBDIR)\$(NULL)
379 cd $(EXTDIR)\$(*B)
380 $(XSUBPP) dl_win32.xs > $(*B).c
0a753a76
PP
381 cd ..\..\win32
382
68dc0745
PP
383$(EXTDIR)\DynaLoader\dl_win32.xs: dl_win32.xs
384 copy dl_win32.xs $(EXTDIR)\DynaLoader\dl_win32.xs
0a753a76 385
137443ea 386$(IO_DLL): $(PERLEXE) $(CONFIGPM) $(IO).xs
68dc0745 387 cd $(EXTDIR)\$(*B)
137443ea
PP
388 ..\..\miniperl -I..\..\lib Makefile.PL INSTALLDIRS=perl
389 $(MAKE)
0a753a76
PP
390 cd ..\..\win32
391
137443ea 392$(SDBM_FILE_DLL) : $(PERLEXE) $(SDBM_FILE).xs
68dc0745 393 cd $(EXTDIR)\$(*B)
137443ea
PP
394 ..\..\miniperl -I..\..\lib Makefile.PL INSTALLDIRS=perl
395 $(MAKE)
68dc0745 396 cd ..\..\win32
0a753a76 397
137443ea 398$(FCNTL_DLL): $(PERLEXE) $(FCNTL).xs
68dc0745 399 cd $(EXTDIR)\$(*B)
137443ea
PP
400 ..\..\miniperl -I..\..\lib Makefile.PL INSTALLDIRS=perl
401 $(MAKE)
0a753a76
PP
402 cd ..\..\win32
403
137443ea 404$(OPCODE_DLL): $(PERLEXE) $(OPCODE).xs
68dc0745 405 cd $(EXTDIR)\$(*B)
137443ea
PP
406 ..\..\miniperl -I..\..\lib Makefile.PL INSTALLDIRS=perl
407 $(MAKE)
68dc0745 408 cd ..\..\win32
0a753a76 409
137443ea 410$(SOCKET_DLL): $(SOCKET).xs $(PERLEXE)
68dc0745 411 cd $(EXTDIR)\$(*B)
137443ea
PP
412 ..\..\miniperl -I..\..\lib Makefile.PL INSTALLDIRS=perl
413 $(MAKE)
0a753a76
PP
414 cd ..\..\win32
415
68dc0745 416doc: $(PERLEXE)
84902520
TB
417 cd ..\pod
418 $(MAKE) -f ..\win32\pod.mak checkpods pod2html pod2latex \
419 pod2man pod2text
420 $(XCOPY) *.bat ..\win32\bin\*.*
421 cd ..\win32
3e3baf6d
TB
422 copy ..\README.win32 ..\pod\perlwin32.pod
423 $(PERLEXE) ..\installhtml --podroot=.. --htmldir=./html \
424 --podpath=pod:lib:ext:utils --htmlroot="//$(INST_HTML::=|)" \
425 --libpod=perlfunc:perlguts:perlvar:perlrun:perlop --recurse
68dc0745 426
3fe9a6f1
PP
427utils: $(PERLEXE)
428 cd ..\utils
429 nmake PERL=$(MINIPERL)
d444a431
TB
430 $(PERLEXE) ..\win32\$(PL2BAT) h2ph splain perlbug pl2pm c2ph
431 $(PERLEXE) ..\win32\$(PL2BAT) h2xs perldoc pstruct
3fe9a6f1
PP
432 $(XCOPY) *.bat ..\win32\bin\*.*
433 cd ..\win32
d444a431
TB
434 $(PERLEXE) $(PL2BAT) bin\network.pl bin\www.pl bin\runperl.pl \
435 bin\pl2bat.pl
3fe9a6f1 436
137443ea
PP
437distclean: clean
438 -del /f $(MINIPERL) $(PERLEXE) $(PERLDLL) $(GLOBEXE) \
83437bec 439 $(PERLIMPLIB) ..\miniperl.lib $(MINIMOD)
3e3baf6d 440 -del /f *.def *.map
54310121
PP
441 -del /f $(SOCKET_DLL) $(IO_DLL) $(SDBM_FILE_DLL) $(FCNTL_DLL) \
442 $(OPCODE_DLL)
443 -del /f $(SOCKET).c $(IO).c $(SDBM_FILE).c $(FCNTL).c $(OPCODE).c \
444 $(DYNALOADER).c
68dc0745
PP
445 -del /f $(PODDIR)\*.html
446 -del /f $(PODDIR)\*.bat
d444a431
TB
447 -del /f ..\config.sh ..\splittree.pl perlmain.c dlutils.c \
448 config.h.new perl95.c
449 -del /f bin\*.bat
54310121
PP
450 -rmdir /s /q ..\lib\auto
451 -rmdir /s /q ..\lib\CORE
3e3baf6d
TB
452 cd $(EXTDIR)
453 -del /s *.lib *.def *.map *.bs Makefile *.obj pm_to_blib
454 cd ..\win32
68dc0745 455
3e3baf6d 456install : all doc utils
68dc0745
PP
457 if not exist $(INST_TOP) mkdir $(INST_TOP)
458 echo I $(INST_TOP) L $(LIBDIR)
459 $(XCOPY) $(PERLEXE) $(INST_BIN)\*.*
3e3baf6d 460 $(XCOPY) $(PERL95EXE) $(INST_BIN)\*.*
68dc0745
PP
461 $(XCOPY) $(GLOBEXE) $(INST_BIN)\*.*
462 $(XCOPY) $(PERLDLL) $(INST_BIN)\*.*
d444a431 463 $(XCOPY) bin\*.bat $(INST_BIN)\*.*
c90c0ff4 464 $(RCOPY) ..\lib $(INST_LIB)\*.*
68dc0745
PP
465 $(XCOPY) ..\pod\*.bat $(INST_BIN)\*.*
466 $(XCOPY) ..\pod\*.pod $(INST_POD)\*.*
3e3baf6d 467 $(RCOPY) html\*.* $(INST_HTML)\*.*
68dc0745 468
137443ea 469inst_lib : $(CONFIGPM)
68dc0745 470 copy splittree.pl ..
137443ea 471 $(MINIPERL) -I..\lib ..\splittree.pl "../LIB" "../LIB/auto"
c90c0ff4 472 $(RCOPY) ..\lib $(INST_LIB)\*.*
0a753a76 473
137443ea
PP
474minitest : $(MINIPERL) $(GLOBEXE) $(CONFIGPM)
475 $(XCOPY) $(MINIPERL) ..\t\perl.exe
476 $(XCOPY) $(GLOBEXE) ..\t\$(NULL)
477 attrib -r ..\t\*.*
478 copy test ..\t
479 cd ..\t
480 $(MINIPERL) -I..\lib test base/*.t comp/*.t cmd/*.t io/*.t op/*.t pragma/*.t
481 cd ..\win32
482
fb73857a 483test-prep : all
68dc0745
PP
484 $(XCOPY) $(PERLEXE) ..\t\$(NULL)
485 $(XCOPY) $(PERLDLL) ..\t\$(NULL)
486 $(XCOPY) $(GLOBEXE) ..\t\$(NULL)
fb73857a
PP
487
488test : test-prep
489 cd ..\t
490 $(PERLEXE) -I..\lib harness
491 cd ..\win32
492
493test-notty : test-prep
494 set PERL_SKIP_TTY_TEST=1
137443ea
PP
495 cd ..\t
496 $(PERLEXE) -I..\lib harness
68dc0745 497 cd ..\win32
137443ea
PP
498
499clean :
500 -@erase miniperlmain.obj
501 -@erase $(MINIPERL)
502 -@erase perlglob.obj
503 -@erase perlmain.obj
3e3baf6d
TB
504 -@erase config.w32
505 -@erase /f config.h
137443ea
PP
506 -@erase $(GLOBEXE)
507 -@erase $(PERLEXE)
508 -@erase $(PERLDLL)
509 -@erase $(CORE_OBJ)
510 -@erase $(WIN32_OBJ)
511 -@erase $(DLL_OBJ)
d444a431
TB
512 -@erase ..\*.obj ..\*.lib ..\*.exp *.obj *.lib *.exp
513 -@erase ..\t\*.exe ..\t\*.dll ..\t\*.bat
137443ea
PP
514 -@erase *.ilk
515 -@erase *.pdb
516
517