1998-04-09 08:11:30 +04:00
|
|
|
# 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.
|
|
|
|
#
|
|
|
|
DEPTH=..\..\..
|
|
|
|
DIRS=metadata
|
|
|
|
|
|
|
|
PACKAGE=netscape\asw
|
1998-04-21 10:58:06 +04:00
|
|
|
SIGNDIR=signed
|
1998-04-09 08:11:30 +04:00
|
|
|
|
|
|
|
!include <$(DEPTH)\config\rules.mak>
|
|
|
|
|
|
|
|
export:: $(JAVA_DESTPATH)\$(PACKAGE)
|
1998-07-25 02:41:04 +04:00
|
|
|
-rm compare.js
|
1998-04-21 10:58:06 +04:00
|
|
|
-mkdir $(SIGNDIR)\$(PACKAGE)
|
|
|
|
echo copying html
|
|
|
|
copy *.htm $(SIGNDIR)
|
|
|
|
echo copying js
|
|
|
|
copy *.js $(SIGNDIR)
|
|
|
|
echo copy class files
|
|
|
|
copy $(JAVA_DESTPATH)\$(PACKAGE)\*.class $(SIGNDIR)\$(PACKAGE)
|
1998-04-09 08:11:30 +04:00
|
|
|
|
|
|
|
install:: $(JAVA_DESTPATH)\$(PACKAGE)
|
1998-05-01 14:29:17 +04:00
|
|
|
-rm $(SIGNDIR)\compare.htm
|
1998-07-25 02:41:04 +04:00
|
|
|
-rm $(SIGNDIR)\ispplans.htm
|
1998-04-21 10:58:06 +04:00
|
|
|
-rm -rf $(SIGNDIR)\asw.arc
|
|
|
|
cd $(SIGNDIR)
|
|
|
|
# signtool \
|
1998-05-01 23:31:11 +04:00
|
|
|
$(PERL) $(DEPTH)\..\security\cmd\jar\signPages.pl \
|
1998-04-09 08:11:30 +04:00
|
|
|
!ifdef MOZ_CERT_DIR
|
|
|
|
-d $(MOZ_CERT_DIR) \
|
|
|
|
!endif
|
|
|
|
!ifdef MOZ_CERT_NAME
|
|
|
|
-k $(MOZ_CERT_NAME) \
|
|
|
|
!endif
|
|
|
|
!ifdef MOZ_CERT_PWD
|
|
|
|
-p $(MOZ_CERT_PWD) \
|
|
|
|
!endif
|
1998-04-21 10:58:06 +04:00
|
|
|
# -J .
|
1998-04-09 08:11:30 +04:00
|
|
|
*.htm
|
|
|
|
$(ZIP) asw.jar *
|
|
|
|
|
|
|
|
clobber::
|
|
|
|
-rm -rf $(JAVA_DESTPATH)\$(PACKAGE)
|
1998-04-21 10:58:06 +04:00
|
|
|
-rm -rf $(SIGNDIR)
|