summaryrefslogtreecommitdiff
path: root/security/dbm/src/config.mk
diff options
context:
space:
mode:
authornicolson%netscape.com <devnull@localhost>2002-03-12 01:50:57 +0000
committernicolson%netscape.com <devnull@localhost>2002-03-12 01:50:57 +0000
commit50fbf9e8031d74b5455775094c5d6aab1980ad86 (patch)
treed91a6181e1a2bd9478d8f06ea6b269a829ebac31 /security/dbm/src/config.mk
parent27d2d3c2e1f968a19a642d4bdb2edf9fda90befa (diff)
parente7854aca8950e9da1e24cb805f2d8e1bd1840c6c (diff)
downloadnss-hg-50fbf9e8031d74b5455775094c5d6aab1980ad86.tar.gz
Fix 129756: PK11_SetObjectNickname is broken.
r=relyea.
Diffstat (limited to 'security/dbm/src/config.mk')
-rw-r--r--security/dbm/src/config.mk65
1 files changed, 65 insertions, 0 deletions
diff --git a/security/dbm/src/config.mk b/security/dbm/src/config.mk
new file mode 100644
index 000000000..32baf1737
--- /dev/null
+++ b/security/dbm/src/config.mk
@@ -0,0 +1,65 @@
+#! gmake
+#
+# 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 Netscape are
+# Copyright (C) 1994-2000 Netscape Communications Corporation. All
+# Rights Reserved.
+#
+# Contributor(s):
+#
+# Alternatively, the contents of this file may be used under the
+# terms of the GNU General Public License Version 2 or later (the
+# "GPL"), in which case the provisions of the GPL are applicable
+# instead of those above. If you wish to allow use of your
+# version of this file only under the terms of the GPL and not to
+# allow others to use your version of this file under the MPL,
+# indicate your decision by deleting the provisions above and
+# replace them with the notice and other provisions required by
+# the GPL. If you do not delete the provisions above, a recipient
+# may use your version of this file under either the MPL or the
+# GPL.
+#
+
+DEFINES += -DMEMMOVE -D__DBINTERFACE_PRIVATE $(SECURITY_FLAG)
+
+INCLUDES += -I$(CORE_DEPTH)/../dbm/include
+
+#
+# Currently, override TARGETS variable so that only static libraries
+# are specifed as dependencies within rules.mk.
+#
+
+TARGETS = $(LIBRARY)
+SHARED_LIBRARY =
+IMPORT_LIBRARY =
+PURE_LIBRARY =
+PROGRAM =
+
+ifdef SHARED_LIBRARY
+ ifeq ($(OS_ARCH),WINNT)
+ ifneq ($(OS_TARGET),WIN16)
+ DLLBASE=/BASE:0x30000000
+ RES=$(OBJDIR)/dbm.res
+ RESNAME=../include/dbm.rc
+ endif
+ endif
+ ifeq ($(DLL_SUFFIX),dll)
+ DEFINES += -D_DLL
+ endif
+endif
+
+ifeq ($(OS_ARCH),AIX)
+ OS_LIBS += -lc_r
+endif