summaryrefslogtreecommitdiff
path: root/NetWare/Makefile
diff options
context:
space:
mode:
authorJarkko Hietaniemi <jhi@iki.fi>2002-02-05 23:12:19 +0000
committerJarkko Hietaniemi <jhi@iki.fi>2002-02-05 23:12:19 +0000
commit4d76e4b4b06e50f8d4823ad3dd37d8c202e442e0 (patch)
tree42e80c4d0b532e8dabd0caf3a49266b92693d85d /NetWare/Makefile
parentb15a22ab7111cb08cbc38a0a816e11f3fc34a386 (diff)
downloadperl-4d76e4b4b06e50f8d4823ad3dd37d8c202e442e0.tar.gz
NetWare update from Ananth Kesari.
p4raw-id: //depot/perl@14567
Diffstat (limited to 'NetWare/Makefile')
-rw-r--r--NetWare/Makefile38
1 files changed, 27 insertions, 11 deletions
diff --git a/NetWare/Makefile b/NetWare/Makefile
index a1c7e511d8..7aebdd4cbb 100644
--- a/NetWare/Makefile
+++ b/NetWare/Makefile
@@ -306,20 +306,25 @@ EXTENSION_NLP = \
# $(CWD_NLP) \
# cwd.pm needs to be modifed for NetWare.
-# Begin - Following is required to build NetWare specific extensions Perl2UCS & CGI2Perl
-PERL2UCS = $(EXTDIR)\Perl2UCS\Perl2UCS
-CGI2PERL = CGI2Perl\CGI2Perl
+# Begin - Following is required to build NetWare specific extensions Perl2UCS, UCSExt & CGI2Perl
-PERL2UCS_NLP = $(AUTODIR)\Perl2UCS\Perl2UCS.nlp
-CGI2PERL_NLP = \CGI2Perl\CGI2Perl.nlp
+PERL2UCS = $(EXTDIR)\Perl2UCS\Perl2UCS
+UCSEXT = $(EXTDIR)\UCSExt\UCSExt
+CGI2PERL = CGI2Perl\CGI2Perl
+
+PERL2UCS_NLP = $(AUTODIR)\Perl2UCS\Perl2UCS.nlp
+UCSEXT_NLP = $(AUTODIR)\UCSExt\UCSExt.nlp
+CGI2PERL_NLP = \CGI2Perl\CGI2Perl.nlp
NETWARE_EXTNS = \
$(PERL2UCS_NLP) \
+ $(UCSEXT_NLP) \
$(CGI2PERL_NLP)
# End
+
ECHO_SRC = TestNLM\echo\echo.c
TYPE_SRC = TestNLM\type\type.c
ECHO_SRC_OBJ = $(ECHO_SRC:.c=.obj)
@@ -388,7 +393,7 @@ BASE_LIBRARIES =
!endif #!ifdef WATCOM
!endif #!ifndef BASE_LIBRARIES
-COPYRIGHT = Copyright 2001 by Novell, Inc. All rights reserved.
+COPYRIGHT = (C) Copyright 2001-2002 Novell Inc. All rights reserved.
EXPORTS = Export @perl.imp
@@ -763,7 +768,7 @@ X2P_OBJ = $(X2P_SRC:.c=.obj)
DYNAMIC_EXT = Socket IO Fcntl Opcode SDBM_File POSIX attrs Thread B re \
Data/Dumper Devel/Peek ByteLoader Devel/DProf File/Glob \
Storable/Storable List/Util MIME/Base64/Base64 \
- XS/Typemap/Typemap Unicode/Normalize/Normalize Sys/Hostnamees
+ XS/Typemap/Typemap Unicode/Normalize/Normalize Sys/Hostname
STATIC_EXT = DynaLoader
@@ -939,7 +944,7 @@ HEADERS :
@copy << stdio.h >\nul
/*
- * Copyright © 2001 Novell, Inc. All Rights Reserved.
+ * (C) Copyright 2001-2002 Novell Inc. All rights reserved.
*
* You may distribute under the terms of either the GNU General Public
* License or the Artistic License, as specified in the README file.
@@ -976,7 +981,7 @@ HEADERS :
@copy << string.h >\nul
/*
- * Copyright © 2001 Novell, Inc. All Rights Reserved.
+ * (C) Copyright 2001-2002 Novell Inc. All rights reserved.
*
* You may distribute under the terms of either the GNU General Public
* License or the Artistic License, as specified in the README file.
@@ -1171,7 +1176,7 @@ $(EXT_MAIN_OBJ) : $(CLIB_H_FILES)
# $(MINIPERL) -I..\lib config_sh.PL $(NW_CFG_VARS) config.nw5 > ..\config.sh
# @pause
# cd ..
-# del config.sh
+# del /f /q config.sh
# rename nwconfig.sh config.sh
# cd netware
@@ -1406,6 +1411,14 @@ $(PERL2UCS_NLP):
cd ..\..\netware
!endif
+$(UCSEXT_NLP):
+!if "$(NW_EXTNS)"=="yes"
+ cd $(EXTDIR)\$(*B)
+ ..\..\miniperl -I..\..\lib Makefile.PL INSTALLDIRS=perl
+ $(MAKE)
+ cd ..\..\netware
+!endif
+
nwclean:
-rmdir /s /q $(REL_DIR)
-rmdir /s /q $(DEB_DIR)
@@ -1473,7 +1486,7 @@ distclean: clean nwclean
-del /f /q $(CONFIGPM)
-del /f /q bin\*.bat
cd $(EXTDIR)
- -del /s /q *.lib *.def *.map *.pdb *.bs Makefile *$(o) pm_to_blib *.xdc *.err
+ -del /s /f /q *.lib *.def *.map *.pdb *.bs Makefile *$(o) pm_to_blib *.xdc *.err
cd ..\netware
!if "$(NW_EXTNS)"=="yes"
cd cgi2perl
@@ -1482,6 +1495,9 @@ distclean: clean nwclean
cd $(EXTDIR)\Perl2UCS
-del /f /q *.obj *.bs Makefile *$(o) *.c pm_to_blib *.xdc *.err *.sym *.map *.c
cd ..\..\netware
+ cd $(EXTDIR)\UCSExt
+ -del /f /q *.obj *.bs Makefile *$(o) *.c pm_to_blib *.xdc *.err *.sym *.map *.c
+ cd ..\..\netware
!endif
-rmdir /s /q $(AUTODIR)
-rmdir /s /q $(COREDIR)