summaryrefslogtreecommitdiff
path: root/win32
diff options
context:
space:
mode:
authorJarkko Hietaniemi <jhi@iki.fi>2001-04-19 01:41:10 +0000
committerJarkko Hietaniemi <jhi@iki.fi>2001-04-19 01:41:10 +0000
commit302d38aa06a9db991c3d8d4d4150b2d3e93e193b (patch)
treeafd6e0b782fd214cef61f96c0d33dff9599d9de7 /win32
parentb3c85772f7a16b79e679c78c9638a7afa4856432 (diff)
downloadperl-302d38aa06a9db991c3d8d4d4150b2d3e93e193b.tar.gz
Add Time::Piece, a slight rewrite of Time::Object,
from Matt Sergeant. p4raw-id: //depot/perl@9748
Diffstat (limited to 'win32')
-rw-r--r--win32/Makefile19
-rw-r--r--win32/makefile.mk4
2 files changed, 19 insertions, 4 deletions
diff --git a/win32/Makefile b/win32/Makefile
index ebd8d45e23..1f846d2828 100644
--- a/win32/Makefile
+++ b/win32/Makefile
@@ -609,7 +609,7 @@ SETARGV_OBJ = setargv$(o)
DYNAMIC_EXT = Socket IO Fcntl Opcode SDBM_File POSIX attrs Thread B re \
Data/Dumper Devel/Peek ByteLoader Devel/DProf File/Glob \
Sys/Hostname Storable Filter/Util/Call Encode Digest/MD5 \
- PerlIO/Scalar MIME/Base64 Time/HiRes
+ PerlIO/Scalar MIME/Base64 Time/HiRes Time/Piece
STATIC_EXT = DynaLoader
NONXS_EXT = Errno
@@ -638,6 +638,7 @@ MD5 = $(EXTDIR)\Digest\MD5\MD5
PERLIOSCALAR = $(EXTDIR)\PerlIO\Scalar\Scalar
MIMEBASE64 = $(EXTDIR)\MIME\Base64\Base64
TIMEHIRES = $(EXTDIR)\Time\HiRes\HiRes
+TIMEPIECE = $(EXTDIR)\Time\Piece\Piece
SOCKET_DLL = $(AUTODIR)\Socket\Socket.dll
FCNTL_DLL = $(AUTODIR)\Fcntl\Fcntl.dll
@@ -662,6 +663,7 @@ MD5_DLL = $(AUTODIR)\Digest\MD5\MD5.dll
PERLIOSCALAR_DLL= $(AUTODIR)\PerlIO\Scalar\Scalar.dll
MIMEBASE64_DLL = $(AUTODIR)\MIME\Base64\Base64.dll
TIMEHIRES_DLL = $(AUTODIR)\Time\HiRes\HiRes.dll
+TIMEPIECE_DLL = $(AUTODIR)\Time\Piece\Piece.dll
ERRNO_PM = $(LIBDIR)\Errno.pm
@@ -688,7 +690,8 @@ EXTENSION_C = \
$(MD5).c \
$(PERLIOSCALAR).c \
$(MIMEBASE64).c \
- $(TIMEHIRES).c
+ $(TIMEHIRES).c \
+ $(TIMEPIECE).c
EXTENSION_DLL = \
$(SOCKET_DLL) \
@@ -713,7 +716,8 @@ EXTENSION_DLL = \
$(MD5_DLL) \
$(PERLIOSCALAR_DLL) \
$(MIMEBASE64_DLL) \
- $(TIMEHIRES_DLL)
+ $(TIMEHIRES_DLL) \
+ $(TIMEPIECE_DLL)
EXTENSION_PM = \
$(ERRNO_PM)
@@ -1039,6 +1043,12 @@ $(TIMEHIRES_DLL): $(PERLEXE) $(TIMEHIRES).xs
$(MAKE)
cd ..\..\win32
+$(TIMEPIECE_DLL): $(PERLEXE) $(TIMEPIECE).xs
+ cd $(EXTDIR)\$(*B)
+ ..\..\miniperl -I..\..\lib Makefile.PL INSTALLDIRS=perl
+ $(MAKE)
+ cd ..\..\win32
+
$(ERRNO_PM): $(PERLEXE) $(ERRNO)_pm.PL
cd $(EXTDIR)\$(*B)
..\..\miniperl -I..\..\lib Makefile.PL INSTALLDIRS=perl
@@ -1100,6 +1110,7 @@ distclean: clean
-del /f $(LIBDIR)\MIME\Base64\Base64.pm
-del /f $(LIBDIR)\MIME\Base64\QuotedPrint.pm
-del /f $(LIBDIR)\Time\HiRes\HiRes.pm
+ -del /f $(LIBDIR)\Time\Piece\Piece.pm
-if exist $(LIBDIR)\IO rmdir /s /q $(LIBDIR)\IO
-rmdir /s $(LIBDIR)\IO
-if exist $(LIBDIR)\Thread rmdir /s /q $(LIBDIR)\Thread
@@ -1120,6 +1131,8 @@ distclean: clean
-rmdir /s $(LIBDIR)\MIME
-if exist $(LIBDIR)\Time\HiRes rmdir /s /q $(LIBDIR)\Time\HiRes
-rmdir /s $(LIBDIR)\Time\HiRes
+ -if exist $(LIBDIR)\Time\Piece rmdir /s /q $(LIBDIR)\Time\Piece
+ -rmdir /s $(LIBDIR)\Time\Piece
cd $(PODDIR)
-del /f *.html *.bat checkpods \
perlaix.pod perlamiga.pod perlbs2000.pod perlcygwin.pod \
diff --git a/win32/makefile.mk b/win32/makefile.mk
index 6586fc6760..4791169ed6 100644
--- a/win32/makefile.mk
+++ b/win32/makefile.mk
@@ -764,7 +764,7 @@ SETARGV_OBJ = setargv$(o)
DYNAMIC_EXT = Socket IO Fcntl Opcode SDBM_File POSIX attrs Thread B re \
Data/Dumper Devel/Peek ByteLoader Devel/DProf File/Glob \
Sys/Hostname Storable Filter/Util/Call Encode \
- Digest/MD5 PerlIO/Scalar MIME/Base64 Time/HiRes
+ Digest/MD5 PerlIO/Scalar MIME/Base64 Time/HiRes Time/Piece
STATIC_EXT = DynaLoader
NONXS_EXT = Errno
@@ -1123,6 +1123,7 @@ distclean: clean
-del /f $(LIBDIR)\MIME\Base64\Base64.pm
-del /f $(LIBDIR)\MIME\Base64\QuotedPrint.pm
-del /f $(LIBDIR)\Time\HiRes\HiRes.pm
+ -del /f $(LIBDIR)\Time\Piece\Piece.pm
-if exist $(LIBDIR)\IO rmdir /s /q $(LIBDIR)\IO || rmdir /s $(LIBDIR)\IO
-if exist $(LIBDIR)\Thread rmdir /s /q $(LIBDIR)\Thread || rmdir /s $(LIBDIR)\Thread
-if exist $(LIBDIR)\B rmdir /s /q $(LIBDIR)\B || rmdir /s $(LIBDIR)\B
@@ -1134,6 +1135,7 @@ distclean: clean
-if exist $(LIBDIR)\MIME\Base64 rmdir /s /q $(LIBDIR)\MIME\Base64 || rmdir /s $(LIBDIR)\MIME\Base64
-if exist $(LIBDIR)\MIME rmdir /s /q $(LIBDIR)\MIME || rmdir /s $(LIBDIR)\MIME
-if exist $(LIBDIR)\Time\HiRes rmdir /s /q $(LIBDIR)\Time\HiRes || rmdir /s $(LIBDIR)\Time\HiRes
+ -if exist $(LIBDIR)\Time\Piece rmdir /s /q $(LIBDIR)\Time\Piece || rmdir /s $(LIBDIR)\Time\Piece
-cd $(PODDIR) && del /f *.html *.bat checkpods \
perlaix.pod perlamiga.pod perlbs2000.pod perlcygwin.pod \
perldos.pod perlepoc.pod perlhpux.pod perlmachten.pod \