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

     1 #! gmake
     2 #
     3 # This Source Code Form is subject to the terms of the Mozilla Public
     4 # License, v. 2.0. If a copy of the MPL was not distributed with this
     5 # file, You can obtain one at http://mozilla.org/MPL/2.0/.
     7 #######################################################################
     8 # (1) Include initial platform-independent assignments (MANDATORY).   #
     9 #######################################################################
    11 include manifest.mn
    13 #######################################################################
    14 # (2) Include "global" configuration information. (OPTIONAL)          #
    15 #######################################################################
    17 include $(CORE_DEPTH)/coreconf/config.mk
    19 #######################################################################
    20 # (3) Include "component" configuration information. (OPTIONAL)       #
    21 #######################################################################
    25 #######################################################################
    26 # (4) Include "local" platform-dependent assignments (OPTIONAL).      #
    27 #######################################################################
    29 -include config.mk
    31 #######################################################################
    32 # (5) Execute "global" rules. (OPTIONAL)                              #
    33 #######################################################################
    35 include $(CORE_DEPTH)/coreconf/rules.mk
    37 #######################################################################
    38 # (6) Execute "component" rules. (OPTIONAL)                           #
    39 #######################################################################
    43 #######################################################################
    44 # (7) Execute "local" rules. (OPTIONAL).                              #
    45 #######################################################################
    47 export:: private_export
    49 $(OBJDIR)/pk11load$(OBJ_SUFFIX): debug_module.c
    51 # On AIX 4.3, IBM xlC_r compiler (version 3.6.6) cannot compile
    52 # pk11slot.c in 64-bit mode for unknown reasons.  A workaround is
    53 # to compile it with optimizations turned on.  (Bugzilla bug #63815)
    54 ifeq ($(OS_TARGET)$(OS_RELEASE),AIX4.3)
    55 ifeq ($(USE_64),1)
    56 ifndef BUILD_OPT
    57 $(OBJDIR)/pk11slot.o: pk11slot.c
    58 	@$(MAKE_OBJDIR)
    59 	$(CC) -o $@ -c -O2 $(CFLAGS) $<
    60 endif
    61 endif
    62 endif

mercurial