зеркало из https://github.com/mozilla/gecko-dev.git
79 строки
3.5 KiB
Makefile
79 строки
3.5 KiB
Makefile
#
|
|
# The contents of this file are subject to the Mozilla Public
|
|
# License Version 1.1 (the "License"); you may not use this file
|
|
# except in compliance with the License. You may obtain a copy of
|
|
# the License at http://www.mozilla.org/MPL/
|
|
#
|
|
# Software distributed under the License is distributed on an "AS
|
|
# IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or
|
|
# implied. See the License for the specific language governing
|
|
# rights and limitations under the License.
|
|
#
|
|
# The Original Code is the Mozilla browser.
|
|
#
|
|
# The Initial Developer of the Original Code is Christopher
|
|
# Blizzard. Portions created by Christopher Blizzard
|
|
# Copyright (C) 1999, Christopher Blizzard. All Rights Reserved.
|
|
#
|
|
# Contributor(s):
|
|
#
|
|
|
|
DEPTH = ../..
|
|
topsrcdir = @top_srcdir@
|
|
srcdir = @srcdir@
|
|
VPATH = @srcdir@
|
|
|
|
include $(DEPTH)/config/autoconf.mk
|
|
include $(topsrcdir)/config/rules.mk
|
|
|
|
mail_chrome: mail-jar.mn
|
|
|
|
$(NSINSTALL) -D $(DIST)/bin/tmpchrome/comm
|
|
$(UNZIP) -o -d $(DIST)/bin/tmpchrome/comm $(DIST)/bin/chrome/comm.jar
|
|
|
|
$(NSINSTALL) -D $(DIST)/bin/tmpchrome/toolkit
|
|
$(UNZIP) -o -d $(DIST)/bin/tmpchrome/toolkit $(DIST)/bin/chrome/toolkit.jar
|
|
|
|
$(NSINSTALL) -D $(DIST)/bin/tmpchrome/msg
|
|
$(UNZIP) -o -d $(DIST)/bin/tmpchrome/msg $(DIST)/bin/chrome/messenger.jar
|
|
|
|
$(NSINSTALL) -D $(DIST)/bin/tmpchrome/classic
|
|
$(UNZIP) -o -d $(DIST)/bin/tmpchrome/classic $(DIST)/bin/chrome/classic.jar
|
|
|
|
$(NSINSTALL) -D $(DIST)/bin/tmpchrome/en-US
|
|
$(UNZIP) -o -d $(DIST)/bin/tmpchrome/en-US $(DIST)/bin/chrome/en-US.jar
|
|
|
|
$(NSINSTALL) -D $(DIST)/bin/tmpchrome/US
|
|
$(UNZIP) -o -d $(DIST)/bin/tmpchrome/US $(DIST)/bin/chrome/US.jar
|
|
|
|
ifdef MOZ_PSM
|
|
$(NSINSTALL) -D $(DIST)/bin/tmpchrome/pipnss
|
|
$(UNZIP) -o -d $(DIST)/bin/tmpchrome/pipnss $(DIST)/bin/chrome/pipnss.jar
|
|
|
|
$(NSINSTALL) -D $(DIST)/bin/tmpchrome/pippki
|
|
$(UNZIP) -o -d $(DIST)/bin/tmpchrome/pippki $(DIST)/bin/chrome/pippki.jar
|
|
endif
|
|
|
|
$(PERL) -I$(srcdir) $(srcdir)/gen_mn.pl -manifest $(MOZILLA_DIR)/mail/config/mail-jar.mn -mozpath $(MOZILLA_DIR) -jarfile mail.jar -chrome $(DIST)/bin/tmpchrome > $(MOZILLA_DIR)/mail/config/mail-tmp.mn
|
|
$(PERL) -I$(MOZILLA_DIR)/config $(MOZILLA_DIR)/config/make-jars.pl -a -v -f $(MOZ_CHROME_FILE_FORMAT) -d $(DIST)/bin/chrome -s $(DIST)/bin/tmpchrome -z $(ZIP) < $(MOZILLA_DIR)/mail/config/mail-tmp.mn
|
|
|
|
$(PERL) -I$(srcdir) $(srcdir)/gen_mn.pl -manifest $(MOZILLA_DIR)/mail/config/qute-jar.mn -mozpath $(MOZILLA_DIR) -jarfile qute.jar -chrome $(DIST)/bin/tmpchrome > $(MOZILLA_DIR)/mail/config/qute-tmp.mn
|
|
$(PERL) -I$(MOZILLA_DIR)/config $(MOZILLA_DIR)/config/make-jars.pl -a -v -f $(MOZ_CHROME_FILE_FORMAT) -d $(DIST)/bin/chrome -s $(DIST)/bin/tmpchrome -z $(ZIP) < $(MOZILLA_DIR)/mail/config/qute-tmp.mn
|
|
|
|
$(PERL) -I$(srcdir) $(srcdir)/gen_mn.pl -manifest $(MOZILLA_DIR)/mail/config/en-US-jar.mn -mozpath $(MOZILLA_DIR) -jarfile en-US-mail.jar -chrome $(DIST)/bin/tmpchrome > $(MOZILLA_DIR)/mail/config/en-US-tmp.mn
|
|
$(PERL) -I$(MOZILLA_DIR)/config $(MOZILLA_DIR)/config/make-jars.pl -a -v -f $(MOZ_CHROME_FILE_FORMAT) -d $(DIST)/bin/chrome -s $(DIST)/bin/tmpchrome -z $(ZIP) < $(MOZILLA_DIR)/mail/config/en-US-tmp.mn
|
|
|
|
-$(RM) -f $(MOZILLA_DIR)/mail/config/mail-tmp.mn
|
|
-$(RM) -f $(MOZILLA_DIR)/mail/config/qute-tmp.mn
|
|
-$(RM) -f $(MOZILLA_DIR)/mail/config/en-US-tmp.mn
|
|
-$(RM) -rf $(DIST)/bin/tmpchrome
|
|
|
|
mail_copy::
|
|
$(PERL) $(topsrcdir)/config/preprocessor.pl $(DEFINES) $(ACDEFINES) $(MOZILLA_DIR)/mail/config/installed-chrome.txt > $(DIST)/bin/chrome/installed-chrome.txt
|
|
rm -f $(DIST)/bin/components/compreg.dat
|
|
|
|
libs::
|
|
$(MAKE) mail_chrome
|
|
$(MAKE) mail_copy
|
|
|