modules/libmar/tool/Makefile.in

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 # vim:set ts=8 sw=8 sts=8 noet:
     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 # The mar executable is output into dist/host/bin since it is something that
     8 # would only be used by our build system and should not itself be included in a
     9 # Mozilla distribution.
    11 # Don't link the against libmozglue because we don't need it.
    12 MOZ_GLUE_LDFLAGS =
    13 MOZ_GLUE_PROGRAM_LDFLAGS =
    15 HOST_CFLAGS += \
    16   -DNO_SIGN_VERIFY \
    17   $(DEFINES) \
    18   $(NULL)
    20 HOST_LIBS = $(DIST)/host/lib/$(LIB_PREFIX)hostmar.$(LIB_SUFFIX)
    21 LIBS = $(DEPTH)/modules/libmar/src/$(LIB_PREFIX)mar.$(LIB_SUFFIX)
    23 ifdef MOZ_ENABLE_SIGNMAR
    24 LIBS += \
    25   $(DEPTH)/modules/libmar/sign/$(LIB_PREFIX)signmar.$(LIB_SUFFIX) \
    26   $(DEPTH)/modules/libmar/verify/$(LIB_PREFIX)verifymar.$(LIB_SUFFIX) \
    27   $(DIST)/lib/$(LIB_PREFIX)nss3.$(LIB_SUFFIX) \
    28   $(DIST)/lib/$(LIB_PREFIX)nssutil3.$(LIB_SUFFIX) \
    29   $(NSPR_LIBS) \
    30   $(NULL)
    31 endif
    33 ifeq ($(HOST_OS_ARCH),WINNT)
    34 HOST_EXTRA_LIBS += $(call EXPAND_LIBNAME,ws2_32)
    35 EXTRA_LIBS += $(call EXPAND_LIBNAME,ws2_32)
    36 ifdef MOZ_ENABLE_SIGNMAR
    37 EXTRA_LIBS += $(call EXPAND_LIBNAME,crypt32)
    38 EXTRA_LIBS += $(call EXPAND_LIBNAME,advapi32)
    39 endif
    40 endif
    42 include $(topsrcdir)/config/rules.mk
    44 ifdef CROSS_COMPILE
    45 ifdef HOST_NSPR_MDCPUCFG
    46 HOST_CFLAGS += -DMDCPUCFG=$(HOST_NSPR_MDCPUCFG)
    47 CFLAGS += -DMDCPUCFG=$(HOST_NSPR_MDCPUCFG)
    48 endif
    49 endif

mercurial