comparison nss/lib/softoken/legacydb/config.mk @ 3:150b72113545

Add DBM and legacydb support
author Andre Heinecke <andre.heinecke@intevation.de>
date Tue, 05 Aug 2014 18:32:02 +0200
parents
children
comparison
equal deleted inserted replaced
2:a945361df361 3:150b72113545
1 #
2 # This Source Code Form is subject to the terms of the Mozilla Public
3 # License, v. 2.0. If a copy of the MPL was not distributed with this
4 # file, You can obtain one at http://mozilla.org/MPL/2.0/.
5
6 # $(PROGRAM) has explicit dependencies on $(EXTRA_LIBS)
7 CRYPTOLIB=$(DIST)/lib/$(LIB_PREFIX)freebl.$(LIB_SUFFIX)
8
9 EXTRA_LIBS += \
10 $(CRYPTOLIB) \
11 $(DIST)/lib/$(LIB_PREFIX)dbm.$(LIB_SUFFIX) \
12 $(NULL)
13
14 # can't do this in manifest.mn because OS_TARGET isn't defined there.
15 ifeq (,$(filter-out WIN%,$(OS_TARGET)))
16
17 # don't want the 32 in the shared library name
18 SHARED_LIBRARY = $(OBJDIR)/$(DLL_PREFIX)$(LIBRARY_NAME)$(LIBRARY_VERSION).$(DLL_SUFFIX)
19 IMPORT_LIBRARY = $(OBJDIR)/$(IMPORT_LIB_PREFIX)$(LIBRARY_NAME)$(LIBRARY_VERSION)$(IMPORT_LIB_SUFFIX)
20
21 RES = $(OBJDIR)/$(LIBRARY_NAME).res
22 RESNAME = $(LIBRARY_NAME).rc
23
24 ifdef NS_USE_GCC
25 EXTRA_SHARED_LIBS += \
26 -L$(DIST)/lib \
27 -L$(NSSUTIL_LIB_DIR) \
28 -lnssutil3 \
29 -L$(NSPR_LIB_DIR) \
30 -lplc4 \
31 -lplds4 \
32 -lnspr4 \
33 $(NULL)
34 else # ! NS_USE_GCC
35
36 EXTRA_SHARED_LIBS += \
37 $(NSPR_LIB_DIR)/$(NSPR31_LIB_PREFIX)plc4.lib \
38 $(NSPR_LIB_DIR)/$(NSPR31_LIB_PREFIX)plds4.lib \
39 $(NSPR_LIB_DIR)/$(NSPR31_LIB_PREFIX)nspr4.lib \
40 $(DIST)/lib/nssutil3.lib \
41 $(NULL)
42 endif # NS_USE_GCC
43
44 else
45
46 # $(PROGRAM) has NO explicit dependencies on $(EXTRA_SHARED_LIBS)
47 # $(EXTRA_SHARED_LIBS) come before $(OS_LIBS), except on AIX.
48 EXTRA_SHARED_LIBS += \
49 -L$(DIST)/lib \
50 -L$(NSSUTIL_LIB_DIR) \
51 -lnssutil3 \
52 -L$(NSPR_LIB_DIR) \
53 -lplc4 \
54 -lplds4 \
55 -lnspr4 \
56 $(NULL)
57 endif
This site is hosted by Intevation GmbH (Datenschutzerklärung und Impressum | Privacy Policy and Imprint)