mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-05 16:46:26 +00:00
76 lines
3.2 KiB
Makefile
76 lines
3.2 KiB
Makefile
# ***** BEGIN LICENSE BLOCK *****
|
|
# Version: MPL 1.1/GPL 2.0/LGPL 2.1
|
|
#
|
|
# 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 code.
|
|
#
|
|
# The Initial Developer of the Original Code is
|
|
# IBM Corporation.
|
|
# Portions created by the Initial Developer are Copyright (C) 2004
|
|
# the Initial Developer. All Rights Reserved.
|
|
#
|
|
# Contributor(s):
|
|
# Mark Mentovai <mark@moxienet.com>
|
|
#
|
|
# Alternatively, the contents of this file may be used under the terms of
|
|
# either the GNU General Public License Version 2 or later (the "GPL"), or
|
|
# the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
|
|
# in which case the provisions of the GPL or the LGPL are applicable instead
|
|
# of those above. If you wish to allow use of your version of this file only
|
|
# under the terms of either the GPL or the LGPL, and not to allow others to
|
|
# use your version of this file under the terms of the MPL, indicate your
|
|
# decision by deleting the provisions above and replace them with the notice
|
|
# and other provisions required by the GPL or the LGPL. If you do not delete
|
|
# the provisions above, a recipient may use your version of this file under
|
|
# the terms of any one of the MPL, the GPL or the LGPL.
|
|
#
|
|
# ***** END LICENSE BLOCK *****
|
|
|
|
DEPTH = ../..
|
|
topsrcdir = @top_srcdir@
|
|
srcdir = @srcdir@
|
|
VPATH = @srcdir@
|
|
|
|
include $(DEPTH)/config/autoconf.mk
|
|
|
|
include $(topsrcdir)/config/rules.mk
|
|
|
|
CAMINO_VERSION=1.0
|
|
_RELNOTE_VERSION:=$(subst .,-,$(CAMINO_VERSION))
|
|
|
|
# The packager runs in the dist directory, paths must be relative to there.
|
|
MOZ_PKG_MAC_DSSTORE=../camino/resources/package/dsstore
|
|
MOZ_PKG_MAC_BACKGROUND=../camino/resources/package/background.jpg
|
|
MOZ_PKG_MAC_ICON=../camino/resources/package/disk.icns
|
|
MOZ_PKG_MAC_RSRC=../camino/resources/package/license.r
|
|
# The docs aren't copied into an objdir, chase them in the srcdir.
|
|
# Use $(_ABS_TOPSRCDIR) for an absolute path, handling both srcdir and
|
|
# objdir builds.
|
|
MOZ_PKG_MAC_EXTRA=--copy "$(_ABS_TOPSRCDIR)/camino/docs/ReadMe.rtf" --copy "$(_ABS_TOPSRCDIR)/camino/docs/Release Notes $(_RELNOTE_VERSION).rtf:Release Notes.rtf" --attribute "E:/ReadMe.rtf:/Release Notes.rtf"
|
|
|
|
include $(topsrcdir)/toolkit/mozapps/installer/packager.mk
|
|
|
|
# The core build system thinks it's Mozilla. Override what's necessary.
|
|
# Do this after including packager.mk because it has dependencies that
|
|
# break if these are already set to Camino when it's included.
|
|
MOZ_APP_DISPLAYNAME=Camino
|
|
MOZ_PKG_APPNAME=camino
|
|
|
|
# packager.mk has its own exclude list that's appropriate for toolkit apps
|
|
# but not appropriate for the Xcode-built Camino. Specifically, it excludes
|
|
# the files produced by Camino.app/Contents/MacOS/Camino -autoRegister YES,
|
|
# although they belong in the package. Override.
|
|
NO_PKG_FILES=
|
|
|
|
# Override toolkit/mozapps/installer/package-name.mk.
|
|
PKG_BASENAME=$(MOZ_APP_DISPLAYNAME)
|