3 # This Source Code Form is subject to the terms of the Mozilla Public
4 # License, v. 2.0. If a copy of the MPL was not distributed with this
5 # file, You can obtain one at http://mozilla.org/MPL/2.0/.
7 #######################################################################
8 # (1) Include initial platform-independent assignments (MANDATORY). #
9 #######################################################################
13 #######################################################################
14 # (2) Include "global" configuration information. (OPTIONAL) #
15 #######################################################################
17 include $(CORE_DEPTH)/coreconf/config.mk
19 #######################################################################
20 # (3) Include "component" configuration information. (OPTIONAL) #
21 #######################################################################
25 #######################################################################
26 # (4) Include "local" platform-dependent assignments (OPTIONAL). #
27 #######################################################################
29 ifndef USE_SYSTEM_ZLIB
30 ZLIB_SRCDIR = zlib # Add the zlib directory to DIRS.
34 ifndef NSS_USE_SYSTEM_SQLITE
35 SQLITE_SRCDIR = sqlite # Add the sqlite directory to DIRS.
40 ifeq ($(OS_ARCH),Linux)
41 SYSINIT_SRCDIR = sysinit # Add the sysinit directory to DIRS.
45 ifndef NSS_DISABLE_DBM
46 DBM_SRCDIR = dbm # Add the dbm directory to DIRS.
49 #######################################################################
50 # (5) Execute "global" rules. (OPTIONAL) #
51 #######################################################################
53 include $(CORE_DEPTH)/coreconf/rules.mk
55 #######################################################################
56 # (6) Execute "component" rules. (OPTIONAL) #
57 #######################################################################
61 #######################################################################
62 # (7) Execute "local" rules. (OPTIONAL). #
63 #######################################################################
65 ifeq ($(NSS_BUILD_WITHOUT_SOFTOKEN),1)
66 # Not included when building nss without softoken
71 # default is to include all
73 FREEBL_SRCDIR = freebl
74 SOFTOKEN_SRCDIR = softoken