security/nss/coreconf/location.mk

Wed, 31 Dec 2014 06:09:35 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Wed, 31 Dec 2014 06:09:35 +0100
changeset 0
6474c204b198
permissions
-rw-r--r--

Cloned upstream origin tor-browser at tor-browser-31.3.0esr-4.5-1-build1
revision ID fc1c9ff7c1b2defdbc039f12214767608f46423f for hacking purpose.

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 #######################################################################
michael@0 7 # Master "Core Components" macros to figure out binary code location #
michael@0 8 #######################################################################
michael@0 9
michael@0 10 #
michael@0 11 # Figure out where the binary code lives.
michael@0 12 #
michael@0 13
michael@0 14 ifdef BUILD_TREE
michael@0 15 ifdef LIBRARY_NAME
michael@0 16 BUILD = $(BUILD_TREE)/nss/$(LIBRARY_NAME)
michael@0 17 OBJDIR = $(BUILD_TREE)/nss/$(LIBRARY_NAME)
michael@0 18 DEPENDENCIES = $(BUILD_TREE)/nss/$(LIBRARY_NAME)/.md
michael@0 19 else
michael@0 20 BUILD = $(BUILD_TREE)/nss
michael@0 21 OBJDIR = $(BUILD_TREE)/nss
michael@0 22 DEPENDENCIES = $(BUILD_TREE)/nss/.md
michael@0 23 endif
michael@0 24 else
michael@0 25 BUILD = $(PLATFORM)
michael@0 26 OBJDIR = $(PLATFORM)
michael@0 27 DEPENDENCIES = $(PLATFORM)/.md
michael@0 28 endif
michael@0 29
michael@0 30 DIST = $(SOURCE_PREFIX)/$(PLATFORM)
michael@0 31
michael@0 32 ifdef BUILD_DEBUG_GC
michael@0 33 DEFINES += -DDEBUG_GC
michael@0 34 endif
michael@0 35
michael@0 36 GARBAGE += $(DEPENDENCIES) core $(wildcard core.[0-9]*)
michael@0 37
michael@0 38 ifdef NSPR_INCLUDE_DIR
michael@0 39 INCLUDES += -I$(NSPR_INCLUDE_DIR)
michael@0 40 endif
michael@0 41
michael@0 42 ifndef NSPR_LIB_DIR
michael@0 43 NSPR_LIB_DIR = $(DIST)/lib
michael@0 44 endif
michael@0 45
michael@0 46 ifdef NSS_INCLUDE_DIR
michael@0 47 INCLUDES += -I$(NSS_INCLUDE_DIR)
michael@0 48 endif
michael@0 49
michael@0 50 ifndef NSS_LIB_DIR
michael@0 51 NSS_LIB_DIR = $(DIST)/lib
michael@0 52 endif
michael@0 53
michael@0 54 ifdef NSSUTIL_INCLUDE_DIR
michael@0 55 INCLUDES += -I$(NSSUTIL_INCLUDE_DIR)
michael@0 56 endif
michael@0 57
michael@0 58 ifndef NSSUTIL_LIB_DIR
michael@0 59 NSSUTIL_LIB_DIR = $(DIST)/lib
michael@0 60 endif
michael@0 61
michael@0 62 ifdef SOFTOKEN_INCLUDE_DIR
michael@0 63 INCLUDES += -I$(SOFTOKEN_INCLUDE_DIR)
michael@0 64 endif
michael@0 65
michael@0 66 ifndef SOFTOKEN_LIB_DIR
michael@0 67 SOFTOKEN_LIB_DIR = $(DIST)/lib
michael@0 68 endif
michael@0 69
michael@0 70 ifndef SQLITE_LIB_NAME
michael@0 71 SQLITE_LIB_NAME = sqlite3
michael@0 72 endif
michael@0 73
michael@0 74 MK_LOCATION = included

mercurial