summaryrefslogtreecommitdiff
path: root/win32/makefile.mk
diff options
context:
space:
mode:
authorNick Ing-Simmons <nik@tiuk.ti.com>2000-12-03 22:57:46 +0000
committerNick Ing-Simmons <nik@tiuk.ti.com>2000-12-03 22:57:46 +0000
commitadb71456d0ff53391c88789f315f1e66b14373d5 (patch)
treee7ad4e096c290d06d74ff95d475dbf44b8c47e92 /win32/makefile.mk
parentdc763022fd798529b6a2466bc01bca582b031fcd (diff)
downloadperl-adb71456d0ff53391c88789f315f1e66b14373d5.tar.gz
PERL_IMPLICIT_SYS compiles but does not work.
p4raw-id: //depot/perlio@7970
Diffstat (limited to 'win32/makefile.mk')
-rw-r--r--win32/makefile.mk12
1 files changed, 8 insertions, 4 deletions
diff --git a/win32/makefile.mk b/win32/makefile.mk
index fd9cdfa464..97b580cb2b 100644
--- a/win32/makefile.mk
+++ b/win32/makefile.mk
@@ -50,21 +50,21 @@ INST_ARCH *= \$(ARCHNAME)
# uncomment to enable multiple interpreters. This is need for fork()
# emulation.
#
-#USE_MULTI *= define
+USE_MULTI *= define
#
# Beginnings of interpreter cloning/threads; still very incomplete.
# This should be enabled to get the fork() emulation. This needs
# USE_MULTI as well.
#
-#USE_ITHREADS *= define
+USE_ITHREADS *= define
#
# uncomment to enable the implicit "host" layer for all system calls
# made by perl. This needs USE_MULTI above. This is also needed to
# get fork().
#
-#USE_IMP_SYS *= define
+USE_IMP_SYS *= define
#
# WARNING! This option is deprecated and will eventually go away (enable
@@ -364,6 +364,7 @@ LIB32 = ar rc
IMPLIB = dlltool
RSC = rc
+i = .i
o = .o
a = .a
@@ -498,11 +499,14 @@ LKPOST = )
# Rules
#
-.SUFFIXES : .c $(o) .dll $(a) .exe .rc .res
+.SUFFIXES : .c .i $(o) .dll $(a) .exe .rc .res
.c$(o):
$(CC) -c $(null,$(<:d) $(NULL) -I$(<:d)) $(CFLAGS_O) $(OBJOUT_FLAG)$@ $<
+.c.i:
+ $(CC) -c $(null,$(<:d) $(NULL) -I$(<:d)) $(CFLAGS_O) -E $< >$@
+
.y.c:
$(NOOP)