michael@0: # michael@0: # Copyright 2005 Sun Microsystems, Inc. All rights reserved. michael@0: # Use is subject to license terms. michael@0: # michael@0: # This Source Code Form is subject to the terms of the Mozilla Public michael@0: # License, v. 2.0. If a copy of the MPL was not distributed with this michael@0: # file, You can obtain one at http://mozilla.org/MPL/2.0/. michael@0: # michael@0: michael@0: MACH = $(shell mach) michael@0: michael@0: PUBLISH_ROOT = $(DIST) michael@0: ifeq ($(CORE_DEPTH),../../..) michael@0: ROOT = ROOT michael@0: else michael@0: ROOT = $(subst ../../../,,$(CORE_DEPTH))/ROOT michael@0: endif michael@0: michael@0: PKGARCHIVE = $(PUBLISH_ROOT)/pkgarchive michael@0: DATAFILES = copyright michael@0: FILES = $(DATAFILES) pkginfo prototype michael@0: michael@0: PACKAGE = $(shell basename `pwd`) michael@0: michael@0: PRODUCT_VERSION = $(shell grep NSS_VERSION $(CORE_DEPTH)/../dist/public/nss/nss.h \ michael@0: | head -1 \ michael@0: | sed -e 's/[^"]*"//' -e 's/".*//' -e 's/ .*//') michael@0: michael@0: LN = /usr/bin/ln michael@0: CP = /usr/bin/cp michael@0: michael@0: CLOBBERFILES = $(FILES) michael@0: michael@0: include $(CORE_DEPTH)/coreconf/config.mk michael@0: include $(CORE_DEPTH)/coreconf/rules.mk michael@0: michael@0: # vim: ft=make