Blame nss/lib/Makefile

Packit 40b132
#! gmake
Packit 40b132
#
Packit 40b132
# This Source Code Form is subject to the terms of the Mozilla Public
Packit 40b132
# License, v. 2.0. If a copy of the MPL was not distributed with this
Packit 40b132
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
Packit 40b132
Packit 40b132
#######################################################################
Packit 40b132
# (1) Include initial platform-independent assignments (MANDATORY).   #
Packit 40b132
#######################################################################
Packit 40b132
Packit 40b132
include manifest.mn
Packit 40b132
Packit 40b132
#######################################################################
Packit 40b132
# (2) Include "global" configuration information. (OPTIONAL)          #
Packit 40b132
#######################################################################
Packit 40b132
Packit 40b132
include $(CORE_DEPTH)/coreconf/config.mk
Packit 40b132
Packit 40b132
#######################################################################
Packit 40b132
# (3) Include "component" configuration information. (OPTIONAL)       #
Packit 40b132
#######################################################################
Packit 40b132
Packit 40b132
Packit 40b132
Packit 40b132
#######################################################################
Packit 40b132
# (4) Include "local" platform-dependent assignments (OPTIONAL).      #
Packit 40b132
#######################################################################
Packit 40b132
Packit 40b132
ifndef USE_SYSTEM_ZLIB
Packit 40b132
ZLIB_SRCDIR = zlib  # Add the zlib directory to DIRS.
Packit 40b132
endif
Packit 40b132
Packit 40b132
ifndef MOZILLA_CLIENT
Packit 40b132
ifndef NSS_USE_SYSTEM_SQLITE
Packit 40b132
SQLITE_SRCDIR = sqlite  # Add the sqlite directory to DIRS.
Packit 40b132
endif
Packit 40b132
endif
Packit 40b132
Packit 40b132
ifndef MOZILLA_CLIENT
Packit 40b132
ifeq ($(OS_ARCH),Linux)
Packit 40b132
SYSINIT_SRCDIR = sysinit  # Add the sysinit directory to DIRS.
Packit 40b132
endif
Packit 40b132
endif
Packit 40b132
Packit 40b132
ifndef NSS_DISABLE_DBM
Packit 40b132
DBM_SRCDIR = dbm  # Add the dbm directory to DIRS.
Packit 40b132
endif
Packit 40b132
Packit 40b132
#######################################################################
Packit 40b132
# (5) Execute "global" rules. (OPTIONAL)                              #
Packit 40b132
#######################################################################
Packit 40b132
Packit 40b132
include $(CORE_DEPTH)/coreconf/rules.mk
Packit 40b132
Packit 40b132
#######################################################################
Packit 40b132
# (6) Execute "component" rules. (OPTIONAL)                           #
Packit 40b132
#######################################################################
Packit 40b132
Packit 40b132
Packit 40b132
Packit 40b132
#######################################################################
Packit 40b132
# (7) Execute "local" rules. (OPTIONAL).                              #
Packit 40b132
#######################################################################
Packit 40b132
Packit 40b132
ifeq ($(NSS_BUILD_WITHOUT_SOFTOKEN),1)
Packit 40b132
# Not included when building nss without softoken
Packit 40b132
UTIL_SRCDIR =
Packit 40b132
FREEBL_SRCDIR =
Packit 40b132
SOFTOKEN_SRCDIR =
Packit 40b132
else
Packit 40b132
# default is to include all
Packit 40b132
UTIL_SRCDIR = util
Packit 40b132
FREEBL_SRCDIR = freebl
Packit 40b132
SOFTOKEN_SRCDIR = softoken
Packit 40b132
endif