From: Vadim Konovalov Date: Thu, 4 May 2006 13:04:45 +0000 (+0200) Subject: wince yet another step X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=247d87550862b0b5104e6c93ef1ce8e83645c49c;p=p5sagit%2Fp5-mst-13.2.git wince yet another step From: "Konovalov, Vadim Vladimirovich (Vadim)** CTR **" Message-ID: p4raw-id: //depot/perl@28096 --- diff --git a/win32/Makefile.ce b/win32/Makefile.ce index 007f559..a948f71 100644 --- a/win32/Makefile.ce +++ b/win32/Makefile.ce @@ -654,28 +654,6 @@ CORE_NOCFG_H = \ .\include\sys\socket.h \ .\win32.h -MICROCORE_OBJ = $(MICROCORE_SRC:.c=.obj) -CORE_OBJ = $(MICROCORE_OBJ) $(EXTRACORE_SRC:.c=.obj) -WIN32_OBJ = $(WIN32_SRC:.c=.obj) -#WIN32_OBJ = $(WIN32_OBJ:.\=.\$(DLLDIR)\) -MINICORE_OBJ = $(MICROCORE_OBJ:..\=.\$(DLLDIR)\) \ - $(MINIDIR)\miniperlmain$(o) \ - $(MINIDIR)\perlio$(o) -MINIWIN32_OBJ = $(WIN32_OBJ:.\=.\$(DLLDIR)\) -MINI_OBJ = $(MINICORE_OBJ) $(MINIWIN32_OBJ) -DLL_OBJ = $(DLL_SRC:.c=.obj) -X2P_OBJ = $(X2P_SRC:.c=.obj) - -PERLDLL_OBJ = $(CORE_OBJ) -PERLEXE_OBJ = perlmain$(o) - -PERLDLL_OBJ = $(PERLDLL_OBJ) $(WIN32_OBJ) $(DLL_OBJ) -#PERLEXE_OBJ = $(PERLEXE_OBJ) $(WIN32_OBJ) $(DLL_OBJ) - -!IF "$(USE_SETARGV)" != "" -SETARGV_OBJ = setargv$(o) -!ENDIF - DYNAMIC_EXT = Socket IO Fcntl Opcode SDBM_File POSIX attrs Thread B re \ Data/Dumper Devel/Peek ByteLoader Devel/DProf File/Glob \ Sys/Hostname @@ -751,20 +729,17 @@ $(CONFIGPM) : $(HPERL) ..\config.sh config_h.PL ..\minimod.pl $(MINIMOD) : ..\minimod.pl cd .. && $(HPERL) minimod.pl > lib\ExtUtils\Miniperl.pm -perlmain.c : runperl.c - $(COPY) runperl.c perlmain.c - $(DYNALOADER).c: $(EXTDIR)\DynaLoader\dl_win32.xs $(CONFIGPM) if not exist $(AUTODIR) mkdir $(AUTODIR) cd $(EXTDIR)\$(*B) $(HPERL) -I..\..\lib -MCross=$(CROSS_NAME) $(*B)_pm.PL $(HPERL) -I..\..\lib -MCross=$(CROSS_NAME) XSLoader_pm.PL - cd ..\..\win + cd ..\..\win32 $(XCOPY) $(EXTDIR)\$(*B)\$(*B).pm $(LIBDIR)\$(NULL) $(XCOPY) $(EXTDIR)\$(*B)\XSLoader.pm $(LIBDIR)\$(NULL) cd $(EXTDIR)\$(*B) $(XSUBPP) dl_win32.xs > $(*B).c - cd ..\..\win + cd ..\..\win32 $(EXTDIR)\DynaLoader\dl_win32.xs: dl_win32.xs $(COPY) dl_win32.xs $(EXTDIR)\DynaLoader\dl_win32.xs @@ -857,7 +832,7 @@ XDLLOBJS = $(XDLLOBJS) $(DLLDIR)\fcrypt.obj $(DLLDIR)\toke.obj: $(CC) -c $(CFLAGS_O) -QMOb9000 -DPERL_EXTERNAL_GLOB -Fo$(DLLDIR)\ ..\toke.c -{$(SRCDIR)/win}.c{$(DLLDIR)}.obj: +{$(SRCDIR)/win32}.c{$(DLLDIR)}.obj: $(CC) -c $(CFLAGS_O) -DPERL_EXTERNAL_GLOB -Fo$(DLLDIR)\ $< # -DPERL_IMPLICIT_SYS needs C++ for perllib.c @@ -887,7 +862,7 @@ $(DLLDIR)\DynaLoader.obj: $(EXTDIR)\DynaLoader\DynaLoader.c $(EXTDIR)\DynaLoader\DynaLoader.c XPERLEXEOBJS = \ -$(MACHINE)\perlmain.obj +$(MACHINE)\perlmaince.obj $(PERLEXE) : $(PERLDLL) $(CONFIGPM) $(XPERLEXEOBJS) $(PERLEXE_RES) $(STARTOBJS) $(XCOPY) $(MACHINE)\*.lib $(XCOREDIR) @@ -897,8 +872,8 @@ $(PERLEXE) : $(PERLDLL) $(CONFIGPM) $(XPERLEXEOBJS) $(PERLEXE_RES) $(STARTOBJS) -stack:0x100000 $(LINK_FLAGS) $(STARTOBJS) $(XPERLEXEOBJS) \ $(PERLIMPLIB) $(PERLEXE_RES) $(LIBFILES) -$(MACHINE)\perlmain.obj : perlmain.c - $(CC) $(CFLAGS_O) -UPERLDLL -Fo$(MACHINE)\ -c perlmain.c +$(MACHINE)\perlmaince.obj : perlmaince.c + $(CC) $(CFLAGS_O) -UPERLDLL -Fo$(MACHINE)\ -c perlmaince.c iodll: $(IO_DLL) socketdll: $(SOCKET_DLL)