#
# Do NOT edit this file -- it is automatically appended to all Makefiles
# except the LDAP top-level Makefile. See the LDAP INSTALL file for more
# information.
#
#-----------------------------------------------------------------------------
# Copyright (c) 1994 Regents of the University of Michigan.
# All rights reserved.
#
# Redistribution and use in source and binary forms are permitted
# provided that this notice is preserved and that due credit is given
# to the University of Michigan at Ann Arbor. The name of the University
# 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 standard Make defines (appended to all but top-level Makefile)
#
#-----------------------------------------------------------------------------

# DEFS are included in CFLAGS
DEFS	= $(PLATFORMCFLAGS) $(LDAP_DEBUG) $(KERBEROS) $(AFSKERBEROS) \
		$(UOFM) $(UOFA) $(NO_USERINTERFACE) $(CLDAP) $(NO_CACHE) \
		$(LDAP_REFERRALS) $(LDAP_DNS) $(STR_TRANSLATION) \
		$(LIBLDAP_CHARSETS) $(LIBLDAP_DEF_CHARSET) \
		$(SLAPD_BACKENDS) $(LDBMBACKEND) $(LDBMINCLUDE) $(PHONETIC)

# SERVERDEFS are added to server builds CFLAGS (in addition to DEFS)
SERVERDEFS	= $(ISODEPACKAGE) $(ICRELEASE) $(LDAP_USE_PP) \
			$(NO_SETPROCTITLE) $(PEPSY_DUMP)

#
# ISODELIBS are used in server/ldapd builds
#
ISODELIBS	= $(ISODEBASELIBS) -lm $(ISODETURBOLIBS)

# ACFLAGS are added to CFLAGS but not passed to mkdep, lint, etc
ACFLAGS		= $(EXTRACFLAGS) $(UNPROTOCFLAGS)

# ALDFLAGS are always placed near the beginning of all linker (cc -o) commands
ALDFLAGS	= $(EXTRALDFLAGS) $(PLATFORMLDFLAGS)

# ALIBS are always placed at the end of all linker (cc -o) commands
ALIBS		= $(PLATFORMLIBS)

#
# default definitions for Unix utilities (may be over-ridden in Make-platform)
CC	= cc
MAKE	= make
RANLIB	= ranlib
AR	= ar
RM	= rm -f
MV	= mv -f
CP	= cp
CHMOD	= chmod
CAT	= cat
LN	= ln -s
HARDLN	= ln
TAIL	= tail
SED	= sed
LINT	= lint
5LINT	= lint
MKDIR	= mkdir
INSTALL	= install
INSTALLFLAGS = -c
BASENAME= basename
DIRNAME	= dirname
MKDEP	= $(LDAPSRC)/build/mkdep -s -f Make-template
PWD	= pwd
DATE	= date
HOSTNAME= hostname


#
# empty target used to force rules to be invoked
#
FORCE:

