2 # Copyright 2008 Sun Microsystems, Inc. All rights reserved.
3 # Use is subject to license terms.
5 # Makefile.mech_krb5, global definitions for dealing with Kerberos V5
8 # 32 bit library directories
10 ROOT_KLIBDIR = $(ROOT)/$(KLIBDIR)
12 # 64 bit library directories
13 KLIBDIR64 = /usr/lib/$(MACH64)/gss
14 ROOT_KLIBDIR64 = $(ROOT)/$(KLIBDIR64)
16 # Kerberos V GSS-API Mechanism library
17 KMECHLIB = $(ROOT)$(KLIBDIR)/mech_krb5.so
19 KMECHLIB64 = $(ROOT)/$(KLIBDIR64)/mech_krb5.so
21 # KADM5 client library
22 KERBLIBDIR = /usr/lib/krb5
23 KERBLIBDIR64 = /usr/lib/krb5/$(MACH64)
24 KCLNTLIB = $(ROOT)$(KERBLIBDIR)/libkadm5clnt.so
25 KCLNTLIB64 = $(ROOT)$(KERBLIBDIR64)/libkadm5clnt.so
27 # Run-time library seach path
28 KRUNPATH = -R$(KLIBDIR)
29 KRUNPATH64 = -R$(KLIBDIR64)
30 KERBRUNPATH = -R$(KERBLIBDIR)
31 KERBRUNPATH64 = -R$(KERBLIBDIR64)
33 CPPFLAGS += -DKRB5_DNS_LOOKUP \
36 # Ensure assert()s are not in the non-debug bits
37 $(RELEASE_BUILD)CPPFLAGS += -DNDEBUG