summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjulien.pierre.bugs%sun.com <devnull@localhost>2005-08-16 06:48:53 +0000
committerjulien.pierre.bugs%sun.com <devnull@localhost>2005-08-16 06:48:53 +0000
commitf5cb2a428369f98c378742f2843f96ba81f34ceb (patch)
tree534f122b843118c29827a8bb5214ab7079967a0a
parentc2318aba5914c5b035118bf215d0a51348847fad (diff)
downloadnss-hg-f5cb2a428369f98c378742f2843f96ba81f34ceb.tar.gz
Fix Windows cygwin build
Add DEF file for freebl on Windows and OS/2
-rw-r--r--security/nss/lib/freebl/Makefile4
-rw-r--r--security/nss/lib/freebl/freebl.def58
-rw-r--r--security/nss/lib/freebl/manifest.mn1
3 files changed, 61 insertions, 2 deletions
diff --git a/security/nss/lib/freebl/Makefile b/security/nss/lib/freebl/Makefile
index b78e6d179..72760ca8f 100644
--- a/security/nss/lib/freebl/Makefile
+++ b/security/nss/lib/freebl/Makefile
@@ -418,7 +418,7 @@ CDDIR := $(shell pwd)
FILES2LN = \
$(wildcard *.tab) \
$(wildcard mapfile.*) \
- Makefile manifest.mn config.mk
+ Makefile manifest.mn config.mk freebl.def
ifdef FREEBL_BUILD_SINGLE_SHLIB
@@ -436,7 +436,7 @@ $(SINGLE_SHLIB_FILES) : $(SINGLE_SHLIB_DIR)/% : %
libs:: $(SINGLE_SHLIB_DIR) $(SINGLE_SHLIB_FILES)
cd $(SINGLE_SHLIB_DIR) && $(MAKE) FREEBL_CHILD_BUILD=1 \
- FREEBL_PARENT=$(CDDIR) CORE_DEPTH=$(CDDIR)/$(CORE_DEPTH) libs
+ FREEBL_PARENT=../.. CORE_DEPTH=../../$(CORE_DEPTH) libs
######################## common stuff #########################
else
diff --git a/security/nss/lib/freebl/freebl.def b/security/nss/lib/freebl/freebl.def
new file mode 100644
index 000000000..21e179d57
--- /dev/null
+++ b/security/nss/lib/freebl/freebl.def
@@ -0,0 +1,58 @@
+;+#
+;+# ***** BEGIN LICENSE BLOCK *****
+;+# Version: MPL 1.1/GPL 2.0/LGPL 2.1
+;+#
+;+# The contents of this file are subject to the Mozilla Public License Version
+;+# 1.1 (the "License"); you may not use this file except in compliance with
+;+# the License. You may obtain a copy of the License at
+;+# http://www.mozilla.org/MPL/
+;+#
+;+# Software distributed under the License is distributed on an "AS IS" basis,
+;+# WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
+;+# for the specific language governing rights and limitations under the
+;+# License.
+;+#
+;+# The Original Code is the Netscape security libraries.
+;+#
+;+# The Initial Developer of the Original Code is
+;+# Netscape Communications Corporation.
+;+# Portions created by the Initial Developer are Copyright (C) 2000
+;+# the Initial Developer. All Rights Reserved.
+;+#
+;+# Contributor(s):
+;+#
+;+# Alternatively, the contents of this file may be used under the terms of
+;+# either the GNU General Public License Version 2 or later (the "GPL"), or
+;+# the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
+;+# in which case the provisions of the GPL or the LGPL are applicable instead
+;+# of those above. If you wish to allow use of your version of this file only
+;+# under the terms of either the GPL or the LGPL, and not to allow others to
+;+# use your version of this file under the terms of the MPL, indicate your
+;+# decision by deleting the provisions above and replace them with the notice
+;+# and other provisions required by the GPL or the LGPL. If you do not delete
+;+# the provisions above, a recipient may use your version of this file under
+;+# the terms of any one of the MPL, the GPL or the LGPL.
+;+#
+;+# ***** END LICENSE BLOCK *****
+;+#
+;+# OK, this file is meant to support SUN, LINUX, AIX and WINDOWS
+;+# 1. For all unix platforms, the string ";-" means "remove this line"
+;+# 2. For all unix platforms, the string " DATA " will be removed from any
+;+# line on which it occurs.
+;+# 3. Lines containing ";+" will have ";+" removed on SUN and LINUX.
+;+# On AIX, lines containing ";+" will be removed.
+;+# 4. For all unix platforms, the string ";;" will thave the ";;" removed.
+;+# 5. For all unix platforms, after the above processing has taken place,
+;+# all characters after the first ";" on the line will be removed.
+;+# And for AIX, the first ";" will also be removed.
+;+# This file is passed directly to windows. Since ';' is a comment, all UNIX
+;+# directives are hidden behind ";", ";+", and ";-"
+;+
+;+NSS_3.11 { # NSS 3.11 release
+;+ global:
+LIBRARY freebl_3 ;-
+EXPORTS ;-
+FREEBL_GetVector;
+;+ local:
+;+ *;
+;+};
diff --git a/security/nss/lib/freebl/manifest.mn b/security/nss/lib/freebl/manifest.mn
index 45aee7f43..d46787f95 100644
--- a/security/nss/lib/freebl/manifest.mn
+++ b/security/nss/lib/freebl/manifest.mn
@@ -46,6 +46,7 @@ CORE_DEPTH = ../../..
MODULE = nss
ifdef FREEBL_CHILD_BUILD
+MAPFILE = $(OBJDIR)/freebl.def
ifdef USE_ABI32_INT32
LIBRARY_NAME = freebl_32int
endif