diff options
author | Gurusamy Sarathy <gsar@cpan.org> | 1998-07-09 05:37:48 +0000 |
---|---|---|
committer | Gurusamy Sarathy <gsar@cpan.org> | 1998-07-09 05:37:48 +0000 |
commit | 15e52e56ffc1b4b0632038d47561373c5ca610c4 (patch) | |
tree | 15aaf7ccef22d054555bbacbab3696f48ba8aab3 /win32 | |
parent | d06ea78cdb5afedf2e1a85ff54e3bfc5c519b3c5 (diff) | |
download | perl-15e52e56ffc1b4b0632038d47561373c5ca610c4.tar.gz |
get it building again on win32
p4raw-id: //depot/perl@1394
Diffstat (limited to 'win32')
-rw-r--r-- | win32/Makefile | 17 | ||||
-rw-r--r-- | win32/makedef.pl | 40 | ||||
-rw-r--r-- | win32/makefile.mk | 17 |
3 files changed, 28 insertions, 46 deletions
diff --git a/win32/Makefile b/win32/Makefile index a33a2baa04..99bd631fac 100644 --- a/win32/Makefile +++ b/win32/Makefile @@ -448,7 +448,7 @@ PERLEXE_OBJ = $(PERLEXE_OBJ) $(WIN32_OBJ) $(DLL_OBJ) PERL95_OBJ = $(PERL95_OBJ) DynaLoadmt$(o) !ENDIF -DYNAMIC_EXT = Socket IO Fcntl Opcode SDBM_File POSIX attrs Thread B +DYNAMIC_EXT = Socket IO Fcntl Opcode SDBM_File POSIX attrs Thread B re STATIC_EXT = DynaLoader NONXS_EXT = Errno @@ -462,6 +462,7 @@ POSIX = $(EXTDIR)\POSIX\POSIX ATTRS = $(EXTDIR)\attrs\attrs THREAD = $(EXTDIR)\Thread\Thread B = $(EXTDIR)\B\B +RE = $(EXTDIR)\RE\RE ERRNO = $(EXTDIR)\Errno\Errno SOCKET_DLL = $(AUTODIR)\Socket\Socket.dll @@ -473,6 +474,7 @@ POSIX_DLL = $(AUTODIR)\POSIX\POSIX.dll ATTRS_DLL = $(AUTODIR)\attrs\attrs.dll THREAD_DLL = $(AUTODIR)\Thread\Thread.dll B_DLL = $(AUTODIR)\B\B.dll +RE_DLL = $(AUTODIR)\re\re.dll ERRNO_PM = $(LIBDIR)\Errno.pm @@ -485,6 +487,7 @@ EXTENSION_C = \ $(POSIX).c \ $(ATTRS).c \ $(THREAD).c \ + $(RE).c \ $(B).c EXTENSION_DLL = \ @@ -503,7 +506,8 @@ EXTENSION_PM = \ !IF "$(OBJECT)" == "" EXTENSION_DLL = \ $(EXTENSION_DLL)\ - $(THREAD_DLL) + $(THREAD_DLL) \ + $(RE_DLL) !ENDIF POD2HTML = $(PODDIR)\pod2html @@ -580,6 +584,7 @@ $(CONFIGPM) : $(MINIPERL) ..\config.sh config_h.PL ..\minimod.pl if exist lib\* $(RCOPY) lib\*.* ..\lib\$(NULL) $(XCOPY) ..\*.h $(COREDIR)\*.* $(XCOPY) *.h $(COREDIR)\*.* + $(XCOPY) ..\ext\re\re.pm $(LIBDIR)\*.* $(RCOPY) include $(COREDIR)\*.* $(MINIPERL) -I..\lib config_h.PL "INST_VER=$(INST_VER)" \ || $(MAKE) $(MAKEFLAGS) $(CONFIGPM) @@ -709,6 +714,12 @@ $(CAPILIB) : PerlCAPI.cpp PerlCAPI$(o) $(EXTDIR)\DynaLoader\dl_win32.xs: dl_win32.xs copy dl_win32.xs $(EXTDIR)\DynaLoader\dl_win32.xs +$(RE_DLL): $(PERLEXE) $(RE).xs + cd $(EXTDIR)\$(*B) + ..\..\miniperl -I..\..\lib Makefile.PL INSTALLDIRS=perl + $(MAKE) + cd ..\..\win32 + $(B_DLL): $(PERLEXE) $(B).xs cd $(EXTDIR)\$(*B) ..\..\miniperl -I..\..\lib Makefile.PL INSTALLDIRS=perl @@ -794,7 +805,7 @@ distclean: clean -del /f $(LIBDIR)\Fcntl.pm $(LIBDIR)\IO.pm $(LIBDIR)\Opcode.pm -del /f $(LIBDIR)\ops.pm $(LIBDIR)\Safe.pm $(LIBDIR)\Thread.pm -del /f $(LIBDIR)\SDBM_File.pm $(LIBDIR)\Socket.pm $(LIBDIR)\POSIX.pm - -del /f $(LIBDIR)\B.pm $(LIBDIR)\O.pm + -del /f $(LIBDIR)\B.pm $(LIBDIR)\O.pm $(LIBDIR)\re.pm -rmdir /s /q $(LIBDIR)\IO || rmdir /s $(LIBDIR)\IO -rmdir /s /q $(LIBDIR)\Thread || rmdir /s $(LIBDIR)\Thread -rmdir /s /q $(LIBDIR)\B || rmdir /s $(LIBDIR)\B diff --git a/win32/makedef.pl b/win32/makedef.pl index 6592e468ed..7d29c9c612 100644 --- a/win32/makedef.pl +++ b/win32/makedef.pl @@ -79,15 +79,12 @@ skip_symbols [qw( Perl_statusvalue_vms Perl_archpat_auto Perl_block_type -Perl_bostr Perl_additem Perl_cast_ulong Perl_check_uni Perl_checkcomma Perl_chsize Perl_ck_aelem -Perl_colors -Perl_colorset Perl_cryptseen Perl_cx_dump Perl_DBcv @@ -110,7 +107,6 @@ Perl_dump_packsubs Perl_dump_pm Perl_dump_sub Perl_expectterm -Perl_extralen Perl_fetch_gv Perl_fetch_io Perl_force_ident @@ -148,41 +144,6 @@ Perl_pp_nswitch Perl_q Perl_rcsid Perl_reall_srchlen -Perl_reg_eval_set -Perl_reg_flags -Perl_reg_start_tmp -Perl_reg_start_tmpl -Perl_regbol -Perl_regcc -Perl_regcode -Perl_regdata -Perl_regdummy -Perl_regdump -Perl_regfold -Perl_regendp -Perl_regeol -Perl_regflags -Perl_regindent -Perl_reginput -Perl_reglastparen -Perl_regmyendp -Perl_regmyp_size -Perl_regmystartp -Perl_regnarrate -Perl_regnaughty -Perl_regnpar -Perl_regcomp_parse -Perl_regprecomp -Perl_regprev -Perl_regprogram -Perl_regprop -Perl_regsawback -Perl_regseen -Perl_regsize -Perl_regstartp -Perl_regtill -Perl_regxend -Perl_regcomp_rx Perl_same_dirent Perl_saw_return Perl_scan_const @@ -196,7 +157,6 @@ Perl_scan_str Perl_scan_subst Perl_scan_trans Perl_scan_word -Perl_seen_zerolen Perl_setenv_getix Perl_skipspace Perl_sort_mutex diff --git a/win32/makefile.mk b/win32/makefile.mk index 39c5d714e8..c552aa4b71 100644 --- a/win32/makefile.mk +++ b/win32/makefile.mk @@ -560,7 +560,7 @@ PERLEXE_OBJ += $(WIN32_OBJ) $(DLL_OBJ) PERL95_OBJ += DynaLoadmt$(o) .ENDIF -DYNAMIC_EXT = Socket IO Fcntl Opcode SDBM_File POSIX attrs Thread B +DYNAMIC_EXT = Socket IO Fcntl Opcode SDBM_File POSIX attrs Thread B re STATIC_EXT = DynaLoader NONXS_EXT = Errno @@ -574,6 +574,7 @@ POSIX = $(EXTDIR)\POSIX\POSIX ATTRS = $(EXTDIR)\attrs\attrs THREAD = $(EXTDIR)\Thread\Thread B = $(EXTDIR)\B\B +RE = $(EXTDIR)\re\re ERRNO = $(EXTDIR)\Errno\Errno SOCKET_DLL = $(AUTODIR)\Socket\Socket.dll @@ -585,6 +586,7 @@ POSIX_DLL = $(AUTODIR)\POSIX\POSIX.dll ATTRS_DLL = $(AUTODIR)\attrs\attrs.dll THREAD_DLL = $(AUTODIR)\Thread\Thread.dll B_DLL = $(AUTODIR)\B\B.dll +RE_DLL = $(AUTODIR)\re\re.dll ERRNO_PM = $(LIBDIR)\Errno.pm @@ -597,6 +599,7 @@ EXTENSION_C = \ $(POSIX).c \ $(ATTRS).c \ $(THREAD).c \ + $(RE).c \ $(B).c EXTENSION_DLL = \ @@ -612,9 +615,11 @@ EXTENSION_DLL = \ EXTENSION_PM = \ $(ERRNO_PM) +# re.dll doesn't build with PERL_OBJECT yet .IF "$(OBJECT)" == "" EXTENSION_DLL += \ - $(THREAD_DLL) + $(THREAD_DLL) \ + $(RE_DLL) .ENDIF POD2HTML = $(PODDIR)\pod2html @@ -699,6 +704,7 @@ $(CONFIGPM) : $(MINIPERL) ..\config.sh config_h.PL ..\minimod.pl if exist lib\* $(RCOPY) lib\*.* ..\lib\$(NULL) $(XCOPY) ..\*.h $(COREDIR)\*.* $(XCOPY) *.h $(COREDIR)\*.* + $(XCOPY) ..\ext\re\re.pm $(LIBDIR)\*.* $(RCOPY) include $(COREDIR)\*.* $(MINIPERL) -I..\lib config_h.PL "INST_VER=$(INST_VER)" \ || $(MAKE) $(MAKEMACROS) $(CONFIGPM) @@ -884,6 +890,11 @@ $(CAPILIB) : PerlCAPI.cpp PerlCAPI$(o) $(EXTDIR)\DynaLoader\dl_win32.xs: dl_win32.xs copy dl_win32.xs $(EXTDIR)\DynaLoader\dl_win32.xs +$(RE_DLL): $(PERLEXE) $(RE).xs + cd $(EXTDIR)\$(*B) && \ + ..\..\miniperl -I..\..\lib Makefile.PL INSTALLDIRS=perl + cd $(EXTDIR)\$(*B) && $(MAKE) + $(B_DLL): $(PERLEXE) $(B).xs cd $(EXTDIR)\$(*B) && \ ..\..\miniperl -I..\..\lib Makefile.PL INSTALLDIRS=perl @@ -956,7 +967,7 @@ distclean: clean -del /f $(LIBDIR)\Fcntl.pm $(LIBDIR)\IO.pm $(LIBDIR)\Opcode.pm -del /f $(LIBDIR)\ops.pm $(LIBDIR)\Safe.pm $(LIBDIR)\Thread.pm -del /f $(LIBDIR)\SDBM_File.pm $(LIBDIR)\Socket.pm $(LIBDIR)\POSIX.pm - -del /f $(LIBDIR)\B.pm $(LIBDIR)\O.pm + -del /f $(LIBDIR)\B.pm $(LIBDIR)\O.pm $(LIBDIR)\re.pm -rmdir /s /q $(LIBDIR)\IO || rmdir /s $(LIBDIR)\IO -rmdir /s /q $(LIBDIR)\Thread || rmdir /s $(LIBDIR)\Thread -rmdir /s /q $(LIBDIR)\B || rmdir /s $(LIBDIR)\B |