Bug 793338 - Implement blocklist click-to-play plugin notification popup UI. r=jaws
[gecko.git] / dbm / src / Makefile.in
blobee5b1f48ba6425102ab26a57d0b1a8a6089a373c
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/.
6 DEPTH = ../..
7 topsrcdir = @top_srcdir@
8 srcdir = @srcdir@
9 VPATH = @srcdir@
11 include $(DEPTH)/config/autoconf.mk
13 LIBRARY_NAME = mozdbm_s
14 LIB_IS_C_ONLY = 1
16 ifeq ($(OS_ARCH),WINNT)
17 LIBRARY_NAME = dbm$(MOZ_BITS)
18 endif
20 CSRCS = \
21 db.c \
22 h_bigkey.c \
23 h_func.c \
24 h_log2.c \
25 h_page.c \
26 hash.c \
27 hash_buf.c \
28 hsearch.c \
29 mktemp.c \
30 ndbm.c \
31 strerror.c \
32 nsres.c \
33 $(NULL)
35 ifeq ($(OS_ARCH),WINNT)
36 CSRCS += memmove.c snprintf.c
37 else
38 ifeq (,$(filter -DHAVE_MEMMOVE=1,$(ACDEFINES)))
39 CSRCS += memmove.c
40 endif
42 ifeq (,$(filter -DHAVE_SNPRINTF=1,$(ACDEFINES)))
43 CSRCS += snprintf.c
44 endif
45 endif # WINNT
47 LOCAL_INCLUDES = -I$(srcdir)/../include
49 FORCE_STATIC_LIB = 1
50 FORCE_USE_PIC = 1
52 include $(topsrcdir)/config/rules.mk
54 DEFINES += -DMEMMOVE -D__DBINTERFACE_PRIVATE $(SECURITY_FLAG)
56 ifeq ($(OS_ARCH),WINCE)
57 DEFINES += -D__STDC__ -DDBM_REOPEN_ON_FLUSH
58 endif
60 ifeq ($(OS_ARCH),AIX)
61 OS_LIBS += -lc_r
62 endif