modules/libmar/tool/Makefile.in

changeset 0
6474c204b198
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/modules/libmar/tool/Makefile.in	Wed Dec 31 06:09:35 2014 +0100
     1.3 @@ -0,0 +1,49 @@
     1.4 +# vim:set ts=8 sw=8 sts=8 noet:
     1.5 +#
     1.6 +# This Source Code Form is subject to the terms of the Mozilla Public
     1.7 +# License, v. 2.0. If a copy of the MPL was not distributed with this
     1.8 +# file, You can obtain one at http://mozilla.org/MPL/2.0/.
     1.9 +
    1.10 +# The mar executable is output into dist/host/bin since it is something that
    1.11 +# would only be used by our build system and should not itself be included in a
    1.12 +# Mozilla distribution.
    1.13 +
    1.14 +# Don't link the against libmozglue because we don't need it.
    1.15 +MOZ_GLUE_LDFLAGS =
    1.16 +MOZ_GLUE_PROGRAM_LDFLAGS =
    1.17 +
    1.18 +HOST_CFLAGS += \
    1.19 +  -DNO_SIGN_VERIFY \
    1.20 +  $(DEFINES) \
    1.21 +  $(NULL)
    1.22 +
    1.23 +HOST_LIBS = $(DIST)/host/lib/$(LIB_PREFIX)hostmar.$(LIB_SUFFIX)
    1.24 +LIBS = $(DEPTH)/modules/libmar/src/$(LIB_PREFIX)mar.$(LIB_SUFFIX)
    1.25 +
    1.26 +ifdef MOZ_ENABLE_SIGNMAR
    1.27 +LIBS += \
    1.28 +  $(DEPTH)/modules/libmar/sign/$(LIB_PREFIX)signmar.$(LIB_SUFFIX) \
    1.29 +  $(DEPTH)/modules/libmar/verify/$(LIB_PREFIX)verifymar.$(LIB_SUFFIX) \
    1.30 +  $(DIST)/lib/$(LIB_PREFIX)nss3.$(LIB_SUFFIX) \
    1.31 +  $(DIST)/lib/$(LIB_PREFIX)nssutil3.$(LIB_SUFFIX) \
    1.32 +  $(NSPR_LIBS) \
    1.33 +  $(NULL)
    1.34 +endif
    1.35 +
    1.36 +ifeq ($(HOST_OS_ARCH),WINNT)
    1.37 +HOST_EXTRA_LIBS += $(call EXPAND_LIBNAME,ws2_32)
    1.38 +EXTRA_LIBS += $(call EXPAND_LIBNAME,ws2_32)
    1.39 +ifdef MOZ_ENABLE_SIGNMAR
    1.40 +EXTRA_LIBS += $(call EXPAND_LIBNAME,crypt32)
    1.41 +EXTRA_LIBS += $(call EXPAND_LIBNAME,advapi32)
    1.42 +endif
    1.43 +endif
    1.44 +
    1.45 +include $(topsrcdir)/config/rules.mk
    1.46 +
    1.47 +ifdef CROSS_COMPILE
    1.48 +ifdef HOST_NSPR_MDCPUCFG
    1.49 +HOST_CFLAGS += -DMDCPUCFG=$(HOST_NSPR_MDCPUCFG)
    1.50 +CFLAGS += -DMDCPUCFG=$(HOST_NSPR_MDCPUCFG)
    1.51 +endif
    1.52 +endif

mercurial