summaryrefslogtreecommitdiff
path: root/dbm/src/Makefile.in
blob: b5132f45329d444b0f1c9ba7066ef9e26be5f399 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
#! gmake

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 = dbm

include $(topsrcdir)/config/rules.mk

DEFINES += -DMEMMOVE -D__DBINTERFACE_PRIVATE $(SECURITY_FLAG)

INCLUDES += -I$(srcdir)/../include

ifeq ($(OS_ARCH),AIX)
	OS_LIBS += -lc_r
endif