зеркало из https://github.com/mozilla/pjs.git
82 строки
2.3 KiB
Plaintext
82 строки
2.3 KiB
Plaintext
#!nmake
|
|
#
|
|
# The contents of this file are subject to the Netscape Public License
|
|
# Version 1.0 (the "NPL"); you may not use this file except in
|
|
# compliance with the NPL. You may obtain a copy of the NPL at
|
|
# http://www.mozilla.org/NPL/
|
|
#
|
|
# Software distributed under the NPL is distributed on an "AS IS" basis,
|
|
# WITHOUT WARRANTY OF ANY KIND, either express or implied. See the NPL
|
|
# for the specific language governing rights and limitations under the
|
|
# NPL.
|
|
#
|
|
# The Initial Developer of this code under the NPL is Netscape
|
|
# Communications Corporation. Portions created by Netscape are
|
|
# Copyright (C) 1998 Netscape Communications Corporation. All Rights
|
|
# Reserved.
|
|
|
|
IGNORE_MANIFEST=1
|
|
#//------------------------------------------------------------------------
|
|
#//
|
|
#// Makefile to build the java runtime library
|
|
#//
|
|
#//------------------------------------------------------------------------
|
|
|
|
|
|
#//------------------------------------------------------------------------
|
|
#//
|
|
#// Specify the depth of the current directory relative to the
|
|
#// root of NS
|
|
#//
|
|
#//------------------------------------------------------------------------
|
|
DEPTH= ..\..\..
|
|
|
|
include <$(DEPTH)\config\config.mak>
|
|
|
|
JAR_SEC_CLASSES = netscape/security
|
|
|
|
!ifdef JAVA_OR_NSJVM
|
|
JDIRS = $(JAR_SEC_CLASSES)
|
|
!endif
|
|
|
|
SEC_JAR_NAME=nssec$(VERSION_NUMBER).jar
|
|
|
|
include <$(DEPTH)\config\rules.mak>
|
|
|
|
!ifdef JAVA_OR_NSJVM
|
|
install::
|
|
cd $(JAVA_DESTPATH)
|
|
@echo +++ building/updating $(SEC_JAR_NAME)
|
|
-for %i in ($(JDIRS:/=\)) do @$(ZIP_PROG) $(ZIP_FLAGS) $(SEC_JAR_NAME) %i\*.class %i\*.gif
|
|
cd $(MAKEDIR)
|
|
|
|
!ifdef REGENERATE
|
|
install::
|
|
cd $(JAVA_DESTPATH)
|
|
@echo +++ updating $(DEPTH)\nav-java\stubs\classes\$(SEC_JAR_NAME) for checkin
|
|
-for %i in ($(JDIRS:/=\)) do @$(ZIP_PROG) $(ZIP_FLAGS) ..\..\nav-java\stubs\classes\$(SEC_JAR_NAME) %i\*.class
|
|
cd $(MAKEDIR)
|
|
!endif
|
|
|
|
!else # !JAVA_OR_NSJVM
|
|
|
|
install::
|
|
$(MAKE_INSTALL) $(SEC_JAR_NAME) $(JAVA_DESTPATH)
|
|
$(MAKE_INSTALL) ifc11.jar $(JAVA_DESTPATH)
|
|
$(MAKE_INSTALL) jsj10.jar $(JAVA_DESTPATH)
|
|
$(MAKE_INSTALL) ldap10.jar $(JAVA_DESTPATH)
|
|
$(MAKE_INSTALL) nsplug$(VERSION_NUMBER).jar $(JAVA_DESTPATH)
|
|
!ifdef NSJVM
|
|
cd $(XPDIST)\classes11
|
|
unzip -o $(SEC_JAR_NAME)
|
|
unzip -o ifc11.jar
|
|
unzip -o jsj10.jar
|
|
unzip -o ldap10.jar
|
|
unzip -o nsplug$(VERSION_NUMBER).jar
|
|
cd $(MAKEDIR)
|
|
!endif
|
|
|
|
!endif # !JAVA_OR_NSJVM
|
|
|
|
clobber::
|