2008-06-06 05:40:11 -07:00
|
|
|
#! gmake
|
|
|
|
#
|
2012-10-01 11:02:15 -07:00
|
|
|
# This Source Code Form is subject to the terms of the Mozilla Public
|
|
|
|
# License, v. 2.0. If a copy of the MPL was not distributed with this
|
|
|
|
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
2008-06-06 05:40:11 -07:00
|
|
|
|
|
|
|
#######################################################################
|
|
|
|
# (1) Include initial platform-independent assignments (MANDATORY). #
|
|
|
|
#######################################################################
|
|
|
|
|
|
|
|
include manifest.mn
|
|
|
|
|
|
|
|
#######################################################################
|
|
|
|
# (2) Include "global" configuration information. (OPTIONAL) #
|
|
|
|
#######################################################################
|
|
|
|
|
|
|
|
include $(CORE_DEPTH)/coreconf/config.mk
|
|
|
|
|
|
|
|
#######################################################################
|
|
|
|
# (3) Include "component" configuration information. (OPTIONAL) #
|
|
|
|
#######################################################################
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
#######################################################################
|
|
|
|
# (4) Include "local" platform-dependent assignments (OPTIONAL). #
|
|
|
|
#######################################################################
|
|
|
|
|
2010-02-07 03:54:28 -08:00
|
|
|
ifndef USE_SYSTEM_ZLIB
|
|
|
|
ZLIB_SRCDIR = zlib # Add the zlib directory to DIRS.
|
2008-06-06 05:40:11 -07:00
|
|
|
endif
|
|
|
|
|
|
|
|
ifndef MOZILLA_CLIENT
|
|
|
|
ifndef NSS_USE_SYSTEM_SQLITE
|
2010-02-07 03:54:28 -08:00
|
|
|
SQLITE_SRCDIR = sqlite # Add the sqlite directory to DIRS.
|
2008-06-06 05:40:11 -07:00
|
|
|
endif
|
|
|
|
endif
|
|
|
|
|
2010-02-16 06:43:56 -08:00
|
|
|
ifndef MOZILLA_CLIENT
|
2010-02-12 00:47:51 -08:00
|
|
|
ifeq ($(OS_ARCH),Linux)
|
|
|
|
SYSINIT_SRCDIR = sysinit # Add the sysinit directory to DIRS.
|
|
|
|
endif
|
2010-02-16 06:43:56 -08:00
|
|
|
endif
|
2010-02-12 00:47:51 -08:00
|
|
|
|
2013-04-11 16:46:53 -07:00
|
|
|
ifndef NSS_DISABLE_DBM
|
|
|
|
DBM_SRCDIR = dbm # Add the dbm directory to DIRS.
|
|
|
|
endif
|
|
|
|
|
2008-06-06 05:40:11 -07:00
|
|
|
#######################################################################
|
|
|
|
# (5) Execute "global" rules. (OPTIONAL) #
|
|
|
|
#######################################################################
|
|
|
|
|
|
|
|
include $(CORE_DEPTH)/coreconf/rules.mk
|
|
|
|
|
|
|
|
#######################################################################
|
|
|
|
# (6) Execute "component" rules. (OPTIONAL) #
|
|
|
|
#######################################################################
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
#######################################################################
|
|
|
|
# (7) Execute "local" rules. (OPTIONAL). #
|
|
|
|
#######################################################################
|
|
|
|
|
2013-05-02 16:10:01 -07:00
|
|
|
ifeq ($(NSS_BUILD_WITHOUT_SOFTOKEN),1)
|
|
|
|
# Not included when building nss without softoken
|
2013-05-10 17:19:38 -07:00
|
|
|
UTIL_SRCDIR =
|
|
|
|
FREEBL_SRCDIR =
|
|
|
|
SOFTOKEN_SRCDIR =
|
2013-05-02 16:10:01 -07:00
|
|
|
else
|
|
|
|
# default is to include all
|
|
|
|
UTIL_SRCDIR = util
|
|
|
|
FREEBL_SRCDIR = freebl
|
|
|
|
SOFTOKEN_SRCDIR = softoken
|
|
|
|
endif
|