#-----------------------------------------------------------------------------
+# Copyright 1998 The OpenLDAP Foundation, Redwood City, California, USA
+# All rights reserved.
+#
+# Redistribution and use in source and binary forms are permitted only
+# as authorized by the OpenLDAP Public License. A copy of this
+# license is available at http://www.OpenLDAP.org/license.html or
+# in file LICENSE in the top-level directory of the distribution.
+#
+# This work is derived from the University of Michigan LDAP v3.3
+# distribution. Information concerning is available at
+# http://www.umich.edu/~dirsvcs/ldap/ldap.html.
+#
+# This work also contains materials derived from public sources.
+#-----------------------------------------------------------------------------
# Copyright (c) 1994 Regents of the University of Michigan.
# All rights reserved.
#
# may not be used to endorse or promote products derived from this
# software without specific prior written permission. This software
# is provided ``as is'' without express or implied warranty.
-#
-# LDAP common Make defines (included in all but top-level Makefile)
-#
#-----------------------------------------------------------------------------
+# LDAP common Make defines (included in all but top-level Makefile)
#############################################################################
## Edit the following variables to have appropriate values for your system ##
#############################################################################
+#
+# Note: Some make(1) programs do not understand the FOO?=BAR syntax.
+#
+# On such systems, you should use copy Make-common.gmake to Make-common
+# and use gmake to build the distribution.
+#
+
#############################################################################
## LDAP install paths ##
#############################################################################
# uncomment and change the various KRB* lines to point to where the
# kerberos libraries and include files are installed at your site.
#
+# *** NOTE ***
+# If you have an MIT Kerberos V distribution and you compiled it with -krb4
+# flag which enables Kerberos IV compatibility, uncomment KERBEROS_V -
+# this will make sure all your includes can be found where they actually are -
+# in this case /usr/local/kerberos/include/kerberosIV - simple change of
+# KRBINCLUDEFLAG will _not_ work. Also uncomment the correct KRBLIBS define.
+#
+# For Kerberos V with Kerberos IV compatibility uncomment the following line
+#KERBEROS=-DKERBEROS -DKERBEROS_V
+# For Kerberos IV uncomment the following line
#KERBEROS=-DKERBEROS
+#
#AFSKERBEROS=-DAFSKERBEROS
#KRBINCLUDEFLAG = -I/usr/local/kerberos/include
#KRBLIBFLAG = -L/usr/local/kerberos/lib
+# For Kerberos V with Kerberos IV compatibility uncomment the following line
+#KRBLIBS = -lkrb4 -lkrb5 -ldes425
+# For Kerberos IV uncomment the following line
#KRBLIBS = -lkrb -ldes
#############################################################################
# remove the defines for backends you don't want to enable
SLAPD_BACKENDS= -DLDAP_LDBM -DLDAP_SHELL -DLDAP_PASSWD
#
-# If you have included -DLDAP_LDBM in the SLAPD_BACKENDS line you need
-# to specify which low-level database package to use. There are
-# four choices: Berkeley db b-tree, Berkeley db hash, GNU dbm, or ndbm.
-# You will also need to edit the include and lib strings appropriately.
+# If you have included -DLDAP_LDBM in the SLAPD_BACKENDS line,
+# which low-level database package to use must be specified. You
+# may want to overide the platform settings by disabling the lines
+# below and hardcoding the desired settings.
#
+# The four choices: Berkeley db b-tree, Berkeley db hash, GNU dbm, or ndbm.
+# You will also need to edit the include and lib strings appropriately.
+# standard unix ndbm
+
+# Fallback settings, defaults are set in build/*/Make-platform
+# The NDBM interface may not work on some (any) platforms.
+# You may be happier with Berkeley DB B-trees.
+LDBMBACKEND?=-DLDBM_USE_NDBM
+LDBMINCLUDE?=
+LDBMLIB?=
+
+# LDBM Hardcode Setting Examples (may require editing)
# berkeley db btree package
#LDBMLIB=-ldb
-#LDBMBACKEND?=-DLDBM_USE_DBBTREE
-#LDBMINCLUDE?=-I/usr/local/db/include
+#LDBMBACKEND=-DLDBM_USE_DBBTREE
+#LDBMINCLUDE=-I/usr/local/db/include
#LDBMLIB?=-ldb
# berkeley db hash package
-#LDBMBACKEND?=-DLDBM_USE_DBHASH
-#LDBMINCLUDE?=-I/usr/local/db/include
-#LDBMLIB?=-ldb
+#LDBMBACKEND=-DLDBM_USE_DBHASH
+#LDBMINCLUDE=-I/usr/local/db/include
+#LDBMLIB=-ldb
# gnu dbm (gdbm)
-#LDBMBACKEND?=-DLDBM_USE_GDBM
-#LDBMINCLUDE?=-I/usr/local/gdbm/include
-#LDBMLIB?=-lgdbm
-# standard unix ndbm
-LDBMBACKEND?=-DLDBM_USE_NDBM
-LDBMINCLUDE?=
-LDBMLIB?=
+#LDBMBACKEND=-DLDBM_USE_GDBM
+#LDBMINCLUDE=-I/usr/local/gdbm/include
+#LDBMLIB=-lgdbm
-#undef these if you have SLEEPYCAT DB2 installed
-#LDBMBACKEND=-DLDBM_USE_DBBTREE -DHAVE_SLEEPYCAT_DB2
+#undef these if you have SleepyCat DB2 installed the updated DBI
+#LDBMBACKEND=-DLDBM_USE_DBBTREE -DLDBM_USE_DB2
+#LDBMINCLUDE=-I/usr/local/include
+#LDBMLIB=-L/usr/local/lib -ldb
+
+#undef these if you have SleepyCat DB2 installed (with compat185)
+#LDBMBACKEND=-DLDBM_USE_DBBTREE -DLDBM_USE_DB2_COMPAT185
#LDBMINCLUDE=-I/usr/local/include
#LDBMLIB=-L/usr/local/lib -ldb
# uncomment this line to enable support for LDAP referrals in libldap
LDAP_REFERRALS=-DLDAP_REFERRALS
-# uncomment these lines to enable support for CRYPT passwords in LDBM.
-# LDAP_CRYPT=-DLDAP_CRYPT
+# uncomment this line to enable ACL by groups
+# LDAP_ACLGROUP=-DACLGROUP
+
+# uncomment these lines to enable support for CRYPT, SHA1, and/or MD5 passwords
+# in LDBM. Crypt uses platform provided crypt(3).
+# LDAP_CRYPT=-DLDAP_CRYPT -DLDAP_SHA1 -DLDAP_MD5
# LDAP_CRYPT_LIB?=
# and comment this line out
LDAP_CRYPT_LIB=