11770Sgtb# 21770Sgtb# CDDL HEADER START 31770Sgtb# 41770Sgtb# The contents of this file are subject to the terms of the 51770Sgtb# Common Development and Distribution License (the "License"). 61770Sgtb# You may not use this file except in compliance with the License. 71770Sgtb# 81770Sgtb# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE 91770Sgtb# or http://www.opensolaris.org/os/licensing. 101770Sgtb# See the License for the specific language governing permissions 111770Sgtb# and limitations under the License. 121770Sgtb# 131770Sgtb# When distributing Covered Code, include this CDDL HEADER in each 141770Sgtb# file and include the License file at usr/src/OPENSOLARIS.LICENSE. 151770Sgtb# If applicable, add the following below this CDDL HEADER, with the 161770Sgtb# fields enclosed by brackets "[]" replaced with your own identifying 171770Sgtb# information: Portions Copyright [yyyy] [name of copyright owner] 181770Sgtb# 191770Sgtb# CDDL HEADER END 201770Sgtb# 211770Sgtb# 22*9569SRod.Evans@Sun.COM# Copyright 2009 Sun Microsystems, Inc. All rights reserved. 231770Sgtb# Use is subject to license terms. 241770Sgtb# 251770Sgtb 26*9569SRod.Evans@Sun.COMinclude ../Makefile.lib 271770Sgtb 28*9569SRod.Evans@Sun.COMSUBDIRS = $(MACH) $(BUILD64) $(MACH64) 291770Sgtb 30*9569SRod.Evans@Sun.COMINSTALLED_HDRS = \ 31*9569SRod.Evans@Sun.COM com_err.h krb5.h 32*9569SRod.Evans@Sun.COMCOMERRH = $(SRC)/lib/gss_mechs/mech_krb5/include/com_err.h 33*9569SRod.Evans@Sun.COMKRB5H = $(SRC)/uts/common/gssapi/mechs/krb5/include/krb5.h 341770Sgtb 35*9569SRod.Evans@Sun.COMKRB5INCDIR= $(ROOT)/usr/include/kerberosv5 361770Sgtb 37*9569SRod.Evans@Sun.COMCOMERRHINST = $(KRB5INCDIR)/com_err.h 38*9569SRod.Evans@Sun.COMKRB5HINST = $(KRB5INCDIR)/krb5.h 391770Sgtb 40*9569SRod.Evans@Sun.COMKRB5HDRS = $(INSTALLED_HDRS:%=$(KRB5INCDIR)/%) 411770Sgtb 421770Sgtball := TARGET= all 431770Sgtbclean := TARGET= clean 441770Sgtbclobber := TARGET= clobber 451770Sgtbinstall := TARGET= install 461770Sgtb 471770Sgtb.KEEP_STATE: 481770Sgtb 49*9569SRod.Evans@Sun.COMall clean clobber install: $(SUBDIRS) 501770Sgtb 51*9569SRod.Evans@Sun.COMlint check: 52*9569SRod.Evans@Sun.COM 53*9569SRod.Evans@Sun.COM$(SUBDIRS): FRC 541770Sgtb @cd $@; pwd; $(MAKE) $(TARGET) 551770Sgtb 56*9569SRod.Evans@Sun.COMinstall_h: $(KRB5INCDIR) $(KRB5HDRS) 571770Sgtb 58*9569SRod.Evans@Sun.COM$(COMERRHINST): $(COMERRH) 591770Sgtb install -s -m 644 -f $(KRB5INCDIR) $(COMERRH) 60*9569SRod.Evans@Sun.COM$(KRB5HINST): $(KRB5H) 611770Sgtb install -s -m 644 -f $(KRB5INCDIR) $(KRB5H) 621770Sgtb 63*9569SRod.Evans@Sun.COMFRC: 64