2 # Do NOT edit this file -- it is automatically appended to all Makefiles
3 # except the LDAP top-level Makefile. See the LDAP INSTALL file for more
6 #-----------------------------------------------------------------------------
7 # Copyright (c) 1994 Regents of the University of Michigan.
10 # Redistribution and use in source and binary forms are permitted
11 # provided that this notice is preserved and that due credit is given
12 # to the University of Michigan at Ann Arbor. The name of the University
13 # may not be used to endorse or promote products derived from this
14 # software without specific prior written permission. This software
15 # is provided ``as is'' without express or implied warranty.
17 # LDAP standard Make defines (appended to all but top-level Makefile)
19 #-----------------------------------------------------------------------------
21 # DEFS are included in CFLAGS
22 DEFS = $(PLATFORMCFLAGS) $(LDAP_DEBUG) $(KERBEROS) $(AFSKERBEROS) \
23 $(UOFM) $(UOFA) $(NO_USERINTERFACE) $(CLDAP) $(NO_CACHE) \
24 $(LDAP_REFERRALS) $(LDAP_DNS) $(STR_TRANSLATION) \
25 $(LIBLDAP_CHARSETS) $(LIBLDAP_DEF_CHARSET) \
26 $(SLAPD_BACKENDS) $(LDBMBACKEND) $(LDBMINCLUDE) $(PHONETIC)
28 # SERVERDEFS are added to server builds CFLAGS (in addition to DEFS)
29 SERVERDEFS = $(ISODEPACKAGE) $(ICRELEASE) $(LDAP_USE_PP) \
30 $(NO_SETPROCTITLE) $(PEPSY_DUMP)
33 # ISODELIBS are used in server/ldapd builds
35 ISODELIBS = $(ISODEBASELIBS) -lm $(ISODETURBOLIBS)
37 # ACFLAGS are added to CFLAGS but not passed to mkdep, lint, etc
38 ACFLAGS = $(EXTRACFLAGS) $(UNPROTOCFLAGS)
40 # ALDFLAGS are always placed near the beginning of all linker (cc -o) commands
41 ALDFLAGS = $(EXTRALDFLAGS) $(PLATFORMLDFLAGS)
43 # ALIBS are always placed at the end of all linker (cc -o) commands
44 ALIBS = $(PLATFORMLIBS)
47 # default definitions for Unix utilities (may be over-ridden in Make-platform)
68 MKDEP = $(LDAPSRC)/build/mkdep -s -f Make-template
75 # empty target used to force rules to be invoked