security/nss/lib/sqlite/config.mk
author Smokey Ardisson <alqahira@ardisson.org>
Mon, 07 Jan 2013 23:52:45 -0500
branchCAMINO_2_1_SECBRANCH
changeset 35290 b66b287a2650de54f6b2a2b92f6bd456d1bcd76e
parent 33702 c26fd67f09c57909dafc212d51db9608ca672aad
permissions -rw-r--r--
Bug 825484 - Upgrade CAMINO_2_1_SECBRANCH to NSS_3_14_CKBI_1_93_RTM (implies NSPR_4_9_3_RTM). r=wtc/kaie/bsmith/kwilson on the original patches in their original bugs, a=me for CAMINO_2_1_SECBRANCH. CLOSED TREE

#
# This Source Code Form is subject to the terms of the Mozilla Public
# License, v. 2.0. If a copy of the MPL was not distributed with this
# file, You can obtain one at http://mozilla.org/MPL/2.0/.


# can't do this in manifest.mn because OS_TARGET isn't defined there.
ifeq (,$(filter-out WIN%,$(OS_TARGET)))

# don't want the 32 in the shared library name
SHARED_LIBRARY = $(OBJDIR)/$(DLL_PREFIX)$(LIBRARY_NAME)$(LIBRARY_VERSION).$(DLL_SUFFIX)
IMPORT_LIBRARY = $(OBJDIR)/$(IMPORT_LIB_PREFIX)$(LIBRARY_NAME)$(LIBRARY_VERSION)$(IMPORT_LIB_SUFFIX)

#RES = $(OBJDIR)/$(LIBRARY_NAME).res
#RESNAME = $(LIBRARY_NAME).rc
endif

ifeq ($(OS_TARGET),AIX)
EXTRA_LIBS += -lpthreads
ifdef BUILD_OPT
OPTIMIZER=
endif
endif

ifeq ($(OS_TARGET),SunOS)
OS_LIBS += -lbsm 
endif

ifeq ($(OS_TARGET),Darwin)
# These version numbers come from the -version-info 8:6:8 libtool option in
# sqlite upstream's Makefile.in.  (Given -version-info current:revision:age,
# libtool passes
#     -compatibility_version current+1 -current_version current+1.revision
# to the linker.)  Apple builds the system libsqlite3.dylib with these
# version numbers, so we use the same to be compatible.
DARWIN_DYLIB_VERSIONS = -compatibility_version 9 -current_version 9.6
endif