michael@0: # michael@0: # This Source Code Form is subject to the terms of the Mozilla Public michael@0: # License, v. 2.0. If a copy of the MPL was not distributed with this michael@0: # file, You can obtain one at http://mozilla.org/MPL/2.0/. michael@0: CORE_DEPTH = ../.. michael@0: michael@0: MODULE = nss michael@0: michael@0: LIBRARY_NAME = sqlite michael@0: LIBRARY_VERSION = 3 michael@0: MAPFILE = $(OBJDIR)/sqlite.def michael@0: DEFINES += -DSQLITE_THREADSAFE=1 michael@0: michael@0: EXPORTS = \ michael@0: $(NULL) michael@0: michael@0: PRIVATE_EXPORTS = \ michael@0: sqlite3.h \ michael@0: $(NULL) michael@0: michael@0: michael@0: CSRCS = \ michael@0: sqlite3.c \ michael@0: $(NULL) michael@0: michael@0: michael@0: michael@0: # only add module debugging in opt builds if DEBUG_PKCS11 is set michael@0: ifdef DEBUG_PKCS11 michael@0: DEFINES += -DDEBUG_MODULE michael@0: endif michael@0: michael@0: # This part of the code, including all sub-dirs, can be optimized for size michael@0: export ALLOW_OPT_CODE_SIZE = 1