summaryrefslogtreecommitdiff
path: root/win32/makefile.mk
diff options
context:
space:
mode:
authorGurusamy Sarathy <gsar@cpan.org>2000-08-21 05:35:41 +0000
committerGurusamy Sarathy <gsar@cpan.org>2000-08-21 05:35:41 +0000
commit63274c34f515572c9729e8c72e1fb9293a7f0731 (patch)
tree7ebc2a22220975479ccd5c918f669d3adcc3d1d9 /win32/makefile.mk
parentda352bc5a0cd9743233cf0fa04266d768f605bd9 (diff)
downloadperl-63274c34f515572c9729e8c72e1fb9293a7f0731.tar.gz
add Storable to list of extensions on Windows
p4raw-id: //depot/perl@6737
Diffstat (limited to 'win32/makefile.mk')
-rw-r--r--win32/makefile.mk16
1 files changed, 13 insertions, 3 deletions
diff --git a/win32/makefile.mk b/win32/makefile.mk
index eee98d5484..42fbd7f586 100644
--- a/win32/makefile.mk
+++ b/win32/makefile.mk
@@ -712,7 +712,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
+ Sys/Hostname Storable
STATIC_EXT = DynaLoader
NONXS_EXT = Errno
@@ -734,6 +734,7 @@ BYTELOADER = $(EXTDIR)\ByteLoader\ByteLoader
DPROF = $(EXTDIR)\Devel\DProf\DProf
GLOB = $(EXTDIR)\File\Glob\Glob
HOSTNAME = $(EXTDIR)\Sys\Hostname\Hostname
+STORABLE = $(EXTDIR)\Storable\Storable
SOCKET_DLL = $(AUTODIR)\Socket\Socket.dll
FCNTL_DLL = $(AUTODIR)\Fcntl\Fcntl.dll
@@ -751,6 +752,7 @@ BYTELOADER_DLL = $(AUTODIR)\ByteLoader\ByteLoader.dll
DPROF_DLL = $(AUTODIR)\Devel\DProf\DProf.dll
GLOB_DLL = $(AUTODIR)\File\Glob\Glob.dll
HOSTNAME_DLL = $(AUTODIR)\Sys\Hostname\Hostname.dll
+STORABLE_DLL = $(AUTODIR)\Storable\Storable.dll
ERRNO_PM = $(LIBDIR)\Errno.pm
@@ -770,7 +772,8 @@ EXTENSION_C = \
$(BYTELOADER).c \
$(DPROF).c \
$(GLOB).c \
- $(HOSTNAME).c
+ $(HOSTNAME).c \
+ $(STORABLE).c
EXTENSION_DLL = \
$(SOCKET_DLL) \
@@ -788,7 +791,8 @@ EXTENSION_DLL = \
$(BYTELOADER_DLL) \
$(DPROF_DLL) \
$(GLOB_DLL) \
- $(HOSTNAME_DLL)
+ $(HOSTNAME_DLL) \
+ $(STORABLE_DLL)
EXTENSION_PM = \
$(ERRNO_PM)
@@ -1170,6 +1174,11 @@ $(BYTELOADER_DLL): $(PERLEXE) $(BYTELOADER).xs
..\..\miniperl -I..\..\lib Makefile.PL INSTALLDIRS=perl
cd $(EXTDIR)\$(*B) && $(MAKE)
+$(STORABLE_DLL): $(PERLEXE) $(STORABLE).xs
+ cd $(EXTDIR)\$(*B) && \
+ ..\..\miniperl -I..\..\lib Makefile.PL INSTALLDIRS=perl
+ cd $(EXTDIR)\$(*B) && $(MAKE)
+
$(ERRNO_PM): $(PERLEXE) $(ERRNO)_pm.PL
cd $(EXTDIR)\$(*B) && \
..\..\miniperl -I..\..\lib Makefile.PL INSTALLDIRS=perl
@@ -1210,6 +1219,7 @@ distclean: clean
-del /f $(LIBDIR)\Data\Dumper.pm $(LIBDIR)\ByteLoader.pm
-del /f $(LIBDIR)\Devel\Peek.pm $(LIBDIR)\Devel\DProf.pm
-del /f $(LIBDIR)\File\Glob.pm
+ -del /f $(LIBDIR)\Storable.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