summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorbriano%netscape.com <devnull@localhost>1999-05-05 23:37:18 +0000
committerbriano%netscape.com <devnull@localhost>1999-05-05 23:37:18 +0000
commit3ae5ba6ea44fab079a3755c8e34860268f679a95 (patch)
tree3e54530f629f96366293bdf5eabd768220ad6290
parent205faa3c6ec8bf86e25562141b98a214bd539f84 (diff)
downloadnss-hg-3ae5ba6ea44fab079a3755c8e34860268f679a95.tar.gz
Fix for bug 5770. Thanks to lennox@cs.columbia.edu.
-rw-r--r--dbm/src/Makefile.in68
1 files changed, 42 insertions, 26 deletions
diff --git a/dbm/src/Makefile.in b/dbm/src/Makefile.in
index 462796045..f44c55409 100644
--- a/dbm/src/Makefile.in
+++ b/dbm/src/Makefile.in
@@ -1,38 +1,54 @@
-#! gmake
-
-DEPTH = ../..
+#
+# The contents of this file are subject to the Netscape Public License
+# Version 1.0 (the "NPL"); you may not use this file except in
+# compliance with the NPL. You may obtain a copy of the NPL at
+# http://www.mozilla.org/NPL/
+#
+# Software distributed under the NPL is distributed on an "AS IS" basis,
+# WITHOUT WARRANTY OF ANY KIND, either express or implied. See the NPL
+# for the specific language governing rights and limitations under the
+# NPL.
+#
+# The Initial Developer of this code under the NPL is Netscape
+# Communications Corporation. Portions created by Netscape are
+# Copyright (C) 1998 Netscape Communications Corporation. All Rights
+# Reserved.
+#
+
+DEPTH = ../..
topsrcdir = @top_srcdir@
VPATH = @srcdir@
srcdir = @srcdir@
include $(DEPTH)/config/autoconf.mk
-MODULE = dbm
-
-CSRCS = db.c \
- h_bigkey.c \
- h_func.c \
- h_log2.c \
- h_page.c \
- hash.c \
- hash_buf.c \
- hsearch.c \
- memmove.c \
- mktemp.c \
- ndbm.c \
- snprintf.c \
- strerror.c \
- nsres.c \
- $(NULL)
-
-LIBRARY_NAME = $(MOZ_LIB_DBM_PREFIX)dbm
-
-LOCAL_INCLUDES = -I$(srcdir)/../include
+MODULE = dbm
+LIBRARY_NAME = $(MOZ_LIB_DBM_PREFIX)dbm
+
+LIB_IS_C_ONLY = 1
+
+CSRCS = db.c \
+ h_bigkey.c \
+ h_func.c \
+ h_log2.c \
+ h_page.c \
+ hash.c \
+ hash_buf.c \
+ hsearch.c \
+ memmove.c \
+ mktemp.c \
+ ndbm.c \
+ snprintf.c \
+ strerror.c \
+ nsres.c \
+ $(NULL)
+
+LOCAL_INCLUDES = -I$(srcdir)/../include
include $(topsrcdir)/config/rules.mk
-DEFINES += -DMEMMOVE -D__DBINTERFACE_PRIVATE $(SECURITY_FLAG)
+DEFINES += -DMEMMOVE -D__DBINTERFACE_PRIVATE $(SECURITY_FLAG)
ifeq ($(OS_ARCH),AIX)
- OS_LIBS += -lc_r
+OS_LIBS += -lc_r
endif