dbm/src/Makefile
author law
Sat, 20 Jun 1998 00:41:59 +0000
branchOS2_BRANCH
changeset 34 8f18b40c2e41daaa4cecfe0819b0a588b800a78e
parent 0 9949429068caa6bb8827a8ceeaa7c605d722f47f
permissions -rw-r--r--
Force -I../include ahead of other INCLUDES

#! gmake

DEPTH = ../..

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

ifeq ($(subst /,,$(shell uname -s)),OS2)
LOCAL_PREINCLUDES += -I../include
endif

include $(DEPTH)/config/rules.mk

DEFINES += -DMEMMOVE -D__DBINTERFACE_PRIVATE $(SECURITY_FLAG) -DNSPR20=1

INCLUDES += -I../include

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