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

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

mercurial