xref: /illumos-gate/usr/src/lib/libkrb5/Makefile (revision 10db1377dafab8ba3feedef26db9c5d8539a5cd1)
1*10db1377Sgtb#
2*10db1377Sgtb# CDDL HEADER START
3*10db1377Sgtb#
4*10db1377Sgtb# The contents of this file are subject to the terms of the
5*10db1377Sgtb# Common Development and Distribution License (the "License").
6*10db1377Sgtb# You may not use this file except in compliance with the License.
7*10db1377Sgtb#
8*10db1377Sgtb# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
9*10db1377Sgtb# or http://www.opensolaris.org/os/licensing.
10*10db1377Sgtb# See the License for the specific language governing permissions
11*10db1377Sgtb# and limitations under the License.
12*10db1377Sgtb#
13*10db1377Sgtb# When distributing Covered Code, include this CDDL HEADER in each
14*10db1377Sgtb# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
15*10db1377Sgtb# If applicable, add the following below this CDDL HEADER, with the
16*10db1377Sgtb# fields enclosed by brackets "[]" replaced with your own identifying
17*10db1377Sgtb# information: Portions Copyright [yyyy] [name of copyright owner]
18*10db1377Sgtb#
19*10db1377Sgtb# CDDL HEADER END
20*10db1377Sgtb#
21*10db1377Sgtb#
22*10db1377Sgtb# Copyright 2006 Sun Microsystems, Inc.  All rights reserved.
23*10db1377Sgtb# Use is subject to license terms.
24*10db1377Sgtb#
25*10db1377Sgtb# ident	"%Z%%M%	%I%	%E% SMI"
26*10db1377Sgtb#
27*10db1377Sgtb# lib/libkrb5/Makefile
28*10db1377Sgtb
29*10db1377Sgtbinclude		$(SRC)/lib/Makefile.lib
30*10db1377Sgtb
31*10db1377SgtbSUBDIRS=	$(MACH) $(MACH64)
32*10db1377Sgtb
33*10db1377SgtbINSTALLED_HDRS= com_err.h krb5.h
34*10db1377SgtbCOMERRH= $(SRC)/lib/gss_mechs/mech_krb5/include/com_err.h
35*10db1377SgtbKRB5H=  $(SRC)/uts/common/gssapi/mechs/krb5/include/krb5.h
36*10db1377Sgtb
37*10db1377SgtbKRB5INCDIR= $(ROOT)/usr/include/kerberosv5
38*10db1377Sgtb
39*10db1377Sgtb
40*10db1377SgtbCOMERRHINST= $(KRB5INCDIR)/com_err.h
41*10db1377SgtbKRB5HINST= $(KRB5INCDIR)/krb5.h
42*10db1377Sgtb
43*10db1377SgtbKRB5HDRS= $(INSTALLED_HDRS:%=$(KRB5INCDIR)/%)
44*10db1377Sgtb
45*10db1377Sgtb
46*10db1377Sgtball :=		TARGET= all
47*10db1377Sgtbclean :=	TARGET= clean
48*10db1377Sgtbclobber :=	TARGET= clobber
49*10db1377Sgtbinstall :=	TARGET= install
50*10db1377Sgtblint :=		TARGET= lint
51*10db1377Sgtb
52*10db1377SgtbLIBRARY= 	libkrb5.a
53*10db1377Sgtb
54*10db1377Sgtb.KEEP_STATE:
55*10db1377Sgtb
56*10db1377Sgtball clean clobber install: $(SUBDIRS)
57*10db1377Sgtb
58*10db1377Sgtb$(SUBDIRS): FRC
59*10db1377Sgtb	@cd $@; pwd; $(MAKE) $(TARGET)
60*10db1377Sgtb
61*10db1377Sgtb
62*10db1377Sgtbinstall_h: $(KRB5INCDIR) $(KRB5HDRS)
63*10db1377Sgtb
64*10db1377Sgtb$(COMERRHINST): $(COMERRH)
65*10db1377Sgtb	install -s -m 644 -f $(KRB5INCDIR) $(COMERRH)
66*10db1377Sgtb$(KRB5HINST): $(KRB5H)
67*10db1377Sgtb	install -s -m 644 -f $(KRB5INCDIR) $(KRB5H)
68*10db1377Sgtb
69*10db1377Sgtb
70*10db1377Sgtbcheck FRC:
71*10db1377Sgtb
72