security/nss/lib/softoken/Makefile

Wed, 31 Dec 2014 06:55:50 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Wed, 31 Dec 2014 06:55:50 +0100
changeset 2
7e26c7da4463
permissions
-rw-r--r--

Added tag UPSTREAM_283F7C6 for changeset ca08bd8f51b2

michael@0 1 #! gmake
michael@0 2 #
michael@0 3 # This Source Code Form is subject to the terms of the Mozilla Public
michael@0 4 # License, v. 2.0. If a copy of the MPL was not distributed with this
michael@0 5 # file, You can obtain one at http://mozilla.org/MPL/2.0/.
michael@0 6
michael@0 7 #######################################################################
michael@0 8 # (1) Include initial platform-independent assignments (MANDATORY). #
michael@0 9 #######################################################################
michael@0 10
michael@0 11 include manifest.mn
michael@0 12
michael@0 13 #######################################################################
michael@0 14 # (2) Include "global" configuration information. (OPTIONAL) #
michael@0 15 #######################################################################
michael@0 16
michael@0 17 include $(CORE_DEPTH)/coreconf/config.mk
michael@0 18
michael@0 19 #######################################################################
michael@0 20 # (3) Include "component" configuration information. (OPTIONAL) #
michael@0 21 #######################################################################
michael@0 22
michael@0 23
michael@0 24
michael@0 25 #######################################################################
michael@0 26 # (4) Include "local" platform-dependent assignments (OPTIONAL). #
michael@0 27 #######################################################################
michael@0 28
michael@0 29 include config.mk
michael@0 30
michael@0 31 #######################################################################
michael@0 32 # (5) Execute "global" rules. (OPTIONAL) #
michael@0 33 #######################################################################
michael@0 34
michael@0 35 include $(CORE_DEPTH)/coreconf/rules.mk
michael@0 36
michael@0 37 #######################################################################
michael@0 38 # (6) Execute "component" rules. (OPTIONAL) #
michael@0 39 #######################################################################
michael@0 40
michael@0 41 ifdef NSS_DISABLE_DBM
michael@0 42 DIRS=
michael@0 43 endif
michael@0 44
michael@0 45 #######################################################################
michael@0 46 # (7) Execute "local" rules. (OPTIONAL). #
michael@0 47 #######################################################################
michael@0 48
michael@0 49 export:: private_export
michael@0 50
michael@0 51 # indicates dependency on freebl static lib
michael@0 52 $(SHARED_LIBRARY): $(CRYPTOLIB)
michael@0 53
michael@0 54 # On AIX 4.3, IBM xlC_r compiler (version 3.6.6) cannot compile
michael@0 55 # pkcs11c.c in 64-bit mode for unknown reasons. A workaround is
michael@0 56 # to compile it with optimizations turned on. (Bugzilla bug #63815)
michael@0 57 ifeq ($(OS_TARGET)$(OS_RELEASE),AIX4.3)
michael@0 58 ifeq ($(USE_64),1)
michael@0 59 ifndef BUILD_OPT
michael@0 60 $(OBJDIR)/pkcs11.o: pkcs11.c
michael@0 61 @$(MAKE_OBJDIR)
michael@0 62 $(CC) -o $@ -c -O2 $(CFLAGS) $<
michael@0 63 $(OBJDIR)/pkcs11c.o: pkcs11c.c
michael@0 64 @$(MAKE_OBJDIR)
michael@0 65 $(CC) -o $@ -c -O2 $(CFLAGS) $<
michael@0 66 endif
michael@0 67 endif
michael@0 68 endif

mercurial