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