xref: /titanic_41/usr/src/lib/libkrb5/Makefile (revision 2a8d6eba033e4713ab12b61178f0513f1f075482)
110db1377Sgtb#
210db1377Sgtb# CDDL HEADER START
310db1377Sgtb#
410db1377Sgtb# The contents of this file are subject to the terms of the
510db1377Sgtb# Common Development and Distribution License (the "License").
610db1377Sgtb# You may not use this file except in compliance with the License.
710db1377Sgtb#
810db1377Sgtb# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
910db1377Sgtb# or http://www.opensolaris.org/os/licensing.
1010db1377Sgtb# See the License for the specific language governing permissions
1110db1377Sgtb# and limitations under the License.
1210db1377Sgtb#
1310db1377Sgtb# When distributing Covered Code, include this CDDL HEADER in each
1410db1377Sgtb# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
1510db1377Sgtb# If applicable, add the following below this CDDL HEADER, with the
1610db1377Sgtb# fields enclosed by brackets "[]" replaced with your own identifying
1710db1377Sgtb# information: Portions Copyright [yyyy] [name of copyright owner]
1810db1377Sgtb#
1910db1377Sgtb# CDDL HEADER END
2010db1377Sgtb#
2110db1377Sgtb#
22*2a8d6ebaSRod Evans# Copyright 2009 Sun Microsystems, Inc.  All rights reserved.
2310db1377Sgtb# Use is subject to license terms.
2410db1377Sgtb#
2510db1377Sgtb
26*2a8d6ebaSRod Evansinclude		../Makefile.lib
2710db1377Sgtb
28*2a8d6ebaSRod EvansSUBDIRS =	$(MACH) $(BUILD64) $(MACH64)
2910db1377Sgtb
30*2a8d6ebaSRod EvansINSTALLED_HDRS = \
31*2a8d6ebaSRod Evans		com_err.h krb5.h
3210db1377SgtbCOMERRH =	$(SRC)/lib/gss_mechs/mech_krb5/include/com_err.h
3310db1377SgtbKRB5H =		$(SRC)/uts/common/gssapi/mechs/krb5/include/krb5.h
3410db1377Sgtb
3510db1377SgtbKRB5INCDIR= 	$(ROOT)/usr/include/kerberosv5
3610db1377Sgtb
3710db1377SgtbCOMERRHINST =	$(KRB5INCDIR)/com_err.h
3810db1377SgtbKRB5HINST =	$(KRB5INCDIR)/krb5.h
3910db1377Sgtb
4010db1377SgtbKRB5HDRS =	$(INSTALLED_HDRS:%=$(KRB5INCDIR)/%)
4110db1377Sgtb
4210db1377Sgtball :=		TARGET= all
4310db1377Sgtbclean :=	TARGET= clean
4410db1377Sgtbclobber :=	TARGET= clobber
4510db1377Sgtbinstall :=	TARGET= install
4610db1377Sgtb
4710db1377Sgtb.KEEP_STATE:
4810db1377Sgtb
49*2a8d6ebaSRod Evansall clean clobber install: $(SUBDIRS)
50*2a8d6ebaSRod Evans
51*2a8d6ebaSRod Evanslint check:
5210db1377Sgtb
5310db1377Sgtb$(SUBDIRS):	FRC
5410db1377Sgtb	@cd $@; pwd; $(MAKE) $(TARGET)
5510db1377Sgtb
5610db1377Sgtbinstall_h:	$(KRB5INCDIR) $(KRB5HDRS)
5710db1377Sgtb
5810db1377Sgtb$(COMERRHINST):	$(COMERRH)
5910db1377Sgtb	install -s -m 644 -f $(KRB5INCDIR) $(COMERRH)
6010db1377Sgtb$(KRB5HINST):	$(KRB5H)
6110db1377Sgtb	install -s -m 644 -f $(KRB5INCDIR) $(KRB5H)
6210db1377Sgtb
63*2a8d6ebaSRod EvansFRC:
64