Thu, 22 Jan 2015 13:21:57 +0100
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 | CORE_DEPTH = ../.. |
michael@0 | 6 | |
michael@0 | 7 | MODULE = nss |
michael@0 | 8 | DIRS = legacydb |
michael@0 | 9 | |
michael@0 | 10 | LIBRARY_NAME = softokn |
michael@0 | 11 | LIBRARY_VERSION = 3 |
michael@0 | 12 | MAPFILE = $(OBJDIR)/softokn.def |
michael@0 | 13 | |
michael@0 | 14 | DEFINES += -DSHLIB_SUFFIX=\"$(DLL_SUFFIX)\" -DSHLIB_PREFIX=\"$(DLL_PREFIX)\" -DSOFTOKEN_LIB_NAME=\"$(notdir $(SHARED_LIBRARY))\" -DSHLIB_VERSION=\"$(LIBRARY_VERSION)\" |
michael@0 | 15 | |
michael@0 | 16 | ifdef SQLITE_INCLUDE_DIR |
michael@0 | 17 | INCLUDES += -I$(SQLITE_INCLUDE_DIR) |
michael@0 | 18 | endif |
michael@0 | 19 | |
michael@0 | 20 | EXPORTS = \ |
michael@0 | 21 | $(NULL) |
michael@0 | 22 | |
michael@0 | 23 | PRIVATE_EXPORTS = \ |
michael@0 | 24 | lgglue.h \ |
michael@0 | 25 | lowkeyi.h \ |
michael@0 | 26 | lowkeyti.h \ |
michael@0 | 27 | pkcs11ni.h \ |
michael@0 | 28 | softoken.h \ |
michael@0 | 29 | softoknt.h \ |
michael@0 | 30 | softkver.h \ |
michael@0 | 31 | sdb.h \ |
michael@0 | 32 | sftkdbt.h \ |
michael@0 | 33 | $(NULL) |
michael@0 | 34 | |
michael@0 | 35 | CSRCS = \ |
michael@0 | 36 | fipsaudt.c \ |
michael@0 | 37 | fipstest.c \ |
michael@0 | 38 | fipstokn.c \ |
michael@0 | 39 | lgglue.c \ |
michael@0 | 40 | lowkey.c \ |
michael@0 | 41 | lowpbe.c \ |
michael@0 | 42 | padbuf.c \ |
michael@0 | 43 | pkcs11.c \ |
michael@0 | 44 | pkcs11c.c \ |
michael@0 | 45 | pkcs11u.c \ |
michael@0 | 46 | sdb.c \ |
michael@0 | 47 | sftkdb.c \ |
michael@0 | 48 | sftkhmac.c \ |
michael@0 | 49 | sftkpars.c \ |
michael@0 | 50 | sftkpwd.c \ |
michael@0 | 51 | softkver.c \ |
michael@0 | 52 | tlsprf.c \ |
michael@0 | 53 | jpakesftk.c \ |
michael@0 | 54 | $(NULL) |
michael@0 | 55 | |
michael@0 | 56 | ifdef SQLITE_UNSAFE_THREADS |
michael@0 | 57 | DEFINES += -DSQLITE_UNSAFE_THREADS |
michael@0 | 58 | endif |
michael@0 | 59 | |
michael@0 | 60 | # This part of the code, including all sub-dirs, can be optimized for size |
michael@0 | 61 | export ALLOW_OPT_CODE_SIZE = 1 |