security/nss/lib/freebl/manifest.mn

Thu, 22 Jan 2015 13:21:57 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Thu, 22 Jan 2015 13:21:57 +0100
branch
TOR_BUG_9701
changeset 15
b8a032363ba2
permissions
-rw-r--r--

Incorporate requested changes from Mozilla in review:
https://bugzilla.mozilla.org/show_bug.cgi?id=1123480#c6

     1 # 
     2 # This Source Code Form is subject to the terms of the Mozilla Public
     3 # License, v. 2.0. If a copy of the MPL was not distributed with this
     4 # file, You can obtain one at http://mozilla.org/MPL/2.0/.
     6 # NOTE: any ifdefs in this file must be defined on the gmake command line
     7 # (if anywhere).  They cannot come from Makefile or config.mk 
     9 CORE_DEPTH = ../..
    11 MODULE = nss
    13 LIBRARY_NAME = freebl
    14 LIBRARY_VERSION = 3
    16 ifdef FREEBL_CHILD_BUILD
    17   ifdef USE_ABI32_INT32
    18     LIBRARY_NAME = freebl_32int
    19   endif
    20   ifdef USE_ABI32_INT64
    21     LIBRARY_NAME = freebl_32int64
    22   endif
    23   ifdef USE_ABI32_FPU
    24     LIBRARY_NAME = freebl_32fpu
    25   endif
    26   ifdef USE_ABI64_INT
    27     LIBRARY_NAME = freebl_64int
    28   endif
    29   ifdef USE_ABI64_FPU
    30     LIBRARY_NAME = freebl_64fpu
    31   endif
    32 endif
    34 # if the library name contains _, we prefix the version with _
    35 ifneq (,$(findstring _,$(LIBRARY_NAME)))
    36   LIBRARY_VERSION := _$(LIBRARY_VERSION)
    37 endif
    39 MAPFILE = $(OBJDIR)/$(LIBRARY_NAME).def
    41 SOFTOKEN_LIBRARY_VERSION = 3
    43 DEFINES += -DSHLIB_SUFFIX=\"$(DLL_SUFFIX)\" -DSHLIB_PREFIX=\"$(DLL_PREFIX)\" \
    44 	-DSHLIB_VERSION=\"$(LIBRARY_VERSION)\" \
    45 	-DSOFTOKEN_SHLIB_VERSION=\"$(SOFTOKEN_LIBRARY_VERSION)\"
    47 REQUIRES = 
    49 EXPORTS = \
    50 	blapit.h \
    51 	shsign.h \
    52 	ecl-exp.h \
    53 	$(LOWHASH_EXPORTS) \
    54 	$(NULL)
    56 PRIVATE_EXPORTS = \
    57 	alghmac.h \
    58 	blapi.h \
    59 	hmacct.h \
    60 	secmpi.h \
    61 	secrng.h \
    62 	ec.h \
    63 	ecl.h \
    64 	ecl-curve.h \
    65 	$(NULL)
    67 MPI_HDRS = mpi-config.h mpi.h mpi-priv.h mplogic.h mpprime.h logtab.h mp_gf2m.h
    68 MPI_SRCS = mpprime.c mpmontg.c mplogic.c mpi.c mp_gf2m.c
    71 ECL_HDRS = ecl-exp.h ecl.h ec2.h ecp.h ecl-priv.h
    72 ifndef NSS_DISABLE_ECC
    73 ECL_SRCS = ecl.c ecl_curve.c ecl_mult.c ecl_gf.c \
    74 	ecp_aff.c ecp_jac.c ecp_mont.c \
    75 	ec_naf.c ecp_jm.c ecp_256.c ecp_384.c ecp_521.c \
    76 	ecp_256_32.c
    77 ifdef NSS_ECC_MORE_THAN_SUITE_B
    78 ECL_SRCS += ec2_aff.c ec2_mont.c ec2_proj.c \
    79 	ec2_163.c ec2_193.c ec2_233.c \
    80 	ecp_192.c ecp_224.c
    81 endif
    82 else
    83 ECL_SRCS = $(NULL)
    84 endif
    85 SHA_SRCS = sha_fast.c
    86 MPCPU_SRCS = mpcpucache.c
    88 CSRCS = \
    89 	freeblver.c \
    90 	ldvector.c \
    91 	sysrand.c \
    92 	$(SHA_SRCS) \
    93 	md2.c \
    94 	md5.c \
    95 	sha512.c \
    96 	alghmac.c \
    97 	rawhash.c \
    98 	alg2268.c \
    99 	arcfour.c \
   100 	arcfive.c \
   101 	desblapi.c \
   102 	des.c \
   103 	drbg.c \
   104 	cts.c \
   105 	ctr.c \
   106 	gcm.c \
   107 	hmacct.c \
   108 	rijndael.c \
   109 	aeskeywrap.c \
   110 	camellia.c \
   111 	dh.c \
   112 	ec.c \
   113 	ecdecode.c \
   114 	pqg.c \
   115 	dsa.c \
   116 	rsa.c \
   117 	rsapkcs.c \
   118 	shvfy.c \
   119 	tlsprfalg.c \
   120 	seed.c \
   121 	jpake.c \
   122 	$(MPI_SRCS) \
   123 	$(MPCPU_SRCS) \
   124 	$(ECL_SRCS) \
   125 	$(STUBS_SRCS) \
   126 	$(LOWHASH_SRCS) \
   127 	$(EXTRA_SRCS) \
   128 	$(NULL)
   130 ALL_CSRCS := $(CSRCS)
   132 ALL_HDRS =  \
   133 	alghmac.h \
   134 	blapi.h \
   135 	blapit.h \
   136 	des.h \
   137 	ec.h \
   138 	loader.h \
   139 	rijndael.h \
   140 	camellia.h \
   141 	secmpi.h \
   142 	sha_fast.h \
   143 	sha256.h \
   144 	shsign.h \
   145 	vis_proto.h \
   146 	seed.h \
   147 	$(NULL)
   150 ifdef AES_GEN_TBL
   151 DEFINES += -DRIJNDAEL_GENERATE_TABLES
   152 else 
   153 ifdef AES_GEN_TBL_M
   154 DEFINES += -DRIJNDAEL_GENERATE_TABLES_MACRO
   155 else
   156 ifdef AES_GEN_VAL
   157 DEFINES += -DRIJNDAEL_GENERATE_VALUES
   158 else
   159 ifdef AES_GEN_VAL_M
   160 DEFINES += -DRIJNDAEL_GENERATE_VALUES_MACRO
   161 else
   162 DEFINES += -DRIJNDAEL_INCLUDE_TABLES
   163 endif
   164 endif
   165 endif
   166 endif

mercurial