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