security/nss/cmd/pk11mode/Makefile

changeset 0
6474c204b198
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/security/nss/cmd/pk11mode/Makefile	Wed Dec 31 06:09:35 2014 +0100
     1.3 @@ -0,0 +1,65 @@
     1.4 +# This Source Code Form is subject to the terms of the Mozilla Public
     1.5 +# License, v. 2.0. If a copy of the MPL was not distributed with this
     1.6 +# file, You can obtain one at http://mozilla.org/MPL/2.0/.
     1.7 +
     1.8 +#######################################################################
     1.9 +# (1) Include initial platform-independent assignments (MANDATORY).   #
    1.10 +#######################################################################
    1.11 +
    1.12 +include manifest.mn
    1.13 +
    1.14 +#######################################################################
    1.15 +# (2) Include "global" configuration information. (OPTIONAL)          #
    1.16 +#######################################################################
    1.17 +
    1.18 +include $(CORE_DEPTH)/coreconf/config.mk
    1.19 +
    1.20 +#######################################################################
    1.21 +# (3) Include "component" configuration information. (OPTIONAL)       #
    1.22 +#######################################################################
    1.23 +
    1.24 +
    1.25 +
    1.26 +#######################################################################
    1.27 +# (4) Include "local" platform-dependent assignments (OPTIONAL).      #
    1.28 +#######################################################################
    1.29 +
    1.30 +include ../platlibs.mk
    1.31 +
    1.32 +ifeq ($(OS_ARCH), WINNT)
    1.33 +
    1.34 +EXTRA_LIBS += \
    1.35 +	$(NSPR_LIB_DIR)/$(NSPR31_LIB_PREFIX)plc4.$(LIB_SUFFIX) \
    1.36 +	$(NSPR_LIB_DIR)/$(NSPR31_LIB_PREFIX)plds4.$(LIB_SUFFIX) \
    1.37 +	$(NSPR_LIB_DIR)/$(NSPR31_LIB_PREFIX)nspr4.$(LIB_SUFFIX) \
    1.38 +	$(NULL)
    1.39 +
    1.40 +else
    1.41 +
    1.42 +EXTRA_SHARED_LIBS += \
    1.43 +	-L$(NSPR_LIB_DIR) \
    1.44 +	-lplc4 \
    1.45 +	-lplds4 \
    1.46 +	-lnspr4 \
    1.47 +	$(NULL)
    1.48 +
    1.49 +endif
    1.50 +
    1.51 +#######################################################################
    1.52 +# (5) Execute "global" rules. (OPTIONAL)                              #
    1.53 +#######################################################################
    1.54 +
    1.55 +include $(CORE_DEPTH)/coreconf/rules.mk
    1.56 +
    1.57 +#######################################################################
    1.58 +# (6) Execute "component" rules. (OPTIONAL)                           #
    1.59 +#######################################################################
    1.60 +
    1.61 +
    1.62 +
    1.63 +#######################################################################
    1.64 +# (7) Execute "local" rules. (OPTIONAL).                              #
    1.65 +#######################################################################
    1.66 +
    1.67 +include ../platrules.mk
    1.68 +

mercurial