xref: /titanic_52/usr/src/lib/libkrb5/Makefile (revision b3700b074e637f8c6991b70754c88a2cfffb246b)
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#
222a8d6ebaSRod Evans# Copyright 2009 Sun Microsystems, Inc.  All rights reserved.
2310db1377Sgtb# Use is subject to license terms.
2410db1377Sgtb#
25*b3700b07SGordon Ross# Copyright 2014 Nexenta Systems, Inc.  All rights reserved.
26*b3700b07SGordon Ross#
2710db1377Sgtb
282a8d6ebaSRod Evansinclude		../Makefile.lib
2910db1377Sgtb
302a8d6ebaSRod EvansSUBDIRS =	$(MACH) $(BUILD64) $(MACH64)
3110db1377Sgtb
322a8d6ebaSRod EvansINSTALLED_HDRS = \
33*b3700b07SGordon Ross		com_err.h krb5.h locate_plugin.h
3410db1377SgtbCOMERRH =	$(SRC)/lib/gss_mechs/mech_krb5/include/com_err.h
35*b3700b07SGordon RossLOCPLUGH =	$(SRC)/lib/gss_mechs/mech_krb5/include/locate_plugin.h
3610db1377SgtbKRB5H =		$(SRC)/uts/common/gssapi/mechs/krb5/include/krb5.h
3710db1377Sgtb
3810db1377SgtbKRB5INCDIR= 	$(ROOT)/usr/include/kerberosv5
3910db1377Sgtb
4010db1377SgtbCOMERRHINST =	$(KRB5INCDIR)/com_err.h
41*b3700b07SGordon RossLOCPLUGHINST =	$(KRB5INCDIR)/locate_plugin.h
4210db1377SgtbKRB5HINST =	$(KRB5INCDIR)/krb5.h
4310db1377Sgtb
4410db1377SgtbKRB5HDRS =	$(INSTALLED_HDRS:%=$(KRB5INCDIR)/%)
4510db1377Sgtb
4610db1377Sgtball :=		TARGET= all
4710db1377Sgtbclean :=	TARGET= clean
4810db1377Sgtbclobber :=	TARGET= clobber
4910db1377Sgtbinstall :=	TARGET= install
5010db1377Sgtb
5110db1377Sgtb.KEEP_STATE:
5210db1377Sgtb
532a8d6ebaSRod Evansall clean clobber install: $(SUBDIRS)
542a8d6ebaSRod Evans
552a8d6ebaSRod Evanslint check:
5610db1377Sgtb
5710db1377Sgtb$(SUBDIRS):	FRC
5810db1377Sgtb	@cd $@; pwd; $(MAKE) $(TARGET)
5910db1377Sgtb
6010db1377Sgtbinstall_h:	$(KRB5INCDIR) $(KRB5HDRS)
6110db1377Sgtb
6210db1377Sgtb$(COMERRHINST):	$(COMERRH)
6310db1377Sgtb	install -s -m 644 -f $(KRB5INCDIR) $(COMERRH)
6410db1377Sgtb$(KRB5HINST):	$(KRB5H)
6510db1377Sgtb	install -s -m 644 -f $(KRB5INCDIR) $(KRB5H)
66*b3700b07SGordon Ross$(LOCPLUGHINST): $(LOCPLUGH)
67*b3700b07SGordon Ross	install -s -m 644 -f $(KRB5INCDIR) $(LOCPLUGH)
6810db1377Sgtb
692a8d6ebaSRod EvansFRC:
70