Wed, 31 Dec 2014 06:55:50 +0100
Added tag UPSTREAM_283F7C6 for changeset ca08bd8f51b2
michael@0 | 1 | #! gmake |
michael@0 | 2 | # |
michael@0 | 3 | # This Source Code Form is subject to the terms of the Mozilla Public |
michael@0 | 4 | # License, v. 2.0. If a copy of the MPL was not distributed with this |
michael@0 | 5 | # file, You can obtain one at http://mozilla.org/MPL/2.0/. |
michael@0 | 6 | |
michael@0 | 7 | ####################################################################### |
michael@0 | 8 | # (1) Include initial platform-independent assignments (MANDATORY). # |
michael@0 | 9 | ####################################################################### |
michael@0 | 10 | |
michael@0 | 11 | include manifest.mn |
michael@0 | 12 | |
michael@0 | 13 | ####################################################################### |
michael@0 | 14 | # (2) Include "global" configuration information. (OPTIONAL) # |
michael@0 | 15 | ####################################################################### |
michael@0 | 16 | |
michael@0 | 17 | include $(CORE_DEPTH)/coreconf/config.mk |
michael@0 | 18 | |
michael@0 | 19 | ####################################################################### |
michael@0 | 20 | # (3) Include "component" configuration information. (OPTIONAL) # |
michael@0 | 21 | ####################################################################### |
michael@0 | 22 | |
michael@0 | 23 | |
michael@0 | 24 | |
michael@0 | 25 | ####################################################################### |
michael@0 | 26 | # (4) Include "local" platform-dependent assignments (OPTIONAL). # |
michael@0 | 27 | ####################################################################### |
michael@0 | 28 | |
michael@0 | 29 | ifndef USE_SYSTEM_ZLIB |
michael@0 | 30 | ZLIB_SRCDIR = zlib # Add the zlib directory to DIRS. |
michael@0 | 31 | endif |
michael@0 | 32 | |
michael@0 | 33 | ifndef MOZILLA_CLIENT |
michael@0 | 34 | ifndef NSS_USE_SYSTEM_SQLITE |
michael@0 | 35 | SQLITE_SRCDIR = sqlite # Add the sqlite directory to DIRS. |
michael@0 | 36 | endif |
michael@0 | 37 | endif |
michael@0 | 38 | |
michael@0 | 39 | ifndef MOZILLA_CLIENT |
michael@0 | 40 | ifeq ($(OS_ARCH),Linux) |
michael@0 | 41 | SYSINIT_SRCDIR = sysinit # Add the sysinit directory to DIRS. |
michael@0 | 42 | endif |
michael@0 | 43 | endif |
michael@0 | 44 | |
michael@0 | 45 | ifndef NSS_DISABLE_DBM |
michael@0 | 46 | DBM_SRCDIR = dbm # Add the dbm directory to DIRS. |
michael@0 | 47 | endif |
michael@0 | 48 | |
michael@0 | 49 | ####################################################################### |
michael@0 | 50 | # (5) Execute "global" rules. (OPTIONAL) # |
michael@0 | 51 | ####################################################################### |
michael@0 | 52 | |
michael@0 | 53 | include $(CORE_DEPTH)/coreconf/rules.mk |
michael@0 | 54 | |
michael@0 | 55 | ####################################################################### |
michael@0 | 56 | # (6) Execute "component" rules. (OPTIONAL) # |
michael@0 | 57 | ####################################################################### |
michael@0 | 58 | |
michael@0 | 59 | |
michael@0 | 60 | |
michael@0 | 61 | ####################################################################### |
michael@0 | 62 | # (7) Execute "local" rules. (OPTIONAL). # |
michael@0 | 63 | ####################################################################### |
michael@0 | 64 | |
michael@0 | 65 | ifeq ($(NSS_BUILD_WITHOUT_SOFTOKEN),1) |
michael@0 | 66 | # Not included when building nss without softoken |
michael@0 | 67 | UTIL_SRCDIR = |
michael@0 | 68 | FREEBL_SRCDIR = |
michael@0 | 69 | SOFTOKEN_SRCDIR = |
michael@0 | 70 | else |
michael@0 | 71 | # default is to include all |
michael@0 | 72 | UTIL_SRCDIR = util |
michael@0 | 73 | FREEBL_SRCDIR = freebl |
michael@0 | 74 | SOFTOKEN_SRCDIR = softoken |
michael@0 | 75 | endif |