security/nss/lib/ckfw/builtins/Makefile

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 include manifest.mn
michael@0 7 include $(CORE_DEPTH)/coreconf/config.mk
michael@0 8 include config.mk
michael@0 9
michael@0 10 EXTRA_LIBS = \
michael@0 11 $(DIST)/lib/$(LIB_PREFIX)nssckfw.$(LIB_SUFFIX) \
michael@0 12 $(DIST)/lib/$(LIB_PREFIX)nssb.$(LIB_SUFFIX) \
michael@0 13 $(NULL)
michael@0 14
michael@0 15 # can't do this in manifest.mn because OS_TARGET isn't defined there.
michael@0 16 ifeq (,$(filter-out WIN%,$(OS_TARGET)))
michael@0 17
michael@0 18 ifdef NS_USE_GCC
michael@0 19 EXTRA_SHARED_LIBS += \
michael@0 20 -L$(NSPR_LIB_DIR) \
michael@0 21 -lplc4 \
michael@0 22 -lplds4 \
michael@0 23 -lnspr4 \
michael@0 24 $(NULL)
michael@0 25 else
michael@0 26 EXTRA_SHARED_LIBS += \
michael@0 27 $(NSPR_LIB_DIR)/$(NSPR31_LIB_PREFIX)plc4.lib \
michael@0 28 $(NSPR_LIB_DIR)/$(NSPR31_LIB_PREFIX)plds4.lib \
michael@0 29 $(NSPR_LIB_DIR)/$(NSPR31_LIB_PREFIX)nspr4.lib \
michael@0 30 $(NULL)
michael@0 31 endif # NS_USE_GCC
michael@0 32 else
michael@0 33
michael@0 34 EXTRA_SHARED_LIBS += \
michael@0 35 -L$(NSPR_LIB_DIR) \
michael@0 36 -lplc4 \
michael@0 37 -lplds4 \
michael@0 38 -lnspr4 \
michael@0 39 $(NULL)
michael@0 40 endif
michael@0 41
michael@0 42
michael@0 43 include $(CORE_DEPTH)/coreconf/rules.mk
michael@0 44
michael@0 45 # Generate certdata.c.
michael@0 46
michael@0 47 # By default, use the unmodified certdata.txt.
michael@0 48 ifndef NSS_CERTDATA_TXT
michael@0 49 NSS_CERTDATA_TXT = certdata.txt
michael@0 50 endif
michael@0 51
michael@0 52 $(OBJDIR)/certdata.c: $(NSS_CERTDATA_TXT) certdata.perl
michael@0 53 @$(MAKE_OBJDIR)
michael@0 54 $(PERL) certdata.perl < $(NSS_CERTDATA_TXT) > $@

mercurial