security/nss/lib/jar/config.mk

changeset 0
6474c204b198
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/security/nss/lib/jar/config.mk	Wed Dec 31 06:09:35 2014 +0100
     1.3 @@ -0,0 +1,26 @@
     1.4 +#
     1.5 +# This Source Code Form is subject to the terms of the Mozilla Public
     1.6 +# License, v. 2.0. If a copy of the MPL was not distributed with this
     1.7 +# file, You can obtain one at http://mozilla.org/MPL/2.0/.
     1.8 +
     1.9 +#
    1.10 +#  Override TARGETS variable so that only static libraries
    1.11 +#  are specifed as dependencies within rules.mk.
    1.12 +#
    1.13 +
    1.14 +TARGETS        = $(LIBRARY)
    1.15 +SHARED_LIBRARY =
    1.16 +IMPORT_LIBRARY =
    1.17 +PROGRAM        =
    1.18 +
    1.19 +# NSS_X86 means the target is a 32-bits x86 CPU architecture
    1.20 +# NSS_X64 means the target is a 64-bits x64 CPU architecture
    1.21 +# NSS_X86_OR_X64 means the target is either x86 or x64
    1.22 +ifeq (,$(filter-out i386 x386 x86 x86_64,$(CPU_ARCH)))
    1.23 +        DEFINES += -DNSS_X86_OR_X64
    1.24 +ifdef USE_64
    1.25 +        DEFINES += -DNSS_X64
    1.26 +else
    1.27 +        DEFINES += -DNSS_X86
    1.28 +endif
    1.29 +endif

mercurial