head	1.2;
access;
symbols
	netbsd-11-0-RC4:1.2
	netbsd-11-0-RC3:1.2
	netbsd-11-0-RC2:1.2
	netbsd-11-0-RC1:1.2
	perseant-exfatfs-base-20250801:1.2
	netbsd-11:1.2.0.4
	netbsd-11-base:1.2
	netbsd-10-1-RELEASE:1.1
	perseant-exfatfs-base-20240630:1.2
	perseant-exfatfs:1.2.0.2
	perseant-exfatfs-base:1.2
	netbsd-10-0-RELEASE:1.1
	netbsd-10-0-RC6:1.1
	netbsd-10-0-RC5:1.1
	netbsd-10-0-RC4:1.1
	netbsd-10-0-RC3:1.1
	netbsd-10-0-RC2:1.1
	netbsd-10-0-RC1:1.1
	netbsd-10:1.1.0.2
	netbsd-10-base:1.1;
locks; strict;
comment	@# @;


1.2
date	2023.06.03.21.33.02;	author lukem;	state Exp;
branches;
next	1.1;
commitid	cdWftpn31Mp70yrE;

1.1
date	2021.12.28.17.05.44;	author christos;	state Exp;
branches;
next	;
commitid	HBOEiMqnjCQFirmD;


desc
@@


1.2
log
@adapt to ${CC_WNO_STRINGOP_OVERFLOW}

Use ${CC_WNO_STRINGOP_OVERFLOW} instead of
the older style more complex expressions.

Remove workarounds if they were only for gcc < 10.
@
text
@# $NetBSD: Makefile,v 1.1 2021/12/28 17:05:44 christos Exp $

USE_FORT=yes
LIBISPRIVATE=yes

.include <bsd.init.mk>

LIB=back_mdb

SLAPD= ${LDAP_DISTDIR}/servers/slapd
BACK_MDB=${SLAPD}/back-mdb
LMDB=${LDAP_DISTDIR}/libraries/liblmdb

.PATH: ${BACK_MDB} ${LMDB}

COPTS.mdb.c += ${CC_WNO_STRINGOP_OVERFLOW}

CPPFLAGS+=-I${SLAPD} -I${BACK_MDB} -I${LMDB}

SRCS += \
	add.c delete.c id2entry.c mdb.c nextid.c attr.c dn2entry.c \
	idl.c midl.c operational.c bind.c dn2id.c index.c modify.c \
	search.c compare.c extended.c init.c modrdn.c tools.c \
	config.c filterindex.c key.c monitor.c version.c \

.include <bsd.lib.mk>
@


1.1
log
@Add slapd WIP.
@
text
@d1 1
a1 1
# $NetBSD$
d16 1
a16 1
COPTS.mdb.c += -Wno-error=stringop-overflow
@

