security/nss/lib/ckfw/builtins/config.mk

changeset 0
6474c204b198
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/security/nss/lib/ckfw/builtins/config.mk	Wed Dec 31 06:09:35 2014 +0100
     1.3 @@ -0,0 +1,37 @@
     1.4 +# 
     1.5 +# This Source Code Form is subject to the terms of the Mozilla Public
     1.6 +# License, v. 2.0. If a copy of the MPL was not distributed with this
     1.7 +# file, You can obtain one at http://mozilla.org/MPL/2.0/.
     1.8 +
     1.9 +#
    1.10 +#  Override TARGETS variable so that only shared libraries
    1.11 +#  are specifed as dependencies within rules.mk.
    1.12 +#
    1.13 +
    1.14 +TARGETS        = $(SHARED_LIBRARY)
    1.15 +LIBRARY        =
    1.16 +IMPORT_LIBRARY =
    1.17 +PROGRAM        =
    1.18 +
    1.19 +ifeq (,$(filter-out WIN%,$(OS_TARGET)))
    1.20 +    SHARED_LIBRARY = $(OBJDIR)/$(DLL_PREFIX)$(LIBRARY_NAME)$(LIBRARY_VERSION).$(DLL_SUFFIX)
    1.21 +    RES = $(OBJDIR)/$(LIBRARY_NAME).res
    1.22 +    RESNAME = $(LIBRARY_NAME).rc
    1.23 +endif
    1.24 +
    1.25 +ifdef BUILD_IDG
    1.26 +    DEFINES += -DNSSDEBUG
    1.27 +endif
    1.28 +
    1.29 +# Needed for compilation of $(OBJDIR)/certdata.c
    1.30 +INCLUDES += -I.
    1.31 +
    1.32 +#
    1.33 +# To create a loadable module on Darwin, we must use -bundle.
    1.34 +#
    1.35 +ifeq ($(OS_TARGET),Darwin)
    1.36 +ifndef USE_64
    1.37 +DSO_LDOPTS = -bundle
    1.38 +endif
    1.39 +endif
    1.40 +

mercurial