Thu, 22 Jan 2015 13:21:57 +0100
Incorporate requested changes from Mozilla in review:
https://bugzilla.mozilla.org/show_bug.cgi?id=1123480#c6
michael@0 | 1 | # |
michael@0 | 2 | # Copyright 2005 Sun Microsystems, Inc. All rights reserved. |
michael@0 | 3 | # Use is subject to license terms. |
michael@0 | 4 | # |
michael@0 | 5 | # This Source Code Form is subject to the terms of the Mozilla Public |
michael@0 | 6 | # License, v. 2.0. If a copy of the MPL was not distributed with this |
michael@0 | 7 | # file, You can obtain one at http://mozilla.org/MPL/2.0/. |
michael@0 | 8 | # |
michael@0 | 9 | |
michael@0 | 10 | MACH = $(shell mach) |
michael@0 | 11 | |
michael@0 | 12 | PUBLISH_ROOT = $(DIST) |
michael@0 | 13 | ifeq ($(CORE_DEPTH),../../..) |
michael@0 | 14 | ROOT = ROOT |
michael@0 | 15 | else |
michael@0 | 16 | ROOT = $(subst ../../../,,$(CORE_DEPTH))/ROOT |
michael@0 | 17 | endif |
michael@0 | 18 | |
michael@0 | 19 | PKGARCHIVE = $(PUBLISH_ROOT)/pkgarchive |
michael@0 | 20 | DATAFILES = copyright |
michael@0 | 21 | FILES = $(DATAFILES) pkginfo |
michael@0 | 22 | |
michael@0 | 23 | |
michael@0 | 24 | PACKAGE = $(shell basename `pwd`) |
michael@0 | 25 | |
michael@0 | 26 | PRODUCT_VERSION = $(shell grep NSS_VERSION $(CORE_DEPTH)/nss/lib/nss/nss.h \ |
michael@0 | 27 | | head -1 \ |
michael@0 | 28 | | sed -e 's/"$$//' -e 's/.*"//' -e 's/ .*//') |
michael@0 | 29 | |
michael@0 | 30 | LN = /usr/bin/ln |
michael@0 | 31 | |
michael@0 | 32 | CLOBBERFILES = $(FILES) |
michael@0 | 33 | |
michael@0 | 34 | include $(CORE_DEPTH)/coreconf/config.mk |
michael@0 | 35 | include $(CORE_DEPTH)/coreconf/rules.mk |
michael@0 | 36 | |
michael@0 | 37 | # vim: ft=make |