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

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 DEFINES += -DMEMMOVE -D__DBINTERFACE_PRIVATE
     9 #
    10 #  Currently, override TARGETS variable so that only static libraries
    11 #  are specifed as dependencies within rules.mk.
    12 #
    14 TARGETS        = $(LIBRARY)
    15 SHARED_LIBRARY =
    16 IMPORT_LIBRARY =
    17 PURE_LIBRARY   =
    18 PROGRAM        =
    20 ifdef SHARED_LIBRARY
    21 	ifeq (,$(filter-out WIN%,$(OS_TARGET)))
    22 		DLLBASE=/BASE:0x30000000
    23 		RES=$(OBJDIR)/dbm.res
    24 		RESNAME=../include/dbm.rc
    25 	endif
    26 	ifeq ($(DLL_SUFFIX),dll)
    27 		DEFINES += -D_DLL
    28 	endif
    29 endif
    31 ifeq ($(OS_TARGET),AIX)
    32 	OS_LIBS += -lc_r
    33 endif

mercurial