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