security/nss/lib/Makefile

changeset 0
6474c204b198
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/security/nss/lib/Makefile	Wed Dec 31 06:09:35 2014 +0100
     1.3 @@ -0,0 +1,75 @@
     1.4 +#! gmake
     1.5 +#
     1.6 +# This Source Code Form is subject to the terms of the Mozilla Public
     1.7 +# License, v. 2.0. If a copy of the MPL was not distributed with this
     1.8 +# file, You can obtain one at http://mozilla.org/MPL/2.0/.
     1.9 +
    1.10 +#######################################################################
    1.11 +# (1) Include initial platform-independent assignments (MANDATORY).   #
    1.12 +#######################################################################
    1.13 +
    1.14 +include manifest.mn
    1.15 +
    1.16 +#######################################################################
    1.17 +# (2) Include "global" configuration information. (OPTIONAL)          #
    1.18 +#######################################################################
    1.19 +
    1.20 +include $(CORE_DEPTH)/coreconf/config.mk
    1.21 +
    1.22 +#######################################################################
    1.23 +# (3) Include "component" configuration information. (OPTIONAL)       #
    1.24 +#######################################################################
    1.25 +
    1.26 +
    1.27 +
    1.28 +#######################################################################
    1.29 +# (4) Include "local" platform-dependent assignments (OPTIONAL).      #
    1.30 +#######################################################################
    1.31 +
    1.32 +ifndef USE_SYSTEM_ZLIB
    1.33 +ZLIB_SRCDIR = zlib  # Add the zlib directory to DIRS.
    1.34 +endif
    1.35 +
    1.36 +ifndef MOZILLA_CLIENT
    1.37 +ifndef NSS_USE_SYSTEM_SQLITE
    1.38 +SQLITE_SRCDIR = sqlite  # Add the sqlite directory to DIRS.
    1.39 +endif
    1.40 +endif
    1.41 +
    1.42 +ifndef MOZILLA_CLIENT
    1.43 +ifeq ($(OS_ARCH),Linux)
    1.44 +SYSINIT_SRCDIR = sysinit  # Add the sysinit directory to DIRS.
    1.45 +endif
    1.46 +endif
    1.47 +
    1.48 +ifndef NSS_DISABLE_DBM
    1.49 +DBM_SRCDIR = dbm  # Add the dbm directory to DIRS.
    1.50 +endif
    1.51 +
    1.52 +#######################################################################
    1.53 +# (5) Execute "global" rules. (OPTIONAL)                              #
    1.54 +#######################################################################
    1.55 +
    1.56 +include $(CORE_DEPTH)/coreconf/rules.mk
    1.57 +
    1.58 +#######################################################################
    1.59 +# (6) Execute "component" rules. (OPTIONAL)                           #
    1.60 +#######################################################################
    1.61 +
    1.62 +
    1.63 +
    1.64 +#######################################################################
    1.65 +# (7) Execute "local" rules. (OPTIONAL).                              #
    1.66 +#######################################################################
    1.67 +
    1.68 +ifeq ($(NSS_BUILD_WITHOUT_SOFTOKEN),1)
    1.69 +# Not included when building nss without softoken
    1.70 +UTIL_SRCDIR =
    1.71 +FREEBL_SRCDIR =
    1.72 +SOFTOKEN_SRCDIR =
    1.73 +else
    1.74 +# default is to include all
    1.75 +UTIL_SRCDIR = util
    1.76 +FREEBL_SRCDIR = freebl
    1.77 +SOFTOKEN_SRCDIR = softoken
    1.78 +endif

mercurial