17c478bd9Sstevel@tonic-gate#
2f808c858Sraf# CDDL HEADER START
37c478bd9Sstevel@tonic-gate#
4f808c858Sraf# The contents of this file are subject to the terms of the
5f808c858Sraf# Common Development and Distribution License (the "License").
6f808c858Sraf# You may not use this file except in compliance with the License.
7f808c858Sraf#
8f808c858Sraf# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
9f808c858Sraf# or http://www.opensolaris.org/os/licensing.
10f808c858Sraf# See the License for the specific language governing permissions
11f808c858Sraf# and limitations under the License.
12f808c858Sraf#
13f808c858Sraf# When distributing Covered Code, include this CDDL HEADER in each
14f808c858Sraf# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
15f808c858Sraf# If applicable, add the following below this CDDL HEADER, with the
16f808c858Sraf# fields enclosed by brackets "[]" replaced with your own identifying
17f808c858Sraf# information: Portions Copyright [yyyy] [name of copyright owner]
18f808c858Sraf#
19f808c858Sraf# CDDL HEADER END
20f808c858Sraf#
21f808c858Sraf#
2254925bf6Swillf# Copyright 2007 Sun Microsystems, Inc.  All rights reserved.
23f808c858Sraf# Use is subject to license terms.
24f808c858Sraf#
257c478bd9Sstevel@tonic-gate
2654925bf6Swillfinclude		$(SRC)/lib/krb5/Makefile.lib
277c478bd9Sstevel@tonic-gate
287c478bd9Sstevel@tonic-gateinclude $(SRC)/lib/gss_mechs/mech_krb5/Makefile.mech_krb5
297c478bd9Sstevel@tonic-gate
30f808c858SrafSUBDIRS=	$(MACH)
317c478bd9Sstevel@tonic-gate
327c478bd9Sstevel@tonic-gateall :=		TARGET= all
337c478bd9Sstevel@tonic-gateclean :=	TARGET= clean
347c478bd9Sstevel@tonic-gateclobber :=	TARGET= clobber
357c478bd9Sstevel@tonic-gateinstall :=	TARGET= install
367c478bd9Sstevel@tonic-gate_msg :=		TARGET= _msg
377c478bd9Sstevel@tonic-gate
3854925bf6SwillfLDIF= kerberos.ldif
3954925bf6SwillfROOTSHLDIFDIR= $(ROOT)/usr/share/lib/ldif
4054925bf6SwillfROOTLDIF= $(LDIF:%=$(ROOTSHLDIFDIR)/%)
4154925bf6Swillf$(ROOTLDIF) :=	FILEMODE= 444
427c478bd9Sstevel@tonic-gate
437c478bd9Sstevel@tonic-gate.KEEP_STATE:
447c478bd9Sstevel@tonic-gate
45*241c90a0SRichard Loweall clean clobber _msg: $(SUBDIRS)
467c478bd9Sstevel@tonic-gate
477c478bd9Sstevel@tonic-gate$(ROOTLIBDIR):
487c478bd9Sstevel@tonic-gate	$(INS.dir)
497c478bd9Sstevel@tonic-gate
507c478bd9Sstevel@tonic-gate$(ROOTLIBDIR)/%: %
517c478bd9Sstevel@tonic-gate	$(INS.file)
527c478bd9Sstevel@tonic-gate
5354925bf6Swillf$(ROOTSHLDIFDIR):
5454925bf6Swillf	$(INS.dir)
5554925bf6Swillf
5654925bf6Swillf$(ROOTSHLDIFDIR)/%: %
5754925bf6Swillf	$(INS.file)
5854925bf6Swillf
5954925bf6Swillfinstall:   $(ROOTLIBDIR) $(ROOTLDIF) $(SUBDIRS)
607c478bd9Sstevel@tonic-gate
61f808c858Sraf$(SUBDIRS): FRC
627c478bd9Sstevel@tonic-gate	@cd $@; pwd; $(MAKE) $(TARGET)
637c478bd9Sstevel@tonic-gate
647c478bd9Sstevel@tonic-gateFRC:
65