security/nss/lib/dbm/src/config.mk

changeset 0
6474c204b198
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/security/nss/lib/dbm/src/config.mk	Wed Dec 31 06:09:35 2014 +0100
     1.3 @@ -0,0 +1,33 @@
     1.4 +#! gmake
     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 +DEFINES += -DMEMMOVE -D__DBINTERFACE_PRIVATE
    1.11 +
    1.12 +#
    1.13 +#  Currently, override TARGETS variable so that only static libraries
    1.14 +#  are specifed as dependencies within rules.mk.
    1.15 +#
    1.16 +
    1.17 +TARGETS        = $(LIBRARY)
    1.18 +SHARED_LIBRARY =
    1.19 +IMPORT_LIBRARY =
    1.20 +PURE_LIBRARY   =
    1.21 +PROGRAM        =
    1.22 +
    1.23 +ifdef SHARED_LIBRARY
    1.24 +	ifeq (,$(filter-out WIN%,$(OS_TARGET)))
    1.25 +		DLLBASE=/BASE:0x30000000
    1.26 +		RES=$(OBJDIR)/dbm.res
    1.27 +		RESNAME=../include/dbm.rc
    1.28 +	endif
    1.29 +	ifeq ($(DLL_SUFFIX),dll)
    1.30 +		DEFINES += -D_DLL
    1.31 +	endif
    1.32 +endif
    1.33 +
    1.34 +ifeq ($(OS_TARGET),AIX)
    1.35 +	OS_LIBS += -lc_r
    1.36 +endif

mercurial