~ubuntu-branches/ubuntu/raring/nss/raring-security

« back to all changes in this revision

Viewing changes to mozilla/security/nss/lib/sysinit/config.mk

  • Committer: Bazaar Package Importer
  • Author(s): Chris Coulson
  • Date: 2010-03-25 13:46:06 UTC
  • mfrom: (1.1.11 upstream)
  • Revision ID: james.westby@ubuntu.com-20100325134606-bl6liuok2w9l7snv
Tags: 3.12.6-0ubuntu1
* New upstream release 3.12.6 RTM (NSS_3_12_6_RTM)
  - fixes CVE-2009-3555 aka US-CERT VU#120541
* Adjust patches to changed upstream code base
  - update debian/patches/38_kbsd.patch
  - update debian/patches/38_mips64_build.patch
  - update debian/patches/85_security_load.patch
* Remove patches that are merged upstream
  - delete debian/patches/91_nonexec_stack.patch
  - update debian/patches/series
* Bump nspr dependency to 4.8
  - update debian/control
* Add new symbols for 3.12.6
  - update debian/libnss3-1d.symbols

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
#
 
2
# ***** BEGIN LICENSE BLOCK *****
 
3
# Version: MPL 1.1/GPL 2.0/LGPL 2.1
 
4
#
 
5
# The contents of this file are subject to the Mozilla Public License Version
 
6
# 1.1 (the "License"); you may not use this file except in compliance with
 
7
# the License. You may obtain a copy of the License at
 
8
# http://www.mozilla.org/MPL/
 
9
#
 
10
# Software distributed under the License is distributed on an "AS IS" basis,
 
11
# WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
 
12
# for the specific language governing rights and limitations under the
 
13
# License.
 
14
#
 
15
# The Original Code is the Netscape security libraries.
 
16
#
 
17
# The Initial Developer of the Original Code is
 
18
# Netscape Communications Corporation.
 
19
# Portions created by the Initial Developer are Copyright (C) 1994-2000
 
20
# the Initial Developer. All Rights Reserved.
 
21
#
 
22
# Contributor(s):
 
23
#
 
24
# Alternatively, the contents of this file may be used under the terms of
 
25
# either the GNU General Public License Version 2 or later (the "GPL"), or
 
26
# the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
 
27
# in which case the provisions of the GPL or the LGPL are applicable instead
 
28
# of those above. If you wish to allow use of your version of this file only
 
29
# under the terms of either the GPL or the LGPL, and not to allow others to
 
30
# use your version of this file under the terms of the MPL, indicate your
 
31
# decision by deleting the provisions above and replace them with the notice
 
32
# and other provisions required by the GPL or the LGPL. If you do not delete
 
33
# the provisions above, a recipient may use your version of this file under
 
34
# the terms of any one of the MPL, the GPL or the LGPL.
 
35
#
 
36
# ***** END LICENSE BLOCK *****
 
37
 
 
38
#
 
39
#  Override TARGETS variable so that only static libraries
 
40
#  are specifed as dependencies within rules.mk.
 
41
#
 
42
 
 
43
# can't do this in manifest.mn because OS_TARGET isn't defined there.
 
44
ifeq (,$(filter-out WIN%,$(OS_TARGET)))
 
45
 
 
46
# don't want the 32 in the shared library name
 
47
SHARED_LIBRARY = $(OBJDIR)/$(DLL_PREFIX)$(LIBRARY_NAME)$(LIBRARY_VERSION).$(DLL_SUFFIX)
 
48
IMPORT_LIBRARY = $(OBJDIR)/$(IMPORT_LIB_PREFIX)$(LIBRARY_NAME)$(LIBRARY_VERSION)$(IMPORT_LIB_SUFFIX)
 
49
 
 
50
RES = $(OBJDIR)/$(LIBRARY_NAME).res
 
51
RESNAME = $(LIBRARY_NAME).rc
 
52
 
 
53
ifdef NS_USE_GCC
 
54
EXTRA_SHARED_LIBS += \
 
55
        -L$(DIST)/lib \
 
56
        -L$(NSSUTIL_LIB_DIR) \
 
57
        -lnssutil3 \
 
58
        -L$(NSPR_LIB_DIR) \
 
59
        -lplc4 \
 
60
        -lplds4 \
 
61
        -lnspr4\
 
62
        $(NULL)
 
63
else # ! NS_USE_GCC
 
64
EXTRA_SHARED_LIBS += \
 
65
        $(DIST)/lib/nssutil3.lib \
 
66
        $(NSPR_LIB_DIR)/$(NSPR31_LIB_PREFIX)plc4.lib \
 
67
        $(NSPR_LIB_DIR)/$(NSPR31_LIB_PREFIX)plds4.lib \
 
68
        $(NSPR_LIB_DIR)/$(NSPR31_LIB_PREFIX)nspr4.lib \
 
69
        $(NULL)
 
70
endif # NS_USE_GCC
 
71
 
 
72
else
 
73
 
 
74
# $(PROGRAM) has NO explicit dependencies on $(EXTRA_SHARED_LIBS)
 
75
# $(EXTRA_SHARED_LIBS) come before $(OS_LIBS), except on AIX.
 
76
EXTRA_SHARED_LIBS += \
 
77
        -L$(DIST)/lib \
 
78
        -L$(NSSUTIL_LIB_DIR) \
 
79
        -lnssutil3 \
 
80
        -L$(NSPR_LIB_DIR) \
 
81
        -lplc4 \
 
82
        -lplds4 \
 
83
        -lnspr4 \
 
84
        $(NULL)
 
85
 
 
86
endif
 
87
 
 
88
 
 
89
# $(PROGRAM) has explicit dependencies on $(EXTRA_LIBS)
 
90
 
 
91
ifeq ($(OS_TARGET),SunOS)
 
92
ifeq ($(BUILD_SUN_PKG), 1)
 
93
# The -R '$ORIGIN' linker option instructs this library to search for its
 
94
# dependencies in the same directory where it resides.
 
95
ifeq ($(USE_64), 1)
 
96
MKSHLIB += -R '$$ORIGIN:/usr/lib/mps/secv1/64:/usr/lib/mps/64'
 
97
else
 
98
MKSHLIB += -R '$$ORIGIN:/usr/lib/mps/secv1:/usr/lib/mps'
 
99
endif
 
100
else
 
101
MKSHLIB += -R '$$ORIGIN'
 
102
endif
 
103
endif
 
104
 
 
105
ifeq ($(OS_ARCH), HP-UX) 
 
106
ifneq ($(OS_TEST), ia64)
 
107
# pa-risc
 
108
ifeq ($(USE_64), 1)
 
109
MKSHLIB += +b '$$ORIGIN'
 
110
endif
 
111
endif
 
112
endif