head	1.5;
access;
symbols
	netbsd-11-0-RC4:1.4
	netbsd-11-0-RC3:1.4
	netbsd-11-0-RC2:1.4
	netbsd-11-0-RC1:1.4
	perseant-exfatfs-base-20250801:1.4
	netbsd-11:1.4.0.10
	netbsd-11-base:1.4
	netbsd-10-1-RELEASE:1.4
	perseant-exfatfs-base-20240630:1.4
	perseant-exfatfs:1.4.0.8
	perseant-exfatfs-base:1.4
	netbsd-8-3-RELEASE:1.2
	netbsd-9-4-RELEASE:1.3
	netbsd-10-0-RELEASE:1.4
	netbsd-10-0-RC6:1.4
	netbsd-10-0-RC5:1.4
	netbsd-10-0-RC4:1.4
	netbsd-10-0-RC3:1.4
	netbsd-10-0-RC2:1.4
	netbsd-10-0-RC1:1.4
	netbsd-10:1.4.0.6
	netbsd-10-base:1.4
	netbsd-9-3-RELEASE:1.3
	cjep_sun2x-base1:1.4
	cjep_sun2x:1.4.0.4
	cjep_sun2x-base:1.4
	cjep_staticlib_x-base1:1.4
	netbsd-9-2-RELEASE:1.3
	cjep_staticlib_x:1.4.0.2
	cjep_staticlib_x-base:1.4
	netbsd-9-1-RELEASE:1.3
	phil-wifi-20200421:1.3
	phil-wifi-20200411:1.3
	is-mlppp:1.3.0.6
	is-mlppp-base:1.3
	phil-wifi-20200406:1.3
	netbsd-8-2-RELEASE:1.2
	netbsd-9-0-RELEASE:1.3
	netbsd-9-0-RC2:1.3
	netbsd-9-0-RC1:1.3
	phil-wifi-20191119:1.3
	netbsd-9:1.3.0.4
	netbsd-9-base:1.3
	phil-wifi-20190609:1.3
	netbsd-8-1-RELEASE:1.2
	netbsd-8-1-RC1:1.2
	pgoyette-compat-merge-20190127:1.2.62.1
	pgoyette-compat-20190127:1.3
	pgoyette-compat-20190118:1.3
	pgoyette-compat-1226:1.3
	pgoyette-compat-1126:1.3
	pgoyette-compat-1020:1.3
	pgoyette-compat-0930:1.3
	pgoyette-compat-0906:1.3
	netbsd-7-2-RELEASE:1.2
	pgoyette-compat-0728:1.3
	netbsd-8-0-RELEASE:1.2
	phil-wifi:1.3.0.2
	phil-wifi-base:1.3
	pgoyette-compat-0625:1.3
	netbsd-8-0-RC2:1.2
	pgoyette-compat-0521:1.3
	pgoyette-compat-0502:1.3
	pgoyette-compat-0422:1.2
	netbsd-8-0-RC1:1.2
	pgoyette-compat-0415:1.2
	pgoyette-compat-0407:1.2
	pgoyette-compat-0330:1.2
	pgoyette-compat-0322:1.2
	pgoyette-compat-0315:1.2
	netbsd-7-1-2-RELEASE:1.2
	pgoyette-compat:1.2.0.62
	pgoyette-compat-base:1.2
	netbsd-7-1-1-RELEASE:1.2
	matt-nb8-mediatek:1.2.0.60
	matt-nb8-mediatek-base:1.2
	perseant-stdc-iso10646:1.2.0.58
	perseant-stdc-iso10646-base:1.2
	netbsd-8:1.2.0.56
	netbsd-8-base:1.2
	prg-localcount2-base3:1.2
	prg-localcount2-base2:1.2
	prg-localcount2-base1:1.2
	prg-localcount2:1.2.0.54
	prg-localcount2-base:1.2
	pgoyette-localcount-20170426:1.2
	bouyer-socketcan-base1:1.2
	pgoyette-localcount-20170320:1.2
	netbsd-7-1:1.2.0.52
	netbsd-7-1-RELEASE:1.2
	netbsd-7-1-RC2:1.2
	netbsd-7-nhusb-base-20170116:1.2
	bouyer-socketcan:1.2.0.50
	bouyer-socketcan-base:1.2
	pgoyette-localcount-20170107:1.2
	netbsd-7-1-RC1:1.2
	pgoyette-localcount-20161104:1.2
	netbsd-7-0-2-RELEASE:1.2
	localcount-20160914:1.2
	netbsd-7-nhusb:1.2.0.48
	netbsd-7-nhusb-base:1.2
	pgoyette-localcount-20160806:1.2
	pgoyette-localcount-20160726:1.2
	pgoyette-localcount:1.2.0.46
	pgoyette-localcount-base:1.2
	netbsd-7-0-1-RELEASE:1.2
	netbsd-7-0:1.2.0.44
	netbsd-7-0-RELEASE:1.2
	netbsd-7-0-RC3:1.2
	netbsd-7-0-RC2:1.2
	netbsd-7-0-RC1:1.2
	netbsd-5-2-3-RELEASE:1.2
	netbsd-5-1-5-RELEASE:1.2
	netbsd-6-0-6-RELEASE:1.2
	netbsd-6-1-5-RELEASE:1.2
	netbsd-7:1.2.0.42
	netbsd-7-base:1.2
	yamt-pagecache-base9:1.2
	yamt-pagecache-tag8:1.2
	netbsd-6-1-4-RELEASE:1.2
	netbsd-6-0-5-RELEASE:1.2
	tls-earlyentropy:1.2.0.40
	tls-earlyentropy-base:1.2
	riastradh-xf86-video-intel-2-7-1-pre-2-21-15:1.2
	riastradh-drm2-base3:1.2
	netbsd-6-1-3-RELEASE:1.2
	netbsd-6-0-4-RELEASE:1.2
	netbsd-5-2-2-RELEASE:1.2
	netbsd-5-1-4-RELEASE:1.2
	netbsd-6-1-2-RELEASE:1.2
	netbsd-6-0-3-RELEASE:1.2
	netbsd-5-2-1-RELEASE:1.2
	netbsd-5-1-3-RELEASE:1.2
	netbsd-6-1-1-RELEASE:1.2
	riastradh-drm2-base2:1.2
	riastradh-drm2-base1:1.2
	riastradh-drm2:1.2.0.32
	riastradh-drm2-base:1.2
	netbsd-6-1:1.2.0.38
	netbsd-6-0-2-RELEASE:1.2
	netbsd-6-1-RELEASE:1.2
	khorben-n900:1.2.0.36
	netbsd-6-1-RC4:1.2
	netbsd-6-1-RC3:1.2
	agc-symver:1.2.0.34
	agc-symver-base:1.2
	netbsd-6-1-RC2:1.2
	netbsd-6-1-RC1:1.2
	yamt-pagecache-base8:1.2
	netbsd-5-2:1.2.0.30
	netbsd-6-0-1-RELEASE:1.2
	yamt-pagecache-base7:1.2
	netbsd-5-2-RELEASE:1.2
	netbsd-5-2-RC1:1.2
	matt-nb6-plus-nbase:1.2
	yamt-pagecache-base6:1.2
	netbsd-6-0:1.2.0.28
	netbsd-6-0-RELEASE:1.2
	netbsd-6-0-RC2:1.2
	tls-maxphys:1.2.0.26
	tls-maxphys-base:1.2
	matt-nb6-plus:1.2.0.24
	matt-nb6-plus-base:1.2
	netbsd-6-0-RC1:1.2
	yamt-pagecache-base5:1.2
	yamt-pagecache-base4:1.2
	netbsd-6:1.2.0.22
	netbsd-6-base:1.2
	netbsd-5-1-2-RELEASE:1.2
	netbsd-5-1-1-RELEASE:1.2
	yamt-pagecache-base3:1.2
	yamt-pagecache-base2:1.2
	yamt-pagecache:1.2.0.4
	yamt-pagecache-base:1.2
	cherry-xenmp:1.2.0.20
	cherry-xenmp-base:1.2
	bouyer-quota2-nbase:1.2
	bouyer-quota2:1.2.0.18
	bouyer-quota2-base:1.2
	matt-mips64-premerge-20101231:1.2
	matt-nb5-mips64-premerge-20101231:1.2
	matt-nb5-pq3:1.2.0.16
	matt-nb5-pq3-base:1.2
	netbsd-5-1:1.2.0.14
	netbsd-5-1-RELEASE:1.2
	netbsd-5-1-RC4:1.2
	matt-nb5-mips64-k15:1.2
	netbsd-5-1-RC3:1.2
	netbsd-5-1-RC2:1.2
	netbsd-5-1-RC1:1.2
	netbsd-5-0-2-RELEASE:1.2
	matt-nb5-mips64-premerge-20091211:1.2
	matt-premerge-20091211:1.2
	matt-nb5-mips64-u2-k2-k4-k7-k8-k9:1.2
	matt-nb4-mips64-k7-u2a-k9b:1.2
	matt-nb5-mips64-u1-k1-k5:1.2
	matt-nb5-mips64:1.2.0.12
	netbsd-5-0-1-RELEASE:1.2
	jym-xensuspend-nbase:1.2
	netbsd-5-0:1.2.0.10
	netbsd-5-0-RELEASE:1.2
	netbsd-5-0-RC4:1.2
	netbsd-5-0-RC3:1.2
	netbsd-5-0-RC2:1.2
	jym-xensuspend:1.2.0.8
	jym-xensuspend-base:1.2
	netbsd-5-0-RC1:1.2
	haad-dm-base2:1.2
	haad-nbase2:1.2
	netbsd-5:1.2.0.6
	netbsd-5-base:1.2
	matt-mips64-base2:1.2
	haad-dm-base1:1.2
	wrstuden-revivesa-base-3:1.2
	wrstuden-revivesa:1.2.0.2
	wrstuden-revivesa-base:1.1
	wrstuden-revivesa-base-2:1.2
	haad-dm:1.1.0.4
	haad-dm-base:1.2
	wrstuden-revivesa-base-1:1.1
	yamt-pf42-base4:1.1
	yamt-pf42:1.1.0.2
	yamt-pf42-base3:1.1;
locks; strict;
comment	@# @;


1.5
date	2025.09.05.21.16.13;	author christos;	state Exp;
branches;
next	1.4;
commitid	NkX46FwMGrQRnz9G;

1.4
date	2020.08.11.13.15.33;	author christos;	state Exp;
branches;
next	1.3;
commitid	k0SdBjAOGPW3eEjC;

1.3
date	2018.05.01.19.59.43;	author christos;	state Exp;
branches;
next	1.2;
commitid	10Ge8dYtIFEjeDAA;

1.2
date	2008.07.23.00.21.19;	author lukem;	state Exp;
branches
	1.2.2.1
	1.2.62.1;
next	1.1;

1.1
date	2008.05.22.13.57.46;	author lukem;	state Exp;
branches
	1.1.2.1
	1.1.4.1;
next	;

1.2.2.1
date	2008.07.23.00.21.19;	author wrstuden;	state dead;
branches;
next	1.2.2.2;

1.2.2.2
date	2008.09.18.05.14.27;	author wrstuden;	state Exp;
branches;
next	;

1.2.62.1
date	2018.05.02.07.20.00;	author pgoyette;	state Exp;
branches;
next	;
commitid	o3kRuNRzl9360HAA;

1.1.2.1
date	2008.05.22.13.57.46;	author yamt;	state dead;
branches;
next	1.1.2.2;

1.1.2.2
date	2008.06.04.02.03.28;	author yamt;	state Exp;
branches;
next	;

1.1.4.1
date	2008.10.19.22.40.00;	author haad;	state Exp;
branches;
next	;


desc
@@


1.5
log
@merge changes between OpenLDAP 2.5.6 and 2.6.10
@
text
@#	$NetBSD: Makefile,v 1.4 2020/08/11 13:15:33 christos Exp $

.include "openldap.mk"

.include <bsd.hostinit.mk>

SUBDIR=		include

SUBDIR+=	lib .WAIT

SUBDIR+=	bin


#
#	maintainer rules
#	----------------
#
#	configure	run configure and create various files for target build.
#	update-include	make configure, then update ./include/ appropriately
#	update-man	make configure, then update ./man/ appropriately
#

#
#	Run configure to create various files.
#	This should only be necessary after updating ./dist/
#

CONFIGURE_ARGS+=	--prefix=${LDAP_PREFIX}
CONFIGURE_ARGS+=	--sysconfdir=${LDAP_ETCDIR}
CONFIGURE_ARGS+=	--localstatedir=${LDAP_RUNDIR}

CONFIGURE_ARGS+=	--enable-dynamic
#CONFIGURE_ARGS+=	--disable-bdb
#CONFIGURE_ARGS+=	--disable-hdb
CONFIGURE_ARGS+=	--disable-slapd
CONFIGURE_ARGS+=	--with-tls=openssl
CONFIGURE_ARGS+=	--with-threads
CONFIGURE_ARGS+=	--without-cyrus-sasl

configure: work/config.status .PHONY 

work/config.status: ${LDAP_BUILDDIR}/configure Makefile openldap.mk
	mkdir -p work
	(cd work \
	    && ${CONFIGURE_ENV} sh ${LDAP_BUILDDIR}/configure ${CONFIGURE_ARGS} \
	    || false)

update-include: work/config.status .PHONY
	(cd work/include \
	    && ${MAKE} ldap_config.h \
	    || false)
	@@for wf in `find work/include -name '*.h'`; do \
		tf=${LDAP_SRCDIR}/include/$${wf##*/}; \
		tf=$${tf%.tmp} ; \
		cmp -s $${wf} $${tf} > /dev/null 2>&1 || ( \
			rm -f $${tf} && \
			cp $${wf} $${tf} && \
			echo "Updated $${tf}" ; \
		) ; \
	done

update-man: work/config.status .PHONY
	(cd work/doc/man \
	    && ${MAKE} \
	    || false)
	@@for wf in `find work/doc/man -name '*.[0-9].tmp'` ; do \
		tf=${LDAP_SRCDIR}/man/$${wf##*/}; \
		tf=$${tf%.tmp} ; \
		cmp -s $${wf} $${tf} > /dev/null 2>&1 || ( \
			rm -f $${tf} && \
			cp $${wf} $${tf} && \
			echo "Updated $${tf}" ; \
		) ; \
	done


.PHONY: clean.work

clean: clean.work
clean.work:
	-rm -f -r work


.include <bsd.hostprog.mk>
.include <bsd.subdir.mk>
@


1.4
log
@merge conflicts
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.3 2018/05/01 19:59:43 christos Exp $
d33 2
a34 2
CONFIGURE_ARGS+=	--disable-bdb
CONFIGURE_ARGS+=	--disable-hdb
d42 1
a42 1
work/config.status: ${LDAP_DISTDIR}/configure Makefile openldap.mk
d45 1
a45 1
	    && ${CONFIGURE_ENV} sh ${LDAP_DISTDIR}/configure ${CONFIGURE_ARGS} \
@


1.3
log
@Create a new bsd.hostinit.mk file and put the build definitions for all host
programs there; make all Makefiles that use bsd.hostprog.mk include it.
Namely turn off MKREPRO and don't make lint, man pages, info files etc.
Remove the Makefile.inc files that contained these same settings, and
remove the settings from Makefile.host
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.2 2008/07/23 00:21:19 lukem Exp $
d33 2
@


1.2
log
@update some comments.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.1 2008/05/22 13:57:46 lukem Exp $
d5 2
@


1.2.62.1
log
@Synch with HEAD
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.3 2018/05/01 19:59:43 christos Exp $
a4 2
.include <bsd.hostinit.mk>

@


1.2.2.1
log
@file Makefile was added on branch wrstuden-revivesa on 2008-09-18 05:14:27 +0000
@
text
@d1 81
@


1.2.2.2
log
@Sync with wrstuden-revivesa-base-2.
@
text
@a0 81
#	$NetBSD: Makefile,v 1.2 2008/07/23 00:21:19 lukem Exp $

.include "openldap.mk"

SUBDIR=		include

SUBDIR+=	lib .WAIT

SUBDIR+=	bin


#
#	maintainer rules
#	----------------
#
#	configure	run configure and create various files for target build.
#	update-include	make configure, then update ./include/ appropriately
#	update-man	make configure, then update ./man/ appropriately
#

#
#	Run configure to create various files.
#	This should only be necessary after updating ./dist/
#

CONFIGURE_ARGS+=	--prefix=${LDAP_PREFIX}
CONFIGURE_ARGS+=	--sysconfdir=${LDAP_ETCDIR}
CONFIGURE_ARGS+=	--localstatedir=${LDAP_RUNDIR}

CONFIGURE_ARGS+=	--enable-dynamic
CONFIGURE_ARGS+=	--disable-slapd
CONFIGURE_ARGS+=	--with-tls=openssl
CONFIGURE_ARGS+=	--with-threads
CONFIGURE_ARGS+=	--without-cyrus-sasl

configure: work/config.status .PHONY 

work/config.status: ${LDAP_DISTDIR}/configure Makefile openldap.mk
	mkdir -p work
	(cd work \
	    && ${CONFIGURE_ENV} sh ${LDAP_DISTDIR}/configure ${CONFIGURE_ARGS} \
	    || false)

update-include: work/config.status .PHONY
	(cd work/include \
	    && ${MAKE} ldap_config.h \
	    || false)
	@@for wf in `find work/include -name '*.h'`; do \
		tf=${LDAP_SRCDIR}/include/$${wf##*/}; \
		tf=$${tf%.tmp} ; \
		cmp -s $${wf} $${tf} > /dev/null 2>&1 || ( \
			rm -f $${tf} && \
			cp $${wf} $${tf} && \
			echo "Updated $${tf}" ; \
		) ; \
	done

update-man: work/config.status .PHONY
	(cd work/doc/man \
	    && ${MAKE} \
	    || false)
	@@for wf in `find work/doc/man -name '*.[0-9].tmp'` ; do \
		tf=${LDAP_SRCDIR}/man/$${wf##*/}; \
		tf=$${tf%.tmp} ; \
		cmp -s $${wf} $${tf} > /dev/null 2>&1 || ( \
			rm -f $${tf} && \
			cp $${wf} $${tf} && \
			echo "Updated $${tf}" ; \
		) ; \
	done


.PHONY: clean.work

clean: clean.work
clean.work:
	-rm -f -r work


.include <bsd.hostprog.mk>
.include <bsd.subdir.mk>
@


1.1
log
@NetBSD reachover build framework for OpenLDAP.
Inspired by framework kindly donated by Wasabi Systems.
@
text
@d1 1
a1 1
#	$NetBSD$
d17 2
a18 1
#	datfiles	rebuild the datfiles
@


1.1.4.1
log
@Sync with HEAD.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.2 2008/07/23 00:21:19 lukem Exp $
d17 1
a17 2
#	update-include	make configure, then update ./include/ appropriately
#	update-man	make configure, then update ./man/ appropriately
@


1.1.2.1
log
@file Makefile was added on branch yamt-pf42 on 2008-06-04 02:03:28 +0000
@
text
@d1 80
@


1.1.2.2
log
@sync with head
@
text
@a0 80
#	$NetBSD$

.include "openldap.mk"

SUBDIR=		include

SUBDIR+=	lib .WAIT

SUBDIR+=	bin


#
#	maintainer rules
#	----------------
#
#	configure	run configure and create various files for target build.
#	datfiles	rebuild the datfiles
#

#
#	Run configure to create various files.
#	This should only be necessary after updating ./dist/
#

CONFIGURE_ARGS+=	--prefix=${LDAP_PREFIX}
CONFIGURE_ARGS+=	--sysconfdir=${LDAP_ETCDIR}
CONFIGURE_ARGS+=	--localstatedir=${LDAP_RUNDIR}

CONFIGURE_ARGS+=	--enable-dynamic
CONFIGURE_ARGS+=	--disable-slapd
CONFIGURE_ARGS+=	--with-tls=openssl
CONFIGURE_ARGS+=	--with-threads
CONFIGURE_ARGS+=	--without-cyrus-sasl

configure: work/config.status .PHONY 

work/config.status: ${LDAP_DISTDIR}/configure Makefile openldap.mk
	mkdir -p work
	(cd work \
	    && ${CONFIGURE_ENV} sh ${LDAP_DISTDIR}/configure ${CONFIGURE_ARGS} \
	    || false)

update-include: work/config.status .PHONY
	(cd work/include \
	    && ${MAKE} ldap_config.h \
	    || false)
	@@for wf in `find work/include -name '*.h'`; do \
		tf=${LDAP_SRCDIR}/include/$${wf##*/}; \
		tf=$${tf%.tmp} ; \
		cmp -s $${wf} $${tf} > /dev/null 2>&1 || ( \
			rm -f $${tf} && \
			cp $${wf} $${tf} && \
			echo "Updated $${tf}" ; \
		) ; \
	done

update-man: work/config.status .PHONY
	(cd work/doc/man \
	    && ${MAKE} \
	    || false)
	@@for wf in `find work/doc/man -name '*.[0-9].tmp'` ; do \
		tf=${LDAP_SRCDIR}/man/$${wf##*/}; \
		tf=$${tf%.tmp} ; \
		cmp -s $${wf} $${tf} > /dev/null 2>&1 || ( \
			rm -f $${tf} && \
			cp $${wf} $${tf} && \
			echo "Updated $${tf}" ; \
		) ; \
	done


.PHONY: clean.work

clean: clean.work
clean.work:
	-rm -f -r work


.include <bsd.hostprog.mk>
.include <bsd.subdir.mk>
@
