xref: /illumos-gate/usr/src/lib/gss_mechs/mech_krb5/Makefile.mech_krb5 (revision f875b4ebb1dd9fdbeb043557cab38ab3bf7f6e01)
1#
2# Copyright 2004 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) -R$(KERBLIBDIR)
31KRUNPATH64 = -R$(KLIBDIR64) -R$(KERBLIBDIR64)
32
33CPPFLAGS +=	-DKRB5_DNS_LOOKUP \
34		-DKRB5_DNS_LOOKUP_KDC
35
36