security/nss/lib/pk11wrap/Makefile

Thu, 22 Jan 2015 13:21:57 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Thu, 22 Jan 2015 13:21:57 +0100
branch
TOR_BUG_9701
changeset 15
b8a032363ba2
permissions
-rw-r--r--

Incorporate requested changes from Mozilla in review:
https://bugzilla.mozilla.org/show_bug.cgi?id=1123480#c6

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
michael@0 42
michael@0 43 #######################################################################
michael@0 44 # (7) Execute "local" rules. (OPTIONAL). #
michael@0 45 #######################################################################
michael@0 46
michael@0 47 export:: private_export
michael@0 48
michael@0 49 $(OBJDIR)/pk11load$(OBJ_SUFFIX): debug_module.c
michael@0 50
michael@0 51 # On AIX 4.3, IBM xlC_r compiler (version 3.6.6) cannot compile
michael@0 52 # pk11slot.c in 64-bit mode for unknown reasons. A workaround is
michael@0 53 # to compile it with optimizations turned on. (Bugzilla bug #63815)
michael@0 54 ifeq ($(OS_TARGET)$(OS_RELEASE),AIX4.3)
michael@0 55 ifeq ($(USE_64),1)
michael@0 56 ifndef BUILD_OPT
michael@0 57 $(OBJDIR)/pk11slot.o: pk11slot.c
michael@0 58 @$(MAKE_OBJDIR)
michael@0 59 $(CC) -o $@ -c -O2 $(CFLAGS) $<
michael@0 60 endif
michael@0 61 endif
michael@0 62 endif

mercurial