|
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 prototype |
|
22 |
|
23 PACKAGE = $(shell basename `pwd`) |
|
24 |
|
25 PRODUCT_VERSION = $(shell grep NSS_VERSION $(CORE_DEPTH)/../dist/public/nss/nss.h \ |
|
26 | head -1 \ |
|
27 | sed -e 's/[^"]*"//' -e 's/".*//' -e 's/ .*//') |
|
28 |
|
29 LN = /usr/bin/ln |
|
30 CP = /usr/bin/cp |
|
31 |
|
32 CLOBBERFILES = $(FILES) |
|
33 |
|
34 include $(CORE_DEPTH)/coreconf/config.mk |
|
35 include $(CORE_DEPTH)/coreconf/rules.mk |
|
36 |
|
37 # vim: ft=make |